/* ─── Reset & Base ─── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #F5F2ED;
    --bg-dark: #1A1A1A;
    --text: #1A1A1A;
    --text-muted: #6B6560;
    --text-light: #9B958E;
    --accent: #1A1A1A;
    --white: #FAFAF8;
    --border: rgba(26, 26, 26, 0.08);
    --radius: 100px;
    --radius-sm: 12px;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ─── Nav ─── */
#navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: auto;
}

.nav-inner {
    background: rgba(245, 242, 237, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 32px;
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 28px;
    width: auto;
}

/* ─── Hero ─── */
#hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-content {
    max-width: 680px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(26, 26, 26, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22C55E;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

/* Headline */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    color: var(--text);
}

h1 em {
    font-style: italic;
    color: var(--text-muted);
}

/* Subtitle */
.subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 48px;
    font-weight: 300;
}

/* ─── Signup Form ─── */
.signup-form {
    max-width: 460px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(26, 26, 26, 0.2);
    box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.04);
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--text);
    min-width: 0;
}

.input-group input::placeholder {
    color: var(--text-light);
}

.input-group button {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
}

.input-group button:hover {
    background: #333;
    transform: scale(1.02);
}

.input-group button:active {
    transform: scale(0.98);
}

.btn-loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form message */
.form-message {
    margin-top: 16px;
    font-size: 0.85rem;
    min-height: 20px;
    transition: opacity 0.3s ease;
}

.form-message.success {
    color: #22C55E;
}

.form-message.error {
    color: #EF4444;
}

/* Fine print */
.fine-print {
    margin-top: 20px;
    font-size: 0.78rem;
    color: var(--text-light);
    letter-spacing: 0.01em;
}

/* ─── Video Container ─── */
.video-container {
    margin-top: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* ─── Press Release Link ─── */
.press-release-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 24px;
    background: rgba(26, 26, 26, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.press-release-link:hover {
    background: rgba(26, 26, 26, 0.08);
    color: var(--text);
}

/* ─── Background Glow ─── */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #C4B5A0, transparent);
    top: 10%;
    left: -10%;
    animation: float-1 12s ease-in-out infinite;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #A0B5C4, transparent);
    bottom: 5%;
    right: -8%;
    animation: float-2 15s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}

@keyframes float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

/* ─── Footer ─── */
#footer {
    padding: 32px 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left span {
    font-size: 0.82rem;
    color: var(--text-light);
}

.press-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.press-link svg {
    flex-shrink: 0;
}

/* ─── Mobile ─── */
@media (max-width: 600px) {
    #navbar {
        top: 16px;
    }

    .nav-inner {
        padding: 10px 24px;
    }

    .nav-logo {
        height: 22px;
    }

    h1 {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .input-group {
        flex-direction: column;
        border-radius: var(--radius-sm);
    }

    .input-group input {
        padding: 16px;
        border-bottom: 1px solid var(--border);
    }

    .input-group button {
        border-radius: 8px;
        padding: 16px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
