/* ===== SCROLL REVEAL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for child elements */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Slide from left */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.animate-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Fade in */
.animate-fade {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.animate-fade.visible {
    opacity: 1;
}

/* ===== COUNTER ANIMATION ===== */
.counter-value {
    font-variant-numeric: tabular-nums;
}

/* ===== HERO TEXT ANIMATION ===== */
.hero-title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: wordSlideUp 0.5s ease forwards;
}

@keyframes wordSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger word animations */
.hero-title-word:nth-child(1) { animation-delay: 0.1s; }
.hero-title-word:nth-child(2) { animation-delay: 0.2s; }
.hero-title-word:nth-child(3) { animation-delay: 0.3s; }
.hero-title-word:nth-child(4) { animation-delay: 0.4s; }
.hero-title-word:nth-child(5) { animation-delay: 0.5s; }
.hero-title-word:nth-child(6) { animation-delay: 0.6s; }
.hero-title-word:nth-child(7) { animation-delay: 0.7s; }
.hero-title-word:nth-child(8) { animation-delay: 0.8s; }
.hero-title-word:nth-child(9) { animation-delay: 0.9s; }
.hero-title-word:nth-child(10) { animation-delay: 1.0s; }

/* ===== PULSE GLOW ===== */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(77, 163, 254, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(77, 163, 254, 0.4);
    }
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* ===== FLOAT ANIMATION ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}
