/* Aago — advanced-UI polish (v20260922)
   Dependency-free: reveal-on-scroll, card hover-lift, animated counters.
   Fail-safe: animations ONLY run after js/ui.js adds body.uianim;
   without JS everything is plain static content (never hidden).
   Honeypot-neutral: pure front-end, no API/orders touch.
*/
body.uianim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1);
}
body.uianim .reveal.in {
  opacity: 1;
  transform: none;
}

/* stagger children when a reveal group animates */
body.uianim .reveal-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.uianim .reveal-group.in > * {
  opacity: 1;
  transform: none;
}
body.uianim .reveal-group.in > *:nth-child(2) { transition-delay: 0.08s; }
body.uianim .reveal-group.in > *:nth-child(3) { transition-delay: 0.16s; }
body.uianim .reveal-group.in > *:nth-child(4) { transition-delay: 0.24s; }
body.uianim .reveal-group.in > *:nth-child(5) { transition-delay: 0.32s; }
body.uianim .reveal-group.in > *:nth-child(6) { transition-delay: 0.40s; }

/* card hover-lift (works always — the Overite-style feel) */
.product-card,
.brand-card,
.about-feature,
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover,
.brand-card:hover,
.about-feature:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* animated stat/count value */
.count-up font-variant-numeric: tabular-nums;

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body.uianim .reveal,
  body.uianim .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .product-card:hover,
  .brand-card:hover,
  .about-feature:hover,
  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
  }
}