.page-products {
  --products-slice-grad: linear-gradient(135deg, var(--primary-green) 0%, var(--passion-red) 100%);
  --products-card-shadow: 0 10px 24px rgba(17, 21, 26, 0.10);
  --products-card-shadow-hover: 0 16px 32px rgba(17, 21, 26, 0.16);
}

/* ========== 首屏英雄区 ========== */
.page-products .page-products-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  padding: calc(var(--header-height) + 24px) 0 48px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0F1B28 0%, var(--night-blue) 100%);
  color: var(--fog-white);
}

.page-products .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.page-products .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  display: block;
}

.page-products .hero-wrap {
  position: relative;
  z-index: 1;
}

.page-products .hero-slice {
  position: absolute;
  right: -40px;
  bottom: -24px;
  width: 220px;
  height: 72px;
  background: var(--products-slice-grad);
  transform: skewX(-24deg);
  z-index: 1;
  opacity: 0.75;
  pointer-events: none;
}

.page-products .hero-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.page-products .hero-copy h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 8px 0 0;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.page-products .hero-copy .lead {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245, 247, 250, 0.88);
  max-width: 640px;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-products .hero-actions .btn-outline {
  border-color: rgba(245, 247, 250, 0.7);
  color: var(--fog-white);
}

.page-products .hero-actions .btn-outline:hover,
.page-products .hero-actions .btn-outline:focus-visible {
  border-color: var(--primary-green);
  background: rgba(0, 166, 81, 0.15);
  color: #FFFFFF;
}

.page-products .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-products .hero-phone {
  width: 190px;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.35));
}

/* ========== 章节标题 ========== */
.page-products .section-head {
  margin-bottom: 28px;
}

.page-products .section-head h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 8px 0 0;
  color: var(--ink-black);
}

.page-products .section-head .lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ash-gray);
  max-width: 640px;
}

/* ========== 功能概览：四模块并行 ========== */
.page-products .modules-layout {
  display: grid;
  gap: 24px;
}

.page-products .modules-figure {
  margin: 0;
}

.page-products .modules-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: var(--line-width) solid var(--ash-gray);
  box-shadow: 0 16px 32px rgba(17, 21, 26, 0.08);
}

.page-products .modules-figure figcaption,
.page-products .download-visual figcaption,
.page-products .version-bg figcaption,
.page-products .support-figure figcaption {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  text-align: center;
}

.page-products .modules-figure figcaption {
  color: var(--ash-gray);
}

.page-products .module-grid {
  display: grid;
  gap: 16px;
}

.page-products .module-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 20px 20px;
  border: var(--line-width) solid transparent;
  border-radius: var(--radius-card);
  background: var(--fog-white);
  box-shadow: 0 4px 12px rgba(17, 21, 26, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
}

.page-products .module-card:hover,
.page-products .module-card:focus,
.page-products .module-card:focus-within {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: var(--products-card-shadow-hover);
  outline: none;
}

.page-products .module-card h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  margin: 0;
  color: var(--ink-black);
  letter-spacing: -0.01em;
}

.page-products .module-card p {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  color: var(--ink-black);
  opacity: 0.85;
}

.page-products .module-extra {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 247, 250, 0.85);
  border: 1px solid rgba(176, 184, 192, 0.6);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-products .module-card:hover .module-extra,
.page-products .module-card:focus .module-extra,
.page-products .module-card:focus-within .module-extra {
  background: #FFFFFF;
  border-color: var(--primary-green);
  transform: scale(1.04);
}

.page-products .module-live {
  background: linear-gradient(145deg, #DDF7E9 0%, #EFFAF4 45%, var(--fog-white) 100%);
  border-color: var(--primary-green);
}

.page-products .module-report {
  background: linear-gradient(145deg, #FFE3E7 0%, #FFF3F4 45%, var(--fog-white) 100%);
  border-color: var(--passion-red);
}

.page-products .module-rank {
  background: linear-gradient(145deg, #CFE0EC 0%, #EAF1F6 45%, var(--fog-white) 100%);
  border-color: var(--night-blue);
}

.page-products .module-mine {
  background: linear-gradient(145deg, #FFECB3 0%, #FFF8E1 45%, var(--fog-white) 100%);
  border-color: var(--amber-accent);
}

.page-products .tag-amber {
  background: var(--amber-accent);
  border-color: transparent;
  color: var(--ink-black);
}

/* ========== 下载区 ========== */
.page-products .download-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .download-visual {
  margin: 0;
}

.page-products .download-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: var(--line-width) solid rgba(176, 184, 192, 0.5);
}

.page-products .download-visual figcaption {
  color: rgba(245, 247, 250, 0.7);
}

.page-products .download-copy .section-label {
  color: var(--mist-green);
}

.page-products .download-copy h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 8px 0 0;
  color: var(--fog-white);
}

.page-products .download-copy .lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.85);
}

.page-products .sys-req {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}

.page-products .sys-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(176, 184, 192, 0.45);
}

.page-products .sys-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: #FFFFFF;
}

.page-products .sys-desc {
  font-size: 13px;
  color: rgba(245, 247, 250, 0.75);
}

.page-products .download-note {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.8);
  margin-bottom: 20px;
}

