:root {
    --forest: #1b4332;
    --amber: #d97706;
    --mist: #fafaf9;
    --bark: #1c1917;
}

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

body {
    background: var(--bark);
    color: var(--mist);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.background-atmosphere {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 25%, rgba(27,67,50,0.55) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(217,119,6,0.12) 0%, transparent 50%),
        url('assets/hero-tiger.png') center/cover no-repeat;
    filter: brightness(0.35) saturate(0.7);
    z-index: -1;
}

/* Card */
.main-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(48px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 2.25rem 3.5rem;
    border-radius: 40px;
    max-width: 780px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), inset 0 0 40px rgba(255,255,255,0.02);
}

/* Logo */
.logo-container { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(27,67,50,0.6)); }
.brand-name {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.85);
}
.brand-dot { color: var(--amber); }

/* Hero */
.hero-section { space-y: 0.75rem; }

.overline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 7vw, 3.8rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.accent { color: var(--amber); }

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    line-height: 1.5;
}

/* Countdown */
.countdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 3.5rem;
}
.countdown-num {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 900;
    font-style: italic;
    color: var(--mist);
    line-height: 1;
}
.countdown-label {
    font-size: 0.55rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
}
.countdown-sep {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--amber);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Subscription */
.subscription-section { width: 100%; max-width: 380px; }

.subscribe-form {
    display: flex;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px;
    border-radius: 18px;
    gap: 6px;
}
.subscribe-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s;
}
.subscribe-input:focus { color: white; }
.subscribe-input::placeholder { color: rgba(255,255,255,0.25); }

/* Prevent white background on autofill */
.subscribe-input:-webkit-autofill,
.subscribe-input:-webkit-autofill:hover,
.subscribe-input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0.01) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.subscribe-button {
    background: var(--amber);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.subscribe-button:hover { background: #b45309; transform: translateY(-1px); }
.subscribe-button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.subscribe-hint {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    font-style: italic;
}

/* Success */
.hidden { display: none !important; }
.success-container { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1rem; }
.success-icon {
    width: 2.5rem; height: 2.5rem;
    background: var(--forest);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 900;
}
.success-text-main { font-size: 0.9rem; font-weight: 900; color: var(--mist); }
.success-text-sub { font-size: 0.75rem; color: rgba(255,255,255,0.4); font-style: italic; }

/* Stats Container */
.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    width: 100%;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}
.stat-num {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: var(--amber);
    line-height: 1;
}
.stat-desc {
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.3);
}
.stat-sep {
    width: 1px;
    height: 1.5rem;
    background: rgba(255,255,255,0.06);
}

/* Pulse dot */
.pulse-dot {
    width: 6px; height: 6px;
    background: var(--amber);
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: inline-block;
}

/* Copyright */
.copyright {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.15);
}

/* Animations */
@keyframes pulse { 0%,100% { transform: scale(1); opacity:1; } 50% { transform: scale(1.6); opacity:0.4; } }
@keyframes reveal { from { transform: translateY(24px); opacity:0; } to { transform: translateY(0); opacity:1; } }

.animate-fade-down { animation: reveal 0.9s ease-out; }
.animate-reveal { animation: reveal 1.1s cubic-bezier(0.2,0.8,0.2,1) forwards; }
.animate-fade-up { animation: reveal 0.9s ease-out 0.6s backwards; }

@media (max-width: 480px) {
    .main-card { padding: 2rem 1.5rem; border-radius: 28px; }
    .subscribe-form { flex-direction: column; }
    .subscribe-button { padding: 0.875rem; }
    .countdown-num { font-size: 1.8rem; }
    .countdown-item { min-width: 2.8rem; }
    .stats-container { gap: 0.75rem; flex-wrap: wrap; }
    .stat-sep { display: none; }
    .stat-num { font-size: 1.25rem; }
}
