/* ============================================
   首页专用样式
   ============================================ */

/* Hero Section */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(10, 14, 23, 0) 0%, var(--bg-primary) 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(212, 168, 83, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 80% 60%, rgba(192, 132, 252, 0.04) 0%, transparent 30%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-title-sub {
  display: block;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 16px auto 32px;
  line-height: 1.6;
}

/* Hero Search */
.hero-search {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 6px 6px 6px 18px;
  max-width: 520px;
  margin: 0 auto 36px;
  transition: border-color var(--transition-normal);
}

.hero-search:focus-within {
  border-color: var(--gold-primary);
  box-shadow: 0 0 24px rgba(212, 168, 83, 0.1);
}

.hero-search svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  padding: 10px 12px;
  outline: none;
}

.hero-search input::placeholder {
  color: var(--text-muted);
}

.hero-search .btn {
  white-space: nowrap;
  padding: 10px 24px;
  border-radius: 8px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-value {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--border-primary), transparent);
}

/* Quick Nav Cards */
.quick-nav-card {
  text-decoration: none;
  color: inherit;
}

.quick-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.quick-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Site Footer */
.site-footer {
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 50px 16px 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-title-sub {
    font-size: 1.1rem;
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  .hero-search {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    max-width: 100%;
  }

  .hero-search input {
    width: 100%;
    text-align: center;
  }

  .hero-search .btn {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat-divider {
    display: none;
  }

  .quick-nav-card .card-body {
    padding: 16px 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-stat-value {
    font-size: 1.2rem;
  }
}
