/* ============================================
   GLYPHPULSE V5 — ELITE DESIGN SYSTEM
   Mathematical Scale: Golden Ratio (1.618)
   Base Unit: 8px grid
   Type Scale: Minor Third (1.2) × Major Third (1.25)
============================================ */

/* ========================
   DESIGN TOKENS
======================== */
:root {
    /* Colors */
    --bg-dark:       #05050e;
    --bg-surface:    #0b0b1a;
    --bg-elevated:   #111127;
    --text-main:     #eeeef7;
    --text-muted:    #7b82a4;
    --text-faint:    #454870;
    --neon-cyan:     #00e8ff;
    --neon-purple:   #b400ff;
    --neon-red:      #ff2d55;
    --neon-gold:     #ffc947;
    --neon-green:    #00e676;

    /* Glass */
    --glass-bg:      rgba(11, 11, 26, 0.6);
    --glass-border:  rgba(255, 255, 255, 0.055);
    --glass-border-cyan: rgba(0, 232, 255, 0.18);

    /* Golden Ratio Spacing: 8 × φⁿ */
    --space-xs:  8px;     /* 8 */
    --space-sm:  13px;    /* 8 × 1.618 */
    --space-md:  21px;    /* 13 × 1.618 */
    --space-lg:  34px;    /* 21 × 1.618 */
    --space-xl:  55px;    /* 34 × 1.618 */
    --space-2xl: 89px;    /* 55 × 1.618 */
    --space-3xl: 144px;   /* 89 × 1.618 */

    /* Type Scale (Major Third: ×1.25 up, Minor Third: ×1.2) */
    --text-xs:   0.75rem;   /* 12px */
    --text-sm:   0.875rem;  /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-md:   1.125rem;  /* 18px */
    --text-lg:   1.25rem;   /* 20px */
    --text-xl:   1.5rem;    /* 24px */
    --text-2xl:  1.875rem;  /* 30px */
    --text-3xl:  2.25rem;   /* 36px */
    --text-4xl:  3rem;      /* 48px */
    --text-5xl:  3.75rem;   /* 60px */
    --text-6xl:  4.5rem;    /* 72px */

    /* Radii — Fibonacci progression */
    --radius-sm:  8px;
    --radius-md:  13px;
    --radius-lg:  21px;
    --radius-xl:  34px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:   cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 180ms;
    --duration-base: 300ms;
    --duration-slow: 550ms;
}

/* ========================
   RESET & BASE
======================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.618; /* Golden ratio line height */
    -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }

/* ========================
   PARTICLE CANVAS
======================== */
#particles-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none; opacity: 0.28;
}

/* ========================
   AMBIENT GLOWS (layered depth)
======================== */
.ambient-glow {
    position: fixed; border-radius: 50%;
    filter: blur(140px); z-index: 0; pointer-events: none;
    will-change: transform;
}
.glow-1 {
    top: -15%; left: -12%; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,232,255,0.12) 0%, transparent 65%);
    animation: floatGlow 18s ease-in-out infinite alternate;
}
.glow-2 {
    bottom: 5%; right: -12%; width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(180,0,255,0.1) 0%, transparent 65%);
    animation: floatGlow 22s ease-in-out infinite alternate-reverse;
}
.glow-3 {
    top: 45%; left: 30%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,45,85,0.05) 0%, transparent 65%);
    animation: floatGlow 15s ease-in-out infinite alternate;
}
@keyframes floatGlow {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.05); }
}

/* ========================
   GLASSMORPHISM
======================== */
.glass-nav, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
}
.glass-card { border-radius: var(--radius-lg); }
.border-cyan { border-color: var(--glass-border-cyan) !important; box-shadow: 0 0 40px rgba(0,232,255,0.08); }

