/* ==========================================================================
   Eqra Tech - Keyframe Animations & Micro-Interactions
   ========================================================================== */

/* Fade In Up Entrance */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* Floating Bounces */
.floating-bounce {
    animation: floatingSmooth 4s ease-in-out infinite alternate;
}

.floating-bounce-slow {
    animation: floatingSmooth 6s ease-in-out infinite alternate-reverse;
}

@keyframes floatingSmooth {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    100% {
        transform: translateY(-14px) rotate(1deg);
    }
}

/* Pulse Hub & Glowing Dots */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.35);
    }
}

@keyframes pulseHub {
    0%, 100% {
        box-shadow: 0 0 25px rgba(14, 165, 233, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 45px rgba(14, 165, 233, 0.85);
        transform: scale(1.04);
    }
}

/* Button Gleam */
@keyframes buttonGleam {
    0% {
        left: -100%;
    }
    30%, 100% {
        left: 200%;
    }
}

/* Audio Waveform Animation */
@keyframes waveAnim {
    0% {
        height: 6px;
        background-color: #0ea5e9;
    }
    50% {
        height: 32px;
        background-color: #10b981;
    }
    100% {
        height: 14px;
        background-color: #6366f1;
    }
}

/* Slow Rotation for Avatar Rings */
@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Data Row Flash on Clean */
@keyframes cleanHighlight {
    0% {
        background-color: rgba(16, 185, 129, 0.4);
    }
    100% {
        background-color: transparent;
    }
}

.row-cleaned-flash {
    animation: cleanHighlight 1.5s ease-out;
}
