/* =========================================================
   CIBERMARKIA — ANIMATIONS.CSS
   Animaciones y keyframes separados del CSS principal.
   ========================================================= */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(168, 255, 62, 0); }
    50% { box-shadow: 0 0 20px rgba(168, 255, 62, 0.4); }
}

.scroll-indicator svg { animation: bounce 2s ease-in-out infinite; }

.section-badge { animation: pulseGlow 3s ease-in-out infinite; }

/* Revelado al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.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; }

.hero-content h1,
.hero-content .hero-subtitle,
.hero-content .hero-actions {
    animation: fadeInUp 0.8s ease both;
}
.hero-content .hero-subtitle { animation-delay: 0.15s; }
.hero-content .hero-actions { animation-delay: 0.3s; }
.hero-content .section-badge { animation: fadeInUp 0.8s ease both, pulseGlow 3s ease-in-out infinite 0.8s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; }
    .hero-content h1, .hero-content .hero-subtitle, .hero-content .hero-actions {
        animation: none;
    }
}
