:root {
    --bg-dark: #050b14;
    --primary: #0b63c3;
    --secondary: #00b4d8;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-radius: 24px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset & Base --- */
* {
    box-sizing: border-box;
    outline: none;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Background Glow Effects --- */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    bottom: -100px;
    right: -100px;
}

/* --- Layout --- */
.stage {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/* --- Header --- */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.ghost-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- Main Hero Grid --- */
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text wider than card */
    gap: 4rem;
    align-items: center;
    margin: auto 0;
}

/* --- Left Section (Text) --- */
.pill {
    display: inline-block;
    background: rgba(11, 99, 195, 0.2);
    color: #64b5f6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(11, 99, 195, 0.3);
}

.left h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #e2e8f0;
}

.features .icon {
    font-size: 1.2rem;
}

.social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.s-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    border-bottom: 1px solid transparent;
}

.s-link:hover {
    opacity: 1;
    border-color: var(--secondary);
}

/* --- Right Section (Glass Card) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.banner-wrapper {
    position: relative;
    height: 160px;
    width: 100%;
}

.card-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay to blend the image into the dark theme */
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(5, 11, 20, 0.8));
}

.card-content {
    padding: 2rem;
}

.card-content h2 {
    font-family: var(--font-heading);
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

/* Countdown Grid */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 2rem;
}

.time-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.time-box span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.time-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text-muted);
}

/* Form Styles */
.input-group {
    position: relative;
    display: flex;
    gap: 10px;
}

.notify-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    transition: 0.3s;
}

.notify-form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
}

.notify-form button {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notify-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 99, 195, 0.4);
}

.privacy-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

.msg {
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 1.2em;
    text-align: center;
}

.msg.success {
    color: #4ade80;
}

.msg.error {
    color: #f87171;
}

/* --- Footer --- */
.foot {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-bar {
    margin-bottom: 10px;
}

.contact-bar a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-bar a:hover {
    color: #fff;
}

/* --- Animations --- */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   RESPONSIVE DESIGN (Mobile & Tablet) 
   ========================================= */

@media (max-width: 1024px) {
    .stage {
        padding: 1.5rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 3rem;
        text-align: center;
    }

    .left h1 {
        font-size: 3rem;
    }

    .lead {
        margin: 0 auto 2rem;
    }

    .features {
        justify-content: center;
    }

    .social {
        justify-content: center;
    }

    /* Make card constrained width on tablet so it doesn't look weirdly wide */
    .right {
        display: flex;
        justify-content: center;
    }

    .glass-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 600px) {

    /* Mobile Polish */
    .topbar {
        flex-direction: column;
        gap: 1rem;
    }

    .left h1 {
        font-size: 2.2rem;
    }

    /* Input Group Stack */
    .input-group {
        flex-direction: column;
    }

    .notify-form button {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Footer Stack */
    .contact-bar {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sep {
        display: none;
    }

    /* Countdown Adjust */
    .time-box span {
        font-size: 1.2rem;
    }

    .glow {
        opacity: 0.3;
    }

    /* Tone down background on mobile */
}