.page-products {
  --fp-gap: 16px;
  --fp-pad: 16px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
}

.page-products .fp-wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding-inline: var(--fp-pad);
}

.page-products .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}

.page-products .eyebrow {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--cyan);
}

.page-products h1,
.page-products h2,
.page-products h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--bone);
  margin: 0;
}

.page-products h1 {
  font-size: clamp(28px, 7.2vw, 50px);
  line-height: 1.14;
  font-weight: 900;
}

.page-products h2 {
  font-size: clamp(22px, 4.4vw, 32px);
  line-height: 1.25;
}

.page-products h3 {
  font-size: 18px;
  line-height: 1.4;
}

.page-products .lede {
  margin: 14px 0 0;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-dim);
}

/* ---------- 面包屑 ---------- */
.page-products .fp-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-soft);
}

.page-products .fp-crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--rock);
}

.page-products .fp-crumbs a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

.page-products .fp-crumbs [aria-current="page"] {
  color: var(--bone);
}

/* ---------- 首屏 ---------- */
.page-products .fp-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 76px;
  background:
    radial-gradient(circle at 88% 8%, rgba(47, 240, 208, .16), transparent 46%),
    radial-gradient(circle at 6% 92%, rgba(255, 107, 74, .16), transparent 44%),
    linear-gradient(158deg, var(--deep-2), var(--deep) 62%);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-products .fp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 240, 208, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 240, 208, .09) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 78%);
}

.page-products .fp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-products .fp-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.page-products .fp-jump a {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-dim);
  text-decoration: none;
  background: rgba(6, 26, 43, .5);
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}

.page-products .fp-jump a:hover,
.page-products .fp-jump a:focus-visible {
  color: var(--deep);
  background: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-2px);
  outline: none;
}

/* 首屏抽象界面 */
.page-products .fp-hero__panel {
  position: relative;
}

.page-products .fp-screen {
  position: relative;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  padding: 14px;
  background: linear-gradient(170deg, rgba(14, 90, 138, .38), rgba(6, 26, 43, .82));
  box-shadow: var(--shadow-2);
  transform: rotate(-1.2deg);
}

.page-products .fp-screen__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .fp-screen__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rock);
}

.page-products .fp-screen__dot--coral { background: var(--coral); }
.page-products .fp-screen__dot--cyan { background: var(--cyan); }

.page-products .fp-screen__addr {
  margin-left: auto;
  font-size: 10px;
  color: var(--text-soft);
}

.page-products .fp-screen__body {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 10px;
  padding-top: 14px;
}

.page-products .fp-screen__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(6, 26, 43, .45);
}

.page-products .fp-screen__label {
  margin: 0 0 2px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-products .fp-screen__line {
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(168, 255, 240, .38), rgba(58, 68, 80, .5));
}

.page-products .fp-screen__line--cyan { background: linear-gradient(90deg, var(--cyan), rgba(47, 240, 208, .18)); }
.page-products .fp-screen__line--short { width: 62%; }

.page-products .fp-screen__num {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 4px;
}

.page-products .fp-screen__chip {
  display: inline-block;
  width: 26px;
  padding: 2px 0;
  text-align: center;
  border-radius: 4px;
  font-size: 11px;
  color: var(--deep);
  font-weight: 700;
}

.page-products .fp-screen__chip--gold { background: var(--gold); }
.page-products .fp-screen__chip--red { background: var(--coral); }

/* ---------- 横向主题带 ---------- */
.page-products .fp-band {
  padding: 22px 0;
  background: linear-gradient(100deg, rgba(14, 90, 138, .5), rgba(11, 127, 114, .3));
  border-top: 1px solid var(--line-cyan);
  border-bottom: 1px solid var(--line-cyan);
}

.page-products .fp-band__list {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 4px 0 8px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .fp-band__list li {
  flex: 0 0 auto;
  min-width: 148px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 22px;
  border-right: 1px solid var(--line-soft);
}

.page-products .fp-band__list li:last-child { border-right: 0; }

.page-products .stat__value {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--cyan);
}

.page-products .stat__label {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ---------- 章节 ---------- */
.page-products .fp-section {
  padding: 52px 0;
}

.page-products .fp-section--switch {
  padding: 24px 0 52px;
}

.page-products .fp-head {
  max-width: 74ch;
  margin-bottom: 26px;
}

/* ---------- 栅格 ---------- */
.page-products .fp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fp-gap);
}

.page-products .fp-grid--tight {
  margin-top: var(--fp-gap);
}

