/* General Styling */
:root {
    --primary-color: #007bff; /* A nice blue for accents */
    --secondary-color: #6c757d; /* Grey for text */
    --background-dark: #1a202c; /* Dark background */
    --background-light: #2d3748; /* Slightly lighter dark for boxes */
    --text-color-light: #e2e8f0; /* Light text for dark background */
    --border-color: #4a5568;
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light);
    background: var(--background-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%233a4a5d" stroke-width="0.5" /></pattern><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><rect width="100" height="100" fill="url(%23smallGrid)" /><path d="M 100 0 L 0 0 L 0 100" fill="none" stroke="%233a4a5d" stroke-width="1" /></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    background-size: cover;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.logo {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

main {
    background-color: var(--background-light);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    border: 1px solid var(--border-color);
    width: 100%;
}

.content-box h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 600;
}

.content-box p {
    font-size: 1.1em;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light);
}

/* Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown div {
    background: var(--background-dark);
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1.2em;
    font-weight: 400;
    color: var(--text-color-light);
    box-shadow: 0 5px 15px var(--shadow-dark);
    min-width: 120px;
}

.countdown span {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stay-tuned {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Subscribe Form */
.subscribe-form {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 10px; /* Space between input and button when wrapped */
}

.subscribe-form input[type="email"] {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-dark);
    color: var(--text-color-light);
    width: 100%;
    max-width: 350px;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
    border-color: var(--primary-color);
}

.subscribe-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.subscribe-form button:hover {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-2px);
}

/* Social Links */
.social-links {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.social-links a {
    color: var(--text-color-light);
    font-size: 1.8em;
    margin: 0 15px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5em;
    }

    .content-box h2 {
        font-size: 2em;
    }

    .content-box p {
        font-size: 1em;
    }

    .countdown div {
        padding: 15px 20px;
        min-width: 100px;
    }

    .countdown span {
        font-size: 2em;
    }

    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input[type="email"] {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2em;
    }

    .content-box h2 {
        font-size: 1.6em;
    }

    .content-box p {
        font-size: 0.9em;
    }

    .countdown div {
        font-size: 1em;
        padding: 10px 15px;
        min-width: 80px;
        gap: 10px;
    }

    .countdown span {
        font-size: 1.8em;
    }

    .social-links a {
        font-size: 1.5em;
        margin: 0 10px;
    }

    main {
        padding: 25px;
    }
}
