/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Card Effect */
.product-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

/* Trust Badge Pulse */
.trust-badge {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

/* Chat Widget */
.chat-widget {
    transition: all 0.3s ease;
}

.chat-widget:hover {
    transform: scale(1.1);
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Compliance Banner */
.compliance-banner {
    background: linear-gradient(90deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
}

/* Exit Intent Modal */
.exit-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exit-modal.active {
    display: flex;
    opacity: 1;
}

.high-risk-card {
    border: 1px solid #f59e0b;
    background: #fffbeb;
}

/* Scrolling Testimonials */
.testimonials-track {
    animation: scroll-left 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Duplicate testimonials for seamless loop */
.testimonials-track::after {
    content: '';
    display: block;
    width: 100%;
}
