.page-home {
  --home-bg: var(--bg-light, #FAFAFA);
  --home-accent: var(--orange, #FF6B35);
  --home-blue: var(--blue, #1E90FF);
  --home-dark: var(--bg-dark, #1A1A2E);
  --home-text: var(--text-primary, #121212);
  --home-text-light: #555;
  --home-radius: var(--radius-lg, 16px);
  --home-transition: var(--transition, 0.25s cubic-bezier(0.25,0.46,0.45,0.94));
  --home-font-heading: var(--font-heading, Impact, 'Arial Black', sans-serif);
  --home-font-body: var(--font-body, 'Noto Sans SC', sans-serif);
  --home-container: var(--container-max, 1200px);

  background: var(--home-bg);
  font-family: var(--home-font-body);
  color: var(--home-text);
  line-height: 1.6;
}

/* ---------- 预览导航 ---------- */
.page-home__preview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 16px;
  max-width: var(--home-container);
  margin: 0 auto;
  border-bottom: 2px solid var(--home-blue);
  justify-content: center;
}
.page-home__preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--home-text);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid transparent;
  transition: background var(--home-transition), border-color var(--home-transition);
}
.page-home__preview-link:hover,
.page-home__preview-link:focus-visible {
  background: var(--home-blue);
  color: #fff;
  border-color: var(--home-blue);
  outline: none;
}
.page-home__preview-num {
  font-family: var(--home-font-heading);
  font-size: 14px;
  color: var(--home-accent);
}

/* ---------- 英雄区 ---------- */
.page-home__hero {
  position: relative;
  max-width: var(--home-container);
  margin: 0 auto;
  padding: 40px 16px 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  min-height: 400px;
}
.page-home__hero-text {
  flex: 1 1 300px;
  z-index: 2;
}
.page-home__hero-title {
  font-family: var(--home-font-heading);
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--home-dark);
  text-transform: uppercase;
}
.page-home__hero-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--home-blue);
  margin: 0 0 8px;
}
.page-home__hero-desc {
  font-size: 16px;
  color: var(--home-text-light);
  margin: 0 0 24px;
  max-width: 480px;
}
.page-home__hero-cta {
  display: inline-block;
}
.page-home__hero-visual {
  flex: 1 1 300px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--home-radius);
  min-height: 250px;
}
.page-home__hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.page-home__hero-grid {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: linear-gradient(135deg, var(--home-blue) 0%, transparent 60%), repeating-linear-gradient(0deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 21px);
}

/* ---------- 通用章节布局 ---------- */
.page-home__section-inner {
  max-width: var(--home-container);
  margin: 0 auto;
  padding: 60px 16px;
}
.page-home__section-label {
  margin-bottom: 32px;
  border-left: 4px solid var(--home-accent);
  padding-left: 16px;
}
.page-home__label-num {
  font-family: var(--home-font-heading);
  font-size: 20px;
  color: var(--home-accent);
  display: block;
  margin-bottom: 4px;
}
.page-home__section-title {
  font-family: var(--home-font-heading);
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--home-dark);
}
.page-home__section-desc {
  font-size: 16px;
  color: var(--home-text-light);
  margin: 0;
}

