/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 100%;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.content-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.logo-wrapper {
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Subscription Form */
.subscription-form {
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.input-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
}

.email-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.email-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.email-input:focus {
    border-color: #6ba83e;
    box-shadow: 0 0 0 3px rgba(107, 168, 62, 0.1);
}

.email-input::placeholder {
    color: #999;
}

.submit-btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4a7c2a 0%, #6ba83e 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(107, 168, 62, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3d6622 0%, #5a9233 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(107, 168, 62, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(107, 168, 62, 0.3);
}

/* Message Display */
.message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: slideIn 0.3s ease;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        height: 60px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .description {
        font-size: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .input-wrapper {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }

    .main-logo {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 50px;
    }

    .main-logo {
        max-width: 250px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .main-content {
        padding: 40px 15px;
    }
}
