.page-products {
  --pp-cut: 22px;
  --pp-gap: 26px;
  --pp-edge: rgba(53, 255, 139, .18);
}

/* ---------- 首屏 ---------- */
.page-products .hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 56px;
  isolation: isolate;
}

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

.page-products .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .2;
  filter: saturate(1.15) contrast(1.05);
}

.page-products .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(165deg, rgba(6, 22, 51, .4) 0%, rgba(6, 22, 51, .9) 62%, var(--ink) 100%);
}

.page-products .hero__inner {
  position: relative;
}

.page-products .hero .crumbs {
  margin-bottom: 28px;
}

.page-products .hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--white);
  transform: skewX(-3deg);
  text-shadow: 1px 0 0 var(--neon), -1px 0 0 var(--neon);
  max-width: 18ch;
}

.page-products .hero__lede {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .hero__index {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.page-products .hero__index a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "num name"
    "num desc";
  column-gap: 14px;
  align-items: start;
  padding: 16px 20px 16px 16px;
  background: rgba(14, 36, 80, .74);
  border: 1px solid var(--steel);
  border-left: 2px solid var(--neon);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  text-decoration: none;
  color: var(--white);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.page-products .hero__index a:hover,
.page-products .hero__index a:focus-visible {
  transform: translateY(-4px);
  background: rgba(14, 36, 80, .96);
  border-color: var(--neon);
}

.page-products .hero__index-num {
  grid-area: num;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--neon);
  letter-spacing: .04em;
}

.page-products .hero__index-name {
  grid-area: name;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.page-products .hero__index-desc {
  grid-area: desc;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 栏目面板 ---------- */
.page-products .column-panel {
  position: relative;
  margin-top: var(--pp-gap);
  padding: 26px 20px 32px;
  display: grid;
  gap: 26px;
  background:
    linear-gradient(152deg, rgba(29, 50, 96, .62) 0%, rgba(14, 36, 80, .96) 60%, rgba(6, 22, 51, .98) 100%);
  border: 1px solid var(--steel);
}

.page-products .column-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), transparent);
}

.page-products .column-panel--cut-bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--pp-cut) 100%, 0 calc(100% - var(--pp-cut)));
}

.page-products .column-panel--cut-tr {
  clip-path: polygon(0 0, calc(100% - var(--pp-cut)) 0, 100% var(--pp-cut), 100% 100%, 0 100%);
}

.page-products .column-panel--cut-tl {
  clip-path: polygon(var(--pp-cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--pp-cut));
}

.page-products .column-panel--cut-br {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pp-cut)), calc(100% - var(--pp-cut)) 100%, 0 100%);
}

.page-products .column-panel--cut-tr::before { left: auto; right: 0; background: linear-gradient(270deg, var(--violet), transparent); }
.page-products .column-panel--cut-tl::before { background: linear-gradient(90deg, var(--orange), transparent); }
.page-products .column-panel--cut-br::before { left: auto; right: 0; background: linear-gradient(270deg, var(--gold), transparent); }

.page-products .column-panel__media {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-products .column-panel__media .frame {
  width: 100%;
}

.page-products .column-panel__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .column-panel__body {
  min-width: 0;
}

.page-products .column-panel__title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.6vw, 36px);
  line-height: 1.16;
  color: var(--white);
  letter-spacing: -.005em;
}

.page-products .column-panel__sub {
  margin: 8px 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--neon);
  letter-spacing: .01em;
}

.page-products .column-panel__cut-tr .column-panel__sub { color: var(--violet); }
.page-products .column-panel--cut-tl .column-panel__sub { color: var(--orange); }
.page-products .column-panel--cut-br .column-panel__sub { color: var(--gold); }

.page-products .column-panel__body p {
  margin: 0 0 15px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

.page-products .column-panel__cue {
  margin: 20px 0 0 !important;
  padding: 14px 16px;
  border-left: 2px solid var(--neon);
  background: rgba(53, 255, 139, .06);
  color: var(--white) !important;
  font-size: 15.5px !important;
  line-height: 1.72 !important;
}

.page-products .column-panel__cue .mono {
  display: inline-block;
  margin-right: 10px;
  padding: 2px 8px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--ink);
  background: var(--neon);
}

.page-products .feature-list,
.page-products .metric-list,
.page-products .rank-views {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--white);
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--neon);
}

/* ---------- 状态标签 ---------- */
.page-products .status-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .status-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid currentColor;
  cursor: default;
  transition: transform .2s ease, background .2s ease;
}

.page-products .status-legend__item:hover,
.page-products .status-legend__item:focus-visible {
  transform: translateY(-2px);
}

