.page-products {
  --pd-panel-bg: #15102E;
  --pd-line: rgba(138, 147, 184, .22);
  --pd-line-soft: rgba(138, 147, 184, .12);
  --pd-radius: 22px;
  --pd-shadow: 0 24px 58px -34px rgba(2, 6, 18, .95);
}

.page-products .crumbs {
  padding-top: clamp(14px, 2.2vw, 22px);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 52px) 0 clamp(40px, 6vw, 84px);
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto -12%;
  height: 150%;
  background:
    radial-gradient(58% 52% at 80% 16%, rgba(108, 59, 255, .34), transparent 72%),
    radial-gradient(48% 44% at 8% 78%, rgba(47, 184, 255, .18), transparent 74%);
  pointer-events: none;
  z-index: 0;
}

.page-products .pd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-products .pd-hero-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 6.6vw, 52px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--c-mist);
}

.page-products .pd-grad {
  background: linear-gradient(118deg, #6C3BFF 0%, #2FB8FF 58%, #35F0D0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-products .pd-hero-lede {
  margin: 18px 0 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(230, 234, 245, .78);
}

.page-products .pd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pd-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--c-muted);
}

.page-products .pd-hero-facts b {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: var(--c-cyan);
}

/* 首屏纯 CSS 设备轮廓 */
.page-products .pd-hero-visual {
  display: grid;
  gap: 14px;
}

.page-products .pd-tab-frame {
  position: relative;
  padding: 14px;
  border: 1px solid var(--pd-line);
  border-radius: 26px;
  background:
    linear-gradient(160deg, rgba(76, 43, 217, .30), rgba(30, 155, 255, .10) 58%, rgba(21, 16, 46, .92));
  box-shadow: var(--shadow-2);
  transform: rotate(-1.4deg);
}

.page-products .pd-tab-bar {
  display: flex;
  gap: 6px;
  padding: 0 4px 12px;
}

.page-products .pd-tab-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(230, 234, 245, .22);
}

.page-products .pd-tab-screen {
  position: relative;
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(138, 147, 184, .18);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(11, 16, 32, .98), rgba(11, 16, 32, .84));
}

.page-products .pd-tab-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.page-products .pd-tab-index span {
  padding: 4px 10px;
  border: 1px solid rgba(108, 59, 255, .30);
  border-radius: var(--r-pill);
  font-family: var(--font-num);
  font-size: 10.5px;
  color: rgba(230, 234, 245, .74);
  background: rgba(108, 59, 255, .16);
}

.page-products .pd-tab-main {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 14px;
}

.page-products .pd-tab-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .pd-block {
  display: block;
  height: 9px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, rgba(230, 234, 245, .20), rgba(230, 234, 245, .05));
}

.page-products .pd-block--a {
  height: 13px;
  background: linear-gradient(90deg, rgba(108, 59, 255, .72), rgba(47, 184, 255, .24));
}

.page-products .pd-block--short {
  width: 62%;
}

.page-products .pd-block--num {
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(255, 138, 61, .40), rgba(255, 138, 61, .06));
}

.page-products .pd-tab-col--side .pd-block {
  background: linear-gradient(90deg, rgba(53, 240, 208, .32), rgba(53, 240, 208, .05));
}

.page-products .pd-tab-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 138, 61, .34);
  border-radius: var(--r-pill);
  background: rgba(255, 138, 61, .10);
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--c-orange);
}

.page-products .pd-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(53, 240, 208, .16);
  animation: pd-pulse 2.4s var(--ease) infinite;
}

@keyframes pd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.page-products .pd-frame-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-muted);
  text-align: right;
}

/* ---------- 通用章节 ---------- */
.page-products .section {
  padding: clamp(36px, 5vw, 66px) 0;
}

.page-products .section-head {
  max-width: 72ch;
}

.page-products .media-frame {
  border-radius: var(--pd-radius);
  overflow: hidden;
}

.page-products .pd-shot {
  margin: 0;
}

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

.page-products .media-frame .media-caption {
  padding: 12px 14px 2px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---------- 下载控制台 ---------- */
.page-products .pd-console-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pd-picker {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  background: linear-gradient(170deg, rgba(76, 43, 217, .16), rgba(21, 16, 46, .92));
}

.page-products .pd-picker-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--c-muted);
}

.page-products .pd-device-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-device-item {
  border: 1px solid var(--pd-line-soft);
  border-radius: var(--r-sm);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-products .pd-device-item.is-active {
  border-color: rgba(108, 59, 255, .58);
  background: linear-gradient(120deg, rgba(108, 59, 255, .22), rgba(47, 184, 255, .07));
}

.page-products .pd-device-item:hover {
  border-color: rgba(47, 184, 255, .48);
}

.page-products .pd-device-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  color: inherit;
  text-decoration: none;
}

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

.page-products .pd-device-index {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--c-orange);
  line-height: 1.6;
}

.page-products .pd-device-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.page-products .pd-device-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-mist);
}

.page-products .pd-device-meta {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--c-muted);
}

.page-products .pd-picker-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-products .pd-console-body {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.page-products .pd-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  background: linear-gradient(180deg, rgba(21, 16, 46, .96), rgba(11, 16, 32, .92));
  box-shadow: var(--pd-shadow);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.page-products .pd-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 59, 255, .5);
}

.page-products .pd-panel-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.page-products .pd-chip-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(53, 240, 208, .40);
  color: var(--c-cyan);
  background: rgba(53, 240, 208, .08);
}

.page-products .pd-panel-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--c-mist);
}

.page-products .pd-panel-sub {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(230, 234, 245, .74);
}

