.page-products {
  --apps-rail: 252px;
  --apps-hair: 1px solid rgba(10, 31, 68, 0.12);
  background: var(--mist);
  color: var(--slate);
  font-family: var(--font-body);
}

.page-products .wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============ 首屏 ============ */
.page-products .apps-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(22px, 4vw, 44px) 0 clamp(52px, 7vw, 92px);
  color: var(--paper);
  background:
    radial-gradient(760px 380px at 88% -8%, rgba(0, 229, 255, 0.24), transparent 68%),
    radial-gradient(520px 300px at 2% 108%, rgba(255, 107, 53, 0.16), transparent 70%),
    linear-gradient(155deg, #0a1f44 0%, #083b4c 58%, #071730 100%);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(680px 340px at 72% 18%, #000, transparent 76%);
  mask-image: radial-gradient(680px 340px at 72% 18%, #000, transparent 76%);
  pointer-events: none;
}

.page-products .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(249, 251, 253, 0.62);
}

.page-products .apps-hero .crumbs__link {
  color: rgba(249, 251, 253, 0.82);
  text-decoration: none;
}

.page-products .apps-hero .crumbs__link:hover,
.page-products .apps-hero .crumbs__link:focus-visible {
  color: var(--cyan);
}

.page-products .apps-hero .crumbs__current {
  color: rgba(0, 229, 255, 0.9);
}

.page-products .hero-split {
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  margin-top: clamp(16px, 2.4vw, 26px);
}

.page-products .apps-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 6.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 14px 0 16px;
  color: var(--paper);
  max-width: 22ch;
}

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

.page-products .lede {
  margin: 0;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.78;
  color: rgba(249, 251, 253, 0.82);
  max-width: 56ch;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-products .hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: clamp(24px, 3.4vw, 34px) 0 0;
  padding: 0;
}

.page-products .hero-metric {
  border-top: 2px solid rgba(0, 229, 255, 0.38);
  padding-top: 9px;
}

.page-products .hero-metric dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: rgba(249, 251, 253, 0.6);
}

.page-products .hero-metric dd {
  margin: 5px 0 0;
  font-size: 13px;
  color: rgba(249, 251, 253, 0.72);
}

.page-products .hero-metric__val {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 600;
  color: var(--cyan);
  margin-right: 3px;
}

.page-products .hero-visual {
  position: relative;
  margin: 0;
}

.page-products .hero-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0, 229, 255, 0.28);
  box-shadow: 0 34px 74px -44px rgba(0, 0, 0, 0.95);
}

