:root {
    --primary: #6C3483;
    --primary-l: #A569BD;
    --secondary: #8E44AD;
    --gold: #F9E79F;
    --gold-dark: #D4AC0D;
    --bg: #08060E;
    --bg-2: #110C1C;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.14);
    --text: #F5F1FA;
    --muted: #A69FB8;
    --light: #6B6582;

    /* Spacing scale (4/8px grid) - use these instead of ad-hoc px so spacing
       stays consistent across components. */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Geist', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* AURORA BACKGROUND - DARK */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, var(--bg-2) 0%, var(--bg) 50%);
}
.aurora::before, .aurora::after {
    content: '';
    position: absolute;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    filter: blur(140px);
    animation: drift 18s ease-in-out infinite;
}
.aurora::before {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 65%);
    top: -30vw; left: -20vw;
    opacity: 0.55;
}
.aurora::after {
    background: radial-gradient(circle, var(--gold-dark) 0%, transparent 65%);
    bottom: -30vw; right: -20vw;
    animation-delay: -9s;
    opacity: 0.3;
}
.aurora .blob3 {
    position: absolute;
    width: 55vw;
    height: 55vw;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
    top: 30%; left: 40%;
    animation: drift 24s ease-in-out infinite -6s;
}
.aurora::before, .aurora::after, .aurora .blob3 { will-change: transform; }

.grain {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(6vw, -4vw) scale(1.1); }
    66% { transform: translate(-5vw, 6vw) scale(0.9); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249, 231, 159, 0), 0 20px 60px -10px rgba(108, 52, 131, 0.6); }
    50% { box-shadow: 0 0 40px 0 rgba(249, 231, 159, 0.15), 0 30px 80px -10px rgba(108, 52, 131, 0.8); }
}
.fade-up { animation: fadeUp .9s ease both; }
.fade-up-2 { animation: fadeUp .9s .1s ease both; }
.fade-up-3 { animation: fadeUp .9s .2s ease both; }
.fade-up-4 { animation: fadeUp .9s .3s ease both; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(8, 6, 14, .6);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    /* .container + .nav-inner share the same element, so this padding shorthand
       overrides .container's. Keep horizontal at 32px to match .container. */
    padding: 16px 32px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg) !important;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px !important;
    font-weight: 700 !important;
    /* strip inherited 1.5 line-height so the pill doesn't make the header taller than the logo */
    line-height: 1;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(249, 231, 159, 0.25);
}
.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 231, 159, 0.4);
}

/* HERO */
.hero { padding: 100px 0 80px; text-align: center; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 32px;
}
.pill-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold);
    animation: shimmer 2s ease infinite;
}
h1 {
    font-size: clamp(48px, 8vw, 104px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
    color: var(--text);
}
h1 .grad {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}
.lead {
    font-size: 20px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.55;
}

.cta-row {
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(249, 231, 159, 0.25);
    position: relative;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(249, 231, 159, 0.45);
}
.btn-ghost {
    background: var(--surface);
    color: var(--text);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-2);
}
.btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--primary-l);
}

.hero-sub {
    margin-top: 24px;
    font-size: 13px;
    color: var(--light);
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-sub span::before {
    content: '✓';
    color: var(--gold);
    margin-right: 6px;
    font-weight: 700;
}

/* GLASS CARD HERO */
.hero-card {
    margin: 80px auto 0;
    max-width: 920px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid var(--border-2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 24px;
    box-shadow: 0 30px 80px -15px rgba(108, 52, 131, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeUp 1.1s .4s ease both;
}
.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat { text-align: left; padding: 8px 0; }
.stat-num {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* SECTION */
section { padding: 60px 0; position: relative; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.section-h {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
    max-width: 760px;
    color: var(--text);
}
.section-h em { font-style: normal; color: var(--primary-l); }
.section-lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 64px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(108, 52, 131, .18) 100%);
    opacity: 0;
    transition: opacity .3s;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(249, 231, 159, 0.3), transparent);
    opacity: 0;
    transition: opacity .3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-2);
    box-shadow: 0 20px 60px -10px rgba(108, 52, 131, 0.4);
}
.feature-card:hover::before, .feature-card:hover::after { opacity: 1; }
.feature-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    box-shadow: 0 8px 20px -4px rgba(108, 52, 131, 0.5);
}
.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    color: #fff;
}
.feature-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--text);
    position: relative;
}
.feature-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    position: relative;
}

