.page-home {
  --home-gap: 14px;
  --home-pad: 56px;
  background: var(--bg);
  color: var(--text);
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 34px) 0 44px;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(37, 224, 196, 0.14), transparent 62%),
    radial-gradient(90% 80% at 8% 96%, rgba(108, 107, 255, 0.12), transparent 60%),
    var(--abyss);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  top: -12%;
  right: -8%;
  width: min(720px, 96%);
  height: 460px;
  background: linear-gradient(128deg, rgba(37, 224, 196, 0.22), rgba(108, 107, 255, 0.16) 52%, transparent 80%);
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 0 100%);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  pointer-events: none;
}

.page-home .hero .shell {
  position: relative;
  z-index: 1;
}

.page-home .hero-grid {
  display: grid;
  gap: 26px;
  margin-top: 20px;
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
  max-width: 16ch;
  background: linear-gradient(96deg, var(--mist) 42%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-lead {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .hero-visual {
  margin: 0;
  min-width: 0;
}

.page-home .hero-stats {
  list-style: none;
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.page-home .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-home .stat-num {
  font-size: clamp(26px, 4.4vw, 38px);
  line-height: 1;
  color: var(--accent-alt);
  letter-spacing: 0.04em;
}

.page-home .stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 章节骨架 ---------- */
.page-home .section {
  position: relative;
  padding: var(--home-pad) 0;
  border-top: 1px solid var(--border);
}

.page-home .section-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  align-items: start;
  margin-bottom: 26px;
}

.page-home .section-head-text {
  min-width: 0;
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.24;
  letter-spacing: -0.01em;
  margin: 0;
}

.page-home .section-note {
  margin: 10px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .section-foot {
  margin: 22px 0 0;
  font-size: 14px;
}

/* ---------- 型号阵列 ---------- */
.page-home .model-section {
  background: linear-gradient(180deg, rgba(17, 28, 47, 0.55), transparent 70%);
}

.page-home .model-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--home-gap);
}

.page-home .model-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .model-card:hover,
.page-home .model-card:focus-within {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.page-home .model-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 50px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: linear-gradient(160deg, rgba(37, 224, 196, 0.24), rgba(37, 224, 196, 0.06));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.page-home .model-card:hover .model-badge {
  background: linear-gradient(160deg, rgba(37, 224, 196, 0.62), rgba(37, 224, 196, 0.2));
  color: var(--abyss);
}

.page-home .model-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .model-tags {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .panel-batch {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--accent);
}

/* ---------- 质保 ---------- */
.page-home .warranty-grid {
  align-items: start;
  gap: var(--home-gap);
}

.page-home .data-table caption {
  text-align: left;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ---------- 合作商 ---------- */
.page-home .channel-grid {
  align-items: center;
  gap: 28px;
}

.page-home .region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .region-item {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.page-home .region-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.page-home .region-head .num {
  color: var(--accent);
  font-size: 15px;
}

.page-home .region-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(36, 52, 76, 0.85);
  overflow: hidden;
}

.page-home .region-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--indigo));
}

.page-home .region-item:nth-child(1) .region-fill { width: 37%; }
.page-home .region-item:nth-child(2) .region-fill { width: 21%; }
.page-home .region-item:nth-child(3) .region-fill { width: 18%; }
.page-home .region-item:nth-child(4) .region-fill { width: 13%; }
.page-home .region-item:nth-child(5) .region-fill { width: 11%; }

.page-home .region-item--alt .region-fill {
  background: linear-gradient(90deg, var(--amber), rgba(242, 179, 61, 0.45));
}

.page-home .region-item--alt .region-head .num {
  color: var(--accent-alt);
}

/* ---------- 库存 ---------- */
.page-home .stock-section {
  background: linear-gradient(180deg, transparent, rgba(17, 28, 47, 0.6) 40%, transparent);
}

.page-home .stock-visual {
  margin: 0 0 30px;
}

.page-home .snapshot {
  margin-top: 18px;
}

.page-home .snapshot details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
}

.page-home .snapshot summary {
  cursor: pointer;
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--accent);
  list-style: none;
}

.page-home .snapshot summary::-webkit-details-marker {
  display: none;
}

.page-home .snapshot summary::before {
  content: "+ ";
  color: var(--accent-alt);
}

.page-home .snapshot details[open] summary::before {
  content: "− ";
}

.page-home .snapshot-body {
  padding: 0 18px 16px;
  border-top: 1px solid var(--border);
}

.page-home .snapshot-body p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 70ch;
}

.page-home .snapshot-link {
  font-size: 14px;
}

.page-home .stock-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .stock-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(36, 52, 76, 0.6);
}

.page-home .point-num {
  font-size: 20px;
  color: var(--accent-alt);
  letter-spacing: 0.04em;
}

.page-home .point-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- 服务入口 ---------- */
.page-home .service-grid {
  gap: var(--home-gap);
}

.page-home .service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .service-card:hover,
.page-home .service-card:focus-visible {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.page-home .service-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .service-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .service-more {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent);
}

.page-home .service-facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .service-facts .mono {
  color: var(--accent-alt);
}

/* ---------- 归档动态 ---------- */
.page-home .news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.page-home .news-item:first-child {
  border-top: 1px solid var(--border);
}

.page-home .news-time {
  grid-column: 1 / -1;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.page-home .news-body {
  min-width: 0;
}

.page-home .news-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .news-body p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .news-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-alt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.page-home .news-link:hover {
  border-bottom-color: var(--accent-alt);
}

/* ---------- 行动条 ---------- */
.page-home .action-band {
  border-top: 1px solid rgba(242, 179, 61, 0.45);
  border-bottom: 1px solid rgba(242, 179, 61, 0.45);
  background: linear-gradient(100deg, rgba(242, 179, 61, 0.16), rgba(242, 179, 61, 0.04) 62%, transparent);
  padding: 34px 0;
}

.page-home .action-shell {
  display: grid;
  gap: 20px;
}

.page-home .action-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3;
  margin: 0;
}

.page-home .action-text {
  margin: 10px 0 0;
  max-width: 58ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 返回顶部 ---------- */
.page-home .to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 40;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(17, 28, 47, 0.94);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-home .to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}

.page-home .to-top:hover {
  border-color: var(--accent);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home {
    --home-pad: 68px;
  }

  .page-home .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 28px;
  }

  .page-home .stock-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .stock-points li {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: none;
    border-left: 1px solid var(--border);
    padding: 0 0 0 16px;
  }

  .page-home .action-shell {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .action-buttons {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 40px;
  }

  .page-home .hero-visual {
    transform: translateY(12px);
  }

  .page-home .section-head {
    gap: 10px 22px;
    margin-bottom: 32px;
  }
}

@media (min-width: 1060px) {
  .page-home .model-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .model-card:nth-child(1) { grid-column: span 5; }
  .page-home .model-card:nth-child(2) { grid-column: span 4; }
  .page-home .model-card:nth-child(3) { grid-column: span 3; }
  .page-home .model-card:nth-child(4) { grid-column: span 4; }
  .page-home .model-card:nth-child(5) { grid-column: span 3; }
  .page-home .model-card:nth-child(6) { grid-column: span 5; }

  .page-home .channel-grid {
    gap: 48px;
  }

  .page-home .model-card:nth-child(3),
  .page-home .model-card:nth-child(5) {
    transform: translateY(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .model-card,
  .page-home .service-card,
  .page-home .model-badge,
  .page-home .to-top {
    transition: none;
  }

  .page-home .model-card:nth-child(3),
  .page-home .model-card:nth-child(5),
  .page-home .hero-visual {
    transform: none;
  }
}
