/* ==========================================================================
   SmartBiz - Animation Effects & Micro-Interactions
   ========================================================================== */

/* Ambient Glow Pulsing */
@keyframes ambientGlow {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: ambientGlow 8s ease-in-out infinite;
}

.glow-blue {
  background: radial-gradient(circle, rgba(0, 114, 255, 0.45) 0%, transparent 70%);
}

.glow-cyan {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.35) 0%, transparent 70%);
}

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

.float-slow {
  animation: floatY 6s ease-in-out infinite;
}

/* Gradient Shimmer on Borders & Badges */
@keyframes shimmerBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.shimmer-badge {
  background: linear-gradient(90deg, rgba(0, 114, 255, 0.15), rgba(0, 210, 255, 0.35), rgba(0, 114, 255, 0.15));
  background-size: 200% auto;
  animation: shimmerBorder 4s linear infinite;
}

/* Scroll Reveal Elements - Visible by default to guarantee zero missing content */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Interactive Hover Tilt */
.tilt-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.tilt-card:hover {
  transform: translateY(-6px);
}

/* Radar Pulse for Global Map */
@keyframes radarPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.map-node-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-secondary);
}

.map-node-pulse::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-secondary);
  animation: radarPulse 2.2s infinite;
}
