:root {
    --color-sun: #F7931E;
    /* Orange from logo */
    --color-moon: #1E3A8A;
    /* Deep Blue from logo */
    --color-dark: #1E293B;
    /* Slate 800 */
    --color-light: #F8FAFC;
    /* Slate 50 */
    --color-gray: #64748B;
    /* Slate 500 */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: #FFFFFF;
    color: var(--color-dark);
    overflow: hidden;
    position: relative;
}

/* --- Clean Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(247, 147, 30, 0.2);
    border-top-color: var(--color-sun);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Minimal Ambient Background --- */
.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: #FAFAFA;
}

/* Very subtle, large blurred shapes for a hint of color */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-orange {
    width: 50vw;
    height: 50vw;
    background: var(--color-sun);
    top: -10%;
    left: -10%;
}

.orb-blue {
    width: 60vw;
    height: 60vw;
    background: var(--color-moon);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-green {
    display: none;
    /* Removed for minimal look */
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(3vw, 3vh) scale(1.05);
    }
}

/* --- Layout --- */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    perspective: 1000px;
}

/* --- Clean Elevated Card --- */
.content-wrapper {
    padding: 2rem 2rem;
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* --- Reveal Animations --- */
.hidden-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: calc(var(--delay) * 100ms);
}

.reveal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Logo --- */
.logo-container {
    margin-bottom: 2.5rem;
    transform: translateZ(30px);
}

#brand-logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass-card:hover #brand-logo {
    transform: scale(1.03);
}

/* --- Content --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(30, 58, 138, 0.06);
    color: var(--color-moon);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
}

.title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--color-dark);
    transform: translateZ(40px);
    letter-spacing: -1px;
}

.title span {
    color: var(--color-sun);
}

.subtitle {
    font-size: 1.05rem;
    color: var(--color-gray);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 3rem;
    font-weight: 400;
    transform: translateZ(20px);
}


/* --- Clean Subscribe Form --- */
.notify-form {
    display: flex;
    width: 100%;
    max-width: 480px;
    background: #FFFFFF;
    border-radius: 50px;
    padding: 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    transform: translateZ(30px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.notify-form:focus-within {
    border-color: rgba(30, 58, 138, 0.3);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.08);
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: transparent;
}

.input-group i {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-right: 12px;
}

.email-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-dark);
    outline: none;
    width: 100%;
    padding: 0.8rem 0;
}

.email-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.notify-btn {
    background: var(--color-moon);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    background: #152B6B;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 58, 138, 0.2);
}

.notify-btn i {
    transition: transform 0.3s;
}

.notify-btn:hover i {
    transform: translateX(4px);
}

/* --- Minimal Social Links --- */
.social-links {
    display: flex;
    gap: 1.2rem;
    transform: translateZ(20px);
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-gray);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--color-sun);
    border-color: var(--color-sun);
    background: rgba(247, 147, 30, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(247, 147, 30, 0.15);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .glass-card {
        padding: 3rem 2rem;
        border-radius: 24px;
    }

    .title {
        font-size: 2.8rem;
    }

    .countdown {
        gap: 1.5rem;
    }

    .time-val {
        font-size: 2.2rem;
        width: 60px;
    }

    .time-box::after {
        right: -1.1rem;
        font-size: 1.8rem;
        top: 5px;
    }
}

@media (max-width: 500px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }

    .title {
        font-size: 2.2rem;
    }

    .notify-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .input-group {
        background: #FFFFFF;
        border: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        margin-bottom: 1rem;
        padding: 0.8rem 1.5rem;
        border-radius: 30px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    }

    .notify-btn {
        width: 100%;
        justify-content: center;
        padding: 1.2rem;
    }

    .time-val {
        font-size: 1.8rem;
        width: 50px;
    }

    .time-box::after {
        right: -0.9rem;
        top: 5px;
        font-size: 1.5rem;
    }

    #brand-logo {
        height: 100px;
    }
}