.page-products {
  --page-green-glow: rgba(57, 255, 20, 0.14);
  --page-orange-glow: rgba(255, 107, 53, 0.14);
  --page-grid-line: rgba(192, 192, 192, 0.07);
  position: relative;
}

/* 面包屑分隔符 */
.page-products .breadcrumb__sep {
  margin: 0 10px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 13px;
}

/* ===================== 首屏：下载方式 ===================== */
.page-products .download-hero {
  padding: 32px 0 56px;
  position: relative;
}

.page-products .download-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--page-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
}

.page-products .download-hero__head {
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.page-products .download-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

/* 手机模型 */
.page-products .phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-products .phone-wrap::before {
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 240px;
  background: linear-gradient(135deg, var(--page-green-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.page-products .phone-mockup {
  position: relative;
  width: min(280px, 78vw);
  background: var(--bg);
  border: 2px solid var(--metal);
  border-radius: 34px;
  padding: 14px 10px 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
}

.page-products .phone-mockup__top {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 76px;
  height: 20px;
  background: var(--bg);
  border-radius: 0 0 14px 14px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 4px;
}

.page-products .phone-mockup__speaker {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(192, 192, 192, 0.55);
}

.page-products .phone-mockup__screen {
  width: 100%;
  aspect-ratio: 400 / 800;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-elev);
}

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

.page-products .phone-mockup__home {
  width: 34px;
  height: 34px;
  border: 2px solid var(--metal);
  border-radius: 50%;
  margin: 12px auto 0;
  opacity: 0.7;
}

/* 下载步骤 */
.page-products .download-steps {
  padding: 8px 0;
}

.page-products .download-steps__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

.page-products .download-steps__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 85%);
}

.page-products .download-steps__lead {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 20px 0 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(17, 34, 64, 0.5);
}

.page-products .download-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .download-step {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .download-step:first-child {
  border-top: 1px solid var(--line);
}

.page-products .download-step__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--line-strong);
  padding: 5px 8px;
  align-self: flex-start;
  letter-spacing: 0.08em;
}

.page-products .download-step__body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  margin: 0 0 6px;
}

.page-products .download-step__body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin: 0;
}

.page-products .download-steps__foot {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.page-products .download-steps__foot a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================== 功能亮点 ===================== */
.page-products .feature-section {
  background: var(--bg-soft);
  padding: 64px 0;
  position: relative;
}

.page-products .feature-section::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-orange), transparent 75%);
  margin-bottom: 0;
}

.page-products .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.page-products .feature-card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px 22px 24px;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-products .feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.page-products .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 65%);
}

.page-products .feature-card:nth-child(even)::before {
  background: linear-gradient(90deg, var(--accent-orange), transparent 65%);
}

.page-products .feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 26px solid rgba(57, 255, 20, 0.16);
  border-left: 26px solid transparent;
}

.page-products .feature-card:nth-child(even)::after {
  border-top-color: rgba(255, 107, 53, 0.16);
}

.page-products .feature-card__index {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 1;
}

.page-products .feature-card__icon {
  color: var(--accent);
  margin-bottom: 18px;
}

.page-products .feature-card:nth-child(even) .feature-card__icon {
  color: var(--accent-orange);
}

.page-products .feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.page-products .feature-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0;
}

/* 功能横幅 */
.page-products .feature-banner {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.page-products .feature-banner::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, var(--page-green-glow), transparent 70%);
  pointer-events: none;
}

.page-products .feature-banner img {
  width: 100%;
  height: auto;
  max-width: 160px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  justify-self: center;
}

.page-products .feature-banner__text {
  position: relative;
  z-index: 1;
}

.page-products .feature-banner__text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 10px;
}

.page-products .feature-banner__text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 16px;
}

/* ===================== 版本选择 ===================== */
.page-products .version-section {
  padding: 64px 0;
}

.page-products .version-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.page-products .version-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 24px 22px 20px;
  position: relative;
  background-image:
    linear-gradient(var(--page-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--page-grid-line) 1px, transparent 1px);
  background-size: 22px 22px;
}

.page-products .version-card--mobile {
  border-top: 3px solid var(--accent);
}

.page-products .version-card--desktop {
  border-top: 3px solid var(--accent-orange);
}

.page-products .version-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--line-strong);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.page-products .version-card--desktop .version-card__tag {
  color: var(--accent-orange);
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.4);
}

.page-products .version-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 14px;
}

.page-products .version-card__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.page-products .version-card__list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-products .version-card__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}

.page-products .version-card--desktop .version-card__list li::before {
  background: var(--accent-orange);
}

.page-products .version-card__foot {
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-display);
  line-height: 1.6;
}

/* 版本图 */
.page-products .version-figure {
  margin: 40px 0 32px;
  border: 1px solid var(--line);
  padding: 10px;
  background: var(--bg-elev);
  position: relative;
}

.page-products .version-figure::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 36px;
  height: 36px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

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

.page-products .version-figure figcaption {
  padding: 10px 4px 4px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* 同步面板 */
.page-products .sync-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 24px;
}

.page-products .sync-panel__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-products .sync-panel__text h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text);
  margin: 0 0 12px;
  position: relative;
  display: inline-block;
}

.page-products .sync-panel__text h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}

.page-products .sync-panel__text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 12px 0 16px;
}

.page-products .sync-panel__text ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .sync-panel__text ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.page-products .sync-panel__text ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--font-display);
}

.page-products .version-note {
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--text-soft);
  text-align: center;
  padding: 16px;
  border: 1px dashed var(--line);
}

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

/* ===================== 更新日志 ===================== */
.page-products .changelog-section {
  background: var(--bg-soft);
  padding: 64px 0;
  position: relative;
}

.page-products .changelog-section::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
}

.page-products .changelog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 40px;
}

.page-products .changelog-list {
  display: flex;
  flex-direction: column;
}

.page-products .changelog-item {
  position: relative;
  border-left: 2px solid var(--line);
  padding-left: 22px;
  margin-bottom: 32px;
}

.page-products .changelog-item:last-child {
  margin-bottom: 0;
}

.page-products .changelog-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

.page-products .changelog-item__version {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.page-products .changelog-item__content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--text);
  margin: 0 0 8px;
}

.page-products .changelog-item__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .changelog-item__content ul li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-products .changelog-item__content ul li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  top: 8px;
}

.page-products .changelog-aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.page-products .changelog-aside p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  padding: 14px 16px;
  border-left: 3px solid var(--accent-orange);
  background: rgba(17, 34, 64, 0.5);
}

/* ===================== 响应式增强 ===================== */
@media (min-width: 640px) {
  .page-products .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .page-products .feature-banner {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }

  .page-products .feature-banner img {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .page-products .download-hero {
    padding: 48px 0 72px;
  }

  .page-products .download-hero__grid {
    grid-template-columns: 340px 1fr;
    gap: 56px;
  }

  .page-products .phone-wrap {
    justify-content: flex-start;
    padding-left: 16px;
  }

  .page-products .sync-panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 28px;
  }

  .page-products .changelog-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .page-products .version-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-products .feature-grid {
    gap: 24px;
  }

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

  .page-products .version-card {
    padding: 28px 26px 24px;
  }

  .page-products .sync-panel {
    padding: 32px;
  }

  .page-products .feature-banner {
    padding: 28px 32px;
  }
}
