/* ============================================
   WALLA WALLA AUDIO — DEEP INDIGO PREMIUM THEME
   Inspired by Linear, Raycast, Vercel
   Inter + Space Grotesk
   Purple-blue accent · Deep indigo bg · Glassmorphism
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0f1026;
    --bg-elevated: #161838;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --surface: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text: #f0f0f8;
    --text-secondary: #b0b3cc;
    --text-muted: #6e7199;
    --accent: #8b5cf6;
    --accent-dim: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.12);
    --accent-glow-strong: rgba(139, 92, 246, 0.25);
    --accent-secondary: #06b6d4;
    --accent-secondary-glow: rgba(6, 182, 212, 0.12);
    --teal: #2dd4bf;
    --teal-dim: rgba(45, 212, 191, 0.10);
    --purple: #a78bfa;
    --purple-dim: rgba(167, 139, 250, 0.10);
    --red: #f87171;
    --green: #4ade80;
    --green-dim: rgba(74, 222, 128, 0.10);
    --blue: #60a5fa;
    --blue-dim: rgba(96, 165, 250, 0.10);
    --amber: #fbbf24;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
    --nav-height: 72px;
    --container: 1200px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    background-image: linear-gradient(160deg, #0f1026 0%, #1a1040 25%, #0f1026 50%, #101830 75%, #0f1026 100%);
    background-attachment: fixed;
    line-height: 1.65;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Accessible Focus States --- */
a:focus-visible,
button:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.nav-links a:focus-visible { border-radius: 0; }

/* --- Noise/Grain Overlay --- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px;
    mix-blend-mode: overlay;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1),
                transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
    background: rgba(15, 16, 38, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.nav-bear {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 12px var(--accent-glow-strong));
}
.nav-brand { color: var(--text); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links > a,
.nav-dropdown-trigger {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    letter-spacing: 0.01em;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--font-body);
}
.nav-links > a:not(.nav-cta)::after,
.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease-out;
    box-shadow: 0 0 8px var(--accent-glow-strong);
}
.nav-links > a:not(.nav-cta):hover::after,
.nav-dropdown-trigger:hover::after { width: 100%; }
.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-links > a.active::after { width: 100%; }

.nav-chevron {
    font-size: 0.7rem;
    margin-left: 3px;
    transition: transform 0.3s;
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background: rgba(22, 24, 56, 0.95);
    backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-sm);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-xs);
    transition: background 0.2s;
}
.dropdown-item:hover { background: rgba(255, 255, 255, 0.05); }
.dropdown-icon {
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.dropdown-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dropdown-item strong {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.dropdown-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-dim), var(--accent));
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 0 20px var(--accent-glow);
}
.nav-cta .btn-arrow {
    font-size: 0.9rem;
    font-weight: 800;
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 24px var(--accent-glow-strong), 0 0 40px var(--accent-glow);
}
.nav-cta::after { display: none !important; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 40%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-2 {
    position: absolute;
    bottom: -10%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.hero-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
}
.badge-pulse {
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    animation: pulse-dot 2.2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}
.badge-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-ring 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    80%, 100% { transform: scale(2.5); opacity: 0; }
}
@keyframes pulse-dot {
    0%, 50%, 100% { transform: scale(1); }
    25% { transform: scale(0.9); }
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-trust span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Buttons --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-dim), var(--accent));
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s;
    letter-spacing: 0.01em;
    box-shadow: 0 0 20px var(--accent-glow), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px var(--accent-glow-strong), 0 0 60px var(--accent-glow);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-arrow {
    font-size: 1.2rem;
    font-weight: 800;
}
.btn-ghost {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
    letter-spacing: 0.01em;
}
.btn-ghost:hover {
    color: var(--accent);
    transform: translateX(4px);
}
.btn-ghost:active { transform: translateX(0); }
.btn-xl {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* =========================================
   APP MOCKUP (Product Showcase)
   ========================================= */
.app-mockup {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
    backdrop-filter: blur(20px);
}
.app-mockup:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-glow);
}
.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}
.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
}
.mockup-dots span:first-child { background: #f87171; border-color: #f87171; }
.mockup-dots span:nth-child(2) { background: #fbbf24; border-color: #fbbf24; }
.mockup-dots span:last-child { background: #4ade80; border-color: #4ade80; }
.mockup-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}
.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mockup-mode-selector {
    display: flex;
    gap: 4px;
    background: var(--surface);
    border-radius: 8px;
    padding: 4px;
}
.mockup-mode {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.3s;
    cursor: default;
}
.mockup-mode.active {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 12px var(--accent-glow);
}
.mockup-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 64px;
    background: var(--surface);
    border-radius: 8px;
    padding: 12px;
}
.wave-bar {
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(to top, var(--accent-dim), var(--accent));
    transition: height 0.15s ease;
    box-shadow: 0 0 6px var(--accent-glow);
}
.mockup-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}
.mockup-status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 8px var(--accent-glow-strong);
}
.mockup-transcript {
    background: var(--surface);
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid var(--border);
}
.mockup-transcript-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}
.mockup-transcript p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.5;
}

