/* =========================================================
   TOOL FIXT - ANIMATIONS & MOTION
   Lightweight, Non-Intrusive, Accessible
   ========================================================= */

/* Floating abstract shapes for Hero section */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, transparent 70%);
  top: -60px;
  left: 10%;
  animation: floatSlow 12s ease-in-out infinite alternate;
}

.shape-square {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: 0;
  right: 12%;
  animation: floatReverse 14s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-24px) rotate(8deg); }
}

@keyframes floatReverse {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(20px) rotate(-6deg); }
}

/* Subtle pulse for online/live badges */
.pulse-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Accessible prefers-reduced-motion check */
@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;
  }
}
