.page-products {
  --pp-radius: var(--radius-md);
  --pp-hair: rgba(11, 42, 61, 0.1);
}

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

/* ---------- 首屏总览 ---------- */
.page-products .prod-hero {
  padding-top: 4px;
}

.page-products .prod-hero__grid {
  display: grid;
  gap: 30px;
}

.page-products .prod-hero__copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(27px, 6.8vw, 50px);
  line-height: 1.2;
  letter-spacing: -0.022em;
  color: var(--deep);
  margin: 10px 0 18px;
}

.page-products .serif-lead {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--deep-2);
  max-width: 48ch;
  margin: 0;
}

.page-products .prod-hero__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(152deg, var(--deep) 0%, var(--deep-2) 58%, #1B4A63 100%);
  box-shadow: var(--shadow-lift);
}

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

/* ---------- 产品线胶囊 ---------- */
.page-products .prod-pills {
  list-style: none;
  margin: 28px 0 0;
  padding: 4px 2px 12px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-products .prod-pills::-webkit-scrollbar {
  height: 4px;
}

.page-products .prod-pills::-webkit-scrollbar-thumb {
  background: var(--grey);
  border-radius: var(--radius-pill);
}

.page-products .prod-pill {
  --pill: var(--gold);
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  background: var(--paper-up);
  border: 1px solid var(--pp-hair);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px -14px rgba(11, 42, 61, 0.7);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-products .prod-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pill);
  flex: 0 0 auto;
}

.page-products .prod-pill .mono {
  font-size: 12px;
  color: var(--deep-2);
  opacity: 0.68;
  letter-spacing: 0.05em;
}

.page-products .prod-pill:hover,
.page-products .prod-pill:focus-visible {
  transform: translateY(-2px);
  border-color: var(--pill);
  box-shadow: 0 16px 26px -18px rgba(11, 42, 61, 0.85);
  outline: none;
}

.page-products .prod-pill:focus-visible {
  outline: 2px solid var(--pill);
  outline-offset: 2px;
}

.page-products .prod-pill--mint { --pill: var(--mint); }
.page-products .prod-pill--gold { --pill: var(--gold); }
.page-products .prod-pill--coral { --pill: var(--coral); }
.page-products .prod-pill--mist { --pill: var(--mist); }
.page-products .prod-pill--deep { --pill: var(--deep-2); }
.page-products .prod-pill--grey { --pill: var(--grey); }

@media (min-width: 960px) {
  .page-products .prod-hero__grid {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 48px;
  }
}

/* ---------- 通用小节标题 ---------- */
.page-products .prod-head {
  max-width: 64ch;
}

.page-products .prod-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.016em;
  color: var(--deep);
  margin: 8px 0 13px;
}

.page-products .prod-head p {
  font-size: 16px;
  line-height: 1.88;
  color: var(--ink);
  margin: 0;
}

/* ---------- 三种进入方式 ---------- */
.page-products .ways-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-products .way-card {
  padding: 24px 22px 20px;
  border-radius: var(--pp-radius);
  background: var(--paper-up);
  border: 1px solid var(--pp-hair);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.page-products .way-card:hover,
.page-products .way-card:focus-within {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.page-products .way-card__no {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--deep);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 15px;
}

.page-products .way-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--deep);
  margin: 0 0 9px;
}

.page-products .way-card p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-products .way-card__meta {
  margin: 0;
  padding-top: 11px;
  border-top: 1px dashed rgba(11, 42, 61, 0.16);
  font-size: 13px;
  color: var(--mist) !important;
}

@media (min-width: 860px) {
  .page-products .ways-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 六条产品线 ---------- */
.page-products .prod-lines-section {
  position: relative;
}

.page-products .prod-lines-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 42, 61, 0.16) 18%, rgba(11, 42, 61, 0.16) 82%, transparent);
}

.page-products .prod-lines__media {
  margin: 28px 0 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(140deg, var(--paper-up) 0%, #E8EFEC 100%);
  box-shadow: var(--shadow-soft);
}

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

.page-products .prod-lines {
  display: grid;
  gap: 14px;
}

.page-products .line-card {
  position: relative;
  padding: 24px 20px 20px 26px;
  border-radius: var(--pp-radius);
  background: var(--paper-up);
  border: 1px solid var(--pp-hair);
  overflow: hidden;
  scroll-margin-top: 104px;
}

.page-products .line-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--line, var(--gold));
}

.page-products .line-card__no {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--line, var(--gold));
  margin: 0 0 7px;
}

.page-products .line-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--deep);
  margin: 0 0 10px;
}

.page-products .line-card__desc {
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink);
  margin: 0 0 15px;
}

.page-products .line-card__facts {
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.page-products .line-card__facts div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.page-products .line-card__facts dt {
  color: var(--mist);
}

.page-products .line-card__facts dd {
  margin: 0;
  color: var(--ink);
}

.page-products .line-card--mint { --line: var(--mint); }
.page-products .line-card--gold { --line: var(--gold); }
.page-products .line-card--coral { --line: var(--coral); }
.page-products .line-card--mist { --line: var(--mist); }
.page-products .line-card--deep { --line: var(--deep-2); }
.page-products .line-card--grey { --line: var(--grey); }

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

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

/* ---------- 版本切换器 ---------- */
.page-products .prod-switch__grid {
  display: grid;
  gap: 28px;
}

.page-products .prod-switch__aside h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4.6vw, 33px);
  line-height: 1.28;
  letter-spacing: -0.016em;
  color: var(--deep);
  margin: 8px 0 14px;
}

.page-products .prod-switch__aside p {
  font-size: 16px;
  line-height: 1.88;
  color: var(--ink);
  margin: 0 0 12px;
}

