.page-products {
  --pp-radius-lg: 20px;
  --pp-radius-md: 14px;
  --pp-radius-sm: 10px;
  --pp-panel: #0c2238;
  --pp-panel-soft: rgba(12, 34, 56, 0.72);
  --pp-hot: rgba(24, 224, 208, 0.34);
  overflow-x: hidden;
  padding-bottom: clamp(2rem, 6vw, 4.5rem);
  font-family: var(--font-body);
  color: var(--white);
}

.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 1.1rem 0 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .breadcrumbs a:hover,
.page-products .breadcrumbs a:focus-visible {
  color: var(--cyan);
  border-color: var(--line-strong);
}

.page-products .breadcrumbs [aria-current="page"] {
  color: var(--white);
}

/* 首屏：下载操作台 */
.page-products .dl-console {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

.page-products .dl-console__left {
  position: relative;
  min-width: 0;
  padding: clamp(1.25rem, 3.4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-lg);
  background:
    repeating-linear-gradient(to bottom, rgba(24, 224, 208, 0.05) 0 1px, transparent 1px 8px),
    radial-gradient(115% 80% at 100% 0%, rgba(43, 23, 64, 0.92), transparent 58%),
    linear-gradient(165deg, #0c2238 0%, #071426 70%);
}

.page-products .eyebrow {
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .dl-console h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 5.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-products .dl-console .lede {
  max-width: 46ch;
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

.page-products .version-mark {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 1.35rem 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(4rem, 15vw, 8rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--white);
  text-shadow: 0 0 36px rgba(24, 224, 208, 0.38);
}

.page-products .version-mark small {
  font-size: clamp(0.68rem, 2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-products .spec-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.25rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .spec-row li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.page-products .spec-key {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-products .spec-val {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--white);
  overflow-wrap: anywhere;
}

.page-products .dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 1.5rem;
}

.page-products .dl-actions .btn {
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-products .dl-actions .btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(24, 224, 208, 0.18);
}

.page-products .dl-hint {
  display: flex;
  gap: 0.45rem;
  max-width: 28ch;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .dl-hint::before {
  content: "!";
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1rem;
}

.page-products .dl-shot {
  margin: 1.5rem 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--pp-hot);
  border-radius: var(--pp-radius-md);
  background: var(--ink);
}

.page-products .dl-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 机型面板 */
.page-products .dl-console__right {
  min-width: 0;
  padding: clamp(1rem, 2.6vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-lg);
  background: linear-gradient(180deg, rgba(18, 58, 82, 0.72), rgba(7, 20, 38, 0.94));
}

.page-products .match-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.page-products .match-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .match-head .mono {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .match-note {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .device-list,
.page-products .device__body ul,
.page-products .vdiff ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .device {
  border-bottom: 1px dashed var(--line);
}

.page-products .device:last-child {
  border-bottom: 0;
}

.page-products .device > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: color 0.2s var(--ease);
}

.page-products .device > summary::-webkit-details-marker {
  display: none;
}

.page-products .device > summary::after {
  content: "+";
  margin-left: 0.35rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
  transition: transform 0.24s var(--ease), color 0.24s var(--ease);
}

.page-products .device[open] > summary {
  color: var(--cyan);
}

.page-products .device[open] > summary::after {
  transform: rotate(45deg);
  color: var(--orange);
}

.page-products .device > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.page-products .device__name {
  flex: 1 1 auto;
  min-width: 0;
}

.page-products .device__size {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .device__body {
  display: grid;
  gap: 0.7rem;
  padding: 0 0.1rem 1rem;
}

.page-products .device__body ul {
  display: grid;
  gap: 0.4rem;
}

.page-products .device__body li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .device__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .device__body a {
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--pp-hot);
}

.page-products .device__body a:hover,
.page-products .device__body a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.page-products .match-shot {
  margin: 1rem 0 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
}

.page-products .match-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 通用区块 */
.page-products .section-block {
  padding-top: clamp(2.5rem, 7vw, 4.5rem);
}

.page-products .section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.page-products .section-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.page-products h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .section-head p:not(.section-kicker) {
  margin: 0;
  max-width: 58ch;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--muted);
}

/* 三步安装流程 */
.page-products .steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .step {
  position: relative;
  padding: 1.2rem 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
  background: linear-gradient(180deg, rgba(18, 58, 82, 0.6), rgba(7, 20, 38, 0.5));
}

.page-products .step__num {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-products .step h3 {
  margin: 0.8rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
}

.page-products .step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .flow-shot {
  margin: 1.5rem 0 0;
  overflow: hidden;
  border: 1px solid var(--pp-hot);
  border-radius: var(--pp-radius-md);
}

.page-products .flow-shot img,
.page-products .ability-shot img,
.page-products .rail-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-products .perm-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--orange);
  border-radius: 0 var(--pp-radius-sm) var(--pp-radius-sm) 0;
  background: rgba(255, 107, 44, 0.08);
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .perm-note strong {
  color: var(--white);
}

/* V3 能力 */
.page-products .ability-block {
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  padding: clamp(1.1rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(43, 23, 64, 0.75), transparent 56%),
    linear-gradient(180deg, rgba(18, 58, 82, 0.55), rgba(7, 20, 38, 0.18));
}

.page-products .ability-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-products .ability-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
}

.page-products .ability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.page-products .ability {
  padding: 1.05rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-panel-soft);
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.page-products .ability:hover {
  transform: translateY(-3px);
  border-color: var(--pp-hot);
  box-shadow: 0 18px 34px -26px rgba(24, 224, 208, 0.85);
}

.page-products .ability h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.page-products .ability h3 span {
  display: block;
  margin-bottom: 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.page-products .ability p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--muted);
}

/* 版本演进 */
.page-products .version-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 82%);
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.9rem;
  scroll-snap-type: x mandatory;
}

.page-products .vcard {
  scroll-snap-align: start;
  padding: 1.1rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
  background: var(--pp-panel-soft);
  transition: border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.page-products .vcard:hover {
  border-color: var(--pp-hot);
  background: rgba(18, 58, 82, 0.8);
}

.page-products .vcard--current {
  border-color: rgba(255, 200, 87, 0.5);
  background: linear-gradient(160deg, rgba(43, 23, 64, 0.72), rgba(12, 34, 56, 0.9));
}

.page-products .vcard__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.page-products .vcard--current .vcard__tag {
  color: var(--gold);
}

.page-products .vcard h3 {
  margin: 0.4rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}

.page-products .vcard p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .vdiff {
  margin-top: 0.85rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}

.page-products .vdiff > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-products .vdiff > summary::-webkit-details-marker {
  display: none;
}

.page-products .vdiff > summary::after {
  content: "▾";
  transition: transform 0.24s var(--ease);
}

.page-products .vdiff[open] > summary::after {
  transform: rotate(180deg);
}

.page-products .vdiff > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-products .vdiff ul {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.page-products .vdiff li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.79rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .vdiff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
}

.page-products .rail-shot {
  margin: 1.25rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
}

.page-products .tag-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .tag {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .tag:first-child {
  border-color: var(--pp-hot);
  background: rgba(24, 224, 208, 0.12);
  color: var(--cyan);
}

/* 问题速查 */
.page-products .qa-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.page-products .qa {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-sm);
  background: var(--pp-panel-soft);
  transition: border-color 0.24s var(--ease);
}

.page-products .qa[open],
.page-products .qa:hover {
  border-color: var(--pp-hot);
}

.page-products .qa > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}

.page-products .qa > summary::-webkit-details-marker {
  display: none;
}

.page-products .qa > summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--cyan);
  transition: transform 0.24s var(--ease), color 0.24s var(--ease);
}

