/* ========================================
   VIONIXO Brand Portal — Animations
   ======================================== */

/* ---- Orb float ---- */

@keyframes orb-float-1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(60px, 40px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 70px) scale(0.95);
  }
}

@keyframes orb-float-2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-50px, -40px) scale(1.15);
  }
  70% {
    transform: translate(40px, 30px) scale(0.9);
  }
}

@keyframes orb-float-3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.45;
  }
  50% {
    transform: translate(-45%, -55%) scale(1.2);
    opacity: 0.6;
  }
}

/* ---- Scroll hint ---- */

@keyframes scroll-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.scroll-hint-dot {
  animation: scroll-hint-bounce 1.8s ease-in-out infinite;
}

/* ---- Scroll reveal (fallback before GSAP) ---- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay='1'] {
  transition-delay: 0.1s;
}

.reveal[data-delay='2'] {
  transition-delay: 0.2s;
}

.reveal[data-delay='3'] {
  transition-delay: 0.3s;
}

.reveal[data-delay='4'] {
  transition-delay: 0.4s;
}

/* ---- Gradient shimmer on hero (subtle) ---- */

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-tagline {
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #2563eb, #22d3ee);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 6s ease infinite;
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
