/* ─── ANIMATIONS ──────────────────────────────────── */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  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; }

/* Hero entrance animations */
.hero-badge {
  animation: fade-in-up 0.6s 0.3s both;
}

.hero-title .title-line:nth-child(1) { animation: fade-in-up 0.6s 0.4s both; }
.hero-title .title-line:nth-child(2) { animation: fade-in-up 0.6s 0.5s both; }
.hero-title .title-line:nth-child(3) { animation: fade-in-up 0.6s 0.6s both; }

.hero-sub {
  animation: fade-in-up 0.6s 0.7s both;
}

.hero-cta {
  animation: fade-in-up 0.6s 0.8s both;
}

.hero-terminal {
  animation: fade-in-up 0.8s 0.5s both;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
