/* =====================================================
   页面专属样式 · APP下载（/app-download/）
   作用域：.page-products
   ===================================================== */
.page-products {
  --pd-slice-sm: 28px;
  --pd-grid: rgba(0, 240, 255, 0.07);
  overflow-x: clip;
}

/* ---------- 通用调整 ---------- */
.products-section {
  scroll-margin-top: 120px;
  padding: clamp(56px, 8vw, 104px) 0;
}

.page-products .breadcrumbs {
  margin-bottom: 18px;
  font-size: 13px;
}

.page-products .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .breadcrumbs li + li::before {
  content: "／";
  margin-right: 8px;
  color: rgba(143, 163, 196, 0.5);
}

.page-products .breadcrumbs a {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.page-products .breadcrumbs a:hover {
  color: var(--c-cyan);
}

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

.page-products .section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(143, 163, 196, 0.24);
}

.page-products .section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
  line-height: 1.12;
  color: var(--c-ice);
}

.page-products .section-head__meta {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--c-muted);
  white-space: nowrap;
}

.page-products .theme-panel {
  background: linear-gradient(180deg, var(--c-panel) 0%, var(--c-ink) 100%);
}

.products-section__intro {
  max-width: 62ch;
  margin: 0 0 30px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-muted);
}

/* ---------- 首屏 Hero ---------- */
.products-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
  background: radial-gradient(120% 120% at 80% 10%, #241447 0%, var(--c-indigo) 42%, var(--c-ink) 100%);
}

.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--pd-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--pd-grid) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 28% 24%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at 28% 24%, #000 10%, transparent 72%);
}

.products-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 44px;
  align-items: center;
}

.products-hero__media {
  position: relative;
}

.products-device {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 12px;
  background: linear-gradient(150deg, rgba(234, 244, 255, 0.16), rgba(234, 244, 255, 0.03));
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 26px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(0, 240, 255, 0.14);
  transform: rotate(-2deg);
}

.products-device__screen {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-ink);
}

.products-device__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-device__scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(0, 240, 255, 0.22) 46%, transparent 60%);
  animation: products-scan 4.5s ease-in-out infinite;
}

@keyframes products-scan {
  0%, 100% { transform: translateX(-28%); opacity: 0.45; }
  50% { transform: translateX(28%); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .products-device__scanline { animation: none; }
}

.products-device__bar {
  width: 92px;
  height: 4px;
  margin: 12px auto 4px;
  border-radius: 99px;
  background: rgba(234, 244, 255, 0.32);
}

.products-hero__stamp {
  position: absolute;
  right: 4%;
  bottom: 18%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--c-orange);
  color: #1A0A00;
  transform: rotate(6deg);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.4);
}

.products-hero__stamp-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.products-hero__stamp-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.products-hero__caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-muted);
}

.products-hero__content {
  position: relative;
  z-index: 2;
}

.products-hero__kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
  background: rgba(0, 240, 255, 0.1);
  border-left: 3px solid var(--c-cyan);
}

.products-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  color: var(--c-ice);
}

.products-hero__lead {
  max-width: 34em;
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-muted);
}

.products-hero__features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.products-hero__features li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: rgba(19, 26, 41, 0.78);
  border: 1px solid rgba(143, 163, 196, 0.24);
  border-radius: var(--radius);
  color: var(--c-ice);
  font-size: 0.93rem;
  line-height: 1.55;
}

.products-hero__features li:nth-child(1) { border-left: 3px solid var(--c-cyan); }
.products-hero__features li:nth-child(2) { border-left: 3px solid var(--c-orange); }
.products-hero__features li:nth-child(3) { border-left: 3px solid var(--c-purple); }
.products-hero__features li:nth-child(4) { border-left: 3px solid rgba(0, 240, 255, 0.55); }

.products-hero__features li:nth-child(1) svg { color: var(--c-cyan); }
.products-hero__features li:nth-child(2) svg { color: var(--c-orange); }
.products-hero__features li:nth-child(3) svg { color: var(--c-purple); }
.products-hero__features li:nth-child(4) svg { color: var(--c-cyan); }

.products-hero__features svg {
  flex: 0 0 18px;
  margin-top: 3px;
  filter: drop-shadow(0 0 6px currentColor);
}

