@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@keyframes data-flow {
  0% { stroke-dashoffset: 1000; opacity: 0.3; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.3; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--cyan-glow); }
  50% { box-shadow: 0 0 40px var(--cyan-glow), 0 0 60px rgba(139, 92, 246, 0.2); }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--text) 0%, var(--cyan) 50%, var(--text) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Stagger children on reveal — visible by default; animate only with JS */
.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}
html.js .reveal-stagger:not(.visible) > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
html.js .reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
html.js .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
html.js .reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
html.js .reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
html.js .reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
html.js .reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
html.js .reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
