.page-products {
  --tool-max: 1160px;
  --tool-line: rgba(36, 224, 207, 0.14);
  --tool-quiet: rgba(155, 169, 191, 0.2);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .tool-wrap {
  width: 100%;
  max-width: var(--tool-max);
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
}

/* ---------- 首屏 ---------- */

.page-products .tool-hero {
  position: relative;
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--tool-line);
  overflow: hidden;
}

.page-products .tool-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: 14%;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan));
  transform: rotate(-6deg);
  opacity: 0.32;
  pointer-events: none;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  color: var(--cyan);
}

.page-products .tool-hero__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 6.25rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.page-products .tool-hero__title span {
  display: block;
  color: var(--orange);
  padding-left: 0.06em;
}

.page-products .tool-hero__lede {
  max-width: 46ch;
  margin: clamp(1rem, 2.4vw, 1.5rem) 0 0;
  font-size: clamp(0.95rem, 1.6vw, 1.0625rem);
  line-height: 1.75;
  color: var(--muted);
}

.page-products .tool-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: clamp(1.2rem, 3vw, 1.75rem) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-products .tool-hero__stats b {
  color: var(--cyan);
  font-weight: 700;
}

/* ---------- 主栅格 ---------- */

.page-products .tool-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 2.75rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

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

/* ---------- 左侧能力索引 ---------- */

.page-products .tool-index__label {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.page-products .tool-index__list {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0 0 0.3rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .tool-index__list li {
  flex: 0 0 auto;
}

.page-products .tool-index__link {
  display: block;
  padding: 0.4rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-products .tool-index__link:hover,
.page-products .tool-index__link:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
}

/* ---------- 右侧开通速览 ---------- */

.page-products .tool-steps {
  margin-top: 0.25rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .tool-steps__label {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.page-products .tool-steps__list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.page-products .tool-steps__list li {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  font-size: 0.85rem;
  color: var(--text);
}

.page-products .tool-steps__list span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
}

.page-products .tool-steps__note {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
}

.page-products .tool-steps .btn + .btn {
  margin-top: 0.5rem;
}

/* ---------- 区块通用 ---------- */

.page-products .tool-section {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  min-width: 0;
}

.page-products .tool-section:first-child {
  margin-top: 0;
}

.page-products .sec-head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  border-bottom: 1px solid var(--tool-line);
  padding-bottom: 0.6rem;
}

.page-products .sec-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--cyan);
  flex: 0 0 auto;
}

.page-products .sec-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-products .sec-lede {
  max-width: 54ch;
  margin: 1rem 0 0;
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .sub-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: clamp(1.75rem, 4vw, 2.25rem) 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .sub-title::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--cyan);
  flex: 0 0 auto;
}

/* ---------- 能力轨道 ---------- */

.page-products .ability-rail {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .ability-node {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.75rem;
  border-top: 1px solid var(--tool-line);
}

.page-products .ability-node::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  background: var(--ink);
  transform: rotate(45deg);
}

.page-products .ability-node::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2.15rem;
  bottom: -0.9rem;
  width: 1px;
  background: linear-gradient(180deg, var(--line-strong), transparent);
}

.page-products .ability-node:last-child::after {
  display: none;
}

.page-products .ability-node__idx {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ember);
}

.page-products .ability-node__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .ability-node__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------- 表格 ---------- */

.page-products .table-scroll {
  margin-top: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .plan-table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.page-products .plan-table th,
.page-products .plan-table td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--tool-line);
}

.page-products .plan-table thead th {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
  background: rgba(36, 224, 207, 0.05);
  white-space: nowrap;
}

