/* ============================================
   首页子组件样式 - Hero轮播区
   ============================================ */
.index-hero { padding: var(--space-xl) 0 0; }
.index-hero-slider {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 360px;
  box-shadow: var(--shadow-lg);
}
.index-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 var(--space-3xl);
  opacity: 0;
  transition: opacity var(--transition-slow);
}
.index-hero-slide.active { opacity: 1; }
.index-hero-content { max-width: 500px; color: #fff; }
.index-hero-content h1 { font-size: var(--font-3xl); color: #fff; margin-bottom: var(--space-md); }
.index-hero-content p { font-size: var(--font-md); opacity: 0.9; margin-bottom: var(--space-lg); }

.index-hero-dots {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.index-hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.index-hero-dot.active {
  width: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary-gradient);
}

.index-hero-stats {
  margin-top: var(--space-2xl);
  padding: var(--space-lg) 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.index-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.index-stat-num {
  display: block;
  font-size: var(--font-2xl);
  font-weight: 800;
}
.index-stat-label {
  font-size: var(--font-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .index-hero-slider { height: 240px; }
  .index-hero-content h1 { font-size: var(--font-2xl); }
  .index-stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
}
