.page-products {
  --pfx-grid-line: rgba(233, 196, 106, 0.12);
  --pfx-grid-line-strong: rgba(233, 196, 106, 0.05);
  --pfx-board: rgba(233, 196, 106, 0.35);
  --pfx-board-bright: rgba(255, 215, 0, 0.55);
  --pfx-glass: rgba(10, 61, 46, 0.76);
  --pfx-glass-deep: rgba(6, 41, 29, 0.85);
  --pfx-cream-soft: rgba(247, 243, 233, 0.78);
  --pfx-cream-dim: rgba(247, 243, 233, 0.58);
  --pfx-gap-lg: 32px;
  --pfx-gap-md: 20px;
}

/* ===== 首屏 Hero ===== */
.page-products .platform-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--header-offset) + 44px) 0 56px;
  background:
    linear-gradient(rgba(233, 196, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 196, 106, 0.06) 1px, transparent 1px),
    linear-gradient(140deg, #0A3D2E 0%, #06291D 100%);
  background-size: 48px 48px, 48px 48px, auto;
  overflow: hidden;
  border-bottom: 1px solid rgba(233, 196, 106, 0.3);
}

.page-products .platform-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.55), transparent);
}

.page-products .hero-score {
  position: absolute;
  right: -0.08em;
  bottom: -0.18em;
  font-size: clamp(10rem, 30vw, 22rem);
  font-weight: 200;
  line-height: 0.8;
  color: rgba(233, 196, 106, 0.08);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

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

.page-products .pfx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.8rem;
  color: rgba(247, 243, 233, 0.58);
}

.page-products .pfx-breadcrumb a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}

.page-products .pfx-breadcrumb a:hover {
  border-bottom-color: rgba(255, 215, 0, 0.5);
}

.page-products .pfx-br-crumb {
  color: rgba(233, 196, 106, 0.6);
}

.page-products .platform-hero .kicker {
  display: block;
  margin-bottom: 14px;
  color: rgba(233, 196, 106, 0.85);
}

.page-products .platform-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.page-products .platform-desc {
  max-width: 720px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(247, 243, 233, 0.78);
}

.page-products .platform-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 18px;
  border: 1px solid rgba(233, 196, 106, 0.4);
  border-radius: 999px;
  background: rgba(233, 196, 106, 0.1);
  color: var(--cream);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

/* ===== 区块通用 ===== */
.page-products .platform-section {
  position: relative;
  padding: 56px 0;
}

.page-products .platform-section--light {
  background: var(--green-soft);
}

.page-products .platform-section--soft {
  background: var(--cream);
}

.page-products .platform-section--dark {
  background:
    linear-gradient(rgba(233, 196, 106, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 196, 106, 0.05) 1px, transparent 1px),
    linear-gradient(160deg, #0A3D2E, #06291D);
  background-size: 40px 40px, 40px 40px, cover;
  border-top: 1px solid rgba(233, 196, 106, 0.25);
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
}

.page-products .platform-section--dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 196, 106, 0.6), transparent);
}

.page-products .platform-section--help {
  background:
    radial-gradient(circle at 85% 20%, rgba(233, 196, 106, 0.12), transparent 140px),
    linear-gradient(160deg, #0A3D2E, #06291D);
  border-top: 1px solid rgba(233, 196, 106, 0.25);
  border-bottom: 1px solid rgba(233, 196, 106, 0.25);
}

.page-products .section-heading-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 32px;
}

.page-products .section-heading-row .index-num {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding-top: 5px;
}

.page-products .heading-block {
  flex: 1;
}

.page-products .heading-block h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .heading-block p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-products .section-heading-row--dark .heading-block h2 {
  color: var(--cream);
}

.page-products .section-heading-row--dark .heading-block p {
  color: var(--pfx-cream-dim);
}

/* ===== 核心功能图谱 ===== */
.page-products .function-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pfx-gap-md);
}

.page-products .function-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  background: linear-gradient(145deg, var(--pfx-glass), var(--pfx-glass-deep));
  border: 1px solid var(--pfx-board);
  border-radius: 24px;
  color: var(--cream);
  box-shadow: 0 18px 44px rgba(6, 41, 29, 0.2);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-products .function-card:hover,
