/* ==========================================================================
   Avyay Intellitech — Subtle Animations & Transitions
   Inspired by Skiper UI & Citian (Zero AI-slop, 60fps hardware accelerated)
   ========================================================================== */

/* Viewport Entry Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays for Grids */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Status Dot Pulse */
@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.35); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Telemetry Scanner Line */
@keyframes scannerLine {
    0% { transform: translateY(0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(210px); opacity: 0; }
}

/* Gentle Target Float */
@keyframes targetRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-infinite {
    animation: targetRotate 20s linear infinite;
}

/* Micro Focus Ring Glow */
@keyframes ringGlow {
    0% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(8, 145, 178, 0); }
    100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0); }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
    }
}
