.page-products {
  display: block;
  background:
    radial-gradient(120% 58% at 88% 0%, rgba(255, 77, 28, 0.16), transparent 62%),
    radial-gradient(90% 46% at 0% 12%, rgba(29, 90, 74, 0.55), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink) 62%, var(--ink-2) 100%);
  color: var(--mist);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-products .container {
  padding-top: 14px;
  padding-bottom: 0;
}

/* ============ 面包屑 ============ */
.page-products .breadcrumb {
  font-size: 0.8125rem;
  color: var(--stand);
}

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

.page-products .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--stand);
}

.page-products .breadcrumb a {
  color: var(--steel);
  text-decoration: none;
}

.page-products .breadcrumb a:hover,
.page-products .breadcrumb a:focus-visible {
  color: var(--signal);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--paper);
}

/* ============ 首屏 ============ */
.page-products .apps-hero {
  display: grid;
  gap: 30px;
  padding: 26px 0 52px;
}

.page-products .apps-hero-copy .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0;
}

.page-products .apps-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 8.4vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--mist);
}

.page-products .apps-lead {
  margin: 20px 0 0;
  max-width: 48ch;
  font-size: 1.0313rem;
  line-height: 1.85;
  color: rgba(244, 247, 242, 0.8);
}

.page-products .apps-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .apps-quickfacts {
  list-style: none;
  margin: 30px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.page-products .apps-quickfacts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(244, 247, 242, 0.76);
}

.page-products .apps-quickfacts .mono {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--signal);
  min-width: 3.6em;
  flex: 0 0 auto;
}

/* ============ 媒体 ============ */
.page-products .media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

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

.page-products .media-caption {
  margin: 0;
  padding: 12px 16px 14px;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--stand);
}

.page-products .apps-hero-media {
  box-shadow: var(--shadow-deep);
}

/* ============ 主体两栏 ============ */
.page-products .apps-body {
  display: grid;
  gap: 34px;
  padding-bottom: 64px;
}

.page-products .apps-index {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.page-products .apps-index-title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stand);
}

.page-products .apps-index-list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-products .apps-index-list li {
  flex: 0 0 auto;
}

.page-products .apps-index-list a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  background: rgba(14, 51, 43, 0.6);
  color: var(--paper);
  font-size: 0.8125rem;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-products .apps-index-list a:hover,
.page-products .apps-index-list a:focus-visible {
  background: var(--flame);
  border-color: var(--flame);
  color: var(--mist);
}

/* ============ 区块 ============ */
.page-products .apps-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.page-products .apps-section:first-child {
  border-top: 0;
  padding-top: 4px;
}

.page-products .apps-num {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--flame);
}

.page-products .apps-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 5.2vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--mist);
}

.page-products .apps-text {
  margin: 0;
  font-size: 0.9688rem;
  line-height: 1.85;
  color: rgba(244, 247, 242, 0.74);
  max-width: 66ch;
}

.page-products .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.page-products .section-head h2 {
  margin: 0;
}

/* ============ 入口三卡 ============ */
.page-products .entry-strip {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .entry-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(29, 90, 74, 0.72), rgba(14, 51, 43, 0.9));
  padding: 20px 18px;
}

.page-products .entry-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), transparent);
  border-radius: 999px;
}

.page-products .entry-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--signal);
}

.page-products .entry-card p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.8;
  color: rgba(244, 247, 242, 0.75);
}

/* ============ 时间轴 ============ */
.page-products .split-media {
  display: grid;
  gap: 26px;
  margin-top: 24px;
}

.page-products .record-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 26px;
}

.page-products .record-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--flame) 0%, var(--steel) 55%, rgba(91, 143, 168, 0.15) 100%);
}

.page-products .record-item {
  position: relative;
  padding: 14px 0 16px;
  border-bottom: 1px dashed var(--line);
}

.page-products .record-item:last-child {
  border-bottom: 0;
}

.page-products .record-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--steel);
}

.page-products .record-item.is-saved::before {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(232, 255, 58, 0.18);
}

.page-products .record-meta {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.page-products .record-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--mist);
}

.page-products .record-note {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--stand);
}

.page-products .record-item.is-saved .record-note {
  color: rgba(232, 255, 58, 0.85);
}

/* ============ 设备预览 ============ */
.page-products .device-row {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.page-products .device-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(7, 31, 26, 0.62);
  padding: 20px 16px 22px;
  text-align: center;
}

.page-products .device-frame {
  width: 100%;
  max-width: 148px;
  margin: 0 auto 16px;
  aspect-ratio: 9 / 17;
  border: 2px solid var(--line-strong);
  border-radius: 22px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  background: linear-gradient(165deg, var(--ink-2) 0%, var(--pine) 100%);
}

