/* =========================================
   EXIT INTENT POPUP
   ========================================= */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.exit-popup.visible {
    display: flex;
    animation: fadeIn 0.5s ease-out;
}

.exit-popup-content {
    background: #111;
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 50px rgba(41, 198, 204, 0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.image-side {
    position: relative;
    overflow: hidden;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-side {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-side h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.text-side p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-popup:hover {
    background: #fff;
    color: #000;
}

.btn-text {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    margin-top: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

.btn-text:hover {
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

    .image-side {
        height: 200px;
    }
}