/* ========================================
   page-products — 江南平台产品服务
   页面专属样式
   ======================================== */

.page-products {
  --page-deco-green: var(--accent-fluorescent-green);
  --page-deco-cyan: var(--secondary-cyan-surface);
  --page-deco-red: var(--signal-red);
}

.page-products {
  position: relative;
}

/* ---------- 目录侧栏微调 ---------- */
.page-products .section-nav {
  z-index: 8;
}
.page-products .section-nav-label {
  font-family: var(--font-editorial);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- 产品总览 ---------- */
.page-products .products-overview {
  position: relative;
  overflow: hidden;
}
.page-products .products-overview::before {
  content: "";
  position: absolute;
  top: 0;
  right: -8%;
  width: 260px;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--page-deco-green) 55%, var(--page-deco-green));
  transform: skewX(-32deg);
  z-index: 1;
  pointer-events: none;
}
.page-products .page-badge {
  position: absolute;
  top: 28px;
  right: -40px;
  transform: rotate(90deg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 247, 245, 0.42);
  white-space: nowrap;
  pointer-events: none;
}
.page-products .products-overview .container {
  padding-top: 32px;
  padding-bottom: 52px;
}
.page-products .overview-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}
.page-products .overview-copy {
  max-width: 680px;
}
.page-products .overview-copy .lead {
  margin: 8px 0 14px;
}
.page-products .overview-copy h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 6px 0 12px;
}
.page-products .overview-meta {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 247, 245, 0.78);
  max-width: 52ch;
}
.page-products .overview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}
.page-products .overview-stats .stat {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(12, 64, 80, 0.72);
  border: 1px solid rgba(201, 247, 58, 0.28);
}
.page-products .overview-stats .stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--page-deco-green);
}
.page-products .overview-stats .stat-label {
  font-size: 13px;
  color: rgba(244, 247, 245, 0.72);
}
.page-products .overview-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(12, 64, 80, 0.58);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.24);
}
.page-products .overview-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- 服务锚点 ---------- */
.page-products .service-anchors {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.page-products .service-anchor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--page-deco-cyan);
  border: 1px solid transparent;
  color: var(--paper);
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}
.page-products .service-anchor:hover,
.page-products .service-anchor:focus-visible {
  border-color: var(--page-deco-green);
  transform: translateY(-2px);
  background: rgba(12, 64, 80, 0.88);
}
.page-products .anchor-index {
  font-size: 16px;
  font-weight: 700;
  color: var(--page-deco-green);
}
.page-products .anchor-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page-products .anchor-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--paper);
}
.page-products .anchor-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 247, 245, 0.68);
}
.page-products .anchor-arrow {
  margin-left: auto;
  color: var(--page-deco-green);
  font-size: 20px;
  line-height: 1;
}

/* ---------- 通用章节排版 ---------- */
.page-products section {
  scroll-margin-top: 84px;
}
.page-products .section-label {
  font-family: var(--font-editorial);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 8px;
}
.page-products h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(23px, 4.5vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.page-products .lead {
  margin-bottom: 16px;
}

/* ---------- 赛程模块 ---------- */
.page-products .schedule-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.page-products .schedule-visual {
  order: 1;
  display: flex;
  justify-content: center;
}
.page-products .schedule-copy {
  order: 2;
}
.page-products .phone-frame {
  position: relative;
  width: min(300px, 100%);
  padding: 10px 10px 14px;
  border-radius: 32px;
  background: #071A20;
  box-shadow:
    0 14px 34px rgba(6, 42, 51, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.page-products .phone-frame::before {
  content: "";
  display: block;
  width: 72px;
  height: 8px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}
.page-products .phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.page-products .feature-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(6, 42, 51, 0.06);
}
.page-products .feature-list h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
}
.page-products .feature-list p {
  font-size: 14px;
  line-height: 1.65;
  color: #2B4250;
  margin: 0;
}
.page-products .feature-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-deep-cyan);
  color: var(--page-deco-green);
}
.page-products .feature-icon svg {
  width: 20px;
  height: 20px;
}

/* ---------- 旧版对照 ---------- */
.page-products .legacy-data {
  position: relative;
}
.page-products .legacy-data::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 8px;
  background: linear-gradient(90deg, transparent 8%, var(--dark-red) 40%, var(--dark-red) 72%, transparent 92%);
  opacity: 0.45;
  pointer-events: none;
}
.page-products .legacy-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 52px;
}
.page-products .legacy-copy .lead {
  color: rgba(244, 247, 245, 0.78);
}
.page-products .legacy-route {
  margin: 18px 0;
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: rgba(12, 64, 80, 0.66);
  border-left: 4px solid var(--dark-red);
}
.page-products .legacy-route .exhibit-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.page-products .path-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.page-products .path-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 245, 0.84);
}
.page-products .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--page-deco-green);
  color: var(--primary-deep-cyan);
  font-weight: 700;
  font-size: 13px;
}
.page-products .legacy-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(12, 64, 80, 0.56);
}
.page-products .legacy-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .diff-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--dark-red);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.26);
}

