/* ===== 安卓版下载页 · 页面作用域样式 ===== */
.page-products {
  --pro-cut: 18px;
  --pro-cut-sm: 12px;
  position: relative;
  background: var(--ink-deep);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-products .pro-hero {
  position: relative;
  padding-top: var(--header-space);
  isolation: isolate;
}

.page-products .pro-hero-media {
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.page-products .pro-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(1.1);
}

.page-products .pro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(70% 60% at 12% 20%, rgba(43, 245, 200, .16), transparent 70%),
    radial-gradient(60% 55% at 88% 8%, rgba(42, 27, 74, .55), transparent 72%),
    linear-gradient(180deg, rgba(4, 20, 15, .55) 0%, rgba(4, 20, 15, .92) 78%, var(--ink-deep) 100%);
  pointer-events: none;
}

.page-products .pro-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 26px 42px;
  max-width: 760px;
}

.page-products .breadcrumb {
  margin-bottom: 20px;
}

.page-products .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

.page-products .breadcrumb-list li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}

.page-products .breadcrumb-list a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}

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

.page-products .breadcrumb-list [aria-current="page"] {
  color: var(--cyan);
}

.page-products .page-title {
  margin: 0 0 16px;
  max-width: 20ch;
}

.page-products .pro-hero-inner .lede {
  max-width: 56ch;
}

/* ---------- 全宽状态条 ---------- */
.page-products .pro-statusbar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, rgba(42, 27, 74, .78) 0%, rgba(4, 20, 15, .9) 48%, rgba(58, 20, 32, .82) 100%);
}

.page-products .pro-statusbar-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 20px;
  padding-block: 18px;
}

.page-products .pro-status-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.page-products .pro-status-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-products .pro-status-val {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}

.page-products .pro-status-val.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-products .pro-status-cell--hot {
  position: relative;
  padding: 10px 16px 10px 18px;
  background: linear-gradient(100deg, rgba(255, 107, 74, .26), rgba(255, 107, 74, .02));
  clip-path: polygon(var(--pro-cut-sm) 0, 100% 0, calc(100% - var(--pro-cut-sm)) 100%, 0 100%);
}

.page-products .pro-status-cell--hot .pro-status-key {
  color: var(--coral-soft);
}

.page-products .pro-status-cell--hot .pro-status-val {
  color: var(--coral);
}

/* ---------- 通用章节微调 ---------- */
.page-products .section {
  padding-block: 58px;
}

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

.page-products .section-head {
  max-width: 62ch;
}

.page-products .section-head .lede {
  margin-top: 12px;
}

/* ---------- 能力模块：非对称拼贴 ---------- */
.page-products .pro-abilities {
  position: relative;
}

.page-products .pro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
}

.page-products .pro-card {
  position: relative;
  padding: 24px 22px 20px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pro-cut)), calc(100% - var(--pro-cut)) 100%, 0 100%);
  transition: border-color .25s ease, background .25s ease;
}

.page-products .pro-card--wide {
  background:
    linear-gradient(150deg, rgba(43, 245, 200, .09), rgba(255, 255, 255, 0) 62%),
    var(--ink-2);
}

.page-products .pro-card--half {
  background:
    linear-gradient(150deg, rgba(42, 27, 74, .6), rgba(255, 255, 255, 0) 70%),
    var(--ink-2);
}

.page-products .pro-card:hover {
  border-color: rgba(43, 245, 200, .45);
}

.page-products .pro-card-index {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 12px;
  color: var(--line);
  letter-spacing: .1em;
}

.page-products .pro-card .tag {
  margin-bottom: 14px;
}

.page-products .pro-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.page-products .pro-card p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

.page-products .pro-card p:last-child {
  margin-bottom: 0;
}

.page-products .pro-card-foot {
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 对照面板：整宽停顿 ---------- */
.page-products .pro-panel .section-head {
  padding-bottom: 30px;
}

.page-products .pro-panel-body {
  position: relative;
  padding-block: 34px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(42, 27, 74, .5) 0%, rgba(4, 20, 15, .94) 70%);
  overflow: hidden;
}

.page-products .pro-panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-products .pro-panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.page-products .pro-panel-inner {
  position: relative;
  z-index: 1;
}

.page-products .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-products .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 35, 28, .72);
}

.page-products .pro-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .pro-table caption {
  padding: 14px 16px;
  text-align: left;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.page-products .pro-table th,
.page-products .pro-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

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

.page-products .pro-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(20, 53, 43, .6);
}

.page-products .pro-table .is-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  text-align: right;
  letter-spacing: .02em;
}

.page-products .pro-table .is-sticky {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #081C16;
  font-weight: 600;
}

.page-products .pro-table thead .is-sticky {
  background: #0C271F;
}

.page-products .pro-table tbody tr:hover td,
.page-products .pro-table tbody tr:hover th {
  background: rgba(43, 245, 200, .06);
}

