/* ============================================
   Commander Flow — Landing Page v2
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --indigo: #6366F1;
    --purple: #A855F7;
    --pink: #EC4899;
    --dark: #0B0D17;
    --dark-2: #111328;
    --dark-3: #1A1D35;
    --dark-card: #13152A;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--indigo), var(--purple), var(--pink));
    --gradient-text: linear-gradient(135deg, var(--indigo) 0%, var(--purple) 40%, var(--pink) 100%);
    --shadow-glow: 0 0 40px rgba(99,102,241,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--gray-200);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* === Animations === */
@keyframes fadeInUp { from { opacity:0; transform:translateY(40px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes scrollDown { 0% { transform:translateY(0); opacity:1; } 50% { transform:translateY(8px); opacity:.3; } 100% { transform:translateY(0); opacity:1; } }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }
@keyframes waveBar { 0%,100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

@keyframes soundWaveL { 0%,100% { opacity:.4; transform: translateX(0); } 50% { opacity:.15; transform: translateX(-3px); } }
@keyframes soundWaveR { 0%,100% { opacity:.4; transform: translateX(0); } 50% { opacity:.15; transform: translateX(3px); } }
@keyframes pulseMic { 0%,100% { r: 60; opacity:.15; } 50% { r: 68; opacity:.08; } }
@keyframes sparkle { 0%,100% { opacity:.6; transform: scale(1); } 50% { opacity:.2; transform: scale(1.2); } }
@keyframes brainDot { 0%,100% { opacity:.5; } 50% { opacity:1; r: 4; } }
@keyframes cursorBlink { 0%,100% { opacity:1; } 50% { opacity:0; } }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes particleBounce {
    0% { opacity:0; transform: translate(0,0) scale(0); }
    30% { opacity:.8; transform: translate(var(--px), var(--py)) scale(1); }
    60% { opacity:.3; transform: translate(calc(var(--px)*1.5), calc(var(--py)*1.5)) scale(.6); }
    100% { opacity:0; transform: translate(calc(var(--px)*2), calc(var(--py)*2)) scale(0); }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
[data-animate].visible.delay-1 { transition-delay: .1s; }
[data-animate].visible.delay-2 { transition-delay: .2s; }
[data-animate].visible.delay-3 { transition-delay: .3s; }

/* === Navbar === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: all .3s ease;
}
.navbar.scrolled {
    background: rgba(11,13,23,.92); backdrop-filter: blur(20px);
    padding: 10px 0; border-bottom: 1px solid rgba(99,102,241,.1);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img {
    height: 36px;
    filter: drop-shadow(0 0 12px rgba(99,102,241,0.5)) drop-shadow(0 0 4px rgba(168,85,247,0.4));
    transition: filter .3s;
}
.nav-logo:hover img {
    filter: drop-shadow(0 0 18px rgba(99,102,241,0.7)) drop-shadow(0 0 6px rgba(236,72,153,0.5));
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--gray-300); transition: color .3s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: var(--gradient); color: var(--white)!important;
    padding: 10px 24px; border-radius: 100px; font-weight: 600!important;
    transition: transform .3s, box-shadow .3s!important;
}
.nav-cta:hover { transform: scale(1.05); box-shadow: var(--shadow-glow); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); }

/* === Hero === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,13,23,.7) 0%, rgba(11,13,23,.5) 40%, rgba(11,13,23,.85) 80%, rgba(11,13,23,1) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 120px 0 80px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.3);
    border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 500;
    color: var(--gray-200); margin-bottom: 32px; animation: fadeIn 1s;
}
.badge-dot { width: 8px; height: 8px; background: #22C55E; border-radius: 50%; animation: pulse 2s infinite; }
.hero-title {
    font-size: clamp(42px,7vw,80px); font-weight: 800; line-height: 1.1;
    color: var(--white); margin-bottom: 24px; letter-spacing: -.02em; animation: fadeInUp .8s ease;
}
.gradient-text {
    background: var(--gradient-text); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: clamp(16px,2vw,20px); color: var(--gray-400);
    max-width: 600px; margin: 0 auto 40px; line-height: 1.7; animation: fadeInUp .8s ease .1s both;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp .8s ease .2s both;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: inherit; font-weight: 600; border: none; cursor: pointer; transition: all .3s;
}
.btn-primary {
    background: var(--gradient); color: var(--white); border-radius: 100px;
    box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,102,241,.5); }
.btn-ghost {
    background: rgba(255,255,255,.08); color: var(--white); border-radius: 100px;
    border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-xl { padding: 20px 40px; font-size: 18px; }

.hero-scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 1; animation: fadeIn 1s 1s both; }
.scroll-mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.2); border-radius: 12px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-dot { width: 3px; height: 8px; background: var(--indigo); border-radius: 2px; animation: scrollDown 2s infinite; }

/* === Sections === */
.section { position: relative; padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 72px; }
.section-title {
    font-size: clamp(32px,5vw,52px); font-weight: 800; color: var(--white);
    line-height: 1.15; letter-spacing: -.02em; margin-bottom: 20px;
}
.section-desc { font-size: 18px; color: var(--gray-400); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.section-desc-left { font-size: 18px; color: var(--gray-400); line-height: 1.7; margin-bottom: 40px; }

/* === Speed Comparison === */
.speed-comparison {
    max-width: 700px; margin: 0 auto 60px;
    background: var(--dark-card); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg); padding: 48px 40px;
}
.speed-row { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.speed-row:last-child { margin-bottom: 0; }
.speed-label { display: flex; align-items: center; gap: 10px; width: 180px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: var(--gray-300); }
.speed-icon { color: var(--gray-500); }
.speed-icon.voice { color: var(--indigo); }
.speed-bar-wrap { flex: 1; height: 40px; background: rgba(255,255,255,.04); border-radius: 10px; overflow: hidden; }
.speed-bar {
    height: 100%; border-radius: 10px; display: flex; align-items: center; justify-content: flex-end;
    padding-right: 16px; width: 0; transition: width 1.5s cubic-bezier(.16,1,.3,1);
}
.speed-bar-typing { background: rgba(255,255,255,.08); }
.speed-bar-voice { background: var(--gradient); box-shadow: 0 0 20px rgba(99,102,241,.3); }
.speed-bar-value { font-size: 13px; font-weight: 700; color: var(--white); white-space: nowrap; opacity: 0; transition: opacity .5s .8s; }
.speed-bar.animated .speed-bar-value { opacity: 1; }
.speed-bar-typing.animated { width: 27%; }
.speed-bar-voice.animated { width: 100%; }

/* Time saved */
.time-saved { text-align: center; }
.time-saved-inner {
    display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(236,72,153,.05));
    border: 1px solid rgba(99,102,241,.2); border-radius: var(--radius-lg); padding: 40px 60px;
}
.time-saved-text { display: flex; align-items: baseline; gap: 12px; }
.time-saved-number {
    font-size: 72px; font-weight: 900; line-height: 1;
    background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.time-saved-label { font-size: 20px; color: var(--gray-300); font-weight: 600; }
.time-saved-note { font-size: 14px; color: var(--gray-500); }

/* === Transform Demo (Before/After) === */
.section-magic { background: var(--dark-2); }
.transform-demo {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center;
    max-width: 900px; margin: 0 auto 40px;
}
.transform-card {
    background: var(--dark-card); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg); overflow: hidden;
}
.transform-header {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 13px; font-weight: 600; color: var(--gray-400);
}
.transform-dot { width: 10px; height: 10px; border-radius: 50%; }
.transform-dot.red { background: #ef4444; }
.transform-dot.green { background: #22c55e; }
.transform-body { padding: 24px; min-height: 160px; }
.transform-text { font-size: 15px; line-height: 1.8; color: var(--gray-300); }
.transform-before .transform-text {
    color: var(--gray-400); font-style: italic;
}
.transform-before .transform-text .filler { color: #ef4444; opacity: .7; text-decoration: line-through; }
.transform-after .transform-text { color: var(--white); }

.sound-wave-mini {
    display: flex; align-items: center; gap: 3px; margin-top: 16px; height: 20px;
}
.sound-wave-mini span {
    width: 3px; background: var(--indigo); border-radius: 2px; transform-origin: bottom;
    animation: waveBar 1s ease-in-out infinite;
}
.sound-wave-mini span:nth-child(1) { animation-delay: 0s; height: 100%; }
.sound-wave-mini span:nth-child(2) { animation-delay: .1s; height: 100%; }
.sound-wave-mini span:nth-child(3) { animation-delay: .2s; height: 100%; }
.sound-wave-mini span:nth-child(4) { animation-delay: .3s; height: 100%; }
.sound-wave-mini span:nth-child(5) { animation-delay: .4s; height: 100%; }
.sound-wave-mini span:nth-child(6) { animation-delay: .5s; height: 100%; }
.sound-wave-mini span:nth-child(7) { animation-delay: .6s; height: 100%; }
.sound-wave-mini span:nth-child(8) { animation-delay: .7s; height: 100%; }
.sound-wave-mini span:nth-child(9) { animation-delay: .8s; height: 100%; }
.sound-wave-mini span:nth-child(10) { animation-delay: .9s; height: 100%; }

.transform-arrow { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.transform-arrow svg { animation: float 3s ease-in-out infinite; }
.transform-time { font-size: 12px; font-weight: 700; color: var(--indigo); }

.examples-nav { display: flex; justify-content: center; gap: 12px; }
.example-btn {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    color: var(--gray-400); padding: 10px 24px; border-radius: 100px;
    font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .3s;
}
.example-btn:hover { background: rgba(255,255,255,.1); color: var(--white); }
.example-btn.active {
    background: var(--gradient); color: var(--white); border-color: transparent;
    box-shadow: 0 4px 15px rgba(99,102,241,.3);
}

/* === Steps with SVG === */
.section-steps { position: relative; overflow: hidden; }
.steps-video-wrap { position: absolute; inset: 0; z-index: 0; }
.steps-video { width: 100%; height: 100%; object-fit: cover; }
.steps-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,13,23,.96) 0%, rgba(11,13,23,.88) 50%, rgba(11,13,23,.96) 100%);
}
.section-steps .container { position: relative; z-index: 1; }

.steps-flow { max-width: 800px; margin: 0 auto; }
.step-item {
    display: flex; align-items: center; gap: 48px;
}
.step-item.reverse { flex-direction: row-reverse; }

.step-svg-wrap {
    flex-shrink: 0; width: 200px; height: 200px;
}
.step-svg { width: 100%; height: 100%; }

/* SVG animations */
.sound-wave-l1, .sound-wave-l2 { animation: soundWaveL 2s ease-in-out infinite; }
.sound-wave-l2 { animation-delay: .3s; }
.sound-wave-r1, .sound-wave-r2 { animation: soundWaveR 2s ease-in-out infinite; }
.sound-wave-r2 { animation-delay: .3s; }
.pulse-ring { animation: pulseMic 2.5s ease-in-out infinite; transform-origin: center; }
.sparkle-group { animation: sparkle 2s ease-in-out infinite; transform-origin: center; }
.brain-dot-1 { animation: brainDot 1.5s ease-in-out infinite; }
.brain-dot-2 { animation: brainDot 1.5s ease-in-out infinite .3s; }
.brain-dot-3 { animation: brainDot 1.5s ease-in-out infinite .6s; }
.brain-circle { animation: pulseMic 3s ease-in-out infinite; transform-origin: center; }
.cursor-blink { animation: cursorBlink .8s infinite; }
.text-line-1 { animation: fadeIn 1s ease .2s both; }
.text-line-2 { animation: fadeIn 1s ease .5s both; }
.text-line-3 { animation: fadeIn 1s ease .8s both; }
.doc-line-1 { animation: fadeIn 1s ease .3s both; }
.doc-line-2 { animation: fadeIn 1s ease .6s both; }
.doc-line-3 { animation: fadeIn 1s ease .9s both; }
.doc-line-4 { animation: fadeIn 1s ease 1.2s both; }
.check-circle, .check-mark { animation: fadeIn .5s ease 1.5s both; }

.step-text { flex: 1; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--gradient); color: var(--white);
    font-size: 16px; font-weight: 800; margin-bottom: 12px;
}
.step-item h3 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step-item p { font-size: 16px; color: var(--gray-400); line-height: 1.7; }
.step-connector-v { display: flex; justify-content: center; padding: 8px 0; }

/* === Proof rings === */
.section-proof { background: var(--dark-2); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.proof-card {
    background: var(--dark-card); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg); padding: 40px 32px; text-align: center;
    transition: transform .4s, box-shadow .4s;
}
.proof-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.proof-svg-wrap { width: 120px; height: 120px; margin: 0 auto 24px; }
.proof-svg { width: 100%; height: 100%; }
.proof-ring {
    transform: rotate(-90deg); transform-origin: center;
    transition: stroke-dashoffset 2s cubic-bezier(.16,1,.3,1);
}
.proof-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.proof-card p { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

/* === AI Manifesto === */
.section-manifesto {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.section-manifesto::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.manifesto-block {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(236,72,153,0.03));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius-xl);
    padding: 56px 60px;
    position: relative;
    transition: all .5s;
}
.manifesto-block:hover {
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 0 60px rgba(99,102,241,0.1);
}

.manifesto-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 28px;
}
.manifesto-svg {
    width: 80px;
    height: 80px;
}

.manifesto-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.manifesto-desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
}
.manifesto-desc strong {
    color: var(--white);
}

@media (max-width: 768px) {
    .manifesto-block {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        gap: 28px;
    }
    .manifesto-icon {
        width: 90px;
        height: 90px;
    }
    .manifesto-svg {
        width: 60px;
        height: 60px;
    }
}

/* === Select & Transform Section === */
.section-select {
    background: var(--dark-2);
    overflow: hidden;
}
.section-select::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(99,102,241,.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.select-demo-inner {
    max-width: 900px;
    margin: 0 auto;
}

.select-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.select-step {
    flex: 1;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.select-step-visual {
    width: 100%;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 8px;
    transition: all .4s;
}

.select-step:hover .select-step-visual {
    border-color: rgba(99,102,241,.2);
    box-shadow: 0 0 25px rgba(99,102,241,.1);
    transform: translateY(-4px);
}

.select-svg {
    width: 100%;
    height: auto;
    display: block;
}

.select-highlight {
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes cursorMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 12px); }
}
.select-cursor {
    animation: cursorMove 3s ease-in-out infinite;
}

.select-step-label {
    text-align: center;
}

.select-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.select-step-label strong {
    display: block;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 4px;
}

.select-step-label p {
    font-size: 13px;
    color: var(--gray-500);
}

.select-arrow {
    flex-shrink: 0;
    padding-top: 50px;
    animation: float 3s ease-in-out infinite;
}

/* Pills */
.select-pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.select-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 100px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-300);
    transition: all .3s;
}