.page-products .status-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.page-products .status-legend__item--ok { color: var(--neon); background: rgba(53, 255, 139, .1); }
.page-products .status-legend__item--doubt { color: var(--gold); background: rgba(255, 210, 74, .1); }
.page-products .status-legend__item--out { color: var(--orange); background: rgba(255, 122, 51, .12); }
.page-products .status-legend__item--ban { color: #FF5F7E; background: rgba(255, 95, 126, .12); }

/* ---------- 案例瀑布流示意 ---------- */
.page-products .case-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px;
}

.page-products .case-flow span {
  flex: 0 0 calc(33.333% - 6px);
  border: 1px solid var(--steel);
  background: linear-gradient(160deg, rgba(155, 107, 255, .38), rgba(29, 50, 96, .6));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%);
}

.page-products .case-flow span:nth-child(3n+1) { height: 74px; }
.page-products .case-flow span:nth-child(3n+2) { height: 52px; background: linear-gradient(160deg, rgba(53, 255, 139, .26), rgba(29, 50, 96, .6)); }
.page-products .case-flow span:nth-child(3n) { height: 92px; }

/* ---------- 两步操作 ---------- */
.page-products .steps {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .steps__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(6, 22, 51, .7);
  border: 1px solid var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: border-color .25s ease, background .25s ease;
}

.page-products .steps__item:hover {
  border-color: var(--orange);
  background: rgba(255, 122, 51, .08);
}

.page-products .steps__num {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  letter-spacing: .06em;
}

.page-products .steps__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.page-products .steps__item::after {
  content: "";
  position: absolute;
  left: 27px;
  bottom: -11px;
  width: 2px;
  height: 10px;
  background: var(--steel);
}

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

/* ---------- 排名视图列表 ---------- */
.page-products .rank-views li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--steel);
  border-left: 2px solid var(--orange);
  background: rgba(6, 22, 51, .55);
}

.page-products .rank-views__key {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-products .rank-views__val {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 三项指标 ---------- */
.page-products .metric-list li {
  display: grid;
  gap: 3px;
  padding: 12px 0 12px 16px;
  border-left: 2px solid var(--gold);
}

.page-products .metric-list__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--white);
}

.page-products .metric-list__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mist);
}

/* ---------- 组合用法 ---------- */
.page-products .combo {
  margin-top: 52px;
  padding: 32px 20px 36px;
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(53, 255, 139, .12) 0%, transparent 62%),
    linear-gradient(150deg, rgba(14, 36, 80, .95), rgba(6, 22, 51, .98));
  border: 1px solid var(--steel);
  clip-path: polygon(0 var(--pp-cut), var(--pp-cut) 0, 100% 0, 100% 100%, 0 100%);
}

.page-products .combo__head {
  max-width: 68ch;
}

.page-products .combo__title {
  margin: 10px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 5vw, 40px);
  line-height: 1.14;
  color: var(--white);
  transform: skewX(-3deg);
}

.page-products .combo__lede {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-products .combo__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--steel);
}

.page-products .combo__item:last-child {
  border-bottom: 1px solid var(--steel);
}

.page-products .combo__num {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--steel);
  transition: color .3s ease;
}

.page-products .combo__item:hover .combo__num,
.page-products .combo__item:focus-within .combo__num {
  color: var(--neon);
}

.page-products .combo__body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
}

.page-products .combo__body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .combo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-products .combo__note {
  margin: 22px 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .combo__note a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 255, 139, .35);
  transition: border-color .2s ease;
}

.page-products .combo__note a:hover,
.page-products .combo__note a:focus-visible {
  border-color: var(--neon);
}

/* ---------- 桌面端 ---------- */
@media (min-width: 720px) {
  .page-products .hero__index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .rank-views li {
    grid-template-columns: 110px 1fr;
    align-items: baseline;
    gap: 14px;
  }
}

@media (min-width: 940px) {
  .page-products {
    --pp-cut: 28px;
    --pp-gap: 34px;
  }

  .page-products .hero {
    padding: 132px 0 72px;
  }

  .page-products .hero__lede {
    margin-top: 26px;
    font-size: 18px;
  }

  .page-products .hero__index {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 48px;
  }

  .page-products .column-panel {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
    padding: 46px 50px 52px;
    align-items: center;
    margin-top: var(--pp-gap);
  }

  .page-products .column-panel--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .column-panel--flip .column-panel__media {
    order: 2;
  }

  .page-products .combo {
    margin-top: 72px;
    padding: 56px 56px 60px;
  }

  .page-products .combo__item {
    grid-template-columns: 92px 1fr;
    gap: 28px;
    padding: 26px 0;
  }

  .page-products .combo__num {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .hero__index a,
  .page-products .status-legend__item,
  .page-products .steps__item,
  .page-products .combo__num {
    transition: none;
  }

  .page-products .hero__index a:hover,
  .page-products .hero__index a:focus-visible,
  .page-products .status-legend__item:hover,
  .page-products .status-legend__item:focus-visible {
    transform: none;
  }
}
