/* --- Exit Intent Modal --- */
.exit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 26, 51, 0.6);
    /* Dark navy see-through */
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.exit-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.exit-modal-content {
    background: url('../../asset/img/modal-bg-pattern.png'), linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    background-size: cover;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid white;
}

.exit-modal-overlay.active .exit-modal-content {
    transform: translateY(0) scale(1);
}

.modal-badge {
    background: #ff4757;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.exit-modal-content h3 {
    font-size: 1.8rem;
    color: #0b2341;
    margin-bottom: 15px;
    font-weight: 800;
}

.exit-modal-content p {
    color: #57606f;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-audit {
    background: var(--primary-color, #0b2341);
    color: white;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s;
    box-shadow: 0 10px 20px rgba(11, 35, 65, 0.2);
    border: none;
    cursor: pointer;
}

.btn-audit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(11, 35, 65, 0.3);
}

.btn-close-text {
    background: none;
    border: none;
    color: #a4b0be;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

/* --- Cookie Consent Bar --- */
.cookie-consent-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(11, 35, 65, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    width: 90%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-consent-bar.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-text {
    font-size: 0.9rem;
    flex: 1;
}

.btn-accept-cookie {
    background: white;
    color: #0b2341;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-accept-cookie:hover {
    background: #e0efff;
}

@media (max-width: 576px) {
    .cookie-consent-bar {
        flex-direction: column;
        border-radius: 20px;
        text-align: center;
        bottom: 80px;
        /* Above mobile nav/wa button */
    }
}