/* ========================
   NAVIGATION
======================== */
.glass-nav {
    position: fixed; top: var(--space-md); left: 50%; transform: translateX(-50%);
    width: 92%; max-width: 1200px;
    padding: var(--space-sm) var(--space-lg);
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; border-radius: var(--radius-xl);
    transition: background var(--duration-base) var(--ease-smooth),
                border-color var(--duration-base) var(--ease-smooth),
                box-shadow var(--duration-base) var(--ease-smooth);
}
.glass-nav.scrolled {
    background: rgba(5,5,14,0.9);
    border-color: rgba(0,232,255,0.1);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,232,255,0.06);
}
.logo { display: flex; align-items: center; gap: var(--space-sm); text-decoration: none; }
.nav-logo-img {
    width: 40px; height: 40px; object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0,232,255,0.45));
    transition: filter var(--duration-base) var(--ease-smooth);
}
.nav-logo-img:hover { filter: drop-shadow(0 0 18px rgba(0,232,255,0.75)); }
.logo-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.neon-text {
    font-size: var(--text-lg); font-weight: 800;
    background: linear-gradient(90deg, #fff 30%, var(--neon-cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
}
.logo-subtitle {
    font-size: 0.68rem; color: var(--text-muted);
    letter-spacing: 1.5px; display: flex; align-items: center; gap: var(--space-xs);
    text-transform: uppercase;
}
.version-tag {
    font-size: 0.62rem; background: rgba(0,232,255,0.1); color: var(--neon-cyan);
    padding: 2px 7px; border-radius: var(--radius-full);
    border: 1px solid rgba(0,232,255,0.28); font-weight: 700;
}
.nav-links { display: flex; gap: var(--space-lg); align-items: center; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 600;
    font-size: var(--text-sm); letter-spacing: 0.2px;
    transition: color var(--duration-fast) var(--ease-smooth);
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px;
    background: var(--neon-cyan); transition: width var(--duration-base) var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #0077cc);
    color: #000 !important; padding: 9px 20px;
    border-radius: var(--radius-md); font-weight: 800 !important;
    font-size: var(--text-sm) !important; white-space: nowrap;
    transition: all var(--duration-base) var(--ease-out-expo);
    box-shadow: 0 0 24px rgba(0,232,255,0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 40px rgba(0,232,255,0.5);
}
.btn-primary::after { display: none; }

/* ========================
   HERO — Golden Ratio Layout
======================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.118fr 1fr; /* √(1.25) ratio */
    align-items: center;
    max-width: 1280px; margin: 0 auto;
    padding: 130px var(--space-lg) var(--space-2xl);
    gap: var(--space-2xl);
    position: relative; z-index: 1;
}
.hero-content { display: flex; flex-direction: column; gap: 0; }

/* Social Proof */
.social-proof-bar {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    background: rgba(0,232,255,0.06);
    border: 1px solid rgba(0,232,255,0.18);
    padding: 7px var(--space-md); border-radius: var(--radius-full);
    font-size: var(--text-sm); color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: var(--space-lg);
    animation: slideDown 0.7s var(--ease-out-expo) both;
    width: fit-content;
}
#live-counter { color: var(--neon-cyan); font-weight: 700; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* FOMO Bar */
.fomo-bar {
    display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px;
    background: rgba(255, 45, 85, 0.08);
    border: 1px solid rgba(255, 45, 85, 0.22);
    padding: 9px var(--space-md); border-radius: var(--radius-md);
    font-size: var(--text-sm); color: var(--text-muted);
    margin-bottom: var(--space-lg); width: fit-content;
}
.fomo-icon { font-size: 1rem; }
.countdown-timer {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800; color: var(--neon-red);
    font-size: var(--text-base);
    text-shadow: 0 0 12px rgba(255,45,85,0.4);
    letter-spacing: 2px;
}
.countdown-mini {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800; color: var(--neon-red);
    font-size: var(--text-sm);
    letter-spacing: 1px;
}
.fomo-mini {
    font-size: var(--text-xs); color: var(--text-muted);
    text-align: center; margin-top: var(--space-xs);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Headings */
h1 {
    font-size: clamp(var(--text-2xl), 3.8vw, 3.4rem); /* Scaled down further for perfect harmonious fit */
    line-height: 1.05; font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: var(--space-xs);
}
.highlight {
    background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-lg) !important;
}
.subtitle {
    font-size: var(--text-md); color: var(--text-muted);
    max-width: 520px; line-height: 1.75;
    margin-bottom: var(--space-lg);
}
.subtitle strong { color: var(--text-main); font-weight: 700; }

/* Hero Stats — Rule of Three alignment */
.hero-stats {
    display: flex; align-items: center; gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) var(--space-lg);
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num {
    font-size: var(--text-2xl); font-weight: 900;
    color: var(--neon-cyan); line-height: 1;
    text-shadow: 0 0 20px rgba(0,232,255,0.35);
    font-variant-numeric: tabular-nums;
}
.stat-label {
    font-size: 0.7rem; color: var(--text-muted);
    letter-spacing: 0.8px; margin-top: 4px;
    text-transform: uppercase; white-space: nowrap;
}
.stat-divider { width: 1px; height: 44px; background: var(--glass-border); flex-shrink: 0; }

/* CTA */
.cta-group { display: flex; gap: var(--space-md); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-lg); }
.btn-glow {
    background: linear-gradient(135deg, #00e8ff, #0050cc);
    color: #000; padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md); text-decoration: none;
    font-weight: 800; font-size: var(--text-base);
    border: none; cursor: pointer;
    box-shadow: 0 0 35px rgba(0,232,255,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all var(--duration-base) var(--ease-out-expo);
    display: flex; flex-direction: column; align-items: center;
    gap: 3px; line-height: 1.2;
    position: relative; overflow: hidden;
}
.btn-glow::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity var(--duration-fast);
}
.btn-glow:hover::before { opacity: 1; }
.btn-glow small { font-size: var(--text-xs); font-weight: 500; opacity: 0.75; }
.btn-glow:hover {
    box-shadow: 0 0 60px rgba(0,232,255,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
    transform: translateY(-3px) scale(1.015);
    color: #000; text-decoration: none;
}
.btn-outline {
    background: transparent; color: var(--text-main);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md); text-decoration: none;
    font-weight: 600; border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--duration-base) var(--ease-smooth);
    font-size: var(--text-base); white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* Trust Badges */
.trust-badges {
    display: flex; gap: var(--space-lg); flex-wrap: wrap;
    font-size: var(--text-xs); color: var(--text-faint); letter-spacing: 0.3px;
}
.trust-badges span { display: flex; align-items: center; gap: 5px; }

/* Hero Visual */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.glass-video-container {
    width: 100%; max-width: 600px; aspect-ratio: 16/10;
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,232,255,0.06);
    overflow: hidden; position: relative;
    transition: transform var(--duration-slow) var(--ease-spring),
                box-shadow var(--duration-slow) var(--ease-smooth);
}
.glass-video-container::after {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
    background: linear-gradient(160deg, rgba(0,232,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.glass-video-container:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 60px rgba(0,232,255,0.15);
}
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.video-glow-frame { position: absolute; inset: 0; border-radius: var(--radius-lg); border: 1px solid rgba(0,232,255,0.12); pointer-events: none; }
.video-overlay { position: absolute; top: var(--space-md); right: var(--space-md); z-index: 10; }
.status-badge {
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-main); padding: 6px var(--space-md);
    border-radius: var(--radius-full); font-size: var(--text-xs);
    font-weight: 800; display: flex; align-items: center; gap: var(--space-xs);
    font-family: 'JetBrains Mono', monospace; letter-spacing: 1.5px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--neon-red); border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-red);
    animation: livePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.7); opacity: 0.4; }
}

