/**
 * Hnextmove Kinetic Animations
 * Modern Biomechanical & Micro-Interactions
 */

@keyframes pulseVolt {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 254, 43, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(212, 254, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 254, 43, 0);
  }
}

@keyframes pulseTangerine {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 83, 42, 0.7);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(255, 83, 42, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 83, 42, 0);
  }
}

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

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes scanline {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(1000%);
  }
}

/* Kinetic Utility Classes */
.animate-pulse-volt {
  animation: pulseVolt 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

.animate-pulse-tangerine {
  animation: pulseTangerine 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

.animate-spin-slow {
  animation: rotateSlow 20s linear infinite;
}

/* Joint Interactive Hotspots */
.joint-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-volt);
  color: #090D14;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform var(--transition-fast);
  animation: pulseVolt 2s infinite;
}

.joint-hotspot:hover, .joint-hotspot.active {
  transform: scale(1.3);
  background: var(--color-tangerine);
  animation: pulseTangerine 1.5s infinite;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Price Pulse Micro-Interaction */
@keyframes pricePulse {
  0% {
    transform: scale(1);
    color: var(--color-volt);
  }
  40% {
    transform: scale(1.08);
    color: #FFFFFF;
    text-shadow: 0 0 14px var(--color-volt);
  }
  100% {
    transform: scale(1);
    color: var(--color-volt);
  }
}

.price-pulse {
  animation: pricePulse 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

/* Accessibility & Battery Saving (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;
  }
}

