.page-home {
  --home-gridline: rgba(212,175,55,.05);
  --home-gridline-strong: rgba(212,175,55,.09);
  background: var(--bg-deep);
  color: var(--text);
  overflow-x: hidden;
}

/* ========== 首页 · 章节预览 ========== */
.page-home .home-hero {
  position: relative;
  padding: 72px 0 88px;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(var(--home-gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-gridline) 1px, transparent 1px);
  background-size: 80px 80px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 52px), 0 100%);
  border-bottom: 2px solid var(--gold-line);
}

.page-home .home-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  padding: 6px 14px;
  margin-bottom: 18px;
  background: rgba(10,10,15,.72);
}

.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: .01em;
  margin: 0 0 22px;
  color: var(--text);
  max-width: 920px;
  text-wrap: balance;
}

.page-home .home-hero__lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 860px;
  margin: 0 0 40px;
}

.page-home .home-hero__chapters {
  display: grid;
  gap: 16px;
}

.page-home .preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 22px 22px;
  background:
    linear-gradient(135deg, rgba(212,175,55,.08), transparent 42%),
    var(--bg-card);
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.page-home .preview-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.page-home .preview-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.page-home .preview-card:hover::after {
  transform: scaleX(1);
}

.page-home .preview-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
}

.page-home .preview-card--blue::before {
  background: var(--blue);
}

.page-home .preview-card--red::before {
  background: var(--red);
}

.page-home .preview-card--neutral::before {
  background: linear-gradient(180deg, var(--gold), transparent);
}

.page-home .preview-card__index {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--gold);
  opacity: .55;
}

.page-home .preview-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .04em;
}

.page-home .preview-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .preview-card__arrow {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .02em;
}

.page-home .home-hero__about {
  display: inline-block;
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 4px;
  transition: color var(--transition), border-color var(--transition);
}

.page-home .home-hero__about:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.page-home .home-hero__media {
  width: calc(100% - 32px);
  max-width: var(--max-width);
  margin: 56px auto 0;
  border: 1px solid var(--gold-line);
  background: var(--bg-card);
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ========== 更新公告时间轴 ========== */
.page-home .home-timeline {
  position: relative;
  padding: 88px 0 72px;
  background-color: var(--bg-deep);
}

.page-home .home-timeline__layout {
  display: grid;
  gap: 40px;
}

.page-home .home-timeline__head h2,
.page-home .home-contact h2,
.page-home .home-guide h2,
.page-home .home-campaign h2,
.page-home .home-performance h2 {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.14;
  margin: 6px 0 14px;
  color: var(--text);
}

.page-home .home-timeline__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-home .timeline-arena {
  position: relative;
  padding-left: 30px;
}

.page-home .timeline-arena::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--blue) 62%, transparent);
}

.page-home .timeline-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,.06);
  border-left: 2px solid var(--gold-line);
  border-radius: 0 2px 2px 0;
  margin-bottom: 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.16), 0 0 12px rgba(212,175,55,.55);
}

.page-home .timeline-item[open] {
  border-left-color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}

.page-home .timeline-item__summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
}

.page-home .timeline-item__summary::-webkit-details-marker {
  display: none;
}

.page-home .timeline-item__summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold);
  transition: transform var(--transition);
}

.page-home .timeline-item[open] .timeline-item__summary::after {
  transform: rotate(45deg);
}

.page-home .timeline-item__index {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--muted);
  opacity: .72;
}

.page-home .timeline-item__version {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--gold);
  white-space: nowrap;
}

.page-home .timeline-item__name {
  flex: 1 1 220px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.page-home .timeline-item__tag {
  font-size: 12px;
  padding: 2px 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: .05em;
  white-space: nowrap;
}

.page-home .timeline-item__body {
  padding: 14px 16px 16px;
  border-top: 1px dashed rgba(212,175,55,.2);
  margin: 0 16px 14px;
}

.page-home .timeline-item__body p {
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
  margin: 0 0 10px;
}

.page-home .timeline-item__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.page-home .timeline-item__more:hover {
  color: var(--gold-bright);
}

.page-home .home-timeline__media {
  width: calc(100% - 32px);
  max-width: calc(var(--max-width) - 120px);
  margin: 56px auto 0;
  border: 1px solid var(--gold-line);
  background: var(--bg-card);
}

.page-home .home-timeline__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ========== 升级版联系入口 ========== */
.page-home .home-contact {
  position: relative;
  padding: 84px 0;
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(100deg, rgba(0,229,255,.06) 0%, transparent 34%),
    linear-gradient(var(--home-gridline) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-gridline) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  clip-path: polygon(0 18px, 100% 0, 100% calc(100% - 18px), 0 100%);
  border-bottom: 1px solid var(--blue-line);
}

.page-home .home-contact__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-contact__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
}

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

