/* =============================================================
   PRANAV TECHY — animations.css
   Keyframes + motion primitives (paired with main.js / AOS)
   ============================================================= */

/* Pulsing status dot */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56,189,248,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(56,189,248,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,189,248,0); }
}

/* Slow rotation for orbit rings */
@keyframes spin { to { transform: rotate(360deg); } }

/* Floating chips in hero */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-14px) translateX(4px); }
}

/* Continuous marquee */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 1.75rem)); } /* half track + half gap */
}

/* Gentle gradient shimmer for accent text on load */
@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Hero entrance — staggered fade-up */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: none; }
}
.hero [data-hero] { opacity: 0; animation: heroUp 0.9s var(--ease-out) forwards; }
.hero [data-hero="1"] { animation-delay: 0.15s; }
.hero [data-hero="2"] { animation-delay: 0.30s; }
.hero [data-hero="3"] { animation-delay: 0.45s; }
.hero [data-hero="4"] { animation-delay: 0.60s; }
.hero [data-hero="5"] { animation-delay: 0.75s; }
.hero__visual { opacity: 0; animation: heroUp 1s var(--ease-out) 0.4s forwards; }

/* Typing caret blink */
@keyframes caret { 50% { border-color: transparent; } }
.hero__type { animation: caret 1s step-end infinite; }

/* Count-up flash when stat enters */
@keyframes statPop {
  0% { transform: scale(0.92); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.stat.in .stat__num { animation: statPop 0.6s var(--ease); }

/* Subtle gradient drift on CTA band */
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3%, 3%); }
}

/* Magnetic button helper transitions handled in JS via transform */

/* Respect reduced motion: disable looping ambient animations */
@media (prefers-reduced-motion: reduce) {
  .chip, .orbit-ring--1, .orbit-ring--2, .marquee__track,
  .hero__eyebrow .dot { animation: none !important; }
  .hero [data-hero], .hero__visual { opacity: 1 !important; animation: none !important; }
  .hero__type { border-right: none; }
}
