.page-products {
  background: var(--hh-void);
  color: var(--hh-text);
  font-family: var(--hh-sans);
}

.page-products img {
  max-width: 100%;
}

/* ---------- 面包屑 ---------- */
.page-products .pd-crumb-wrap {
  padding-top: clamp(18px, 3vw, 30px);
}

.page-products .pd-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--hh-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--hh-muted);
}

.page-products .pd-crumb a {
  color: var(--hh-text-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.page-products .pd-crumb a:hover,
.page-products .pd-crumb a:focus-visible {
  color: var(--hh-cyan);
  border-bottom-color: var(--hh-cyan);
}

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

.page-products .pd-crumb__sep {
  color: var(--hh-rule);
}

/* ---------- 首屏 ---------- */
.page-products .pd-hero {
  padding-top: clamp(20px, 3.5vw, 38px);
  padding-bottom: clamp(40px, 6vw, 76px);
}

.page-products .pd-hero__inner {
  position: relative;
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding: clamp(22px, 4vw, 54px);
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(107, 75, 201, .30), transparent 62%),
    linear-gradient(180deg, var(--hh-panel) 0%, var(--hh-void) 100%);
  overflow: hidden;
}

.page-products .pd-hero__inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(34, 224, 214, .20);
  border-radius: calc(var(--hh-radius-lg) - 8px);
  pointer-events: none;
}

.page-products .pd-hero__col {
  position: relative;
  z-index: 1;
}

.page-products .pd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-pill);
  background: rgba(34, 224, 214, .06);
  font-family: var(--hh-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--hh-cyan);
}

.page-products .pd-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hh-cyan);
  box-shadow: 0 0 0 3px rgba(34, 224, 214, .18);
}

.page-products .pd-hero__title {
  margin: 18px 0 0;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-hero__lead {
  margin: 20px 0 0;
  max-width: 34em;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.78;
  color: var(--hh-text);
}

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

/* 按钮（页面内覆写） */
.page-products .hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-pill);
  background: transparent;
  color: var(--hh-white);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.page-products .hh-btn--primary {
  background: var(--hh-cyan);
  border-color: var(--hh-cyan);
  color: var(--hh-ink);
}

.page-products .hh-btn--primary:hover,
.page-products .hh-btn--primary:focus-visible {
  background: var(--hh-white);
  border-color: var(--hh-white);
  transform: translateY(-2px);
}

.page-products .hh-btn--ghost:hover,
.page-products .hh-btn--ghost:focus-visible {
  border-color: var(--hh-cyan);
  color: var(--hh-cyan);
  transform: translateY(-2px);
}

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

/* 版本卡与数据行 */
.page-products .pd-hero__aside {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-products .pd-vercard {
  padding: 22px 24px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius);
  background:
    linear-gradient(160deg, rgba(34, 224, 214, .14), rgba(5, 7, 14, 0) 72%),
    var(--hh-panel);
}

.page-products .pd-vercard__label {
  display: block;
  font-family: var(--hh-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--hh-muted);
}

.page-products .pd-vercard__num {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--hh-mono);
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--hh-white);
}

.page-products .pd-vercard__meta {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hh-text-soft);
}

.page-products .pd-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-sm);
  background: var(--hh-rule);
  overflow: hidden;
}

.page-products .pd-hero__facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--hh-panel);
  font-size: 13px;
  color: var(--hh-text-soft);
}

.page-products .pd-hero__facts .hh-mono {
  font-family: var(--hh-mono);
  font-size: 15px;
  letter-spacing: -.01em;
  color: var(--hh-orange);
}

/* ---------- 通用章节头 ---------- */
.page-products .pd-idx {
  display: inline-block;
  font-family: var(--hh-mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--hh-cyan);
}

.page-products .pd-idx::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--hh-cyan);
}

.page-products .pd-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-products .pd-head__title {
  margin: 0;
  font-size: clamp(25px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-head__lead {
  margin: 0;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.76;
  color: var(--hh-text-soft);
}

/* ---------- 设备抽屉 ---------- */
.page-products .pd-devices {
  padding-block: clamp(40px, 6vw, 88px);
}

.page-products .pd-devices__body {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-products .pd-device-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-products .pd-device {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius);
  background: var(--hh-panel);
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.page-products .pd-device:hover,
.page-products .pd-device:focus-within {
  border-color: var(--hh-cyan);
  background: var(--hh-panel-2);
  transform: translateY(-2px);
}

.page-products .pd-device__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--hh-muted);
  transition: color .2s ease;
}

.page-products .pd-device:hover .pd-device__icon {
  color: var(--hh-cyan);
}

.page-products .pd-device__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-products .pd-device__name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--hh-white);
}