.select-pill:hover {
    background: rgba(99,102,241,.1);
    border-color: rgba(99,102,241,.2);
    color: var(--white);
    transform: translateY(-2px);
}

.select-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .select-flow { flex-direction: column; align-items: center; }
    .select-step { max-width: 100%; }
    .select-arrow { padding-top: 0; transform: rotate(90deg); }
    .select-pills { gap: 8px; }
    .select-pill { font-size: 12px; padding: 8px 14px; }
}

/* === Era Section === */
.section-era {
    background: var(--dark);
    overflow: hidden;
}
.era-layout {
    max-width: 900px;
    margin: 0 auto;
}
.era-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    margin-bottom: 48px;
}
.era-line {
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.1), var(--indigo), var(--pink));
    transform: translateY(-50%);
}
.era-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.era-point:first-of-type { margin-right: auto; margin-left: 20%; }
.era-point:last-of-type { margin-left: auto; margin-right: 20%; }
.era-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 2px solid var(--gray-500);
    transition: all .6s;
}
.era-dot.active {
    background: var(--indigo);
    border-color: var(--indigo);
    box-shadow: 0 0 20px rgba(99,102,241,.5), 0 0 6px rgba(99,102,241,.8);
    animation: pulse 2s ease-in-out infinite;
}
.era-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}
.era-card {
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all .5s cubic-bezier(.16,1,.3,1);
}
.era-card-past {
    opacity: .7;
}
.era-card-past:hover { opacity: .9; }
.era-card-now {
    border-color: rgba(99,102,241,.25);
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(236,72,153,.04));
    box-shadow: 0 0 30px rgba(99,102,241,.1);
}
.era-card-now:hover {
    border-color: rgba(99,102,241,.4);
    box-shadow: 0 0 40px rgba(99,102,241,.2);
    transform: translateY(-4px);
}
.era-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    margin-bottom: 20px;
}
.era-icon-wrap.past {
    background: rgba(255,255,255,.05);
    color: var(--gray-500);
}
.era-icon-wrap.now {
    background: rgba(99,102,241,.15);
    color: var(--indigo);
}
.era-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}
.era-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.75;
}
.era-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}
.era-bottom {
    text-align: center;
}
.era-highlight {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(236,72,153,.06));
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 100px;
    padding: 16px 32px;
    color: var(--indigo);
}
.era-highlight p {
    font-size: 15px;
    color: var(--gray-300);
    text-align: left;
}
.era-highlight strong {
    color: var(--white);
}

