.page-products {
  --rail-w: 236px;
  --card-gap: clamp(12px, 2vw, 20px);
  --hair: 1px solid rgba(94, 113, 128, 0.26);
}

/* ---------- 首屏 ---------- */
.page-products .catalog-hero {
  position: relative;
  padding: clamp(22px, 4vw, 54px) 0 clamp(28px, 5vw, 62px);
  background:
    radial-gradient(1100px 420px at 84% -12%, rgba(53, 242, 208, 0.13), transparent 62%),
    radial-gradient(760px 400px at 4% 108%, rgba(255, 180, 90, 0.1), transparent 70%);
}

.page-products .catalog-hero__grid {
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
}

.page-products .catalog-hero .eyebrow {
  color: var(--c-cyan);
}

.page-products .catalog-hero__lead h1 {
  margin: 0.28em 0 0.5em;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(29px, 6.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--c-fog);
}

.page-products .catalog-hero__lead .lede {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(234, 242, 245, 0.8);
}

.page-products .catalog-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .catalog-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: rgba(94, 113, 128, 0.28);
}

.page-products .catalog-hero__stats > div {
  padding: 15px 17px;
  background: rgba(11, 44, 69, 0.78);
}

.page-products .catalog-hero__stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--c-slate);
}

.page-products .catalog-hero__stats dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: var(--c-fog);
}

/* ---------- 主体骨架 ---------- */
.page-products .catalog-body {
  padding-bottom: clamp(44px, 7vw, 100px);
}

.page-products .catalog-body__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
  min-width: 0;
}

.page-products .catalog-main {
  min-width: 0;
}

/* ---------- 侧边索引 ---------- */
.page-products .catalog-rail {
  align-self: start;
  padding: 18px 18px 20px;
  border: 1px solid rgba(94, 113, 128, 0.28);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(11, 44, 69, 0.88), rgba(6, 27, 43, 0.55));
}

.page-products .catalog-rail .coordinate {
  color: var(--c-amber);
}

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

.page-products .rail-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-size: 14px;
  color: rgba(234, 242, 245, 0.76);
  text-decoration: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-products .rail-list a:hover,
.page-products .rail-list a:focus-visible {
  color: var(--c-fog);
  background: rgba(53, 242, 208, 0.08);
  border-color: rgba(53, 242, 208, 0.4);
}

.page-products .rail-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-cyan);
}

.page-products .rail-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: var(--hair);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(234, 242, 245, 0.66);
}

.page-products .rail-note p {
  margin: 0;
}

.page-products .rail-note a {
  color: var(--c-amber);
}

/* ---------- 章节 ---------- */
.page-products .catalog-section {
  margin-top: clamp(34px, 5vw, 60px);
  padding-top: clamp(30px, 4.5vw, 52px);
  border-top: 1px solid rgba(94, 113, 128, 0.22);
  scroll-margin-top: 100px;
}

.page-products .catalog-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.page-products .catalog-section__head {
  max-width: 72ch;
}

.page-products .catalog-section__head .coordinate {
  color: var(--c-amber);
}

.page-products .catalog-section__head h2 {
  margin: 0.3em 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.4vw, 37px);
  line-height: 1.16;
  letter-spacing: -0.016em;
  color: var(--c-fog);
}

.page-products .catalog-section__head p:not(.coordinate) {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(234, 242, 245, 0.76);
}

/* ---------- 图片 ---------- */
.page-products .catalog-figure {
  margin: clamp(20px, 3vw, 32px) 0 0;
}

.page-products .catalog-figure--flush {
  margin-top: 0;
}

.page-products .catalog-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-l);
  background: rgba(11, 44, 69, 0.6);
}

.page-products .catalog-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-slate);
}

/* ---------- 图例 ---------- */
.page-products .legend-row {
  display: grid;
  gap: 10px;
  margin-top: clamp(16px, 2.5vw, 24px);
  grid-template-columns: 1fr;
}

