/* Exit Intent Modal
   Styles for js/frontend/views/common-exit-intent-modal.js, used on product
   marketing pages (features/comparisons/channels). Mirrors the rules that
   ship in tools-downloader.css for the downloader pages so the same JS-built
   markup renders correctly on pages that don't load that stylesheet. */
.exit-intent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.exit-intent-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 540px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-intent-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #6b7280;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-intent-modal-close:hover {
    color: #111827;
}

.exit-intent-modal-header {
    text-align: center;
    margin-bottom: 32px;
}

.exit-intent-modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.exit-intent-modal-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.exit-intent-modal-features {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.exit-intent-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.exit-intent-feature:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.exit-intent-feature svg {
    flex-shrink: 0;
    color: #10b981;
}

.exit-intent-feature span {
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.exit-intent-modal-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.exit-intent-cta-button {
    display: inline-block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.exit-intent-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.exit-intent-dismiss {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: color 0.2s ease;
}

.exit-intent-dismiss:hover {
    color: #111827;
}

.exit-intent-modal-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.trust-stars {
    color: #fbbf24;
    font-size: 20px;
    letter-spacing: 2px;
}

.exit-intent-modal-trust span {
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .exit-intent-modal-content {
        padding: 32px 24px;
        max-width: 90%;
    }

    .exit-intent-modal-header h2 {
        font-size: 24px;
    }

    .exit-intent-modal-header p {
        font-size: 14px;
    }

    .exit-intent-feature {
        padding: 10px 12px;
    }

    .exit-intent-feature span {
        font-size: 14px;
    }

    .exit-intent-cta-button {
        padding: 14px 24px;
        font-size: 15px;
    }
}

