/* ===== 平台服务页 · page-products ===== */
.page-products {
  --pp-gap: clamp(14px, 2vw, 22px);
  --pp-pad: clamp(20px, 3vw, 30px);
}

.page-products .breadcrumb {
  padding-top: clamp(16px, 3vw, 28px);
}

/* ---------- 首屏框景 ---------- */
.page-products .product-hero {
  padding-top: clamp(16px, 3vw, 32px);
}

.page-products .product-hero__panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(26px, 5vw, 60px) clamp(20px, 4vw, 56px);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(40, 224, 208, .15), transparent 58%),
    radial-gradient(110% 120% at 100% 0%, rgba(255, 138, 61, .12), transparent 56%),
    linear-gradient(170deg, rgba(30, 58, 110, .62), rgba(11, 27, 58, .9));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.page-products .product-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(169, 198, 216, .07) 0 1px, transparent 1px 96px);
  pointer-events: none;
}

.page-products .product-hero__panel::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(20px, 4vw, 56px);
  width: 1px;
  height: 74px;
  background: linear-gradient(180deg, var(--cyan), transparent);
}

.page-products .product-hero__panel > * {
  position: relative;
  z-index: 1;
}

.page-products .product-hero h1 {
  margin: 14px 0 0;
}

.page-products .product-hero .lede {
  max-width: 64ch;
  margin-top: 20px;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-products .hero-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.page-products .hero-jump__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: rgba(30, 58, 110, .38);
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  transition: color .3s ease, border-color .3s ease, background .3s ease, transform .3s ease;
}

.page-products .hero-jump__item .mono {
  color: var(--cyan);
  font-size: 12px;
}

.page-products .hero-jump__item:hover {
  color: var(--white);
  border-color: rgba(40, 224, 208, .45);
  background: rgba(40, 224, 208, .08);
  transform: translateY(-2px);
}

/* ---------- 左侧索引 + 右侧内容 ---------- */
.page-products .svc-row {
  display: grid;
  gap: 18px;
}

.page-products .svc-rail {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.page-products .svc-rail__idx {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .svc-rail__label {
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--text-dim);
}

.page-products .svc-body > * + * {
  margin-top: clamp(20px, 2.8vw, 32px);
}

.page-products .svc-head .section-title {
  margin: 0;
}

.page-products .section-sub {
  margin: 12px 0 0;
  max-width: 68ch;
  color: var(--text-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.78;
}

.page-products .svc-body figure.media-frame {
  margin: 0;
}

/* ---------- 产品线筛选与卡片 ---------- */
.page-products .line-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .line-chip {
  appearance: none;
  font: inherit;
  font-size: 13.5px;
  letter-spacing: .03em;
  color: var(--text-dim);
  background: rgba(30, 58, 110, .4);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 9px 18px;
  cursor: pointer;
  transition: color .28s ease, border-color .28s ease, background .28s ease, transform .28s ease;
}

.page-products .line-chip:hover {
  color: var(--white);
  border-color: rgba(40, 224, 208, .5);
  transform: translateY(-1px);
}

.page-products .line-chip:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-products .line-chip[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(120deg, var(--cyan), var(--blue));
  border-color: transparent;
}

.page-products .line-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
}

.page-products .line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 58, 110, .45), rgba(16, 31, 68, .8));
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.page-products .line-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 55%, transparent);
  opacity: .5;
  transition: opacity .35s ease;
}

.page-products .line-card:hover {
  transform: translateY(-4px);
  border-color: rgba(40, 224, 208, .4);
  box-shadow: var(--shadow-card);
}

.page-products .line-card:hover::before {
  opacity: 1;
}

.page-products .line-card__no {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .line-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--text-strong);
}

.page-products .line-card__text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--text);
}

.page-products .line-card__facts {
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
}

.page-products .line-card__fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
}

.page-products .line-card__fact dt {
  color: var(--text-dim);
  flex: none;
}

.page-products .line-card__fact dd {
  margin: 0;
  min-width: 0;
  text-align: right;
  color: var(--text-strong);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* ---------- 适配清单折叠 ---------- */
.page-products .check-list {
  display: grid;
  gap: 10px;
}

.page-products .check-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(30, 58, 110, .34), rgba(16, 31, 68, .68));
  overflow: hidden;
  transition: border-color .3s ease;
}

.page-products .check-item[open] {
  border-color: rgba(40, 224, 208, .35);
}

.page-products .check-item__sum {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 600;
}

.page-products .check-item__sum::-webkit-details-marker {
  display: none;
}

.page-products .check-item__sum::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 20px;
  line-height: 1;
  color: var(--cyan);
}

.page-products .check-item[open] .check-item__sum::after {
  content: "\2212";
}

