.newsletter-signup {
    background: linear-gradient(135deg, #185a9d 0%, #43cea2 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(24, 90, 157, 0.2);
    color: white;
}

.newsletter-icon {
    font-size: 3em;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.newsletter-title {
    color: white;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05em;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    transition: all 0.3s ease;
}

.newsletter-button {
    padding: 0.9rem 2rem;
    background: white;
    color: #185a9d;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    font-size: 0.85em;
}

.newsletter-privacy a {
    color: white;
    text-decoration: underline;
}

#newsletterMessage {
    margin-top: 1rem;
    font-weight: 600;
}

/* Thank You Modal Styles */
.thank-you-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.thank-you-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 3.5rem 2.5rem;
    text-align: center;
    max-width: 550px;
    width: 100%;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    font-size: 4rem;
    color: #43cea2;
    margin-bottom: 1.5rem;
    display: block;
}

.thank-you-card h1 {
    font-weight: 800;
    color: #185a9d;
    margin-bottom: 1rem;
    font-size: 2.2rem;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

.steps-list {
    text-align: left;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    display: inline-block;
}

.steps-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #334155;
    font-weight: 600;
    font-size: 1rem;
}

.step-num {
    background: #e0f7fa;
    color: #00796b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.btn-modal-close {
    border-radius: 50px;
    padding: 1rem 2.5rem;
    background: #185a9d;
    border: none;
    color: white;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-modal-close:hover {
    background: #144a82;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 90, 157, 0.3);
}

@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
    }

    .newsletter-button {
        width: 100%;
    }
}