/* Basic Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #f4f4f4;
    background: linear-gradient(135deg, #2c3e50, #3498db); /* Dark Blue to Lighter Blue Gradient */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.container {
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent dark overlay */
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    width: 100%;
}

/* Header & Logo */
header .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    /* If using an image:
    img { max-width: 200px; height: auto; }
    */
}

/* Main Content */
main h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

main .tagline {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Countdown Timer */
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between segments */
    margin-bottom: 30px;
}

.time-segment {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 5px;
    min-width: 80px; /* Ensure segments have some width */
}

.time-segment span {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: #fff;
}

.time-segment small {
    font-size: 0.8em;
    text-transform: uppercase;
    color: #ddd;
}

/* Subscribe Form */
.subscribe-form h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #fff;
}

.subscribe-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.subscribe-form input[type="email"] {
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 100%;
    max-width: 400px; /* Limit width of input */
    font-size: 1em;
}

.subscribe-form input[type="email"]::placeholder {
    color: #777;
}

.subscribe-form button {
    padding: 12px 25px;
    background-color: #3498db; /* Primary action color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 400px; /* Match input width */
}

.subscribe-form button:hover {
    background-color: #2980b9;
}

.form-message {
    font-size: 0.9em;
    margin-top: 10px;
}
.form-message.success {
    color: #2ecc71; /* Green for success */
}
.form-message.error {
    color: #e74c3c; /* Red for error */
}


/* Footer */
footer {
    margin-top: 30px;
}

.social-links a {
    color: #f4f4f4;
    margin: 0 12px;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db; /* Highlight color on hover */
}

.copyright {
    margin-top: 15px;
    font-size: 0.85em;
    color: #ccc;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    main h1 {
        font-size: 2.2em;
    }
    .time-segment {
        padding: 10px;
        min-width: 65px;
    }
    .time-segment span {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    main h1 {
        font-size: 1.8em;
    }
    main .tagline {
        font-size: 1em;
    }
    #countdown {
        gap: 8px;
    }
    .time-segment {
        padding: 8px 5px;
        min-width: 55px;
    }
    .time-segment span {
        font-size: 1.5em;
    }
    .time-segment small {
        font-size: 0.7em;
    }
    .subscribe-form h2 {
        font-size: 1.3em;
    }
    .subscribe-form input[type="email"],
    .subscribe-form button {
        font-size: 0.9em;
        padding: 10px;
    }
    .social-links a {
        font-size: 1.3em;
        margin: 0 8px;
    }
}