.products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.products-hero__rail {
  position: absolute;
  z-index: 1;
  top: 18%;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: rgba(143, 163, 196, 0.6);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.products-hero__rail--left { left: 16px; }
.products-hero__rail--right { right: 16px; }

.products-hero__corner {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36vw;
  max-width: 360px;
  height: 5vw;
  max-height: 72px;
  background: linear-gradient(100deg, var(--c-orange), rgba(255, 106, 0, 0.55));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.9;
}

/* ---------- 吸顶模块导航 ---------- */
.products-modnav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(13, 19, 32, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.products-modnav__inner {
  display: flex;
  gap: 4px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.products-modnav__inner::-webkit-scrollbar {
  display: none;
}

.products-modnav__link {
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 99px;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.products-modnav__link:hover,
.products-modnav__link.is-active {
  color: var(--c-cyan);
  border-color: rgba(0, 240, 255, 0.55);
  background: rgba(0, 240, 255, 0.08);
}

/* ---------- 01 适配概览 ---------- */
.products-adapt__grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.products-adapt__lead p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--c-muted);
}

.products-adapt__lead p:last-child {
  margin-bottom: 0;
}

.products-adapt__stages {
  display: grid;
  gap: 14px;
}

.products-stage {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, rgba(19, 26, 41, 0.94), rgba(10, 14, 23, 0.88));
  border: 1px solid rgba(143, 163, 196, 0.2);
  border-radius: var(--radius);
}

.products-stage::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 66px;
  height: 66px;
  background: rgba(0, 240, 255, 0.1);
  transform: rotate(45deg);
}

.products-stage--tablet::after { background: rgba(0, 240, 255, 0.14); }
.products-stage--split::after { background: rgba(123, 47, 255, 0.2); }
.products-stage--vertical::after { background: rgba(255, 106, 0, 0.16); }

.products-stage__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #003038;
  background: var(--c-cyan);
}

.products-stage--split .products-stage__tag {
  color: var(--c-ice);
  background: var(--c-purple);
}

.products-stage--vertical .products-stage__tag {
  color: #2A1500;
  background: var(--c-orange);
}

.products-stage h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--c-ice);
}

.products-stage p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-muted);
}

/* ---------- 02 平板观赛分区 ---------- */
.products-section--tablet {
  position: relative;
  background: linear-gradient(150deg, var(--c-indigo) 0%, #0C1424 55%, var(--c-ink) 100%);
  clip-path: polygon(0 0, 100% 2.4vw, 100% calc(100% - 2.4vw), 0 100%);
}

.products-tablet__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.products-tablet__zones {
  display: grid;
  gap: 14px;
}

.products-zone {
  position: relative;
  padding: 20px 18px 18px 58px;
  background: rgba(19, 26, 41, 0.82);
  border: 1px solid rgba(143, 163, 196, 0.2);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.products-zone:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.products-zone--side { border-left: 3px solid var(--c-cyan); }
.products-zone--main { border-left: 3px solid var(--c-orange); }
.products-zone--dock { border-left: 3px solid var(--c-purple); }

.products-zone__num {
  position: absolute;
  left: 14px;
  top: 18px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-cyan);
}

.products-zone--main .products-zone__num { color: var(--c-orange); }
.products-zone--dock .products-zone__num { color: var(--c-purple); }

.products-zone h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--c-ice);
}

.products-zone p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-muted);
}

.products-tablet__wire {
  position: relative;
  min-height: 320px;
  padding: 22px;
  background: rgba(10, 14, 23, 0.72);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 14px;
  box-shadow: inset 0 0 40px rgba(0, 240, 255, 0.06);
}

.products-wire {
  display: grid;
  grid-template-columns: 24% 1fr;
  grid-template-rows: 1fr 15%;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 270px;
}

.products-wire__side,
.products-wire__main,
.products-wire__dock {
  border-radius: 7px;
  padding: 12px;
}

.products-wire__side {
  grid-row: 1 / 3;
  background: rgba(0, 240, 255, 0.16);
  border: 1px dashed rgba(0, 240, 255, 0.6);
}

.products-wire__main {
  background: rgba(255, 106, 0, 0.15);
  border: 1px dashed rgba(255, 106, 0, 0.6);
}