.page-products .legend {
  padding: 12px 14px;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-left: 3px solid var(--c-slate);
  border-radius: var(--radius-s);
  background: rgba(11, 44, 69, 0.5);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(234, 242, 245, 0.78);
}

.page-products .legend strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  color: var(--c-fog);
}

.page-products .legend--entry {
  border-left-color: var(--c-cyan);
}

.page-products .legend--account {
  border-left-color: var(--c-amber);
}

.page-products .legend--device {
  border-left-color: var(--c-moss);
}

.page-products .legend--help {
  border-left-color: var(--c-clay);
}

/* ---------- 服务卡片流 ---------- */
.page-products .card-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 0;
  list-style: none;
}

.page-products .svc-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 17px 18px 15px;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-top: 3px solid var(--accent, var(--c-cyan));
  border-radius: var(--radius-m);
  background: linear-gradient(170deg, rgba(11, 44, 69, 0.84), rgba(6, 27, 43, 0.7));
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.page-products .svc-card:hover,
.page-products .svc-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(53, 242, 208, 0.5);
}

.page-products .svc-card--g1 {
  --accent: var(--c-cyan);
}

.page-products .svc-card--g2 {
  --accent: var(--c-amber);
}

.page-products .svc-card--g3 {
  --accent: var(--c-moss);
}

.page-products .svc-card--g4 {
  --accent: var(--c-clay);
}

.page-products .svc-card__no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--c-cyan);
}

.page-products .svc-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 19px);
  letter-spacing: -0.01em;
  color: var(--c-fog);
}

.page-products .svc-card p {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 242, 245, 0.76);
}

.page-products .svc-card p a,
.page-products .index-table a,
.page-products .loop__list a,
.page-products .loop-note a {
  color: var(--c-amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 180, 90, 0.4);
}

.page-products .svc-card p a:hover,
.page-products .svc-card p a:focus-visible,
.page-products .index-table a:hover,
.page-products .index-table a:focus-visible,
.page-products .loop__list a:hover,
.page-products .loop__list a:focus-visible,
.page-products .loop-note a:hover,
.page-products .loop-note a:focus-visible {
  color: var(--c-cyan);
  border-bottom-color: rgba(53, 242, 208, 0.55);
}

.page-products .svc-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 4px 0 0;
  padding: 10px 0 0;
  border-top: var(--hair);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--c-slate);
}

/* ---------- 两步路径 ---------- */
.page-products .step-track {
  display: grid;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .step {
  padding: 18px;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-m);
  background: rgba(11, 44, 69, 0.62);
}

.page-products .step__badge {
  display: inline-block;
  padding: 5px 13px;
  border: 1px solid rgba(53, 242, 208, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(53, 242, 208, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-cyan);
}

.page-products .step h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 21px);
  letter-spacing: -0.01em;
  color: var(--c-fog);
}

.page-products .step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: rgba(234, 242, 245, 0.76);
}

.page-products .step-arrow {
  justify-self: center;
  width: 100%;
  max-width: 46px;
  height: 46px;
  color: var(--c-cyan);
  transform: rotate(90deg);
}

/* ---------- 设备视图 ---------- */
.page-products .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .device {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-m);
  background: rgba(11, 44, 69, 0.55);
}

.page-products .device__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--c-amber);
}

.page-products .device p:not(.device__label) {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 242, 245, 0.74);
}

.page-products .mock {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 10px;
  border: 1px solid rgba(94, 113, 128, 0.35);
  border-radius: var(--radius-s);
  background:
    linear-gradient(rgba(53, 242, 208, 0.07) 1px, transparent 1px) 0 0 / 100% 18px,
    rgba(3, 18, 29, 0.72);
}

.page-products .mock span {
  display: block;
  height: 12px;
  border-radius: var(--radius-pill);
  background: rgba(234, 242, 245, 0.16);
}

.page-products .mock span:nth-child(3n + 1) {
  background: rgba(53, 242, 208, 0.34);
}

