/* ============================================
   BETTOR LABS - Animation Styles
   ============================================ */

/* --- HERO ANIMATIONS --- */
.hero-badge {
  animation: fade-in-up 0.6s ease-out 0.2s both;
}

h1 {
  animation: fade-in-up 0.6s ease-out 0.3s both;
}

.hero-visual {
  animation: fade-in-up 0.8s ease-out 0.5s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- COUNTER ANIMATION --- */
.counter {
  font-variant-numeric: tabular-nums;
}

/* --- PULSE --- */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* --- SCROLL REVEAL --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- STAGGER CHILDREN --- */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.stagger-children.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.revealed > *:nth-child(5) { transition-delay: 0.5s; }

.stagger-children.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- HOVER EFFECTS --- */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

/* --- GLOW EFFECTS --- */
.glow-primary {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.glow-emerald {
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* --- LOADING SKELETON --- */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
