.page-products {
  --wp-gap: clamp(14px, 1.6vw, 22px);
  --wp-block: clamp(46px, 6vw, 88px);
  padding-block: clamp(24px, 3.4vw, 44px) clamp(64px, 9vw, 120px);
  background:
    radial-gradient(110% 55% at 88% -6%, rgba(215, 255, 60, 0.07), transparent 62%),
    radial-gradient(80% 45% at 4% 8%, rgba(14, 32, 51, 0.85), transparent 68%),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-products .crumb {
  margin-bottom: clamp(16px, 2.2vw, 28px);
}

/* ---------- 首屏 ---------- */
.page-products .tools-hero {
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
  align-items: end;
  margin-bottom: clamp(22px, 3vw, 38px);
}

@media (min-width: 960px) {
  .page-products .tools-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: clamp(28px, 3.6vw, 56px);
  }
}

.page-products .tools-hero__lede {
  margin: clamp(14px, 1.8vw, 20px) 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: rgba(234, 243, 236, 0.8);
}

.page-products .tools-hero__cta {
  margin-top: clamp(16px, 2vw, 24px);
}

.page-products .tools-hero__panel {
  padding: clamp(16px, 1.8vw, 24px);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-products .tools-hero__panel-cap {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-products .tools-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.page-products .mini-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.page-products .mini-stat .num {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  font-weight: 700;
}

.page-products .mini-stat__cap {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 横幅 ---------- */
.page-products .media-frame {
  position: relative;
  display: block;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.page-products .media-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.page-products .tools-banner {
  aspect-ratio: 16 / 7;
  margin-bottom: clamp(44px, 6vw, 84px);
}

/* ---------- 卡片墙 ---------- */
.page-products .tool-wall {
  margin-bottom: var(--wp-block);
}

.page-products .tool-wall__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wp-gap);
}

@media (min-width: 640px) {
  .page-products .tool-wall__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
  }
  .page-products .tool-card {
    grid-column: span 2;
  }
  .page-products .tool-card--wide {
    grid-column: span 4;
  }
  .page-products .tool-card:nth-child(4) {
    margin-top: clamp(0px, 2.2vw, 32px);
  }
  .page-products .tool-card:nth-child(5) {
    margin-top: clamp(0px, 1vw, 15px);
  }
}

.page-products .tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(20, 44, 36, 0.74), rgba(11, 28, 20, 0.92));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products .tool-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent 72%);
  opacity: 0.34;
  transition: opacity 0.3s ease;
}

.page-products .tool-card:hover {
  border-color: var(--edge);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px -30px rgba(215, 255, 60, 0.7);
}

.page-products .tool-card:hover::before {
  opacity: 0.9;
}

.page-products .tool-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  transform-origin: left bottom;
  transition: transform 0.3s ease;
}

.page-products .tool-card:hover .tool-card__num {
  transform: scale(1.05);
}

.page-products .tool-card__unit {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime-dim);
}

.page-products .tool-card__title {
  margin: 8px 0 0;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-products .tool-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-products .tool-card__link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--edge-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lime);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-products .tool-card__link:hover {
  color: #ffffff;
}

/* ---------- 通用区块 ---------- */
.page-products .tool-section {
  margin-bottom: var(--wp-block);
}

.page-products .tool-section:last-of-type {
  margin-bottom: 0;
}

.page-products .tool-section .section-head {
  margin-bottom: clamp(20px, 2.8vw, 38px);
}

.page-products .tool-section--alt {
  padding: clamp(24px, 3.4vw, 50px);
  border: 1px solid var(--edge-soft);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(155deg, rgba(14, 32, 51, 0.92), rgba(8, 22, 15, 0.72));
}

.page-products .split {
  display: grid;
  gap: clamp(20px, 2.6vw, 40px);
  align-items: start;
}

@media (min-width: 880px) {
  .page-products .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 3.6vw, 56px);
  }
  .page-products .split--rev .split__media {
    order: 2;
  }
  .page-products .split--rev .split__body {
    order: 1;
  }
}

.page-products .split__media {
  aspect-ratio: 8 / 5;
}

.page-products .split__body {
  min-width: 0;
}

.page-products .split__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(234, 243, 236, 0.82);
}