.page-products .hero-float {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  background: rgba(249, 251, 253, 0.97);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.page-products .hero-float p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

/* ============ 驾驶舱双栏 ============ */
.page-products .console {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  padding: clamp(30px, 4.4vw, 56px) 0 clamp(38px, 5vw, 68px);
}

.page-products .console-rail {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-products .rail-card {
  border-radius: var(--r-md);
  padding: 18px;
  color: var(--paper);
  background: linear-gradient(165deg, var(--ink) 0%, var(--teal) 100%);
  box-shadow: var(--shadow-soft);
}

.page-products .rail-card__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-products .rail-steps {
  counter-reset: rail;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-products .rail-steps li {
  position: relative;
  padding-left: 36px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(249, 251, 253, 0.86);
}

.page-products .rail-steps li::before {
  counter-increment: rail;
  content: "0" counter(rail);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.page-products .rail-toc {
  border-radius: var(--r-md);
  border: var(--apps-hair);
  background: var(--paper);
  padding: 16px 18px;
}

.page-products .rail-toc .toc__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-products .rail-toc .toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .rail-toc .toc__link {
  display: block;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 31, 68, 0.07);
  transition: color 0.16s ease, padding-left 0.16s ease;
}

.page-products .rail-toc .toc__link:hover,
.page-products .rail-toc .toc__link:focus-visible {
  color: var(--orange);
  padding-left: 5px;
}

.page-products .rail-toc .toc__link.is-in,
.page-products .rail-toc .toc__link[aria-current] {
  color: var(--cyan-deep);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--cyan);
  padding-left: 10px;
}

.page-products .console-body {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  min-width: 0;
}

/* ============ 通用板块 ============ */
.page-products .app-section {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(10, 31, 68, 0.06);
  background: var(--paper);
  padding: clamp(20px, 3.4vw, 38px);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.page-products .app-section--ink {
  border-color: rgba(0, 229, 255, 0.18);
  color: var(--paper);
  background:
    radial-gradient(520px 260px at 92% 0%, rgba(0, 229, 255, 0.16), transparent 70%),
    linear-gradient(150deg, var(--ink) 0%, var(--teal) 100%);
}

.page-products .app-head {
  max-width: 62ch;
}

.page-products .app-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 3.6vw, 36px);
  line-height: 1.16;
  margin: 8px 0 10px;
  color: var(--ink);
}

.page-products .app-section--ink .app-head h2 {
  color: var(--paper);
}

.page-products .app-lede {
  margin: 0;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.78;
  color: rgba(28, 42, 58, 0.78);
}

.page-products .app-section--ink .app-lede {
  color: rgba(249, 251, 253, 0.8);
}

.page-products .cols {
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ============ 图片位 ============ */
.page-products .shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(10, 31, 68, 0.12);
  min-width: 0;
}

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

.page-products .shot__cap {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(249, 251, 253, 0.74);
  background: rgba(7, 23, 48, 0.94);
}

.page-products .shot--wide {
  margin-top: clamp(18px, 2.6vw, 26px);
}

/* ============ 筛选台模拟 ============ */
.page-products .sim {
  position: relative;
  border-radius: var(--r-md);
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: linear-gradient(170deg, #071730 0%, #083b4c 100%);
  padding: clamp(16px, 2.4vw, 20px);
  color: var(--paper);
  min-width: 0;
}

.page-products .sim__radio,
.page-products .export__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-products .sim__label {
  margin: 0 0 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-products .sim__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-products .sim__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  color: rgba(249, 251, 253, 0.82);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-products .sim__chip:hover {
  border-color: rgba(0, 229, 255, 0.7);
  color: var(--paper);
}

.page-products #sim-all:checked ~ .sim__chips label[for="sim-all"],
.page-products #sim-apple:checked ~ .sim__chips label[for="sim-apple"],
.page-products #sim-desk:checked ~ .sim__chips label[for="sim-desk"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 600;
}

.page-products .sim__leagues {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.page-products .sim__leagues li {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(249, 251, 253, 0.14);
  background: rgba(249, 251, 253, 0.08);
  color: rgba(249, 251, 253, 0.72);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.page-products .sim__leagues li.is-on {
  border-color: rgba(255, 107, 53, 0.62);
  background: rgba(255, 107, 53, 0.16);
  color: #ffb89c;
}

.page-products .sim__row {
  display: none;
  margin: 0;
  padding-top: 13px;
  border-top: 1px dashed rgba(0, 229, 255, 0.26);
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(249, 251, 253, 0.86);
}

.page-products #sim-all:checked ~ .sim__result .sim__row--all,
.page-products #sim-apple:checked ~ .sim__result .sim__row--apple,
.page-products #sim-desk:checked ~ .sim__result .sim__row--desk {
  display: block;
}

.page-products .sim__hit {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--cyan);
  margin-right: 2px;
}

/* ============ 信息卡 ============ */
.page-products .info-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 2.6vw, 26px);
}

.page-products .info-card {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--mist);
  border-left: 3px solid var(--cyan-deep);
  min-width: 0;
}

.page-products .info-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .info-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(28, 42, 58, 0.76);
}

.page-products .info-card--tall {
  border-left-color: var(--orange);
}

/* ============ 苹果设备卡 ============ */
.page-products .device-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(249, 251, 253, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.22);
  min-width: 0;
}

.page-products .device-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.26), transparent 66%);
  pointer-events: none;
}

.page-products .device-card__tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-products .device-card h3 {
  margin: 0 0 7px;
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .device-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: rgba(249, 251, 253, 0.8);
}