/* ========================
   PROOF BAR
======================== */
.proof-bar {
    background: rgba(0,232,255,0.032);
    border-top: 1px solid rgba(0,232,255,0.08);
    border-bottom: 1px solid rgba(0,232,255,0.08);
    padding: var(--space-md) 0; position: relative; z-index: 1;
}
.proof-bar-inner {
    display: flex; gap: var(--space-xl); justify-content: center;
    align-items: center; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg);
}
.proof-item { font-size: var(--text-sm); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.proof-sep { color: rgba(0,232,255,0.25); font-size: var(--text-lg); }

/* ========================
   SECTIONS — COMMON
======================== */
.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-xs); font-weight: 700;
    letter-spacing: 4px; color: var(--neon-cyan);
    text-transform: uppercase; margin-bottom: var(--space-sm);
    opacity: 0.75;
}
.section-title {
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
    font-weight: 900; line-height: 1.12; letter-spacing: -0.8px;
    text-align: center; margin-bottom: var(--space-2xl);
    background: linear-gradient(160deg, #fff 40%, var(--text-muted) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* ========================
   PROBLEM SECTION
======================== */
.problem-section {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
    text-align: center;
}
.problem-subtitle {
    font-size: var(--text-md); color: var(--text-muted);
    max-width: 680px; margin: 0 auto var(--space-2xl);
    line-height: 1.8;
}
.problem-subtitle code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0,232,255,0.1); color: var(--neon-cyan);
    padding: 2px 8px; border-radius: var(--radius-sm);
    font-size: 0.9em;
}
.problem-subtitle strong { color: var(--text-main); }
.problem-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
    max-width: 900px; margin: 0 auto;
}
.problem-card {
    padding: var(--space-xl) var(--space-lg); text-align: left;
    transition: transform var(--duration-slow) var(--ease-spring),
                box-shadow var(--duration-base) var(--ease-smooth);
}
.problem-card:hover { transform: translateY(-8px); }
.problem-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.problem-card h4 { font-size: var(--text-lg); font-weight: 800; margin-bottom: var(--space-md); }
.problem-card ul { list-style: none; }
.problem-card ul li {
    font-size: var(--text-sm); color: var(--text-muted);
    padding: 7px 0; border-bottom: 1px solid var(--glass-border);
    display: flex; gap: var(--space-xs); align-items: flex-start; line-height: 1.6;
}
.problem-card ul li::before { content: '✗'; color: var(--neon-red); flex-shrink: 0; font-weight: 700; }
.list-positive li::before { content: '✓'; color: var(--neon-cyan) !important; }
.list-positive li { color: var(--text-main) !important; }

