/* Performance: replace broad transition:all with compositable-only properties.
   Keeps visual hover feedback while eliminating paint-layer work. */

/* Feature cards, product cards, industry cards — hover lift only */
.feature-card,
.product-card,
.industry-card,
.step-card,
.animated-stat-card,
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.3s ease !important;
}

/* CTA buttons: only transform+opacity (no background-color paint on every frame) */
.animated-btn-primary,
.animated-btn-secondary,
.animated-cta-primary,
.animated-cta-secondary {
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

/* Slideshow buttons */
.slideshow-btn {
  transition: transform 0.2s ease, opacity 0.2s ease !important;
}

/* Navigation links */
.aila-nav-links .nav-link,
.aila-nav-links a {
  transition: color 0.2s ease !important;
}

/* Gradient-shift animations on decorative backgrounds: use will-change instead */
.animated-hero-section::before,
.animated-hero-section::after {
  will-change: background-position;
}

/* Avoid non-composited repaints on badge/glow elements */
.animated-hero-badge,
.section-badge {
  will-change: transform, opacity;
}
