/* EXIT INTENT OFFER */

.exit-offer-overlay[hidden] {
    display: none !important;
}

.exit-offer-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: rgba(0, 0, 0, 0.80);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: exitOfferFade 0.25s ease;
}

.exit-offer-modal,
.exit-offer-modal * {
    box-sizing: border-box;
}

.exit-offer-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 45px 35px 30px;
    background: linear-gradient(145deg, #20242c, #101216);
    border: 1px solid #383d46;
    border-radius: 18px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.65);
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    animation: exitOfferSlide 0.3s ease;
}

.exit-offer-close {
    position: absolute;
    top: 12px;
    right: 17px;
    padding: 0;
    background: none;
    border: 0;
    color: #999999;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.exit-offer-close:hover {
    color: #ffffff;
}

.exit-offer-badge {
    display: inline-block;
    padding: 8px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 30px;
    background: rgba(59, 130, 246, 0.12);
    color: #70b1ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.exit-offer-modal h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
}

.exit-offer-description {
    max-width: 350px;
    margin: 0 auto 25px;
    color: #b9bec8;
    font-size: 16px;
    line-height: 1.6;
}

.exit-offer-pricing {
    margin: 25px 0;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.exit-offer-original {
    color: #999999;
    font-size: 17px;
    text-decoration: line-through;
}

.exit-offer-price {
    margin: 8px 0;
    color: #ffffff;
    font-size: 68px;
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1.1;
}

.exit-offer-price span {
    font-size: 35px;
    vertical-align: super;
    letter-spacing: 0;
}

.exit-offer-savings {
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.exit-offer-cta {
    display: block;
    width: 100%;
    padding: 19px 12px;
    border-radius: 8px;
    background: linear-gradient(180deg, #398bff, #1760d5);
    box-shadow: 0 5px 25px rgba(37, 99, 235, 0.25);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.exit-offer-cta:hover {
    background: linear-gradient(180deg, #559cff, #2673ed);
    transform: translateY(-2px);
}

.exit-offer-decline {
    margin-top: 18px;
    padding: 5px;
    border: 0;
    background: none;
    color: #999999;
    font-size: 13px;
    cursor: pointer;
}

.exit-offer-decline:hover {
    color: #ffffff;
}

@keyframes exitOfferFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes exitOfferSlide {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .exit-offer-overlay,
    .exit-offer-modal {
        animation: none;
    }

    .exit-offer-cta {
        transition: none;
    }
}

/* MOBILE EXIT OFFER */

@media (max-width: 767px) {

    .exit-offer-overlay {
        padding: 15px;
    }

    .exit-offer-modal {
        max-width: 400px;
        max-height: calc(100dvh - 30px);
        overflow-y: auto;
        padding: 35px 20px 20px;
        border-radius: 14px;
    }

    .exit-offer-modal h2 {
        font-size: 28px;
    }

    .exit-offer-description {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .exit-offer-pricing {
        margin: 15px 0;
        padding: 18px 10px;
    }

    .exit-offer-price {
        font-size: 54px;
    }

    .exit-offer-badge {
        margin-bottom: 15px;
    }

    .exit-offer-cta {
        font-size: 14px;
        padding: 17px 10px;
    }

    .exit-offer-decline {
        margin-top: 12px;
    }

}