/* ========================
   KEYBOARD SWITCH DEMO
======================== */
.keyboard-section {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
}
.keyboard-inner { text-align: center; }
.section-subtitle {
    font-size: var(--text-md); color: var(--text-muted);
    max-width: 620px; margin: 0 auto var(--space-2xl); line-height: 1.75;
}
.kb-demo-wrapper {
    max-width: 760px; margin: 0 auto;
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    background: linear-gradient(160deg, rgba(0,232,255,0.04), rgba(180,0,255,0.03));
    border-color: var(--glass-border-cyan) !important;
}
.kb-legend {
    font-size: var(--text-xs); color: var(--text-muted);
    margin-bottom: var(--space-lg); display: flex; justify-content: center;
    align-items: center; gap: var(--space-xs); letter-spacing: 0.5px;
    font-family: 'JetBrains Mono', monospace;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.legend-dot.cyan { background: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.legend-dot.red  { background: var(--neon-red); box-shadow: 0 0 8px var(--neon-red); }
.keyboard-display { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-lg); }
.kb-row { display: flex; justify-content: center; gap: 6px; }
.kb-key {
    width: 58px; height: 52px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    border-bottom: 3px solid rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-sm); font-weight: 700; color: var(--text-muted);
    transition: all var(--duration-base) var(--ease-smooth);
    cursor: default;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.kb-key.kb-highlight {
    background: rgba(0,232,255,0.12);
    border-color: rgba(0,232,255,0.4);
    border-bottom-color: rgba(0,232,255,0.6);
    color: var(--neon-cyan);
    box-shadow: 0 0 14px rgba(0,232,255,0.2), 0 2px 6px rgba(0,0,0,0.3);
    text-shadow: 0 0 8px rgba(0,232,255,0.6);
}
.kb-key.kb-strain {
    background: rgba(255,45,85,0.1);
    border-color: rgba(255,45,85,0.35);
    border-bottom-color: rgba(255,45,85,0.5);
    color: var(--neon-red);
    box-shadow: 0 0 14px rgba(255,45,85,0.15), 0 2px 6px rgba(0,0,0,0.3);
    animation: strainPulse 2s ease-in-out infinite;
}
@keyframes strainPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }
.kb-label {
    font-size: var(--text-sm); color: var(--text-muted);
    margin-bottom: var(--space-xs); font-weight: 600; letter-spacing: 0.3px;
}
.kb-metric { margin-bottom: var(--space-lg); font-size: var(--text-sm); font-family: 'JetBrains Mono', monospace; }
.metric-good { color: var(--neon-green); }
.metric-bad  { color: var(--neon-red); }
.btn-switch {
    display: inline-flex; align-items: center; gap: var(--space-xs);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-main); padding: 13px var(--space-xl);
    border-radius: var(--radius-md); font-weight: 700;
    cursor: pointer; transition: all var(--duration-base) var(--ease-out-expo);
    font-family: 'Outfit', sans-serif; font-size: var(--text-base);
    margin-bottom: var(--space-lg);
}
.btn-switch:hover { background: rgba(0,232,255,0.08); border-color: var(--neon-cyan); transform: translateY(-2px); }
.btn-switch.qwerty-mode { background: rgba(255,45,85,0.08); border-color: rgba(255,45,85,0.3); }
.switch-tag {
    background: var(--neon-cyan); color: #000;
    font-size: var(--text-xs); font-weight: 800;
    padding: 2px 8px; border-radius: var(--radius-full); letter-spacing: 0.5px;
}
.btn-switch.qwerty-mode .switch-tag { background: var(--neon-green); }
.kb-note {
    font-size: var(--text-xs); color: var(--text-faint); line-height: 1.6;
    max-width: 480px; margin: 0 auto;
}

