.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup.hidden {
    display: none;
}

.exit-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    position: relative;
    background: white;
    max-width: 500px;
    width: 90%;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: exit-popup-appear 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes exit-popup-appear {
    from {
        transform: scale(0.8) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exit-popup-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.exit-popup-icon {
    font-size: 64px;
    margin-bottom: 15px;
    animation: exit-icon-bounce 1s ease infinite;
}

@keyframes exit-icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.exit-popup-title {
    font-size: 32px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 10px;
}

.exit-popup-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.exit-popup-offer {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.exit-offer-badge {
    display: block;
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.exit-offer-text {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.exit-email-input {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.exit-email-input:focus {
    outline: none;
    border-color: #2fb5d2;
}

.exit-submit-btn {
    background: linear-gradient(135deg, #2fb5d2 0%, #1a9ab8 100%);
    color: white;
    border: none;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 181, 210, 0.3);
}

.exit-submit-btn:hover {
    background: linear-gradient(135deg, #1a9ab8 0%, #157a92 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 181, 210, 0.4);
}

.exit-popup-guarantee {
    color: #999;
    font-size: 12px;
    margin: 0;
}

@media (max-width: 768px) {
    .exit-popup-content {
        padding: 30px 20px;
    }

    .exit-popup-title {
        font-size: 26px;
    }

    .exit-popup-subtitle {
        font-size: 16px;
    }

    .exit-offer-badge {
        font-size: 40px;
    }

    .exit-offer-text {
        font-size: 16px;
    }
}
