/* =============================================
   BENNYBOT — Animation Keyframes & Utilities
   ============================================= */
/* --- Pulse Glow (CTA Button) --- */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.25);
  }
  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, 0.5), 0 0 80px rgba(37, 211, 102, 0.15);
  }
}
/* --- Pulse (dot indicator) --- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* --- Float (Hero floating elements) --- */
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(1deg); }
  75% { transform: translateY(8px) rotate(-1deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-16px) rotate(-2deg); }
  66% { transform: translateY(10px) rotate(2deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
/* --- Fade In Up --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- Fade In --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* --- Scale In --- */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* --- Slide In Left --- */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* --- Slide In Right --- */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* --- Typing Indicator Dots --- */
@keyframes typingDot {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
/* --- Notification Pop --- */
@keyframes notificationPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.8);
  }
  60% {
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* --- Grid Background Movement --- */
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}
/* --- AI Node Pulse --- */
@keyframes nodePulse {
  0%, 100% {
    box-shadow: 0 0 8px var(--accent-blue-glow);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 24px var(--accent-blue-glow), 0 0 48px rgba(108, 99, 255, 0.1);
    transform: scale(1.2);
  }
}
/* --- AI Connection Line Flow --- */
@keyframes lineFlow {
  0% {
    stroke-dashoffset: 200;
    opacity: 0.2;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.2;
  }
}
/* --- Shimmer Effect --- */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
/* --- Glow Orbit --- */
@keyframes glowOrbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* --- Blink Cursor --- */
@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
/* --- Status Online --- */
@keyframes statusOnline {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }
}
/* --- Gradient Shift --- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* =============================================
   Animation Utility Classes
   ============================================= */
.animate-float-1 { animation: float1 6s ease-in-out infinite; }
.animate-float-2 { animation: float2 7s ease-in-out infinite; }
.animate-float-3 { animation: float3 5s ease-in-out infinite; }
.animate-fade-in { animation: fadeIn var(--duration-slower) var(--ease-out) forwards; }
.animate-fade-in-up { animation: fadeInUp var(--duration-slower) var(--ease-out) forwards; }
.animate-scale-in { animation: scaleIn var(--duration-slower) var(--ease-out) forwards; }
.animate-shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}
/* --- Stagger Delays --- */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
/* --- Typing Indicator --- */
.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: var(--wa-bubble-in);
  border-radius: 8px;
  border-top-left-radius: 0;
}
.typing-indicator .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-text);
  animation: typingDot 1.4s ease-in-out infinite;
}
.typing-indicator .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}
/* --- Background Grid --- */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}
/* --- Gradient Orbs --- */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.gradient-orb--green {
  background: var(--accent-green);
  opacity: 0.07;
}
.gradient-orb--blue {
  background: var(--accent-blue);
  opacity: 0.07;
}
.gradient-orb--purple {
  background: var(--accent-purple);
  opacity: 0.05;
}