.page-products .qa[open] > summary::after {
  transform: rotate(45deg);
  color: var(--orange);
}

.page-products .qa > summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}

.page-products .qa p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.85rem;
  line-height: 1.78;
  color: var(--muted);
}

/* 去向链接 */
.page-products .next-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: clamp(2rem, 6vw, 3.5rem);
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.page-products .next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--pp-radius-md);
  background: var(--pp-panel-soft);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), background 0.24s var(--ease);
}

.page-products .next-link:hover,
.page-products .next-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pp-hot);
  background: rgba(18, 58, 82, 0.85);
}

.page-products .next-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-products .next-link__text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.page-products .next-link__text strong {
  font-size: 0.94rem;
  font-weight: 700;
}

.page-products .next-link__text span {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.page-products .next-link__arrow {
  flex: none;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--cyan);
}

@media (min-width: 560px) {
  .page-products .ability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .ability:nth-child(even) {
    margin-top: 1.1rem;
  }
}

@media (min-width: 760px) {
  .page-products .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .page-products .step:nth-child(2) {
    transform: translateY(14px);
  }

  .page-products .step:nth-child(3) {
    transform: translateY(28px);
  }

  .page-products .qa-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .next-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .dl-console {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    align-items: start;
  }

  .page-products .ability-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.75rem;
    align-items: start;
  }

  .page-products .version-rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .ability,
  .page-products .vcard,
  .page-products .qa,
  .page-products .next-link,
  .page-products .device > summary::after,
  .page-products .qa > summary::after,
  .page-products .vdiff > summary::after {
    transition: none;
  }

  .page-products .ability:hover,
  .page-products .next-link:hover,
  .page-products .next-link:focus-visible {
    transform: none;
  }

  .page-products .step:nth-child(2),
  .page-products .step:nth-child(3) {
    transform: none;
  }
}
