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

:root {
    --bg: #0a0a0a;
    --text: #f0f0f0;
    --text-dim: #555;
    --text-mid: #999;
    --accent: #fff;
    --border: #1a1a1a;
    --card-bg: #111;
    --card-bg-hover: #161616;
    --radius: 9999px;
    --green: #4ade80;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── NAV ─── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    background: rgba(10,10,10,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.4s ease;
}
nav.scrolled { padding: 1rem 3rem; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text); }
.nav-logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-logo span { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-mid); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-download { background: var(--text)!important; color: var(--bg)!important; padding: 0.6rem 1.5rem!important; border-radius: var(--radius)!important; font-weight: 500!important; font-size: 0.8rem!important; transition: transform 0.3s, opacity 0.3s!important; }
.nav-download:hover { transform: scale(1.05); opacity: 0.9; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 8rem 2rem 4rem; position: relative;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1.2rem; border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius); font-size: 0.8rem; color: var(--text-mid);
    margin-bottom: 3rem; letter-spacing: 0.05em;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(3rem, 8vw, 7rem); line-height: 0.95;
    letter-spacing: -0.04em; margin-bottom: 2rem; max-width: 900px;
}
.hero h1 .thin { font-weight: 400; font-style: italic; opacity: 0.7; }
.hero-sub { font-size: 1.15rem; color: var(--text-mid); max-width: 480px; margin-bottom: 3rem; line-height: 1.7; }
.hero-cta { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: var(--text); color: var(--bg); padding: 0.9rem 2rem;
    border-radius: var(--radius); text-decoration: none; font-weight: 500;
    font-size: 0.9rem; transition: transform 0.3s, box-shadow 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255,255,255,0.1); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-mid); text-decoration: none; font-size: 0.9rem;
    padding: 0.9rem 1.5rem; border: 1px solid var(--border);
    border-radius: var(--radius); transition: all 0.3s;
}
.btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.hero-note { margin-top: 2rem; font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.03em; }
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--text-dim), transparent); animation: scroll-fade 2s ease-in-out infinite; }
@keyframes scroll-fade { 0%, 100% { opacity: 0.3; transform: scaleY(0.5); } 50% { opacity: 1; transform: scaleY(1); } }

/* ─── SECTIONS ─── */
section { padding: 8rem 3rem; max-width: 1200px; margin: 0 auto; }
.section-number { font-family: 'Syne', sans-serif; font-size: 0.75rem; color: var(--text-dim); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.5rem; }
.section-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.section-desc { color: var(--text-mid); font-size: 1.05rem; max-width: 500px; line-height: 1.7; }
.section-header-center { text-align: center; }
.section-header-center .section-desc { margin: 0 auto; }

/* ─── SHOWCASE ─── */
.showcase { padding: 4rem 3rem; max-width: 1200px; margin: 0 auto; }
.showcase-window { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.showcase-titlebar { display: flex; align-items: center; gap: 8px; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); }
.showcase-dot { width: 12px; height: 12px; border-radius: 50%; background: #333; }
.showcase-dot:nth-child(1) { background: #ff5f57; }
.showcase-dot:nth-child(2) { background: #febc2e; }
.showcase-dot:nth-child(3) { background: #28c840; }
.showcase-content { padding: 3rem; display: flex; align-items: center; justify-content: center; min-height: 350px; }
.waveform { display: flex; align-items: center; justify-content: center; gap: 3px; height: 80px; margin-bottom: 2rem; }
.waveform .bar { width: 3px; background: var(--text); border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 10px; opacity: 0.3; } 50% { height: 60px; opacity: 1; } }
.typewriter { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 500; min-height: 2.5rem; }
.typewriter .cursor { display: inline-block; width: 2px; height: 1.4em; background: var(--text); margin-left: 2px; vertical-align: text-bottom; animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── FEATURES GRID ─── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 4rem; }
.feature-card { background: var(--bg); padding: 2.5rem; transition: background 0.4s; }
.feature-card:hover { background: var(--card-bg); }
.feature-icon { font-size: 1.8rem; margin-bottom: 1.5rem; }
.feature-card h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.6; }

/* ─── PRIVACY BLOCK ─── */
.privacy-section { padding: 8rem 3rem; }
.privacy-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.privacy-visual {
    position: relative; display: flex; justify-content: center; align-items: center;
    min-height: 400px;
}

/* Background glow */
.priv-glow {
    position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(74,222,128,0.12) 0%, rgba(74,222,128,0.03) 50%, transparent 70%);
    animation: priv-pulse 4s ease-in-out infinite;
}
@keyframes priv-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Orbital rings */
.priv-ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(74,222,128,0.08);
}
.priv-ring-1 {
    width: 180px; height: 180px;
    border-color: rgba(74,222,128,0.15);
    animation: priv-spin 25s linear infinite;
}
.priv-ring-2 {
    width: 260px; height: 260px;
    border-color: rgba(74,222,128,0.08);
    border-style: dashed;
    animation: priv-spin 35s linear infinite reverse;
}
.priv-ring-3 {
    width: 340px; height: 340px;
    border-color: rgba(255,255,255,0.04);
    animation: priv-spin 50s linear infinite;
}
@keyframes priv-spin { 100% { transform: rotate(360deg); } }