.page-products .check-item__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mist);
}

.page-products .check-item__body {
  padding: 0 20px 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .check-item__body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.page-products .check-item__body li::marker {
  color: var(--cyan);
}

.page-products .adapt-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--line);
  overflow: hidden;
}

.page-products .adapt-stats > div {
  padding: 18px 16px;
  background: rgba(11, 27, 58, .94);
}

.page-products .adapt-stats dt {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--text-dim);
}

.page-products .adapt-stats dd {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.2;
  color: var(--cyan);
}

/* ---------- 检索与批次 ---------- */
.page-products .retrieval {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
}

.page-products .retrieval__intro > * + * {
  margin-top: clamp(16px, 2.2vw, 24px);
}

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

.page-products .retrieval__ways li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border-left: 2px solid rgba(40, 224, 208, .5);
  background: rgba(30, 58, 110, .3);
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
}

.page-products .retrieval__ways .mono {
  flex: none;
  font-size: 12px;
  color: var(--cyan);
}

.page-products .retrieval__panel {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(30, 58, 110, .5), rgba(11, 27, 58, .88));
  box-shadow: var(--shadow-card);
}

.page-products .retrieval__panel-head {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--amber);
}

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

.page-products .entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: rgba(16, 31, 68, .72);
  transition: border-color .3s ease, transform .3s ease;
}

.page-products .entry:hover {
  border-color: rgba(40, 224, 208, .32);
  transform: translateX(3px);
}

.page-products .entry__code {
  flex: none;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-products .entry__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--text);
}

.page-products .entry .tag {
  flex: none;
}

.page-products .retrieval__panel-foot {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 服务流程时间轴 ---------- */
.page-products .flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

.page-products .flow__step:last-child {
  padding-bottom: 0;
}

.page-products .flow__step::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(40, 224, 208, .45), rgba(43, 140, 255, .16));
}

.page-products .flow__step:last-child::before {
  display: none;
}

.page-products .flow__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  border-radius: var(--pill);
  border: 1px solid rgba(40, 224, 208, .4);
  background: rgba(40, 224, 208, .1);
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: .06em;
}

.page-products .flow__body {
  padding-top: 2px;
}

.page-products .flow__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: .02em;
  color: var(--text-strong);
}

.page-products .flow__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-dim);
}

/* ---------- 交付保障 ---------- */
.page-products .deliver {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: var(--pp-pad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(255, 138, 61, .13), transparent 58%),
    linear-gradient(140deg, rgba(30, 58, 110, .5), rgba(11, 27, 58, .92));
}

.page-products .deliver .media-frame {
  margin: 0;
}

.page-products .deliver__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 24px);
  letter-spacing: .02em;
  color: var(--text-strong);
}

.page-products .deliver__text {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text);
}

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

.page-products .deliver__stats > div {
  padding-left: 14px;
  border-left: 2px solid rgba(255, 138, 61, .55);
}

.page-products .deliver__stats dt {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: var(--text-dim);
}

.page-products .deliver__stats dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.2;
  color: var(--orange);
}

/* ---------- 可收藏卡片 ---------- */
.page-products .fav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
}

.page-products .fav-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: rgba(16, 31, 68, .64);
  transition: transform .3s ease, border-color .3s ease, border-style .3s ease, background .3s ease;
}

.page-products .fav-card:hover {
  transform: translateY(-3px);
  border-style: solid;
  border-color: rgba(255, 138, 61, .5);
  background: rgba(30, 58, 110, .5);
}

.page-products .fav-card__no {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-products .fav-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 21px);
  letter-spacing: .02em;
  color: var(--text-strong);
}

.page-products .fav-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.76;
  color: var(--text-dim);
}

.page-products .fav-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .fav-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-products .fav-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(40, 224, 208, .4);
  transition: color .25s ease, border-color .25s ease;
}

.page-products .fav-note a:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-products .line-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 960px) {
  .page-products .svc-row {
    grid-template-columns: 176px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
  }

  .page-products .svc-rail {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 0 0 16px;
    border-bottom: 0;
    border-left: 2px solid var(--line-strong);
    position: sticky;
    top: 148px;
    align-self: start;
  }
}

@media (min-width: 1000px) {
  .page-products .retrieval {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: start;
  }

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

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

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

@media (min-width: 880px) {
  .page-products .deliver {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
  }
}

@media (max-width: 520px) {
  .page-products .line-card__fact {
    flex-direction: column;
    gap: 2px;
  }

  .page-products .line-card__fact dd {
    text-align: left;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-products .line-card,
  .page-products .fav-card,
  .page-products .entry,
  .page-products .hero-jump__item {
    transition: none;
  }
}
