/* ===== 安装与版本 /download/ ===== */
.page-products {
  --pd-rail-w: 262px;
  --pd-panel: rgba(20, 26, 34, .72);
  --pd-glow: radial-gradient(58% 60% at 50% 34%, rgba(255, 90, 31, .30), rgba(255, 90, 31, 0) 72%);
  color: var(--white);
  overflow-x: clip;
  padding-bottom: 48px;
}

.page-products .breadcrumb {
  margin-bottom: 28px;
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  display: grid;
  gap: 34px;
  align-items: center;
}

.page-products .pd-hero__copy > * + * {
  margin-top: 16px;
}

.page-products .pd-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(29px, 7.4vw, 50px);
  line-height: 1.2;
  letter-spacing: -.012em;
  color: #fff;
}

.page-products .pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 8px;
}

.page-products .pd-hero__visual {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--ink-800);
  box-shadow: var(--shadow-card);
}

.page-products .pd-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pd-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 90, 31, .12), rgba(11, 14, 19, .58));
  pointer-events: none;
}

/* ---------- 左窄右宽双栏 ---------- */
.page-products .pd-body {
  display: grid;
  gap: 42px;
  margin-top: 46px;
}

.page-products .pd-rail__card {
  position: relative;
  padding: 24px 22px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background:
    var(--pd-glow) no-repeat 50% -30px / 100% 220px,
    linear-gradient(180deg, rgba(30, 39, 51, .94), rgba(11, 14, 19, .97));
  box-shadow: var(--shadow-card);
}

.page-products .pd-version {
  display: block;
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(58px, 15vw, 76px);
  line-height: .92;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 0 46px rgba(255, 90, 31, .5);
}

.page-products .pd-rail__facts {
  display: grid;
  gap: 9px;
  margin: 20px 0 22px;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
}

.page-products .pd-rail__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.page-products .pd-rail__row dt {
  color: var(--mist);
}

.page-products .pd-rail__row dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--white);
}

.page-products .pd-rail__cta {
  width: 100%;
  justify-content: center;
}

/* ---------- 右侧内容流 ---------- */
.page-products .pd-flow {
  display: grid;
  gap: 58px;
  min-width: 0;
}

.page-products .pd-section {
  scroll-margin-top: 112px;
  min-width: 0;
}

.page-products .pd-section + .pd-section {
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

.page-products .pd-figure {
  margin: 28px 0 0;
}

.page-products .pd-note {
  margin: 24px 0 0;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.82;
  color: var(--mist);
  border-left: 2px solid rgba(55, 194, 214, .5);
}

.page-products .pd-note a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .pd-note a:hover {
  color: var(--cyan-soft);
}

/* ---------- 本月更新要点 ---------- */
.page-products .pd-updates {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
}

.page-products .pd-updates li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.page-products .pd-updates li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-products .pd-updates__no {
  padding-top: 4px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--flame);
}

.page-products .pd-updates h3 {
  margin: 0 0 5px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.page-products .pd-updates p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 安装三步 ---------- */
.page-products .pd-steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.page-products .pd-step {
  transform: skewY(-1.4deg);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: linear-gradient(158deg, rgba(30, 39, 51, .82), rgba(11, 14, 19, .95));
  box-shadow: var(--shadow-card);
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur) ease;
}

.page-products .pd-step:hover {
  border-color: rgba(255, 90, 31, .46);
  box-shadow: 0 30px 60px -34px rgba(255, 90, 31, .42);
}

.page-products .pd-step__inner {
  transform: skewY(1.4deg);
  padding: 28px 22px;
}

.page-products .pd-step__no {
  display: inline-block;
  margin-bottom: 14px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--flame);
  border: 1px solid rgba(255, 90, 31, .42);
  border-radius: var(--r-pill);
}

.page-products .pd-step h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
}

.page-products .pd-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 设备与系统要求 ---------- */
.page-products .pd-table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--pd-panel);
  -webkit-overflow-scrolling: touch;
}

.page-products .pd-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pd-table caption {
  padding: 18px 20px 12px;
  text-align: left;
  font-size: 12.5px;
  color: var(--mist);
}

.page-products .pd-table th,
.page-products .pd-table td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.page-products .pd-table thead th {
  border-top: 0;
  background: rgba(55, 194, 214, .07);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--cyan-soft);
}

.page-products .pd-table tbody tr {
  transition: background var(--dur-fast) ease;
}

.page-products .pd-table tbody tr:nth-child(odd) td {
  background: rgba(30, 39, 51, .40);
}

.page-products .pd-table tbody tr:hover td {
  background: rgba(255, 90, 31, .10);
}

.page-products .pd-table tbody tr:hover td:first-child {
  box-shadow: inset 2px 0 0 var(--flame);
}