.page-products .pd-device__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--hh-text-soft);
}

.page-products .pd-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 11px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-pill);
  font-family: var(--hh-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--hh-text-soft);
}

.page-products .pd-tag--cyan {
  color: var(--hh-cyan);
  border-color: rgba(34, 224, 214, .42);
  background: rgba(34, 224, 214, .08);
}

.page-products .pd-tag--orange {
  color: var(--hh-orange);
  border-color: rgba(255, 106, 43, .42);
  background: rgba(255, 106, 43, .08);
}

.page-products .pd-device-media {
  margin: 0;
  min-height: 220px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius);
  background: linear-gradient(150deg, rgba(107, 75, 201, .38), rgba(5, 7, 14, 1));
  overflow: hidden;
}

.page-products .pd-device-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: .92;
}

/* ---------- 版本面板 ---------- */
.page-products .pd-version {
  padding-block: clamp(8px, 2vw, 22px);
}

.page-products .pd-version__panel {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background: var(--hh-panel);
  overflow: hidden;
}

.page-products .pd-version__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .30;
}

.page-products .pd-version__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(118deg, rgba(5, 7, 14, .95) 0%, rgba(5, 7, 14, .84) 46%, rgba(107, 75, 201, .42) 100%);
}

.page-products .pd-version__content {
  position: relative;
  padding: clamp(26px, 4.6vw, 62px);
}

.page-products .pd-version__num {
  margin: 16px 0 0;
  font-family: var(--hh-mono);
  font-size: clamp(52px, 11vw, 116px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.05em;
  background: linear-gradient(98deg, var(--hh-cyan) 0%, var(--hh-white) 54%, var(--hh-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-products .pd-version__title {
  margin: 22px 0 0;
  font-size: clamp(23px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-version__lead {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.76;
  color: var(--hh-text-soft);
}

.page-products .pd-changelog {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  border-top: 1px solid var(--hh-rule);
}

.page-products .pd-changelog__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--hh-rule);
  transition: padding-left .2s ease;
}

.page-products .pd-changelog__item:hover {
  padding-left: 8px;
}

.page-products .pd-changelog__item p {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.72;
  color: var(--hh-text);
}

.page-products .pd-dot {
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: var(--hh-pill);
  font-family: var(--hh-mono);
  font-size: 11px;
  letter-spacing: .1em;
  white-space: nowrap;
}

.page-products .pd-dot--new {
  color: var(--hh-orange);
  background: rgba(255, 106, 43, .10);
}

.page-products .pd-dot--tweak {
  color: var(--hh-cyan);
  background: rgba(34, 224, 214, .10);
}

.page-products .pd-dot--sync {
  color: var(--hh-text-soft);
  background: rgba(111, 126, 147, .14);
}

/* ---------- 过渡带 ---------- */
.page-products .pd-band {
  position: relative;
  margin: 0;
  height: clamp(110px, 20vw, 230px);
  overflow: hidden;
}

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

.page-products .pd-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--hh-void) 0%, rgba(5, 7, 14, .18) 42%, var(--hh-void) 100%);
}

/* ---------- 安装三步 ---------- */
.page-products .pd-steps {
  padding-block: clamp(40px, 6vw, 88px);
}

.page-products .pd-steps__body {
  display: grid;
  gap: clamp(26px, 3.6vw, 46px);
}

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

.page-products .pd-steplist::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--hh-cyan) 0%, var(--hh-rule) 68%, transparent 100%);
}

.page-products .pd-steplist__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 22px;
  padding-bottom: 32px;
}

.page-products .pd-steplist__item:last-child {
  padding-bottom: 0;
}

.page-products .pd-steplist__idx {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-pill);
  background: var(--hh-panel-2);
  font-family: var(--hh-mono);
  font-size: 13px;
  color: var(--hh-cyan);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.page-products .pd-steplist__item:hover .pd-steplist__idx {
  border-color: var(--hh-cyan);
  background: rgba(34, 224, 214, .12);
  color: var(--hh-white);
}

.page-products .pd-steplist__item h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 7px 0 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hh-white);
}

