
/* Exit Popup Styles */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

.exit-popup-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.exit-popup-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #333;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.exit-popup-overlay.visible .exit-popup-content {
    transform: translateY(0);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #fff;
}

.popup-header h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.popup-body p {
    color: #ccc;
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-body .subtext {
    font-size: 14px;
    color: #888;
    margin-top: -15px;
    margin-bottom: 30px;
}

.popup-cta {
    display: inline-block;
    background: #10b981; /* Primary Green */
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    background: #059669;
}

/* Mobile Fixes */
@media (max-width: 480px) {
    .exit-popup-content {
        padding: 24px 16px;
        width: 92%;
        border-radius: 14px;
    }

    .popup-header h2 {
        font-size: 22px;
    }

    .popup-body p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .popup-cta {
        padding: 13px 24px;
        font-size: 15px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    .close-popup {
        top: 10px;
        right: 14px;
        font-size: 24px;
    }
}
