.page-products {
  --dl-cut: 8px 24px 8px 24px;
  --dl-gold-glow: 0 0 0 1px rgba(212, 175, 55, .55), 0 14px 40px rgba(61, 44, 10, .12);
  --dl-blue-grad: linear-gradient(135deg, #1E3A8A 0%, #2A52BE 60%, #3A7D44 130%);
  background: var(--color-milk);
  color: var(--color-charcoal);
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* ============ 面包屑 ============ */
.page-products .breadcrumb {
  margin-bottom: 2.5rem;
}
.page-products .breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-scale-small);
}
.page-products .breadcrumb a {
  color: rgba(244, 244, 240, .78);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.page-products .breadcrumb a:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}
.page-products .breadcrumb li[aria-current="page"] {
  color: var(--color-gold);
}

/* ============ Hero 首屏 ============ */
.page-products .dl-hero {
  background: linear-gradient(140deg, var(--color-deep) 0%, #162D33 55%, var(--color-steppe-dark) 130%);
  padding: 2rem 0 3.25rem;
  position: relative;
  isolation: isolate;
}
.page-products .dl-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 82%, rgba(212, 175, 55, .14), transparent 32%),
    radial-gradient(circle at 86% 22%, rgba(212, 175, 55, .12), transparent 28%),
    radial-gradient(circle at 62% 72%, rgba(255, 255, 255, .07), transparent 22%),
    radial-gradient(circle at 42% 12%, rgba(58, 125, 68, .25), transparent 36%);
  pointer-events: none;
}
.page-products .dl-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-products .dl-hero__text p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(244, 244, 240, .9);
  max-width: 56ch;
  margin: 1.25rem 0 0;
}
.page-products .dl-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-top: 1.5rem;
}
.page-products .dl-hero__badge {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  border: 1px solid rgba(212, 175, 55, .65);
  border-radius: 999px;
  color: var(--color-gold);
  font-size: var(--font-scale-small);
  letter-spacing: .03em;
}
.page-products .dl-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
  width: 100%;
  max-width: 440px;
}
.page-products .dl-stat {
  background: rgba(15, 32, 39, .55);
  border: 1px solid rgba(244, 244, 240, .18);
  border-radius: var(--dl-cut);
  padding: 1rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.page-products .dl-stat--gold {
  background: rgba(212, 175, 55, .12);
  border-color: var(--color-gold);
  grid-column: span 2;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}
.page-products .dl-stat__num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.1;
}
.page-products .dl-stat--gold .dl-stat__num {
  font-size: 2.25rem;
}
.page-products .dl-stat__label {
  font-size: var(--font-scale-small);
  color: rgba(244, 244, 240, .78);
}

/* ============ 展示区：最新版本 + 历史版本 ============ */
.page-products .dl-showcase {
  background:
    radial-gradient(circle at 8% 20%, rgba(212, 175, 55, .07), transparent 28%),
    radial-gradient(circle at 92% 68%, rgba(58, 125, 68, .08), transparent 30%),
    var(--color-green-gray);
  padding: 3.5rem 0 4rem;
}
.page-products .dl-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* 最新版本大卡片 */
.page-products .latest-card {
  position: relative;
  background: var(--color-milk);
  border: 2px solid var(--color-gold);
  border-radius: var(--dl-cut);
  box-shadow: var(--dl-gold-glow);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.page-products .latest-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.page-products .latest-card__flag {
  background: var(--color-gold);
  color: var(--color-deep);
  font-weight: 700;
  font-size: var(--font-scale-small);
  padding: .28rem .85rem;
  border-radius: 999px;
  letter-spacing: .08em;
}
.page-products .latest-card__version {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-steppe);
  line-height: 1;
}
.page-products .latest-card__title {
  font-family: var(--font-head);
  font-size: var(--font-scale-h2);
  font-weight: 700;
  margin: .5rem 0 0;
  color: var(--color-charcoal);
}
.page-products .latest-card__lead {
  margin: .875rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(43, 43, 43, .82);
}
.page-products .latest-card__points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.page-products .latest-card__points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--color-charcoal);
}
.page-products .latest-card__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: .7rem;
  height: .7rem;
  background: var(--color-tech);
  transform: rotate(45deg);
  border-radius: 2px;
}
.page-products .latest-card__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem;
}
.page-products .latest-card__hint {
  font-size: .8125rem;
  color: rgba(43, 43, 43, .55);
}
.page-products .latest-card__figure {
  margin: 1.75rem 0 0;
  border-radius: var(--dl-cut);
  overflow: hidden;
  background: var(--color-blue-gray);
}
.page-products .latest-card__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .latest-card__figure figcaption {
  padding: .75rem 1rem;
  font-size: var(--font-scale-small);
  color: var(--color-charcoal);
  background: rgba(244, 244, 240, .9);
}