.page-products .pd-steplist__item p {
  grid-column: 2;
  grid-row: 2;
  margin: 8px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.74;
  color: var(--hh-text-soft);
}

.page-products .pd-steps__media {
  margin: 0;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background: linear-gradient(160deg, rgba(34, 224, 214, .16), rgba(5, 7, 14, 1) 72%);
  overflow: hidden;
}

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

/* ---------- 同步与准备 ---------- */
.page-products .pd-sync {
  padding-block: clamp(20px, 3.6vw, 44px);
}

.page-products .pd-sync__grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.page-products .pd-card {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background: var(--hh-panel);
}

.page-products .pd-card--wide {
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(34, 224, 214, .13), transparent 62%),
    var(--hh-panel);
}

.page-products .pd-card--narrow {
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--hh-radius);
  background: var(--hh-panel-2);
}

.page-products .pd-card h2 {
  margin: 14px 0 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-card--narrow h2 {
  font-size: clamp(19px, 2.2vw, 23px);
}

.page-products .pd-card > p {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.76;
  color: var(--hh-text-soft);
}

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

.page-products .pd-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--hh-text);
}

.page-products .pd-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--hh-cyan);
  transform: rotate(45deg);
}

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

.page-products .pd-spec > div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--hh-rule);
}

.page-products .pd-spec > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .pd-spec dt {
  font-family: var(--hh-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--hh-muted);
}

.page-products .pd-spec dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--hh-text);
}

.page-products .pd-link {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 1px solid rgba(34, 224, 214, .35);
  font-family: var(--hh-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--hh-cyan);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}

.page-products .pd-link:hover,
.page-products .pd-link:focus-visible {
  color: var(--hh-white);
  border-bottom-color: var(--hh-white);
  transform: translateX(2px);
}

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

/* ---------- 桌面网页端 ---------- */
.page-products .pd-web {
  padding-block: clamp(40px, 6vw, 88px);
}

.page-products .pd-web__grid {
  display: grid;
  gap: clamp(24px, 3.6vw, 48px);
  align-items: center;
}

.page-products .pd-web__media {
  margin: 0;
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background: linear-gradient(200deg, rgba(107, 75, 201, .42), rgba(5, 7, 14, 1) 72%);
  overflow: hidden;
}

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

.page-products .pd-web__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-web__copy p {
  margin: 16px 0 0;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--hh-text-soft);
}

/* ---------- 常见问题 ---------- */
.page-products .pd-faq {
  padding-block: clamp(36px, 5.6vw, 84px);
}

.page-products .pd-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hh-rule);
}

.page-products .pd-faq__item {
  padding: clamp(18px, 2.4vw, 26px) 0;
  border-bottom: 1px solid var(--hh-rule);
  transition: padding-left .2s ease;
}

.page-products .pd-faq__item:hover {
  padding-left: 8px;
}

.page-products .pd-faq__item h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--hh-white);
}

.page-products .pd-faq__item p {
  margin: 8px 0 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.74;
  color: var(--hh-text-soft);
}

.page-products .pd-faq__item .pd-link {
  margin-top: 12px;
  font-size: 12px;
}

/* ---------- 收尾 ---------- */
.page-products .pd-outro {
  padding-block: clamp(20px, 3.6vw, 44px) clamp(52px, 8vw, 100px);
}

.page-products .pd-outro__panel {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3.8vw, 46px);
  border: 1px solid var(--hh-rule);
  border-radius: var(--hh-radius-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(107, 75, 201, .34), transparent 62%),
    linear-gradient(180deg, var(--hh-panel) 0%, var(--hh-void) 100%);
}

.page-products .pd-outro__panel h2 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--hh-white);
}

.page-products .pd-outro__panel p {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.76;
  color: var(--hh-text-soft);
}

.page-products .pd-outro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-products .pd-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-products .pd-hero__inner {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .pd-sync__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-products .pd-devices__body {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .page-products .pd-steps__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    align-items: center;
  }

  .page-products .pd-web__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }

  .page-products .pd-web__media {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .hh-btn,
  .page-products .pd-device,
  .page-products .pd-device__icon,
  .page-products .pd-steplist__idx,
  .page-products .pd-link,
  .page-products .pd-changelog__item,
  .page-products .pd-faq__item,
  .page-products .pd-crumb a {
    transition: none;
  }

  .page-products .hh-btn:hover,
  .page-products .pd-device:hover,
  .page-products .pd-link:hover {
    transform: none;
  }
}