.page-products .plan-table tbody th {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.page-products .plan-table tbody td {
  color: var(--muted);
}

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

.page-products .plan-table tbody tr {
  transition: background-color 0.16s var(--ease);
}

.page-products .plan-table tbody tr:hover th,
.page-products .plan-table tbody tr:hover td {
  background: rgba(255, 106, 26, 0.07);
  color: var(--text);
}

.page-products .plan-table .is-pro {
  color: var(--orange);
  font-weight: 600;
}

.page-products .plan-table--price thead th:nth-child(3) {
  color: var(--orange);
}

.page-products .price {
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ---------- 周期刻度 ---------- */

.page-products .cycle-scale {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  background: var(--tool-line);
  overflow: hidden;
}

.page-products .cycle-scale__item {
  position: relative;
  padding: 1.1rem 1rem 1.15rem;
  background: var(--ink);
}

.page-products .cycle-scale__item::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.page-products .cycle-scale__key {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .cycle-scale__item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- iOS 折叠 ---------- */

.page-products .ios-fold {
  margin-top: 1.5rem;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .ios-fold > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.9rem 1.1rem;
  list-style: none;
  cursor: pointer;
}

.page-products .ios-fold > summary::-webkit-details-marker {
  display: none;
}

.page-products .ios-fold__head {
  font-size: 0.95rem;
  font-weight: 700;
}

.page-products .ios-fold__hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.page-products .ios-fold > summary:hover .ios-fold__head {
  color: var(--ember);
}

.page-products .ios-fold[open] > summary {
  border-bottom: 1px solid var(--tool-line);
}

.page-products .ios-fold__body {
  padding: 1rem 1.1rem 1.2rem;
}

.page-products .ios-fold__body .table-scroll {
  margin-top: 0;
}

.page-products .ios-fold__note {
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .ios-fold__note a,
.page-products .faq-item a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(36, 224, 207, 0.4);
}

.page-products .ios-fold__note a:hover,
.page-products .faq-item a:hover {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

/* ---------- 适用场景 ---------- */

.page-products .scene-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-products .scene-card {
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid var(--tool-line);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--panel);
}

.page-products .scene-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .scene-card p {
  margin: 0 0 0.8rem;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .scene-card__tag {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  border: 1px solid rgba(255, 106, 26, 0.35);
  border-radius: var(--radius);
}

/* ---------- 开通流程 ---------- */

.page-products .launch {
  position: relative;
  margin-top: 1.5rem;
  border: 1px solid var(--tool-line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.page-products .launch__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .launch__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-products .launch__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(5, 7, 13, 0.95) 32%, rgba(5, 7, 13, 0.6) 100%);
}

.page-products .launch__steps {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem 1.15rem;
  list-style: none;
}

.page-products .launch__step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(243, 247, 255, 0.12);
}

.page-products .launch__step:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .launch__step:last-child {
  padding-bottom: 0;
}

.page-products .launch__num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--orange);
}

.page-products .launch__step h3 {
  grid-column: 2;
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 800;
}

.page-products .launch__step p {
  grid-column: 2;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 问答 ---------- */

.page-products .faq-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--tool-line);
}

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

.page-products .faq-item > summary {
  position: relative;
  padding: 0.95rem 0.25rem 0.95rem 1.6rem;
  list-style: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

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

.page-products .faq-item > summary::before {
  content: "+";
  position: absolute;
  left: 0.15rem;
  top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--cyan);
}

.page-products .faq-item[open] > summary::before {
  content: "–";
  color: var(--orange);
}

.page-products .faq-item > summary:hover {
  color: var(--ember);
}

.page-products .faq-item p {
  margin: 0 0 1.05rem;
  padding-left: 1.6rem;
  font-size: 0.875rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 图片 ---------- */

.page-products .tool-figure,
.page-products .ios-shot,
.page-products .scene-shot {
  margin: clamp(1.5rem, 4vw, 2rem) 0 0;
}

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

.page-products .ios-shot {
  max-width: 340px;
}

.page-products .scene-shot {
  max-width: 460px;
}

.page-products figcaption {
  margin-top: 0.7rem;
  font-size: 0.77rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---------- 平板 ---------- */

@media (min-width: 680px) {
  .page-products .scene-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .scene-card:nth-child(2),
  .page-products .scene-card:nth-child(4) {
    margin-left: 9%;
  }

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

  .page-products .ability-node {
    padding-right: 3.5rem;
  }

  .page-products .ability-node__idx {
    position: absolute;
    right: 0;
    top: 0.85rem;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(36, 224, 207, 0.22);
  }
}

/* ---------- 桌面三栏 ---------- */

@media (min-width: 1040px) {
  .page-products .tool-deck {
    grid-template-columns: 158px minmax(0, 1fr) 208px;
    gap: 2rem;
    align-items: start;
  }

  .page-products .tool-index {
    position: sticky;
    top: 1.5rem;
    padding-top: 0.2rem;
  }

  .page-products .tool-index__list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: visible;
    border-left: 1px solid var(--tool-line);
  }

  .page-products .tool-index__link {
    margin-left: -1px;
    padding: 0.5rem 0 0.5rem 0.85rem;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    white-space: normal;
    line-height: 1.5;
  }

  .page-products .tool-index__link:hover,
  .page-products .tool-index__link:focus-visible {
    color: var(--orange);
    border-left-color: var(--orange);
    background: linear-gradient(90deg, rgba(255, 106, 26, 0.12), transparent);
  }

  .page-products .tool-steps {
    position: sticky;
    top: 1.5rem;
    margin-top: 0;
  }

  .page-products .tool-hero::after {
    width: 36%;
  }
}

/* ---------- 无障碍动效降级 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-products .tool-index__link,
  .page-products .plan-table tbody tr {
    transition: none;
  }
}
