.page-products {
  --p-band: rgba(13, 27, 46, 0.55);
  --p-band-strong: rgba(13, 27, 46, 0.92);
  --p-hair: rgba(45, 64, 87, 0.72);
  --p-glow: rgba(38, 224, 214, 0.16);
  padding-bottom: clamp(48px, 8vw, 96px);
}

.page-products .breadcrumb {
  margin: clamp(18px, 3.5vw, 30px) 0 clamp(10px, 2vw, 18px);
  font-size: 13px;
}

.page-products .breadcrumb a {
  color: var(--mist);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--cyan);
}

.page-products .p-hero__media img,
.page-products .p-tree__figure img,
.page-products .p-path__figure img,
.page-products .p-device-layout__figure img,
.page-products .p-cards-intro__figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--p-hair);
  object-fit: cover;
}

/* ---------- 首屏 ---------- */

.page-products .p-hero {
  position: relative;
}

.page-products .p-hero__grid {
  display: grid;
  gap: clamp(26px, 5vw, 54px);
  align-items: center;
}

.page-products .p-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .p-hero__label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(38, 224, 214, 0.9);
}

.page-products .p-hero__title {
  margin: 16px 0 0;
  font-size: clamp(32px, 6.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #f1f7f5;
}

.page-products .p-hero__title em {
  font-style: normal;
  color: var(--orange);
  text-shadow: 0 0 34px rgba(255, 138, 61, 0.38);
}

.page-products .p-hero__lead {
  margin: 20px 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: var(--mist);
}

.page-products .p-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .p-hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-products .p-hero__facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(38, 224, 214, 0.8);
}

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

.page-products .p-hero__media {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.page-products .p-hero__media::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 42%, var(--p-glow), transparent 64%);
}

.page-products .p-hero__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

/* ---------- 章节节奏 ---------- */

.page-products .p-overview,
.page-products .p-find,
.page-products .p-device-sec,
.page-products .p-checks-sec,
.page-products .p-cards-sec,
.page-products .p-support-sec {
  margin-top: clamp(56px, 9vw, 112px);
}

.page-products .p-h2 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: #eef5f3;
}

.page-products .section-head .lead {
  margin-top: 14px;
  max-width: 46em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 五类栏目主干 ---------- */

.page-products .p-tree {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  margin-top: clamp(28px, 5vw, 48px);
}

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

.page-products .p-trunk__item {
  position: relative;
  padding: 0 0 clamp(20px, 3vw, 28px) 56px;
}

.page-products .p-trunk__item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--p-hair), rgba(45, 64, 87, 0.12));
}

.page-products .p-trunk__item:last-child {
  padding-bottom: 0;
}

.page-products .p-trunk__item:last-child::before {
  display: none;
}

.page-products .p-trunk__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-800);
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.page-products .p-trunk__item:hover .p-trunk__num {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  box-shadow: 0 0 24px rgba(38, 224, 214, 0.42);
}

.page-products .p-trunk__name {
  margin: 4px 0 0;
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 700;
  color: #eaf3f1;
}

.page-products .p-trunk__desc {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .p-tree__figure {
  margin: 0;
}

.page-products .p-tree__cap {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--violet);
}

/* ---------- 找回路径 ---------- */

.page-products .p-path {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(26px, 4.5vw, 44px);
  align-items: center;
}

.page-products .p-path__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
  display: grid;
  gap: 14px;
}

.page-products .p-path__step {
  position: relative;
  padding: 20px 22px 20px 62px;
  background: linear-gradient(150deg, var(--p-band-strong), rgba(7, 17, 31, 0.4));
  border: 1px solid var(--p-hair);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%);
  transition: border-color 0.28s ease, background 0.28s ease;
}

.page-products .p-path__step::before {
  counter-increment: pstep;
  content: counter(pstep, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.page-products .p-path__step:hover {
  border-color: rgba(38, 224, 214, 0.55);
}

.page-products .p-path__step h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #eaf3f1;
}

.page-products .p-path__step p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .p-path__figure {
  margin: 0;
}

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

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

/* ---------- 跨设备 ---------- */

.page-products .p-device-layout {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(26px, 4.5vw, 44px);
  align-items: start;
}

.page-products .p-devices {
  display: grid;
  gap: 12px;
}

.page-products .p-device {
  background: var(--p-band);
  border: 1px solid var(--p-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.28s ease, background 0.28s ease;
}

.page-products .p-device[open] {
  border-color: rgba(38, 224, 214, 0.45);
  background: rgba(13, 27, 46, 0.82);
}

.page-products .p-device > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15.5px;
  font-weight: 700;
  color: #e6efed;
}

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

.page-products .p-device > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
}

.page-products .p-device[open] > summary::after {
  content: "−";
}

.page-products .p-device__icon {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid rgba(38, 224, 214, 0.35);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

.page-products .p-device__body {
  padding: 0 18px 18px;
}

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

.page-products .p-device-layout__figure {
  margin: 0;
}

/* ---------- 四项自查 ---------- */

.page-products .p-checks {
  display: grid;
  gap: 1px;
  margin-top: clamp(26px, 4.5vw, 44px);
  counter-reset: pcheck;
  background: var(--p-hair);
  border: 1px solid var(--p-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-products .p-check {
  background: var(--ink-900);
  padding: 22px 20px 24px;
  transition: background 0.28s ease;
}

.page-products .p-check:hover {
  background: var(--ink-800);
}

.page-products .p-check::before {
  counter-increment: pcheck;
  content: counter(pcheck, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-products .p-check h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: #eaf3f1;
}

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

/* ---------- 步骤卡片 ---------- */

.page-products .p-cards-intro {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  margin-top: clamp(26px, 4.5vw, 44px);
}

.page-products .p-cards {
  display: grid;
  gap: 14px;
}

.page-products .p-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 44px -32px rgba(0, 0, 0, 0.95);
}

.page-products .p-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.3), transparent 66%);
  pointer-events: none;
}

.page-products .p-card > summary {
  cursor: pointer;
  list-style: none;
  display: block;
  padding: 20px 20px 14px;
}

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

.page-products .p-card__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--wine);
}

.page-products .p-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--paper-ink);
}

.page-products .p-card__body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(42, 27, 22, 0.16);
  margin-top: 2px;
  padding-top: 14px;
}

.page-products .p-card__body p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a3529;
}

.page-products .p-card__body ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.page-products .p-card__body li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: #4a3529;
}

.page-products .p-cards-intro__figure {
  margin: 0;
}

/* ---------- 支持方式 ---------- */

.page-products .p-support {
  display: grid;
  gap: 14px;
  margin-top: clamp(26px, 4.5vw, 44px);
}

.page-products .p-support__item {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border: 1px solid var(--p-hair);
  border-radius: var(--radius-md);
  background: linear-gradient(170deg, var(--p-band), rgba(7, 17, 31, 0.2));
}

.page-products .p-support__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--violet);
}

.page-products .p-support__item h3 {
  margin: 10px 0 8px;
  font-size: 17.5px;
  font-weight: 700;
  color: #eaf3f1;
}

.page-products .p-support__item p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .p-support__item .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- 响应式 ---------- */

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

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

@media (min-width: 900px) {
  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  }

  .page-products .p-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-products .p-path {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (min-width: 960px) {
  .page-products .p-device-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (min-width: 980px) {
  .page-products .p-tree {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-products .p-checks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-trunk__num,
  .page-products .p-path__step,
  .page-products .p-device,
  .page-products .p-check {
    transition: none;
  }
}
