:root {
    --bg-base: #050505;
    --bg-elev: #0c0c0c;
    --bg-card: #111111;
    --border: #1f1f1f;
    --border-bright: #2a2a2a;
    --text: #f5f5f5;
    --text-dim: #a1a1aa;
    --text-faint: #71717a;
    --accent: #22ff88;
    --accent-deep: #16a34a;
    --accent-glow: rgba(34, 255, 136, 0.18);
    --danger: #ef4444;
    --radius: 6px;
    --maxw: 1180px;
    --maxw-narrow: 760px;
}

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

html { scroll-behavior: smooth; }

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

.mono { font-family: 'JetBrains Mono', 'Consolas', monospace; }

a { color: inherit; text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent); }

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

/* Faint grid background that fades from top */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(34, 255, 136, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 255, 136, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.logo-text { color: var(--text); }
.logo:hover .logo-text { color: var(--text); }

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-glow);
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.header-cta { font-size: 14px; }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-login {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.15s ease;
}
.header-login:hover { color: var(--text); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.05s, background 0.15s, box-shadow 0.15s, color 0.15s;
    white-space: nowrap;
}

.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent);
    color: #052012;
    box-shadow: 0 0 0 0 var(--accent-glow), 0 1px 0 rgba(255,255,255,0.2) inset;
}

.btn-primary:hover {
    background: #44ff9c;
    color: #042818;
    box-shadow: 0 0 24px var(--accent-glow);
}

.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-bright);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== Hero ===== */
.hero {
    padding: 88px 0 96px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-inner {
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    background: rgba(34, 255, 136, 0.06);
    border: 1px solid rgba(34, 255, 136, 0.18);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 28px;
}

.dot-pulse {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.55;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.stat-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-num-suffix { font-size: 18px; color: var(--text-dim); }

.stat-label {
    font-size: 13px;
    color: var(--text-faint);
    margin-top: 4px;
}

/* ===== Section base ===== */
section { padding: 96px 0; }

.section-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    font-size: 17px;
    color: var(--text-dim);
    max-width: 580px;
    margin: 0 auto 56px;
}

/* ===== Pain section ===== */
.pain { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 26px;
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.pain-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.pain-num {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.pain-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
}

.pain-card em { color: var(--accent); font-style: italic; }

/* ===== Solution ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.sol-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 32px 26px;
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s;
}

.sol-card:hover {
    border-color: rgba(34, 255, 136, 0.4);
    transform: translateY(-2px);
}

.sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(34, 255, 136, 0.08);
    border: 1px solid rgba(34, 255, 136, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.sol-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sol-card p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
}

/* ===== How it works ===== */
.how { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 780px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 28px;
    border-radius: var(--radius);
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(34, 255, 136, 0.08);
    border: 1px solid rgba(34, 255, 136, 0.25);
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 6px;
}

.step p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.55;
}

/* ===== Proof ===== */
.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

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

.proof-stat-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.proof-stat-label {
    font-size: 13px;
    color: var(--text-faint);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.proof-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 640px;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--border-bright);
    background: var(--bg-card);
}

.proof-img-placeholder {
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    border: 1px dashed var(--border-bright);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 24px;
}

.proof-img-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(34, 255, 136, 0.08);
    border: 1px solid rgba(34, 255, 136, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
}

.proof-img-hint {
    color: var(--text-faint);
    font-size: 14px;
}

.disclaimer-small {
    text-align: center;
    color: var(--text-faint);
    font-size: 13px;
    max-width: 540px;
    margin: 0 auto;
}

/* ===== Pricing ===== */
.price-card {
    max-width: 460px;
    margin: 0 auto;
    position: relative;
}

.price-card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent), transparent 50%, var(--accent));
    border-radius: calc(var(--radius) + 2px);
    opacity: 0.4;
    filter: blur(20px);
    pointer-events: none;
}

.price-card-inner {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(34, 255, 136, 0.3);
    padding: 40px 36px;
    border-radius: var(--radius);
}

.price-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    background: rgba(34, 255, 136, 0.08);
    border: 1px solid rgba(34, 255, 136, 0.25);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.price-amount {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    margin-right: 2px;
}

.price-num {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: var(--text-dim);
    margin-left: 4px;
}

.price-tagline {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 28px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 14.5px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

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

.price-fineprint {
    text-align: center;
    font-size: 12px;
    color: var(--text-faint);
    margin-top: 14px;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] { border-color: var(--border-bright); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 20px;
    color: var(--text-faint);
    transition: transform 0.2s, color 0.2s;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-body {
    padding: 0 24px 22px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

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

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
}

.final-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 36px;
    position: relative;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-base);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo { margin-bottom: 8px; }

.footer-tagline {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-cols {
    display: flex;
    gap: 64px;
    justify-content: flex-end;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h4 {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 14px;
}

.footer-disclaimer {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border);
    margin-top: 32px;
    padding-top: 24px;
    font-size: 12px;
    color: var(--text-faint);
    line-height: 1.6;
}

.footer-disclaimer strong { color: var(--text-dim); }

.footer-copy {
    margin-top: 12px;
    font-size: 12px;
}

/* ===== Reveal on scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav { display: none; }
    .header-inner { height: 56px; }
    .hero { padding: 60px 0 72px; }
    section { padding: 64px 0; }
    .hero-stats { gap: 32px; }
    .stat-num { font-size: 26px; }
    .price-card-inner { padding: 32px 24px; }
    .price-num { font-size: 56px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-cols { gap: 40px; justify-content: flex-start; }
    .step { flex-direction: column; gap: 12px; }
    .final-cta { padding: 80px 0; }
}
