.page-products {
  --color-gold-deep: #D19A00;
  --color-navy-light: #16294A;
  --color-line-soft: rgba(255, 255, 255, 0.12);
  --color-card-soft: rgba(247, 247, 242, 0.04);
  --device-width: 300px;
  --device-height: 610px;
  background-color: var(--color-navy);
  color: var(--color-light);
  overflow-x: hidden;
  font-family: var(--font-sans);
}

/* ===== Hero 首屏 ===== */
.page-products .product-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, #0B254D 100%);
  padding: 24px 0 72px;
  overflow: hidden;
}

.page-products .hero-ornament {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-products .hero-grid-line {
  position: absolute;
  background: rgba(245, 179, 1, 0.22);
}

.page-products .hero-grid-line.grid-a {
  top: 22%;
  right: -2%;
  width: 45%;
  height: 1px;
  transform: rotate(-12deg);
}

.page-products .hero-grid-line.grid-b {
  bottom: 12%;
  right: -4%;
  width: 60%;
  height: 1px;
  transform: rotate(8deg);
  background: rgba(58, 125, 189, 0.45);
}

.page-products .hero-grid-line.grid-c {
  top: -10%;
  right: 26%;
  width: 1px;
  height: 45%;
  transform: rotate(22deg);
  background: rgba(230, 57, 70, 0.35);
}

.page-products .hero-diagonal {
  position: absolute;
  top: 0;
  left: -15%;
  width: 130%;
  height: 100%;
  background: repeating-linear-gradient(105deg, transparent 0px, transparent 36px, rgba(245, 179, 1, 0.03) 36px, rgba(245, 179, 1, 0.03) 37px);
}

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

.page-products .product-hero__info {
  max-width: 560px;
}

.page-products .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.page-products .breadcrumbs a {
  color: rgba(247, 247, 242, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .breadcrumbs a:hover {
  color: var(--color-gold);
}

.page-products .breadcrumbs__sep {
  color: var(--color-gold);
  opacity: 0.7;
}

.page-products .breadcrumbs__current {
  color: var(--color-light);
  font-weight: 500;
}

.page-products .product-hero__title {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--color-light);
}

.page-products .text-gold {
  display: block;
  color: var(--color-gold);
  font-weight: 900;
}

.page-products .product-hero__lead {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(247, 247, 242, 0.78);
  margin: 0 0 28px;
  max-width: 520px;
}

.page-products .download-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 460px;
  margin-bottom: 24px;
}

.page-products .download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--color-card-soft);
  border: 1px solid var(--color-line-soft);
  border-radius: 0;
  text-decoration: none;
  color: var(--color-light);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.page-products .download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.page-products .download-card:hover {
  background: rgba(245, 179, 1, 0.08);
  border-color: rgba(245, 179, 1, 0.45);
  transform: translateY(-2px);
}

.page-products .download-card:hover::before {
  transform: scaleY(1);
}

.page-products .download-card--android::before {
  background: var(--color-data);
}

.page-products .download-card__icon {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.page-products .download-card--android .download-card__icon {
  color: var(--color-data);
}

.page-products .download-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.page-products .download-card__label {
  font-weight: 700;
  font-size: 16px;
}

.page-products .download-card__version {
  font-size: 12px;
  color: rgba(247, 247, 242, 0.55);
  font-family: var(--font-mono);
}

.page-products .download-card__mark {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-gold);
  letter-spacing: 0.08em;
}

.page-products .download-card--android .download-card__mark {
  color: var(--color-data);
}

.page-products .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 480px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 179, 1, 0.25);
}

.page-products .hero-trust__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(247, 247, 242, 0.65);
}

.page-products .hero-trust__check {
  color: var(--color-gold);
  font-size: 10px;
  line-height: 1;
}

/* 手机样机 */
.page-products .product-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 12px;
}

.page-products .hero-backplate {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 680px;
  background: rgba(245, 179, 1, 0.05);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  z-index: 0;
}

.page-products .backplate-line {
  position: absolute;
  background: rgba(245, 179, 1, 0.14);
}

.page-products .backplate-line--x {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.page-products .backplate-line--y {
  top: 0;
  left: 38%;
  width: 1px;
  height: 100%;
}

.page-products .device-frame {
  position: relative;
  z-index: 2;
  width: var(--device-width);
  height: var(--device-height);
  background: #0D1B2E;
  border: 2px solid rgba(245, 179, 1, 0.6);
  border-radius: 26px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(247, 247, 242, 0.06);
}

.page-products .device-frame::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0.6;
}

.page-products .device-frame__topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 24px;
  padding: 0 12px;
}

.page-products .device-frame__camera {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  border: 1px solid rgba(245, 179, 1, 0.6);
}

.page-products .device-frame__speaker {
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: rgba(247, 247, 242, 0.2);
}

.page-products .device-screen {
  position: relative;
  width: 100%;
  height: calc(100% - 30px);
  background: var(--color-navy-deep);
  overflow: hidden;
}

