:root {
    --brand-dark: #0A0A0A;
    --brand-red: #231512;
    --brand-stone: #E5E1DF;
    
    /* Functional UI mappings */
    --bg-main: var(--brand-dark);
    --text-main: var(--brand-stone);
    --text-dim: rgba(229, 225, 223, 0.6);
    --accent: var(--brand-stone);
    --glass-bg: rgba(229, 225, 223, 0.04);
    --glass-border: rgba(229, 225, 223, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}

body {
    background-color: var(--bg-main);
    /* Subtle glow using the brand red */
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(35, 21, 18, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(35, 21, 18, 0.4) 0%, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0% 5%;
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.5px;
}

.logo-icon { color: var(--brand-red); filter: drop-shadow(0 0 5px var(--brand-red)); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--brand-stone);
    padding: 0.7rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--brand-stone);
    color: var(--brand-dark);
}

/* Hero & Glass Card */
.hero {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}



.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--brand-stone);
    border: 1px solid var(--brand-red);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 2rem;
    background: rgba(35, 21, 18, 0.3);
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--brand-stone);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-stone);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
}

.time-box {
    background: rgba(229, 225, 223, 0.05);
    padding: 20px;
    border-radius: 16px;
    min-width: 90px;
    border: 1px solid rgba(229, 225, 223, 0.05);
}

.number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-stone);
    transition: all 0.3s ease-in-out;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Form */
.waitlist-form {
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.waitlist-form input {
    background: transparent;
    border: none;
    padding-left: 20px;
    color: var(--brand-stone);
    flex: 1;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand-stone);
    color: var(--brand-dark);
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--brand-dark);
    margin-left: -12px;
}

.social-proof p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.social-proof strong {
    color: var(--brand-stone);
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.social-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    font-weight: 500;
}

.social-links a:hover { color: var(--brand-stone); }

/* Footer */
.footer {
    padding: 3rem 5%;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-bottom: 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.scroll-top {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--brand-stone);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.scroll-top:hover {
    border-color: var(--brand-stone);
}

@keyframes pulse {
    0% { border-color: rgba(229, 225, 223, 0.12); }
    50% { border-color: rgba(35, 21, 18, 0.8); } /* Pulse with the brand red */
    100% { border-color: rgba(229, 225, 223, 0.12); }
}




/* Mobile Optimization */
@media (max-width: 600px) {
    /* Reduce hero padding to give the card more room, 
       but keep internal card padding consistent */
    .hero {
        padding: 1.5rem;
    }

    .glass-card {
        padding: 3rem 1.5rem; /* Reduced horizontal padding inside the card */
        width: 100%;
    }

    h1 {
        font-size: 2.5rem; /* Scale down heading for mobile */
    }

    .subtitle {
        max-width: 100%;
        font-size: 0.95rem;
    }

    /* Adjust countdown gap and size for small screens */
    .countdown {
        gap: 10px;
        flex-wrap: wrap; /* Allows boxes to wrap if screen is very narrow */
    }

    .time-box {
        min-width: 70px;
        padding: 12px 8px;
        flex: 1; /* Makes them grow equally */
    }

    .number {
        font-size: 1.4rem;
    }

    /* Form adjustment for mobile */
    .waitlist-form {
        flex-direction: column; /* Stack input and button */
        background: transparent;
        border: none;
        padding: 0;
        gap: 15px;
    }

    .waitlist-form input {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--glass-border);
        border-radius: 50px;
        padding: 16px 20px;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        padding: 16px;
    }

    /* Social links alignment */
    .social-links {
        gap: 20px;
    }
}