/* ====================================================
   SheBoss AI — Animations & Keyframes
   ==================================================== */

/* ====== KEYFRAMES ====== */

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(200%); }
  100% { transform: translateX(-100%); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

@keyframes rippleEffect {
  to { transform: scale(4); opacity: 0; }
}

@keyframes spinLoader {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes counterPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ====== SCROLL REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered grid animations */
.problems-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.problems-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.problems-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.problems-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

.tech-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.tech-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.tech-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.tech-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

.global-grid .reveal:nth-child(1) { transition-delay: 0.1s; }
.global-grid .reveal:nth-child(2) { transition-delay: 0.2s; }
.global-grid .reveal:nth-child(3) { transition-delay: 0.3s; }
.global-grid .reveal:nth-child(4) { transition-delay: 0.4s; }

.testimonials-wrapper .reveal:nth-child(1) { transition-delay: 0.1s; }
.testimonials-wrapper .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials-wrapper .reveal:nth-child(3) { transition-delay: 0.2s; }

.features-list .reveal:nth-child(1) { transition-delay: 0s; }
.features-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-list .reveal:nth-child(4) { transition-delay: 0.3s; }

.journey-step.reveal:nth-child(1) { transition-delay: 0s; }
.journey-step.reveal:nth-child(2) { transition-delay: 0.1s; }
.journey-step.reveal:nth-child(3) { transition-delay: 0.2s; }
.journey-step.reveal:nth-child(4) { transition-delay: 0.3s; }
.journey-step.reveal:nth-child(5) { transition-delay: 0.4s; }
.journey-step.reveal:nth-child(6) { transition-delay: 0.5s; }

.ai-grid .reveal:nth-child(1) { transition-delay: 0s; }
.ai-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

.pricing-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.15s; }

/* About section stagger */
.about-visual.reveal { transition-delay: 0s; }
.about-text.reveal { transition-delay: 0.2s; }

/* Contact section stagger */
.contact-info.reveal { transition-delay: 0s; }
.contact-form.reveal { transition-delay: 0.15s; }

/* ====== REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .partners-track {
    animation: none;
  }

  .hero-orb {
    animation: none;
  }

  .abstract-shape {
    animation: none;
  }
}