.page-products .download-note a,
.page-products .support-copy a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ========== 版本历史：横向滑动 ========== */
.page-products .version-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-products .version-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  background: var(--fog-white);
  border: var(--line-width) solid var(--silver-line);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-products .version-card:hover,
.page-products .version-card:focus-within {
  border-color: var(--primary-green);
  transform: translateY(-4px);
  box-shadow: var(--products-card-shadow);
}

.page-products .version-current {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 1px rgba(0, 166, 81, 0.15);
}

.page-products .version-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-products .version-num {
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--night-blue);
  line-height: 1;
}

.page-products .version-notes {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.page-products .version-notes li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ash-gray);
}

.page-products .version-foot {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.page-products .version-hint {
  font-size: 14px;
  color: var(--ash-gray);
  margin: 0;
}

.page-products .version-hint a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: none;
}

.page-products .version-hint a:hover,
.page-products .version-hint a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .version-bg {
  margin: 16px 0 0;
}

.page-products .version-bg img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: var(--line-width) solid var(--silver-line);
}

.page-products .version-bg figcaption {
  color: var(--ash-gray);
}

/* ========== 技术支持 ========== */
.page-products .support-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .support-figure {
  margin: 0;
}

.page-products .support-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  border: var(--line-width) solid rgba(176, 184, 192, 0.45);
}

.page-products .support-figure figcaption {
  color: rgba(245, 247, 250, 0.7);
}

.page-products .support-copy .section-label {
  color: var(--mist-green);
}

.page-products .support-copy h2 {
  font-size: 28px;
  line-height: 1.3;
  color: var(--fog-white);
  margin: 8px 0 0;
}

.page-products .support-copy .lead {
  color: rgba(245, 247, 250, 0.85);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 12px;
}

.page-products .support-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 8px;
}

.page-products .stat-block {
  flex: 1 1 120px;
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(176, 184, 192, 0.4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.page-products .stat-block .stat-value {
  font-family: var(--font-data);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: var(--primary-green);
  display: block;
}

.page-products .stat-block .stat-label {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 247, 250, 0.75);
  display: block;
  margin-top: 6px;
}

.page-products .support-copy > p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.8);
}

/* ========== 常见问题 ========== */
.page-products .faq-layout {
  display: grid;
  gap: 24px;
}

.page-products .faq-head h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 8px 0 0;
  color: var(--ink-black);
}

.page-products .faq-head .lead {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ash-gray);
  max-width: 620px;
}

.page-products .faq-head .lead a,
.page-products .faq-item a {
  color: var(--primary-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .faq-list {
  display: grid;
  gap: 12px;
}

.page-products .faq-item {
  border: var(--line-width) solid var(--silver-line);
  border-radius: 16px;
  background: var(--fog-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-products .faq-item[open] {
  border-color: var(--primary-green);
  box-shadow: 0 8px 20px rgba(17, 21, 26, 0.08);
}

.page-products .faq-item summary {
  display: block;
  cursor: pointer;
  padding: 18px 48px 18px 20px;
  position: relative;
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-black);
  list-style: none;
}

.page-products .faq-item summary::-webkit-details-marker {
  display: none;
}

.page-products .faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-data);
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-green);
  transition: transform 0.25s ease;
}

.page-products .faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-products .faq-item > p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-black);
  opacity: 0.85;
}

.page-products .faq-more {
  margin-top: 4px;
}

.page-products .faq-more .btn {
  max-width: 340px;
  width: 100%;
}

/* ========== 右下角悬浮下载按钮 ========== */
.page-products .download-fab {
  position: fixed;
  right: 20px;
  bottom: calc(var(--tabbar-height) + 16px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-green);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 166, 81, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-products .download-fab:hover,
.page-products .download-fab:focus-visible {
  background: #008C44;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 166, 81, 0.45);
}

/* ========== 响应式断点 ========== */
@media (min-width: 640px) {
  .page-products .hero-copy h1 {
    font-size: 42px;
  }

  .page-products .hero-phone {
    width: 220px;
  }

  .page-products .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .version-card {
    flex-basis: 300px;
  }
}

@media (min-width: 1024px) {
  .page-products .page-products-hero {
    min-height: 88vh;
    padding-bottom: 80px;
  }

  .page-products .hero-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .page-products .hero-copy {
    flex: 1 1 55%;
  }

  .page-products .hero-visual {
    flex: 1 1 45%;
  }

  .page-products .hero-copy h1 {
    font-size: 52px;
  }

  .page-products .hero-phone {
    width: 250px;
  }

  .page-products .modules-layout {
    grid-template-columns: 0.9fr 1.4fr;
    gap: 32px;
    align-items: center;
  }

  .page-products .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .download-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .page-products .download-visual {
    flex: 1 1 48%;
  }

  .page-products .download-copy {
    flex: 1 1 52%;
  }

  .page-products .version-foot {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 32px;
  }

  .page-products .version-bg {
    margin-top: 0;
  }

  .page-products .support-layout {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .page-products .support-figure {
    flex: 1 1 40%;
  }

  .page-products .support-copy {
    flex: 1 1 60%;
  }

  .page-products .faq-layout {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 48px;
    align-items: start;
  }

  .page-products .download-fab {
    right: 40px;
    bottom: 32px;
  }
}
