.page-products {
  --ex-panel: rgba(20, 31, 58, .82);
  --ex-hair: rgba(167, 176, 196, .14);
  --ex-glow-cyan: rgba(77, 227, 234, .16);
  background: var(--ink);
  color: var(--bone);
}

/* ---------- 首屏 ---------- */
.page-products .ex-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 44px) 0 clamp(52px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(77, 227, 234, .16), transparent 58%),
    radial-gradient(80% 60% at 94% 6%, rgba(139, 124, 255, .14), transparent 62%),
    linear-gradient(180deg, #070C1A 0%, #0A1122 100%);
}

.page-products .ex-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -46%;
  width: 60%;
  height: 340px;
  background: radial-gradient(closest-side, rgba(244, 184, 96, .12), transparent 72%);
  pointer-events: none;
}

.page-products .ex-hero__grid {
  display: grid;
  gap: clamp(34px, 6vw, 60px);
  align-items: center;
  margin-top: clamp(20px, 4vw, 38px);
}

.page-products .ex-stage {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding-bottom: 36px;
  justify-self: center;
}

.page-products .ex-phone {
  position: relative;
  width: 78%;
  max-width: 300px;
  aspect-ratio: 9 / 17;
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(167, 176, 196, .38), rgba(20, 31, 58, .92) 42%, rgba(77, 227, 234, .38));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(244, 239, 230, .08);
}

.page-products .ex-phone__notch {
  position: absolute;
  top: 21px;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 6px;
  border-radius: 99px;
  background: rgba(244, 239, 230, .24);
  transform: translateX(-50%);
}

.page-products .ex-phone__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 26px 13px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, #0C1428, #070C1A 72%);
}

.page-products .ex-phone__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--cyan);
}

.page-products .ex-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .ex-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 6px 4px;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ex-panel);
}

.page-products .ex-tile:first-child {
  color: var(--cyan);
  border-color: rgba(77, 227, 234, .6);
  background: rgba(77, 227, 234, .12);
  box-shadow: inset 0 0 18px rgba(77, 227, 234, .18);
}

.page-products .ex-stage__shot {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(46%, 172px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 22px 52px rgba(7, 12, 26, .86);
}

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

.page-products .ex-hero__copy h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(36px, 8.4vw, 74px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--bone);
}

.page-products .ex-lead {
  max-width: 34ch;
  margin: 0 0 26px;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.85;
  color: #D8DEEA;
}

.page-products .ex-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
}

.page-products .ex-spec > div {
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.page-products .ex-spec dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mist);
}

.page-products .ex-spec dd {
  margin: 5px 0 0;
  font-size: 14px;
  color: var(--bone);
}

.page-products .ex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 通用小节头 ---------- */
.page-products .ex-head {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* ---------- 安卓端对比 ---------- */
.page-products .ex-android {
  background: linear-gradient(180deg, #070C1A, #0C1428 60%, #070C1A);
}

.page-products .ex-compare {
  display: grid;
  gap: 14px;
}

.page-products .ex-col {
  padding: clamp(18px, 3.4vw, 28px);
  border-radius: var(--radius);
}

.page-products .ex-col--before {
  border: 1px dashed var(--line-strong);
  background: rgba(12, 20, 40, .62);
}

.page-products .ex-col--after {
  border: 1px solid rgba(77, 227, 234, .42);
  background: linear-gradient(160deg, rgba(77, 227, 234, .1), rgba(12, 20, 40, .92) 62%);
  box-shadow: 0 24px 60px rgba(7, 12, 26, .6);
}

.page-products .ex-col__tag {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}

.page-products .ex-col--after .ex-col__tag {
  color: var(--cyan);
}

.page-products .ex-flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .ex-flow-list--deep li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 9px 0;
  font-size: 14px;
  color: var(--mist);
  border-bottom: 1px solid var(--ex-hair);
}

.page-products .ex-flow-list--deep li:last-child {
  border-bottom: 0;
}

.page-products .ex-flow-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
}

.page-products .ex-six {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .ex-six li {
  padding: 12px 10px;
  font-size: 13.5px;
  color: var(--bone);
  border-left: 2px solid var(--cyan);
  border-radius: 10px;
  background: rgba(20, 31, 58, .85);
}

.page-products .ex-footnote {
  max-width: 46ch;
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--mist);
}

/* ---------- 小屏端 ---------- */
.page-products .ex-mini {
  background: #0C1428;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .ex-mini__split {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .ex-mini__shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 26px 64px rgba(7, 12, 26, .7);
}

.page-products .ex-mini__shot img,
.page-products .ex-tour__shot img,
.page-products .ex-account__shot img,
.page-products .ex-get__shot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .ex-mini__copy > p {
  max-width: 34ch;
  line-height: 1.85;
  color: #D8DEEA;
}

.page-products .ex-notes {
  display: grid;
  gap: 10px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.page-products .ex-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .ex-notes li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--amber);
}

