.page-products .prod-hero {
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.page-products .prod-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  min-width: 0;
}

@media (min-width: 960px) {
  .page-products .prod-hero__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
    align-items: end;
  }
}

.page-products .prod-hero__lead { min-width: 0; }

.page-products .prod-hero__lead .h-hero {
  margin: 0.7rem 0 1.1rem;
}

.page-products .prod-hero__lead .h-hero em {
  font-style: normal;
  color: var(--lime);
  display: inline-block;
}

.page-products .prod-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.page-products .prod-hero__tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 640px) and (max-width: 959px) {
  .page-products .prod-hero__tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .page-products .prod-hero__tiles {
    gap: 1.1rem;
  }
  .page-products .prod-hero__tiles > *:nth-child(2) {
    margin-right: 1.5rem;
  }
}

.page-products .prod-tile {
  position: relative;
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--console);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-organic);
  overflow: hidden;
  min-width: 0;
}

.page-products .prod-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.page-products .prod-tile--lime::before { background: var(--lime); }
.page-products .prod-tile--blue::before { background: var(--blue); }

.page-products .prod-tile .tag-mono {
  color: rgba(232, 242, 236, 0.6);
}

.page-products .prod-tile__num {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--font-num);
  font-size: clamp(2.4rem, 6vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.page-products .prod-tile--lime .prod-tile__num { color: var(--lime); }
.page-products .prod-tile--blue .prod-tile__num { color: var(--blue); }

.page-products .prod-tile__note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(232, 242, 236, 0.78);
}

/* 模块切换轨 */
.page-products .prod-switch__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.page-products .prod-switch__item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem 1.1rem;
  text-decoration: none;
  color: var(--white);
  background: rgba(232, 242, 236, 0.04);
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--charcoal);
  border-radius: 2px 2px 2px 18px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-products .prod-switch__item:hover,
.page-products .prod-switch__item:focus-visible {
  background: rgba(232, 242, 236, 0.09);
  transform: translateY(-3px);
}

.page-products .prod-switch__item--lime { border-top-color: var(--lime); }
.page-products .prod-switch__item--blue { border-top-color: var(--blue); }
.page-products .prod-switch__item--amber { border-top-color: var(--amber); }
.page-products .prod-switch__item--orange { border-top-color: var(--orange); }

.page-products .prod-switch__idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(232, 242, 236, 0.55);
}

.page-products .prod-switch__name {
  font-size: 1.05rem;
  font-weight: 700;
}

.page-products .prod-switch__desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(232, 242, 236, 0.65);
}

/* 模块通用 */
.page-products .prod-module {
  position: relative;
  border-top: 1px solid var(--line-soft);
}

.page-products .prod-module::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(64px, 12vw, 180px);
  height: 3px;
}

.page-products .prod-module--match { background-image: linear-gradient(150deg, rgba(198, 255, 61, 0.05), rgba(198, 255, 61, 0) 45%); }
.page-products .prod-module--match::before { background: var(--lime); }
.page-products .prod-module--clips { background-image: linear-gradient(150deg, rgba(77, 163, 255, 0.06), rgba(77, 163, 255, 0) 48%); }
.page-products .prod-module--clips::before { background: var(--blue); }
.page-products .prod-module--board { background-image: linear-gradient(150deg, rgba(255, 200, 87, 0.05), rgba(255, 200, 87, 0) 48%); }
.page-products .prod-module--board::before { background: var(--amber); }
.page-products .prod-module--api { background-image: linear-gradient(150deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0) 48%); }
.page-products .prod-module--api::before { background: var(--orange); }

.page-products .prod-module__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-width: 0;
}

@media (min-width: 900px) {
  .page-products .prod-module__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}

.page-products .prod-module__body { min-width: 0; }

.page-products .prod-module__body .eyebrow { display: block; margin-bottom: 0.5rem; }

.page-products .prod-module__body .h-section { margin: 0 0 1rem; }

