.page-products {
  --pp-line: rgba(201, 191, 175, 0.42);
  --pp-line-dark: rgba(201, 191, 175, 0.22);
  --pp-soft: #FBF8F2;
  --pp-muted: #5c5347;
  --pp-radius: 14px;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  overflow-x: clip;
}

.page-products :where(a, button, summary, input):focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 首屏 ---------- */
.page-products__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 7.5rem 0 3.4rem;
  background:
    radial-gradient(95% 70% at 86% 0%, rgba(242, 169, 59, 0.30), rgba(200, 69, 31, 0.10) 42%, rgba(11, 27, 43, 0) 72%),
    linear-gradient(165deg, #0B1B2B 0%, #0d2135 44%, #121417 100%);
  color: var(--mist);
}

.page-products__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 191, 175, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 191, 175, 0.09) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(72% 62% at 70% 18%, #000 0%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 70% 18%, #000 0%, transparent 78%);
  pointer-events: none;
}

.page-products .breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.page-products .breadcrumbs-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(251, 248, 242, 0.55);
}

.page-products .breadcrumbs-item + .breadcrumbs-item::before {
  content: "/";
  color: rgba(242, 169, 59, 0.72);
}

.page-products .breadcrumbs-link {
  color: var(--gold);
  text-decoration: none;
}

.page-products .breadcrumbs-link:hover {
  text-decoration: underline;
}

.page-products__hero-grid {
  display: grid;
  gap: 2.2rem;
}

.page-products .eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--red);
}

.page-products__hero .eyebrow,
.page-products__band--ink .eyebrow,
.page-products__band--indigo .eyebrow {
  color: var(--gold);
}

.page-products__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.page-products__lede {
  margin: 0 0 2rem;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(251, 248, 242, 0.84);
}

/* 双入口路线图 */
.route-map {
  padding: 1.05rem;
  border: 1px solid rgba(201, 191, 175, 0.30);
  border-radius: var(--pp-radius);
  background: linear-gradient(155deg, rgba(251, 248, 242, 0.07), rgba(251, 248, 242, 0.015));
}

.route-map__hub {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(100deg, rgba(200, 69, 31, 0.55), rgba(242, 169, 59, 0.35));
  color: var(--charcoal);
}

.route-map__hub-label {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #FBF8F2;
}

.route-map__hub-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(251, 248, 242, 0.86);
}

.route-map__stem {
  display: block;
  width: 2px;
  height: 1.1rem;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--gold), rgba(242, 169, 59, 0.15));
}

.route-map__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.route-map__node {
  display: grid;
  gap: 0.28rem;
  padding: 0.85rem 0.8rem;
  border: 1px solid rgba(201, 191, 175, 0.34);
  border-radius: 12px;
  background: rgba(11, 27, 43, 0.55);
  text-decoration: none;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.route-map__node:hover,
.route-map__node:focus-visible {
  transform: translateY(-3px);
  border-color: var(--jade);
  background: rgba(47, 182, 166, 0.14);
}

.route-map__node-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: rgba(251, 248, 242, 0.6);
}

.route-map__node-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mist);
}

.route-map__node-desc {
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(251, 248, 242, 0.62);
}

.route-map__node--jade {
  border-color: rgba(47, 182, 166, 0.55);
}

.route-map__node--jade .route-map__node-tag {
  color: var(--jade);
}

/* 右侧订阅卡 */
.sync-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.5rem;
  border: 1px solid rgba(201, 191, 175, 0.32);
  border-radius: 18px;
  background: linear-gradient(168deg, #14293d 0%, #0B1B2B 58%, #121417 100%);
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
}

.sync-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--fire);
}

.sync-card__kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--jade);
}

.sync-card__title {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.sync-card__steps {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.sync-card__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(251, 248, 242, 0.82);
}

.sync-card__num {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(47, 182, 166, 0.6);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--jade);
}

.sync-card:hover .sync-card__num {
  background: rgba(47, 182, 166, 0.16);
}

.sync-card__note {
  margin: 0 0 1.15rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(201, 191, 175, 0.26);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(251, 248, 242, 0.62);
}

.sync-card .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- 区块基础 ---------- */
.page-products__band {
  padding: 3.2rem 0;
}