/* ========================
   FEATURES GRID
======================== */
.features, .catalog {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
}
.feature-grid, .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}
.feature-card {
    padding: var(--space-xl) var(--space-lg);
    transition: transform var(--duration-slow) var(--ease-spring),
                border-color var(--duration-base) var(--ease-smooth),
                box-shadow var(--duration-base) var(--ease-smooth);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,232,255,0.03), transparent 60%);
    opacity: 0; transition: opacity var(--duration-base);
}
.feature-card:hover { transform: translateY(-12px); border-color: rgba(0,232,255,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(0,232,255,0.06); }
.feature-card:hover::before { opacity: 1; }
.icon { font-size: 2.5rem; margin-bottom: var(--space-md); display: block; }
.feature-card h3 { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-sm); letter-spacing: -0.3px; }
.feature-card p { color: var(--text-muted); line-height: 1.75; font-size: var(--text-sm); }

/* ========================
   TELEMETRY
======================== */
.telemetry-section {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
}
.telemetry-container { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: var(--space-2xl); }
.telemetry-text .subtitle { max-width: 100%; }
.telemetry-features { list-style: none; margin-top: var(--space-lg); }
.telemetry-features li {
    font-size: var(--text-md); margin-bottom: var(--space-md);
    display: flex; align-items: center; gap: var(--space-sm);
}
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,232,255,0.5); }
.neon-purple { color: var(--neon-purple); text-shadow: 0 0 10px rgba(180,0,255,0.4); }
.telemetry-visual {
    position: relative; padding: 12px;
    overflow: hidden; background: rgba(0,0,0,0.5);
}
.telemetry-img { width: 100%; border-radius: var(--radius-md); }
.scan-line {
    position: absolute; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    box-shadow: 0 0 20px var(--neon-cyan);
    animation: scan 4s linear infinite; z-index: 10;
}
@keyframes scan { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* ========================
   GAMIFICATION
======================== */
.gamification-section {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
}
.intro-matrix-container {
    margin: var(--space-lg) auto var(--space-xl);
    max-width: 860px; padding: 0; overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,232,255,0.2) !important;
    box-shadow: 0 0 80px rgba(0,232,255,0.08);
    position: relative;
    /* Cap height so video is fully visible — never taller than 65% of viewport */
    max-height: 65vh;
    display: flex;
    flex-direction: column;
}
.matrix-video {
    width: 100%;
    height: auto;
    max-height: 65vh;            /* video never taller than 65vh */
    object-fit: contain;         /* shows full video without cropping */
    background: #000;
    filter: contrast(1.06) brightness(1.1);
    display: block;
}
.intro-overlay {
    position: absolute; inset: 0;
    /* lighter gradient — just edges, not hiding content */
    background: linear-gradient(to bottom, transparent 85%, rgba(5,5,14,0.7) 100%),
                linear-gradient(to top, transparent 85%, rgba(5,5,14,0.4) 100%);
    pointer-events: none;
}

