.page-products {
  --tool-gap: clamp(18px, 2.5vw, 30px);
  background: var(--ink-900);
  color: var(--paper);
}

.page-products .breadcrumb {
  padding-block: 18px 6px;
}

/* ---------- 首屏 ---------- */
.page-products .console-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(26px, 4.5vw, 52px) clamp(34px, 5.5vw, 68px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(53, 232, 200, 0.13), transparent 58%),
    radial-gradient(90% 70% at 0% 100%, rgba(255, 122, 26, 0.1), transparent 62%);
}

.page-products .console-hero::after {
  content: "";
  position: absolute;
  left: 52%;
  right: -14%;
  bottom: -30%;
  height: 180px;
  background: var(--ink-700);
  transform: rotate(-8deg);
  opacity: 0.55;
  pointer-events: none;
}

.page-products .console-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

.page-products .console-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  text-wrap: balance;
}

.page-products .console-hero__intro {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--paper);
  opacity: 0.88;
}

.page-products .console-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- 首屏工具索引 ---------- */
.page-products .console-index {
  border: 2px solid var(--line);
  background: var(--ink-800);
  box-shadow: var(--shadow-hard);
  padding: clamp(16px, 2.2vw, 24px);
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-products .console-index__title {
  color: var(--mist);
  margin: 0 0 4px;
}

.page-products .console-index__item {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  color: var(--paper);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.page-products .console-index__item:nth-of-type(1) { width: 92%; }
.page-products .console-index__item:nth-of-type(2) { width: 100%; }
.page-products .console-index__item:nth-of-type(3) { width: 96%; }
.page-products .console-index__item:nth-of-type(4) { width: 86%; }

.page-products .console-index__item:hover,
.page-products .console-index__item:focus-visible {
  transform: translateY(-2px);
  border-left-color: var(--orange);
  background: var(--ink-700);
}

.page-products .console-index__tag {
  color: var(--cyan);
}

.page-products .console-index__name {
  font-weight: 700;
  font-size: 16px;
}

.page-products .console-index__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 章节骨架 ---------- */
.page-products .tool-block {
  padding-block: clamp(44px, 7vw, 84px);
  border-top: 1px solid var(--line);
}

.page-products .tool-block--feed {
  background: var(--ink-800);
}

.page-products .tool-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 24px);
  align-items: start;
  margin-bottom: clamp(24px, 3.4vw, 42px);
}

.page-products .tool-head .chapter-num {
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1;
  color: var(--cyan);
  opacity: 0.9;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--orange);
}

.page-products .t-h2 {
  margin: 0;
  font-size: clamp(22px, 3.1vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.page-products .tool-head__lead {
  margin: 14px 0 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 图片 ---------- */
.page-products .tool-figure,
.page-products .feed-side,
.page-products .channel-figure,
.page-products .record-figure {
  margin: 0 0 clamp(22px, 3vw, 36px);
  border: 2px solid var(--line);
  background: var(--ink-900);
  box-shadow: var(--shadow-hard);
}

.page-products .tool-figure img,
.page-products .feed-side img,
.page-products .channel-figure img,
.page-products .record-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .tool-figure__cap {
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
  border-top: 1px solid var(--line);
  background: var(--ink-800);
}

/* ---------- 卡片 ---------- */
.page-products .feature-row,
.page-products .brief-row {
  display: grid;
  gap: var(--tool-gap);
}

.page-products .tool-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px 28px;
  border: 2px solid var(--line);
  background: var(--ink-800);
  box-shadow: var(--shadow-hard);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.page-products .tool-block--feed .tool-card {
  background: var(--ink-900);
}

.page-products .tool-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.page-products .tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-deep);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.page-products .tool-card:hover::after,
.page-products .tool-card:focus-within::after {
  transform: scaleX(1);
}

.page-products .tool-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
}

.page-products .tool-card__text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .brief-card__tag {
  margin: 0 0 8px;
  color: var(--orange);
}

/* ---------- 场景动线 ---------- */
.page-products .scene-note {
  margin-top: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 2.6vw, 28px);
  border-left: 6px solid var(--orange);
  background: var(--ink-700);
}

.page-products .scene-note__label {
  margin: 0 0 12px;
  color: var(--paper);
}

.page-products .scene-note__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.page-products .scene-note__list li::marker {
  color: var(--cyan);
  font-family: var(--font-mono);
}

