/* =========================================================
   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);
  }
}

/* 3D Mascot & Badge Floating */
.mascot-float {
  animation: mascotHover 5s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

@keyframes mascotHover {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1.5deg);
  }

  100% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

.float-badge-1 {
  animation: floatBadgeOne 4s ease-in-out infinite alternate;
}

@keyframes floatBadgeOne {
  0% {
    transform: translateY(0px) rotate(-3deg);
  }

  100% {
    transform: translateY(-8px) rotate(3deg);
  }
}

.float-badge-2 {
  animation: floatBadgeTwo 4.8s ease-in-out infinite alternate 0.6s;
}

@keyframes floatBadgeTwo {
  0% {
    transform: translateY(0px) rotate(2deg);
  }

  100% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

.float-badge-3 {
  animation: floatBadgeThree 4.2s ease-in-out infinite alternate 1.2s;
}

@keyframes floatBadgeThree {
  0% {
    transform: translateY(0px) rotate(-2deg);
  }

  100% {
    transform: translateY(-9px) rotate(4deg);
  }
}

/* 3D Robot Mascot & Stage Floating with Dynamic Holographic Aura */
@keyframes floatMascot {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.35);
  }

  50% {
    transform: translateY(-16px) rotate(2.5deg) scale(1.025);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 55px rgba(56, 189, 248, 0.6);
  }

  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.35);
  }
}

@keyframes pulseGlowAura {

  0%,
  100% {
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.25), 0 0 70px rgba(99, 102, 241, 0.15);
  }

  50% {
    box-shadow: 0 0 55px rgba(56, 189, 248, 0.45), 0 0 95px rgba(99, 102, 241, 0.3);
  }
}

@keyframes subtleGlowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

.glow-ambient {
  animation: subtleGlowPulse 6s ease-in-out infinite;
}

/* 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;
  }
}