/* Exit Intent Popup Styles */

.exit-intent-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: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.exit-intent-popup {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #e94560;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.3);
    transform: translateY(-20px);
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
    }
}

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

.exit-intent-close:hover {
    color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.exit-intent-content {
    text-align: center;
    color: white;
}

.exit-intent-icon {
    margin-bottom: 20px;
}

.exit-intent-icon img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(1449%) hue-rotate(316deg) brightness(95%) contrast(91%);
}

.exit-intent-content h2 {
    font-family: 'Bellefair', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.exit-intent-headline {
    font-size: 1.3rem;
    color: #e94560;
    margin-bottom: 30px;
}

.exit-intent-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #a8b2d1;
}

.benefit-icon {
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    filter: brightness(0) saturate(100%) invert(91%) sepia(21%) saturate(7480%) hue-rotate(308deg) brightness(97%) contrast(93%);
    transition: all 0.3s ease;
}

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

#exit-intent-email {
    padding: 18px 24px;
    border: 2px solid #e94560;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    font-family: 'Bellefair', serif;
    text-align: center;
}

#exit-intent-email::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#exit-intent-email:focus {
    outline: none;
    border-color: #ff6b7d;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.exit-intent-submit {
    padding: 18px 36px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bellefair', serif;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.exit-intent-submit:hover:not(:disabled) {
    background: #ff6b7d;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.6);
}

.exit-intent-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.exit-intent-privacy {
    color: #a8b2d1;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.exit-intent-privacy img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(41%) saturate(267%) hue-rotate(180deg) brightness(96%) contrast(89%);
}

.exit-intent-success {
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon img {
    filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(1449%) hue-rotate(316deg) brightness(95%) contrast(91%);
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-note {
    color: #a8b2d1;
    margin-top: 20px;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

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

    .exit-intent-content h2 {
        font-size: 2rem;
    }

    .exit-intent-headline {
        font-size: 1.1rem;
    }

    .benefit-item {
        font-size: 0.95rem;
    }
}