.page-products .function-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--pfx-board-bright);
  box-shadow: 0 24px 52px rgba(6, 41, 29, 0.28);
}

.page-products .card-glow {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 88% 8%, rgba(233, 196, 106, 0.16) 0, transparent 8px),
    radial-gradient(circle at 8% 92%, rgba(233, 196, 106, 0.12) 0, transparent 10px);
  pointer-events: none;
  z-index: 0;
}

.page-products .function-card > * {
  position: relative;
  z-index: 1;
}

.page-products .function-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--gold);
}

.page-products .function-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(247, 243, 233, 0.82);
}

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

.page-products .function-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .status-text {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--pfx-cream-soft);
}

.page-products .status-dot {
  position: relative;
}

.page-products .dot-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #06291D;
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 10;
}

.page-products .status-dot:hover .dot-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 数据条 */
.page-products .metric-bars {
  display: grid;
  gap: 10px;
}

.page-products .metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
}

.page-products .metric-label {
  width: 58px;
  flex-shrink: 0;
  color: var(--pfx-cream-soft);
}

.page-products .metric-track {
  flex: 1;
  display: block;
  height: 6px;
  background: rgba(233, 196, 106, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.page-products .metric-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.page-products .metric-value {
  width: 42px;
  flex-shrink: 0;
  text-align: right;
  color: var(--gold-bright);
  font-weight: 600;
}

/* 日历切换 */
.page-products .cal-switch {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(233, 196, 106, 0.32);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 41, 29, 0.4);
}

.page-products .cal-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-products .cal-switch label {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--pfx-cream-dim);
  cursor: pointer;
  border-right: 1px solid rgba(233, 196, 106, 0.18);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  user-select: none;
}

.page-products .cal-switch label:last-of-type {
  border-right: 0;
}

.page-products .cal-switch #cal-round-a:checked ~ label[for="cal-round-a"],
.page-products .cal-switch #cal-round-b:checked ~ label[for="cal-round-b"] {
  background: var(--gold);
  color: #0A3D2E;
  font-weight: 600;
}

.page-products .cal-panel {
  display: none;
  width: 100%;
  padding: 14px 10px 8px;
}

.page-products .cal-switch #cal-round-a:checked ~ .cal-panel--a,
.page-products .cal-switch #cal-round-b:checked ~ .cal-panel--b {
  display: block;
}

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

.page-products .cal-panel .timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(233, 196, 106, 0.1);
  border-left: 2px solid var(--gold);
  border-radius: 8px;
  font-size: 0.82rem;
}

.page-products .cal-panel .tl-date {
  color: var(--pfx-cream-dim);
}

.page-products .cal-panel .timeline-item strong {
  color: var(--cream);
  font-weight: 500;
}

.page-products .cal-panel .timeline-item em {
  color: var(--gold-bright);
  font-style: normal;
  font-weight: 600;
}

/* 登记步骤 */
.page-products .register-inner {
  display: grid;
  gap: 18px;
}

.page-products .register-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .register-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-products .register-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--pfx-cream-soft);
}

.page-products .register-steps li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A3D2E;
  font-weight: 700;
  font-size: 0.76rem;
}

/* ===== 版本与服务 ===== */
.page-products .version-grid {
  display: grid;
  gap: 24px;
}

.page-products .version-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(233, 196, 106, 0.06);
  border: 1px solid rgba(233, 196, 106, 0.3);
  backdrop-filter: blur(12px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.page-products .version-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.5);
}

.page-products .version-label {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 2.6rem;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(233, 196, 106, 0.3);
}

.page-products .version-card h3 {
  margin: 0 0 16px;
  padding-right: 52px;
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--cream);
}

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

.page-products .version-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--pfx-cream-soft);
}

.page-products .version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}

/* ===== 内容覆盖 ===== */
.page-products .coverage-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-products .coverage-tree {
  border: 1px solid rgba(233, 196, 106, 0.4);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(233, 196, 106, 0.1), rgba(233, 196, 106, 0.02));
  padding: 24px 22px;
}

