@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal animations */
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-up {
    transform: translateY(32px);
  }

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

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

  .is-visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Stagger animation for feature cards */
  .stagger-children .reveal-up:nth-child(2) { transition-delay: 0.08s; }
  .stagger-children .reveal-up:nth-child(3) { transition-delay: 0.16s; }
  .stagger-children .reveal-up:nth-child(4) { transition-delay: 0.24s; }
  .stagger-children .reveal-up:nth-child(5) { transition-delay: 0.32s; }

  /* Gentle hero mockup floating */
  .float-slow {
    animation: floatSlow 7s ease-in-out infinite;
  }

  /* Logo brand marquee infinite track */
  .logo-track {
    animation: marqueeTrack 28s linear infinite;
  }

  .logo-track:hover {
    animation-play-state: paused;
  }

  /* Testimonial carousel marquee track */
  .testimonial-track {
    animation: testimonialTrack 70s linear infinite;
  }

  .testimonial-marquee:hover .testimonial-track {
    animation-play-state: paused;
  }

  /* WhatsApp FAB pulse */
  .whatsapp-fab {
    animation: whatsappPulse 3s ease-in-out infinite;
  }

  /* Magnetic button subtle light shimmer */
  .magnetic {
    position: relative;
    overflow: hidden;
  }

  .magnetic::before {
    content: "";
    position: absolute;
    inset: -80% auto -80% -25%;
    width: 25%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(20deg);
    animation: buttonShine 4.5s ease-in-out infinite;
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

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

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

@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
  }
  50% {
    box-shadow: 0 16px 45px rgba(37, 211, 102, 0.55), 0 0 0 8px rgba(37, 211, 102, 0.12);
  }
}

@keyframes buttonShine {
  0%, 60% {
    left: -40%;
    opacity: 0;
  }
  68% {
    opacity: 1;
  }
  85%, 100% {
    left: 130%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .float-slow, .logo-track, .testimonial-track, .whatsapp-fab, .magnetic::before {
    animation: none !important;
  }
  .testimonial-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
}
