.page-products {
  --p-radius: 16px;
  --p-gap: 20px;
  color: var(--mist);
  overflow-wrap: break-word;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.page-products .p-hero {
  padding: 24px 0 0;
}

.page-products .p-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

.page-products .p-hero__title {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 15em;
}

.page-products .p-hero__lede {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.92;
}

.page-products .p-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .p-hero__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: center;
  width: 100%;
  max-width: 320px;
}

/* ---------- 设备框架 ---------- */
.page-products .device {
  position: relative;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  box-shadow: var(--shadow-card);
}

.page-products .device--desktop {
  border-radius: 12px;
  padding: 8px 8px 16px;
}

.page-products .device--desktop::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--line-strong);
}

.page-products .device__notch {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink);
  border: 1px solid var(--line);
  z-index: 2;
}

.page-products .device__screen {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: var(--stand);
  aspect-ratio: 3 / 4;
}

.page-products .device__screen--wide {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
}

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

.page-products .p-figcap {
  font-size: 11px;
  line-height: 1.6;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ---------- 功能索引带 ---------- */
.page-products .p-index {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.page-products .p-index__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.page-products .p-index__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.page-products .p-index__link .mono {
  font-size: 11px;
  color: var(--cyan);
}

.page-products .p-index__link:hover,
.page-products .p-index__link:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
}

.page-products .p-index__link:hover .mono,
.page-products .p-index__link:focus-visible .mono {
  color: var(--ink);
}

/* ---------- 章节骨架 ---------- */
.page-products .p-section {
  padding: 54px 0;
  border-top: 1px solid var(--line-soft);
}

.page-products .p-section--alt {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
}

.page-products .p-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 16px;
  align-items: start;
  margin-bottom: 30px;
}

.page-products .chapter-no {
  font-family: var(--font-mono);
  font-size: clamp(40px, 10vw, 74px);
  font-weight: 600;
  line-height: 0.86;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  letter-spacing: -0.03em;
}

.page-products .p-head__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.18;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.page-products .p-head__desc {
  margin: 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.82;
}

/* ---------- 三端设备卡 ---------- */
.page-products .p-devices {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-bottom: 26px;
  -webkit-overflow-scrolling: touch;
}

.page-products .p-device-card {
  flex: 0 0 80%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--p-radius);
  background: var(--stand);
  box-shadow: var(--shadow-card);
}

.page-products .p-device-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .p-device-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  opacity: 0.85;
}

.page-products .p-device-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 共有能力条 ---------- */
.page-products .p-common {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--p-radius);
  background: var(--ink-2);
}

.page-products .p-common__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-products .p-common__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .p-common__list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .p-common__list .mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 11px;
  color: var(--amber);
  margin-top: 4px;
}

/* ---------- 分栏 ---------- */
.page-products .p-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-products .p-split__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .p-split__figure .device--tall {
  max-width: 300px;
  width: 100%;
}

.page-products .p-split__img {
  width: 100%;
}

.page-products .p-split__img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ---------- 列表 ---------- */
.page-products .p-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .p-list li {
  position: relative;
  padding: 14px 0 14px 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .p-list li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.page-products .p-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 22px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-products .p-list li:first-child::before {
  top: 12px;
}

.page-products .p-list strong {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.page-products .p-hint {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  opacity: 0.88;
}

.page-products .p-inline-btn {
  margin-top: 20px;
}

/* ---------- 日历侧卡 ---------- */
.page-products .p-note {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
}

.page-products .p-note__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-products .p-note__text {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.85;
}

.page-products .p-clock {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}

.page-products .p-clock__num {
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.02em;
}

.page-products .p-clock__cap {
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey);
}

/* ---------- 伤停标签矩阵 ---------- */
.page-products .p-injury {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.page-products .p-injury-card {
  position: relative;
  padding: 22px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--stand);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.page-products .p-injury-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.page-products .p-injury-card--red::before { background: var(--signal); }
.page-products .p-injury-card--amber::before { background: var(--amber); }
.page-products .p-injury-card--mist::before { background: var(--mist); }
.page-products .p-injury-card--cyan::before { background: var(--cyan); }

.page-products .p-injury-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.page-products .p-injury-card__key {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 10px;
}

.page-products .p-injury-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}

.page-products .p-injury-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--mist);
  opacity: 0.82;
}

.page-products .p-wide-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .p-wide-figure__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* ---------- 场景卡 ---------- */
.page-products .p-scenarios {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 36px;
}

.page-products .p-scenario {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
  align-items: flex-start;
}

.page-products .p-scenario__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--paper);
}

.page-products .p-scenario__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.85;
}

/* ---------- 对比表 ---------- */
.page-products .p-compare {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.page-products .p-compare__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .p-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
}

.page-products .p-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
}

.page-products .p-table__cap {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .p-table th,
.page-products .p-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  line-height: 1.7;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .p-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(23, 58, 49, 0.6);
  border-bottom: 1px solid var(--line-strong);
}

.page-products .p-table tbody th {
  font-weight: 500;
  color: var(--mist);
  opacity: 0.75;
}

.page-products .p-table tbody tr:nth-child(even) {
  background: rgba(23, 58, 49, 0.35);
}

.page-products .p-table tbody tr:last-child th,
.page-products .p-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .p-table__mark {
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.page-products .p-compare__note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--grey);
}

/* ---------- 结尾行动区 ---------- */
.page-products .p-cta {
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 12% 0%, rgba(57, 245, 200, 0.12), transparent 55%);
}

.page-products .p-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.page-products .p-cta__title {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5vw, 40px);
  line-height: 1.12;
  color: var(--paper);
}

.page-products .p-cta__desc {
  margin: 0;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
  opacity: 0.85;
}

.page-products .p-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-products .p-hero {
    padding-top: 36px;
  }

  .page-products .p-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 44px;
  }

  .page-products .p-hero__figure {
    max-width: none;
  }

  .page-products .p-section {
    padding: 72px 0;
  }

  .page-products .p-devices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-products .p-device-card {
    flex: initial;
  }

  .page-products .p-common__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
  }

  .page-products .p-injury {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

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

  .page-products .p-cta__inner {
    grid-template-columns: 6fr 5fr;
    gap: 40px;
  }

  .page-products .p-head {
    gap: 18px 26px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 980px) {
  .page-products .p-section {
    padding: 88px 0;
  }

  .page-products .p-split {
    gap: 48px;
  }

  .page-products .p-split--wide-left {
    grid-template-columns: 7fr 5fr;
  }

  .page-products .p-split--wide-right {
    grid-template-columns: 5fr 7fr;
  }

  .page-products .p-split--wide-left .p-split__figure {
    order: 2;
  }

  .page-products .p-list li {
    font-size: 15px;
    padding: 16px 0 16px 26px;
  }

  .page-products .p-head {
    grid-template-columns: auto 1fr;
    gap: 20px 34px;
  }

  .page-products .p-hero__title {
    max-width: 13em;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .p-injury-card,
  .page-products .p-index__link {
    transition: none;
  }

  .page-products .p-injury-card:hover {
    transform: none;
  }
}
