:root {
    --bg: #050505;
    --bg-card: #0a0a0a;
    --bg-elevated: #111111;
    --bg-surface: #0d0d0d;
    --text: #f0f0f0;
    --text-dim: #999999;
    --text-muted: #555555;
    --accent: #22c55e;
    --accent-dim: #16a34a;
    --accent-glow: rgba(34, 197, 94, 0.35);
    --red: #ef4444;
    --blue: #3b82f6;
    --amber: #f59e0b;
    --border: #1a1a1a;
    --border-light: #2a2a2a;
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.6;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ==================== NAV ==================== */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 0; background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; gap: 16px; }
.logo {
    display: flex; align-items: center; gap: 10px; font-weight: 700;
    font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none;
    color: var(--text); flex-shrink: 0;
}
.logo-icon { color: var(--accent); font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-link {
    color: var(--text-muted); text-decoration: none; font-size: 0.8125rem;
    font-weight: 500; transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-demo { color: var(--text-dim); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-cta {
    background: var(--accent); color: var(--bg); padding: 9px 20px;
    font-size: 0.8125rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--accent-dim); }

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: var(--bg); padding: 16px 36px;
    font-size: 1rem; font-weight: 700; text-decoration: none; border: none;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
    border-radius: var(--radius); letter-spacing: 0.02em;
}
.btn-primary:hover {
    background: var(--accent-dim); transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--accent-glow);
}
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; }
.btn-outline {
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
    background: transparent; border: 1px solid var(--accent); color: var(--accent);
    padding: 14px 28px; font-size: 1rem; font-weight: 600; text-decoration: none;
    cursor: pointer; transition: all 0.2s; font-family: inherit; width: 100%;
    border-radius: var(--radius);
}
.btn-outline:hover { background: rgba(34, 197, 94, 0.1); }

/* ==================== HERO ==================== */
.hero { padding: 120px 0 60px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 3.25rem; font-weight: 700; line-height: 1.1;
    letter-spacing: -0.04em; margin-bottom: 20px;
}
.highlight { color: var(--accent); }
.hero-sub {
    font-size: 1.0625rem; color: var(--text-dim); line-height: 1.7;
    margin-bottom: 28px; max-width: 480px;
}
.hero-cta-btn { margin-bottom: 20px; }
.hero-checks { display: flex; flex-direction: column; gap: 6px; }
.hero-check {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8125rem; color: var(--text-dim);
}
.check-icon { color: var(--accent); font-weight: 700; font-size: 0.75rem; }
.hero-glow {
    position: absolute; top: 5%; right: -10%;
    width: 600px; height: 500px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.3; pointer-events: none; filter: blur(80px);
}

/* HERO ANIMATED CARDS */
.hero-visual {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; gap: 14px;
}
.hero-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px 20px;
    opacity: 0; transform: translateX(60px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.hero-card.visible {
    opacity: 1; transform: translateX(0);
}
.hc-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.hc-dot {
    width: 8px; height: 8px; border-radius: 50%;
}
.hc-dot.hot { background: var(--amber); }
.hc-dot.blue { background: var(--blue); }
.hc-dot.green { background: var(--accent); }
.hc-label {
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--text-muted);
}
/* Score card */
.hc-lead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hc-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 600; flex-shrink: 0;
}
.hc-name { font-size: 0.875rem; font-weight: 600; }
.hc-email { font-size: 0.6875rem; color: var(--text-muted); }
.hc-score {
    margin-left: auto; font-size: 1.75rem; font-weight: 700;
    color: var(--accent); line-height: 1;
}
.hc-bar {
    height: 4px; background: var(--border-light); border-radius: 2px;
    overflow: hidden; margin-bottom: 8px;
}
.hc-bar-fill {
    height: 100%; background: var(--accent); border-radius: 2px;
    width: 0; transition: width 1s ease 0.8s;
}
.hero-card.visible .hc-bar-fill { width: 94%; }
.hc-tier { font-size: 0.75rem; color: var(--amber); font-weight: 600; }

/* Attribution card */
.hc-journey {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    margin-bottom: 8px;
}
.hc-step {
    background: var(--bg-elevated); padding: 4px 10px; border-radius: 4px;
    font-size: 0.75rem; border: 1px solid var(--border);
}
.hc-step.active {
    background: var(--accent); border-color: var(--accent);
    color: var(--bg); font-weight: 600;
}
.hc-arrow { font-size: 0.625rem; color: var(--text-muted); }
.hc-meta { font-size: 0.6875rem; color: var(--text-muted); }

/* AI card */
.hc-insight {
    font-size: 0.8125rem; color: var(--text-dim); line-height: 1.6;
    margin-bottom: 10px;
}
.hc-insight strong { color: var(--text); }
.hc-action {
    font-size: 0.75rem; color: var(--accent); font-weight: 600; cursor: pointer;
}

