@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

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

.animate-slide-in-left {
  animation: slideInLeft 0.7s ease-out forwards;
}

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

.animate-count-pulse {
  animation: countPulse 0.4s ease-out;
}

.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;
}

.stat-number {
  transition: color 0.3s ease;
}

.hero-bg-overlay {
  background: linear-gradient(
    135deg,
    rgba(33, 30, 44, 0.82) 0%,
    rgba(126, 34, 206, 0.55) 100%
  );
}

.card-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(126, 34, 206, 0.12);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background-color: #7e22ce;
  color: #ffffff;
}

.burger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-open .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-open .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-enter {
  animation: fadeIn 0.25s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #736e84;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
  color: #7e22ce;
}

.nav-link--active {
  color: #7e22ce;
  font-weight: 600;
  background-color: rgba(126, 34, 206, 0.07);
}

.nav-link--active:hover {
  color: #7e22ce;
}

.field-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 1px #dc2626;
}

.field-error-message {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.checkbox-error-message {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #dc2626;
}

.form-toast {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 60;
  max-width: 22rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #d6d1e0;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(126, 34, 206, 0.15);
  font-size: 0.875rem;
  line-height: 1.5;
  color: #211e2c;
  opacity: 0;
  transform: translateX(120%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.form-toast--visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.faq-answer {
  display: none;
}

.faq-item--open .faq-answer {
  display: block;
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.25s ease;
}

@media (max-width: 640px) {
  .form-toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