/* ========================
   ERGONOMICS
======================== */
.ergonomics-section {
    max-width: 1200px; margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg); position: relative; z-index: 1;
}
.ergonomics-card { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--space-2xl); padding: var(--space-xl); }
.ergo-highlight {
    margin-top: var(--space-lg); padding: var(--space-md) var(--space-lg);
    background: rgba(0,232,255,0.04);
    border-left: 3px solid var(--neon-cyan);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.ergo-highlight h3 { color: var(--neon-cyan); margin-bottom: var(--space-xs); font-size: var(--text-md); }
.ergo-visual {
    display: flex; justify-content: center; align-items: center;
    min-height: 240px; background: rgba(0,0,0,0.4);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative; overflow: hidden;
}
.ergo-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(180,0,255,0.04), transparent 70%); pointer-events: none; }
.keyboard-hologram-container { display: flex; flex-direction: column; align-items: center; gap: var(--space-md); text-align: center; z-index: 2; }
.keyboard-hologram { color: var(--neon-purple); font-weight: 800; font-size: var(--text-base); letter-spacing: 5px; text-shadow: 0 0 15px var(--neon-purple); }
.ergo-symbols {
    color: var(--neon-cyan); font-family: 'JetBrains Mono', monospace;
    font-size: var(--text-2xl); font-weight: 700; letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(0,232,255,0.6);
    background: rgba(0,232,255,0.07); padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md); border: 1px solid rgba(0,232,255,0.25);
}
.ergo-subtext { color: var(--text-muted); font-size: var(--text-sm); }
.ergo-subtext strong { color: var(--text-main); }

