/* ============================================================
   业务中心 /business/  —  .page-products
   ============================================================ */

.page-products {
  --pp-bd: 2px solid var(--black);
  --pp-gap: clamp(16px, 2.4vw, 28px);
  --pp-accent: var(--cyan);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  background-color: var(--ink);
  color: var(--paper);
}

.page-products::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}

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

.page-products .sec {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
}

.page-products .sec-head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

/* ---------- 大色块节奏 ---------- */

.pp-band-teal {
  background-color: rgba(11, 58, 63, 0.62);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pp-band-wine {
  background-color: rgba(61, 16, 48, 0.55);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* ---------- 首屏 ---------- */

.pp-hero {
  padding-top: clamp(24px, 5vw, 56px);
}

.pp-hero .crumbs {
  margin-bottom: 22px;
}

.pp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.pp-hero__eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

.pp-hero__title {
  max-width: 17ch;
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.pp-hero__lede {
  max-width: 62ch;
  margin: 0 0 24px;
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.8;
  color: var(--paper);
}

.pp-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--black);
}

.pp-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: var(--ink-2);
}

.pp-hero__num {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.pp-hero__lbl {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.pp-hero__tip {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 0 2px 12px;
  border-left: 3px solid var(--orange);
  font-size: 12.5px;
  color: var(--amber);
}

.pp-hero__media {
  position: relative;
  margin-top: clamp(26px, 4vw, 48px);
  border-top: var(--pp-bd);
  border-bottom: var(--pp-bd);
  background: var(--black);
  overflow: hidden;
}

.pp-hero__media img {
  display: block;
  width: 100%;
  height: clamp(210px, 38vw, 420px);
  object-fit: cover;
}

.pp-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 16, 48, 0.08) 0%, rgba(13, 16, 48, 0.76) 100%);
}

.pp-hero__stamp {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 16px;
  background: var(--orange);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ---------- 章节索引条 ---------- */

.pp-index {
  background: rgba(5, 7, 24, 0.9);
  border-bottom: 2px solid var(--line-soft);
}

.pp-index__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pp-index__inner::-webkit-scrollbar {
  display: none;
}

.pp-index__label {
  flex: none;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--mist);
}

.pp-index__list {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-index__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.pp-index__link:hover,
.pp-index__link:focus-visible {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.pp-index__no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ---------- 通用图片容器 ---------- */

.pp-shot {
  position: relative;
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--ink-2);
  overflow: hidden;
}

.pp-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-shot--wide { aspect-ratio: 32 / 15; }
.pp-shot--169 { aspect-ratio: 16 / 9; }
.pp-shot--43 { aspect-ratio: 4 / 3; }
.pp-shot--tall { aspect-ratio: 3 / 4; }

.pp-shot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  background: rgba(5, 7, 24, 0.86);
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.pp-shot--neon::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, rgba(44, 232, 216, 0.26) 0%, transparent 44%),
    linear-gradient(320deg, rgba(255, 107, 44, 0.22) 0%, transparent 48%);
}

/* ---------- 左右交替双栏 ---------- */

.pp-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
  align-items: start;
}

.pp-duo__media { order: 2; }
.pp-duo__body { order: 1; }

.pp-lead {
  margin: 0 0 20px;
  font-size: clamp(15.5px, 1.7vw, 17.5px);
  line-height: 1.8;
  color: var(--paper);
}

.pp-lead strong {
  color: var(--cyan);
  font-weight: 700;
}

.pp-lead--wide {
  max-width: 70ch;
  margin-bottom: clamp(20px, 3vw, 30px);
}

/* ---------- SEC.01 两条服务线 ---------- */

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

.pp-lane {
  padding: clamp(20px, 2.6vw, 30px);
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--ink-2);
}

.pp-lane--media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pp-lane__title {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.pp-lane__title::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 12px;
  background: var(--cyan);
}

.pp-lane--media .pp-lane__title {
  margin-bottom: 0;
}

.pp-lane__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--paper);
}

.pp-lane--media .pp-lane__text {
  margin-bottom: 0;
}

.pp-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--paper);
}

.pp-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
}

/* ---------- SEC.02 获取通道 ---------- */

.pp-paths {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.pp-path {
  border: var(--pp-bd);
  box-shadow: var(--shadow-soft);
  background: var(--black);
  overflow: hidden;
}

.pp-path__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 2px solid var(--black);
  background: var(--ink-2);
}

.pp-path--a .pp-path__head { background: var(--gem-teal); }
.pp-path--b .pp-path__head { background: var(--gem-wine); }

.pp-path__idx {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.pp-path__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.pp-path__rows {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
}

.pp-path__rows > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.pp-path__rows dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.pp-path__rows dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper);
}

.pp-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 107, 44, 0.09);
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper);
}

/* ---------- SEC.03 账户能力 ---------- */

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

