/* ==========================================================================
   VSPCI MANAGEMENT - ANIMATIONS & INTERACTIONS
   ========================================================================== */

/* --- Keyframe Animations --- */

/* Pulse Glow */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(201, 168, 76, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  }
}

.pulse-glow {
  animation: pulseGlow 2.5s infinite;
}

/* Floating Animation */
@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.animate-float {
  animation: floatY 5s ease-in-out infinite;
}

/* Subtle Orbit / Rotation */
@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-rotate {
  animation: slowRotate 40s linear infinite;
}

/* --- Reveal Masks & Lines --- */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Card Tilt & Glow Utilities --- */
.card-glow-border {
  position: relative;
}

.card-glow-border::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(201,168,76,0.6) 0%, rgba(30,64,175,0.4) 100%);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-glow-border:hover::after {
  opacity: 1;
}

/* Ecosystem SVG animation styles */
.ecosystem-center {
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ecosystem-center:hover {
  transform: scale(1.08);
}

.orbit-node {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.orbit-node:hover {
  transform: scale(1.18);
  filter: drop-shadow(0 0 15px rgba(201, 168, 76, 0.6));
}

.connecting-line {
  stroke-dasharray: 6;
  animation: dashAnimation 20s linear infinite;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

@keyframes dashAnimation {
  to {
    stroke-dashoffset: -100;
  }
}

/* Lottie Container */
.lottie-box {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}
