.page-products {
  --products-gold-soft: rgba(212, 175, 55, 0.16);
  --products-gold-line: rgba(212, 175, 55, 0.38);
  --products-green-lift: #0D3A26;
  --products-bg-deep: #071F15;
}

/* ========== Hero ========== */
.page-products .products-hero {
  position: relative;
  padding: 44px 0 84px;
  background: linear-gradient(118deg, var(--green-deep) 0%, var(--green-mid) 62%, var(--green-deep) 100%);
  color: var(--paper);
  overflow: hidden;
}
.page-products .products-hero::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -12%;
  width: 72%;
  height: 160%;
  background: linear-gradient(112deg, transparent 16%, rgba(212, 175, 55, 0.12) 34%, rgba(34, 197, 94, 0.08) 52%, transparent 68%);
  transform: skewX(-7deg);
  pointer-events: none;
}
.page-products .products-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -28%;
  width: 46%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.18) 0%, transparent 66%);
  pointer-events: none;
}
.page-products .products-hero .container {
  position: relative;
  z-index: 1;
}
.page-products .products-hero .breadcrumbs {
  margin-bottom: 38px;
}
.page-products .products-hero .breadcrumb-link,
.page-products .products-hero .breadcrumb-current {
  color: rgba(255, 255, 255, 0.72);
}
.page-products .products-hero .breadcrumb-link:hover {
  color: var(--gold-light);
}
.page-products .products-hero .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}
.page-products .products-hero__inner {
  max-width: 900px;
}
.page-products .products-hero__kicker {
  margin-bottom: 12px;
}
.page-products .products-hero__title {
  font-size: clamp(26px, 4.2vw, 48px);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.page-products .products-hero__lede {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 42em;
  margin: 0 0 28px;
}
.page-products .products-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.page-products .products-hero__stats .stat-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 116px;
}
.page-products .products-hero__stats .stat-value {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.page-products .products-hero__stats .stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 2px;
  letter-spacing: 0.03em;
}
.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-products .products-hero__actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--paper);
}
.page-products .products-hero__actions .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ========== 下载主卡 ========== */
.page-products .products-download {
  scroll-margin-top: 24px;
}
.page-products .download-main {
  display: grid;
  gap: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.12), transparent 44%),
    var(--green-mid);
}
.page-products .download-main__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-products .download-main__phone-shell {
  position: relative;
  max-width: 260px;
  width: 100%;
  border-radius: 34px;
  padding: 10px;
  background: var(--green-deep);
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.45);
}
.page-products .download-main__phone-shell::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 18px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  z-index: 2;
}
.page-products .download-main__phone-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.page-products .download-main__live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}
.page-products .download-main__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-products .download-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  border: 1px solid var(--products-gold-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
.page-products .download-card__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.3em;
  background: var(--products-gold-soft);
  color: var(--gold);
  text-transform: uppercase;
}
.page-products .download-card__body {
  padding: 16px 18px;
}
.page-products .download-card__body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--paper);
}
.page-products .download-card__body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.page-products .download-card__body .btn {
  width: fit-content;
}

/* ========== 下载指引 ========== */
.page-products .download-guide {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--muted);
  border: 1px solid rgba(16, 83, 45, 0.06);
  scroll-margin-top: 24px;
}
.page-products .download-guide__head h3 {
  margin: 0;
  font-size: 22px;
  color: var(--ink);
}
.page-products .download-guide__head p {
  margin: 4px 0 0;
  color: var(--ink);
  opacity: 0.7;
  font-size: 14px;
}
.page-products .download-guide__steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.page-products .download-guide__step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid rgba(16, 83, 45, 0.06);
}
.page-products .download-guide__step-num {
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--gold);
  background: var(--products-gold-soft);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1;
}
.page-products .download-guide__step h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--ink);
}
.page-products .download-guide__step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.78;
}
.page-products .download-guide__qr {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid rgba(16, 83, 45, 0.06);
}
.page-products .download-guide__qr-rect {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  background-color: var(--paper);
  border: 1px solid var(--green-mid);
  border-radius: 10px;
  background-image:
    linear-gradient(90deg, var(--green-deep) 0 0),
    linear-gradient(180deg, var(--green-deep) 0 0),
    linear-gradient(90deg, var(--gold) 0 0),
    linear-gradient(180deg, var(--green-deep) 0 0);
  background-position: 12px 12px, 50px 12px, 12px 48px, 52px 54px;
  background-size: 22px 22px, 12px 12px, 36px 10px, 16px 14px;
  background-repeat: no-repeat;
}
.page-products .download-guide__qr p {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.78;
  line-height: 1.6;
}
.page-products .download-guide__qr a {
  color: var(--green-mid);
  font-weight: 500;
}