.page-products .pd-table td:first-child {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

/* ---------- 版本日志 ---------- */
.page-products .pd-log {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--pd-panel);
  overflow: hidden;
}

.page-products .pd-log__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  transition: background var(--dur-fast) ease;
}

.page-products .pd-log__summary::-webkit-details-marker {
  display: none;
}

.page-products .pd-log__summary:hover {
  background: rgba(255, 90, 31, .07);
}

.page-products .pd-log__summary:focus-visible {
  outline: 2px solid var(--flame);
  outline-offset: -2px;
}

.page-products .pd-log__summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  margin-top: -4px;
  border-right: 2px solid var(--mist);
  border-bottom: 2px solid var(--mist);
  transform: rotate(45deg);
  transition: transform var(--dur) ease, margin var(--dur) ease;
}

.page-products .pd-log[open] .pd-log__summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.page-products .pd-log__tag {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.page-products .pd-log__range {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--flame);
}

.page-products .pd-log__count {
  font-size: 12px;
  color: var(--mist);
}

.page-products .pd-log__list {
  list-style: none;
  margin: 0;
  padding: 4px 20px 22px;
}

.page-products .pd-log__item {
  position: relative;
  padding: 18px 0 18px 26px;
  border-top: 1px solid var(--line);
}

.page-products .pd-log__item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 90, 31, .5), rgba(55, 194, 214, .22));
}

.page-products .pd-log__item:last-child::before {
  bottom: 50%;
}

.page-products .pd-log__item::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 25px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--flame);
}

.page-products .pd-log__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.page-products .pd-log__ver {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--flame);
}

.page-products .pd-log__title {
  margin: 0 0 5px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-log__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 六类统计 ---------- */
.page-products .pd-gauges {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.page-products .pd-gauge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--pd-panel);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: border-color var(--dur-fast) ease, background var(--dur-fast) ease;
}

.page-products .pd-gauge:hover {
  border-color: rgba(255, 90, 31, .5);
  background: rgba(255, 90, 31, .07);
}

.page-products .pd-gauge__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .pd-uses {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.page-products .pd-uses h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.page-products .pd-uses p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--mist);
}

.page-products .pd-uses .pd-link-row {
  margin-top: 12px;
}

.page-products .pd-link-row a {
  font-size: 14px;
  color: var(--flame);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 90, 31, .45);
  padding-bottom: 2px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.page-products .pd-link-row a:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 自查清单 ---------- */
.page-products .pd-fix {
  list-style: none;
  counter-reset: pd-fix;
  margin: 26px 0 0;
  padding: 0;
}

.page-products .pd-fix li {
  counter-increment: pd-fix;
  position: relative;
  padding: 20px 0 20px 46px;
  border-top: 1px solid var(--line);
}

.page-products .pd-fix li:last-child {
  border-bottom: 1px solid var(--line);
}

.page-products .pd-fix li::before {
  content: counter(pd-fix, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--cyan);
}

.page-products .pd-fix h3 {
  margin: 0 0 5px;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
}

.page-products .pd-fix p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 联系方式 ---------- */
.page-products .pd-contact {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pd-contact__item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--pd-panel);
}

.page-products .pd-contact__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
}

.page-products .pd-contact__value {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  word-break: break-all;
}

.page-products a.pd-contact__value {
  border-bottom: 1px solid rgba(55, 194, 214, .4);
  padding-bottom: 2px;
  transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}

.page-products a.pd-contact__value:hover {
  color: var(--ember);
  border-color: var(--ember);
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 1024px) {
  .page-products .pd-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: 56px;
  }

  .page-products .pd-hero__visual {
    justify-self: end;
    width: min(100%, 360px);
  }

  .page-products .pd-body {
    grid-template-columns: var(--pd-rail-w) minmax(0, 1fr);
    gap: 62px;
    align-items: stretch;
  }

  .page-products .pd-rail {
    position: relative;
  }

  .page-products .pd-rail__card {
    position: sticky;
    top: 112px;
  }

  .page-products .pd-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .page-products .pd-uses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
  }
}

/* ---------- 窄屏收口 ---------- */
@media (max-width: 640px) {
  .page-products .pd-updates li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
  }

  .page-products .pd-contact__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .page-products .pd-log__summary {
    flex-wrap: wrap;
  }

  .page-products .pd-fix li {
    padding-left: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-step,
  .page-products .pd-step__inner {
    transform: none;
  }

  .page-products .pd-step,
  .page-products .pd-log__summary,
  .page-products .pd-log__summary::after,
  .page-products .pd-gauge,
  .page-products .pd-table tbody tr {
    transition: none;
  }
}