.page-products .ex-reach {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 0 18px;
}

.page-products .ex-mini__link {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.page-products .ex-mini__link a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(77, 227, 234, .45);
}

/* ---------- 现场导览 ---------- */
.page-products .ex-tour__shot {
  position: relative;
  margin: 0 0 clamp(20px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-products .ex-tour__cap {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 99px;
}

.page-products .ex-tour__grid {
  display: grid;
  gap: 12px;
}

.page-products .ex-tour__item {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 20, 40, .78);
}

.page-products .ex-tour__item:first-child {
  border-left: 3px solid var(--cyan);
}

.page-products .ex-tour__k {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-products .ex-tour__item p:last-child {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 账户中心 ---------- */
.page-products .ex-account {
  background: linear-gradient(180deg, #0C1428, #070C1A 70%);
}

.page-products .ex-account__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .ex-account__shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-products .ex-account__copy > p {
  max-width: 34ch;
  line-height: 1.85;
  color: #D8DEEA;
}

.page-products .ex-rule-line {
  padding: 14px 16px;
  border-left: 2px solid var(--amber);
  background: rgba(244, 184, 96, .07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
  color: var(--mist);
}

.page-products .ex-account__copy .rule-badge {
  margin: 0 4px;
  font-family: var(--font-mono);
}

.page-products .ex-path {
  display: grid;
  gap: 10px;
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 20, 40, .6);
}

.page-products .ex-path__step {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--ex-panel);
}

.page-products .ex-path__step--end {
  border-color: rgba(77, 227, 234, .55);
  box-shadow: inset 0 0 22px rgba(77, 227, 234, .1);
}

.page-products .ex-path__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--rose);
}

.page-products .ex-path__name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
}

.page-products .ex-path__hint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .ex-path__arrow {
  justify-self: center;
  font-size: 16px;
  color: var(--cyan);
}

/* ---------- 设备矩阵 ---------- */
.page-products .ex-matrix-section {
  border-top: 1px solid var(--line);
}

.page-products .ex-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 20, 40, .66);
}

.page-products .ex-matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .ex-matrix th,
.page-products .ex-matrix td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ex-hair);
}

.page-products .ex-matrix thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--cyan);
  background: rgba(20, 31, 58, .8);
  border-bottom: 1px solid var(--line-strong);
}

.page-products .ex-matrix tbody th {
  font-weight: 600;
  color: var(--bone);
  border-left: 2px solid transparent;
}

.page-products .ex-matrix tbody td {
  color: var(--mist);
  line-height: 1.7;
}

.page-products .ex-matrix tbody tr:last-child th,
.page-products .ex-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .ex-matrix tbody tr:hover th,
.page-products .ex-matrix tbody tr:hover td {
  background: rgba(77, 227, 234, .07);
}

.page-products .ex-matrix tbody tr:hover th {
  border-left-color: var(--cyan);
  color: var(--cyan);
}

/* ---------- 获取与更新 ---------- */
.page-products .ex-get {
  background: #0C1428;
  border-top: 1px solid var(--line);
}

.page-products .ex-get__grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
}

.page-products .ex-get__shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.page-products .ex-get__list {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.page-products .ex-get__list li {
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
  border-left: 1px solid var(--line-strong);
}

.page-products .ex-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.page-products .ex-copy .copy-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
}

/* ---------- 下一步 ---------- */
.page-products .ex-next__grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .ex-next__card {
  display: block;
  padding: 22px 20px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 20, 40, .74);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.page-products .ex-next__card:hover,
.page-products .ex-next__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(77, 227, 234, .6);
  background: rgba(20, 31, 58, .9);
}

.page-products .ex-next__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-products .ex-next__card h3 {
  margin: 8px 0 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--bone);
}

.page-products .ex-next__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-products .ex-next__more {
  margin: 22px 0 0;
  font-size: 13.5px;
}

.page-products .ex-next__more a {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.page-products .ex-next__more a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-products .ex-tour__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .ex-next__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 780px) {
  .page-products .ex-compare {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .page-products .ex-path {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
  }

  .page-products .ex-path__arrow {
    transform: rotate(-90deg);
  }
}

@media (min-width: 900px) {
  .page-products .ex-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-products .ex-stage {
    justify-self: start;
  }

  .page-products .ex-mini__split,
  .page-products .ex-account__grid,
  .page-products .ex-get__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-products .ex-mini__split {
    gap: clamp(30px, 5vw, 56px);
  }

  .page-products .ex-phone {
    width: 84%;
    max-width: 320px;
  }
}

@media (min-width: 1100px) {
  .page-products .ex-stage {
    padding-bottom: 48px;
  }

  .page-products .ex-stage__shot {
    width: 46%;
    max-width: 196px;
  }

  .page-products .ex-get__grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .ex-next__card {
    transition: none;
  }

  .page-products .ex-next__card:hover,
  .page-products .ex-next__card:focus-visible {
    transform: none;
  }
}