.page-products .prod-module__body > p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(232, 242, 236, 0.84);
  max-width: 66ch;
}

.page-products .prod-module__head { max-width: 74ch; }
.page-products .prod-module__head .h-section { margin: 0.55rem 0 0.9rem; }

.page-products .prod-points {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.page-products .prod-points li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.8rem 1rem 0.85rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(232, 242, 236, 0.84);
  background: rgba(232, 242, 236, 0.035);
  border-left: 2px solid var(--moss);
  border-radius: 2px 2px 2px 14px;
}

.page-products .prod-module--match .prod-points li { border-left-color: rgba(198, 255, 61, 0.7); }
.page-products .prod-module--api .prod-points li { border-left-color: rgba(255, 107, 53, 0.7); }

.page-products .prod-points__k {
  color: var(--paper);
  font-size: 0.7rem;
  padding-top: 0.22rem;
  white-space: nowrap;
}

/* 图片框 */
.page-products .prod-shot {
  margin: 0;
  min-width: 0;
  background: var(--console);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-organic);
  overflow: hidden;
}

.page-products .prod-shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.page-products .prod-shot__cap {
  padding: 0.7rem 1rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  color: rgba(232, 242, 236, 0.58);
  border-top: 1px solid var(--line-soft);
}

/* 集锦回看 */
.page-products .prod-clips__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 1.9rem;
  min-width: 0;
}

@media (min-width: 960px) {
  .page-products .prod-clips__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.page-products .prod-clips__list {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.page-products .prod-clip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 0.8rem 1rem 0.85rem;
  background: rgba(77, 163, 255, 0.06);
  border-left: 2px solid rgba(77, 163, 255, 0.45);
  border-radius: 2px 2px 2px 14px;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.page-products .prod-clip:hover,
.page-products .prod-clip:focus-within {
  background: rgba(77, 163, 255, 0.14);
  border-left-color: var(--blue);
  transform: translateX(5px);
}

.page-products .prod-clip__stage {
  color: var(--blue);
  font-size: 0.7rem;
  white-space: nowrap;
}

.page-products .prod-clip__title {
  margin: 0;
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
}

.page-products .prod-clip__dur {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(232, 242, 236, 0.5);
  transition: color 0.22s ease;
}

.page-products .prod-clip:hover .prod-clip__dur { color: var(--blue); }

@media (max-width: 560px) {
  .page-products .prod-clip {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
  }
  .page-products .prod-clip__title {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

/* 数据看板 */
.page-products .prod-board {
  margin-top: 1.9rem;
  padding: clamp(1.1rem, 3vw, 1.8rem);
  background: var(--console);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-organic);
  min-width: 0;
}

.page-products .prod-board__filters {
  display: grid;
  gap: 0.85rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .prod-filter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.45rem;
  align-items: center;
}

@media (min-width: 700px) {
  .page-products .prod-filter {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem;
  }
}

.page-products .prod-filter__label {
  color: var(--lime);
  font-size: 0.7rem;
}

.page-products .prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.page-products .prod-chip {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.66rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: rgba(232, 242, 236, 0.7);
  background: rgba(232, 242, 236, 0.03);
}

.page-products .prod-chip--on {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  font-weight: 700;
}

.page-products .prod-board__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

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

.page-products .prod-metric {
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(232, 242, 236, 0.04);
  border-top: 2px solid var(--moss);
  border-radius: 2px 2px 2px 16px;
  min-width: 0;
}

.page-products .prod-metric--lime { border-top-color: var(--lime); }
.page-products .prod-metric--amber { border-top-color: var(--amber); }
.page-products .prod-metric--blue { border-top-color: var(--blue); }

.page-products .prod-metric .tag-mono { color: rgba(232, 242, 236, 0.55); }

.page-products .prod-metric__num {
  margin: 0.4rem 0 0.5rem;
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--lime);
}

.page-products .prod-metric--amber .prod-metric__num { color: var(--amber); }
.page-products .prod-metric--blue .prod-metric__num { color: var(--blue); }

.page-products .prod-metric__note {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.65;
  color: rgba(232, 242, 236, 0.7);
}

.page-products .prod-board__shot { margin-top: 1.4rem; }

/* 接口模块（图文换位） */
@media (min-width: 900px) {
  .page-products .prod-module__grid--rev .prod-module__body { order: 2; }
  .page-products .prod-module__grid--rev .prod-shot { order: 1; }
}

/* 适用场景 */
.page-products .prod-scenes__head { max-width: 62ch; }
.page-products .prod-scenes__head .h-section { margin: 0.55rem 0 0; }

.page-products .prod-scenes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
  min-width: 0;
}

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

@media (min-width: 1024px) {
  .page-products .prod-scenes__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    padding-bottom: 1.6rem;
  }
  .page-products .prod-scene:nth-child(even) {
    transform: translateY(1.6rem);
  }
}