.page-products .mock--desktop {
  position: relative;
  padding-left: 40px;
  grid-template-columns: 1fr 1fr;
}

.page-products .mock--desktop::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(53, 242, 208, 0.52), rgba(53, 242, 208, 0.14));
}

.page-products .mock--tablet {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.page-products .mock--mobile {
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 148px;
  margin: 0 auto;
  border-radius: 18px;
}

.page-products .device-shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin-top: clamp(20px, 3vw, 30px);
  align-items: start;
}

.page-products .device-shots figure {
  margin: 0;
}

.page-products .device-shots img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-l);
  background: rgba(11, 44, 69, 0.6);
}

.page-products .device-shots figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--c-slate);
}

/* ---------- 入口索引表 ---------- */
.page-products .index-table-wrap {
  margin-top: clamp(18px, 3vw, 26px);
  overflow-x: auto;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-m);
  background: rgba(11, 44, 69, 0.5);
  -webkit-overflow-scrolling: touch;
}

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

.page-products .index-table th,
.page-products .index-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(94, 113, 128, 0.22);
}

.page-products .index-table thead th {
  background: rgba(3, 18, 29, 0.6);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--c-slate);
}

.page-products .index-table tbody tr:nth-child(even) {
  background: rgba(6, 27, 43, 0.34);
}

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

.page-products .index-table td {
  line-height: 1.7;
  color: rgba(234, 242, 245, 0.82);
}

.page-products .index-table td:first-child {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--c-cyan);
}

.page-products .index-foot {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 反馈与版本 ---------- */
.page-products .loop {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin-top: clamp(20px, 3vw, 30px);
}

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

.page-products .loop__list li {
  position: relative;
  padding: 14px 16px 14px 50px;
  border: 1px solid rgba(94, 113, 128, 0.28);
  border-radius: var(--radius-s);
  background: rgba(11, 44, 69, 0.5);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(234, 242, 245, 0.8);
}

.page-products .loop__no {
  position: absolute;
  left: 16px;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-amber);
}

.page-products .loop-note {
  margin: clamp(16px, 2.5vw, 24px) 0 0;
  padding-left: 14px;
  border-left: 3px solid rgba(255, 180, 90, 0.55);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(234, 242, 245, 0.76);
}

/* ---------- 使用场景 ---------- */
.page-products .scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .scenario {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid rgba(94, 113, 128, 0.3);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(11, 44, 69, 0.72), rgba(6, 27, 43, 0.42));
}

.page-products .scenario h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--c-fog);
}

.page-products .scenario p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: rgba(234, 242, 245, 0.76);
}

.page-products .scenario__cards {
  margin-top: auto;
  padding-top: 12px;
  border-top: var(--hair);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--c-cyan);
}

/* ---------- 收尾 ---------- */
.page-products .catalog-cta {
  margin-top: clamp(38px, 6vw, 76px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(53, 242, 208, 0.32);
  border-radius: var(--radius-l);
  background:
    radial-gradient(620px 220px at 12% 0%, rgba(53, 242, 208, 0.14), transparent 72%),
    linear-gradient(150deg, rgba(11, 44, 69, 0.92), rgba(6, 27, 43, 0.86));
}

.page-products .catalog-cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-fog);
}

.page-products .catalog-cta p {
  max-width: 62ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(234, 242, 245, 0.78);
}

.page-products .catalog-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 2.5vw, 26px);
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-products .legend-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (min-width: 840px) {
  .page-products .step-track {
    grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
    align-items: center;
  }

  .page-products .step-arrow {
    max-width: 120px;
    height: 24px;
    transform: none;
  }

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

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

@media (min-width: 900px) {
  .page-products .loop {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-products .catalog-hero__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
  }

  .page-products .catalog-body__grid {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .catalog-rail {
    position: sticky;
    top: 96px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  .page-products .svc-card,
  .page-products .rail-list a {
    transition: none;
  }

  .page-products .svc-card:hover,
  .page-products .svc-card:focus-within {
    transform: none;
  }
}