.pp-cap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 24px;
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--ink-2);
  --pp-accent: var(--cyan);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.pp-cap:nth-child(2) { --pp-accent: var(--orange); }
.pp-cap:nth-child(3) { --pp-accent: var(--amber); }

.pp-cap:hover {
  transform: translate(-2px, -2px);
  border-color: var(--pp-accent);
  box-shadow: 8px 8px 0 var(--black);
}

.pp-cap__no {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--pp-accent);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
}

.pp-cap__title {
  position: relative;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.pp-cap__title::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  background: var(--pp-accent);
}

.pp-cap__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--paper);
}

/* ---------- SEC.04 换设备三步 ---------- */

.pp-steps-sec {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: var(--pp-bd);
  border-bottom: var(--pp-bd);
  background: var(--gem-wine);
  overflow: hidden;
}

.pp-steps-sec__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pp-steps-sec__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.pp-steps-sec__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 16, 48, 0.94) 0%, rgba(61, 16, 48, 0.84) 100%);
}

.pp-steps-sec .wrap {
  position: relative;
  z-index: 1;
}

.pp-steps3 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--black);
}

.pp-steps3__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px 30px;
  border-top: 2px solid var(--black);
  background: rgba(13, 16, 48, 0.92);
  transition: background 0.3s var(--ease);
}

.pp-steps3__item:first-child {
  border-top: 0;
}

.pp-steps3__item:hover {
  background: rgba(23, 27, 74, 0.96);
}

.pp-steps3__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--cyan);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 4px 4px 0 rgba(5, 7, 24, 0.85);
}

.pp-steps3__item:nth-child(2) .pp-steps3__num { background: var(--orange); }
.pp-steps3__item:nth-child(3) .pp-steps3__num { background: var(--amber); }

.pp-steps3__title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.pp-steps3__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--paper);
}

/* ---------- SEC.05 版本节奏 ---------- */

.pp-verlist {
  display: grid;
  gap: 2px;
  margin: 22px 0 0;
  padding: 0 0 0 2px;
  list-style: none;
  border-left: 2px solid var(--line);
}

.pp-verlist__item {
  position: relative;
  padding: 13px 14px 13px 22px;
  background: rgba(23, 27, 74, 0.6);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.pp-verlist__item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: var(--amber);
}

.pp-verlist__item:hover {
  background: rgba(44, 232, 216, 0.12);
  transform: translateX(4px);
}

.pp-verlist__no {
  display: block;
  margin-bottom: 4px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.pp-verlist__title {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.pp-verlist__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--mist);
}

/* ---------- SEC.06 从开通到上手 ---------- */

.pp-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-flow__item {
  position: relative;
  min-height: 96px;
  padding: 20px 22px 22px 68px;
  border: var(--pp-bd);
  box-shadow: var(--shadow-soft);
  background: var(--ink-2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pp-flow__item:hover {
  transform: translate(-2px, -2px);
  border-color: var(--cyan);
}

.pp-flow__n {
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--cyan);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

.pp-flow__item:nth-child(2n) .pp-flow__n { background: var(--orange); }

.pp-flow__title {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.4;
}

.pp-flow__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--paper);
}

/* ---------- 延伸入口 ---------- */

.pp-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
  padding: clamp(20px, 3vw, 34px);
  border: var(--pp-bd);
  box-shadow: var(--shadow-hard);
  background: var(--ink-2);
}

.pp-more__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.pp-more__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.pp-more__rule {
  height: 3px;
  margin: 18px 0 0;
  border: 0;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--orange) 62%, transparent 100%);
  transform: skewY(-1.2deg);
}

.pp-more__links {
  margin: 0;
}

.pp-more__links a {
  color: var(--paper);
}

.pp-more__links a:hover,
.pp-more__links a:focus-visible {
  color: var(--cyan);
}

/* ---------- 中等屏幕 ---------- */

@media (min-width: 640px) {
  .pp-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pp-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 桌面 ---------- */

@media (min-width: 860px) {
  .pp-lanes {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .pp-caps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .pp-duo {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
  }

  .pp-duo__media,
  .pp-duo__body {
    order: 0;
  }

  .pp-duo--flip .pp-duo__media {
    order: -1;
  }

  .pp-steps3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pp-steps3__item {
    border-top: 0;
    border-left: 2px solid var(--black);
  }

  .pp-steps3__item:first-child {
    border-left: 0;
  }

  .pp-steps3__item::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -6px;
    z-index: 2;
    width: 12px;
    height: 2px;
    background: var(--cyan);
  }

  .pp-steps3__item:last-child::after {
    display: none;
  }

  .pp-more {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
  }
}

/* ---------- 减少动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.18s !important;
    transition-property: opacity, background-color, color, border-color !important;
    transform: none !important;
  }
}