/* SHOWCASE */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.showcase-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}
.phone-frame {
    background: linear-gradient(145deg, #2a2434 0%, #1a1520 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(108, 52, 131, .6),
        0 30px 60px -30px rgba(249, 231, 159, .2),
        inset 0 0 0 1px rgba(255,255,255,.1);
}
.phone-screen {
    background: #0B141A;
    background-image:
        radial-gradient(rgba(255,255,255,0.020) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.013) 1px, transparent 1px);
    background-size: 40px 40px, 60px 60px;
    background-position: 0 0, 20px 20px;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19;
    padding: 28px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wa-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 6px;
}
.wa-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
}
.wa-name { font-size: 14px; font-weight: 600; color: #E9EDEF; }
.wa-status { font-size: 11px; color: #8696A0; }
.wa-msg {
    position: relative;
    background: #202C33;
    color: #E9EDEF;
    padding: 7px 10px 6px 12px;
    border-radius: 0 7.5px 7.5px 7.5px;
    max-width: 86%;
    margin-left: 8px;
    align-self: flex-start;
    box-shadow: 0 1px 0.5px rgba(0,0,0,.4);
    font-size: 12.5px;
    line-height: 1.45;
    animation: fadeUp .6s ease both;
}
.wa-msg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 13px;
    background: #202C33;
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.wa-msg:nth-child(2) { animation-delay: .2s; }
.wa-msg:nth-child(3) {
    animation-delay: 1s;
    background: linear-gradient(135deg, #3D2A4F 0%, #2A1B3D 100%);
}
.wa-msg:nth-child(3)::before {
    background: #3D2A4F;
}
.wa-msg:nth-child(4) { animation-delay: 2s; }
.wa-msg b { color: #F9E79F; font-weight: 600; }
.wa-time {
    font-size: 10px;
    color: #8696A0;
    text-align: right;
    margin-top: 3px;
    line-height: 1;
}
.wa-cta {
    display: inline-block;
    background: #F9E79F;
    color: #1A1A1A !important;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s;
    user-select: none;
}
.wa-cta:hover { transform: translateY(-1px); }

/* COMPARE */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.compare-card {
    padding: 40px 32px;
    border-radius: 20px;
    backdrop-filter: blur(20px);
}
.compare-bad {
    background: var(--surface);
    border: 1px solid var(--border);
}
.compare-good {
    background: linear-gradient(135deg, rgba(108, 52, 131, .4), rgba(142, 68, 173, .4));
    border: 1px solid rgba(165, 105, 189, 0.3);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.compare-good::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 60%; height: 200%;
    background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
    opacity: 0.15;
}
.compare-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.compare-bad .compare-label { color: var(--muted); }
.compare-good .compare-label { color: var(--gold); }
.compare-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    position: relative;
}
.compare-bad .compare-item { color: var(--muted); }
.compare-good .compare-item { color: var(--text); }
.compare-item-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}
.compare-bad .compare-item-icon {
    background: rgba(255,255,255,.05);
    color: var(--light);
    border: 1px solid var(--border);
}
.compare-good .compare-item-icon {
    background: var(--gold);
    color: #1A1A1A;
}

/* PRICING */
.pricing {
    max-width: 500px;
    margin: 0 auto;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-2);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 80px -15px rgba(108, 52, 131, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.pricing::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1A1A1A;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.04em;
    position: relative;
}
.pricing-price {
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--gold) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}
.pricing-unit {
    font-size: 16px;
    color: var(--muted);
    margin-bottom: 24px;
    position: relative;
}
.pricing-list {
    text-align: left;
    margin-bottom: 32px;
    padding: 0;
    list-style: none;
    position: relative;
}
.pricing-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Check marker is provided by <span class="check-badge"> inside <li> - see check-badge.css */

/* FINAL CTA */
.final-form {
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(108, 52, 131, .4), rgba(142, 68, 173, .3));
    border: 1px solid var(--border-2);
    color: var(--text);
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
    backdrop-filter: blur(20px);
}
.final-form::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    opacity: 0.2;
    filter: blur(80px);
    animation: drift 15s ease-in-out infinite;
}
.final-form h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    position: relative;
}
.final-form h2 .grad {
    background: linear-gradient(135deg, var(--gold), #FFD87A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.final-form p { color: var(--muted); margin-bottom: 32px; position: relative; }
.final-form-row {
    display: flex;
    gap: 8px;
    max-width: 440px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border-2);
    padding: 6px;
    border-radius: 100px;
    position: relative;
    backdrop-filter: blur(10px);
}
.final-form-row input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    background: transparent;
    color: var(--text);
}
.final-form-row input::placeholder { color: var(--light); }
.final-form-row input[type="hidden"] { display: none; }
.final-form-error {
    margin-top: 14px;
    padding: 10px 18px;
    background: rgba(239, 68, 68, .1);
    border: 1px solid rgba(239, 68, 68, .25);
    border-radius: 100px;
    color: #FCA5A5;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.final-form-row button {
    padding: 12px 24px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg);
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 18px rgba(249, 231, 159, 0.25);
    white-space: nowrap;
}
.final-form-row button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(249, 231, 159, 0.45);
}
.final-form-success {
    font-size: 16px;
    color: var(--gold);
    font-weight: 600;
    display: none;
    position: relative;
}

/* FOOTER */
footer {
    margin-top: 48px;
    padding: 32px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}
@media (max-width: 540px) {
    footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
footer a { color: var(--text); text-decoration: none; transition: color .2s; }
footer a:hover { color: var(--gold); }

@media (max-width: 768px) {
    .hero-card-grid { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr; }
    .showcase { grid-template-columns: 1fr; gap: 40px; }
    .compare-grid { grid-template-columns: 1fr; }
    section { padding: 80px 0; }
    .final-form { padding: 60px 24px; border-radius: 24px; }
    .final-form-row { flex-direction: column; border-radius: 16px; background: transparent; border: none; padding: 0; gap: 12px; }
    .final-form-row input { background: var(--surface); border: 1px solid var(--border-2); border-radius: 100px; }
    .final-form-row button { border-radius: 100px; }
}
