.newsletter-section {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    background-color: var(--primary-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.newsletter-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    background-image: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.newsletter-container img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.newsletter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 50%;
    margin: 0 auto 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-title {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    background: var(--white);
    padding: 8px;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.input-icon {
    position: absolute;
    left: 20px;
    color: var(--text-muted);
    font-size: 18px;
}

.newsletter-input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: transparent;
}

.newsletter-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 30px;
    border-radius: calc(var(--radius) - 4px);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.newsletter-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 60px 15px;
    }

    .newsletter-container {
        padding: 40px 20px;
    }

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

    .newsletter-subtitle {
        font-size: 1rem;
    }

    .form-group {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: 15px;
    }

    .input-wrapper {
        background: var(--white);
        border-radius: var(--radius);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .newsletter-btn {
        padding: 16px;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .newsletter-icon {
        width: 60px;
        height: 60px;
        font-size: 22px;
    }
}