/* ========== 功能亮点 ========== */
.page-products .products-features {
  scroll-margin-top: 24px;
}
.page-products .features-platform {
  display: grid;
  gap: 20px;
}
.page-products .features-panel {
  background: var(--paper);
  border: 1px solid rgba(16, 83, 45, 0.07);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}
.page-products .features-panel__head {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-products .features-panel__head h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}
.page-products .features-panel--dark {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid) 110%);
  color: var(--paper);
  border: 0;
  box-shadow: none;
}
.page-products .features-panel--dark .features-panel__head h3 {
  color: var(--paper);
}
.page-products .features-grid {
  display: grid;
  gap: 16px;
}
.page-products .features-grid--compact {
  grid-template-columns: repeat(1, 1fr);
}
.page-products .feature-card {
  background: var(--paper);
  border: 1px solid rgba(16, 83, 45, 0.08);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--ease), box-shadow var(--ease);
}
.page-products .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}
.page-products .feature-card__index {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  background: var(--muted);
  border-radius: 999px;
  padding: 5px 12px;
}
.page-products .feature-card__content h4 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink);
}
.page-products .feature-card__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.74);
}
.page-products .feature-card__media {
  border-radius: 14px;
  overflow: hidden;
  background: var(--muted);
  aspect-ratio: 16 / 9;
}
.page-products .feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-products .feature-card--media-wide .feature-card__media {
  aspect-ratio: 16 / 10;
}
.page-products .feature-card--media-square .feature-card__media {
  aspect-ratio: 1 / 1;
}
.page-products .feature-card--compact .feature-card__content h4 {
  margin-bottom: 4px;
}
.page-products .features-panel--dark .feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.page-products .features-panel--dark .feature-card__index {
  background: var(--products-gold-soft);
  color: var(--gold);
}
.page-products .features-panel--dark .feature-card h4 {
  color: var(--paper);
}
.page-products .features-panel--dark .feature-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== 版本演进 ========== */
.page-products .products-version {
  scroll-margin-top: 24px;
}
.page-products .version-timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 56px;
}
.page-products .version-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-mid), var(--gold));
  border-radius: 2px;
}
.page-products .version-node {
  position: relative;
  margin-bottom: 32px;
}
.page-products .version-node__badge {
  position: absolute;
  left: -56px;
  top: 2px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 900;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.page-products .version-node__body {
  background: var(--muted);
  border-radius: 16px;
  padding: 20px;
  border-left: 4px solid var(--green-mid);
}
.page-products .version-node__body h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
}
.page-products .version-node__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(17, 24, 39, 0.74);
}
.page-products .version-node--current .version-node__body {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), transparent 80%);
  border-left-color: var(--gold);
}
.page-products .version-node--current .version-node__badge {
  background: var(--green-mid);
  color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.2), 0 6px 16px rgba(0, 0, 0, 0.22);
}
.page-products .version-refresh {
  margin-top: 44px;
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--green-deep), var(--green-mid));
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 20px;
}
.page-products .version-refresh img {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.4);
}
.page-products .version-refresh p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== 信任与后续导航 ========== */
.page-products .products-trust {
  background: linear-gradient(118deg, var(--green-deep) 0%, var(--green-mid) 70%, var(--green-deep) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-products .products-trust::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -30%;
  width: 42%;
  height: 160%;
  background: linear-gradient(112deg, transparent 20%, rgba(212, 175, 55, 0.12) 42%, transparent 68%);
  transform: skewX(-8deg);
  pointer-events: none;
}
.page-products .products-trust .container {
  position: relative;
  z-index: 1;
}
.page-products .products-trust__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.page-products .products-trust__copy {
  max-width: 680px;
}
.page-products .products-trust__text {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}
.page-products .products-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-products .products-trust .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--paper);
}
.page-products .products-trust .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ========== 媒体查询增强 ========== */
@media (min-width: 640px) {
  .page-products .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .features-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-products .download-guide__steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .page-products .download-main {
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 32px;
  }
  .page-products .download-main__visual {
    align-self: center;
  }
  .page-products .features-platform {
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
  }
  .page-products .version-refresh {
    padding: 28px 32px;
  }
  .page-products .products-trust__text {
    font-size: 17px;
  }
}
