/* 交互增强 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* Hero card entrance */
.hero-card {
  animation: cardFloat 0.8s ease-out;
}
@keyframes cardFloat {
  0% { opacity: 0; transform: translateY(40px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Stats bar counter animation */
.count-up {
  display: inline-block;
}

/* Feature card hover enhancement */
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover::after {
  opacity: 1;
}

/* Step connector line (between step cards) */
.steps-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .steps-wrapper { grid-template-columns: 1fr; }
}
.step-connector {
  display: none;
}
@media (min-width: 769px) {
  .step-connector {
    display: block;
    position: absolute;
    top: 24px;
    left: calc(16.67% + 24px);
    width: calc(66.66% - 48px);
    height: 2px;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
    z-index: 0;
  }
}
.step-card {
  position: relative;
  z-index: 1;
  background: white;
}

/* Glow pulse for hero badge */
.hero-badge {
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243,54,34,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(243,54,34,0); }
}

/* Zone bar entrance animation */
.hero-zone-bar .hero-zone {
  animation: growWidth 1s ease-out forwards;
  transform-origin: left;
  width: 0 !important;
}
.hero-zone:nth-child(1) { animation-delay: 0.1s; }
.hero-zone:nth-child(2) { animation-delay: 0.2s; }
.hero-zone:nth-child(3) { animation-delay: 0.3s; }
.hero-zone:nth-child(4) { animation-delay: 0.4s; }
.hero-zone:nth-child(5) { animation-delay: 0.5s; }
@keyframes growWidth {
  from { width: 0 !important; }
  to { width: var(--w); }
}

/* Stats bar entrance */
.stats-bar {
  animation: slideUp 0.8s ease-out 0.5s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Button press effect */
.btn-primary:active {
  transform: scale(0.97);
}

/* Hero visual hover scale */
.hero-visual {
  transition: transform 0.3s ease;
}
.hero-visual:hover {
  transform: translateY(-4px);
}

/* Zone bar colors in hero */
.hero-zone {
  height: 100%;
  transition: opacity 0.3s;
}
.hero-zone:hover {
  opacity: 0.8;
}