/* ==================== PROOF BAR ==================== */
.proof-bar {
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 28px 0; background: var(--bg-card);
}
.proof-bar-inner {
    display: flex; align-items: center; justify-content: center; gap: 40px;
}
.proof-item { text-align: center; }
.proof-stat {
    font-size: 1.5rem; font-weight: 700; color: var(--accent);
    display: block; line-height: 1.2;
}
.proof-label { font-size: 0.75rem; color: var(--text-muted); }
.proof-divider { width: 1px; height: 36px; background: var(--border); }

/* ==================== PROBLEM LINE ==================== */
.problem-line { padding: 48px 0; text-align: center; }
.problem-line p {
    font-size: 1.125rem; color: var(--text-dim); max-width: 680px;
    margin: 0 auto; line-height: 1.7;
}
.problem-line strong { color: var(--text); }

/* ==================== VALUE PROPS ==================== */
.features { padding: 40px 0 60px; }
.vp-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; margin-bottom: 20px; overflow: hidden;
    transition: border-color 0.2s;
}
.vp-card:hover { border-color: var(--border-light); }
.vp-row {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px;
    align-items: center; padding: 40px;
}
.vp-row.reverse { grid-template-columns: 1.2fr 1fr; }
.vp-row.reverse .vp-image { order: 1; }
.vp-image img {
    width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
    display: block;
}
.vp-content { position: relative; }
.vp-content h2 {
    font-size: 1.75rem; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.02em; margin-bottom: 12px;
}
.text-accent { color: var(--accent); }
.vp-desc {
    font-size: 0.9375rem; color: var(--text-dim); line-height: 1.7;
    margin-bottom: 20px;
}
.vp-cta {
    display: inline-block; background: transparent; border: 1px solid var(--border-light);
    color: var(--text); padding: 10px 24px; border-radius: var(--radius);
    font-size: 0.8125rem; font-weight: 600; text-decoration: none;
    transition: all 0.2s;
}
.vp-cta:hover { border-color: var(--accent); color: var(--accent); }
.vp-expand {
    position: absolute; bottom: 0; right: 0;
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; padding: 8px; transition: color 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.vp-expand:hover { color: var(--accent); }
.vp-card.expanded .vp-expand svg path:last-child { display: none; }

/* Expanded content */
.vp-expanded {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: var(--bg-surface);
}
.vp-card.expanded .vp-expanded {
    max-height: 300px;
}
.vp-details {
    padding: 20px 40px 28px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px;
}
.vp-detail {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.875rem; color: var(--text-dim); padding: 4px 0;
}
.vp-detail .check { color: var(--accent); font-weight: 700; flex-shrink: 0; font-size: 0.8125rem; }

/* ==================== COMPARISON ==================== */
.comparison { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-eyebrow {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.15em; color: var(--accent); margin-bottom: 12px;
}
.section-header h2 {
    font-size: 2.25rem; font-weight: 700; line-height: 1.15;
    letter-spacing: -0.03em;
}
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-panel { display: flex; flex-direction: column; gap: 12px; }
.compare-badge {
    display: inline-block; padding: 6px 14px; border-radius: 6px;
    font-size: 0.75rem; font-weight: 600; width: fit-content;
}
.compare-badge.bad { background: rgba(239,68,68,0.15); color: var(--red); }
.compare-badge.good { background: rgba(34,197,94,0.15); color: var(--accent); }
.compare-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
}
.before .compare-card { border-color: rgba(239,68,68,0.3); }
.after .compare-card { border-color: rgba(34,197,94,0.3); }
.compare-profile {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.compare-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8125rem; font-weight: 600; flex-shrink: 0;
}
.compare-name { font-size: 0.9375rem; font-weight: 600; }
.compare-email { font-size: 0.6875rem; color: var(--text-muted); }
.compare-tag {
    margin-left: auto; font-size: 0.6875rem; padding: 4px 10px;
    border-radius: 4px; font-weight: 600;
}
.compare-tag.subscribed { background: rgba(34,197,94,0.15); color: var(--accent); }
.compare-tag.hot { background: rgba(245,158,11,0.15); color: var(--amber); }
.compare-props { padding: 12px 20px; }
.compare-prop {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    font-size: 0.8125rem;
}
.compare-prop:last-child { border-bottom: none; }
.compare-prop span:first-child { color: var(--text-muted); }
.compare-prop .dim { color: var(--text-muted); font-style: italic; }
.compare-prop .code {
    font-family: 'SF Mono', Monaco, monospace; font-size: 0.75rem;
    background: var(--bg-elevated); padding: 2px 8px; border-radius: 4px;
}
.compare-prop .good { color: var(--accent); font-weight: 600; }
.compare-prop .bold { font-weight: 700; }
.compare-empty {
    padding: 20px; background: rgba(239,68,68,0.05);
    border-top: 1px solid rgba(239,68,68,0.15); text-align: center;
}
.compare-empty p { font-size: 0.8125rem; color: var(--red); margin: 4px 0; font-weight: 500; }
.compare-journey {
    padding: 14px 20px; background: rgba(34,197,94,0.05);
    border-top: 1px solid rgba(34,197,94,0.15);
}
.compare-journey-label {
    font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px;
}
.compare-journey-path {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 0.75rem;
}
.compare-journey-path span:not(.arr) {
    background: var(--bg-elevated); padding: 3px 8px; border-radius: 4px;
    border: 1px solid var(--border);
}
.compare-journey-path .arr { color: var(--text-muted); font-size: 0.625rem; }
.compare-journey-path .current {
    background: var(--accent); border-color: var(--accent);
    color: var(--bg); font-weight: 600;
}

/* ==================== SETUP BAR ==================== */
.setup-bar {
    padding: 40px 0; border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border); background: var(--bg-card);
}
.setup-bar-inner {
    display: flex; align-items: center; gap: 40px; justify-content: space-between;
}
.setup-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.setup-info p { font-size: 0.875rem; color: var(--text-dim); }
.platform-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    padding: 6px 14px; background: var(--bg); border: 1px solid var(--border);
    border-radius: 6px; font-size: 0.75rem; font-weight: 500; color: var(--text-muted);
}
.pill.built { border-color: var(--accent); color: var(--accent); }