.page-products .prod-switch__hint {
  padding-left: 15px;
  border-left: 4px solid var(--gold);
  font-size: 15px !important;
  color: var(--deep-2) !important;
}

.page-products .switch-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .switch-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid rgba(11, 42, 61, 0.13);
}

.page-products .switch-steps li:last-child {
  border-bottom: 1px solid rgba(11, 42, 61, 0.13);
}

.page-products .switch-steps__no {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-deep);
  padding-top: 2px;
}

.page-products .switch-steps h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--deep);
  margin: 0 0 7px;
}

.page-products .switch-steps p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink);
  margin: 0;
}

.page-products .prod-switch__media {
  margin: 30px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--deep) 0%, #1B4A63 100%);
  box-shadow: var(--shadow-lift);
}

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

@media (min-width: 1000px) {
  .page-products .prod-switch__grid {
    grid-template-columns: 5fr 7fr;
    gap: 52px;
    align-items: start;
  }

  .page-products .prod-switch__aside {
    position: sticky;
    top: 104px;
  }
}

/* ---------- 差异高亮 ---------- */
.page-products .diff-legend {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.page-products .diff-legend__item {
  padding: 21px 20px 19px 23px;
  border-radius: var(--pp-radius);
  background: var(--paper-up);
  border: 1px solid var(--pp-hair);
  border-left: 5px solid var(--legend, var(--gold));
}

.page-products .diff-legend__item h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--deep);
  margin: 0 0 9px;
}

.page-products .diff-legend__item p {
  font-size: 14px;
  line-height: 1.78;
  color: var(--ink);
  margin: 0;
}

.page-products .diff-legend__item--coral { --legend: var(--coral); }
.page-products .diff-legend__item--mint { --legend: var(--mint); }
.page-products .diff-legend__item--gold { --legend: var(--gold); }

.page-products .diff-switch {
  margin-top: 22px;
  padding: 24px 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--deep);
  color: var(--paper);
}

.page-products .diff-switch h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--paper-up);
  margin: 0 0 10px;
}

.page-products .diff-switch p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 237, 225, 0.82);
  margin: 0;
}

@media (min-width: 820px) {
  .page-products .diff-legend {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 订阅摘要 ---------- */
.page-products .prod-digest__media {
  margin: 28px 0 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--paper-up) 0%, #EAF0F4 100%);
  box-shadow: var(--shadow-soft);
}

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

.page-products .digest-cards {
  display: grid;
  gap: 13px;
}

.page-products .digest-card {
  padding: 22px 20px 20px 24px;
  border-radius: var(--pp-radius);
  background: var(--paper-up);
  border: 1px solid var(--pp-hair);
}

.page-products .digest-card__bar {
  display: block;
  width: 42px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--bar, var(--gold));
  margin-bottom: 15px;
}

.page-products .digest-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--deep);
  margin: 0 0 9px;
}

.page-products .digest-card p {
  font-size: 15px;
  line-height: 1.82;
  color: var(--ink);
  margin: 0;
}

.page-products .digest-card--mint { --bar: var(--mint); }
.page-products .digest-card--gold { --bar: var(--gold); }
.page-products .digest-card--coral { --bar: var(--coral); }

.page-products .digest-note {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--deep-2);
  padding-left: 16px;
  border-left: 4px solid var(--grey);
}

.page-products .digest-note a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 820px) {
  .page-products .digest-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 场景推荐 ---------- */
.page-products .prod-scene {
  background:
    radial-gradient(115% 88% at 100% 0%, rgba(217, 162, 49, 0.16), transparent 58%),
    linear-gradient(158deg, var(--deep) 0%, #0E3147 100%);
  color: var(--paper);
}

.page-products .prod-scene .eyebrow {
  color: var(--gold);
}

.page-products .prod-scene .prod-head h2 {
  color: var(--paper-up);
}

.page-products .prod-scene .prod-head p {
  color: rgba(244, 237, 225, 0.78);
}

.page-products .scene-grid {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.page-products .scene-card {
  padding: 23px 21px;
  border-radius: var(--pp-radius);
  background: rgba(244, 237, 225, 0.06);
  border: 1px solid rgba(244, 237, 225, 0.16);
}

.page-products .scene-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--paper-up);
  margin: 0 0 11px;
}

.page-products .scene-card p {
  font-size: 15px;
  line-height: 1.82;
  color: rgba(244, 237, 225, 0.82);
  margin: 0 0 15px;
}

.page-products .scene-card__path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-products .scene-card__path li {
  font-size: 13px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(217, 162, 49, 0.14);
  border: 1px solid rgba(217, 162, 49, 0.34);
  color: var(--gold);
}

.page-products .prod-scene__media {
  margin: 32px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

@media (min-width: 820px) {
  .page-products .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 收尾 ---------- */
.page-products .prod-next__card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--gold);
}

.page-products .prod-next__card h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 4vw, 27px);
  color: var(--deep);
  margin: 0 0 12px;
}

.page-products .prod-next__card p {
  font-size: 16px;
  line-height: 1.88;
  color: var(--ink);
  margin: 0 0 20px;
  max-width: 66ch;
}

.page-products .prod-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.page-products .prod-next__links .btn {
  text-decoration: none;
}

@media (min-width: 700px) {
  .page-products .prod-next__card {
    padding: 38px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-pill,
  .page-products .way-card {
    transition: none;
  }

  .page-products .prod-pill:hover,
  .page-products .prod-pill:focus-visible,
  .page-products .way-card:hover,
  .page-products .way-card:focus-within {
    transform: none;
  }
}
