.page-products {
  --pt-gap: clamp(1rem, 2.2vw, 1.75rem);
  --pt-panel: rgba(16, 30, 56, 0.72);
  --pt-card-bg: linear-gradient(158deg, rgba(23, 42, 74, 0.94), rgba(10, 20, 40, 0.9));
  --pt-hairline: rgba(215, 227, 244, 0.12);
  display: block;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow-x: clip;
}

/* ---------- 面包屑 ---------- */
.page-products > .breadcrumb {
  width: min(var(--shell), 100% - 2.5rem);
  margin: 1.4rem auto 0;
}

/* ---------- 首屏 ---------- */
.page-products .tools-hero {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: clamp(2rem, 5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  border-block: 1px solid var(--line-soft);
  background:
    radial-gradient(90% 120% at 88% 2%, rgba(45, 226, 230, 0.2), transparent 62%),
    radial-gradient(70% 90% at 2% 98%, rgba(255, 107, 53, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
}

.page-products .tools-hero-inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: end;
}

.page-products .tools-hero h1 {
  margin: 0.7rem 0 1rem;
  font-family: var(--font-head);
  font-size: clamp(2rem, 6.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0.035em;
  color: var(--white);
  text-wrap: balance;
}

.page-products .tools-hero-copy .lead {
  max-width: 56ch;
  color: var(--steel);
}

.page-products .tools-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.page-products .hero-pulse {
  position: absolute;
  right: -8%;
  bottom: -28%;
  width: min(620px, 66%);
  opacity: 0.55;
  pointer-events: none;
}

/* 设备索引栏 */
.page-products .device-rail {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--pt-panel);
  padding: 1.1rem 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.page-products .device-rail-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-products .device-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
}

.page-products .device-rail a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--steel);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.page-products .device-rail a:hover,
.page-products .device-rail a:focus-visible {
  background: rgba(45, 226, 230, 0.08);
  border-color: var(--line-cyan);
  color: var(--white);
}

.page-products .device-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .device-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(215, 227, 244, 0.66);
}

/* ---------- 章节通用 ---------- */
.page-products .section {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.page-products .section-intro {
  max-width: 62ch;
  margin: 0.9rem 0 0;
  color: var(--steel);
  line-height: 1.75;
}

.page-products .section-title {
  text-wrap: balance;
}

/* ---------- 工具矩阵 ---------- */
.page-products .tool-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pt-gap);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
  border: 1px solid var(--pt-hairline);
  border-radius: var(--radius-lg);
  background: var(--pt-card-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 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(--cyan), rgba(45, 226, 230, 0) 72%);
  opacity: 0.55;
}

.page-products .tool-card--legacy::before {
  background: linear-gradient(90deg, var(--orange), rgba(255, 107, 53, 0) 72%);
  opacity: 0.8;
}

.page-products .tool-card:hover,
.page-products .tool-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
  box-shadow: 0 30px 56px -34px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(45, 226, 230, 0.22);
}

.page-products .tool-no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-products .tool-name {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .tool-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.72;
}

.page-products .tool-use {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: rgba(156, 247, 242, 0.82);
}

.page-products .tool-link {
  margin-top: auto;
  padding-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.page-products .tool-link:hover,
.page-products .tool-link:focus-visible {
  color: var(--cyan-soft);
  border-bottom-color: var(--cyan-soft);
}

/* ---------- 图文分栏 ---------- */
.page-products .split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.page-products .split-copy p {
  color: var(--steel);
  line-height: 1.78;
}

.page-products .split-copy .btn {
  margin-top: 1.4rem;
}

.page-products .pt-figure {
  margin: 0;
}

.page-products .pt-figure .figure-media {
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: linear-gradient(150deg, rgba(45, 226, 230, 0.12), rgba(16, 30, 56, 0.6));
}

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

.page-products .pt-figure .figure-caption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: rgba(215, 227, 244, 0.62);
}

/* 要点列表 */
.page-products .point-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.page-products .point-list li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line-cyan);
}

.page-products .point-key {
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-products .point-text {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--steel);
}

/* ---------- 场馆字段表 ---------- */
.page-products .venue-fields {
  margin: 1.6rem 0 0;
  display: grid;
  gap: 1px;
  border: 1px solid var(--pt-hairline);
  border-radius: var(--radius-md);
  background: var(--pt-hairline);
  overflow: hidden;
}

.page-products .venue-fields > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  background: rgba(10, 20, 40, 0.86);
}

.page-products .venue-fields dt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .venue-fields dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.66;
  color: var(--steel);
}

/* ---------- 赛区地图 ---------- */
.page-products .region-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .region-figure {
  position: relative;
  margin: 0;
}

