/* ═══════════════════════════════════════════════════
   Dokutrak — Landing Page
   Dark financial dashboard · Linear meets Stripe
   ═══════════════════════════════════════════════════ */
@import url('/static/tokens.css');

/* ─── Landing-specific tokens ────────────── */
:root {
    --nav-height: 72px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Grid background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

/* ─── Accessibility: reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* ─── Focus styles ───────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ─── Scroll animations ─────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── Layout ─────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ─── Nav (floating + blur) ──────────────────── */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 8, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.nav-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), #e08a10);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.nav-logo svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-inverse);
    stroke-width: 2;
    fill: none;
}

.nav-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

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

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent), #e09010);
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: var(--radius-sm);
    color: var(--text-inverse);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    box-shadow: var(--shadow-glow);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    box-shadow: 0 0 30px rgba(245,166,35,0.25);
    transform: translateY(-1px);
}

.lang-switch {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    cursor: pointer;
}

.lang-switch:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

/* Top glow */
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(245,166,35,0.08) 0%, transparent 65%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(245,166,35,0.15);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 32px;
    letter-spacing: 0.03em;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 .accent { color: var(--accent); }

.hero h1 .num {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent), #e09010);
    border: 1px solid rgba(245,166,35,0.3);
    border-radius: var(--radius-md);
    color: var(--text-inverse);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    box-shadow: var(--shadow-glow), 0 4px 20px rgba(245,166,35,0.2);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg), 0 8px 30px rgba(245,166,35,0.3);
}

.btn-hero:active { transform: translateY(0); }

.btn-ghost {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
    background: var(--bg-elevated);
}

.hero-trust {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hero-trust svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--text-muted);
    stroke-width: 2;
}

/* ─── DEMO PREVIEW ───────────────────────────── */
.demo-wrap {
    max-width: 900px;
    margin: 0 auto 120px;
    position: relative;
}

.demo-wrap::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(245,166,35,0.2), transparent 50%);
    z-index: -1;
}

.demo-window {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5), var(--shadow-glow-lg);
}

.demo-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }

.demo-url {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.demo-body { padding: 32px; }

/* Simulated scan progress */
.demo-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--success);
    margin-bottom: 20px;
    padding: 10px 14px;
    background: var(--success-dim);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(52,211,153,0.15);
}

.demo-progress svg {
    width: 16px;
    height: 16px;
    stroke: var(--success);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}

/* Simulated stats */
.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.demo-stat {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-align: center;
}

.demo-stat-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.demo-stat-val.accent { color: var(--accent); }

.demo-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Company breakdown */
.demo-companies {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.demo-company {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s;
    cursor: pointer;
}

.demo-company:hover { border-color: var(--accent); }

.demo-company-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-company-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-company-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.demo-company-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.demo-company-count {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.demo-company-right { text-align: right; }

.demo-company-amount {
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--accent);
    font-size: 0.9rem;
}

.demo-company-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.demo-cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: var(--bg-elevated);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: var(--radius-md);
}

.demo-cta-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.demo-cta-text strong { color: var(--text-primary); }

.demo-cta-price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

/* ─── SECTIONS ───────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 680px;
}

.section-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light) 20%, var(--border-light) 80%, transparent);
}

/* ─── How It Works (Steps) ───────────────────── */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.step {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.step:hover {
    border-color: rgba(245,166,35,0.3);
    box-shadow: var(--shadow-glow);
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    background: var(--accent-dim);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--success);
    background: var(--success-dim);
    padding: 3px 10px;
    border-radius: 100px;
    margin-top: 14px;
    letter-spacing: 0.03em;
}

.step-tag svg {
    width: 12px;
    height: 12px;
    stroke: var(--success);
    stroke-width: 2.5;
    fill: none;
}

/* ─── Proof ──────────────────────────────────── */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.proof-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
}

.proof-val {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 8px;
}

.proof-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.testimonial {
    margin-top: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    position: relative;
}

.testimonial::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 12px;
    left: 28px;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 20px;
}

.testimonial-author {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-left: 20px;
}

.testimonial-author strong {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ─── Security ───────────────────────────────── */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.security-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    text-align: center;
    transition: border-color 0.3s;
    cursor: pointer;
}

.security-card:hover {
    border-color: var(--border-light);
}

.security-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    background: var(--accent-dim);
    border-radius: var(--radius-md);
}

.security-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    stroke-width: 2;
    fill: none;
}

.security-title {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.security-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Guarantee banner */
.guarantee-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    padding: 16px 28px;
    background: var(--success-dim);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    color: var(--success);
}

.guarantee-banner strong {
    color: var(--text-primary);
}

.guarantee-banner svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

/* ─── Pricing ────────────────────────────────── */
.pricing-section {
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0 32px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-lg);
    position: relative;
}

.pricing-card.featured::before {
    content: attr(data-popular-label);
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-inverse);
    background: var(--accent);
    padding: 3px 14px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-price .currency {
    font-size: 1.4rem;
    vertical-align: super;
    color: var(--text-secondary);
}

.pricing-price .price-cents {
    font-size: 1.4rem;
}

.pricing-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features .check-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.pricing-features .check-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    stroke-width: 2.5;
    fill: none;
}

.pricing-features .dash-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: var(--bg-elevated);
    color: var(--text-primary);
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-btn:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured .pricing-btn {
    background: linear-gradient(135deg, var(--accent), #e09010);
    border-color: rgba(245,166,35,0.3);
    color: var(--text-inverse);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured .pricing-btn:hover {
    box-shadow: 0 0 30px rgba(245,166,35,0.3);
}

.pricing-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-anchor {
    margin-top: 24px;
    padding: 16px 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: inline-block;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.pricing-anchor strong {
    color: var(--text-primary);
}

/* ─── Comparison ─────────────────────────────── */
.compare-table-wrap {
    margin-top: 48px;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 600px;
}

.compare-table th {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 20px;
    text-align: left;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.compare-table th:first-child { width: 200px; }

.compare-table th.highlight {
    color: var(--accent);
    background: rgba(245,166,35,0.06);
}

.compare-table td {
    font-size: 0.85rem;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.compare-table td.highlight {
    color: var(--text-primary);
    font-weight: 500;
    background: rgba(245,166,35,0.03);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table .price-cell { font-family: var(--font-mono); }
.compare-table .winner { color: var(--accent); font-weight: 600; }

/* ─── FAQ ────────────────────────────────────── */
.faq-list {
    max-width: 720px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s var(--ease-out);
}

.faq-chevron svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer-inner {
    padding-bottom: 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── Final CTA ──────────────────────────────── */
.final-cta {
    text-align: center;
    padding: 100px 0 120px;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245,166,35,0.06) 0%, transparent 65%);
    pointer-events: none;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.final-cta-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-trust {
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ─── Footer ─────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
}

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

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero { padding: 100px 0 40px; }
    .section { padding: 60px 0; }
    .steps { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .demo-stats { grid-template-columns: 1fr; }
    .demo-body { padding: 20px; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer { flex-direction: column; gap: 12px; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .compare-table-wrap { margin-left: -20px; margin-right: -20px; padding: 0 20px; }

    /* Mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 28px;
        gap: 0;
    }

    .nav-links.open { display: flex; }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child { border-bottom: none; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav-toggle { display: block; }
    .nav-cta { display: none; }
}

@media (max-width: 480px) {
    .security-grid { grid-template-columns: 1fr; }
}