.page-products .split__body p:last-child {
  margin-bottom: 0;
}

.page-products .sub-head {
  margin: 24px 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lime-dim);
}

/* ---------- 列字段 ---------- */
.page-products .field-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .field-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--edge-soft);
  border-radius: 999px;
  background: rgba(20, 44, 36, 0.6);
  font-size: 13px;
  color: var(--paper);
}

.page-products .field-strip__idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

/* ---------- 周期条 ---------- */
.page-products .cycle-rail {
  margin-bottom: clamp(28px, 3.6vw, 48px);
  padding: 6px 0 4px;
}

.page-products .cycle-rail__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .cycle-rail__list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(159, 191, 42, 0.9), var(--lime));
  opacity: 0.55;
}

.page-products .cycle-rail__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.page-products .cycle-rail__dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--lime-dim);
}

.page-products .cycle-rail__step:last-child .cycle-rail__dot {
  border-color: var(--lime);
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(215, 255, 60, 0.16);
}

.page-products .cycle-rail__lab {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.page-products .cycle-rail__step:last-child .cycle-rail__lab {
  color: var(--lime);
}

@media (max-width: 480px) {
  .page-products .cycle-rail__list {
    gap: 2px;
  }
  .page-products .cycle-rail__lab {
    font-size: 9px;
    letter-spacing: 0;
  }
}

/* ---------- 费用条目 ---------- */
.page-products .fee-list {
  display: grid;
  gap: 1px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: var(--edge-soft);
  overflow: hidden;
}

.page-products .fee-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 13px 15px;
  background: rgba(8, 22, 15, 0.74);
}

.page-products .fee-list__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--lime-dim);
}

.page-products .fee-list__v {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
}

/* ---------- 净胜球对比条 ---------- */
.page-products .goal-visual {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.page-products .goal-visual__row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.page-products .goal-visual__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .goal-visual__track {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: rgba(234, 243, 236, 0.08);
  overflow: hidden;
}

.page-products .goal-visual__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.page-products .goal-visual__fill--a {
  width: 86%;
  background: linear-gradient(90deg, rgba(159, 191, 42, 0.8), rgba(159, 191, 42, 0.26));
}

.page-products .goal-visual__fill--b {
  width: 62%;
  background: linear-gradient(90deg, var(--lime), rgba(215, 255, 60, 0.32));
  box-shadow: 0 0 20px rgba(215, 255, 60, 0.42);
}

/* ---------- 时间轴 ---------- */
.page-products .timeline-wrap {
  padding: clamp(16px, 2.4vw, 34px);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(14, 32, 51, 0.72), rgba(8, 22, 15, 0.5));
  overflow-x: auto;
}

.page-products .sched-svg {
  display: block;
  width: 100%;
  min-width: 600px;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
}

.page-products .sched-lab {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  fill: var(--muted);
}

.page-products .sched-lab--lime {
  fill: var(--lime);
}

.page-products .sched-lab--flame {
  fill: var(--flame);
}

.page-products .timeline-note {
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  max-width: 74ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(234, 243, 236, 0.78);
}

/* ---------- 使用路径 ---------- */
.page-products .path-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--wp-gap);
}

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

.page-products .path-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(43, 31, 58, 0.6), rgba(8, 22, 15, 0.86));
}

.page-products .path-card__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--lime);
}

.page-products .path-card__title {
  margin: 0;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 800;
  color: var(--paper);
}

.page-products .path-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .path-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: auto 0 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--edge-soft);
}

/* ---------- 继续了解 ---------- */
.page-products .next-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: var(--wp-block);
}

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

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

.page-products .next-links__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius);
  background: rgba(20, 44, 36, 0.42);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.page-products .next-links__item:hover {
  border-color: var(--edge);
  background: rgba(20, 44, 36, 0.78);
  transform: translateY(-2px);
}

.page-products .next-links__k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--lime);
}

.page-products .next-links__v {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .tool-card,
  .page-products .tool-card__num,
  .page-products .next-links__item {
    transition: none;
  }
  .page-products .tool-card:hover,
  .page-products .tool-card:hover .tool-card__num,
  .page-products .next-links__item:hover {
    transform: none;
  }
}