/* 历史版本面板 */
.page-products .history-side {
  background: var(--color-blue-gray);
  border-radius: var(--dl-cut);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.page-products .history-side__head {
  padding-bottom: 1.25rem;
  border-bottom: 2px solid rgba(30, 58, 138, .2);
}
.page-products .history-side__title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  margin: .4rem 0 0;
  color: var(--color-tech);
}
.page-products .history-side__desc {
  font-size: var(--font-scale-small);
  color: rgba(43, 43, 43, .68);
  margin: .5rem 0 0;
}
.page-products .history-side__timeline {
  position: relative;
  padding-left: 1.75rem;
  margin-top: 1.25rem;
  display: grid;
  gap: 0;
}
.page-products .history-side__timeline::before {
  content: "";
  position: absolute;
  left: .375rem;
  top: .625rem;
  bottom: .625rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-steppe) 45%, var(--color-tech) 90%);
}
.page-products .history-side__item {
  position: relative;
  margin-bottom: .5rem;
}
.page-products .history-side__item::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: .85rem;
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  background: var(--color-milk);
  border: 2px solid var(--color-gold);
  z-index: 1;
}
.page-products .history-side__item[open]::before {
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .25);
}
.page-products .history-side__headline {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .625rem;
  padding: .65rem .75rem;
  border-radius: 8px;
  transition: background .2s ease;
}
.page-products .history-side__headline::-webkit-details-marker {
  display: none;
}
.page-products .history-side__headline:hover {
  background: rgba(212, 175, 55, .12);
}
.page-products .history-side__ver {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-tech);
}
.page-products .history-side__name {
  font-size: .925rem;
  color: var(--color-charcoal);
}
.page-products .history-side__more {
  font-size: .75rem;
  color: var(--color-warn);
  margin-left: auto;
}
.page-products .history-side__more::after {
  content: "展开日志";
  color: var(--color-warn);
}
.page-products .history-side__item[open] .history-side__more::after {
  content: "收起日志";
}
.page-products .history-side__body {
  padding: .15rem .75rem .75rem 1.25rem;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(43, 43, 43, .8);
}
.page-products .history-side__body ul {
  margin: 0;
  padding-left: .75rem;
}
.page-products .history-side__figure {
  margin: 1.5rem 0 0;
  border-radius: var(--dl-cut);
  overflow: hidden;
  max-width: 280px;
}
.page-products .history-side__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .history-side__figure figcaption {
  padding: .625rem .875rem;
  font-size: .8125rem;
  color: rgba(43, 43, 43, .68);
  background: rgba(244, 244, 240, .8);
}

/* ============ 版本编号说明 ============ */
.page-products .vrules {
  background: var(--color-milk);
  padding: 4rem 0 3.5rem;
}
.page-products .section-head {
  margin-bottom: 2.5rem;
}
.page-products .section-head p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(43, 43, 43, .78);
  max-width: 60ch;
  margin-top: .625rem;
}
.page-products .vrules__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.page-products .vrules__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
.page-products .vrules__item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 2rem;
  background: var(--color-green-gray);
  border-radius: 8px 20px 8px 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.page-products .vrules__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.page-products .vrules__num {
  position: absolute;
  left: -0.5rem;
  top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-deep);
  font-weight: 700;
  font-size: .8125rem;
}
.page-products .vrules__item h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  color: var(--color-charcoal);
}
.page-products .vrules__item p {
  margin: 0;
  font-size: .925rem;
  line-height: 1.75;
  color: rgba(43, 43, 43, .78);
}
.page-products .vrules__figure {
  margin: 0;
  border-radius: var(--dl-cut);
  overflow: hidden;
  background: var(--color-blue-gray);
}
.page-products .vrules__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .vrules__figure figcaption {
  padding: .75rem 1rem;
  font-size: var(--font-scale-small);
  color: rgba(43, 43, 43, .68);
}

