:root {
    --primary-color: #3498db; /* Blue */
    --secondary-color: #2c3e50; /* Dark Grey */
    --text-color: #333;
    --background-color: #f4f4f4;
    --white: #ffffff;
    --error-color: #e74c3c;
    --success-color: #2ecc71;
}

body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    text-align: center;
    line-height: 1.6;
    padding: 20px; /* Add some padding for smaller screens */
    box-sizing: border-box; /* Include padding in element's total width and height */
}

.container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    max-width: 180px; /* Adjust as needed */
    height: auto;
    margin-bottom: 30px;
}

h1 {
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    margin-bottom: 20px;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.coming-soon-wrapper {
    margin-bottom: 30px;
}

.coming-soon-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: var(--error-color);
    letter-spacing: 2px;
    animation: slide 4s infinite alternate;
    position: relative;
}

@keyframes slide {
    0% {
        left: -100px;
    }
    100% {
        left: 100px;
    }
}

/* Form Styling */
#subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

#subscribe-form p {
    margin-bottom: 15px;
    font-size: 1em;
    font-style: italic;
    color: #555;
}

#email-input {
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    width: 80%;
    max-width: 350px;
    font-size: 1.05em;
    margin-bottom: 15px;
}

#email-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

#subscribe-form button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 80%;
    max-width: 350px;
}

#subscribe-form button:hover {
    background-color: #2980b9; /* Slightly darker primary color */
    transform: translateY(-2px);
}

.form-message {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.05em;
    min-height: 20px; /* Reserve space */
}

.form-message.success {
    color: var(--success-color);
    border: 1px solid var(--success-color);
    padding: 10px;
    border-radius: 5px;
}

.form-message.error {
    color: var(--error-color);
}

/* Social Links */
.social-links {
    margin-top: 40px;
}

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

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

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    .coming-soon-text {
        font-size: 2.2em;
    }

    .container {
        padding: 25px;
    }

    #email-input,
    #subscribe-form button {
        width: 95%;
        max-width: unset; /* Remove max-width on smaller screens */
    }
}