.page-products .pd-spec {
  display: grid;
  margin: 0;
}

.page-products .pd-spec-row {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--pd-line-soft);
}

.page-products .pd-spec-row:last-child {
  border-bottom: 0;
}

.page-products .pd-spec dt {
  font-size: 13px;
  color: var(--c-muted);
}

.page-products .pd-spec dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(230, 234, 245, .90);
}

.page-products .pd-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

/* ---------- 平板适配 ---------- */
.page-products .pd-adapt-grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pd-adapt-notes {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: start;
}

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

.page-products .pd-note-list li {
  position: relative;
  padding: 12px 14px 12px 20px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: linear-gradient(90deg, rgba(108, 59, 255, .12), transparent 72%);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(230, 234, 245, .86);
}

.page-products .pd-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-violet), var(--c-blue));
}

.page-products .pd-note-list b {
  margin-right: 6px;
  font-weight: 600;
  color: var(--c-cyan);
}

/* ---------- 功能矩阵 ---------- */
.page-products .pd-matrix-grid {
  display: grid;
  gap: 1px;
  margin-top: clamp(24px, 3vw, 36px);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  overflow: hidden;
  background: var(--pd-line-soft);
}

.page-products .pd-matrix-item {
  padding: clamp(18px, 2.2vw, 26px);
  background: linear-gradient(170deg, rgba(21, 16, 46, .98), rgba(11, 16, 32, .98));
  transition: background .35s var(--ease);
}

.page-products .pd-matrix-item:hover {
  background: linear-gradient(170deg, rgba(76, 43, 217, .24), rgba(11, 16, 32, .98));
}

.page-products .pd-matrix-num {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-orange);
}

.page-products .pd-matrix-item h3 {
  margin: 10px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-mist);
}

.page-products .pd-matrix-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(230, 234, 245, .72);
}

/* ---------- 安装步骤 ---------- */
.page-products .pd-install-grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 30px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pd-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .pd-step details {
  border: 1px solid var(--pd-line);
  border-radius: var(--r-sm);
  background: rgba(21, 16, 46, .72);
  overflow: hidden;
 font-size: inherit;
}

.page-products .pd-step summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

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

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

.page-products .pd-step-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-orange);
}

.page-products .pd-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products .pd-step-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-mist);
}

.page-products .pd-step-brief {
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-muted);
}

.page-products .pd-step details[open] {
  border-color: rgba(108, 59, 255, .52);
}

.page-products .pd-step details[open] summary {
  background: linear-gradient(120deg, rgba(108, 59, 255, .18), transparent 78%);
}

.page-products .pd-step-body {
  padding: 0 16px 16px clamp(16px, 4vw, 44px);
  font-size: 14px;
  line-height: 1.9;
  color: rgba(230, 234, 245, .76);
}

.page-products .pd-step-body p {
  margin: 0;
}

/* ---------- 版本记录 ---------- */
.page-products .pd-version-rail {
  position: relative;
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: clamp(24px, 3vw, 36px);
}

.page-products .pd-version-item {
  position: relative;
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  background: linear-gradient(180deg, rgba(21, 16, 46, .95), rgba(11, 16, 32, .90));
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}

.page-products .pd-version-item:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 184, 255, .5);
}

.page-products .pd-version-tag {
  display: inline-block;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  font-family: var(--font-num);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-night);
  background: linear-gradient(120deg, var(--c-cyan), var(--c-blue));
}

.page-products .pd-version-item h3 {
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-mist);
}

.page-products .pd-version-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(230, 234, 245, .74);
}

.page-products .pd-versions .pd-shot {
  margin-top: clamp(22px, 3vw, 34px);
}

/* ---------- 收尾 ---------- */
.page-products .pd-cta-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(108, 59, 255, .36);
  border-radius: var(--r-lg);
  background:
    radial-gradient(72% 130% at 88% 10%, rgba(108, 59, 255, .38), transparent 68%),
    linear-gradient(140deg, rgba(21, 16, 46, .98), rgba(11, 16, 32, .96));
}

.page-products .pd-cta-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  letter-spacing: -.01em;
  color: var(--c-mist);
}

.page-products .pd-cta-text {
  margin: 14px 0 0;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(230, 234, 245, .78);
}

.page-products .pd-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-products .pd-spec-row {
    grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

@media (min-width: 640px) {
  .page-products .pd-matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .pd-hero-facts {
    gap: 14px 32px;
  }
}

@media (min-width: 760px) {
  .page-products .pd-console-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-products .pd-panel--lead {
    grid-column: 1 / -1;
  }
}

@media (min-width: 860px) {
  .page-products .pd-version-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-products .pd-version-rail::before {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    top: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(108, 59, 255, .60), rgba(47, 184, 255, .26), transparent);
    z-index: 0;
  }
  .page-products .pd-version-item {
    z-index: 1;
  }
}

@media (min-width: 900px) {
  .page-products .pd-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }
  .page-products .pd-panel--lead {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(20px, 2.6vw, 34px);
    align-items: center;
  }
  .page-products .pd-adapt-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    align-items: start;
  }
  .page-products .pd-install-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-products .pd-console-grid {
    grid-template-columns: minmax(250px, .32fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .page-products .pd-matrix-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .page-products .pd-hero-facts {
    flex-direction: column;
    gap: 10px;
  }
  .page-products .pd-tab-frame {
    transform: none;
  }
  .page-products .pd-frame-note {
    text-align: left;
  }
  .page-products .pd-tab-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .pd-live-dot {
    animation: none;
  }
  .page-products .pd-panel:hover,
  .page-products .pd-version-item:hover {
    transform: none;
  }
}
