/* ============================================
   EXIT INTENT POPUP STYLES
   ============================================ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .popup-modal {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #95a5a6;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.popup-close:hover {
    background: #ecf0f1;
    color: #2c3e50;
    transform: rotate(90deg);
}

.popup-content {
    padding: 40px;
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.popup-icon svg {
    width: 40px;
    height: 40px;
}

.popup-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.popup-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
}

.popup-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
}

.popup-benefits li {
    font-size: 15px;
    color: #2c3e50;
    margin-bottom: 12px;
    padding-left: 8px;
    font-weight: 500;
}

.popup-benefits li:last-child {
    margin-bottom: 0;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.popup-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.popup-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.popup-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.popup-submit:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .popup-content {
        padding: 30px 24px;
    }

    .popup-title {
        font-size: 24px;
    }

    .popup-subtitle {
        font-size: 14px;
    }

    .popup-close {
        top: 12px;
        right: 12px;
    }
}