/* ==========================================================================
   ANIMATIONS CSS
   ========================================================================== */

/* Node float animation */
.node-float {
  animation: float 4s ease-in-out infinite;
}

.node-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

.line-animate {
  animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.4; }
}

/* Logo bar infinite scroll */
@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-bar__slide {
  display: flex;
  gap: var(--space-3xl);
  width: max-content;
}

/* Scroll indicator bounce */
.hero-scroll__dot {
  width: 4px;
  height: 8px;
  background: var(--color-accent-cyan);
  border-radius: var(--radius-full);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* CTA orbs */
.cta-final__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-final__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(79, 70, 229, 0.15);
  top: -100px;
  left: -100px;
}
.cta-final__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 229, 255, 0.1);
  bottom: -50px;
  right: -50px;
}

/* Badge pulse */
.hero-badge__dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* Chat widget pulse */
.chat-widget__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gradient-cta);
  opacity: 0;
  animation: chatPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes chatPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* Typing cursor */
.typing-cursor::after {
  content: '|';
  animation: blink 1s step-end infinite;
  color: var(--color-accent-cyan);
}