.page-products .device-frame::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--line-strong);
  margin: 0 auto 4px;
}

.page-products .device-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 247, 242, 0.16);
}

.page-products .device-bar--score {
  height: 20px;
  background: linear-gradient(90deg, var(--flame) 0%, var(--flame-deep) 100%);
}

.page-products .device-bar--num {
  width: 54%;
  background: var(--signal);
}

.page-products .device-bar--short {
  width: 68%;
}

.page-products .device-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--flame);
}

.page-products .device-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(244, 247, 242, 0.72);
}

/* ============ 统计表 ============ */
.page-products .stats-panel {
  background: var(--mist);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
}

.page-products .stats-panel .table-scroll {
  overflow-x: auto;
}

.page-products .stats-panel .data-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.9063rem;
  color: var(--ink);
}

.page-products .stats-panel .data-table caption {
  text-align: left;
  padding: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-2);
}

.page-products .stats-panel .data-table th,
.page-products .stats-panel .data-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(91, 143, 168, 0.28);
  white-space: nowrap;
}

.page-products .stats-panel .data-table thead th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  border-bottom: 1px solid rgba(91, 143, 168, 0.6);
}

.page-products .stats-panel .data-table tbody th {
  font-weight: 600;
  color: var(--ink);
}

.page-products .stats-panel .data-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.page-products .stats-panel .data-table tbody tr:hover {
  background: rgba(91, 143, 168, 0.14);
}

/* ============ 版本日志 ============ */
.page-products .apps-log {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.page-products .apps-log .disclosure {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 51, 43, 0.6);
  overflow: hidden;
}

.page-products .apps-log .disclosure[data-open="true"] {
  border-color: rgba(255, 77, 28, 0.55);
}

.page-products .apps-log .disclosure-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px;
  background: none;
  border: 0;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.page-products .apps-log .disclosure-trigger:hover,
.page-products .apps-log .disclosure-trigger:focus-visible {
  color: var(--signal);
}

.page-products .disclosure-icon {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--flame);
}

.page-products .apps-log .disclosure-panel {
  padding: 0 16px 16px;
}

.page-products .apps-log .disclosure-panel p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.85;
  color: rgba(244, 247, 242, 0.72);
}

.page-products .version-figure {
  margin-top: 26px;
}

/* ============ 使用场景 ============ */
.page-products .scene-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.page-products .scene-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(29, 90, 74, 0.85), rgba(14, 51, 43, 0.92));
  padding: 22px 18px;
}

.page-products .scene-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--mist);
}

.page-products .scene-card p {
  margin: 0;
  font-size: 0.9063rem;
  line-height: 1.8;
  color: rgba(244, 247, 242, 0.74);
}

.page-products .scene-figure {
  margin-top: 26px;
}

/* ============ 收尾 ============ */
.page-products .apps-cta {
  border-top: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(255, 77, 28, 0.14), transparent 58%),
    rgba(14, 51, 43, 0.86);
  padding: 30px 20px 26px;
  margin-bottom: 8px;
}

.page-products .apps-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-products .apps-cta-note {
  margin: 18px 0 0;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--stand);
}

.page-products .apps-cta-note a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .apps-cta-note a:hover,
.page-products .apps-cta-note a:focus-visible {
  color: var(--signal);
}

/* ============ 平板 ============ */
@media (min-width: 700px) {
  .page-products .entry-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .device-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

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

  .page-products .apps-section {
    padding: 46px 0;
  }
}

/* ============ 桌面 ============ */
@media (min-width: 960px) {
  .page-products .apps-hero {
    grid-template-columns: 5fr 7fr;
    gap: 52px;
    align-items: center;
    padding: 42px 0 68px;
  }

  .page-products .apps-hero-media {
    align-self: stretch;
  }

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

  .page-products .split-media--table {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }

  .page-products .apps-cta {
    padding: 38px 30px 32px;
  }
}

@media (min-width: 1080px) {
  .page-products .apps-body {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
  }

  .page-products .apps-index {
    position: sticky;
    top: 96px;
    border-top: 0;
    border-bottom: 0;
    padding: 0;
  }

  .page-products .apps-index-list {
    flex-direction: column;
    overflow: visible;
    padding: 0;
    gap: 6px;
  }

  .page-products .apps-index-list a {
    display: block;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    white-space: normal;
    font-size: 0.875rem;
  }
}

@media (min-width: 1240px) {
  .page-products .apps-section {
    padding: 54px 0;
  }

  .page-products .apps-section h2 {
    max-width: 22ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .apps-index-list a,
  .page-products .apps-log .disclosure-trigger {
    transition: none;
  }
}
