/* ============================================
   AGENEX ANIMATIONS
   ============================================ */

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

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255, 107, 53, 0.30); }
  50%      { box-shadow: 0 8px 36px rgba(255, 107, 53, 0.65); }
}

@keyframes pulseGlowAccent {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 200, 150, 0.30); }
  50%      { box-shadow: 0 8px 36px rgba(0, 200, 150, 0.60); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0.50); }
  70%  { box-shadow: 0 0 0 16px rgba(0, 200, 150, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 150, 0); }
}

@keyframes tilt {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(2deg); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* DELAY HELPERS */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }
.delay-6 { transition-delay: 0.60s; }

/* STAGGERED CHILDREN */
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.45s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.55s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.65s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.75s; }

/* APPLIED ANIMATIONS */
.float-anim    { animation: floatY 3.4s ease-in-out infinite; }
.float-slow    { animation: floatY 5s ease-in-out infinite; }
.pulse-cta     { animation: pulseGlow 2.4s ease-in-out infinite; }
.pulse-accent  { animation: pulseGlowAccent 2.4s ease-in-out infinite; }
.pulse-dot     { animation: pulseDot 1.5s ease-in-out infinite; }
.ring-pulse    { animation: ringPulse 2.4s ease-out infinite; }
.fade-in       { animation: fadeIn 0.6s ease forwards; }
.fade-in-up    { animation: fadeInUp 0.8s ease forwards; }
.slide-right   { animation: slideInRight 0.7s ease forwards; }
.slide-left    { animation: slideInLeft 0.7s ease forwards; }

/* HOVER LIFT */
.hover-lift {
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

/* SHIMMER OVERLAY */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 2.6s infinite;
  pointer-events: none;
}

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

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}
