.page-products .prod-hero {
  position: relative;
  padding-block: clamp(20px, 3vw, 36px) clamp(36px, 5vw, 68px);
  overflow: hidden;
}

.page-products .prod-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -10%;
  width: min(720px, 90%);
  height: 520px;
  background: radial-gradient(closest-side, rgba(53, 214, 232, 0.16), transparent 72%);
  pointer-events: none;
}

.page-products .hero-grid {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
}

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

.page-products .hero-main h1 {
  margin: 10px 0 16px;
  font-family: var(--font-head);
  font-size: clamp(32px, 5.6vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .hero-main .lede {
  max-width: 60ch;
  color: var(--paper-dim);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  margin: 0 0 24px;
}

.page-products .mode-rail {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .mode-rail a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  background: var(--ink-800);
  text-decoration: none;
  color: var(--text);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), transform 220ms var(--ease);
}

.page-products .mode-rail a:hover,
.page-products .mode-rail a:focus-visible {
  border-color: var(--line-strong);
  border-left-color: var(--cyan-500);
  background: var(--ink-700);
  transform: translateX(3px);
}

.page-products .rail-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-products .rail-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-products .rail-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .rail-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper-dim);
}

.page-products .rail-go {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan-500);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .hero-preview {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, rgba(11, 42, 63, 0.95), rgba(6, 26, 43, 0.95));
  box-shadow: 0 0 40px -22px rgba(53, 214, 232, 0.7);
}

.page-products .preview-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.page-products .preview-frame::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(225deg, var(--cyan-500) 0 2px, transparent 2px);
  opacity: 0.85;
}

.page-products .preview-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-products .preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-products .page-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 42, 63, 0.55);
}

.page-products .index-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .index-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
  text-decoration: none;
  white-space: nowrap;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease);
}

.page-products .index-list a span {
  color: var(--rock);
}

.page-products .index-list a:hover,
.page-products .index-list a:focus-visible {
  color: var(--cyan-200);
  background: rgba(53, 214, 232, 0.07);
}

.page-products .index-list a[aria-current="true"] {
  color: var(--cyan-500);
  box-shadow: inset 0 -2px 0 var(--cyan-500);
}

.page-products .index-list a[aria-current="true"] span {
  color: var(--amber);
}

.page-products .section {
  padding-block: clamp(44px, 6vw, 82px);
  border-top: 1px solid var(--line);
}

.page-products #modes.section {
  border-top: 0;
}

.page-products .section-lede {
  max-width: 68ch;
  color: var(--paper-dim);
  line-height: 1.75;
}

/* 01 访问方式 */
.page-products .modes-layout {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 28px;
}

.page-products .mode-cards {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-products .mode-card {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  display: grid;
  gap: 10px;
  align-content: start;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.page-products .mode-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.page-products .mode-card--primary {
  border-color: var(--line-strong);
  background: linear-gradient(170deg, rgba(53, 214, 232, 0.09), rgba(11, 42, 63, 0.9) 55%);
}

.page-products .mode-card--primary::before {
  background: linear-gradient(90deg, var(--cyan-500), rgba(53, 214, 232, 0.1));
}

.page-products .mode-card:hover {
  border-color: var(--line-strong);
  background-color: var(--ink-700);
}

.page-products .mode-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .mode-fit {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mist);
}

.page-products .mode-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-products .mode-points li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-products .mode-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--cyan-500);
  opacity: 0.8;
}

.page-products .mode-note {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.page-products .modes-figure {
  margin: 0;
  align-self: start;
}

.page-products .modes-figure img,
.page-products .scope-figure img,
.page-products .adapt-figure img,
.page-products .steps-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 02 浏览器登录 */
.page-products .login-grid {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  margin-top: 26px;
}

.page-products .login-card {
  padding: clamp(20px, 3vw, 30px);
  background: var(--paper);
  color: var(--black);
  border: 1px solid rgba(10, 17, 23, 0.12);
  box-shadow: 7px 7px 0 rgba(6, 26, 43, 0.55);
}

.page-products .login-title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
}

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

.page-products .login-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(10, 17, 23, 0.18);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-900);
}

.page-products .login-steps li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .step-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--clay);
  padding-top: 2px;
}

.page-products .login-side {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-products .login-side p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--paper-dim);
}

.page-products .login-side a {
  color: var(--cyan-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 214, 232, 0.4);
}

.page-products .login-side a:hover,
.page-products .login-side a:focus-visible {
  color: var(--cyan-200);
  border-bottom-color: var(--cyan-200);
}

.page-products .login-stamp {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
}

/* 03 服务范围 */
.page-products .scope-chips {
  margin: 22px 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .scope-chips .chip {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.page-products .scope-layout {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  align-items: start;
}

.page-products .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(8, 32, 47, 0.7);
  min-width: 0;
}

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

.page-products .table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid var(--line);
}

.page-products .index-table th,
.page-products .index-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
  border-bottom: 1px solid var(--line);
}

.page-products .index-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-200);
  background: rgba(53, 214, 232, 0.06);
  white-space: nowrap;
}