/* --- Hero Stats --- */
.hero-stats {
    max-width: var(--container);
    margin: 80px auto 0;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(12px);
}
.stat:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}
.stat-unit {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* =========================================
   MARQUEE
   ========================================= */
.marquee {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    margin: 40px 0 0;
    background: rgba(255, 255, 255, 0.01);
}
.marquee-track {
    display: flex;
    width: max-content;
}
.marquee-content {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: marqueeScroll 30s linear infinite;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.dot {
    color: var(--accent);
    font-size: 0.5rem;
    filter: drop-shadow(0 0 4px var(--accent-glow));
}
.marquee:hover .marquee-content {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-head {
    margin-bottom: 72px;
}
.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding: 5px 14px;
    background: var(--accent-glow);
    border-radius: 100px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(8px);
}
.section-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 560px;
    line-height: 1.7;
}
.dim { color: var(--text-muted); }

/* =========================================
   FEATURES — Alternating Block Layout
   ========================================= */
.features {
    padding: 120px 0 80px;
    position: relative;
}
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-block:last-of-type { margin-bottom: 0; }
.feature-block-reverse { direction: rtl; }
.feature-block-reverse > * { direction: ltr; }
.feature-block-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: var(--accent-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    box-shadow: 0 0 20px var(--accent-glow);
}
.feature-block-text h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.feature-block-text > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 24px;
}
.feature-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feature-checks li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Speed Compare */
.speed-compare {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.speed-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.speed-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 90px;
    flex-shrink: 0;
}
.speed-track {
    flex: 1;
    height: 8px;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
}
.speed-fill {
    height: 100%;
    width: 0;
    background: var(--text-muted);
    border-radius: 8px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.speed-fill.animated { width: var(--target-width); }
.speed-fill-accent {
    background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-secondary));
    box-shadow: 0 0 12px var(--accent-glow);
}
.speed-val {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 70px;
    text-align: right;
}
.speed-val-accent { color: var(--accent); }

/* Feature Demo Card */
.feature-demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}
.demo-panel {
    padding: 20px;
    min-height: 80px;
}
.demo-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.demo-panel p {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
    min-height: 48px;
}
.demo-caret {
    display: inline-block;
    color: var(--accent);
    animation: caretBlink 1s step-end infinite;
    font-weight: 300;
}
@keyframes caretBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.demo-input { border-bottom: 1px solid var(--border); }
.demo-output .demo-label { color: var(--teal); }
.demo-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
}
.demo-bear { font-size: 1.2rem; }
.demo-arrow-icon { color: var(--accent); font-size: 1rem; }

/* Privacy Visual */
.privacy-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}
.privacy-shield {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.shield-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.4));
}
.privacy-shield span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.privacy-path {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--green-dim);
    width: 100%;
    justify-content: center;
}
.privacy-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border-radius: 8px;
    border: 1px solid var(--border);
    position: relative;
}
.privacy-node.local { border-color: rgba(74, 222, 128, 0.2); }
.privacy-node-icon { font-size: 1.2rem; }
.privacy-node span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
}
.privacy-arrow {
    color: var(--green);
    font-weight: 700;
    font-size: 1.2rem;
}
.privacy-blocked { opacity: 0.4; }
.privacy-node.blocked {
    border-color: rgba(248, 113, 113, 0.2);
    position: relative;
}
.blocked-x {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
}

/* Overlay Demo */
.overlay-demo {
    position: relative;
    padding: 20px;
}
.overlay-bg-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.overlay-bg-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
}
.overlay-bg-dots {
    display: flex;
    gap: 5px;
}
.overlay-bg-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
}
.overlay-bg-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.overlay-bg-line {
    height: 6px;
    background: var(--surface);
    border-radius: 4px;
}
.overlay-bg-line.short { width: 60%; }
.floating-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 200px;
    background: rgba(22, 24, 56, 0.92);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
    animation: floatOverlay 3s ease-in-out infinite;
    backdrop-filter: blur(16px);
}
@keyframes floatOverlay {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.floating-overlay-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.fo-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 6px var(--accent-glow-strong);
}
.fo-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.fo-text {
    font-size: 0.75rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
}
.fo-level {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 16px;
}
.fo-level span {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    animation: foWave 1s ease-in-out infinite;
    box-shadow: 0 0 4px var(--accent-glow);
}
.fo-level span:nth-child(1) { height: 4px; animation-delay: 0s; }
.fo-level span:nth-child(2) { height: 8px; animation-delay: 0.1s; }
.fo-level span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.fo-level span:nth-child(4) { height: 8px; animation-delay: 0.3s; }
.fo-level span:nth-child(5) { height: 4px; animation-delay: 0.4s; }
@keyframes foWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Shape Divider */
.shape-divider {
    position: relative;
    margin-top: 40px;
}
.shape-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

