.page-products {
  background-color: var(--snow-white);
  color: var(--ink-black);
  overflow-x: hidden;
}

/* ---------- 面包屑 ---------- */
.page-products .breadcrumb {
  padding: 16px 0 8px;
}

.page-products .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--slate-gray);
}

.page-products .breadcrumb a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.page-products .breadcrumb a:hover {
  text-decoration: underline;
}

/* ---------- 下载英雄区 ---------- */
.page-products .download-hero {
  border-bottom: var(--border-w) solid var(--ink-black);
  padding: 40px 0 56px;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  position: relative;
}

.page-products .download-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 180px;
  height: 8px;
  background: var(--brand-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}

.page-products .download-hero-inner {
  display: grid;
  gap: 40px;
}

.page-products .download-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .download-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 20px 0 16px;
}

.page-products .hero-lead {
  font-size: 18px;
  line-height: 1.6;
}

.page-products .hero-lead strong {
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 24px;
  background: rgba(30, 136, 229, 0.1);
  padding: 2px 8px;
}

.page-products .hero-note {
  font-size: 15px;
  color: var(--slate-gray);
  border-left: 4px solid var(--brand-blue);
  padding-left: 16px;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.page-products .hero-note a {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.page-products .hero-note a:hover {
  text-decoration: underline;
}

.page-products .platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-products .download-actions .btn {
  display: inline-flex;
  align-items: center;
}

.page-products .download-hint {
  display: block;
  font-size: 13px;
  color: var(--slate-gray);
  margin-top: 12px;
}

.page-products .qr-code {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: var(--border-w) solid var(--ink-black);
  padding: 10px 16px 10px 10px;
  background: var(--snow-white);
  box-shadow: 6px 6px 0 var(--gold-amber);
}

.page-products .qr-code img {
  display: block;
  width: 96px;
  height: auto;
  border: var(--border-w) solid var(--ink-black);
}

.page-products .qr-code p {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

/* ---------- 手机 Mock ---------- */
.page-products .download-hero-visual {
  position: relative;
}

.page-products .phone-mock {
  position: relative;
  width: 240px;
  max-width: 100%;
  margin: 0 auto;
  border: 3px solid var(--ink-black);
  box-shadow: 10px 10px 0 var(--brand-blue);
  background: var(--snow-white);
}

.page-products .phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 18px;
  background: var(--ink-black);
  z-index: 2;
}

.page-products .phone-screen {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .hero-coord {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-family: "Courier New", monospace;
  font-size: 12px;
  color: var(--slate-gray);
  letter-spacing: 0.12em;
}

/* ---------- 版本记录区 ---------- */
.page-products .version-section {
  padding: 64px 0;
  border-bottom: var(--border-w) solid var(--ink-black);
}

.page-products .version-section h2,
.page-products .troubleshoot-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}

.page-products .version-section .section-intro,
.page-products .troubleshoot-section .section-intro {
  max-width: 720px;
  margin: 0;
  color: var(--slate-gray);
  line-height: 1.75;
  font-size: 16px;
}

.page-products .version-banner {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 24px auto;
  border: var(--border-w) solid var(--ink-black);
  box-shadow: 6px 6px 0 var(--ink-black);
}

.page-products .timeline {
  position: relative;
  padding-left: 28px;
  margin-top: 40px;
  display: grid;
  gap: 32px;
}

.page-products .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--ink-black);
}

.page-products .timeline-item {
  position: relative;
  background: var(--snow-white);
  border: var(--border-w) solid var(--ink-black);
  box-shadow: 4px 4px 0 var(--ink-black);
  padding: 20px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .timeline-item:hover {
  box-shadow: 6px 6px 0 var(--brand-blue);
  transform: translate(-2px, -2px);
}

.page-products .timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 22px;
  width: 14px;
  height: 14px;
  background: var(--brand-blue);
  border: 2px solid var(--ink-black);
  z-index: 1;
}

.page-products .timeline-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 6px;
  background: var(--brand-blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-products .timeline-version {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-products .version-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-products .timeline-body h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.page-products .timeline-body ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 15px;
  color: var(--slate-gray);
}

.page-products .timeline-body li + li {
  margin-top: 4px;
}

/* ---------- 平板适配矩阵 ---------- */
.page-products .tablet-section {
  padding: 64px 0;
  background: var(--deep-blue);
  color: var(--snow-white);
}

.page-products .tablet-section .section-label {
  border-color: rgba(247, 249, 252, 0.5);
}

.page-products .tablet-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  margin: 16px 0 12px;
  color: var(--snow-white);
  letter-spacing: -0.02em;
}