.page-products .fp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}

.page-products .fp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  border-color: var(--line-cyan);
}

.page-products .fp-card--focus {
  border-color: var(--line-cyan);
  background: linear-gradient(165deg, rgba(14, 90, 138, .3), rgba(6, 26, 43, .5));
  box-shadow: var(--shadow-1);
}

.page-products .fp-card--accent {
  border-color: rgba(255, 107, 74, .42);
  background: linear-gradient(155deg, rgba(255, 107, 74, .16), rgba(6, 26, 43, .3) 62%);
}

.page-products .fp-card__no {
  margin: 0;
  font-size: 12px;
  color: var(--cyan);
}

.page-products .fp-card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-products .fp-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-products .fp-card__list li {
  position: relative;
  padding-left: 16px;
}

.page-products .fp-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1.5px;
  background: var(--cyan);
}

/* ---------- 图片位 ---------- */
.page-products .fp-shot {
  position: relative;
  margin: var(--fp-gap) 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, var(--water), var(--deep-2));
  box-shadow: var(--shadow-1);
}

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

.page-products .fp-shot__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(47, 240, 208, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 240, 208, .16) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}

.page-products .fp-shot__cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 9px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--bone);
  background: rgba(6, 26, 43, .74);
  border: 1px solid var(--line-cyan);
  border-radius: 6px;
}

.page-products .fp-shot--square {
  max-width: 620px;
}

/* ---------- 纪律时间轴 ---------- */
.page-products .fp-media-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fp-gap);
}

.page-products .fp-timeline-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px 14px 18px;
}

.page-products .fp-timeline {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 26px 0 6px;
  list-style: none;
  position: relative;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .fp-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--coral));
  opacity: .55;
}

.page-products .fp-node {
  position: relative;
  flex: 0 0 150px;
  padding-top: 34px;
}

.page-products .fp-node__dot {
  position: absolute;
  top: 34px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--deep);
  box-shadow: 0 0 0 3px rgba(6, 26, 43, .8);
}

.page-products .fp-node--gold .fp-node__dot { background: var(--gold); }
.page-products .fp-node--red .fp-node__dot { background: var(--coral); }

.page-products .fp-node__idx {
  display: block;
  font-size: 12px;
  color: var(--cyan);
}

.page-products .fp-node__label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
}

.page-products .fp-node__tip {
  display: block;
  margin-top: 6px;
  padding-right: 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cyan);
  opacity: 1;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.page-products .fp-shot--side {
  margin-top: 0;
}

/* ---------- 适配清单 ---------- */
.page-products .fp-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-products .fp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.page-products .fp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .fp-table__cap {
  caption-side: top;
  padding: 12px 14px 8px;
  text-align: left;
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-soft);
}

.page-products .fp-table th {
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .fp-table td {
  padding: 11px 14px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-products .fp-table tbody tr:nth-child(even) td {
  background: rgba(14, 90, 138, .14);
}

.page-products .fp-table tbody tr:hover td {
  background: rgba(47, 240, 208, .08);
  color: var(--bone);
}

.page-products .fp-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ---------- 常用入口 ---------- */
.page-products .fp-entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-products .fp-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}

.page-products .fp-entry:hover,
.page-products .fp-entry:focus-visible {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: var(--surface-2);
  outline: none;
}

.page-products .fp-entry__no {
  font-size: 11px;
  color: var(--cyan);
}

.page-products .fp-entry__name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--bone);
}

.page-products .fp-entry__hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-products .fp-entry:hover .fp-entry__hint,
.page-products .fp-entry:focus-visible .fp-entry__hint {
  color: var(--cyan-soft, var(--cyan));
}

/* ---------- 端侧切换器 ---------- */
.page-products .fp-switch {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14, 90, 138, .34), rgba(6, 26, 43, .7));
  box-shadow: var(--shadow-2);
}

.page-products .fp-switch__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products .fp-switch__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-products .fp-switch__tab {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 26, 43, .55);
  cursor: pointer;
  color: var(--text-dim);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-products .fp-switch__tab-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
}

.page-products .fp-switch__tab-meta {
  font-size: 11px;
  color: var(--text-soft);
}

.page-products .fp-switch__radio:nth-of-type(1):checked ~ .fp-switch__tabs .fp-switch__tab:nth-child(1),
.page-products .fp-switch__radio:nth-of-type(2):checked ~ .fp-switch__tabs .fp-switch__tab:nth-child(2) {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--deep);
}