.products-wire__dock {
  background: rgba(123, 47, 255, 0.16);
  border: 1px dashed rgba(123, 47, 255, 0.6);
}

.products-wire span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(234, 244, 255, 0.7);
}

/* ---------- 03 国内乐竞板块订阅入口 ---------- */
.products-section--subscribe {
  position: relative;
  background: linear-gradient(140deg, var(--c-teal) 0%, #0A2830 60%, #071A21 100%);
  clip-path: polygon(0 0, 100% 2.4vw, 100% 100%, 0 calc(100% - 2.4vw));
}

.products-sub__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.products-sub__content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--c-ice);
  opacity: 0.92;
}

.products-sub__content ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.products-sub__content li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.products-sub__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-orange);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.45);
}

/* ---------- 04 下载方式与版本状态 ---------- */
.products-section--download {
  background: linear-gradient(145deg, var(--c-wine) 0%, #2B0B22 55%, #1C0B1B 100%);
  clip-path: polygon(0 0, 100% 2.4vw, 100% 100%, 0 calc(100% - 2.4vw));
}

.products-download__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.products-version h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--c-ice);
}

.products-version__scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 163, 196, 0.2);
  background: rgba(10, 14, 23, 0.6);
}

.products-version__table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  text-align: left;
}

.products-version__table th {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.045);
}

.products-version__table td {
  padding: 12px 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-ice);
  border-top: 1px solid rgba(143, 163, 196, 0.18);
  vertical-align: middle;
}

.products-badge {
  position: relative;
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  cursor: help;
}

.products-badge--cyan {
  color: #003038;
  background: var(--c-cyan);
}

.products-badge--purple {
  color: #EDE4FF;
  background: var(--c-purple);
}

.products-badge--orange {
  color: #241100;
  background: var(--c-orange);
}

.products-badge::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 6;
  transform: translateX(-50%) translateY(4px);
  min-width: 120px;
  padding: 6px 10px;
  background: var(--c-ink);
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-ice);
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.products-badge:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.products-version .btn {
  margin-top: 18px;
}

.products-download__timeline {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(143, 163, 196, 0.22);
}

/* ---------- 05 收藏整理跨设备 ---------- */
.products-section--collect {
  background: linear-gradient(160deg, #151033 0%, var(--c-indigo) 45%, var(--c-ink) 100%);
  clip-path: polygon(0 0, 100% 2.4vw, 100% 100%, 0 100%);
}

.products-collect__grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.products-collect__content p {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--c-ice);
}

.products-collect__content ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.products-collect__content li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--c-muted);
}

.products-collect__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--c-purple);
  box-shadow: 0 0 8px rgba(123, 47, 255, 0.5);
}

/* ---------- 图片说明 ---------- */
.products-figure {
  margin: 0;
}

.products-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(143, 163, 196, 0.26);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.products-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

/* ---------- FAQ ---------- */
.products-faq__list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.products-faq__item {
  background: rgba(19, 26, 41, 0.86);
  border: 1px solid rgba(143, 163, 196, 0.2);
  border-radius: var(--radius);
  padding: 4px 18px;
}

.products-faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 34px 16px 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-ice);
}

.products-faq__item summary::-webkit-details-marker {
  display: none;
}

.products-faq__item summary::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 28px;
  width: 4px;
  height: 20px;
  background: var(--c-cyan);
}

.products-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--c-cyan);
  transition: transform 0.25s var(--ease-out);
}

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

.products-faq__item p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--c-muted);
}

.products-faq__more {
  margin: 30px 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--c-muted);
}

.products-faq__more a {
  color: var(--c-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 240, 255, 0.4);
  transition: border-color 0.2s;
}

.products-faq__more a:hover {
  border-color: var(--c-cyan);
}

/* ---------- 响应式断点 ---------- */
@media (min-width: 700px) {
  .products-adapt__stages {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-adapt__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
  }
}

@media (min-width: 960px) {
  .products-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 60px;
  }

  .products-tablet__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 48px;
  }

  .products-sub__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }

  .products-download__grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
  }

  .products-collect__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .products-hero__rail {
    top: 20%;
  }
}