/* ---------- 体育中国 ---------- */
.page-products .china-sports {
  position: relative;
}
.page-products .china-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 48px;
}
.page-products .china-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(6, 42, 51, 0.1);
}
.page-products .china-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .subscription-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(100deg, rgba(6, 42, 51, 0.06), rgba(201, 247, 58, 0.14));
}
.page-products .flow-step {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: var(--primary-deep-cyan);
  color: var(--page-deco-green);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}
.page-products .flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--page-deco-cyan);
  line-height: 0;
}
.page-products .flow-arrow svg {
  transform: rotate(90deg);
}
.page-products .china-feature-list {
  margin-top: 8px;
}
.page-products .feature-dot {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--page-deco-green);
  box-shadow: 0 0 0 4px rgba(201, 247, 58, 0.22);
}

/* ---------- 服务规格 ---------- */
.page-products .service-specs {
  padding-top: 44px;
  padding-bottom: 56px;
  position: relative;
}
.page-products .service-specs::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-deep-cyan), var(--page-deco-green), var(--primary-deep-cyan));
  opacity: 0.36;
  pointer-events: none;
}
.page-products .specs-intro {
  max-width: 680px;
  margin-bottom: 28px;
}
.page-products .specs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgba(6, 42, 51, 0.16);
}
.page-products .specs-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--paper);
  color: var(--ink);
}
.page-products .specs-table th,
.page-products .specs-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(6, 42, 51, 0.12);
}
.page-products .specs-table th {
  background: var(--secondary-cyan-surface);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.page-products .specs-table td {
  font-size: 15px;
  line-height: 1.6;
}
.page-products .specs-table td:first-child {
  font-weight: 700;
}
.page-products .specs-table td:nth-child(2) {
  white-space: nowrap;
  font-weight: 800;
  color: var(--primary-deep-cyan);
}
.page-products .specs-table .mono-num {
  font-size: 17px;
}
.page-products .specs-table tbody tr {
  transition: background 0.18s ease;
}
.page-products .specs-table tbody tr:hover {
  background: rgba(201, 247, 58, 0.18);
}
.page-products .specs-table tbody tr:last-child td {
  border-bottom: 0;
}
.page-products .timeline-figure {
  margin: 32px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(6, 42, 51, 0.08);
}
.page-products .timeline-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.page-products .specs-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 72ch;
}

/* ---------- 图文说明 ---------- */
.page-products .figure-caption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- 桌面端排版 · 杂志折页式 ---------- */
@media (min-width: 768px) {
  .page-products .products-overview .container {
    padding-top: 36px;
    padding-bottom: 56px;
  }
  .page-products .overview-layout {
    display: grid;
    grid-template-columns: 7fr 6fr;
    align-items: center;
    gap: 40px;
    margin-top: 36px;
  }
  .page-products .overview-figure {
    margin-right: -16px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .page-products .service-anchors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
  }
  .page-products .service-anchor {
    padding: 22px 18px;
  }
  .page-products .anchor-desc {
    font-size: 14px;
  }

  .page-products .schedule-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .page-products .schedule-visual {
    order: 0;
    justify-content: flex-end;
    padding-right: 10px;
  }
  .page-products .phone-frame {
    width: 310px;
  }

  .page-products .legacy-layout {
    display: grid;
    grid-template-columns: 7fr 6fr;
    align-items: center;
    gap: 56px;
    padding-top: 60px;
    padding-bottom: 68px;
  }
  .page-products .legacy-figure {
    margin-left: -14px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  }

  .page-products .china-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 56px;
    padding-top: 60px;
    padding-bottom: 64px;
  }
  .page-products .china-figure {
    margin-left: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .page-products .subscription-flow {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .page-products .flow-arrow svg {
    transform: rotate(0deg);
  }
  .page-products .feature-list {
    gap: 12px;
  }
  .page-products .feature-list li {
    padding: 16px 18px;
  }

  .page-products .service-specs {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .page-products .specs-table-wrap {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    margin-right: -16px;
  }
  .page-products .timeline-figure {
    margin-top: 36px;
    margin-right: -16px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .page-products .specs-note {
    margin-top: 20px;
  }
}

@media (min-width: 1024px) {
  .page-products .overview-layout {
    gap: 64px;
  }
  .page-products .overview-copy h1 {
    font-size: 46px;
  }
  .page-products .schedule-layout,
  .page-products .legacy-layout,
  .page-products .china-layout {
    gap: 80px;
  }
  .page-products .feature-list {
    grid-template-columns: 1fr;
  }
}
