.page-products {
  --product-card-bg: #0D1B2A;
  --product-card-bg-alt: #112240;
  --product-grid-line: rgba(57, 255, 20, 0.04);
  --product-glow-green: 0 0 24px rgba(57, 255, 20, 0.16);
  --product-glow-orange: 0 0 24px rgba(255, 107, 0, 0.14);
  --product-corner: 18px;
  background-image:
    linear-gradient(var(--product-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--product-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow-x: clip;
}

.page-products .section {
  padding-block: 56px;
}

.page-products .site-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.page-products .section-heading-wrap {
  margin-bottom: 32px;
}

.page-products .section-subtitle {
  max-width: 720px;
  margin-top: 12px;
  color: var(--c-muted);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Hero ===== */
.page-products .product-hero {
  padding-block: 64px 48px;
  position: relative;
}

.page-products .product-hero-inner {
  display: grid;
  gap: 40px;
}

.page-products .product-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: 28px;
}

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

.page-products .breadcrumb a:hover {
  color: var(--c-neon);
}

.page-products .hero-kicker {
  display: inline-block;
  background: var(--c-orange);
  color: var(--c-bg-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  transform: skewX(-8deg);
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.page-products .product-hero h1 {
  font-family: var(--f-title);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 20px;
  color: var(--c-white);
  position: relative;
}

.page-products .product-hero h1::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--c-neon), var(--c-orange));
  border-radius: 2px;
}

.page-products .hero-lead {
  color: var(--c-blue);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 0 28px;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-products .hero-stats {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(192, 192, 192, 0.22);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  width: 100%;
  max-width: 560px;
}

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

.page-products .hero-stats strong {
  font-family: var(--f-mono);
  font-size: 1.9rem;
  color: var(--c-neon);
  line-height: 1.1;
}

.page-products .hero-stats span {
  color: var(--c-muted);
  font-size: 0.85rem;
  font-family: var(--f-body);
}

/* ===== Hero 手机框架 ===== */
.page-products .product-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.page-products .phone-shell {
  width: 292px;
  max-width: 92vw;
  padding: 14px;
  background: var(--c-bg-deep);
  border: 2px solid var(--c-silver);
  border-radius: 36px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.35), 0 0 40px rgba(57, 255, 20, 0.08);
  margin-inline: auto;
}

.page-products .phone-screen {
  border-radius: 24px;
  background: linear-gradient(160deg, #0D1B2A 0%, #0A192F 70%);
  height: 540px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 10px 12px;
  border: 1px solid rgba(192, 192, 192, 0.18);
}

.page-products .phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-silver);
  padding: 4px 8px 10px;
}

.page-products .phone-app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.16);
}

.page-products .phone-app-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--c-neon);
  color: var(--c-bg-deep);
  font-family: var(--f-title);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 6px;
  transform: skewX(-6deg);
}

.page-products .phone-app-title {
  font-family: var(--f-title);
  font-size: 0.88rem;
  color: var(--c-white);
  letter-spacing: 0.02em;
}

.page-products .phone-save-icon {
  margin-left: auto;
  color: var(--c-orange);
  font-size: 1.2rem;
  text-shadow: 0 0 12px rgba(255, 107, 0, 0.5);
}

.page-products .phone-match-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 14px;
}

