/* ========================================
   Stay Informed Section - Clean & Simple
   ======================================== */

.stay-informed-section {
    background: linear-gradient(135deg, #4a5998 0%, #5568b8 100%);
    padding: 3rem 0;
    position: relative;
}

.stay-informed-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Heading */
.stay-informed-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.stay-informed-section p {
    font-family: var(--font-sans);
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Container */
.stay-informed-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Input Group */
.stay-informed-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stay-informed-input-group input[type="email"] {
    flex: 1;
    height: 3rem;
    padding: 0 1.25rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #333;
    background-color: #ffffff;
    border: none;
    border-radius: 6px;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.stay-informed-input-group input[type="email"]::placeholder {
    color: #999;
}

.stay-informed-input-group input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.stay-informed-input-group button {
    height: 3rem;
    padding: 0 2.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #a94442;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.stay-informed-input-group button:hover {
    background-color: #8b3634;
    transform: translateY(-2px);
}

.stay-informed-input-group button:active {
    transform: translateY(0);
}

/* Consent Checkbox */
.stay-informed-consent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stay-informed-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #a94442;
    flex-shrink: 0;
}

.stay-informed-consent label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    cursor: pointer;
}

.stay-informed-consent label a {
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.stay-informed-consent label a:hover {
    opacity: 0.8;
}

/* Message */
.stay-informed-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    border-radius: 6px;
    display: none;
    text-align: center;
}

.stay-informed-message.show {
    display: block;
}

.stay-informed-message.success {
    background-color: rgba(34, 197, 94, 0.2);
    color: #dcfce7;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.stay-informed-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .stay-informed-section {
        padding: 2.5rem 0;
    }

    .stay-informed-form-container {
        padding: 1.5rem;
    }

    .stay-informed-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stay-informed-input-group button {
        width: 100%;
    }

    .stay-informed-section p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .stay-informed-container {
        padding: 0 1.25rem;
    }

    .stay-informed-form-container {
        padding: 1.25rem;
    }
}

/* RTL Support */
[dir="rtl"] .stay-informed-consent {
    flex-direction: row-reverse;
}

[dir="rtl"] .stay-informed-input-group input[type="email"] {
    text-align: right;
}