.page-products .fp-switch__radio:nth-of-type(1):checked ~ .fp-switch__tabs .fp-switch__tab:nth-child(1) .fp-switch__tab-meta,
.page-products .fp-switch__radio:nth-of-type(2):checked ~ .fp-switch__tabs .fp-switch__tab:nth-child(2) .fp-switch__tab-meta {
  color: rgba(6, 26, 43, .68);
}

.page-products .fp-switch__radio:focus-visible ~ .fp-switch__tabs .fp-switch__tab {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-products .fp-switch__panel {
  display: none;
}

.page-products .fp-switch__radio:nth-of-type(1):checked ~ .fp-switch__panels .fp-switch__panel:nth-child(1),
.page-products .fp-switch__radio:nth-of-type(2):checked ~ .fp-switch__panels .fp-switch__panel:nth-child(2) {
  display: block;
}

.page-products .fp-switch__title {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--bone);
}

.page-products .fp-switch__list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--text-dim);
}

.page-products .fp-switch__list li {
  position: relative;
  padding-left: 16px;
}

.page-products .fp-switch__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1.5px;
  background: var(--coral);
}

/* ---------- 端侧对比 ---------- */
.page-products .fp-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--fp-gap);
}

.page-products .fp-compare__col {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}

.page-products .fp-compare__col:hover {
  transform: translateY(-2px);
}

.page-products .fp-compare__col--desktop {
  border-color: var(--line-cyan);
  background: linear-gradient(160deg, rgba(14, 90, 138, .3), rgba(6, 26, 43, .42));
}

.page-products .fp-compare__col--tablet {
  border-color: rgba(255, 107, 74, .4);
  background: linear-gradient(160deg, rgba(255, 107, 74, .14), rgba(6, 26, 43, .42));
}

.page-products .fp-compare__kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--cyan);
}

.page-products .fp-compare__col--tablet .fp-compare__kicker { color: var(--coral); }

.page-products .fp-compare__title {
  font-size: 19px;
  margin-bottom: 10px;
}

.page-products .fp-compare__list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--text-dim);
}

.page-products .fp-compare__list li {
  position: relative;
  padding-left: 16px;
}

.page-products .fp-compare__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 1.5px;
  background: var(--moss);
}

/* ---------- 按钮组 ---------- */
.page-products .fp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .fp-cta .btn,
.page-products .fp-compare .btn,
.page-products .fp-switch .btn {
  display: inline-block;
  text-decoration: none;
}

/* ---------- 焦点可见性 ---------- */
.page-products a:focus-visible,
.page-products .fp-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 平板 ---------- */
@media (min-width: 700px) {
  .page-products {
    --fp-gap: 20px;
    --fp-pad: 24px;
  }

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

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

  .page-products .fp-compare {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .fp-section {
    padding: 64px 0;
  }

  .page-products .fp-media-row {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .page-products .fp-hero {
    padding: 40px 0 110px;
  }

  .page-products .fp-hero__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
  }

  .page-products .fp-pad:focus-visible { outline: none; }

  .page-products .fp-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-products .fp-col-2 { grid-column: span 2; }
  .page-products .fp-col-3 { grid-column: span 3; }
  .page-products .fp-col-4 { grid-column: span 4; }
  .page-products .fp-col-6 { grid-column: span 6; }

  .page-products .fp-entries {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-products .fp-switch {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "eyebrow tabs"
      "panels panels";
    align-items: center;
    gap: 0 24px;
    padding: 28px;
    margin-top: -34px;
    transform: rotate(-.6deg);
  }

  .page-products .fp-switch .eyebrow {
    grid-area: eyebrow;
    margin: 0;
  }

  .page-products .fp-switch__tabs {
    grid-area: tabs;
    margin: 0;
  }

  .page-products .fp-switch__panels {
    grid-area: panels;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
  }

  .page-products .fp-switch:hover {
    transform: rotate(0deg);
  }

  .page-products .fp-section {
    padding: 78px 0;
  }

  .page-products .fp-shot--square {
    margin-inline: auto;
  }
}

/* ---------- 弱动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .page-products .fp-screen,
  .page-products .fp-switch {
    transform: none;
  }
}

/* ---------- 仅悬停设备才隐藏时间轴提示 ---------- */
@media (hover: hover) and (pointer: fine) {
  .page-products .fp-node__tip {
    opacity: 0;
    transform: translateY(3px);
  }

  .page-products .fp-node:hover .fp-node__tip,
  .page-products .fp-node:focus-within .fp-node__tip {
    opacity: 1;
    transform: translateY(0);
  }
}