/* ---------- 最新数据对照表 ---------- */
.page-home__latest {
  background: #fff;
}
.page-home__data-display {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}
.page-home__data-fig {
  flex: 1 1 280px;
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
}
.page-home__data-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}
.page-home__table-wrap {
  flex: 2 1 350px;
  min-width: 0;
}
.page-home__data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.page-home__data-table th,
.page-home__data-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-gray, #E0E0E0);
}
.page-home__data-table thead th {
  background: var(--home-dark);
  color: var(--text-on-dark, #FFFFFF);
  font-family: var(--home-font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}
.page-home__data-table tbody tr:nth-child(even) {
  background: rgba(30, 144, 255, 0.06);
}
.page-home__data-table tbody tr:nth-child(odd) {
  background: rgba(255, 107, 53, 0.06);
}
.page-home__data-table tbody tr:hover {
  background: rgba(30, 144, 255, 0.15);
  cursor: default;
}
.page-home__price-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--home-dark);
  color: var(--text-on-dark, #FFFFFF);
  border-radius: 50px;
  cursor: default;
  transition: background var(--home-transition);
}
.page-home__price-tag:hover,
.page-home__price-tag:focus-visible {
  background: var(--home-blue);
  outline: none;
}
.page-home__price-label {
  font-size: 13px;
  opacity: 0.8;
}
.page-home__price-value {
  font-family: var(--home-font-heading);
  font-size: 22px;
  color: var(--home-accent);
}
.page-home__price-hint {
  font-size: 12px;
  opacity: 0.7;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 4px;
}
.page-home__table-footnote {
  margin-top: 20px;
  font-size: 14px;
  color: var(--home-text-light);
  font-style: italic;
}

/* ---------- 热门收藏 ---------- */
.page-home__collections {
  background: var(--home-bg);
}
.page-home__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.page-home__card {
  background: #fff;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow var(--home-transition), transform var(--home-transition);
  display: flex;
  flex-direction: column;
}
.page-home__card:hover,
.page-home__card:focus-within {
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.25);
  transform: translateY(-4px);
}
.page-home__card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.page-home__card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-home__card-title {
  font-family: var(--home-font-heading);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--home-dark);
}
.page-home__card-desc {
  font-size: 14px;
  color: var(--home-text-light);
  margin: 0 0 12px;
  flex: 1;
}
.page-home__card-meta {
  font-size: 12px;
  color: var(--home-blue);
  font-weight: 600;
}
.page-home__collections-more {
  display: inline-block;
}

/* ---------- 我们的服务 ---------- */
.page-home__services {
  background: linear-gradient(135deg, var(--home-dark) 0%, #16213e 100%);
  color: var(--text-on-dark, #FFFFFF);
}
.page-home__services .page-home__section-title {
  color: #fff;
}
.page-home__services .page-home__section-desc {
  color: rgba(255,255,255,0.7);
}
.page-home__services .page-home__section-label {
  border-left-color: var(--home-accent);
}
.page-home__service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.page-home__service-item {
  background: rgba(255,255,255,0.08);
  border-radius: var(--home-radius);
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color var(--home-transition), background var(--home-transition);
}
.page-home__service-item:hover {
  border-color: var(--home-accent);
  background: rgba(255,107,53,0.12);
}
.page-home__service-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-home__service-icon {
  width: 60%;
  height: 60%;
  object-fit: contain;
}
.page-home__service-title {
  font-family: var(--home-font-heading);
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--home-accent);
}
.page-home__service-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.page-home__services-more {
  display: inline-block;
}

/* ---------- 为什么选择 ---------- */
.page-home__why {
  background: #fff;
}
.page-home__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.page-home__why-card {
  padding: 24px;
  border-radius: var(--home-radius);
  background: var(--home-bg);
  border: 1px solid var(--border-gray, #E0E0E0);
  transition: box-shadow var(--home-transition), border-color var(--home-transition);
}
.page-home__why-card:hover,
.page-home__why-card:focus-within {
  box-shadow: 0 4px 16px rgba(30, 144, 255, 0.2);
  border-color: var(--home-blue);
}
.page-home__why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--home-accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.page-home__why-card-title {
  font-family: var(--home-font-heading);
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--home-dark);
}
.page-home__why-card-desc {
  font-size: 14px;
  color: var(--home-text-light);
  margin: 0;
}

/* ---------- 移动端适配 ---------- */
@media (max-width: 680px) {
  .page-home__hero {
    padding: 24px 16px 40px;
    gap: 24px;
  }
  .page-home__hero-title {
    font-size: 34px;
  }
  .page-home__hero-subtitle {
    font-size: 17px;
  }
  .page-home__section-inner {
    padding: 40px 16px;
  }
  .page-home__section-title {
    font-size: 28px;
  }
  .page-home__data-display {
    flex-direction: column;
  }
  .page-home__data-fig {
    flex: none;
    width: 100%;
  }
  .page-home__data-table {
    font-size: 13px;
  }
  .page-home__data-table th,
  .page-home__data-table td {
    padding: 8px 10px;
  }
  .page-home__price-tag {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 16px;
  }
  .page-home__card-grid,
  .page-home__service-grid,
  .page-home__why-grid {
    grid-template-columns: 1fr;
  }
  .page-home__preview-nav {
    gap: 8px;
    padding: 12px 16px;
    justify-content: flex-start;
  }
  .page-home__preview-link {
    font-size: 13px;
    padding: 4px 10px;
  }
}
</style>