.page-products__band--ink {
  background: linear-gradient(180deg, #0B1B2B 0%, #101c27 58%, #121417 100%);
  color: rgba(251, 248, 242, 0.86);
}

.page-products__band--indigo {
  background: linear-gradient(118deg, #2E2A5C 0%, #3a2b52 48%, #6E1F2B 100%);
  color: rgba(251, 248, 242, 0.88);
}

.page-products__h2 {
  position: relative;
  margin: 0.35rem 0 0.9rem;
  padding-top: 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 3.4vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-products__h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 3px;
  background: var(--fire);
}

.page-products__intro {
  max-width: 62ch;
  margin: 0 0 1.8rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--pp-muted);
}

.page-products__band--indigo .page-products__intro,
.page-products__band--ink .page-products__intro {
  color: rgba(251, 248, 242, 0.78);
}

/* ---------- 双栏 ---------- */
.split {
  display: grid;
  gap: 1.7rem;
}

.split__body p {
  font-size: 0.98rem;
  line-height: 1.85;
}

.page-products__band--ink .split__body p {
  color: rgba(251, 248, 242, 0.8);
}

.point-list {
  list-style: none;
  counter-reset: pt;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.point-list li {
  counter-increment: pt;
  position: relative;
  padding-left: 2.4rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.point-list li::before {
  content: counter(pt, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.18rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0 0.3rem;
}

.page-products__band--ink .point-list li {
  color: rgba(251, 248, 242, 0.82);
}

.page-products__band--ink .point-list li::before {
  color: var(--gold);
}

.hint {
  margin: 1.3rem 0 0;
  padding-left: 0.9rem;
  border-left: 2px solid var(--gold);
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--pp-muted);
}

.page-products .link-arrow {
  display: inline-block;
  margin-top: 1.4rem;
  padding-bottom: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-products .link-arrow::after {
  content: " →";
  font-family: var(--font-mono);
}

.page-products .link-arrow:hover {
  color: var(--wine);
}

.page-products__band--ink .link-arrow {
  color: var(--gold);
}

.page-products__band--ink .link-arrow:hover {
  color: var(--jade);
}

/* ---------- 图片 ---------- */
.page-products .figure {
  margin: 0;
}

.page-products .figure-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--pp-line);
  border-radius: 12px;
  background: #0B1B2B;
}

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

.page-products .figure-caption {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--pp-muted);
}

.page-products__band--ink .figure-media,
.page-products__band--indigo .figure-media {
  border-color: rgba(251, 248, 242, 0.28);
}

.page-products__band--ink .figure-caption,
.page-products__band--indigo .figure-caption {
  color: rgba(251, 248, 242, 0.62);
}

/* ---------- 模块卡 ---------- */
.module-grid {
  display: grid;
  gap: 1.1rem;
}

.module-card {
  padding: 1.15rem;
  border: 1px solid var(--pp-line);
  border-radius: 16px;
  background: var(--pp-soft);
  box-shadow: var(--shadow-sheet);
}

.module-card .tag {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.module-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.module-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--pp-muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.6rem;
  border: 1px solid var(--pp-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--pp-line);
}

.metrics__item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  background: var(--pp-soft);
}

.metrics__value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--red);
}

.metrics__label {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--pp-muted);
}

/* ---------- 订阅形式 ---------- */
.plans-layout {
  display: grid;
  gap: 1.9rem;
}

.plans-layout__intro p {
  font-size: 0.96rem;
  line-height: 1.85;
}

.plans-layout__intro .figure {
  margin-top: 1.5rem;
}

.plan-grid {
  display: grid;
  gap: 0.9rem;
}

.plan {
  position: relative;
  padding: 1.15rem 1.15rem 1.15rem 1.45rem;
  border: 1px solid rgba(251, 248, 242, 0.30);
  border-radius: var(--pp-radius);
  background: linear-gradient(150deg, rgba(251, 248, 242, 0.15), rgba(251, 248, 242, 0.04));
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.plan::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  bottom: 1.05rem;
  width: 3px;
  border-radius: 3px;
  background: var(--fire);
}

.plan:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 169, 59, 0.85);
}

.plan__tag {
  margin: 0 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.plan__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.plan__desc {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(251, 248, 242, 0.8);
}

.plan__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.plan__list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(251, 248, 242, 0.7);
}

.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--jade);
  transform: rotate(45deg);
}

/* ---------- 变更三条 ---------- */
.change-list {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.change {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.05rem 1.1rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: var(--pp-soft);
  box-shadow: 0 1px 0 rgba(201, 191, 175, 0.6);
}

.change__idx {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--wine);
}

.change__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.change__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--pp-muted);
}

/* ---------- 排查 ---------- */
.trouble-layout {
  display: grid;
  gap: 1.8rem;
}

.trouble-layout p {
  font-size: 0.96rem;
  line-height: 1.85;
}

.trouble-list {
  display: grid;
  gap: 0.7rem;
}

.trouble {
  border: 1px solid rgba(201, 191, 175, 0.26);
  border-radius: 12px;
  padding: 0 1rem;
  background: rgba(251, 248, 242, 0.04);
  transition: border-color 0.22s var(--ease);
}

.trouble:hover {
  border-color: rgba(47, 182, 166, 0.6);
}

.trouble summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.95rem;
  color: var(--mist);
}

.trouble summary::-webkit-details-marker {
  display: none;
}

.trouble summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--jade);
}

.trouble[open] summary::after {
  content: "−";
}

.trouble p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.78;
  color: rgba(251, 248, 242, 0.78);
}

/* ---------- 收尾 ---------- */
.page-products__closing {
  position: relative;
  padding: 3rem 0 3.6rem;
  background:
    radial-gradient(80% 120% at 10% 0%, rgba(242, 169, 59, 0.22), rgba(11, 27, 43, 0) 62%),
    linear-gradient(140deg, #121417 0%, #0B1B2B 100%);
  color: var(--mist);
}

.page-products__closing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--fire);
}

.page-products__closing-inner {
  display: grid;
  gap: 1.4rem;
}

.page-products__closing-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-products__closing p {
  margin: 0;
  max-width: 52ch;
  font-size: 0.94rem;
  line-height: 1.8;
  color: rgba(251, 248, 242, 0.78);
}

.page-products__closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 34rem) {
  .page-products__band {
    padding: 3.8rem 0;
  }

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

@media (min-width: 48rem) {
  .page-products__band {
    padding: 4.6rem 0;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
  }

  .split--reverse .split__media {
    order: -1;
  }

  .split--narrow-media {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .page-products__closing-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2rem;
  }
}

@media (min-width: 60rem) {
  .trouble-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
  }

  .plans-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2.6rem;
    align-items: start;
  }
}

@media (min-width: 62rem) {
  .page-products__hero {
    padding: 8.5rem 0 4.4rem;
  }

  .page-products__hero-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 3.2rem;
    align-items: start;
  }

  .page-products .sync-card {
    position: sticky;
    top: 6.5rem;
  }

  .page-products__band {
    padding: 5.4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .route-map__node:hover,
  .plan:hover {
    transform: none;
  }
}