/* ========================
   AUTOPILOT
======================== */
.autopilot-section { max-width: 1000px; margin: var(--space-3xl) auto; padding: 0 var(--space-lg); position: relative; z-index: 1; }
.autopilot-container { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: var(--space-2xl); gap: var(--space-2xl); background: linear-gradient(135deg, rgba(11,11,26,0.8), rgba(0,232,255,0.03)); }
.auto-text .section-eyebrow { text-align: left; }
.auto-text h2 { font-size: var(--text-3xl); font-weight: 900; margin-bottom: var(--space-md); line-height: 1.15; }
.auto-text p { color: var(--text-muted); line-height: 1.75; font-size: var(--text-md); }
.auto-text kbd { background: var(--bg-elevated); padding: 4px 10px; border-radius: var(--radius-sm); border-bottom: 2px solid rgba(0,0,0,0.5); font-family: 'JetBrains Mono', monospace; color: var(--neon-cyan); font-size: var(--text-sm); }
.speed-meter { margin-top: var(--space-lg); width: 100%; height: 6px; background: rgba(255,255,255,0.07); border-radius: var(--radius-full); position: relative; }
.meter-fill { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple)); border-radius: var(--radius-full); box-shadow: 0 0 12px var(--neon-cyan); animation: speedUp 4s ease-in-out infinite; }
.speed-meter span { position: absolute; right: 0; top: 12px; font-weight: 800; color: var(--neon-cyan); font-size: var(--text-sm); font-family: 'JetBrains Mono', monospace; }
@keyframes speedUp { 0% { width: 0%; } 60% { width: 100%; } 100% { width: 0%; } }
.auto-visual { position: relative; width: 140px; height: 140px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.pulse-core { font-size: var(--text-xl); font-weight: 800; color: var(--bg-dark); background: linear-gradient(135deg, var(--neon-cyan), #0077cc); width: 76px; height: 76px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 0 35px rgba(0,232,255,0.5); z-index: 2; }
.pulse-ring { position: absolute; width: 140px; height: 140px; border: 2px solid var(--neon-cyan); border-radius: 50%; animation: radarPulse 2.2s ease-out infinite; opacity: 0; }
.pulse-ring:nth-child(2) { animation-delay: 1.1s; }
@keyframes radarPulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }

/* ========================
   CATALOG / PRICING
======================== */
.catalog { position: relative; z-index: 1; }
.game-card {
    padding: var(--space-xl) var(--space-lg);
    transition: transform var(--duration-slow) var(--ease-spring),
                box-shadow var(--duration-base) var(--ease-smooth);
    position: relative; overflow: hidden;
}
.game-card:hover { transform: translateY(-10px); }
.featured-card {
    border: 1.5px solid var(--neon-cyan) !important;
    box-shadow: 0 0 50px rgba(0,232,255,0.15);
    transform: scale(1.03);
}
.featured-card:hover { transform: scale(1.06) translateY(-8px); box-shadow: 0 0 80px rgba(0,232,255,0.28); }
.badge-now {
    position: absolute; top: -1px; right: var(--space-lg);
    background: linear-gradient(90deg, var(--neon-cyan), #00aaff);
    color: #000; padding: 6px var(--space-md);
    font-weight: 800; font-size: var(--text-xs); letter-spacing: 1.5px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,232,255,0.4);
}
.featured-logo-wrapper { display: flex; justify-content: center; margin-bottom: var(--space-md); }
.card-logo { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(0,232,255,0.5)); }
.game-card h3 { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-sm); }
.game-card p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
.card-features-list { list-style: none; margin: var(--space-md) 0; }
.card-features-list li { font-size: var(--text-sm); margin-bottom: var(--space-xs); display: flex; align-items: center; gap: var(--space-sm); color: var(--text-main); }
.pricing-container { margin: var(--space-md) 0; }
.price-old { text-decoration: line-through; color: var(--neon-red); font-size: var(--text-sm); margin-right: var(--space-sm); opacity: 0.8; }
.price-now { color: var(--neon-cyan); font-weight: 800; font-size: var(--text-xl); }
.active-buy { padding: var(--space-md) var(--space-lg); font-size: var(--text-base); }
.game-glow { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; border-radius: 50%; opacity: 0.035; pointer-events: none; }
.symbols-glow { background: radial-gradient(circle, var(--neon-cyan), transparent 60%); }
.ai-glow { background: radial-gradient(circle, var(--neon-purple), transparent 60%); }
.devops-glow { background: radial-gradient(circle, #ff9500, transparent 60%); }
.python-glow { background: radial-gradient(circle, #4CAF50, transparent 60%); }
.disabled-card { opacity: 0.68; }
.disabled-card:hover { transform: translateY(-6px); }
.soon-icon { font-size: 2.2rem; margin-bottom: var(--space-md); }
.btn-waitlist {
    margin-top: var(--space-md); width: 100%;
    padding: 11px var(--space-md);
    background: rgba(180,0,255,0.08);
    border: 1px solid rgba(180,0,255,0.25);
    color: var(--text-main); border-radius: var(--radius-md);
    font-weight: 700; cursor: pointer;
    transition: all var(--duration-base) var(--ease-smooth);
    font-family: 'Outfit', sans-serif; font-size: var(--text-sm);
}
.btn-waitlist:hover { background: rgba(180,0,255,0.18); border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(180,0,255,0.2); }

/* Bundle */
.bundle-cta {
    margin-top: var(--space-2xl); text-align: center;
    padding: var(--space-2xl) var(--space-xl);
    background: linear-gradient(135deg, rgba(180,0,255,0.06), rgba(0,232,255,0.06));
    border-color: rgba(0,232,255,0.12) !important;
}
.bundle-logo-wrap { display: flex; justify-content: center; margin-bottom: var(--space-md); }
.bundle-logo { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 0 18px rgba(0,232,255,0.55)); }
.bundle-cta h3 { font-size: var(--text-3xl); font-weight: 900; margin-bottom: var(--space-xs); letter-spacing: -0.5px; }
.bundle-subtitle { color: var(--neon-cyan); font-weight: 700; font-size: var(--text-md); margin-bottom: var(--space-md); }
.bundle-cta p { color: var(--text-muted); font-size: var(--text-md); margin-bottom: var(--space-xl); max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.bundle-input-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.email-input {
    flex: 1; min-width: 220px;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md); color: var(--text-main);
    font-family: 'Outfit', sans-serif; font-size: var(--text-base);
    outline: none; transition: border-color var(--duration-base);
}
.email-input:focus { border-color: var(--neon-cyan); box-shadow: 0 0 0 3px rgba(0,232,255,0.1); }
.email-input::placeholder { color: var(--text-faint); }
.waitlist-msg { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--neon-cyan); font-weight: 600; min-height: 22px; }

/* ========================
   FINAL CTA
======================== */
.final-cta-section {
    background: linear-gradient(180deg, transparent 0%, rgba(0,232,255,0.04) 50%, transparent 100%);
    border-top: 1px solid rgba(0,232,255,0.08);
    border-bottom: 1px solid rgba(0,232,255,0.08);
    padding: var(--space-3xl) var(--space-lg);
    text-align: center; position: relative; z-index: 1;
}
.final-cta-inner { max-width: 700px; margin: 0 auto; }
.final-cta-logo { width: 100px; height: 100px; object-fit: contain; margin: 0 auto var(--space-lg); filter: drop-shadow(0 0 24px rgba(0,232,255,0.5)); }
.final-cta-section h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); font-weight: 900; margin-bottom: var(--space-md); letter-spacing: -0.5px; }
.final-cta-section p { color: var(--text-muted); font-size: var(--text-md); margin-bottom: var(--space-xl); line-height: 1.8; }

