/* ==========================================================================
   ERAONE SOLUTIONS — Motion System & Animation Architecture
   ========================================================================== */

/* Fade & Slide Reveal Helpers */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.reveal-fade-in {
  opacity: 0;
  will-change: opacity;
}

.reveal-scale-up {
  opacity: 0;
  transform: scale(0.94);
  will-change: opacity, transform;
}

/* Stagger Children */
.stagger-container > * {
  will-change: opacity, transform;
}

/* Floating Ambient Motion */
.float-element {
  animation: floatMotion 6s ease-in-out infinite;
}

.float-element-slow {
  animation: floatMotion 9s ease-in-out infinite;
}

.float-element-reverse {
  animation: floatMotionReverse 7s ease-in-out infinite;
}

@keyframes floatMotion {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatMotionReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1deg);
  }
}

/* Glow Pulses */
.pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 25px -5px rgba(0, 214, 197, 0.25);
  }
  50% {
    box-shadow: 0 0 45px 5px rgba(0, 214, 197, 0.45);
  }
}

/* Interactive Magnetic Button Container */
.magnetic-btn-wrap {
  display: inline-block;
  position: relative;
}

/* Custom Cursor (Optional Desktop Enhancement) */
@media (min-width: 1025px) {
  .has-custom-cursor {
    cursor: default;
  }
}

/* Reduced Motion Override */
@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-fade-up, .reveal-fade-in, .reveal-scale-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