.page-products .tree-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(10, 61, 46, 0.2);
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.page-products .tree-node span {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.page-products .tree-node--root {
  background: var(--green-deep);
  color: var(--cream);
  border-color: var(--green-deep);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
}

.page-products .tree-node--root span {
  color: rgba(247, 243, 233, 0.6);
}

.page-products .tree-branches {
  display: grid;
  gap: 12px;
  padding-left: 18px;
  border-left: 2px solid rgba(233, 196, 106, 0.45);
}

.page-products .tree-column {
  display: grid;
  gap: 8px;
}

.page-products .tree-node--main {
  display: inline-flex;
  background: rgba(10, 61, 46, 0.07);
  border-color: rgba(233, 196, 106, 0.65);
  font-weight: 600;
}

.page-products .tree-node--main span {
  color: var(--gold);
  font-weight: 700;
}

.page-products .tree-node--child {
  margin-left: 16px;
  font-size: 0.84rem;
}

.page-products .coverage-note {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(233, 196, 106, 0.45);
  font-size: 0.84rem;
  color: var(--text-soft);
}

/* ===== 访问方式 ===== */
.page-products .access-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

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

.page-products .access-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--cream);
  border: 1px solid rgba(10, 61, 46, 0.12);
  border-radius: 16px;
  padding: 20px 18px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .access-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.page-products .access-icon {
  flex-shrink: 0;
  color: var(--green-deep);
}

.page-products .access-item h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.page-products .access-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* ===== 帮助支持 ===== */
.page-products .help-cards {
  display: grid;
  gap: 20px;
}

.page-products .help-card {
  display: block;
  padding: 28px 24px;
  border: 1px solid rgba(233, 196, 106, 0.4);
  border-radius: 20px;
  background: rgba(233, 196, 106, 0.08);
  color: var(--cream);
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .help-card:hover {
  background: rgba(233, 196, 106, 0.16);
  border-color: rgba(255, 215, 0, 0.55);
  transform: translateY(-4px);
}

.page-products .help-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A3D2E;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-products .help-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-bright);
}

.page-products .help-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--pfx-cream-soft);
}

.page-products .help-extra {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--pfx-cream-dim);
}

.page-products .help-extra a {
  color: var(--gold-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 196, 106, 0.4);
}

/* ===== 图片占位 ===== */
.page-products .img-frame {
  border: 1px solid rgba(233, 196, 106, 0.28);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(233, 196, 106, 0.08);
}

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

.page-products .img-frame--data {
  aspect-ratio: 3 / 2;
}

.page-products .img-frame--cal {
  aspect-ratio: 1 / 1;
}

.page-products .img-frame--reg {
  aspect-ratio: 10 / 7;
}

.page-products .img-frame--tree {
  aspect-ratio: 5 / 4;
}

.page-products .img-frame--access {
  aspect-ratio: 3 / 2;
}

/* ===== 响应式增强 ===== */
@media (min-width: 640px) {
  .page-products .platform-section {
    padding: 72px 0;
  }

  .page-products .function-card {
    padding: 32px 28px;
  }

  .page-products .version-card {
    padding: 36px 32px;
  }

  .page-products .coverage-tree {
    padding: 30px 28px;
  }
}

@media (min-width: 900px) {
  .page-products .platform-hero {
    padding: calc(var(--header-h) + var(--header-offset) + 72px) 0 88px;
  }

  .page-products .platform-section {
    padding: 88px 0;
  }

  .page-products .section-heading-row {
    margin-bottom: 40px;
  }

  /* 核心功能：非对称双列 */
  .page-products .function-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    gap: var(--pfx-gap-lg);
  }

  .page-products .function-card--register {
    grid-column: 1 / -1;
  }

  .page-products .register-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    align-items: center;
  }

  /* 版本与服务 */
  .page-products .version-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  /* 内容覆盖 */
  .page-products .coverage-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 40px;
  }

  .page-products .tree-branches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 访问方式 */
  .page-products .access-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  /* 帮助支持 */
  .page-products .help-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