/* ============ 系统要求 ============ */
.page-products .sysreq {
  background: linear-gradient(145deg, var(--color-deep) 0%, #142129 100%);
  padding: 4rem 0;
  position: relative;
  isolation: isolate;
}
.page-products .sysreq::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 15%, rgba(212, 175, 55, .12), transparent 26%),
    radial-gradient(circle at 12% 65%, rgba(30, 58, 138, .28), transparent 36%);
  pointer-events: none;
}
.page-products .section-head--light .section-title--light {
  color: var(--color-milk);
}
.page-products .section-head--light p {
  color: rgba(244, 244, 240, .78);
}
.page-products .section-label--gold {
  color: var(--color-gold);
}
.page-products .sysreq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.page-products .sysreq__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.page-products .sysreq__card {
  background: rgba(244, 244, 240, .95);
  border-radius: var(--dl-cut);
  padding: 1.5rem;
  box-shadow: 0 16px 44px rgba(15, 32, 39, .35);
}
.page-products .sysreq__card--tech {
  background: rgba(214, 224, 234, .95);
}
.page-products .sysreq__card h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  margin: 0 0 1rem;
  color: var(--color-charcoal);
}
.page-products .sysreq__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.page-products .sysreq__list li {
  padding-left: 1.25rem;
  position: relative;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(43, 43, 43, .84);
}
.page-products .sysreq__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5rem;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--color-tech);
}
.page-products .sysreq__card--tech .sysreq__list li::before {
  background: var(--color-steppe);
}
.page-products .sysreq__meter {
  margin-top: .625rem;
}
.page-products .sysreq__meter-name {
  display: block;
  font-size: .8125rem;
  color: rgba(43, 43, 43, .7);
  margin-bottom: .25rem;
}
.page-products .sysreq__bar {
  height: 8px;
  background: rgba(43, 43, 43, .12);
  border-radius: 999px;
  overflow: hidden;
}
.page-products .sysreq__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-tech), var(--color-steppe));
  color: transparent;
  font-size: 0;
  min-width: 2rem;
}
.page-products .sysreq__figure {
  margin: 0;
  border-radius: var(--dl-cut);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .4);
}
.page-products .sysreq__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .sysreq__figure figcaption {
  padding: .75rem 1rem;
  font-size: var(--font-scale-small);
  color: var(--color-milk);
  background: rgba(15, 32, 39, .82);
}

/* ============ 底部 CTA ============ */
.page-products .dl-footer-cta {
  background: var(--color-blue-gray);
  padding: 3rem 0;
}
.page-products .dl-footer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  background: var(--color-milk);
  border-radius: var(--dl-cut);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.page-products .dl-footer-cta__icon {
  margin: 0;
  border-radius: 12px 20px 12px 20px;
  overflow: hidden;
  max-width: 300px;
  width: 100%;
}
.page-products .dl-footer-cta__icon img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-products .dl-footer-cta__text {
  text-align: center;
}
.page-products .dl-footer-cta__text h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 0 0 .625rem;
  color: var(--color-charcoal);
}
.page-products .dl-footer-cta__text p {
  margin: 0 auto 1.25rem;
  font-size: .925rem;
  line-height: 1.7;
  color: rgba(43, 43, 43, .75);
  max-width: 52ch;
}
.page-products .dl-footer-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  justify-content: center;
}

/* ============ 通用按钮在页面内的微调 ============ */
.page-products .btn {
  font-family: var(--font-body);
  font-weight: 500;
  cursor: default;
}
.page-products .btn--primary {
  background: var(--color-tech);
  border-color: var(--color-tech);
  color: var(--color-milk);
}
.page-products .btn--gold {
  background: linear-gradient(135deg, #D4AF37, #E0C65E);
  border-color: #D4AF37;
  color: var(--color-deep);
}
.page-products .btn--ghost {
  border-color: rgba(30, 58, 138, .4);
  color: var(--color-tech);
  background: transparent;
}

/* ============ 响应式 ============ */
@media (min-width: 640px) {
  .page-products .dl-hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-products .dl-stat--gold {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }
  .page-products .latest-card {
    padding: 2.25rem;
  }
  .page-products .latest-card__figure {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-products .sysreq__cards {
    grid-template-columns: 1fr 1fr;
  }
  .page-products .dl-footer-cta__inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 2rem 2.5rem;
  }
  .page-products .dl-footer-cta__icon {
    flex: 0 0 260px;
  }
  .page-products .dl-footer-cta__text {
    text-align: left;
  }
  .page-products .dl-footer-cta__text p {
    margin-left: 0;
  }
  .page-products .dl-footer-cta__links {
    justify-content: flex-start;
  }
}

@media (min-width: 960px) {
  .page-products .dl-hero {
    padding: 3.5rem 0 4.5rem;
  }
  .page-products .dl-hero__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 3rem;
  }
  .page-products .dl-hero__text {
    flex: 0 0 58%;
  }
  .page-products .dl-hero__stats {
    flex: 0 0 38%;
    max-width: 400px;
  }
  .page-products .dl-showcase {
    padding: 4.5rem 0 5rem;
  }
  .page-products .dl-showcase__grid {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
    align-items: stretch;
  }
  .page-products .latest-card {
    padding: 2.5rem;
  }
  .page-products .vrules__layout {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
    align-items: stretch;
  }
  .page-products .vrules__figure {
    margin-top: 2rem;
  }
  .page-products .sysreq__layout {
    grid-template-columns: 7fr 5fr;
    gap: 2.5rem;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .page-products .latest-card__figure {
    margin-left: 0;
    margin-right: 0;
  }
  .page-products .history-side__figure {
    margin-left: auto;
    margin-right: 1.5rem;
  }
}
