/* Base animated states */
.ap-animate {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--ap-delay, 0s);
  will-change: opacity, transform;
}

.ap-animate.ap-animated {
  opacity: 1;
  transform: none;
}

/* Animation variants */
.ap-fade-in-up { transform: translateY(28px); }
.ap-fade-in-down { transform: translateY(-28px); }
.ap-fade-in-left { transform: translateX(-30px); }
.ap-fade-in-right { transform: translateX(30px); }
.ap-scale-in { transform: scale(0.92); }
.ap-zoom-in { transform: scale(0.85); }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .ap-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
