.page-products {
  --pt-zone: #EAF6F9;
  --pt-deep: #14586C;
  --pt-dash: rgba(27, 110, 133, .38);
  --pt-dash-light: rgba(255, 255, 255, .5);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.page-products .breadcrumb {
  margin-top: clamp(20px, 3vw, 36px);
}

.page-products .panel {
  margin-bottom: clamp(48px, 7vw, 88px);
}

.page-products .panel > .section-head {
  max-width: 720px;
}

.page-products .pt-figure {
  margin: 0 0 28px;
}

.page-products .pt-figure--slim {
  margin-top: 32px;
}

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

/* ---------- 首屏 ---------- */
.pt-hero {
  display: grid;
  gap: 32px;
  padding-top: clamp(16px, 3vw, 44px);
}

.pt-hero__main .display {
  margin: 12px 0 0;
}

.pt-hero__main .lead {
  margin-top: 18px;
  max-width: 620px;
}

.pt-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pt-index {
  padding: 22px 20px 18px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.pt-index__title {
  margin: 0 0 12px;
  font-size: .8125rem;
  letter-spacing: .16em;
  color: var(--muted);
  text-transform: uppercase;
}

.pt-index__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.pt-index__list a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: .9375rem;
  line-height: 1.55;
  text-decoration: none;
  transition: background-color .24s var(--ease), color .24s var(--ease);
}

.pt-index__list a:hover,
.pt-index__list a:focus-visible {
  background: var(--sky);
  color: var(--lake-deep);
}

.pt-index__num {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--lake);
}

@media (min-width: 900px) {
  .pt-hero {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .85fr);
    align-items: end;
    gap: 52px;
  }
}

/* ---------- 模块横向滑动 ---------- */
.pt-strip {
  display: flex;
  gap: 16px;
  margin-inline: -4px;
  padding: 6px 4px 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) transparent;
}

.pt-strip:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 4px;
  border-radius: var(--radius-lg);
}

.pt-strip > .pt-mod {
  flex: 0 0 clamp(238px, 74vw, 318px);
  scroll-snap-align: start;
}

.pt-mod {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 30px;
  background: linear-gradient(168deg, #ffffff, var(--pt-zone));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.pt-mod::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lake), var(--mint));
}

.pt-mod__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--pill);
  background: var(--lake);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.pt-mod__title {
  margin: 2px 0 0;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
}

.pt-mod__body {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--muted);
}

.pt-mod__meta {
  margin: auto 0 0;
  padding-top: 8px;
  font-size: .8125rem;
  letter-spacing: .04em;
  color: var(--lake-deep);
}

/* ---------- 新旧对比条 ---------- */
.pt-compare {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.pt-compare__col {
  padding: 26px 22px 30px;
}

.pt-compare__col--old {
  background: #F1EFE8;
  color: var(--muted);
}

.pt-compare__col--new {
  background: linear-gradient(158deg, var(--pt-deep), var(--lake) 68%, #43AFC4);
  color: #EBF8FB;
  border-top: 2px dashed var(--pt-dash-light);
}

.pt-compare__tag {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pt-compare__col--old .pt-compare__tag {
  color: var(--muted);
}

.pt-compare__col--new .pt-compare__tag {
  color: var(--mint);
}

.pt-compare__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.pt-compare__list li {
  display: grid;
  gap: 5px;
  font-size: .9375rem;
  line-height: 1.72;
}

.pt-compare__key {
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  opacity: .78;
}

.pt-compare__col--new .pt-compare__key {
  color: var(--mint);
  opacity: 1;
}

@media (min-width: 820px) {
  .pt-compare {
    grid-template-columns: 1fr 1fr;
  }

  .pt-compare__col {
    padding: 34px 32px 38px;
  }

  .pt-compare__col--new {
    border-top: 0;
    border-left: 2px dashed var(--pt-dash-light);
  }
}

/* ---------- 图文分栏与流程 ---------- */
.pt-split {
  display: grid;
  gap: 32px;
  align-items: start;
}

.pt-split .figure {
  margin: 0;
}

@media (min-width: 880px) {
  .pt-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
  }
}

.pt-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.pt-flow li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.pt-flow__num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--pill);
  background: var(--mint);
  color: var(--pt-deep);
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
}

.pt-flow__title {
  margin: 6px 0 8px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.pt-flow__text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.82;
  color: var(--muted);
}

/* ---------- 换设备步骤卡 ---------- */
.pt-steps {
  display: grid;
  gap: 18px;
}

.pt-step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px 22px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.pt-step__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--pill);
  background: var(--coral);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 700;
}

.pt-step__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}

.pt-step__text {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--muted);
}

@media (min-width: 860px) {
  .pt-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .pt-step + .pt-step::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 44px;
    width: 20px;
    border-top: 2px dashed var(--pt-dash);
  }
}

/* ---------- 设置项磁贴 ---------- */
.pt-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}

.pt-tile {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: 22px 18px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px -24px rgba(27, 110, 133, .55);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.pt-tile:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 22px 38px -24px rgba(27, 110, 133, .6);
}

.pt-tile__dot {
  width: 36px;
  height: 8px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--lake), var(--mint));
}

.pt-tile__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.pt-tile__text {
  margin: 0;
  font-size: .875rem;
  line-height: 1.72;
  color: var(--muted);
}

.pt-tiles__more {
  margin: 24px 0 0;
}

/* ---------- 场景卡 ---------- */
.pt-scene {
  display: grid;
  gap: 12px;
  align-content: start;
}

.pt-scene .card__title {
  margin: 0;
}

.pt-scene .card__body {
  margin: 0;
}

.pt-scene .card__meta {
  margin: 4px 0 0;
}

.pt-scene .card__meta a {
  color: var(--lake-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 2px;
}

.pt-scene .card__meta a:hover,
.pt-scene .card__meta a:focus-visible {
  color: var(--lake);
  border-bottom-color: var(--lake);
}

/* ---------- 结尾呼唤 ---------- */
.pt-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: linear-gradient(142deg, var(--pt-deep), var(--lake) 56%, var(--mint));
  color: #F2FBFD;
  box-shadow: var(--shadow-panel);
}

.pt-cta .h2 {
  margin: 0;
  color: #ffffff;
}

.pt-cta__text {
  margin: 0;
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(242, 251, 253, .92);
}

.pt-cta__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.page-products .pt-cta .btn--primary {
  background: #ffffff;
  color: var(--lake-deep);
}

.page-products .pt-cta .btn--primary:hover,
.page-products .pt-cta .btn--primary:focus-visible {
  background: var(--sky);
}

.page-products .pt-cta .btn--ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .7);
}

.page-products .pt-cta .btn--ghost:hover,
.page-products .pt-cta .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .16);
  border-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .pt-tile {
    transition: none;
  }

  .pt-tile:hover {
    transform: none;
  }
}