/* Orbiting dots — each orbits independently via its own container */
.priv-orbit {
    position: absolute; width: 0; height: 0;
    border-radius: 50%;
}
.priv-orbit span {
    position: absolute; width: 6px; height: 6px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(74,222,128,0.6), 0 0 4px rgba(74,222,128,0.3);
}
.priv-orbit-1 {
    animation: priv-spin 12s linear infinite;
}
.priv-orbit-1 span { top: -90px; left: -3px; }

.priv-orbit-2 {
    animation: priv-spin 18s linear infinite reverse;
}
.priv-orbit-2 span {
    top: -130px; left: -3px;
    width: 5px; height: 5px; opacity: 0.7;
    background: #22d3ee;
    box-shadow: 0 0 12px rgba(34,211,238,0.6), 0 0 4px rgba(34,211,238,0.3);
}

.priv-orbit-3 {
    animation: priv-spin 24s linear infinite;
}
.priv-orbit-3 span {
    top: -170px; left: -3px;
    width: 4px; height: 4px; opacity: 0.5;
}

/* Center icon — stays fixed, subtle breathe */
.priv-icon {
    position: absolute; z-index: 2;
    display: flex; justify-content: center; align-items: center;
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(74,222,128,0.06);
    border: 1px solid rgba(74,222,128,0.15);
    backdrop-filter: blur(8px);
    animation: priv-icon-breathe 4s ease-in-out infinite;
}
@keyframes priv-icon-breathe {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.1); }
    50% { box-shadow: 0 0 30px 5px rgba(74,222,128,0.15); }
}
.privacy-text h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 2.5rem; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.privacy-text p { color: var(--text-mid); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.privacy-checks { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.privacy-checks li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-mid); font-size: 0.95rem; }
.privacy-checks li .check { color: var(--green); font-size: 1.1rem; }

/* ─── USE CASES ─── */
.usecases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 4rem; }
.usecase-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
    padding: 2.5rem; transition: all 0.4s; position: relative; overflow: hidden;
}
.usecase-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.usecase-card::before {
    content: ''; position: absolute; top: 0; right: 0; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.02), transparent);
    pointer-events: none;
}
.usecase-emoji { font-size: 2.5rem; margin-bottom: 1.5rem; }
.usecase-card h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.3rem; margin-bottom: 0.75rem; }
.usecase-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; }
.usecase-card .usecase-quote {
    margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
    font-style: italic; color: var(--text-dim); font-size: 0.85rem;
}

/* ─── HOW IT WORKS ─── */
.steps { margin-top: 4rem; }
.step {
    display: flex; align-items: flex-start; gap: 3rem; padding: 3rem 0;
    border-top: 1px solid var(--border);
    opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.step.visible { opacity: 1; transform: translateY(0); }
.step-num { font-family: 'Syne', sans-serif; font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.06); line-height: 1; min-width: 100px; }
.step-content h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.4rem; margin-bottom: 0.75rem; }
.step-content p { color: var(--text-mid); font-size: 1rem; line-height: 1.7; max-width: 450px; }