@media (max-width: 768px) {
    .era-content { grid-template-columns: 1fr; gap: 16px; }
    .era-divider { transform: rotate(90deg); padding: 4px 0; }
    .era-timeline { display: none; }
    .era-highlight { flex-direction: column; border-radius: var(--radius-lg); padding: 20px 24px; text-align: center; }
    .era-highlight p { text-align: center; }
}

/* === Privacy === */
.privacy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.privacy-content .section-title { text-align: left; }

.privacy-reveals { display: flex; flex-direction: column; gap: 0; }
.reveal-item {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.05);
    opacity: 0; transform: translateX(-20px);
    transition: all .6s cubic-bezier(.16,1,.3,1);
}
.reveal-item.visible { opacity: 1; transform: translateX(0); }
.reveal-item:last-child { border-bottom: none; }
.reveal-icon {
    flex-shrink: 0; width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(99,102,241,.1); border-radius: 14px; color: var(--indigo);
}
.reveal-item h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.reveal-item p { font-size: 14px; color: var(--gray-400); line-height: 1.6; }

.privacy-visual { display: flex; align-items: center; justify-content: center; }
.lock-animation { width: 240px; height: 280px; }
.lock-svg { width: 100%; height: 100%; }
.lock-ring-1 { animation: ringRotate 20s linear infinite; transform-origin: 120px 150px; }
.lock-ring-2 { animation: ringRotate 15s linear infinite reverse; transform-origin: 120px 150px; }
.lock-ring-3 { animation: ringRotate 25s linear infinite; transform-origin: 120px 150px; }
.lock-body { animation: float 4s ease-in-out infinite; }
.lock-shackle { animation: float 4s ease-in-out infinite; }
.lock-keyhole { animation: pulse 2s ease-in-out infinite; }

