@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --bg: #FFFFFF;
    --bg-soft: #FAFAFA;
    --text-primary: #0A0A0A;
    --text-secondary: #3D3D3D;
    --text-muted: #767676;
    --accent: #0066FF;
    --accent-hover: #0052CC;
    --accent-glow: rgba(0, 102, 255, 0.18);
    --scarcity: #DC2626;
    --scarcity-glow: rgba(220, 38, 38, 0.32);
    --border: #E5E5E5;
    --border-strong: #CCCCCC;
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-cta: 0 6px 24px rgba(0, 102, 255, 0.32);
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

/* ============== OPT-IN PAGE ============== */

.optin-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(ellipse at top, var(--accent-glow) 0%, transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.optin-card {
    width: 100%;
    max-width: 540px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    box-shadow: var(--shadow-md);
    text-align: center;
    animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.optin-eyebrow {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 20px;
}

.optin-card h1 {
    font-size: 44px;
    margin-bottom: 16px;
}

.optin-card .subhead {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.optin-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.optin-form input[type="email"] {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    padding: 16px 20px;
    border: 2px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

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

.optin-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* SECURITY LAYER 1: Honeypot field — invisible to humans, visible to bots. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* SECURITY LAYER 2: Turnstile widget container — gives the widget breathing room. */
.cf-turnstile {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.cta-button {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.02em;
    padding: 18px 28px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--accent);
    color: white;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-cta);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-msg {
    color: var(--scarcity);
    font-size: 14px;
    font-weight: 500;
    min-height: 20px;
}

.optin-disclaimer {
    margin-top: 24px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============== BRIDGE PAGE ============== */

.bridge-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 64px;
    animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bridge-headline {
    font-size: 38px;
    text-align: center;
    margin-bottom: 24px;
}

.video-frame {
    width: 100%;
    background: #0A0A0A;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.bridge-cta {
    display: block;
    width: 100%;
    padding: 22px 24px;
    margin-bottom: 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.01em;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-cta);
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
}

.bridge-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.4);
}

.bridge-cta:active {
    transform: translateY(0);
}

.scarcity-block {
    text-align: center;
    padding-top: 4px;
}

.scarcity-headline {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 22px;
    line-height: 1.5;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.timer-unit {
    width: 84px;
    height: 84px;
    background: var(--scarcity);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px var(--scarcity-glow);
    animation: pulseRed 2.4s ease-in-out infinite;
}

@keyframes pulseRed {
    0%, 100% {
        box-shadow: 0 6px 20px var(--scarcity-glow);
    }
    50% {
        box-shadow: 0 6px 28px rgba(220, 38, 38, 0.5);
    }
}

.timer-value {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.88;
}

/* ============== BRIDGE PROOF SECTION ============== */

.proof-section {
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.proof-eyebrow {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--scarcity);
    background: rgba(220, 38, 38, 0.08);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.proof-heading {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 36px;
}

.proof-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-md);
}

.proof-card img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

.proof-caption {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.proof-caption strong {
    color: var(--text-primary);
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--bg);
}

.proof-stat {
    flex: 1;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-right: 1px solid var(--border);
}

.proof-stat:last-child {
    border-right: none;
}

.proof-stat-value {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: #16a34a;
}

.proof-stat-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.proof-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 16px;
}

/* ============== RESPONSIVE ============== */

@media (max-width: 640px) {
    .optin-card {
        padding: 36px 24px;
    }

    .optin-card h1 {
        font-size: 34px;
    }

    .optin-card .subhead {
        font-size: 15px;
    }

    .bridge-headline {
        font-size: 28px;
    }

    .bridge-cta {
        font-size: 16px;
        padding: 18px 16px;
    }

    .timer {
        gap: 8px;
    }

    .timer-unit {
        width: 70px;
        height: 70px;
    }

    .timer-value {
        font-size: 22px;
    }

    .timer-label {
        font-size: 9px;
    }
}