.page-home .contact-route li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 13px 16px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
}

.page-home .contact-route__term {
  min-width: 70px;
  font-size: 14px;
  color: var(--muted);
}

.page-home .contact-route__value {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  word-break: break-all;
}

.page-home .home-contact__media {
  border: 1px solid var(--gold-line);
  background: var(--bg-card);
}

.page-home .home-contact__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ========== 小屏指南 + 厂商专区 ========== */
.page-home .home-duo {
  padding: 72px 0;
  background-color: var(--bg-deep);
}

.page-home .home-duo__grid {
  display: grid;
  gap: 24px;
}

.page-home .home-panel {
  position: relative;
  padding: 36px 28px 32px;
  background:
    linear-gradient(rgba(212,175,55,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.04) 1px, transparent 1px),
    var(--bg-card);
  background-size: 40px 40px, 40px 40px, auto;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 2px 2px;
}

.page-home .home-guide {
  border-top-color: var(--blue);
}

.page-home .feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.page-home .feature-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.page-home .feature-list__index {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--blue);
  min-width: 26px;
}

/* ========== 性能监测数据 ========== */
.page-home .home-performance {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.page-home .home-performance__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.page-home .home-performance__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .home-performance__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(10,10,15,.92) 0%, rgba(10,10,15,.62) 55%, rgba(10,10,15,.88) 100%);
}

.page-home .home-performance__content {
  position: relative;
  z-index: 2;
}

.page-home .perf-chart {
  margin: 34px 0 24px;
  padding: 22px 14px 14px;
  border: 1px solid var(--gold-line);
  background: rgba(10,10,15,.68);
  backdrop-filter: blur(3px);
}

.page-home .perf-chart__legend {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
  justify-content: flex-end;
}

.page-home .perf-chart__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .perf-chart__legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 1px;
}

.page-home .perf-chart__legend-item--prev::before {
  background: var(--blue);
}

.page-home .perf-chart__body {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.page-home .perf-chart__group {
  flex: 1 0 52px;
  min-width: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-home .perf-chart__label {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
}

.page-home .perf-chart__bars {
  height: 180px;
  padding-top: 22px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.page-home .perf-chart__bar {
  position: relative;
  width: 16px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border-radius: 2px 2px 0 0;
  transition: filter var(--transition), box-shadow var(--transition);
}

.page-home .perf-chart__bar--prev {
  background: linear-gradient(180deg, rgba(0,229,255,.8), rgba(0,229,255,.25));
}

.page-home .perf-chart__value {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  opacity: .78;
}

.page-home .perf-chart__bar:hover {
  filter: brightness(1.4);
  box-shadow: 0 0 12px var(--blue-line);
}

.page-home .perf-chart__bar:hover .perf-chart__value {
  opacity: 1;
  color: var(--gold-bright);
}

.page-home .home-performance .muted {
  font-size: 14px;
  line-height: 1.7;
}

/* ========== 布局增强：移动优先 + 桌面栅格 ========== */
@media (min-width: 720px) {
  .page-home .home-hero {
    padding: 88px 0 104px;
  }

  .page-home .home-hero__chapters {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .page-home .preview-card:nth-child(even) {
    transform: translateY(16px);
  }

  .page-home .preview-card:nth-child(even):hover {
    transform: translateY(12px);
  }

  .page-home .home-contact__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

  .page-home .home-duo__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (min-width: 960px) {
  .page-home .home-timeline__layout {
    grid-template-columns: 340px 1fr;
    gap: 56px;
    align-items: start;
  }

  .page-home .home-timeline__head {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .page-home .home-performance {
    padding: 96px 0;
  }
}

@media (min-width: 1080px) {
  .page-home .home-hero__chapters {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-home .preview-card:nth-child(2) {
    margin-top: 26px;
    transform: none;
  }

  .page-home .preview-card:nth-child(3) {
    margin-top: 8px;
    transform: none;
  }

  .page-home .preview-card:nth-child(4) {
    margin-top: 44px;
    transform: none;
  }

  .page-home .preview-card:nth-child(even):hover {
    transform: translateY(-4px);
  }

  .page-home .home-hero__media {
    margin-top: 72px;
  }
}