.data-particle { --px: 0; --py: 0; }
.dp-1 { --px: -15px; --py: -10px; animation: particleBounce 3s ease infinite; }
.dp-2 { --px: 15px; --py: -8px; animation: particleBounce 3s ease infinite .8s; }
.dp-3 { --px: -12px; --py: 12px; animation: particleBounce 3s ease infinite 1.6s; }
.dp-4 { --px: 14px; --py: 10px; animation: particleBounce 3s ease infinite 2.4s; }
.px-1 { animation: particleBounce 3s ease infinite; }
.px-2 { animation: particleBounce 3s ease infinite .8s; }

/* === Use Cases === */
.usecases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usecase-card {
    background: var(--dark-card); border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg); padding: 36px 28px;
    transition: all .4s; position: relative; overflow: hidden;
}
.usecase-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient); transform: scaleX(0); transition: transform .4s;
}
.usecase-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,.2); box-shadow: var(--shadow-lg); }
.usecase-card:hover::before { transform: scaleX(1); }
.usecase-icon {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    background: rgba(99,102,241,.1); border-radius: 14px; color: var(--indigo);
    margin-bottom: 20px; transition: all .3s;
}
.usecase-card:hover .usecase-icon { background: var(--gradient); color: var(--white); }
.usecase-card h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.usecase-card p { font-size: 14px; color: var(--gray-400); line-height: 1.7; }

