/* ═══════════════════════════════════════════════════════════════
   animations.css — All keyframe animations for aeramoney.com
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero entrance stagger ──────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Gold shimmer ────────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ─── Phone floating ──────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

/* ─── Phone screen crossfade ──────────────────────────────────── */
@keyframes screen-cycle {
  0%, 5%    { opacity: 1; }
  28%, 100% { opacity: 0; }
}

/* ─── Orb drift animations (hero mesh background) ────────────── */
@keyframes drift-a {
  0%, 100% { transform: translate(0px, 0px); }
  33%       { transform: translate(40px, -30px); }
  66%       { transform: translate(-20px, 25px); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0px, 0px); }
  50%       { transform: translate(-35px, 40px); }
}

@keyframes drift-c {
  0%, 100% { transform: translate(0px, 0px); }
  40%       { transform: translate(30px, -20px); }
  80%       { transform: translate(-15px, 30px); }
}

@keyframes drift-d {
  0%, 100% { transform: translate(0px, 0px); }
  60%       { transform: translate(25px, -35px); }
}

/* ─── Brand strip pulse glow ──────────────────────────────────── */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* ─── Scroll entrance animation ───────────────────────────────── */
/*
  Elements with .animate-on-scroll start invisible.
  scroll-animate.js adds .visible when they enter the viewport.
*/
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for feature cards (set via inline style) */
.feature-card.animate-on-scroll { transition-property: opacity, transform, box-shadow; }