/* ---------- 比分链路 ---------- */
.page-products .feed-layout {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-products .feed-side {
  margin-bottom: 0;
}

.page-products .feed-side img {
  max-height: 460px;
}

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

.page-products .chain__step {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--ink-900);
  border: 2px solid var(--line);
  border-top: 3px solid var(--cyan);
}

.page-products .chain__step:nth-child(2) {
  border-top-color: var(--orange);
}

.page-products .chain__idx {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.page-products .chain__title {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-products .chain__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .feed-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
  border: 1px dashed var(--line);
  background: rgba(53, 232, 200, 0.06);
}

/* ---------- 为什么短 ---------- */
.page-products .why-short {
  margin-top: clamp(24px, 3.2vw, 38px);
  max-width: 40em;
}

.page-products .why-short .t-h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.page-products .why-short p {
  margin: 12px 0 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .text-link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 2px solid var(--cyan-deep);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .text-link:hover,
.page-products .text-link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 使用记录 ---------- */
.page-products .record-layout {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-products .record-figure {
  margin-bottom: 0;
}

.page-products .record-detail {
  border: 2px solid var(--line);
  background: var(--ink-800);
  margin-bottom: 12px;
}

.page-products .record-detail > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}

.page-products .record-detail > summary::-webkit-details-marker {
  display: none;
}

.page-products .record-detail > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--cyan);
}

.page-products .record-detail[open] > summary::after {
  content: "–";
  color: var(--orange);
}

.page-products .record-detail > p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 通道对比 ---------- */
.page-products .channel-figure {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.page-products .channel-wrap {
  overflow-x: auto;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-hard);
  background: var(--ink-900);
}

.page-products .channel-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 15px;
}

.page-products .channel-table__cap {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-family: var(--font-mono);
  color: var(--mist);
  background: var(--ink-700);
}

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

.page-products .channel-table thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--mist);
  background: var(--ink-800);
  white-space: nowrap;
}

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

.page-products .channel-table tbody td {
  color: var(--mist);
}

.page-products .channel-table tbody tr.is-recommended th {
  border-left: 4px solid var(--cyan);
}

.page-products .channel-table tbody tr.is-alternate th {
  border-left: 4px solid var(--orange);
}

.page-products .channel-table tbody tr.is-recommended {
  background: rgba(53, 232, 200, 0.06);
}

.page-products .channel-table tbody tr:hover {
  background: var(--ink-700);
}

.page-products .channel-table tbody tr:hover td {
  color: var(--paper);
}

.page-products .channel-foot {
  margin: 22px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper);
}

/* ---------- 一日动线 ---------- */
.page-products .day-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.page-products .day-flow__step {
  padding-top: 14px;
  border-top: 3px solid var(--cyan);
}

.page-products .day-flow__step:nth-child(even) {
  border-top-color: var(--orange);
}

.page-products .day-flow__time {
  color: var(--mist);
}

.page-products .day-flow__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

/* ---------- 结尾 ---------- */
.page-products .tool-cta {
  margin-top: clamp(28px, 4vw, 46px);
  padding: clamp(22px, 3.2vw, 36px);
  display: grid;
  gap: 20px;
  border: 2px solid var(--line);
  background: linear-gradient(120deg, var(--ink-700), var(--ink-800) 70%);
  box-shadow: var(--shadow-hard);
}

.page-products .tool-cta .t-h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-products .tool-cta p {
  margin: 10px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
}

.page-products .tool-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-products .tool-foot-note {
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 响应式 ---------- */
@media (min-width: 768px) {
  .page-products .feature-row,
  .page-products .brief-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .day-flow {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }
}

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

  .page-products .feature-row {
    grid-template-columns: 3fr 5fr 4fr;
    align-items: start;
  }

  .page-products .feature-row > :nth-child(2) {
    margin-top: 20px;
  }

  .page-products .feature-row > :nth-child(3) {
    margin-top: 8px;
  }

  .page-products .feed-layout {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-products .feed-side img {
    max-height: none;
  }

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

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

@media (max-width: 520px) {
  .page-products .console-index__item:nth-of-type(1),
  .page-products .console-index__item:nth-of-type(2),
  .page-products .console-index__item:nth-of-type(3),
  .page-products .console-index__item:nth-of-type(4) {
    width: 100%;
  }

  .page-products .tool-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .page-products .tool-head .chapter-num {
    font-size: 22px;
    border-bottom-width: 2px;
    justify-self: start;
  }

  .page-products .console-hero h1 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .console-index__item:hover,
  .page-products .tool-card:hover {
    transform: none;
  }

  .page-products .tool-card::after {
    transition: none;
  }
}