/* =========================================
   BENTO GRID
   ========================================= */
.bento-section {
    padding: 80px 0 120px;
    background: var(--bg-elevated);
    position: relative;
}
.bento-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
                                var(--accent-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}
.bento-wide { grid-column: span 2; }
.bento-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s, box-shadow 0.3s;
}
.bento-card:hover .bento-icon {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.bento-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.bento-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.bento-card kbd {
    display: inline-block;
    padding: 2px 8px;
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Code Demo */
.bento-code-demo {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.code-say {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
}
.code-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
}
.code-result {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
    font-size: 0.9rem;
    color: var(--teal);
    background: var(--teal-dim);
    padding: 6px 14px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(45, 212, 191, 0.15);
}

/* =========================================
   HOW IT WORKS / PROCESS
   ========================================= */
.process {
    padding: 120px 0;
    position: relative;
}
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}
.step-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4rem;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.step-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.step-keys {
    display: flex;
    align-items: center;
    gap: 8px;
}
.key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.05);
}
.key-plus { color: var(--text-muted); font-weight: 600; }
.step-wave {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 48px;
}
.step-wave span {
    width: 4px;
    background: var(--accent);
    border-radius: 4px;
    animation: waveAnim 1.2s ease-in-out infinite;
    box-shadow: 0 0 6px var(--accent-glow);
}
.step-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.step-wave span:nth-child(2) { height: 24px; animation-delay: 0.1s; }
.step-wave span:nth-child(3) { height: 36px; animation-delay: 0.2s; }
.step-wave span:nth-child(4) { height: 48px; animation-delay: 0.3s; }
.step-wave span:nth-child(5) { height: 36px; animation-delay: 0.4s; }
.step-wave span:nth-child(6) { height: 24px; animation-delay: 0.5s; }
.step-wave span:nth-child(7) { height: 12px; animation-delay: 0.6s; }
@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}
.step-paste {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100px;
}
.paste-line {
    height: 4px;
    background: var(--teal);
    border-radius: 4px;
    animation: pasteFade 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.3);
}
.paste-line:nth-child(2) { animation-delay: 0.2s; }
.paste-line.short { width: 60%; animation-delay: 0.4s; }
@keyframes pasteFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Step connector */
.step-connector {
    width: 80px;
    flex-shrink: 0;
    margin-top: 40px;
    overflow: hidden;
}
.step-connector svg {
    display: block;
    width: 100%;
    height: 20px;
}
.connector-fill {
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.5s ease;
}
.step-connector.visible .connector-fill {
    stroke-dashoffset: 0;
}
.step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================
   MODES
   ========================================= */