.page-products .pro-up {
  color: var(--coral);
}

.page-products .pro-down {
  color: var(--cyan);
}

.page-products .pro-panel-inner .note {
  margin-top: 20px;
  max-width: 78ch;
}

/* ---------- 版本迭代：窄栏时间线 ---------- */
.page-products .pro-track-head {
  max-width: 54ch;
}

.page-products .pro-track-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 34px;
}

.page-products .pro-track {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 0;
  list-style: none;
}

.page-products .pro-track::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-deep) 40%, var(--line) 100%);
}

.page-products .pro-track-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.page-products .pro-track-item:last-child {
  margin-bottom: 0;
}

.page-products .pulse-node {
  position: absolute;
  left: 0;
  top: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(43, 245, 200, .14);
}

.page-products .pro-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  overflow: hidden;
}

.page-products .pro-step[open] {
  border-color: rgba(43, 245, 200, .4);
  background: linear-gradient(140deg, rgba(43, 245, 200, .07), rgba(10, 35, 28, 1) 60%);
}

.page-products .pro-step > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 16px 44px 16px 18px;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.page-products .pro-step > summary::-webkit-details-marker {
  display: none;
}

.page-products .pro-step > summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cyan);
  transition: transform .22s ease;
}

.page-products .pro-step[open] > summary::after {
  content: "−";
  transform: rotate(180deg);
}

.page-products .pro-step-stage {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-products .pro-step-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.page-products .pro-step-body {
  padding: 0 18px 18px;
  border-top: 1px dashed var(--line);
  margin-top: 0;
}

.page-products .pro-step-body p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.page-products .pro-track-figure {
  margin: 0;
}

.page-products .pro-track-figure .media {
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pro-track-figure .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 设备适配 ---------- */
.page-products .pro-fit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 32px;
}

.page-products .pro-fit-figure {
  margin: 0;
}

.page-products .pro-fit-figure .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-products .pro-fit-figure .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pro-fit-body h3 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -.02em;
}

.page-products .pro-fit-body h3 + .pro-fit-list + h3 {
  margin-top: 30px;
}

.page-products .pro-fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-products .pro-fit-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.page-products .pro-fit-key {
  display: inline-block;
  min-width: 84px;
  margin-right: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--cyan);
}

.page-products .pro-fit-body .note {
  margin-top: 24px;
}

/* ---------- 订阅提醒 ---------- */
.page-products .pro-subscribe-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 26px;
  padding: 26px 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 107, 74, .14), transparent 62%),
    linear-gradient(160deg, rgba(43, 245, 200, .08), rgba(4, 20, 15, 0) 55%),
    var(--ink-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  overflow: hidden;
}

.page-products .pro-subscribe-media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .pro-subscribe-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: .8;
}

.page-products .pro-subscribe-copy .section-title {
  margin: 10px 0 14px;
}

.page-products .pro-subscribe-copy p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.8;
}

.page-products .pro-subscribe-meta {
  font-size: 13.5px;
  color: var(--muted);
}

.page-products .pro-subscribe-meta .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--coral);
}

.page-products .pro-subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ---------- 页尾分流 ---------- */
.page-products .pro-outro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 30px;
}

.page-products .pro-outro-card {
  display: block;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--text);
  text-decoration: none;
  transition: border-color .25s ease, transform .25s ease;
}

.page-products .pro-outro-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.page-products .pro-outro-tag {
  margin-bottom: 14px;
}

.page-products .pro-outro-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.page-products .pro-outro-card p {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .pro-outro-go {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--cyan);
}

/* ---------- 平板 ---------- */
@media (min-width: 720px) {
  .page-products .pro-statusbar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .page-products .pro-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  .page-products .pro-card--wide {
    grid-column: span 4;
  }

  .page-products .pro-card--half {
    grid-column: span 2;
  }

  .page-products .pro-card--third {
    grid-column: span 2;
  }

  .page-products .pro-track-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .pro-fit-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
  }

  .page-products .pro-subscribe-card {
    grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
    align-items: center;
    padding: 30px 28px 32px;
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 1000px) {
  .page-products .pro-statusbar-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding-block: 20px;
  }

  .page-products .section {
    padding-block: 76px;
  }

  .page-products .pro-hero-inner {
    padding-block: 34px 54px;
  }

  .page-products .pro-grid {
    gap: 22px;
  }

  .page-products .pro-card {
    padding: 28px 26px 24px;
  }

  .page-products .pro-track-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
  }

  .page-products .pro-fit-layout {
    gap: 48px;
  }

  .page-products .pro-subscribe-card {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: 38px;
    padding: 36px 34px 38px;
  }
}

/* ---------- 减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-products .pro-card,
  .page-products .pro-outro-card,
  .page-products .pro-step > summary::after {
    transition: none;
  }

  .page-products .pro-outro-card:hover {
    transform: none;
  }
}
