.page-products {
  --dl-tile: #ffffff;
  --dl-ink-soft: var(--ink-soft);
}

.page-products .dl-crumb {
  padding-top: 24px;
}

/* ---------- 首屏 ---------- */
.page-products .dl-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-block: 22px 56px;
}

.page-products .dl-hero__copy h1 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(30px, 6.4vw, 54px);
}

.page-products .dl-hero__copy .lead {
  margin-top: 16px;
  max-width: 60ch;
}

.page-products .dl-hero__copy .btn-row {
  margin-top: 24px;
}

.page-products .dl-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.page-products .dl-hero__facts li {
  flex: 1 1 100px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: var(--rule);
  border-radius: 6px;
  background: var(--dl-tile);
  box-shadow: var(--shadow-card);
}

.page-products .dl-hero__facts .data {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
}

.page-products .dl-hero__facts small {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.page-products .dl-hero__copy .update-badge {
  margin-top: 20px;
}

.page-products .dl-hero__device {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.page-products .device {
  position: relative;
  width: min(300px, 74vw);
  padding: 11px;
  border: 1.5px solid var(--c-fog);
  border-radius: 42px;
  background: linear-gradient(160deg, #24303c, var(--c-navy));
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.04), 0 34px 64px -32px rgba(13, 27, 42, 0.62);
}

.page-products .device__screen {
  border-radius: 32px;
  overflow: hidden;
  background: var(--c-navy);
}

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

.page-products .device__speaker {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 8px;
  border-radius: 99px;
  background: rgba(247, 244, 238, 0.26);
  z-index: 2;
}

.page-products .device .corner-tag {
  position: absolute;
  top: 30px;
  right: -12px;
  z-index: 3;
}

.page-products .device__plate {
  position: absolute;
  bottom: 34px;
  left: -14px;
  z-index: 3;
}

/* ---------- 能力总览 ---------- */
.page-products .dl-cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.page-products .dl-cap-grid .card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
}

.page-products .dl-cap-grid .card::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
}

.page-products .dl-cap__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--c-red);
  text-transform: uppercase;
}

.page-products .dl-cap-grid .card-title {
  margin: 0;
}

.page-products .dl-cap-grid .card p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- 主场地图 ---------- */
.page-products .dl-map__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
}

.page-products .dl-map__tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.page-products .dl-map__tabs::-webkit-scrollbar {
  height: 4px;
}

.page-products .dl-tab {
  flex: 0 0 auto;
  display: block;
  padding: 11px 15px;
  border: var(--rule);
  border-radius: 6px;
  background: var(--dl-tile);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}

.page-products .dl-tab span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.page-products .dl-tab:hover,
.page-products .dl-tab:focus-visible {
  border-color: var(--c-red);
  color: var(--c-red);
  transform: translateY(-2px);
}

.page-products .dl-tab:hover span,
.page-products .dl-tab:focus-visible span {
  color: var(--c-orange);
}

.page-products .dl-map__panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-products .dl-map__canvas {
  position: relative;
  border: var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy);
  box-shadow: var(--shadow-card);
}

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

.page-products .dl-map__canvas .corner-tag {
  position: absolute;
  top: 14px;
  left: 14px;
}

.page-products .dl-dot {
  animation: dlDotPulse 2s ease-in-out infinite;
}

.page-products .dl-dot--2 { animation-delay: 0.25s; }
.page-products .dl-dot--3 { animation-delay: 0.5s; }
.page-products .dl-dot--4 { animation-delay: 0.75s; }
.page-products .dl-dot--5 { animation-delay: 1s; }
.page-products .dl-dot--6 { animation-delay: 1.25s; }
.page-products .dl-dot--7 { animation-delay: 1.5s; }
.page-products .dl-dot--8 { animation-delay: 1.75s; }

@keyframes dlDotPulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.page-products .dl-steps {
  counter-reset: dlstep;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .dl-steps li {
  counter-increment: dlstep;
  position: relative;
  padding: 16px 18px 16px 60px;
  border: var(--rule);
  border-radius: 8px;
  background: var(--dl-tile);
  scroll-margin-top: 24px;
}

.page-products .dl-steps li::before {
  content: counter(dlstep, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 17px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-red);
  letter-spacing: 0.04em;
}

.page-products .dl-steps h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.page-products .dl-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 多联赛 ---------- */
.page-products .dl-leagues__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  margin-top: 26px;
}

.page-products .dl-leagues__copy h2 {
  margin: 8px 0 0;
}

.page-products .dl-leagues__copy > p {
  max-width: 62ch;
}

.page-products .dl-league-chips {
  margin: 20px 0 0;
}

.page-products .dl-leagues__figure {
  margin: 0;
  border: var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy);
  box-shadow: var(--shadow-card);
}

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

