
/* ==========================================================================
   1. Reset & Dynamic Animated Background Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #292929;
    
    /* Sleek gradient sequence using cool, modern slate tones */
    background: linear-gradient(135deg, #a4c589, #ffffff, #9bcd69, #c1ceb0);
    background-size: 400% 400%;
    
    /* Attaches the continuous fluid loop animation */
    animation: gradientShift 20s ease infinite;
    
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    overflow: hidden;
    position: relative;
}

/* Fluid keyframe animation to animate background positioning seamlessly */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Subtle tint layer remains optional for depth, or can be removed if not needed */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Reduced tint so the moving animation shows through clearly */
    z-index: 1;
    pointer-events: none; /* Allows clicks to go right through to your form */
}

/* ==========================================================================
   2. Main Layout Container
   ========================================================================== */
.content-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: auto;
}

/* Logo */
.logo h2 {
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 1.25rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/* Hero Typography */
.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1rem;
    font-weight: 300;
    color: #0a4327;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* ==========================================================================
   3. Countdown Layout
   ========================================================================== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block .number {
    font-size: 2.25rem;
    font-weight: 600;
}

.time-block .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888;
    margin-top: 4px;
}

/* ==========================================================================
   4. Form Elements
   ========================================================================== */
.subscription-form form {
    display: flex;
    width: 100%;
    gap: 10px;
}

.subscription-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscription-form input[type="email"]:focus {
    border-color: rgba(255, 255, 255, 0.8);
}

.subscription-form button {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    background: #ffffff;
    color: #121212;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-form button:hover {
    background: #e0e0e0;
}

/* ==========================================================================
   5. Footer Layout
   ========================================================================== */
footer {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .subscription-form form { flex-direction: column; }
    .countdown { gap: 20px; }
    .time-block .number { font-size: 1.75rem; }
}