.page-products .prod-scene {
  padding: 1.3rem 1.2rem 1.4rem;
  background: linear-gradient(165deg, rgba(232, 242, 236, 0.065), rgba(232, 242, 236, 0.015));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-organic);
  min-width: 0;
}

.page-products .prod-scene__mark {
  display: block;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  margin-bottom: 0.95rem;
}

.page-products .prod-scene--lime .prod-scene__mark { background: var(--lime); }
.page-products .prod-scene--orange .prod-scene__mark { background: var(--orange); }
.page-products .prod-scene--blue .prod-scene__mark { background: var(--blue); }
.page-products .prod-scene--amber .prod-scene__mark { background: var(--amber); }

.page-products .prod-scene__title {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
}

.page-products .prod-scene p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(232, 242, 236, 0.76);
}

/* 服务流程 */
.page-products .prod-flow__head { max-width: 72ch; }
.page-products .prod-flow__head .h-section { margin: 0.55rem 0 0.9rem; }

.page-products .prod-flow__steps {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 800px) {
  .page-products .prod-flow__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.page-products .prod-flow__step {
  position: relative;
  padding: 1.35rem 1.15rem 1.3rem;
  border-top: 2px solid var(--moss);
  min-width: 0;
  transition: background 0.25s ease;
}

.page-products .prod-flow__step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(11, 31, 22, 0.9);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.page-products .prod-flow__step:hover {
  background: rgba(198, 255, 61, 0.05);
}

.page-products .prod-flow__step:hover::before {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(11, 31, 22, 0.9), 0 0 14px rgba(198, 255, 61, 0.6);
}

.page-products .prod-flow__idx {
  display: block;
  color: rgba(232, 242, 236, 0.5);
  font-size: 0.68rem;
}

.page-products .prod-flow__title {
  margin: 0.5rem 0 0.55rem;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
}

.page-products .prod-flow__step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: rgba(232, 242, 236, 0.74);
}

.page-products .prod-flow__shot { margin-top: clamp(1.8rem, 4vw, 2.6rem); }

/* 收尾 */
.page-products .prod-cta__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  background: linear-gradient(140deg, rgba(198, 255, 61, 0.1), rgba(77, 163, 255, 0.06) 55%, rgba(11, 31, 22, 0));
  border: 1px solid var(--line-soft);
  border-radius: 4px 4px 4px 34px;
  min-width: 0;
}

@media (min-width: 900px) {
  .page-products .prod-cta__panel {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.page-products .prod-cta__body { min-width: 0; }
.page-products .prod-cta__body .h-section { margin: 0.5rem 0 0.9rem; }

.page-products .prod-cta__body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.78;
  color: rgba(232, 242, 236, 0.82);
  max-width: 62ch;
}

.page-products .prod-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: start;
}

@media (min-width: 900px) {
  .page-products .prod-cta__actions {
    justify-content: flex-end;
  }
}

/* 锚点定位补偿 */
.page-products #prod-switch,
.page-products #module-match,
.page-products #module-clips,
.page-products #module-board,
.page-products #module-api {
  scroll-margin-top: 6rem;
}