.page-products .dl-leagues__figure .figure-caption {
  padding: 12px 16px 14px;
  background: var(--dl-tile);
}

/* ---------- 数据看板 ---------- */
.page-products .dl-data__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

.page-products .dl-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}

.page-products .dl-metric {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .dl-metric__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.page-products .dl-metric__head .card-title {
  margin: 0;
}

.page-products .dl-metric__head .data {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-teal);
  white-space: nowrap;
}

.page-products .dl-metric p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(247, 244, 238, 0.72);
}

.page-products .dl-bar {
  height: 7px;
  border-radius: 99px;
  background: rgba(247, 244, 238, 0.14);
  overflow: hidden;
}

.page-products .dl-bar__fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--c-teal), var(--c-grass));
}

.page-products .dl-bar__fill--a { width: 62%; }
.page-products .dl-bar__fill--b { width: 88%; }
.page-products .dl-bar__fill--c { width: 46%; }
.page-products .dl-bar__fill--d { width: 74%; }

.page-products .dl-data__figure {
  margin: 0;
  border: 1.5px solid rgba(247, 244, 238, 0.18);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy);
}

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

.page-products .dl-data__figure .figure-caption {
  padding: 12px 16px 14px;
  color: rgba(247, 244, 238, 0.66);
}

/* ---------- 版本演进 ---------- */
.page-products .dl-timeline {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin-top: 26px;
  padding: 6px 2px 18px;
  list-style: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .dl-timeline:focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 4px;
  border-radius: 8px;
}

.page-products .dl-timeline .timeline-item {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  position: relative;
  padding: 22px 18px 18px;
  border: var(--rule);
  border-radius: 8px;
  background: var(--dl-tile);
  box-shadow: var(--shadow-card);
}

.page-products .dl-timeline .timeline-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 18px;
  width: 48px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c-red), var(--c-orange));
}

.page-products .dl-ver__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-navy);
  font-variant-numeric: tabular-nums;
}

.page-products .dl-timeline h3 {
  margin: 8px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.page-products .dl-timeline .timeline-item p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-products .dl-ver__figure {
  margin: 14px 0 0;
  border: var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy);
}

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

.page-products .dl-ver__figure .figure-caption {
  padding: 12px 16px 14px;
  background: var(--dl-tile);
}

/* ---------- 安装要求 ---------- */
.page-products .dl-req__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.page-products .dl-req__grid .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .dl-req__grid .card-title {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: var(--rule);
}

.page-products .dl-req__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.page-products .dl-req__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-products .dl-req__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1.5px solid var(--c-teal);
  background: rgba(20, 198, 164, 0.16);
}

.page-products .dl-req__list .data {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-red);
  font-variant-numeric: tabular-nums;
}

/* ---------- 使用支持 ---------- */
.page-products .dl-support__figure {
  margin: 0 0 44px;
  border: var(--rule);
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-navy);
  box-shadow: var(--shadow-card);
}

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

.page-products .dl-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.page-products .dl-support__grid .card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .dl-support__grid .card-title {
  margin: 0;
}

.page-products .dl-support__grid .card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-products .dl-support__grid .card .btn {
  align-self: flex-start;
  margin-top: 2px;
}

.page-products .dl-contact {
  margin-top: 18px;
  padding: 20px;
  border: var(--rule);
  border-radius: 10px;
  background: var(--dl-tile);
}

.page-products .dl-contact .contact-list {
  margin: 0 0 12px;
}

.page-products .dl-contact .muted {
  margin: 0;
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 桌面增强 ---------- */
@media (min-width: 640px) {
  .page-products .dl-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-products .dl-crumb {
    padding-top: 36px;
  }

  .page-products .dl-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 56px;
    padding-block: 34px 88px;
  }

  .page-products .device {
    width: min(320px, 26vw);
  }

  .page-products .dl-map__grid {
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .page-products .dl-map__tabs {
    position: sticky;
    top: 26px;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
    gap: 10px;
  }

  .page-products .dl-tab {
    white-space: normal;
  }

  .page-products .dl-leagues__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
  }

  .page-products .dl-data__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 26px;
  }

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

  .page-products .dl-timeline .timeline-item {
    flex: 0 0 300px;
  }

  .page-products .dl-support__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .dl-support__figure {
    margin-bottom: 56px;
  }
}

@media (min-width: 1120px) {
  .page-products .dl-cap-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .page-products .dl-cap-grid .span-b {
    grid-column: span 2;
  }

  .page-products .dl-cap-grid .span-c {
    grid-column: span 2;
  }

  .page-products .dl-req__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .dl-dot {
    animation: none;
    opacity: 0.9;
  }

  .page-products .dl-tab {
    transition: none;
  }

  .page-products .dl-tab:hover,
  .page-products .dl-tab:focus-visible {
    transform: none;
  }
}
