@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse-accent {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(139, 92, 246, 0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.7s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.8s ease-out forwards;
}

.animate-pulse-accent {
  animation: pulse-accent 2.5s ease-in-out infinite;
}

.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-400 {
  animation-delay: 0.4s;
}

.opacity-0-start {
  opacity: 0;
}

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-counter {
  font-variant-numeric: tabular-nums;
}

.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 16, 20, 0.92) 0%,
    rgba(16, 16, 20, 0.75) 50%,
    rgba(16, 16, 20, 0.88) 100%
  );
  z-index: 0;
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

.swiper-button-prev,
.swiper-button-next {
  color: #8b5cf6 !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.25rem !important;
}

.review-stars .fa-star {
  color: #8b5cf6;
}

.review-stars .fa-star.empty {
  color: #2c2c36;
}

.nav-link--active {
  color: #8b5cf6;
  font-weight: 500;
}

.form-toast {
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-fade-in,
  .animate-slide-in-right,
  .animate-pulse-accent {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
