/* 官网动效：中等强度 — 不改结构，仅 CSS + 轻量 JS */

@media (prefers-reduced-motion: reduce) {
  .fx-hero-in,
  .hero-shot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .fx-reveal,
  .shot-card img {
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes fxHeroIn {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fx-hero-in {
  animation: fxHeroIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fxHeroFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 60px rgba(0, 67, 150, 0.22);
  }
  50% {
    transform: translateY(-14px) scale(1.012);
    box-shadow: 0 32px 72px rgba(0, 67, 150, 0.28);
  }
}

.hero-shot.fx-hero-in {
  animation:
    fxHeroIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) both,
    fxHeroFloat 4s ease-in-out 0.8s infinite;
}

.fx-reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--fx-delay, 0s);
}

.fx-reveal--in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.step-card,
.shot-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.step-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 36px rgba(0, 67, 150, 0.12);
}

.shot-card {
  overflow: hidden;
}

.shot-card img {
  transition: transform 0.35s ease;
}

.shot-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 48px rgba(0, 67, 150, 0.18);
}

.shot-card:hover img {
  transform: scale(1.04);
}

.cap-card:hover,
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 67, 150, 0.1);
}

.cap-card,
.tier-card {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

#downHero,
#section-hero a[href='#section-license'] {
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

#downHero:active {
  transform: scale(0.98);
}

.nav-link-base {
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