/* ─── KEYBOARD SHORTCUT VISUAL ─── */
.shortcut-section { padding: 6rem 3rem; }
.shortcut-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.shortcut-visual { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.key-combo { display: flex; gap: 0.75rem; align-items: center; }
.key {
    background: #1a1a1a; border: 1px solid #2a2a2a; border-bottom: 3px solid #2a2a2a;
    border-radius: 10px; padding: 1rem 1.5rem;
    font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.2rem;
    color: var(--text); min-width: 60px; text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, border-color 0.2s;
}
.key.active { border-color: var(--green); transform: translateY(2px); border-bottom-width: 1px; box-shadow: 0 0 20px rgba(74,222,128,0.15); }
.key-label { font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.key-plus { font-size: 1.5rem; color: var(--text-dim); }
.shortcut-modes { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.shortcut-mode {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.5rem;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
}
.shortcut-mode-icon { font-size: 1.5rem; margin-top: 0.1rem; }
.shortcut-mode h4 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.shortcut-mode p { color: var(--text-mid); font-size: 0.85rem; line-height: 1.5; }

/* ─── COMPARISON TABLE ─── */
.comparison-table { margin-top: 4rem; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.comparison-table table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 1.2rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--text-mid); background: var(--card-bg); letter-spacing: 0.03em; }
.comparison-table th:first-child { color: var(--text); }
.comparison-table td { font-size: 0.9rem; color: var(--text-mid); }
.comparison-table td:first-child { color: var(--text); font-weight: 400; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .highlight-col { background: rgba(74,222,128,0.03); color: var(--text)!important; }
.comparison-table th.highlight-col { color: var(--green)!important; }
.comp-yes { color: var(--green)!important; }
.comp-no { color: #666!important; }
.comp-partial { color: #f0c040!important; }

/* ─── SPECS ─── */
.specs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
.spec { text-align: center; padding: 2rem 1rem; }
.spec-value { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2.5rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.spec-label { font-size: 0.85rem; color: var(--text-mid); }

/* ─── LANGUAGES ─── */
.lang-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.lang-tag {
    padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.8rem; color: var(--text-mid); transition: all 0.3s;
}
.lang-tag:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.lang-tag.featured { border-color: rgba(74,222,128,0.3); color: var(--green); }

/* ─── PILL STYLES GALLERY ─── */
.pills-gallery { display: flex; gap: 1.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pill-demo {
    display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
    padding: 2.5rem 2rem; background: var(--card-bg); border: 1px solid var(--border);
    border-radius: 16px; min-width: 160px; min-height: 140px;
    transition: all 0.3s; justify-content: center;
}
.pill-demo:hover { border-color: rgba(255,255,255,0.12); background: var(--card-bg-hover); }
.pill-shape { position: relative; display: flex; align-items: center; justify-content: center; width: 100px; height: 80px; }
.pill-name { font-size: 0.8rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* Capsule — smooth breathing red pill with inner wave shimmer */
.pill-capsule {
    width: 84px; height: 32px; border-radius: 16px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #e53e3e, #c53030);
    box-shadow: 0 0 20px rgba(229,62,62,0.4), 0 0 40px rgba(229,62,62,0.15);
    animation: capsule-breathe 2.5s ease-in-out infinite;
}
.capsule-wave {
    position: absolute; top: 0; left: -100%; width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: capsule-shimmer 2.5s ease-in-out infinite;
}
@keyframes capsule-breathe {
    0%, 100% { box-shadow: 0 0 20px rgba(229,62,62,0.4), 0 0 40px rgba(229,62,62,0.15); transform: scale(1); }
    50% { box-shadow: 0 0 28px rgba(229,62,62,0.55), 0 0 56px rgba(229,62,62,0.2); transform: scale(1.04); }
}
@keyframes capsule-shimmer {
    0% { transform: translateX(-30%); }
    100% { transform: translateX(30%); }
}

/* Island Aura — MacBook notch with radiating aura glow */
.notch-shape {
    width: 90px; height: 18px; border-radius: 0 0 10px 10px;
    background: #000; position: relative; z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.notch-edge-line {
    position: absolute; width: 94px; height: 20px;
    border-radius: 0 0 11px 11px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    border: 1px solid rgba(255,36,15,0.35);
    border-top: none; z-index: 2;
    animation: notch-edge-pulse 1.5s ease-in-out infinite;
}
@keyframes notch-edge-pulse {
    0%, 100% { border-color: rgba(255,36,15,0.25); }
    50% { border-color: rgba(255,36,15,0.55); }
}
.notch-aura-glow {
    position: absolute; border-radius: 50%;
    top: 40%; left: 50%; transform: translate(-50%, -50%);
    filter: blur(12px); z-index: 1;
    animation: notch-aura-breathe 1.5s ease-in-out infinite;
}
.notch-glow-1 {
    width: 80px; height: 50px;
    background: rgba(255,36,15,0.35);
    filter: blur(14px);
}
.notch-glow-2 {
    width: 110px; height: 60px;
    background: rgba(255,36,15,0.15);
    filter: blur(28px);
    animation-delay: 0.2s;
}
.notch-glow-3 {
    width: 140px; height: 80px;
    background: rgba(255,36,15,0.06);
    filter: blur(40px);
    animation-delay: 0.4s;
}
@keyframes notch-aura-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Island Expand — expands from small seed with voice bars inside */
.island-expand {
    width: 120px; height: 40px; border-radius: 20px;
    background: linear-gradient(145deg, #111, #000);
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    animation: island-expand-grow 4s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
}
.island-expand::before {
    content: ''; position: absolute; inset: 0;
    border-radius: 20px; border: 1.5px solid rgba(229,62,62,0.2);
}
@keyframes island-expand-grow {
    0%, 10% { width: 60px; height: 6px; border-radius: 3px; opacity: 0.5; }
    25%, 85% { width: 120px; height: 40px; border-radius: 20px; opacity: 1; }
    95%, 100% { width: 60px; height: 6px; border-radius: 3px; opacity: 0.5; }
}
.island-expand-bars { display: flex; gap: 3px; align-items: center; height: 24px; }
.island-expand .ibar {
    width: 3px; border-radius: 2px;
    background: linear-gradient(180deg, #ff6b6b, #e53e3e);
    animation: ibar-wave 0.8s ease-in-out infinite alternate;
    box-shadow: 0 0 4px rgba(229,62,62,0.4);
}
@keyframes ibar-wave {
    0% { height: 4px; }
    100% { height: 22px; }
}

/* Edge Glow — thin light strip along top edge of screen */
.edge-glow-screen {
    width: 100px; height: 60px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(20,20,20,1) 0%, rgba(10,10,10,1) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.edge-glow-strip {
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 100px; height: 3px;
    border-radius: 0 0 2px 2px;
    overflow: hidden; z-index: 2;
}
.edge-glow-light {
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, #e53e3e 30%, #ff6b6b 50%, #e53e3e 70%, transparent 100%);
    box-shadow: 0 0 12px rgba(229,62,62,0.6), 0 4px 20px rgba(229,62,62,0.3);
    animation: edge-glow-sweep 2.5s ease-in-out infinite;
    border-radius: 2px;
}
@keyframes edge-glow-sweep {
    0%, 100% { opacity: 0.5; transform: scaleX(0.6); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ─── PROCESSING MODES ─── */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.mode-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
    padding: 2rem; transition: all 0.4s; position: relative;
}
.mode-card:hover { border-color: rgba(255,255,255,0.1); }
.mode-badge {
    display: inline-block; padding: 0.3rem 0.8rem; border-radius: var(--radius);
    font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 1rem;
}
.mode-badge.free { background: rgba(74,222,128,0.1); color: var(--green); }
.mode-badge.pro { background: rgba(147,130,255,0.1); color: #9382ff; }
.mode-card h3 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; }
.mode-card .mode-example {
    margin-top: 1.5rem; padding: 1rem; background: rgba(255,255,255,0.02);
    border-radius: 8px; font-size: 0.85rem; line-height: 1.6;
}
.mode-card .mode-example .before { color: var(--text-dim); text-decoration: line-through; }
.mode-card .mode-example .after { color: var(--text); }
.mode-card .mode-example .arrow { color: var(--text-dim); display: block; margin: 0.5rem 0; font-size: 0.75rem; }

/* ─── DOWNLOAD ─── */
.download-section { text-align: center; padding: 10rem 3rem; position: relative; }
.download-section::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.download-section .section-title { max-width: 700px; margin: 0 auto 1.5rem; }
.download-section .section-desc { max-width: 500px; margin: 0 auto 3rem; }
.download-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 2.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.system-req { margin-top: 2rem; font-size: 0.8rem; color: var(--text-dim); }

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--border); padding: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.85rem; margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer-col a { display: block; color: var(--text-dim); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-bottom span { font-size: 0.8rem; color: var(--text-dim); }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── GRAIN ─── */
body::after {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999; opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 256px;
}

/* ─── DIVIDER ─── */
.section-divider { max-width: 1200px; margin: 0 auto; height: 1px; background: var(--border); }

/* ─── BEFORE/AFTER INTERACTIVE DEMO ─── */
.demo-section { padding: 6rem 3rem; max-width: 900px; margin: 0 auto; }
.demo-section .section-header-center { margin-bottom: 3rem; }
.demo-tabs {
    display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem;
}
.demo-tab {
    padding: 0.6rem 1.5rem; border-radius: var(--radius);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-mid); font-size: 0.85rem; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.3s;
}
.demo-tab:hover { border-color: rgba(255,255,255,0.2); color: var(--text); }
.demo-tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.demo-window {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.demo-titlebar {
    display: flex; align-items: center; gap: 8px; padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border);
}
.demo-titlebar .dot { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.demo-titlebar .dot:nth-child(1) { background: #ff5f57; }
.demo-titlebar .dot:nth-child(2) { background: #febc2e; }
.demo-titlebar .dot:nth-child(3) { background: #28c840; }
.demo-titlebar span {
    flex: 1; text-align: center; font-size: 0.72rem; color: var(--text-dim);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.demo-body { padding: 2rem; }
.demo-before, .demo-after { padding: 1.2rem 1.5rem; border-radius: 10px; font-size: 0.95rem; line-height: 1.7; }
.demo-before {
    background: rgba(255,255,255,0.02); color: var(--text-dim);
    border-left: 3px solid rgba(255,255,255,0.06); margin-bottom: 1rem;
    position: relative;
}
.demo-before::before {
    content: 'YOU SAID'; position: absolute; top: -0.5rem; left: 1.5rem;
    font-size: 0.6rem; letter-spacing: 0.15em; color: var(--text-dim);
    background: var(--card-bg); padding: 0 0.5rem;
}
.demo-arrow {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    color: var(--green); font-size: 0.75rem; letter-spacing: 0.1em;
    padding: 0.5rem 0;
}
.demo-arrow svg { width: 16px; height: 16px; }
.demo-after {
    background: rgba(74,222,128,0.04); color: var(--text);
    border-left: 3px solid var(--green); position: relative;
}
.demo-after::before {
    content: 'METAWHISP OUTPUT'; position: absolute; top: -0.5rem; left: 1.5rem;
    font-size: 0.6rem; letter-spacing: 0.15em; color: var(--green);
    background: var(--card-bg); padding: 0 0.5rem;
}
.demo-panel { display: none; }
.demo-panel.active { display: block; animation: demoFadeIn 0.4s ease; }
@keyframes demoFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ─── APP COMPATIBILITY MARQUEE ─── */
.apps-section { padding: 5rem 0; overflow: hidden; }
.apps-section .section-header-center { padding: 0 3rem; margin-bottom: 3rem; }
.apps-marquee-track {
    display: flex; gap: 1rem; animation: marqueeScroll 40s linear infinite;
    width: max-content;
}
.apps-marquee-track:hover { animation-play-state: paused; }
.app-icon-card {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1.2rem; background: var(--card-bg);
    border: 1px solid var(--border); border-radius: 10px;
    white-space: nowrap; transition: all 0.3s; flex-shrink: 0;
}
.app-icon-card:hover { border-color: rgba(255,255,255,0.15); background: var(--card-bg-hover); }
.app-icon-card .app-ico {
    width: 24px; height: 24px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; background: rgba(255,255,255,0.05);
}
.app-icon-card .app-ico-img {
    width: 28px; height: 28px; border-radius: 6px;
    flex-shrink: 0;
}
.app-icon-card .app-name { font-size: 0.8rem; color: var(--text-mid); }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.apps-marquee-row { overflow: hidden; margin-bottom: 0.75rem; }
.apps-marquee-row:nth-child(2) .apps-marquee-track {
    animation-direction: reverse;
}

/* ─── SPEED COMPARISON ─── */
.speed-section { padding: 6rem 3rem; max-width: 900px; margin: 0 auto; text-align: center; }
.speed-visual { margin-top: 3rem; }
.speed-bar-group { display: flex; flex-direction: column; gap: 1.5rem; max-width: 600px; margin: 0 auto; }
.speed-bar-item { text-align: left; }
.speed-bar-label {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 0.5rem;
}
.speed-bar-label .name { font-size: 0.9rem; color: var(--text-mid); }
.speed-bar-label .wpm {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.1rem; color: var(--text-mid);
}
.speed-bar-bg {
    width: 100%; height: 40px; background: rgba(255,255,255,0.03);
    border-radius: 8px; overflow: hidden; position: relative;
}
.speed-bar-fill {
    height: 100%; border-radius: 8px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
    display: flex; align-items: center; justify-content: flex-end; padding-right: 1rem;
}
.speed-bar-fill.visible { width: var(--target-width); }
.speed-bar-fill.typing { background: rgba(255,255,255,0.06); }
.speed-bar-fill.voice {
    background: linear-gradient(90deg, var(--green), #22d3ee);
    box-shadow: 0 0 30px rgba(74,222,128,0.2);
}
.speed-bar-item.voice .speed-bar-label .name { color: var(--green); font-weight: 500; }
.speed-bar-item.voice .speed-bar-label .wpm { color: var(--green); font-size: 1.5rem; }
.speed-multiplier {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 2rem; padding: 0.6rem 1.5rem; border-radius: var(--radius);
    background: rgba(74,222,128,0.08); color: var(--green);
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
}

/* ─── TESTIMONIALS ─── */
.testimonials-section { padding: 8rem 3rem; max-width: 1200px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.testimonial-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
    padding: 2rem; transition: all 0.4s; display: flex; flex-direction: column;
}
.testimonial-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.testimonial-quote {
    flex: 1; font-size: 0.95rem; color: var(--text-mid); line-height: 1.7;
    font-style: italic; margin-bottom: 1.5rem;
}
.testimonial-quote::before { content: '\201C'; font-size: 2rem; color: var(--green); line-height: 0; vertical-align: -0.5rem; margin-right: 0.2rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(74,222,128,0.3), rgba(34,211,238,0.3));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--text);
}
.testimonial-info .name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--text); }
.testimonial-info .role { font-size: 0.75rem; color: var(--text-dim); }

/* ─── FAQ SECTION ─── */
.faq-section { padding: 8rem 3rem; max-width: 800px; margin: 0 auto; }
.faq-list { margin-top: 3rem; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 0; background: none; border: none;
    color: var(--text); font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.05rem; cursor: pointer; text-align: left; transition: color 0.3s;
}
.faq-question:hover { color: var(--green); }
.faq-question .faq-icon {
    width: 24px; height: 24px; position: relative; flex-shrink: 0; margin-left: 1rem;
}
.faq-question .faq-icon::before, .faq-question .faq-icon::after {
    content: ''; position: absolute; background: var(--text-mid);
    transition: transform 0.3s;
}
.faq-question .faq-icon::before { width: 14px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-question .faq-icon::after { width: 1.5px; height: 14px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-question .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding-bottom: 1.5rem; color: var(--text-mid); font-size: 0.95rem; line-height: 1.8;
}

/* ─── ASK AI ─── */
.ask-ai-section { padding: 4rem 3rem; max-width: 800px; margin: 0 auto; text-align: center; }
.ask-ai-section p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.5rem; }
.ask-ai-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.ask-ai-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.2rem; border-radius: var(--radius);
    border: 1px solid var(--border); background: transparent;
    color: var(--text-mid); font-size: 0.8rem; text-decoration: none;
    transition: all 0.3s; cursor: pointer;
}
.ask-ai-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--text); background: rgba(255,255,255,0.03); }

/* ─── PAGE HEADER (for inner pages) ─── */
.page-header {
    padding: 10rem 2rem 4rem; text-align: center; position: relative;
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}
.page-header h1 {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05;
    letter-spacing: -0.03em; margin-bottom: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.page-header p {
    font-size: 1.1rem; color: var(--text-mid); max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ─── CONTENT SECTION (for inner pages) ─── */
.content-section {
    padding: 4rem 3rem 8rem; max-width: 900px; margin: 0 auto;
}
.content-section h2 {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.8rem;
    letter-spacing: -0.02em; margin-bottom: 1rem; margin-top: 3rem;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p {
    color: var(--text-mid); font-size: 1rem; line-height: 1.8; margin-bottom: 1rem;
}
.content-section ul {
    list-style: none; margin-bottom: 1.5rem;
}
.content-section ul li {
    color: var(--text-mid); font-size: 0.95rem; line-height: 1.7;
    padding: 0.4rem 0; padding-left: 1.5rem; position: relative;
}
.content-section ul li::before {
    content: '\2713'; color: var(--green); position: absolute; left: 0;
}

/* ─── INSTALL STEPS ─── */
.install-steps {
    counter-reset: step;
    list-style: none; margin: 2rem 0;
}
.install-steps li {
    counter-increment: step;
    padding: 1.5rem; margin-bottom: 1rem;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
    color: var(--text-mid); font-size: 0.95rem; line-height: 1.7;
    position: relative; padding-left: 4rem;
}
.install-steps li::before {
    content: counter(step);
    position: absolute; left: 1.5rem; top: 1.5rem;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem;
    color: rgba(255,255,255,0.1);
}
.install-steps li strong { color: var(--text); }

/* ─── FEATURE HUB GRID ─── */
.feature-hub-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.feature-hub-card {
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
    padding: 2.5rem; transition: all 0.4s; position: relative; overflow: hidden;
}
.feature-hub-card:hover { border-color: rgba(255,255,255,0.1); transform: translateY(-4px); }
.feature-hub-card .feature-icon { font-size: 2rem; margin-bottom: 1.2rem; }
.feature-hub-card h3 {
    font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1.3rem; margin-bottom: 0.75rem;
}
.feature-hub-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.7; }

/* ─── 404 PAGE ─── */
.error-page {
    min-height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center; text-align: center;
    padding: 4rem 2rem;
}
.error-code {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(6rem, 15vw, 12rem); line-height: 1;
    letter-spacing: -0.04em; color: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
}
.error-page h1 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 2rem; margin-bottom: 1rem;
}
.error-page p {
    color: var(--text-mid); font-size: 1.05rem; margin-bottom: 2rem; max-width: 400px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 5rem 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    .usecases-grid { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .specs-row { grid-template-columns: repeat(2, 1fr); }
    .step { flex-direction: column; gap: 1rem; }
    .step-num { font-size: 2.5rem; min-width: auto; }
    .privacy-container { grid-template-columns: 1fr; }
    .shortcut-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    footer, .privacy-section, .shortcut-section, .showcase { padding-left: 1.5rem; padding-right: 1.5rem; }
    .hero-cta { flex-direction: column; }
    .download-section { padding: 6rem 1.5rem; }
    .comparison-table { overflow-x: auto; }
    .feature-hub-grid { grid-template-columns: 1fr; }
    .page-header { padding: 8rem 1.5rem 3rem; }
    .content-section { padding: 3rem 1.5rem 6rem; }
    .demo-section { padding: 4rem 1.5rem; }
    .demo-tabs { flex-wrap: wrap; }
    .speed-section { padding: 4rem 1.5rem; }
    .testimonials-section { padding: 5rem 1.5rem; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .faq-section { padding: 5rem 1.5rem; }
    .ask-ai-section { padding: 3rem 1.5rem; }
    .ask-ai-buttons { flex-direction: column; align-items: center; }
    .apps-section .section-header-center { padding: 0 1.5rem; }
}
