/* ============================================
   WECAPS.EU — 动画系统
   ============================================ */

/* Hero 内容入场 */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow  { animation: fadeUp 0.8s ease 0.2s both; }
.hero-title    { animation: fadeUp 0.8s ease 0.4s both; }
.hero-subtitle { animation: fadeUp 0.8s ease 0.6s both; }
.hero-buttons  { animation: fadeUp 0.8s ease 0.8s both; }

/* 数字计数动画（JS触发） */
.stat-number.counting {
  animation: pulse 0.1s ease;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Feature card 悬停光效 */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card {
  position: relative;
  isolation: isolate;
}
