.page-products {
  --download-gap: 28px;
  --download-radius: 6px;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

.page-products__inner {
  width: min(calc(100% - 32px), var(--container-max));
  margin-inline: auto;
}

/* ===== 页头 ===== */
.page-products__hero {
  position: relative;
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-deep-blue) 100%);
  color: var(--color-white);
  padding: 24px 0 56px;
  overflow: hidden;
}

.page-products__hero::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 177, 6, 0.3), transparent 70%);
  pointer-events: none;
}

.page-products__hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(212, 177, 6, 0.28);
  transform: rotate(14deg);
  pointer-events: none;
}

.page-products__breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.page-products__breadcrumb a {
  color: var(--color-pale-gold);
  text-decoration: none;
}

.page-products__crumb-sep {
  color: rgba(255, 255, 255, 0.4);
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-pale-gold);
  border: 1px solid rgba(212, 177, 6, 0.5);
  padding: 4px 12px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
}

.page-products__hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  margin: 16px 0 12px;
  position: relative;
  z-index: 1;
}

.hero-lead {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-stats li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-gold);
}

.hero-stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ===== 平台下载区 ===== */
.page-products__downloads {
  padding: 56px 0 32px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.page-products__downloads h2,
.page-products__spec h2,
.page-products__upgrades h2,
.page-products__notes h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 42px);
  margin: 0;
  color: var(--color-navy);
}

.section-desc {
  max-width: 640px;
  margin: 12px 0 24px;
  color: var(--color-slate);
  font-size: 15px;
}

.platform-family-figure {
  margin: 32px 0 8px;
  background: var(--color-pale-gold);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 177, 6, 0.35);
}

.platform-family-figure img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-inline: auto;
}

.platform-family-caption {
  text-align: center;
  font-size: 13px;
  color: var(--color-slate);
  margin-top: 8px;
}

.platform-band {
  display: grid;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(212, 177, 6, 0.25);
}

.platform-band:last-child {
  border-bottom: 0;
}

.platform-band__media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy), var(--color-deep-blue));
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-band__media::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 10%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(212, 177, 6, 0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.platform-band__media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.platform-band__media--tile img {
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.platform-band__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-band__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-navy);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--color-gold);
  flex-shrink: 0;
}

.platform-band__titles {
  flex: 1;
  min-width: 0;
}

.platform-band__titles h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0;
  color: var(--color-navy);
}

.platform-band__titles p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--color-slate);
}

.platform-band__head .tag {
  margin-left: auto;
}

.platform-desc {
  margin: 0;
  font-size: 15px;
}

.platform-meta {
  margin: 4px 0 0;
  display: grid;
  gap: 8px;
  border: 1px solid var(--color-pale-gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: rgba(241, 230, 163, 0.15);
}

.platform-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.platform-meta dt {
  color: var(--color-slate);
  font-weight: 600;
}

.platform-meta dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-navy);
  text-align: right;
}

.page-products .btn--download {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
}

.download-ring {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  margin-right: 8px;
}

/* ===== 系统要求 ===== */
.page-products__spec {
  background: var(--color-pale-gold);
  padding: 64px 0;
}

.spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.page-products__spec .table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(10, 31, 68, 0.08);
  margin: 0;
}

.page-products__spec .table th {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}

.page-products__spec .table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(241, 230, 163, 0.5);
  vertical-align: top;
}

.page-products__spec .table tbody tr:nth-child(even) {
  background: rgba(241, 230, 163, 0.15);
}

.spec-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-navy);
  padding: 5px 0;
}

.spec-details summary::-webkit-details-marker {
  color: var(--color-gold);
}

.spec-details ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--color-slate);
  font-size: 14px;
}

/* ===== 升级包下载 ===== */
.page-products__upgrades {
  background: var(--color-white);
  padding: 64px 0;
}

.upgrade-layout {
  display: grid;
  gap: 32px;
  margin-top: 24px;
}

.upgrade-sidebar {
  background: var(--color-deep-blue);
  color: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-md);
  align-self: start;
}

.upgrade-sidebar h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--color-gold);
}

.version-tree {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-left: 2px solid rgba(212, 177, 6, 0.4);
}

.version-tree li {
  padding: 8px 0 8px 16px;
  position: relative;
}

.version-tree li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 2px solid var(--color-deep-blue);
}

.version-tree a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
}

.version-tree a:hover {
  color: var(--color-pale-gold);
}

.version-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px;
}

.upgrade-table-wrap {
  overflow-x: auto;
}

.upgrade-table-wrap .table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0;
}

.upgrade-table-wrap .table th {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}

.upgrade-table-wrap .table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(241, 230, 163, 0.5);
}

.upgrade-table-wrap .table tbody tr:nth-child(even) {
  background: rgba(241, 230, 163, 0.15);
}

.upgrade-table-wrap tr[id] {
  scroll-margin-top: 140px;
}

.upgrade-note {
  margin: 12px 0 0;
}

/* ===== 下载说明 ===== */
.page-products__notes {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 64px 0;
}

.page-products__notes .section-kicker {
  color: var(--color-pale-gold);
}

.page-products__notes h2 {
  color: var(--color-white);
}

.page-products__notes .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.notes-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.note-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.note-card__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: rgba(212, 177, 6, 0.35);
  line-height: 1;
}

.note-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--color-gold);
}

.note-card p,
.note-card li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.note-card ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.note-tip {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: rgba(212, 177, 6, 0.14);
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--color-pale-gold);
}

.trust-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(212, 177, 6, 0.1);
  border: 1px solid rgba(212, 177, 6, 0.3);
  border-radius: var(--radius-md);
}

.trust-seal {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.trust-banner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.trust-banner strong {
  color: var(--color-pale-gold);
}

/* ===== 响应式增强 ===== */
@media (min-width: 520px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .platform-band {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
    padding: 48px 0;
  }

  .platform-band--alt {
    grid-template-columns: 7fr 5fr;
  }

  .platform-band--alt .platform-band__media {
    order: 2;
  }

  .notes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1024px) {
  .upgrade-layout {
    grid-template-columns: 280px 1fr;
    gap: 48px;
  }
}
