/* ==========================================
   BRUO Newsletter Section
   ========================================== */

.bnl-section {
    padding: 0;
    margin: 0;
}

.bnl-container {
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px 52px;
    min-height: 320px;
    background: linear-gradient(135deg, #003450 0%, #00476e 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

/* Decorative glow */
.bnl-container::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.bnl-container::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Left: Content ---- */
.bnl-content {
    flex: 1;
    min-width: 0;
}

.bnl-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(234, 179, 8, 0.12);
    border: 1px solid rgba(234, 179, 8, 0.25);
    color: #eab308;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: bnlBadgeGlow 3s ease-in-out infinite;
}

.bnl-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #eab308;
    border-radius: 50%;
    animation: bnlPulse 2s ease-in-out infinite;
}

@keyframes bnlPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes bnlBadgeGlow {
    0%, 100% { box-shadow: 0 0 8px rgba(234, 179, 8, 0.1); }
    50% { box-shadow: 0 0 20px rgba(234, 179, 8, 0.3), 0 0 40px rgba(234, 179, 8, 0.1); }
}

.bnl-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bnl-title-highlight {
    color: #eab308;
}

.bnl-subtitle {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    line-height: 1.3em !important;
    max-width: 420px;
}

.bnl-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.bnl-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.bnl-feature svg {
    color: #10b981;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

/* ---- Right: Form ---- */
.bnl-form-wrap {
    flex: 0 0 360px;
    min-width: 0;
}

.bnl-form-wrap {
    position: relative;
}

.bnl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bnl-field {
    width: 100%;
}

.bnl-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.bnl-input::placeholder {
    color: #a1a1aa;
}

.bnl-input:focus {
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.15);
    background: #ffffff;
}

.bnl-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: #eab308;
    color: #003450;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.3);
}

.bnl-submit:hover {
    background: #facc15;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
}

.bnl-submit:active {
    transform: translateY(0);
}

.bnl-submit.is-loading .bnl-submit-text,
.bnl-submit.is-loading .bnl-submit-arrow {
    display: none;
}

.bnl-submit.is-loading .bnl-submit-spinner {
    display: block !important;
}

.bnl-consent {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 8px 0 0 0;
    line-height: 1.1em;
}

.bnl-consent-collapse {
    color: #eab308 !important;
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 500;
}

.bnl-consent-collapse:hover {
    color: #facc15 !important;
    text-decoration: underline !important;
}

.bnl-consent a {
    color: #eab308;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bnl-consent a:hover {
    color: #facc15;
}

/* ---- Success state ---- */
.bnl-success {
    text-align: center;
    padding: 20px;
}

.bnl-success svg {
    margin-bottom: 12px;
}

.bnl-success-text {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.bnl-countdown {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Consent toggle ---- */
.bnl-consent-toggle {
    color: #eab308 !important;
    cursor: pointer;
    text-decoration: none !important;
    font-weight: 500;
}

.bnl-consent-toggle:hover {
    color: #facc15 !important;
    text-decoration: underline !important;
}

/* ---- Background shapes ---- */
.bnl-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bnl-shape {
    position: absolute;
    opacity: 0.08;
    animation: bnlFloat 8s ease-in-out infinite alternate;
}

.bnl-shape--circle {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.bnl-shape--square {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.bnl-shape--triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 24px solid rgba(255, 255, 255, 0.15);
}

.bnl-shape--diamond {
    border: 2px solid rgba(234, 179, 8, 0.2);
    border-radius: 3px;
    transform: rotate(45deg);
}

.bnl-shape--ring {
    border: 2px solid rgba(234, 179, 8, 0.15);
    border-radius: 50%;
}

@keyframes bnlFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.06;
    }
    50% {
        opacity: 0.12;
    }
    100% {
        transform: translateY(-20px) rotate(15deg);
        opacity: 0.06;
    }
}

.bnl-shape:nth-child(even) {
    animation-direction: alternate-reverse;
    animation-duration: 10s;
}

.bnl-shape:nth-child(3n) {
    animation-duration: 12s;
}

/* Content above shapes */
.bnl-content,
.bnl-form-wrap {
    position: relative;
    z-index: 1;
}

/* ---- Responsive ---- */
@media screen and (max-width: 768px) {
    .bnl-container {
        flex-direction: column;
        padding: 32px 24px;
        gap: 28px;
    }

    .bnl-form-wrap {
        flex: none;
        width: 100%;
    }

    .bnl-title {
        font-size: 20px;
    }

    .bnl-features {
        flex-direction: column;
        gap: 8px;
    }
}