.page-products .device-screen__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

.page-products .device-screen__status {
  position: absolute;
  bottom: 18%;
  left: 0;
  padding: 7px 14px;
  background: rgba(10, 31, 60, 0.85);
  border-left: 3px solid var(--color-gold);
  font-size: 12px;
  color: var(--color-light);
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.page-products .device-screen__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  box-shadow: 0 0 12px rgba(245, 179, 1, 0.7);
  border-radius: 50%;
  animation: dot-pulse 1.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

.page-products .device-screen__dot--a { top: 24%; right: 14%; }
.page-products .device-screen__dot--b { top: 68%; left: 12%; animation-delay: 1.2s; }

.page-products .device-frame__note {
  position: absolute;
  right: -92px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(247, 247, 242, 0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  width: 24px;
  text-align: center;
  font-family: var(--font-mono);
}

/* ===== 下载中心 ===== */
.page-products .section {
  padding: 60px 0;
}

.page-products .section--alt {
  background: var(--color-light);
  color: var(--color-navy);
}

.page-products .section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 14px;
}

.page-products .section--alt .section-label {
  color: var(--color-navy);
  border-left: 3px solid var(--color-gold);
  padding-left: 10px;
}

.page-products .section-label--red {
  color: var(--color-red);
  border-left-color: var(--color-red);
  padding-left: 10px;
}

.page-products .section-title {
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 14px;
}

.page-products .section--alt .section-title {
  color: var(--color-navy);
}

.page-products .section-intro {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 247, 242, 0.72);
  max-width: 640px;
  margin: 0 0 34px;
}

.page-products .section--alt .section-intro {
  color: rgba(26, 26, 26, 0.7);
}

.page-products .download-options {
  --grid-gap: 16px;
}

.page-products .download-option {
  padding: 28px 24px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: #FFFFFF;
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(10, 31, 60, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-products .download-option:hover {
  box-shadow: 0 14px 38px rgba(10, 31, 60, 0.1);
  transform: translateY(-4px);
}

.page-products .download-option__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.page-products .download-option__icon {
  color: var(--color-gold);
}

.page-products .download-option h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--color-navy);
}

.page-products .download-option p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.72);
  margin: 0 0 18px;
  flex: 1;
}

.page-products .qr-wrap {
  background: var(--color-light);
  padding: 14px;
  text-align: center;
}

.page-products .qr-wrap__img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  filter: contrast(1.1);
}

.page-products .qr-wrap__label {
  display: block;
  font-size: 13px;
  color: var(--color-navy);
  margin-top: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.page-products .download-option__footnote {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-data);
  background: rgba(58, 125, 189, 0.1);
  padding: 6px 10px;
  display: inline-block;
}

/* ===== 功能亮点 ===== */
.page-products .features-section {
  background: var(--color-navy);
}

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

.page-products .feature-feature {
  position: relative;
  padding: 24px;
  background: rgba(247, 247, 242, 0.03);
  border: 1px solid rgba(247, 247, 242, 0.1);
}

.page-products .feature-feature::before {
  content: "01";
  position: absolute;
  top: -18px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 700;
  color: rgba(245, 179, 1, 0.8);
  background: var(--color-navy);
  padding: 0 8px;
}

.page-products .feature-feature:nth-child(2)::before {
  content: "02";
}

.page-products .feature-feature__media {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.page-products .feature-feature__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.page-products .feature-feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-light);
}

.page-products .feature-feature p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 247, 242, 0.72);
  margin: 0;
}

/* ===== 版本历史 ===== */
.page-products .history-section {
  position: relative;
}

.page-products .history-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.page-products .history-head .text-link {
  color: var(--color-navy);
  font-size: 14px;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-gold);
  font-weight: 500;
}

.page-products .history-scroll {
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-products .version-list {
  display: flex;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0 4px;
  min-width: min-content;
}

.page-products .version-item {
  scroll-snap-align: start;
  width: 280px;
  flex: 0 0 280px;
  background: #FFFFFF;
  border-top: 4px solid var(--color-navy);
  padding: 36px 20px 24px;
  position: relative;
  box-shadow: 0 2px 10px rgba(10, 31, 60, 0.07);
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.page-products .version-item__badge {
  position: absolute;
  top: -1px;
  right: 12px;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

.page-products .version-item__badge--prev {
  background: var(--color-light);
  color: rgba(26, 26, 26, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.12);
}

.page-products .version-item__code {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-data);
  letter-spacing: 0.04em;
}

.page-products .version-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 10px 0 8px;
}

.page-products .version-item p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.68);
  flex: 1;
  margin: 0 0 12px;
}

.page-products .version-item__meta {
  font-size: 12px;
  color: rgba(26, 26, 26, 0.5);
  border-top: 1px dashed rgba(26, 26, 26, 0.15);
  padding-top: 10px;
}

.page-products .history-foot {
  position: relative;
  margin-top: 32px;
  text-align: center;
}