.page-products .phone-match {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(192, 192, 192, 0.14);
  border-radius: 12px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products .phone-match-league {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  color: var(--c-muted);
}

.page-products .phone-match-score {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  color: var(--c-white);
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.page-products .phone-match-score b {
  color: var(--c-neon);
  font-weight: 700;
}

.page-products .phone-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(192, 192, 192, 0.16);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
}

.page-products .phone-bottom-nav .is-active {
  color: var(--c-neon);
  background: rgba(57, 255, 20, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.page-products .phone-caption {
  font-size: 0.78rem;
  text-align: center;
}

/* ===== 应用亮点 ===== */
.page-products .highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.page-products .highlight-card {
  background: var(--product-card-bg);
  border: 2px solid rgba(192, 192, 192, 0.28);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-products .highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.4);
}

.page-products .highlight-card--media {
  padding: 12px;
  background: linear-gradient(160deg, var(--product-card-bg-alt), var(--product-card-bg));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-products .highlight-card--media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(192, 192, 192, 0.2);
}

.page-products .highlight-card--media figcaption,
.page-products .subscribe-figure figcaption,
.page-products .qr-frame figcaption,
.page-products .changelog-figure figcaption,
.page-products .compare-media .media-caption {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--c-muted);
  text-align: center;
  margin-top: 8px;
}

.page-products .highlight-card--accent {
  border-color: rgba(57, 255, 20, 0.45);
  background: linear-gradient(150deg, rgba(57, 255, 20, 0.06), var(--product-card-bg) 70%);
  box-shadow: var(--shadow), var(--product-glow-green);
}

.page-products .highlight-icon {
  color: var(--c-neon);
  font-size: 1.3rem;
  line-height: 1;
  display: inline-block;
  margin-bottom: 12px;
}

.page-products .h-card-title {
  font-family: var(--f-title);
  font-size: 1.12rem;
  color: var(--c-white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.page-products .highlight-card p {
  color: var(--c-muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 14px;
}

.page-products .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.page-products .tag {
  display: inline-block;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.4);
  color: var(--c-neon);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
}

.page-products .tag--orange {
  background: rgba(255, 107, 0, 0.1);
  border-color: rgba(255, 107, 0, 0.5);
  color: var(--c-orange);
}

.page-products .link-arrow {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ===== 双版本对比 ===== */
.page-products .section--compare {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.9), rgba(10, 25, 47, 0.6));
  border-block: 1px solid rgba(192, 192, 192, 0.14);
}

.page-products .compare-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.page-products .compare-card {
  background: var(--product-card-bg);
  border: 2px solid var(--c-silver);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-products .compare-card--pro {
  border-color: rgba(255, 107, 0, 0.6);
  background: linear-gradient(150deg, rgba(255, 107, 0, 0.06), var(--product-card-bg) 60%);
  box-shadow: var(--shadow), var(--product-glow-orange);
}

.page-products .version-badge {
  display: inline-block;
  background: var(--c-neon);
  color: var(--c-bg-deep);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  transform: skewX(-8deg);
  margin-bottom: 18px;
}

.page-products .version-badge--pro {
  background: var(--c-orange);
}

.page-products .compare-card h3 {
  font-family: var(--f-title);
  font-size: 1.3rem;
  color: var(--c-white);
  margin-bottom: 8px;
}

.page-products .compare-desc {
  color: var(--c-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.page-products .feature-list li {
  position: relative;
  padding-left: 26px;
  margin-top: 10px;
  color: var(--c-white);
  font-size: 0.93rem;
  line-height: 1.5;
}

.page-products .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-neon);
  font-weight: 900;
}

.page-products .compare-card--pro .feature-list li::before {
  color: var(--c-orange);
}

.page-products .compare-tools {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 0;
}

.page-products .compare-slider-line {
  width: 4px;
  height: 180px;
  background: linear-gradient(180deg, var(--c-neon), var(--c-orange));
  border-radius: 3px;
  position: relative;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.35);
}

.page-products .compare-slider-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  background: var(--c-paper);
  border: 4px solid var(--c-neon);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.6);
}

.page-products .compare-scale {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--c-muted);
  text-align: center;
}

.page-products .compare-scale span:first-child {
  color: var(--c-neon);
}

.page-products .compare-scale span:last-child {
  color: var(--c-orange);
}

.page-products .compare-media {
  margin-top: 36px;
  text-align: center;
}

.page-products .compare-media img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 192, 192, 0.22);
  box-shadow: var(--shadow);
}

/* ===== 订阅与收藏 ===== */
.page-products .section--subscribe {
  background: rgba(13, 27, 42, 0.5);
}

.page-products .subscribe-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-products .subscribe-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: sub-step;
}

.page-products .subscribe-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(192, 192, 192, 0.14);
}

.page-products .subscribe-step:last-child {
  border-bottom: none;
}

.page-products .step-num {
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-neon);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 10px;
  padding: 6px 10px;
  line-height: 1;
  transform: skewX(-6deg);
}

.page-products .step-body h3 {
  font-family: var(--f-title);
  font-size: 1.05rem;
  color: var(--c-white);
  margin-bottom: 6px;
}

.page-products .step-body p {
  color: var(--c-muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.page-products .subscribe-figure {
  margin: 0;
}

.page-products .subscribe-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 192, 192, 0.22);
  box-shadow: var(--shadow);
}

/* ===== 下载方式 ===== */
.page-products .section--download {
  background: rgba(13, 27, 42, 0.7);
  border-block: 1px solid rgba(192, 192, 192, 0.14);
}

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

