.page-products {
  --page-line-fade: rgba(255, 255, 255, 0.02);
  --page-phone-max: 380px;
  background-image:
    linear-gradient(var(--page-line-fade) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-line-fade) 1px, transparent 1px),
    linear-gradient(180deg, var(--space-deep) 0%, #0B1B36 46%, var(--space-deep) 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  background-repeat: repeat;
  color: var(--text-light);
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

/* 面包屑 */
.page-products .breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

/* 首屏布局 */
.page-products .product-hero {
  position: relative;
  padding: 28px 0 52px;
}

.page-products .platform-switch {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-products .platform-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.page-products .hero-main {
  order: 1;
  min-width: 0;
}

.page-products .phone-block {
  order: 2;
  position: relative;
  width: min(260px, 74vw);
  margin: 22px auto 0;
}

.page-products .phone-block::before {
  content: "";
  position: absolute;
  top: 8px;
  right: -18px;
  bottom: -12px;
  left: 26px;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.26), rgba(201, 255, 61, 0.08));
  clip-path: polygon(8% 2%, 96% 0%, 76% 100%, 0% 86%);
}

.page-products .app-icon {
  position: absolute;
  top: -30px;
  right: -14px;
  z-index: 3;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.page-products .phone-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 500 / 900;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 30px;
  background: var(--space-deep);
  box-shadow:
    0 34px 70px rgba(0, 0, 0, 0.4),
    inset 0 0 0 3px rgba(255, 255, 255, 0.03);
}

.page-products .phone-screen-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.page-products .phone-notch {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 4;
  width: 44%;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 14px;
  background: rgba(8, 18, 40, 0.92);
}

.page-products .screen-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 48px 14px 16px;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.24) 0%, rgba(8, 18, 40, 0.78) 42%, rgba(8, 18, 40, 0.94) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.page-products .screen-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
}

.page-products .screen-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .screen-panel li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.4;
  border-left: 2px solid var(--orange);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.page-products .screen-panel li span {
  color: var(--text-secondary);
}

.page-products .screen-panel li strong {
  color: var(--text-light);
  font-weight: 600;
}

.page-products .screen-panel li em {
  font-style: normal;
  text-align: right;
  color: var(--green);
}

.page-products .screen-status {
  margin: 0;
  padding-top: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  border-top: 1px solid var(--hairline);
}

.page-products .screen-count {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.page-products .screen-count-num {
  margin: -4px 0 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--orange);
}

.page-products #plat-ios:checked ~ .phone-block .screen-ios,
.page-products #plat-android:checked ~ .phone-block .screen-android,
.page-products #plat-web:checked ~ .phone-block .screen-web {
  opacity: 1;
  visibility: visible;
}

/* 首屏文案 */
.page-products .hero-copy .eyebrow {
  margin-bottom: 14px;
}

.page-products .hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 900;
}

.page-products .hero-title .orange {
  color: var(--orange);
}

.page-products .hero-lead {
  max-width: 62ch;
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-products .hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.page-products .hero-note::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(201, 255, 61, 0.18);
}

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

/* 平台下载卡片 */
.page-products .platform-cards {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.page-products .platform-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(19, 38, 66, 0.85), rgba(19, 38, 66, 0.45));
  cursor: pointer;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-products .platform-card:hover {
  border-color: var(--orange);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.page-products .platform-index {
  grid-row: span 2;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
}

.page-products .platform-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-light);
}

.page-products .platform-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.page-products .platform-action {
  grid-column: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  transition: color 0.2s ease;
}

.page-products .platform-card:hover .platform-action {
  color: var(--orange);
}

.page-products .platform-radio:checked ~ .hero-main .platform-cards label[for="plat-ios"],
.page-products .platform-radio:checked ~ .hero-main .platform-cards label[for="plat-android"],
.page-products .platform-radio:checked ~ .hero-main .platform-cards label[for="plat-web"] {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
}

/* 会员板块与比分表 */
.page-products .dual-panel-section {
  position: relative;
}

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

.page-products .section-lead {
  max-width: 68ch;
  margin: -6px 0 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-products .dual-grid {
  gap: 16px;
  margin-bottom: 28px;
}

.page-products .feature-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.page-products .feature-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 4px;
  height: calc(100% - 40px);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--orange), var(--green));
}

.page-products .feature-card .card-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}

.page-products .feature-list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-products .feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-light);
}

.page-products .feature-list li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.page-products .feature-note {
  margin: 0 0 16px;
  padding-left: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  border-left: 2px solid var(--hairline);
}

.page-products .text-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 255, 61, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.page-products .ui-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 2px);
  background: var(--space-deep);
}

.page-products .ui-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .ui-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-top: 1px solid var(--hairline);
}

/* 特色功能 */
.page-products .feature-highlights {
  position: relative;
}

.page-products .highlight-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.page-products .highlight-card {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 38, 66, 0.75), rgba(8, 18, 40, 0.4));
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-products .highlight-card:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.page-products .highlight-stat {
  display: block;
  margin-bottom: 10px;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--orange);
}

.page-products .highlight-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.page-products .highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-products .sync-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 2px);
}

.page-products .sync-figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.9);
}

/* 版本演进 */
.page-products .version-section {
  position: relative;
}

.page-products .version-track {
  display: flex;
  gap: 14px;
  margin: 8px -24px 0;
  padding: 8px 24px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.page-products .version-item {
  position: relative;
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(150deg, rgba(19, 38, 66, 0.88), rgba(19, 38, 66, 0.5));
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.page-products .version-item:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.page-products .version-item::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -14px;
  left: -14px;
  z-index: 1;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--hairline) 18%, var(--hairline) 82%, transparent);
}

.page-products .version-dot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: var(--space-deep);
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.page-products .version-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.page-products .version-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-products .section-footnote {
  margin: 22px 0 0;
  font-size: 14px;
}

/* 下载与安装说明 */
.page-products .download-guide {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}

.page-products .guide-bg {
  position: absolute;
  inset: 0;
}

.page-products .guide-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
}

.page-products .guide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 40, 0.86), rgba(8, 18, 40, 0.62));
}

.page-products .guide-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-products .qr-block {
  width: min(220px, 72vw);
  margin: 0 auto;
  padding: 18px;
  border-radius: calc(var(--radius) + 4px);
  background: rgba(244, 247, 251, 0.95);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.page-products .qr-svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .qr-block p {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--space-deep);
}

.page-products .guide-list .eyebrow,
.page-products .guide-list .section-title {
  margin-bottom: 20px;
}

.page-products .guide-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.page-products .guide-steps li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-products .step-num {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  color: var(--orange);
}

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

/* 响应式 */
@media (min-width: 720px) {
  .page-products .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .guide-inner {
    flex-direction: row;
    align-items: center;
  }

  .page-products .qr-block {
    flex: 0 0 220px;
    width: 220px;
  }
}

@media (min-width: 900px) {
  .page-products .platform-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-products .product-hero {
    padding: 44px 0 76px;
  }

  .page-products .platform-switch {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .page-products .hero-main {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 32px;
    order: 0;
  }

  .page-products .phone-block {
    flex: 0 0 var(--page-phone-max);
    order: 0;
    width: var(--page-phone-max);
    max-width: var(--page-phone-max);
    margin: 0;
  }

  .page-products .platform-cards {
    margin-top: 0;
  }

  .page-products .guide-inner {
    gap: 64px;
  }

  .page-products .version-track {
    margin: 8px 0 0;
    padding: 8px 0 20px;
    overflow: visible;
  }

  .page-products .version-item {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-products .dual-grid {
    align-items: stretch;
  }
}