.page-products .history-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--color-gold) 0 8px, transparent 8px 16px);
  opacity: 0.35;
}

.page-products .history-foot__img {
  max-width: 480px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.page-products .history-foot__note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: rgba(26, 26, 26, 0.55);
}

/* ===== 系统与适配 ===== */
.page-products .compatibility-section {
  padding: 60px 0;
  background: var(--color-navy);
  position: relative;
}

.page-products .compatibility-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-red));
}

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

.page-products .compatibility-copy .section-intro {
  margin-bottom: 28px;
}

.page-products .compat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.page-products .compat-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(247, 247, 242, 0.12);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
}

.page-products .compat-item:first-child {
  border-top: 1px solid rgba(247, 247, 242, 0.12);
}

.page-products .compat-item dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-gold);
  letter-spacing: 0.06em;
}

.page-products .compat-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 247, 242, 0.68);
}

.page-products .compat-aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.page-products .compat-aside__box {
  background: rgba(245, 179, 1, 0.07);
  border: 1px solid rgba(245, 179, 1, 0.25);
  padding: 16px 10px;
  text-align: center;
  position: relative;
}

.page-products .compat-aside__box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

.page-products .compat-aside__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-light);
  line-height: 1.1;
  position: relative;
}

.page-products .compat-aside__num .unit {
  font-size: 15px;
  font-weight: 500;
  color: rgba(247, 247, 242, 0.6);
  margin-left: 2px;
}

.page-products .compat-aside__box p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(247, 247, 242, 0.6);
  margin: 8px 0 0;
}

/* ===== CTA 尾部 ===== */
.page-products .cta-section {
  padding: 20px 0 70px;
  background: var(--color-light);
}

.page-products .cta-container {
  padding: 0 24px;
}

.page-products .cta-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--color-navy-deep);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--color-gold);
}

.page-products .cta-card__grain {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(245, 179, 1, 0.06) 6px 7px);
  pointer-events: none;
}

.page-products .cta-card__content {
  position: relative;
  z-index: 1;
}

.page-products .cta-card__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin: 0 0 8px;
}

.page-products .cta-card__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-light);
  margin: 0;
}

.page-products .cta-card .button--gold {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-weight: 700;
  padding: 13px 32px;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.page-products .cta-card .button--gold:hover {
  background: var(--color-gold-deep);
  transform: translateY(-2px);
}

/* 通用卡片 */
.page-products .card {
  background: var(--color-light);
  border-radius: 0;
}

.page-products .button--ghost {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-weight: 600;
  padding: 10px 26px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-products .button--ghost:hover {
  background: var(--color-navy);
  color: var(--color-light);
}

.page-products .media-frame__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--color-navy-deep);
  color: var(--color-gold);
  font-size: 12px;
  padding: 4px 10px;
  letter-spacing: 0.12em;
  border-left: 2px solid var(--color-gold);
  font-family: var(--font-mono);
}

/* 响应式 */
@media (min-width: 768px) {
  .page-products .product-hero {
    padding: 40px 0 108px;
  }

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

  .page-products .product-hero__title {
    font-size: 48px;
  }

  .page-products .download-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-products .hero-trust {
    flex-direction: column;
    gap: 8px;
  }

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

  .page-products .version-list {
    gap: 20px;
  }

  .page-products .cta-card {
    flex-direction: row;
    align-items: center;
    padding: 44px 48px;
  }

  .page-products .cta-card__title {
    font-size: 32px;
  }
}

@media (min-width: 1024px) {
  .page-products .section {
    padding: 84px 0;
  }

  .page-products .compatibility-layout {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .page-products .compat-aside {
    grid-template-columns: 1fr;
    gap: 14px;
    align-content: start;
    align-items: stretch;
    height: 100%;
  }

  .page-products .compat-aside__box {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding: 22px 26px;
  }

  .page-products .compat-aside__num {
    font-size: 38px;
    min-width: 90px;
  }

  .page-products .compat-aside__box p {
    margin: 0;
    flex: 1;
    font-size: 13px;
  }

  .page-products .hero-backplate {
    width: 410px;
    height: 720px;
  }

  .page-products .device-frame {
    --device-width: 320px;
    --device-height: 640px;
  }

  .page-products .device-frame__note {
    right: -112px;
  }

  .page-products .version-item {
    width: 320px;
    flex-basis: 320px;
  }
}

@media (min-width: 1366px) {
  .page-products .product-hero__inner {
    grid-template-columns: 1fr 0.9fr;
  }
}

/* 滚动条和显示优化 */
.page-products .history-scroll::-webkit-scrollbar {
  height: 5px;
}

.page-products .history-scroll::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 0;
}

.page-products .history-scroll::-webkit-scrollbar-track {
  background: rgba(10, 31, 60, 0.1);
}

/* 无障碍：减少动效偏好时关闭动画 */
@media (prefers-reduced-motion: reduce) {
  .page-products .device-screen__dot,
  .page-products .device-frame__topbar span {
    animation: none !important;
  }
}