.page-products .index-table tbody th {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--paper);
  white-space: nowrap;
}

.page-products .index-table tbody td {
  color: var(--paper-dim);
}

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

.page-products .index-table tbody tr:hover {
  background: rgba(53, 214, 232, 0.05);
}

.page-products .index-table tr:target {
  background: rgba(53, 214, 232, 0.12);
  box-shadow: inset 2px 0 0 var(--cyan-500);
}

.page-products .scope-figure,
.page-products .adapt-figure,
.page-products .steps-figure {
  margin: 0;
  min-width: 0;
}

.page-products .scope-figure img {
  aspect-ratio: 3 / 2;
}

/* 04 适配清单 */
.page-products .adapt-layout {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: 26px;
  align-items: start;
}

.page-products .adapt-figure img {
  aspect-ratio: 3 / 2;
}

.page-products .adapt-foot {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--paper-dim);
  padding-left: 14px;
  border-left: 2px solid var(--cyan-500);
}

.page-products .adapt-foot a {
  color: var(--cyan-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 214, 232, 0.4);
}

.page-products .adapt-foot a:hover,
.page-products .adapt-foot a:focus-visible {
  color: var(--cyan-200);
  border-bottom-color: var(--cyan-200);
}

/* 05 安装步骤 */
.page-products .steps-track {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  position: relative;
}

.page-products .step {
  position: relative;
  min-width: 0;
  padding-left: 0;
}

.page-products .step-dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  position: relative;
  z-index: 1;
}

.page-products .step-details {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-products .step-details summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 14px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .step-details summary::-webkit-details-marker {
  display: none;
}

.page-products .step-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan-500);
}

.page-products .step-details[open] summary::after {
  content: "–";
}

.page-products .step-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.page-products .step-details summary:hover,
.page-products .step-details summary:focus-visible {
  outline: none;
  background: rgba(53, 214, 232, 0.07);
}

.page-products .step-details p {
  margin: 0;
  padding: 13px 14px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--paper-dim);
}

.page-products .steps-figure {
  margin-top: 26px;
}

.page-products .steps-figure img {
  aspect-ratio: 2 / 1;
}

/* 06 版本与兼容 */
.page-products .compat-grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: 26px;
  align-items: start;
}

.page-products .compat-cards {
  display: grid;
  gap: 12px;
}

.page-products .compat-card {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  display: grid;
  gap: 8px;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.page-products .compat-card:hover {
  border-color: var(--line-strong);
  background: var(--ink-700);
}

.page-products .compat-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-products .compat-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
}

.page-products .compat-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--paper-dim);
}

.page-products .compat-faq {
  min-width: 0;
  border: 1px solid var(--line-strong);
  background: rgba(8, 32, 47, 0.75);
  padding: clamp(16px, 2.5vw, 24px);
}

.page-products .compat-faq-title {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--paper);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-products .faq-item {
  border-bottom: 1px dashed var(--line);
}

.page-products .faq-item:last-child {
  border-bottom: 0;
}

.page-products .faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--cyan-200);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.page-products .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-products .faq-item summary::before {
  content: "›";
  font-family: var(--font-mono);
  color: var(--cyan-500);
  transition: transform 200ms var(--ease);
  display: inline-block;
}

.page-products .faq-item[open] summary::before {
  transform: rotate(90deg);
}

.page-products .faq-item summary:focus-visible {
  outline: 1px solid var(--cyan-500);
  outline-offset: 2px;
}

.page-products .faq-item p {
  margin: 0 0 14px;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--paper-dim);
}

/* 07 组合场景 */
.page-products .scene-list {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.page-products .scene-row {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .scene-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--amber);
}

.page-products .scene-combo,
.page-products .scene-gain {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--paper-dim);
}

.page-products .scene-gain {
  color: var(--text);
}

.page-products .closing {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(20px, 3.5vw, 38px);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(53, 214, 232, 0.1), rgba(6, 26, 43, 0.9) 58%, rgba(199, 123, 91, 0.1));
  display: grid;
  gap: 20px;
}

.page-products .closing-text h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--paper);
}

.page-products .closing-text p {
  margin: 0;
  max-width: 66ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--paper-dim);
}

.page-products .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

  .page-products .scene-row {
    grid-template-columns: 120px minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .page-products .scene-name {
    padding-top: 2px;
  }

  .page-products .closing {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-products .closing-actions {
    justify-content: flex-end;
  }
}

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

  .page-products .modes-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    align-items: start;
  }

  .page-products .login-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .scope-layout,
  .page-products .adapt-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

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

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

  .page-products .steps-track::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan-500), rgba(155, 238, 244, 0.18));
  }

  .page-products .step {
    padding-right: 16px;
  }
}

@media (min-width: 1180px) {
  .page-products .modes-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
    gap: 36px;
  }

  .page-products .mode-card {
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .mode-rail a,
  .page-products .mode-card,
  .page-products .compat-card,
  .page-products .index-list a,
  .page-products .faq-item summary::before {
    transition: none;
  }

  .page-products .mode-rail a:hover,
  .page-products .mode-rail a:focus-visible {
    transform: none;
  }
}