/* ========================
   FOOTER
======================== */
footer { padding: var(--space-xl) var(--space-lg); border-top: 1px solid var(--glass-border); position: relative; z-index: 1; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-lg); }
.footer-logo { display: flex; align-items: center; gap: var(--space-md); }
.footer-logo-img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(0,232,255,0.35)); }
.footer-brand { font-size: var(--text-base); font-weight: 800; }
.footer-tagline { font-size: var(--text-xs); color: var(--text-muted); letter-spacing: 1px; margin-top: 2px; }
.footer-copy { color: var(--text-faint); font-size: var(--text-xs); line-height: 1.8; text-align: right; }

/* ========================
   MODAL
======================== */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(12px);
    z-index: 9999; display: flex; align-items: center;
    justify-content: center; padding: var(--space-lg);
    animation: fadeIn 0.25s ease;
}
.modal-box { max-width: 440px; width: 100%; padding: var(--space-2xl) var(--space-xl); text-align: center; position: relative; }
.modal-close {
    position: absolute; top: var(--space-md); right: var(--space-md);
    background: transparent; border: none; color: var(--text-muted);
    font-size: var(--text-lg); cursor: pointer; width: 34px; height: 34px;
    border-radius: 50%; transition: background var(--duration-fast), color var(--duration-fast);
    display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.modal-logo { width: 72px; height: 72px; object-fit: contain; margin: 0 auto var(--space-md); filter: drop-shadow(0 0 14px rgba(0,232,255,0.5)); }
.modal-box h3 { font-size: var(--text-2xl); font-weight: 900; margin-bottom: var(--space-xs); }
.modal-box p { color: var(--text-muted); font-size: var(--text-sm); line-height: 1.7; }
.modal-box p strong { color: var(--text-main); }

/* ========================
   MICRO-ANIMATIONS
======================== */
@keyframes glitch {
    0%, 90%, 100% { text-shadow: none; transform: none; clip-path: none; }
    91%  { text-shadow: -3px 0 var(--neon-red); transform: translate(-2px); }
    93%  { text-shadow: 3px 0 var(--neon-cyan); transform: translate(2px); }
    95%  { text-shadow: -2px 0 var(--neon-purple); transform: translate(-1px); }
    97%  { text-shadow: none; transform: translate(0); }
}
.glitch { animation: glitch 7s ease-in-out infinite; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll Reveal initial state */
.glass-card, .feature-card, .section-eyebrow, .section-title { opacity: 0; transform: translateY(24px); }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1060px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 140px; }
    .subtitle, .social-proof-bar, .fomo-bar, .hero-stats, .cta-group, .trust-badges { margin-left: auto; margin-right: auto; }
    .subtitle { max-width: 600px; }
    .cta-group { justify-content: center; }
    .trust-badges { justify-content: center; }
    .telemetry-container { grid-template-columns: 1fr; }
    .ergonomics-card { grid-template-columns: 1fr; }
    .autopilot-container { grid-template-columns: 1fr; text-align: center; }
    .problem-cards { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-copy { text-align: center; }
}
@media (max-width: 640px) {
    h1 { letter-spacing: -0.5px; }
    .glass-nav { padding: var(--space-sm) var(--space-md); }
    .nav-links a:not(.btn-primary) { display: none; }
    .bundle-input-group { flex-direction: column; }
    .kb-key { width: 44px; height: 40px; font-size: var(--text-xs); }
}
