/* === GSAP-driven reveal (initial state set by JS) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}

/* === Stagger delays for children === */
.stagger > *:nth-child(1) { --stagger-delay: 0s; }
.stagger > *:nth-child(2) { --stagger-delay: 0.1s; }
.stagger > *:nth-child(3) { --stagger-delay: 0.15s; }
.stagger > *:nth-child(4) { --stagger-delay: 0.2s; }
.stagger > *:nth-child(5) { --stagger-delay: 0.25s; }
.stagger > *:nth-child(6) { --stagger-delay: 0.3s; }
.stagger > *:nth-child(7) { --stagger-delay: 0.35s; }
.stagger > *:nth-child(8) { --stagger-delay: 0.4s; }

/* === Pulse glow for CTA === */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(228, 54, 99, 0.2); }
  50% { box-shadow: 0 4px 40px rgba(228, 54, 99, 0.4); }
}

.pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

/* === Floating animation for logos === */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--float-rotate, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--float-rotate, 0deg)); }
}

.float {
  animation: float var(--float-duration, 4s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

/* === Gradient text === */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Shimmer effect === */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer {
  background: linear-gradient(90deg,
    var(--on-surface-bright) 0%,
    var(--primary) 50%,
    var(--on-surface-bright) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* === Reduced motion override === */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right {
    opacity: 1;
    transform: none;
  }

  .float {
    animation: none;
  }

  .pulse-glow {
    animation: none;
  }

  .shimmer {
    animation: none;
  }
}