.modes {
    padding: 120px 0;
}
.modes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.mode-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(350px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
    pointer-events: none;
}
.mode-card:hover::before { opacity: 1; }
.mode-card > * { position: relative; z-index: 1; }
.mode-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}
.mode-card[data-mode="dictation"]:hover { border-color: rgba(96, 165, 250, 0.3); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(96, 165, 250, 0.1); }
.mode-card[data-mode="polish"]:hover { border-color: rgba(167, 139, 250, 0.3); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(167, 139, 250, 0.1); }
.mode-card[data-mode="code"]:hover { border-color: rgba(45, 212, 191, 0.3); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(45, 212, 191, 0.1); }
.mode-card[data-mode="command"]:hover { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.1); }
.mode-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.mode-keys {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.mode-keys kbd {
    display: inline-block;
    padding: 3px 10px;
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.mode-keys span { color: var(--text-muted); }
.mode-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 100px;
}
.mode-dict { background: var(--blue-dim); color: var(--blue); }
.mode-polish { background: var(--purple-dim); color: var(--purple); }
.mode-code { background: var(--teal-dim); color: var(--teal); }
.mode-cmd { background: var(--accent-glow); color: var(--accent); }
.mode-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.mode-card > p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.mode-example {
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}
.mode-in, .mode-out {
    padding: 12px 16px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.mode-in {
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.mode-in em { font-style: italic; }
.mode-out {
    color: var(--text);
    font-weight: 500;
}
.mode-out code {
    font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
    color: var(--teal);
    font-size: 0.85rem;
}

/* =========================================
   USE CASES
   ========================================= */
.use-cases {
    padding: 120px 0;
    background: var(--bg-elevated);
    position: relative;
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.use-case-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}
.use-case-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.use-case-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}
.use-case-card:hover .use-case-icon {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}
.use-case-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.use-case-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}
.use-case-stat {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.use-case-stat-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}
.use-case-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =========================================
   TECHNOLOGY
   ========================================= */
.technology {
    padding: 120px 0;
}
.tech-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
}
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s;
    backdrop-filter: blur(8px);
}
.tech-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.tech-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.tech-offline { background: var(--green-dim); color: var(--green); }
.tech-online { background: var(--blue-dim); color: var(--blue); }
.tech-icon { font-size: 2.5rem; margin-bottom: 16px; }
.tech-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 8px;
}
.tech-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.tech-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tech-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 0;
}
.tech-or {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.tech-or span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 100px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
    padding: 120px 0;
    background: var(--bg-elevated);
    position: relative;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s,
                box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.testimonial-stars {
    color: var(--amber);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.3));
}
.testimonial-card > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-dim), var(--accent-secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 12px var(--accent-glow);
}
.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =========================================
   FAQ
   ========================================= */
.faq {
    padding: 120px 0;
}
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
}
.faq-item:hover {
    border-color: var(--border-hover);
}
.faq-item.open {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 20px var(--accent-glow);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    text-align: left;
    transition: color 0.3s;
}
.faq-question:hover { color: var(--accent); }
.faq-toggle {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.3s;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================================
   DOWNLOAD CTA
   ========================================= */
.download {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}
.download-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, rgba(6, 182, 212, 0.08) 30%, transparent 70%);
    filter: blur(120px);
    pointer-events: none;
    animation: glowPulse 6s ease-in-out infinite;
}
.download-content {
    position: relative;
    z-index: 1;
}
.download-bear {
    font-size: 4rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px var(--accent-glow-strong));
    animation: bearFloat 4s ease-in-out infinite;
}
@keyframes bearFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.download h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.download p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}
.download-reqs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.download-reqs span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--surface);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.download-reqs span:hover {
    color: var(--text-secondary);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 72px 0 32px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand-col .footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 12px;
}
.footer-brand-col > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    transition: color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.footer-social a:hover {
    color: var(--text);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.footer-col h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 4px 0;
    transition: color 0.3s, transform 0.2s;
}
.footer-col a:hover {
    color: var(--text);
    transform: translateX(4px);
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 560px; }
    .feature-block, .feature-block-reverse { grid-template-columns: 1fr; gap: 40px; }
    .feature-block-reverse { direction: ltr; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-wide { grid-column: span 2; }
    .steps { flex-direction: column; align-items: center; gap: 16px; }
    .step-connector { width: 1px; height: 40px; transform: rotate(90deg); }
    .step { padding: 24px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    :root { --container: 100%; --nav-height: 64px; }
    .container { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        background: rgba(15, 16, 38, 0.95);
        backdrop-filter: blur(24px) saturate(1.5);
        padding: 20px 32px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }
    .nav-links.open .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: var(--surface);
        margin-top: 8px;
        box-shadow: none;
    }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-layout { padding: 0 20px; }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 20px;
    }
    .bento { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }
    .bento-code-demo { flex-direction: column; text-align: center; }
    .modes-grid { grid-template-columns: 1fr; }
    .tech-split { grid-template-columns: 1fr; }
    .tech-or { padding: 8px 0; }
    .use-cases-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 40px; }
    .section-head h2 { font-size: 1.8rem; }
    .features, .process, .modes, .technology, .testimonials, .use-cases, .faq {
        padding: 80px 0;
    }
    .bento-section { padding: 64px 0 80px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .download { padding: 80px 0; }
    .download h2 { font-size: 1.8rem; }
    .download-reqs { flex-direction: column; align-items: center; gap: 8px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .hero-trust { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat-num { font-size: 2rem; }
    .step-num { font-size: 3rem; }
    .feature-block-text h3 { font-size: 1.4rem; }
    .polish-compare { flex-direction: column; }
    .polish-arrow-col { padding: 8px 0; }
    .polish-transform-arrow { flex-direction: row; }
    .polish-arrow-icon { transform: rotate(90deg); }
}

/* ============================================
   SMART MODE SHOWCASE SECTION
   ============================================ */
.polish-showcase {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, #1a1040 50%, var(--bg) 100%);
}

.polish-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.polish-showcase .section-head kbd {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 2px 8px;
    font-family: var(--font-body);
    font-size: 0.85em;
    color: var(--purple);
}

.polish-examples {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 64px;
}

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

.polish-example:hover {
    border-color: rgba(167, 139, 250, 0.25);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(167, 139, 250, 0.08);
}

.polish-example-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    background: rgba(167, 139, 250, 0.06);
    border-bottom: 1px solid var(--border);
}

.polish-scenario-icon {
    font-size: 1.4rem;
}

.polish-scenario-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--purple);
    letter-spacing: -0.01em;
}