.page-products .region-figure .figure-media {
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(45, 226, 230, 0.14), rgba(255, 107, 53, 0.08));
}

.page-products .region-figure .figure-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(200deg, rgba(5, 10, 24, 0) 45%, rgba(5, 10, 24, 0.72));
  pointer-events: none;
}

.page-products .hotspot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 7px rgba(45, 226, 230, 0.16);
  cursor: default;
}

.page-products .hotspot--a {
  left: 26%;
  top: 42%;
}

.page-products .hotspot--b {
  left: 58%;
  top: 56%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(255, 107, 53, 0.18);
}

.page-products .hotspot--c {
  left: 78%;
  top: 30%;
}

.page-products .hotspot-tip {
  position: absolute;
  left: 50%;
  bottom: 160%;
  transform: translate(-50%, 6px);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-cyan);
  background: rgba(5, 10, 24, 0.94);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--cyan-soft);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.page-products .hotspot:hover .hotspot-tip,
.page-products .hotspot:focus-visible .hotspot-tip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-products .hotspot:focus-visible {
  outline: 2px solid var(--cyan-soft);
  outline-offset: 4px;
}

.page-products .region-side-title {
  margin: 0 0 1.1rem;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .region-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.page-products .region-list li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--pt-hairline);
  border-radius: var(--radius-md);
  background: var(--pt-panel);
}

.page-products .region-name {
  margin: 0 0 0.3rem;
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-products .region-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 收藏与入口 ---------- */
.page-products .handy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pt-gap);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .handy-stack {
  display: grid;
  gap: var(--pt-gap);
  align-content: start;
}

.page-products .handy-card {
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
  border: 1px solid var(--pt-hairline);
  border-radius: var(--radius-lg);
  background: var(--pt-card-bg);
  box-shadow: var(--shadow-card);
}

.page-products .handy-card--legacy {
  border-color: rgba(255, 107, 53, 0.4);
}

.page-products .handy-no {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-products .handy-card h3 {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  letter-spacing: 0.02em;
  color: var(--white);
}

.page-products .handy-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.74;
  color: var(--steel);
}

.page-products .legacy-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.page-products .legacy-path {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--orange-soft);
  padding: 0.35rem 0.65rem;
  border: 1px dashed rgba(255, 107, 53, 0.5);
  border-radius: var(--radius-sm);
}

.page-products .handy-figure {
  margin: 0;
}

/* ---------- 设备建议 ---------- */
.page-products .fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pt-gap);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.page-products .fit-card {
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--pt-hairline);
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(23, 42, 74, 0.7), rgba(10, 20, 40, 0.88));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-products .fit-card:hover {
  border-color: var(--line-cyan);
  transform: translateY(-3px);
}

.page-products .fit-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--cyan-soft);
}

.page-products .fit-body {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--steel);
}

.page-products .fit-tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 160, 107, 0.9);
}

.page-products .fit-figure {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}

.page-products .fit-cta {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line-cyan);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 4% 0%, rgba(45, 226, 230, 0.16), transparent 58%),
    linear-gradient(160deg, rgba(23, 42, 74, 0.9), rgba(10, 20, 40, 0.92));
}

.page-products .fit-cta p {
  margin: 0;
  max-width: 66ch;
  color: var(--steel);
  line-height: 1.76;
}

.page-products .fit-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .venue-fields > div {
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: baseline;
  }
}

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

  .page-products .tool-card--login,
  .page-products .tool-card--legacy {
    grid-column: span 2;
  }

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

@media (min-width: 900px) {
  .page-products .handy-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 940px) {
  .page-products .split-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-products .split-layout--flip .split-media {
    order: 2;
  }

  .page-products .pt-figure--tall {
    align-self: stretch;
  }
}

@media (min-width: 960px) {
  .page-products .tools-hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 300px);
  }
}

@media (min-width: 980px) {
  .page-products .region-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
  }
}

@media (min-width: 1040px) {
  .page-products .tool-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .page-products .tool-card--login,
  .page-products .tool-card--region {
    grid-column: span 3;
  }

  .page-products .tool-card--venue,
  .page-products .tool-card--favorite,
  .page-products .tool-card--alert {
    grid-column: span 2;
  }

  .page-products .tool-card--legacy {
    grid-column: span 6;
  }

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

@media (max-width: 720px) {
  .page-products .hero-pulse {
    display: none;
  }

  .page-products .hotspot-tip {
    white-space: normal;
    width: max-content;
    max-width: 12rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .tool-card,
  .page-products .fit-card,
  .page-products .hotspot-tip,
  .page-products .device-rail a {
    transition: none;
  }

  .page-products .tool-card:hover,
  .page-products .fit-card:hover {
    transform: none;
  }
}
