/* ========================================
   APP下载页 · 页面专属样式
   作用域限定在 .page-products
   ======================================== */
.page-products {
  --ab-violet-rgb: 123, 94, 214;
  font-family: var(--font-body);
}

/* ---------- 下载中心 Hero ---------- */
.page-products .dl-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(80% 50% at 18% 0%, rgba(123, 94, 214, 0.22) 0%, transparent 70%),
    radial-gradient(60% 80% at 92% 10%, rgba(184, 255, 0, 0.1) 0%, transparent 70%),
    linear-gradient(120deg, var(--ink-deep) 0%, var(--ink) 55%, var(--violet-deep) 100%);
  padding: 32px 0 44px;
}

.page-products .dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-products .dl-hero__container {
  position: relative;
  z-index: 1;
}

.page-products .dl-hero__grid {
  display: grid;
  gap: 28px;
  margin-top: 26px;
}

.page-products .dl-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .dl-hero__tag {
  transform: skewX(-8deg);
  background: var(--neon);
  color: var(--ink);
  font-weight: 800;
  border: none;
}

.page-products .dl-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 6vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
  font-weight: 800;
  margin: 18px 0 14px;
}

.page-products .dl-hero__lead {
  font-size: 0.96rem;
  line-height: 1.75;
  color: rgba(245, 240, 230, 0.84);
  max-width: 46em;
  margin: 0 0 22px;
}

.page-products .dl-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.page-products .dl-hero__metrics .data-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.page-products .dl-hero__quicknav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .dl-hero__quicknav a {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-products .dl-hero__quicknav a:hover,
.page-products .dl-hero__quicknav a:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--neon);
  color: #ffffff;
}

.page-products .dl-hero__trust {
  margin-top: 20px;
  font-size: 0.82rem;
  color: rgba(245, 240, 230, 0.65);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.page-products .dl-hero .breadcrumb {
  margin-bottom: 10px;
}

.page-products .dl-hero .breadcrumb a {
  color: rgba(245, 240, 230, 0.72);
}

.page-products .dl-hero .breadcrumb a:hover {
  color: var(--neon);
}

.page-products .dl-hero .breadcrumb-item[aria-current="page"] {
  color: var(--white);
}

.page-products .dl-hero__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.36);
}

.page-products .dl-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .dl-hero__figure .figure-card__cap {
  background: rgba(13, 21, 32, 0.9);
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- 技能树平台节点 ---------- */
.page-products .dl-tree {
  background: var(--paper);
  padding: 56px 0 64px;
}

.page-products .dl-tree__head .section-desc {
  max-width: 660px;
}

.page-products .dl-tree__canvas {
  position: relative;
  margin-top: 34px;
}

.page-products .dl-tree__lines {
  display: none;
}

.page-products .dl-tree__hub {
  position: relative;
  z-index: 2;
  max-width: 420px;
  margin: 0 auto 30px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}

.page-products .dl-tree__hub::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--violet), var(--gold));
  border-radius: var(--radius) var(--radius) 0 0;
}

.page-products .dl-tree__hub img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.page-products .dl-tree__hub-text h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-family: var(--font-head);
}

.page-products .dl-tree__hub-text p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.74);
}

.page-products .dl-tree__grid {
  display: grid;
  gap: 16px;
}

.page-products .dl-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-products .dl-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(123, 94, 214, 0.5);
}

.page-products .dl-node__num {
  position: absolute;
  top: -1px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--violet);
  background: var(--violet-pale);
  padding: 4px 8px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.page-products .dl-node h3 {
  font-size: 1.12rem;
  margin: 8px 0 8px;
  text-align: center;
  font-family: var(--font-head);
}

.page-products .dl-node > p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.page-products .dl-node__meta {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .dl-node__meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.84rem;
}

.page-products .dl-node__meta dt {
  color: var(--ink-soft);
  font-weight: 400;
}

.page-products .dl-node__meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.page-products .dl-node__btn {
  margin-bottom: 10px;
}

.page-products .dl-node__btn:focus {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

.page-products .dl-node__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.page-products .dl-node__status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 6px rgba(184, 255, 0, 0.75);
}

.page-products .dl-node__traffic {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 12px;
  margin-top: 4px;
}

.page-products .dl-node__traffic-bar {
  width: 4px;
  border-radius: 2px;
  background: var(--violet);
}

.page-products .dl-node__traffic-bar--a {
  height: 6px;
  opacity: 0.45;
}

.page-products .dl-node__traffic-bar--b {
  height: 12px;
  opacity: 0.85;
}

.page-products .dl-node__traffic-bar--c {
  height: 8px;
  opacity: 0.65;
}

/* ---------- 版本历史 ---------- */
.page-products .ver-history {
  background: linear-gradient(180deg, var(--grey-blue) 0%, var(--paper) 100%);
  padding: 56px 0 64px;
}

.page-products .ver-history__layout {
  margin-top: 30px;
}

.page-products .ver-history__intro {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
}

.page-products .ver-history__intro figure {
  margin: 0 0 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-products .ver-history__intro img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .ver-history__intro h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-family: var(--font-head);
}

.page-products .ver-history__intro p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.72);
  margin: 0 0 12px;
}

.page-products .ver-history__intro p:last-child {
  margin-bottom: 0;
}

.page-products .ver-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.page-products .ver-timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--violet), var(--neon) 70%, var(--gold));
}

