.page-products {
  --products-navy: #0E2A55;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 53, 0.08), transparent 280px),
    radial-gradient(circle at 88% 30%, rgba(29, 78, 216, 0.06), transparent 320px),
    var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

.page-products #download,
.page-products #features,
.page-products #versions,
.page-products #runtime {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-products .breadcrumb {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
}

.page-products .breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-products .breadcrumb li + li::before {
  content: "/";
  color: var(--slate);
  opacity: 0.5;
}

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

/* ===== Hero ===== */
.page-products .app-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 32px 0 48px;
}

.page-products .app-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-products .app-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
}

.page-products .app-hero .lead-paragraph {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: #3D4451;
  max-width: 48ch;
}

.page-products .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 8px 0;
}

.page-products .hero-stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-products .hero-stats .data-number {
  font-family: var(--font-number);
  font-size: 32px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.page-products .hero-stats .hero-stats__label {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

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

/* ===== 手机模型 ===== */
.page-products .app-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.page-products .phone-mockup {
  position: relative;
  width: 260px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(19, 21, 26, 0.28);
}

.page-products .phone-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
  object-fit: cover;
  aspect-ratio: 1 / 2;
}

.page-products .phone-mockup__badge {
  position: absolute;
  top: 28px;
  right: -6px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-number);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 10px 5px 12px;
  border-radius: 4px 0 0 4px;
}

/* ===== 章节标题 ===== */
.page-products .section-head {
  margin-bottom: 36px;
}

.page-products .section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 8px;
}

.page-products .section-head p {
  font-family: var(--font-body);
  color: var(--slate);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0;
}

.page-products .section-head--light h2 {
  color: var(--paper);
}

.page-products .section-head--light p {
  color: rgba(245, 240, 230, 0.72);
}

.page-products .section-label--light {
  color: var(--lime);
}

/* ===== 下载面板 ===== */
.page-products .download-panel {
  position: relative;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 255, 20, 0.14), transparent 220px),
    linear-gradient(160deg, var(--deep-blue), var(--products-navy));
  border-radius: 36px;
  padding: 40px 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-products .download-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--lime));
}

.page-products .download-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .download-card {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .download-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.page-products .download-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin: 0;
}

.page-products .download-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  color: var(--slate);
}

.page-products .download-card.panel--dark p {
  color: rgba(245, 240, 230, 0.75);
}

.page-products .os-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page-products .os-mark--dark {
  background: var(--orange);
  color: var(--ink);
}

.page-products .runtime-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--slate);
  border: 1px solid rgba(90, 110, 133, 0.28);
  padding: 8px 14px;
  border-radius: 999px;
  margin: 0;
}

.page-products .runtime-tag .data-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.page-products .panel--dark .runtime-tag {
  border-color: rgba(245, 240, 230, 0.32);
}

.page-products .panel--dark .runtime-tag .data-number {
  color: var(--lime);
}

.page-products .download-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  flex-wrap: wrap;
}

.page-products .qr-mock {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

/* ===== 功能筛选与卡片 ===== */
.page-products .feature-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .feature-card {
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-products .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(19, 21, 26, 0.12);
}

.page-products .feature-card__media {
  overflow: hidden;
  background: var(--deep-blue);
}

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

.page-products .feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 24px 24px 0;
  border-radius: 16px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
}

.page-products .feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.page-products .feature-card__body {
  padding: 14px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-products .feature-card__media + .feature-card__body {
  padding-top: 18px;
}

.page-products .feature-card__num {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.1em;
}

.page-products .feature-card__body h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  margin: 0;
}

.page-products .feature-card__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}

/* ===== 版本面板 ===== */
.page-products .version-panel {
  position: relative;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 107, 53, 0.1), transparent 260px),
    linear-gradient(200deg, var(--deep-blue), #081631 90%);
  border-radius: 36px;
  padding: 40px 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-products .version-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 255, 20, 0.12), transparent 70%);
  pointer-events: none;
}

.page-products .version-graphic {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 240, 230, 0.1);
}

.page-products .version-graphic img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  opacity: 0.92;
}

.page-products .timeline {
  position: relative;
  padding-left: 36px;
}

.page-products .timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 13px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--orange), var(--lime));
}

.page-products .timeline__item {
  position: relative;
  padding-bottom: 28px;
}

.page-products .timeline__item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(57, 255, 20, 0.18);
}

.page-products .timeline__year {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-number);
  font-size: 18px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 8px;
}

.page-products .timeline__year::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
}

.page-products .timeline__card {
  border-radius: var(--radius);
  padding: 20px 24px;
}

.page-products .timeline__card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0 0 6px;
}

.page-products .timeline__card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.page-products .recent-updates {
  margin-top: 12px;
  border-radius: var(--radius);
  padding: 24px 28px;
}

.page-products .recent-updates h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0 0 14px;
}

.page-products .recent-updates__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-products .recent-updates__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}

.page-products .recent-updates__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== 运行环境 ===== */
.page-products .runtime-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-products .runtime-card {
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .runtime-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
}

.page-products .runtime-card__icon svg {
  width: 28px;
  height: 28px;
}

.page-products .runtime-card.panel--dark h3 {
  color: var(--paper);
}

.page-products .runtime-card.panel--dark .runtime-card__icon {
  background: rgba(57, 255, 20, 0.14);
  color: var(--lime);
}

.page-products .runtime-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin: 0;
}

.page-products .runtime-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .runtime-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

.page-products .runtime-card__list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
}

.page-products .runtime-card.panel--dark .runtime-card__list li {
  color: rgba(245, 240, 230, 0.78);
}

.page-products .runtime-card.panel--dark .runtime-card__list li::before {
  color: var(--lime);
}

/* ===== 支持入口 ===== */
.page-products .support-callout__inner {
  border-radius: 28px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.page-products .support-callout__copy h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
}

.page-products .support-callout__copy p {
  margin: 0;
  max-width: 60ch;
  line-height: 1.65;
  color: var(--slate);
  font-size: 15px;
}

.page-products .support-callout__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== 平板与桌面 ===== */
@media (min-width: 768px) {
  .page-products .download-panel,
  .page-products .version-panel {
    padding: 56px 40px;
  }

  .page-products .download-row {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .runtime-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .recent-updates__list {
    grid-template-columns: 1fr 1fr;
  }

  .page-products .support-callout__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }
}

@media (min-width: 900px) {
  .page-products .app-hero {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 60px;
    padding: 48px 0 72px;
  }

  .page-products .app-hero__visual {
    justify-content: flex-end;
  }

  .page-products .timeline {
    padding-left: 0;
  }

  .page-products .timeline::before {
    left: 120px;
  }

  .page-products .timeline__item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 56px;
    align-items: start;
  }

  .page-products .timeline__item::before {
    left: 114px;
    top: 26px;
  }

  .page-products .timeline__year {
    justify-content: flex-end;
    text-align: right;
    margin-bottom: 0;
    padding-top: 20px;
  }

  .page-products .timeline__year::before {
    width: 20px;
  }
}
