/* === ANIMATIONS.CSS === */
/* assets/css/animations.css */
/* НАЗНАЧЕНИЕ: Scroll reveal анимации, cursor blink, glow-pulse */
/* РАЗМЕР: ~80 строк */

/* -- Scroll Reveal -- */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* -- Cursor Blink -- */
@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* .ld-cursor определен в landing.css - не дублировать */

/* -- Glow Pulse (CTA button) -- */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(16, 185, 129, 0.3),
                    0 0 20px rgba(16, 185, 129, 0.1);
    }
    50% {
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5),
                    0 0 40px rgba(16, 185, 129, 0.2);
    }
}

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

/* -- Processing bar animation -- */
@keyframes processing-bar {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 95%; }
}

/* -- Fade in -- */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fade-in 0.3s ease forwards;
}

/* -- Pulse dot (status processing) -- */
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}
