@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-8deg) scale(0.95);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(242, 143, 34, 0.2);
  }
  50% {
    border-color: rgba(242, 143, 34, 0.7);
  }
}
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.8);
  }
}

.anim-slide-left {
  animation: slideInLeft 0.5s ease forwards;
}
.anim-slide-right {
  animation: slideInRight 0.5s ease forwards;
}
.anim-scale-in {
  animation: scaleIn 0.4s ease forwards;
}
.anim-float {
  animation: floatUp 4s ease-in-out infinite;
}
.anim-gradient {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
.anim-border-glow {
  animation: borderGlow 2.5s ease-in-out infinite;
}

.hero-stats-grid .stat-tile {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}
.hero-stats-grid .stat-tile:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-stats-grid .stat-tile:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-stats-grid .stat-tile:nth-child(3) {
  animation-delay: 0.15s;
}
.hero-stats-grid .stat-tile:nth-child(4) {
  animation-delay: 0.2s;
}
.hero-stats-grid .stat-tile:nth-child(5) {
  animation-delay: 0.25s;
}
.hero-stats-grid .stat-tile:nth-child(6) {
  animation-delay: 0.3s;
}
.hero-stats-grid .stat-tile:nth-child(7) {
  animation-delay: 0.35s;
}
.hero-stats-grid .stat-tile:nth-child(8) {
  animation-delay: 0.4s;
}

.btn--pri:active {
  transform: translateY(0) scale(0.97);
}
.btn--sec:active {
  transform: translateY(0) scale(0.97);
}

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