.polish-compare {
    display: flex;
    align-items: stretch;
}

.polish-panel {
    flex: 1;
    padding: 28px;
}

.polish-panel p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.polish-panel p:last-child {
    margin-bottom: 0;
}

.polish-before {
    background: rgba(248, 113, 113, 0.03);
}

.polish-before p {
    font-style: italic;
    color: var(--text-muted);
}

.polish-after {
    background: rgba(74, 222, 128, 0.03);
}

.polish-after p {
    color: var(--text);
}

.polish-panel-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.polish-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.polish-dot.red {
    background: var(--red);
    box-shadow: 0 0 8px rgba(248, 113, 113, 0.4);
}

.polish-dot.green {
    background: var(--green);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.polish-arrow-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    flex-shrink: 0;
}

.polish-transform-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.polish-bear {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.3));
}

.polish-arrow-icon {
    font-size: 1.5rem;
    color: var(--purple);
    font-weight: 700;
}

.polish-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.polish-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 6px;
}

.polish-list li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.polish-closing {
    text-align: center;
    margin-top: 64px;
}

.polish-closing p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Featured mode card (Smart) */
.mode-card-featured {
    border-color: rgba(167, 139, 250, 0.2);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.06);
}

.polish-cta-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s;
}

.polish-cta-link:hover {
    color: #c4b5fd;
}

/* Highlighted bento card */
.bento-card-highlight {
    border-color: rgba(167, 139, 250, 0.15);
    background: rgba(167, 139, 250, 0.04);
}

.bento-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s;
}

.bento-link:hover {
    color: #c4b5fd;
}

/* Tech badge for primary engine */
.tech-badge.tech-primary {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
}

/* Responsive */
@media (max-width: 768px) {
    .polish-compare {
        flex-direction: column;
    }

    .polish-arrow-col {
        padding: 12px 0;
    }

    .polish-transform-arrow {
        flex-direction: row;
        gap: 8px;
    }

    .polish-arrow-icon {
        transform: rotate(90deg);
    }

    .polish-showcase {
        padding: 80px 0;
    }

    .polish-examples {
        gap: 32px;
        margin-top: 40px;
    }

    .polish-panel {
        padding: 20px;
    }
}

/* ============================================
   SMART MODE PIPELINE VISUAL
   ============================================ */
.polish-pipeline-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 20px;
    position: relative;
}

.pipeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pipeline-step:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
}

.pipeline-icon {
    font-size: 2rem;
    line-height: 1;
}

.pipeline-step span:not(.pipeline-arrow-head) {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e0e0ff;
    white-space: nowrap;
}

.pipeline-subtext {
    font-size: 0.7rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.4) !important;
    white-space: nowrap;
}

.pipeline-connector {
    display: flex;
    align-items: center;
    padding: 0 4px;
    position: relative;
}

.pipeline-arrow-line {
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.6));
}

.pipeline-arrow-head {
    color: #8b5cf6;
    font-size: 1.2rem;
    line-height: 1;
    margin-left: -4px;
}

/* Pipeline step accent colors */
.pipeline-voice {
    border-color: rgba(99, 102, 241, 0.25);
    background: rgba(99, 102, 241, 0.1);
}

.pipeline-transcribe {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.1);
}

.pipeline-polish {
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.pipeline-output {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.1);
}

.pipeline-output .pipeline-icon {
    color: #10b981;
}

/* Pipeline responsive */
@media (max-width: 768px) {
    .polish-pipeline-visual {
        flex-direction: column;
        gap: 0;
        padding: 30px 20px;
    }

    .pipeline-step {
        min-width: 160px;
        flex-direction: row;
        gap: 12px;
        padding: 14px 20px;
    }

    .pipeline-connector {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .pipeline-arrow-line {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .pipeline-step {
        min-width: 140px;
        padding: 12px 16px;
    }

    .pipeline-icon {
        font-size: 1.5rem;
    }
}