/* ==================== PRICING ==================== */
.pricing { padding: 80px 0; }
.section-header-center { text-align: center; margin-bottom: 48px; }
.section-header-center .section-eyebrow { display: block; }
.section-header-center h2 {
    font-size: 2.25rem; font-weight: 700; line-height: 1.15;
    letter-spacing: -0.03em;
}
.pricing-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    max-width: 740px; margin: 0 auto;
}
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 36px 28px; border-radius: 12px; position: relative;
    display: flex; flex-direction: column;
}
.pricing-card.paid { border-color: var(--accent); }
.pricing-badge {
    position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--bg); padding: 4px 16px;
    font-size: 0.6875rem; font-weight: 700; border-radius: 10px; white-space: nowrap;
    text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-tier {
    font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px;
}
.pricing-price { font-size: 2.75rem; font-weight: 700; margin-bottom: 6px; }
.pricing-unit { font-size: 0.9375rem; font-weight: 400; color: var(--text-dim); }
.pricing-desc { font-size: 0.875rem; color: var(--text-dim); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 24px; flex: 1; }
.pricing-features li {
    padding: 6px 0; font-size: 0.875rem; color: var(--text-dim);
    border-bottom: 1px solid var(--border); padding-left: 22px; position: relative;
}
.pricing-features li::before {
    content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
    font-size: 0.75rem;
}
.pricing-guarantee { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 10px; }
.pricing-math { text-align: center; margin-top: 32px; font-size: 0.875rem; color: var(--text-dim); }
.pricing-math strong { color: var(--accent); }
.pricing-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.pricing-demo { text-align: center; margin-top: 24px; font-size: 0.875rem; color: var(--text-muted); }
.pricing-demo a { color: var(--accent); text-decoration: none; font-weight: 500; }
.pricing-demo a:hover { text-decoration: underline; }

/* ==================== FINAL CTA ==================== */
.final-cta { padding: 100px 0; text-align: center; }
.final-cta h2 {
    font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em;
    margin-bottom: 16px; line-height: 1.15;
}
.final-cta p {
    font-size: 1.0625rem; color: var(--text-dim); max-width: 520px;
    margin: 0 auto 32px;
}

/* ==================== FOOTER ==================== */
footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8125rem; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

/* ==================== ANIMATIONS ==================== */
.fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-visual { max-width: 500px; }
    .vp-row, .vp-row.reverse { grid-template-columns: 1fr; gap: 24px; }
    .vp-row.reverse .vp-image { order: 1; }
    .vp-details { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .proof-bar-inner { flex-wrap: wrap; gap: 20px; }
    .proof-divider { display: none; }
    .setup-bar-inner { flex-direction: column; text-align: center; gap: 20px; }
    .platform-pills { justify-content: center; }
    .nav-links { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 48px; }
    .hero h1 { font-size: 2rem; }
    .section-header h2, .section-header-center h2 { font-size: 1.75rem; }
    .vp-row { padding: 24px; }
    .vp-content h2 { font-size: 1.375rem; }
    .vp-details { padding: 16px 24px 20px; }
    .btn-primary { width: 100%; justify-content: center; padding: 14px 24px; }
    .nav-demo { display: none; }
    .nav-cta { padding: 7px 14px; font-size: 0.75rem; }
    .logo span { display: none; }
    .final-cta h2 { font-size: 2rem; }
    .pricing-card { padding: 28px 20px; }
    .pricing-price { font-size: 2.25rem; }
    .compare-journey-path { gap: 4px; }
    .compare-journey-path span:not(.arr) { font-size: 0.6875rem; padding: 2px 6px; }
}