/* === Demo Tabs === */
.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.demo-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: var(--gray-400);
    padding: 12px 24px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
}
.demo-tab:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
    border-color: rgba(255,255,255,.15);
}
.demo-tab.active {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99,102,241,.3);
}
.demo-tab svg { flex-shrink: 0; }

/* Demo Display */
.demo-display {
    max-width: 900px;
    margin: 0 auto;
}
.demo-scene {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}
.demo-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}
.demo-step-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Demo windows */
.demo-window {
    width: 100%;
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all .5s;
}
.demo-window-result {
    border-color: rgba(34,197,94,.2);
    box-shadow: 0 0 20px rgba(34,197,94,.08);
}
.demo-window-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
}
.demo-dot:nth-child(1) { background: #ef4444; opacity: .6; }
.demo-dot:nth-child(2) { background: #f59e0b; opacity: .6; }
.demo-dot:nth-child(3) { background: #22c55e; opacity: .6; }
.demo-window-title {
    margin-left: 8px;
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 500;
}
.demo-window-body {
    padding: 20px;
    min-height: 120px;
    display: flex;
    align-items: flex-start;
}
.demo-selected-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--gray-300);
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 4px;
    padding: 10px 12px;
    width: 100%;
    position: relative;
    transition: opacity .4s;
}
.demo-selected-text::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--indigo);
    border-radius: 2px;
}
.demo-result-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--white);
    width: 100%;
    transition: opacity .4s;
}