.page-products .tablet-section .section-intro {
  max-width: 720px;
  color: rgba(247, 249, 252, 0.7);
  line-height: 1.75;
  margin-bottom: 24px;
}

.page-products .tablet-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgba(247, 249, 252, 0.5);
  margin: 0 0 24px;
}

.page-products .table-scroll {
  overflow-x: auto;
  border: 2px solid rgba(247, 249, 252, 0.5);
  background: var(--snow-white);
  box-shadow: 8px 8px 0 var(--brand-blue);
}

.page-products .device-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: var(--ink-black);
}

.page-products .device-table th {
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  background: linear-gradient(120deg, var(--ink-black) 0%, var(--ink-black) 82%, var(--brand-blue) 82%, var(--brand-blue) 100%);
  color: var(--snow-white);
  border-right: 2px solid rgba(247, 249, 252, 0.2);
  white-space: nowrap;
}

.page-products .device-table th:last-child {
  border-right: none;
}

.page-products .device-table td {
  padding: 16px 18px;
  border-top: 2px solid var(--ink-black);
  font-size: 15px;
}

.page-products .device-table tbody tr:nth-child(even) {
  background: #eef3f8;
}

.page-products .device-table tbody tr:hover {
  background: rgba(30, 136, 229, 0.08);
}

.page-products .status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 0;
}

.page-products .status-green {
  background: var(--grass-green);
  border: 1px solid #1d5e20;
}

.page-products .status-yellow {
  background: var(--gold-amber);
  border: 1px solid #8a6200;
}

.page-products .status-red {
  background: var(--blood-red);
  border: 1px solid #8f1d1a;
}

.page-products .table-note {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(247, 249, 252, 0.65);
  line-height: 1.6;
}

.page-products .table-note a {
  color: #90caf9;
  font-weight: 600;
  text-decoration: none;
}

.page-products .table-note a:hover {
  text-decoration: underline;
}

/* ---------- 排查清单 ---------- */
.page-products .troubleshoot-section {
  padding: 64px 0;
  border-bottom: var(--border-w) solid var(--ink-black);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  background-color: var(--snow-white);
}

.page-products .troubleshoot-section h2 {
  margin-bottom: 12px;
}

.page-products .troubleshoot-section .section-intro {
  margin-bottom: 32px;
}

.page-products .trouble-wrap {
  display: grid;
  gap: 40px;
}

.page-products .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-products .check-item {
  display: flex;
  gap: 16px;
  border: var(--border-w) solid var(--ink-black);
  background: var(--snow-white);
  padding: 18px;
  box-shadow: 4px 4px 0 var(--ink-black);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .check-item:hover {
  box-shadow: 6px 6px 0 var(--brand-blue);
  transform: translate(-2px, -2px);
}

.page-products .check-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ink-black);
  color: var(--snow-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 16px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-products .check-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.page-products .check-content p {
  font-size: 15px;
  color: var(--slate-gray);
  line-height: 1.7;
  margin: 0;
}

.page-products .check-content a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
}

.page-products .check-content a:hover {
  text-decoration: underline;
}

.page-products .trouble-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--border-w) solid var(--ink-black);
  box-shadow: 8px 8px 0 var(--brand-blue);
}

.page-products .related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid rgba(20, 24, 29, 0.1);
}

.page-products .related-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  border: var(--border-w) solid var(--ink-black);
  padding: 10px 18px;
  background: var(--snow-white);
  box-shadow: 3px 3px 0 var(--ink-black);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .related-links a:hover {
  box-shadow: 5px 5px 0 var(--brand-blue);
  transform: translate(-2px, -2px);
}

/* ---------- 桌面端适配 ---------- */
@media (min-width: 900px) {
  .page-products .download-hero {
    padding: 72px 0 96px;
  }

  .page-products .download-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 60px;
  }

  .page-products .phone-mock {
    width: 280px;
  }

  .page-products .qr-code img {
    width: 110px;
  }

  .page-products .timeline {
    padding-left: 40px;
  }

  .page-products .timeline-item::before {
    left: -46px;
  }

  .page-products .trouble-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 640px) {
  .page-products .qr-code {
    padding: 14px 20px 14px 14px;
  }

  .page-products .qr-code img {
    width: 104px;
  }

  .page-products .version-num {
    font-size: 32px;
  }
}