/* ============ 数据面板预览 ============ */
.page-products .panel-demo {
  margin-top: clamp(18px, 2.6vw, 26px);
  border-radius: var(--r-md);
  border: 1px solid rgba(0, 229, 255, 0.2);
  background: linear-gradient(160deg, #071730 0%, #0a1f44 58%, #083b4c 100%);
  padding: clamp(16px, 2.4vw, 20px);
  color: var(--paper);
  box-shadow: 0 26px 54px -34px rgba(10, 31, 68, 0.92);
}

.page-products .panel-demo__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 229, 255, 0.22);
}

.page-products .panel-demo__tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-products .panel-demo__sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(249, 251, 253, 0.7);
}

.page-products .panel-demo__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(39, 196, 138, 0.22);
}

.page-products .panel-demo__rows {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.page-products .panel-demo__row {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(249, 251, 253, 0.05);
}

.page-products .panel-demo__row span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(0, 229, 255, 0.86);
}

.page-products .panel-demo__row b {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(249, 251, 253, 0.9);
}

/* ============ 导出格式切换 ============ */
.page-products .export {
  position: relative;
  border-radius: var(--r-md);
  border: var(--apps-hair);
  background: var(--mist);
  padding: 14px;
  min-width: 0;
}

.page-products .export__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-products .export__tab {
  padding: 8px 15px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10, 31, 68, 0.14);
  background: #fff;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-products #fmt-csv:checked ~ .export__tabs label[for="fmt-csv"],
.page-products #fmt-json:checked ~ .export__tabs label[for="fmt-json"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cyan);
}

.page-products .export__panel {
  display: none;
}

.page-products #fmt-csv:checked ~ .export__panels .export__panel--csv,
.page-products #fmt-json:checked ~ .export__panels .export__panel--json {
  display: block;
}

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

.page-products .export__fields li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 8px 11px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(10, 31, 68, 0.08);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
  word-break: break-word;
}

.page-products .export__fields li span:last-child {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--steel);
}

.page-products .export__note {
  margin: 12px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(28, 42, 58, 0.72);
}

/* ============ 复盘流程 ============ */
.page-products .flow {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 2.6vw, 26px);
}

.page-products .flow__item {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--ink) 0%, var(--teal) 100%);
  color: var(--paper);
  min-width: 0;
}

.page-products .flow__item::after {
  content: "";
  position: absolute;
  right: -32px;
  top: -32px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.28), transparent 66%);
  pointer-events: none;
}

.page-products .flow__num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

.page-products .flow__item h3 {
  margin: 7px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .flow__item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(249, 251, 253, 0.8);
}

/* ============ 版本卡 ============ */
.page-products .ver-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(18px, 2.6vw, 26px);
}

.page-products .ver-card {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--mist);
  border-top: 3px solid var(--cyan);
  min-width: 0;
}

.page-products .ver-card h3 {
  margin: 0 0 4px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.page-products .ver-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.page-products .ver-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.68;
  color: rgba(28, 42, 58, 0.76);
}

/* ============ 联络条 ============ */
.page-products .support-bar {
  display: grid;
  gap: 12px;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 16px;
  border-radius: var(--r-md);
  border: 1px dashed rgba(10, 31, 68, 0.2);
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.1), rgba(255, 107, 53, 0.1));
}

.page-products .support-bar dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-products .support-bar dd {
  margin: 5px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}

/* ============ 跳转胶囊 ============ */
.page-products .next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 2.4vw, 22px);
}

.page-products .next-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(10, 31, 68, 0.14);
  background: var(--paper);
  color: var(--ink);
  font-size: 13.5px;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.page-products .next-link:hover,
.page-products .next-link:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-1px);
}

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

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

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

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

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

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

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

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

@media (min-width: 960px) {
  .page-products .hero-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
  }

  .page-products .hero-float {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: min(300px, 78%);
    margin: 0;
  }

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

  .page-products .console-rail {
    position: sticky;
    top: calc(var(--header-offset) + 16px);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products .next-link,
  .page-products .sim__chip,
  .page-products .export__tab,
  .page-products .rail-toc .toc__link {
    transition: none;
  }

  .page-products .next-link:hover {
    transform: none;
  }
}
