/* === CSS VARIABLES === */
:root {
    --bg-deep: #050505;
    --bg-dark: #0a0a0a;
    --bg-card: #111111;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.15);
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --success: #10b981;
    --warning: #f59e0b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #1e293b;
    --font-sans: 'Inter', system-ui, sans-serif;
    --max-width: 1200px;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* === NAVIGATION === */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-main);
    position: relative;
    transition: all 0.3s;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.hamburger.active {
    background: transparent;
}

.hamburger.active::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger.active::after {
    transform: rotate(-45deg);
    top: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: transform 0.2s, background 0.2s;
}

.btn-nav:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
}

/* 🔥 VERSION BADGE */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.badge-pill {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #6366f1);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.badge-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99,102,241,0.4) 0%, transparent 70%);
    animation: pulseGlow 2s ease-in-out infinite;
    border-radius: 20px;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

.tagline {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* 🔥 METALLIC TEXT EFFECT */
.metallic-text {
    background: linear-gradient(
        135deg,
        #f8fafc 0%,
        #94a3b8 25%,
        #6366f1 50%,
        #4f46e5 75%,
        #f8fafc 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 4s ease-in-out infinite;
    font-weight: 800;
    position: relative;
}

.metallic-text::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.3) 45%,
        rgba(255,255,255,0.1) 55%,
        transparent 100%
    );
    animation: shineSweep 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes metallicShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shineSweep {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* 🔥 TRUST SIGNALS */
.trust-signals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-icon {
    font-size: 1.2rem;
}

.btn-primary, .btn-secondary, .btn-download-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.icon {
    width: 20px;
    height: 20px;
}

.hero-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* === FEATURES SECTION === */
.features {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature-list li {
    padding: 0.25rem 0;
}

/* === OOTB BANNER === */
.ootb-banner {
    padding: 4rem 0;
    background: var(--accent-glow);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ootb-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.ootb-icon {
    font-size: 4rem;
}

.ootb-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ootb-text p {
    color: var(--text-muted);
    max-width: 500px;
}

.ootb-checks {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-weight: 500;
}

/* === SCREENSHOTS === */
.screenshots {
    padding: 6rem 0;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.screenshot-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-muted);
}

/* === DOWNLOAD SECTION === */
.download {
    padding: 6rem 0;
    background: var(--bg-dark);
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-icon-wrapper {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.download-icon {
    width: 80px;
    height: 80px;
    animation: pulse 2s infinite;
}

.download-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* 🔥 DOWNLOAD STATS */
.download-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-download-primary {
    background: var(--accent-gradient);
    color: white;
    font-size: 1.1rem;
    padding: 1.25rem 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px var(--accent-glow);
    flex-direction: column;
}

.btn-download-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.download-size {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 400;
}

/* 🔥 CHECKSUM & CLI */
.download-cli {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.download-cli code,
.download-note code {
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.copy-btn {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.download-alt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.download-alt a {
    color: var(--accent);
    text-decoration: none;
}

.download-alt .separator {
    margin: 0 0.5rem;
}

.download-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === FOOTER === */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .ootb-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }
    /* === FREE BADGE === */
.free-badge {
    margin-bottom: 1rem;
}

.badge-pill.free {
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

/* Update trust signals to include FREE */
.trust-item:first-child {
    display: none; /* Remove duplicate "100% Local" */
}
/* === WINDOWS BUTTON HOVER === */
.btn-primary[style*="0078d4"]:hover {
    background: linear-gradient(135deg, #005a9e, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.3);
}

/* === PLATFORM BADGE ANIMATION === */
.version-badge .badge-pill[style*="0078d4"] {
    animation: gradientShift 3s ease infinite;
}
/* === FREE BADGE (Fixed Top-Left) === */
.free-badge-fixed {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
    pointer-events: none;
}

.free-badge-fixed .badge-pill {
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    display: inline-block;
}

.free-badge-fixed .badge-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16,185,129,0.5) 0%, transparent 70%);
    animation: pulseGlow 2s ease-in-out infinite;
    border-radius: 20px;
    pointer-events: none;
}

/* Hide on mobile to save space */
@media (max-width: 768px) {
    .free-badge-fixed {
        display: none;
    }
}

/* === ROADMAP SECTION === */
.roadmap {
    padding: 6rem 0;
    background: var(--bg-deep);
}

.status-badge {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* === RELEASE NOTES SECTION === */
.release-notes {
    padding: 6rem 0;
    background: var(--bg-dark);
}

/* === SHARE PROMPT === */
.share-prompt {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === WINDOWS BUTTON HOVER === */
.btn-primary[style*="0078d4"]:hover {
    background: linear-gradient(135deg, #005a9e, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.3);
}

/* === PLATFORM BADGE ANIMATION === */
.version-badge .badge-pill[style*="0078d4"] {
    animation: gradientShift 3s ease infinite;
}
/* === ROADMAP SECTION === */
.roadmap {
    padding: 6rem 0;
    background: var(--bg-deep);
}

.status-badge {
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* === SHARE PROMPT === */
.share-prompt {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === WINDOWS BUTTON HOVER === */
.btn-primary[style*="0078d4"]:hover {
    background: linear-gradient(135deg, #005a9e, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 120, 212, 0.3);
}

/* === PLATFORM BADGE ANIMATION === */
.version-badge .badge-pill[style*="0078d4"] {
    animation: gradientShift 3s ease infinite;
}
}