/* Voice bubble */
.demo-voice-bubble {
    background: linear-gradient(135deg, rgba(99,102,241,.12), rgba(236,72,153,.08));
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    width: 180px;
    transition: all .5s;
}
.demo-voice-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 24px;
    margin-bottom: 12px;
}
.demo-voice-waves span {
    width: 3px;
    background: var(--indigo);
    border-radius: 2px;
    transform-origin: bottom;
    animation: waveBar 1s ease-in-out infinite;
}
.demo-voice-waves span:nth-child(1) { animation-delay: 0s; height: 100%; }
.demo-voice-waves span:nth-child(2) { animation-delay: .15s; height: 100%; }
.demo-voice-waves span:nth-child(3) { animation-delay: .3s; height: 100%; }
.demo-voice-waves span:nth-child(4) { animation-delay: .45s; height: 100%; }
.demo-voice-waves span:nth-child(5) { animation-delay: .6s; height: 100%; }

.demo-voice-text {
    font-size: 13px;
    color: var(--gray-200);
    font-style: italic;
    font-weight: 500;
    transition: opacity .4s;
}

/* Labels */
.demo-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.demo-label.done {
    color: #22c55e;
}

@media (max-width: 768px) {
    .demo-scene { grid-template-columns: 1fr; gap: 16px; }
    .demo-tabs { gap: 6px; }
    .demo-tab { padding: 10px 16px; font-size: 12px; }
    .demo-voice-bubble { width: 100%; }
}