.page-products .ver-timeline__item {
  position: relative;
  margin-bottom: 16px;
  padding-left: 58px;
}

.page-products .ver-timeline__item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--violet);
  box-shadow: 0 0 0 3px rgba(123, 94, 214, 0.22);
}

.page-products .ver-timeline__item--current::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 185, 49, 0.3);
}

.page-products .ver-timeline__version {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  background: var(--ink);
  color: var(--white);
  padding: 4px 12px;
  transform: skewX(-8deg);
  border-radius: 0 4px 4px 0;
}

.page-products .ver-timeline__version--current {
  background: var(--gold);
  color: var(--ink);
}

.page-products .ver-timeline__body {
  margin-top: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-products .ver-timeline__item:hover .ver-timeline__body {
  border-color: rgba(123, 94, 214, 0.45);
  box-shadow: var(--shadow);
}

.page-products .ver-timeline__body h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
}

.page-products .ver-timeline__body p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- 系统要求 ---------- */
.page-products .sys-req {
  position: relative;
  background:
    linear-gradient(140deg, rgba(123, 94, 214, 0.16) 0%, transparent 42%),
    var(--ink);
  color: var(--paper);
  padding: 56px 0 60px;
}

.page-products .sys-req::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--gold), var(--violet));
}

.page-products .sys-req__head .section-label,
.page-products .sys-req__head .section-title {
  color: var(--white);
}

.page-products .sys-req__head .section-desc {
  color: rgba(245, 240, 230, 0.65);
}

.page-products .sys-req__grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.page-products .sys-req__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 22px 18px;
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.page-products .sys-req__panel:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(123, 94, 214, 0.55);
}

.page-products .sys-req__panel h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: var(--white);
  font-family: var(--font-head);
}

.page-products .sys-req__panel > p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: rgba(245, 240, 230, 0.6);
}

.page-products .sys-req__bars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  height: 4px;
}

.page-products .sys-req__bars span {
  width: 22%;
  height: 4px;
  border-radius: 2px;
  background: var(--violet);
  transition: width 0.2s ease, background 0.2s ease;
}

.page-products .sys-req__panel:hover .sys-req__bars span:nth-child(1) {
  width: 38%;
  background: var(--neon);
}

.page-products .sys-req__panel:hover .sys-req__bars span:nth-child(2) {
  width: 56%;
  background: var(--gold);
}

.page-products .sys-req__panel:hover .sys-req__bars span:nth-child(3) {
  width: 46%;
  background: var(--violet-bright);
}

.page-products .sys-req__panel .data-table {
  color: var(--paper);
  background: transparent;
  font-size: 0.86rem;
}

.page-products .sys-req__panel .data-table th {
  color: var(--neon);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.page-products .sys-req__panel .data-table td {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(245, 240, 230, 0.9);
}

.page-products .sys-req__panel .data-table tr:hover td {
  background: rgba(184, 255, 0, 0.08);
}

.page-products .sys-req__figure {
  margin: 30px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-products .sys-req__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .sys-req__figure .figure-card__cap {
  background: rgba(0, 0, 0, 0.38);
  color: rgba(245, 240, 230, 0.78);
  font-size: 0.82rem;
  line-height: 1.6;
  padding: 10px 14px;
}

/* ---------- 更新说明 ---------- */
.page-products .update-breakdown {
  background: var(--paper);
  padding: 56px 0 64px;
}

.page-products .update-breakdown__grid {
  display: grid;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
}

.page-products .update-breakdown__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-products .update-breakdown__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .update-breakdown__content {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--violet);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.page-products .update-breakdown__content h3 {
  font-size: 1.25rem;
  margin: 12px 0 10px;
  line-height: 1.4;
  font-family: var(--font-head);
}

.page-products .update-breakdown__content > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.page-products .update-breakdown__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .update-breakdown__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
}

.page-products .update-breakdown__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--neon);
  transform: rotate(45deg);
}

/* ---------- 继续探索 ---------- */
.page-products .explore-cards {
  background: var(--grey-blue);
  padding: 44px 0 64px;
}

.page-products .explore-cards__grid {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-products .explore-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.page-products .explore-card:hover,
.page-products .explore-card:focus {
  border-color: var(--violet);
  background: var(--violet-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.page-products .explore-card__title {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.page-products .explore-card__desc {
  display: block;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 桌面端适配 ---------- */
@media (min-width: 960px) {
  .page-products .dl-hero {
    padding: 44px 0 64px;
  }

  .page-products .dl-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 44px;
    align-items: center;
    margin-top: 34px;
  }

  .page-products .dl-hero__metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .ver-history__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
    gap: 32px;
    align-items: start;
    margin-top: 34px;
  }

  .page-products .ver-history__intro {
    position: sticky;
    top: 24px;
    margin-bottom: 0;
  }

  .page-products .sys-req__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
  }

  .page-products .sys-req__panel {
    padding: 26px 22px;
  }

  .page-products .update-breakdown__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 36px;
  }

  .page-products .explore-cards__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .page-products .dl-tree__lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .page-products .dl-tree__line {
    fill: none;
    stroke: rgba(123, 94, 214, 0.55);
    stroke-width: 2;
    stroke-dasharray: 6 8;
    vector-effect: non-scaling-stroke;
  }

  .page-products .dl-tree__canvas {
    margin-top: 42px;
  }

  .page-products .dl-tree__hub {
    max-width: 460px;
    margin-bottom: 44px;
  }

  .page-products .dl-tree__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}
