/* Strong & Cinematic Animations */
:root {
    --anim-duration: 0.8s;
    --anim-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --anim-distance: 60px;
}

/* Base Animation Classes */
.cinematic-entry,
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity, filter;
    transform: translateY(var(--anim-distance)) scale(0.95);
    filter: blur(10px);
    transition:
        opacity var(--anim-duration) var(--anim-ease),
        transform var(--anim-duration) var(--anim-ease),
        filter var(--anim-duration) var(--anim-ease);
}

.cinematic-entry.visible,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Override Hero Animations for Stronger Effect */
@keyframes fadeUpBlurStrong {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title,
.hero-badge,
.hero-description,
.hero-trust,
.hero-cta,
.hero-stats {
    animation-name: fadeUpBlurStrong !important;
    animation-duration: 1.2s !important;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Left/Right Entrances */
.cinematic-left {
    opacity: 0;
    transform: translateX(calc(var(--anim-distance) * -1)) skewX(-5deg);
    filter: blur(5px);
    transition: all var(--anim-duration) var(--anim-ease);
}

.cinematic-left.visible {
    opacity: 1;
    transform: translateX(0) skewX(0);
    filter: blur(0);
}

.cinematic-right {
    opacity: 0;
    transform: translateX(var(--anim-distance)) skewX(5deg);
    filter: blur(5px);
    transition: all var(--anim-duration) var(--anim-ease);
}

.cinematic-right.visible {
    opacity: 1;
    transform: translateX(0) skewX(0);
    filter: blur(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* 3D Hover Effects */
.hover-3d {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.hover-3d:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(-5deg);
    box-shadow:
        0 20px 40px -5px rgba(31, 107, 255, 0.3),
        0 10px 20px -5px rgba(31, 107, 255, 0.2);
}

/* Neon Glow Pulse */
@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(31, 107, 255, 0.5), 0 0 20px rgba(31, 107, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(31, 107, 255, 0.8), 0 0 50px rgba(31, 107, 255, 0.5);
    }
}

.hero-gradient,
.btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-gradient::after,
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.neon-glow {
    animation: neonPulse 3s infinite;
}

/* Glassmorphism Plus */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 107, 255, 0.15);
}

.glass-panel-dark {
    background: rgba(14, 42, 71, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Parallax Container */
.parallax-container {
    overflow: hidden;
    position: relative;
}

.parallax-element {
    will-change: transform;
}