/* === Apps Showcase === */
.apps-showcase {
    display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.app-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.app-icon-circle {
    width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
    background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.15);
    border-radius: 20px; color: var(--indigo); transition: all .3s;
}
.app-item:hover .app-icon-circle {
    background: rgba(99,102,241,.15); border-color: rgba(99,102,241,.3);
    transform: translateY(-4px); box-shadow: 0 8px 25px rgba(99,102,241,.15);
}
.app-item span { font-size: 13px; color: var(--gray-400); font-weight: 500; }

/* === Download === */
.section-download { position: relative; overflow: hidden; text-align: center; }
.download-video-wrap { position: absolute; inset: 0; z-index: 0; }
.download-video { width: 100%; height: 100%; object-fit: cover; }
.download-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,13,23,.96) 0%, rgba(11,13,23,.82) 50%, rgba(11,13,23,.96) 100%);
}
.download-content { position: relative; z-index: 1; }
.download-card {
    display: inline-flex; align-items: center; gap: 32px;
    background: rgba(19,21,42,.8); backdrop-filter: blur(20px);
    border: 1px solid rgba(99,102,241,.2); border-radius: var(--radius-xl);
    padding: 32px 40px; margin: 40px auto; box-shadow: var(--shadow-glow);
}
.download-info { text-align: left; }
.download-os {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px;
}
.download-os svg { color: var(--indigo); }
.download-version { font-size: 13px; color: var(--gray-500); }
.download-btn { white-space: nowrap; }

/* === Footer === */
.footer {
    background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.05);
    padding: 48px 0 24px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img {
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(99,102,241,0.4)) drop-shadow(0 0 4px rgba(168,85,247,0.3));
}
.footer-brand p { font-size: 14px; color: var(--gray-500); }
.footer-links-row { display: flex; gap: 32px; }
.footer-links-row a { font-size: 14px; color: var(--gray-400); transition: color .3s; }
.footer-links-row a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05); padding-top: 20px;
}
.footer-bottom p { font-size: 13px; color: var(--gray-500); text-align: center; }

/* === Decorative === */
.section-magic::before,
.section-proof::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(99,102,241,.05) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}

/* === Responsive === */
@media (max-width: 1024px) {
    .usecases-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-layout { grid-template-columns: 1fr; gap: 48px; }
    .privacy-visual { order: -1; }
    .privacy-content .section-title { text-align: center; }
    .section-desc-left { text-align: center; }
    .step-item, .step-item.reverse { flex-direction: column; text-align: center; }
    .footer-inner { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; background: rgba(11,13,23,.98); backdrop-filter: blur(20px);
        padding: 24px; gap: 16px; border-bottom: 1px solid rgba(99,102,241,.1);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    .usecases-grid, .proof-grid { grid-template-columns: 1fr; }
    .transform-demo { grid-template-columns: 1fr; gap: 16px; }
    .transform-arrow { transform: rotate(90deg); padding: 8px 0; }
    .speed-row { flex-direction: column; gap: 8px; }
    .speed-label { width: auto; }
    .time-saved-inner { padding: 24px; }
    .time-saved-number { font-size: 48px; }
    .time-saved-text { flex-direction: column; align-items: center; gap: 4px; }
    .download-card { flex-direction: column; padding: 24px; gap: 20px; }
    .download-info { text-align: center; }
    .footer-links-row { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .apps-showcase { gap: 20px; }
    .section { padding: 80px 0; }
}