.page-products .qr-frame {
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
  background: var(--product-card-bg);
  border: 2px solid var(--c-silver);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow), var(--product-glow-green);
  text-align: center;
}

.page-products .qr-frame img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.page-products .download-guide {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.page-products .download-guide h3 {
  font-family: var(--f-title);
  font-size: 1.4rem;
  color: var(--c-white);
}

.page-products .download-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: download-step;
}

.page-products .download-steps li {
  counter-increment: download-step;
  position: relative;
  padding-left: 40px;
  margin-top: 14px;
  color: var(--c-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.page-products .download-steps li::before {
  content: counter(download-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--c-neon);
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.35);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.page-products .quote-line {
  margin: 0;
  padding: 14px 16px;
  background: var(--c-paper);
  border-left: 5px solid var(--c-orange);
  border-radius: 0 10px 10px 0;
  color: var(--c-bg-deep);
  font-size: 0.92rem;
  line-height: 1.6;
}

.page-products .download-more {
  background: rgba(192, 192, 192, 0.06);
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
}

.page-products .download-more summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-blue);
}

.page-products .download-more p {
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 12px 0 0;
}

.page-products .download-more a {
  color: var(--c-neon);
  text-decoration: none;
}

.page-products .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===== 版本更新记录 ===== */
.page-products .changelog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.page-products .changelog-list {
  border-left: 2px solid rgba(57, 255, 20, 0.35);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-products .changelog-item {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(192, 192, 192, 0.16);
  border-radius: 12px;
  padding: 18px;
}

.page-products .changelog-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--c-neon);
  border: 3px solid var(--c-bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.page-products .changelog-item:last-child::after {
  content: "";
  position: absolute;
  left: -26px;
  top: 34px;
  bottom: -24px;
  width: 4px;
  background: var(--c-neon);
  opacity: 0.25;
}

.page-products .version-tag {
  display: inline-block;
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.35);
  color: var(--c-neon);
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.page-products .changelog-body h3 {
  font-family: var(--f-title);
  font-size: 1rem;
  color: var(--c-white);
  margin-bottom: 6px;
}

.page-products .changelog-body p {
  color: var(--c-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.page-products .changelog-figure {
  margin: 0;
  align-self: center;
}

.page-products .changelog-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 192, 192, 0.22);
  box-shadow: var(--shadow);
}

/* ===== 延伸入口 ===== */
.page-products .section--appendix {
  padding-top: 24px;
}

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

.page-products .appendix-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--product-card-bg);
  border: 2px solid rgba(192, 192, 192, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-products .appendix-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.55);
}

.page-products .appendix-kicker {
  font-size: 0.78rem;
  color: var(--c-blue);
}

.page-products .appendix-card strong {
  font-family: var(--f-body);
  font-size: 1.02rem;
  color: var(--c-white);
  line-height: 1.5;
}

.page-products .appendix-card .link-arrow {
  font-size: 1.4rem;
  line-height: 1;
}

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .page-products .section {
    padding-block: 72px;
  }

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

  .page-products .product-hero {
    padding-block: 80px 56px;
  }

  .page-products .product-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }

  .page-products .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-products .highlight-card--media {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
  }

  .page-products .highlight-card--media img {
    flex: 1;
    object-fit: cover;
    min-height: 0;
  }

  .page-products .highlight-card {
    display: flex;
    flex-direction: column;
  }

  .page-products .compare-layout {
    grid-template-columns: 1fr 80px 1fr;
    gap: 24px;
    align-items: center;
  }

  .page-products .compare-tools {
    padding: 0;
  }

  .page-products .subscribe-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .download-layout {
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .changelog-layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }

  .page-products .appendix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-products .product-hero-inner {
    gap: 72px;
  }

  .page-products .product-hero-copy {
    padding-left: 12px;
  }

  .page-products .highlight-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(210px, auto);
  }

  .page-products .highlight-card--media {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .page-products .highlight-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .page-products .highlight-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .page-products .highlight-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .page-products .highlight-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
  }

  .page-products .highlight-card:nth-child(6) {
    grid-column: 4;
    grid-row: 1 / span 2;
  }

  .page-products .compare-layout {
    grid-template-columns: 1fr 100px 1fr;
    gap: 32px;
  }

  .page-products .compare-card {
    padding: 34px;
  }

  .page-products .download-layout {
    grid-template-columns: 420px 1fr;
  }
}
