/* ==================== EXIT INTENT POP-UP ==================== */
.exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.exit-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

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

.exit-popup-content {
    position: relative;
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: slideInDown 0.4s ease-out;
    border: 2px solid #00d9ff;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    z-index: 10;
}

.exit-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.exit-popup-body {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.exit-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00d9ff 0%, #00b8d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 217, 255, 0.6);
    }
}

.exit-popup-icon svg {
    color: #1e1e1e;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.exit-popup-title {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.exit-popup-description {
    font-size: 1.125rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.exit-popup-description strong {
    color: #00d9ff;
}

.exit-popup-description .highlight {
    display: inline-block;
    color: #00d9ff;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 0.5rem;
}

.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.exit-form-group {
    position: relative;
}

.exit-form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #404040;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
}

.exit-form-group input:focus {
    outline: none;
    border-color: #00d9ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

.exit-form-group input::placeholder {
    color: #a0a0a0;
}

.exit-popup-btn {
    width: 100%;
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, #00d9ff 0%, #00b8d4 100%);
    color: #1e1e1e;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 217, 255, 0.4);
}

.exit-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 217, 255, 0.6);
}

.exit-popup-btn:active {
    transform: translateY(0);
}

.exit-popup-privacy {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin: 0;
}

/* Responsividade Mobile */
@media (max-width: 767px) {
    .exit-popup-content {
        max-width: calc(100% - 2rem);
    }
    
    .exit-popup-body {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .exit-popup-title {
        font-size: 1.5rem;
    }
    
    .exit-popup-description {
        font-size: 1rem;
    }
    
    .exit-popup-description .highlight {
        font-size: 1.125rem;
    }
    
    .exit-form-group input {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    .exit-popup-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .exit-popup-icon {
        width: 64px;
        height: 64px;
    }
    
    .exit-popup-icon svg {
        width: 40px;
        height: 40px;
    }
}
