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

:root {
    --bg: #ffffff;
    --bg-soft: #ecf0f5;
    --ink: #08090a;
    --muted: #5c626e;
    --hairline: rgba(8, 12, 24, 0.08);
    --soft: rgba(8, 12, 24, 0.04);
    --soft2: rgba(8, 12, 24, 0.06);
    --pill: #f8f9fb;
    --pill2: #f1f3f6;
    --primary: #3e5bf2;
    --primary-bg: rgba(62, 91, 242, 0.08);
    --shadow: 0 10px 30px -10px rgba(8, 12, 24, 0.1);
    --shadow2: 0 20px 40px -15px rgba(8, 12, 24, 0.15);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 999px;
    --max: 1200px;

    /* Typography */
    --h1: clamp(36px, 4.5vw, 56px);
    --h2: clamp(32px, 3vw, 42px);
    --p: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
.brand {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.03em;
}

/* Header */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
    z-index: 50;
}

.nav-inner {
    height: 68px;
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.1rem;
}

.logo-svg {
    width: 26px;
    height: 26px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    width: 100%;
}

.hero-wrap {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.hero-title {
    font-size: var(--h1);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 16px;
}

.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0 auto 40px;
    max-width: 44ch;
}

/* New Elements */
.eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-bg);
    border-radius: var(--radius-pill);
}

.hero-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 14px;
    font-weight: 500;
}

.status-ticker {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    background: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--hairline);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    70% {
        transform: scale(3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.limit-badge {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Form Styling */
.opt-in-container {
    background: var(--pill);
    border: 1px solid var(--hairline);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.signup-form .input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 480px) {
    .signup-form .input-group {
        flex-direction: row;
        background: #fff;
        border: 1px solid var(--hairline);
        padding: 6px;
        border-radius: var(--radius-pill);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    }
}

.email-input {
    flex: 1;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-pill);
    padding: 14px 24px;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
    background: #fff;
}

@media (min-width: 480px) {
    .email-input {
        border: none;
        background: transparent;
        padding: 12px 20px;
    }
}

.email-input:focus {
    border-color: var(--primary);
}

.cta-button {
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #1a1c1f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.privacy-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    opacity: 0.8;
}

/* Success Message */
.success_message {
    color: #10b981;
    font-weight: 500;
    background: rgba(16, 185, 129, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.success_message::before {
    font-weight: bold;
}

/* Footer */
.footer {
    border-top: 1px solid var(--hairline);
    padding: 60px 24px;
    background: #fafafa;
    margin-top: auto;
}

.footer-content {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--muted);
}

.logo-svg.small {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--muted);
    font-size: 13px;
    opacity: 0.7;
}