/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:            #07071a;
    --bg-alt:        #0b0b20;
    --surface:       #0f0f28;
    --surface-hover: #14143a;
    --blue:          #4d7cfe;
    --blue-glow:     rgba(77, 124, 254, 0.18);
    --blue-border:   rgba(77, 124, 254, 0.35);
    --gold:          #f5a623;
    --gold-glow:     rgba(245, 166, 35, 0.18);
    --gold-border:   rgba(245, 166, 35, 0.3);
    --text:          #f0f0fa;
    --text-muted:    #7878a0;
    --border:        rgba(255, 255, 255, 0.07);
    --radius:        12px;
    --radius-lg:     20px;
    --transition:    0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.accent-gold { color: var(--gold); }
.accent-blue { color: var(--blue); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(7, 7, 26, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--blue);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: #3a69fe;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--blue-glow);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-glow);
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--blue-glow);
    border: 1px solid var(--blue-border);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 90px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 700px at 50% -10%, rgba(77, 124, 254, 0.13) 0%, transparent 65%),
        radial-gradient(ellipse 500px 400px at 80% 70%,  rgba(245, 166, 35, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 44px;
    line-height: 1.75;
}

/* ============================================================
   WAITLIST FORM
   ============================================================ */
.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.form-row {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 500px;
}

.form-row input[type="email"] {
    flex: 1;
    padding: 12px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    min-width: 0;
}

.form-row input[type="email"]::placeholder {
    color: var(--text-muted);
}

.form-row input[type="email"]:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.success-msg {
    color: #4ade80;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 24px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: var(--radius);
    text-align: center;
}

.error-msg {
    color: #f87171;
    font-size: 0.85rem;
    text-align: center;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-alt);
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
    flex-shrink: 0;
}

.pill-icon {
    font-size: 1rem;
}

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

.section-alt {
    background: var(--bg-alt);
}

.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 460px;
}

/* Centered section headers */
#how-it-works .section-eyebrow,
#how-it-works .section-title,
#how-it-works .section-sub,
#features .section-eyebrow,
#features .section-title,
#features .section-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
    display: flex;
    align-items: flex-start;
    margin-top: 64px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue-glow);
    border: 1px solid var(--blue-border);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin: 0 auto 18px;
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.step-connector {
    flex-shrink: 0;
    width: 36px;
    height: 1px;
    background: var(--border);
    margin-top: 26px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: -4px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transform: rotate(45deg);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--surface-hover);
    border-color: var(--blue-border);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   PRIZE SECTION
   ============================================================ */
.prize-section {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        rgba(245, 166, 35, 0.03) 0%,
        rgba(77, 124, 254, 0.04) 100%
    );
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.prize-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.prize-copy {
    flex: 1;
}

.prize-copy h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.prize-copy p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.prize-copy .section-eyebrow {
    margin-bottom: 14px;
}

.prize-card {
    flex-shrink: 0;
    width: 260px;
    background: var(--surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 0 48px rgba(245, 166, 35, 0.07);
}

.prize-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.prize-amount {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.prize-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 14px;
}

.prize-fill {
    height: 100%;
    width: 65%;
    background: linear-gradient(90deg, var(--gold), #ffcc55);
    border-radius: 100px;
    animation: pulse-bar 2.2s ease-in-out infinite alternate;
}

@keyframes pulse-bar {
    from { width: 48%; }
    to   { width: 82%; }
}

.prize-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.cta-section {
    text-align: center;
}

.cta-inner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}

.cta-inner > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 440px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 52px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
}

.footer-legal {
    max-width: 680px;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
    .prize-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .prize-card {
        width: 100%;
        max-width: 320px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    /* Steps go vertical */
    .steps {
        flex-direction: column;
        align-items: center;
        margin-top: 48px;
    }

    .step {
        width: 100%;
        max-width: 300px;
        padding: 0;
    }

    .step-connector {
        width: 1px;
        height: 28px;
        margin: 12px auto;
    }

    .step-connector::after {
        display: none;
    }

    /* Features single column */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Form stacks */
    .form-row {
        flex-direction: column;
    }

    .form-row .btn {
        width: 100%;
    }

    /* Trust bar: hide dividers */
    .trust-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 70px;
    }
}
