.page-products {
  --c-primary: #2A1B5E;
  --c-primary-light: #6C4DF6;
  --c-accent: #A3FF12;
  --c-warning: #FF7A00;
  --c-dark: #12101F;
  --c-white: #F4F2EE;
  --c-gray: #2E3743;
  --c-muted: #B8B9C4;
  --c-neon-pink: #B967FF;
  --grad-cta: linear-gradient(135deg, #A3FF12 0%, #7BC50A 100%);
  --grad-line: linear-gradient(90deg, var(--c-accent) 0%, var(--c-primary-light) 50%, var(--c-warning) 100%);
  --font-heading: "Rajdhani", "DIN Condensed", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "Menlo", "Consolas", monospace;
  --clip-cut: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  background-color: #12101F;
  color: #F4F2EE;
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
}

.page-products__breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding-left: clamp(16px, 4vw, 48px);
  padding-right: clamp(16px, 4vw, 48px);
  padding-top: calc(var(--header-h, 72px) + 16px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #B8B9C4;
  flex-wrap: wrap;
}

.page-products__crumb-sep {
  color: #6C4DF6;
}

.page-products__crumb.is-current {
  color: #A3FF12;
}

.page-products__hero {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  padding: 32px clamp(16px, 4vw, 48px) 96px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}

/* ---- 左侧下载卡片 ---- */
.page-products__side {
  position: relative;
  z-index: 2;
}

.page-products__download-card {
  position: relative;
  background: linear-gradient(145deg, #1D1740 0%, #2A1B5E 60%, #1D1740 100%);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  padding: 32px 24px 24px;
  border: 1px solid rgba(108, 77, 246, 0.35);
  box-shadow: 0 0 40px rgba(108, 77, 246, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products__dc-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(108, 77, 246, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.page-products__dc-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #B967FF;
  letter-spacing: 1px;
  position: relative;
}

.page-products__dc-title {
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  color: #F4F2EE;
  position: relative;
}

.page-products__dc-version {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.page-products__version-number {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: #A3FF12;
  background: rgba(163, 255, 18, 0.08);
  padding: 4px 10px;
  border-left: 3px solid #A3FF12;
}

.page-products__dc-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.page-products__dc-meta-item {
  background: rgba(18, 16, 31, 0.6);
  border: 1px solid rgba(108, 77, 246, 0.2);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-products__dc-meta-label {
  font-size: 12px;
  color: #B8B9C4;
}

.page-products__dc-meta-value {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #F4F2EE;
  font-weight: 600;
}

.page-products__dc-action {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.page-products__download-btn {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  overflow: hidden;
  position: relative;
}

.page-products__download-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.page-products__download-btn:hover::after {
  left: 130%;
}

.page-products__dc-action-note {
  font-size: 12px;
  color: #B8B9C4;
  text-align: center;
  margin: 0;
}

.page-products__dc-seal {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border-top: 1px solid rgba(108, 77, 246, 0.25);
  border-bottom: 1px solid rgba(108, 77, 246, 0.25);
  padding: 10px 0;
}

.page-products__seal-icon {
  width: 28px;
  height: 28px;
  background: #A3FF12;
  color: #12101F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.page-products__seal-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A3FF12;
  line-height: 1.3;
}

.page-products__dc-img {
  margin: 0;
  position: relative;
}

.page-products__dc-img-src {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.page-products__dc-img-cap {
  font-size: 12px;
  color: #B8B9C4;
  padding: 8px 0 0;
  font-family: var(--font-mono);
}

/* ---- 下载弹层 ---- */
.page-products__download-pop {
  background: rgba(18, 16, 31, 0.98);
  border: 1px solid #6C4DF6;
  margin-top: 16px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  display: none;
}

.page-products__download-pop[data-open="true"] {
  display: block;
}

.page-products__pop-inner {
  padding: 24px;
}

.page-products__pop-head {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #A3FF12;
  margin-bottom: 14px;
}

.page-products__pop-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products__pop-item {
  margin: 0;
}

.page-products__pop-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(108, 77, 246, 0.08);
  border: 1px solid rgba(108, 77, 246, 0.25);
  color: #F4F2EE;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  min-height: 44px;
}

.page-products__pop-link:hover {
  border-color: #A3FF12;
  background: rgba(163, 255, 18, 0.06);
}

.page-products__pop-band {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}

.page-products__pop-speed {
  font-size: 13px;
  color: #B8B9C4;
}

.page-products__pop-note {
  font-size: 13px;
  color: #B8B9C4;
  margin: 0 0 14px;
}

.page-products__pop-bands {
  background: rgba(46, 55, 67, 0.3);
  border-left: 3px solid #6C4DF6;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.page-products__pop-bands-title {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #B967FF;
  margin: 0 0 6px;
  font-weight: 600;
}

.page-products__pop-bands p:last-child {
  margin-bottom: 0;
}

.page-products__pop-bands p {
  font-size: 13px;
  line-height: 1.7;
  color: #F4F2EE;
  margin: 0 0 4px;
}

.page-products__pop-secure-note {
  font-size: 12px;
  color: #B8B9C4;
  margin: 0;
}

.page-products__inline-link {
  color: #A3FF12;
  text-decoration: none;
  border-bottom: 1px solid rgba(163, 255, 18, 0.4);
  transition: border-color 0.2s ease;
}

.page-products__inline-link:hover {
  border-color: #A3FF12;
}

/* ---- 右侧内容区 ---- */
.page-products__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.page-products__intro {
  padding: 8px 0 0;
  border-bottom: 1px solid rgba(108, 77, 246, 0.2);
}

.page-products__lead {
  font-size: 18px;
  line-height: 1.8;
  color: #F4F2EE;
  margin: 0 0 14px;
}

.page-products__lead strong {
  color: #B967FF;
  font-weight: 700;
}

.page-products__lead-sub {
  font-size: 15px;
  line-height: 1.8;
  color: #B8B9C4;
  margin: 0;
}

.page-products__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-products__section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-products__section-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #B967FF;
  letter-spacing: 1px;
}

.page-products__section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #F4F2EE;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.page-products__paragraph {
  font-size: 15px;
  line-height: 1.8;
  color: #B8B9C4;
  margin: 0;
}

/* ---- 特性卡片 ---- */
.page-products__features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-products__feature-card {
  background: #1A1830;
  border: 1px solid rgba(108, 77, 246, 0.22);
  clip-path: var(--clip-cut);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.page-products__feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #A3FF12 0%, #6C4DF6 100%);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.page-products__feature-card:hover {
  border-color: rgba(163, 255, 18, 0.5);
  transform: translateY(-2px);
}

.page-products__feature-card:hover::before {
  opacity: 1;
}

.page-products__feature-icon {
  width: 36px;
  height: 36px;
  color: #A3FF12;
  stroke: currentColor;
}

.page-products__feature-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #F4F2EE;
  margin: 0;
}

.page-products__feature-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #B8B9C4;
  margin: 0;
}

.page-products__feature-link {
  margin: 8px 0 0;
}

/* ---- 图片块 ---- */
.page-products__img-block {
  margin: 0;
  position: relative;
}

.page-products__img-block-src {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-products__img-block-cap {
  font-size: 12px;
  color: #B8B9C4;
  padding: 10px 0 0;
  font-family: var(--font-mono);
}

.page-products__img-block--wide {
  margin-top: 16px;
}

.page-products__img-block--compact {
  margin-top: 8px;
  width: 100%;
  max-width: 800px;
}

/* ---- 适配范围 ---- */
.page-products__compat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.page-products__compat-brand-item {
  background: rgba(46, 55, 67, 0.3);
  border: 1px solid rgba(108, 77, 246, 0.16);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  clip-path: var(--clip-cut);
}

.page-products__compat-brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #F4F2EE;
}

.page-products__compat-brand-count {
  font-family: var(--font-mono);
  font-size: 14px;
  color: #A3FF12;
}

/* ---- 系统要求 Tabs ---- */
.page-products__tabs {
  display: flex;
  flex-direction: column;
}

.page-products__tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-products__tab-labels {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #2E3743;
  margin-bottom: 24px;
}

.page-products__tab-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #B8B9C4;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.page-products__tab-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #A3FF12, #6C4DF6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.page-products__tab-input:checked + .page-products__tab-labels .page-products__tab-label {
  color: #F4F2EE;
}

.page-products__tab-input:checked + .page-products__tab-labels .page-products__tab-label::after {
  transform: scaleX(1);
}

.page-products__tab-panel {
  display: none;
  padding: 24px;
  background: rgba(18, 16, 31, 0.6);
  border: 1px solid rgba(108, 77, 246, 0.15);
}

.page-products__tab-panel--android {
  display: block;
}

.page-products__tab-input:not(:checked) ~ .page-products__tab-panel--ios {
  display: block;
}

.page-products__tab-input:checked ~ .page-products__tab-panel--android {
  display: block;
}

.page-products__tab-input:checked ~ .page-products__tab-panel--ios {
  display: none;
}

.page-products__tab-input:nth-of-type(2):checked ~ .page-products__tab-labels .page-products__tab-label:nth-of-type(2) {
  color: #F4F2EE;
}

.page-products__tab-input:nth-of-type(2):checked ~ .page-products__tab-panel--android {
  display: none;
}

.page-products__tab-input:nth-of-type(2):checked ~ .page-products__tab-panel--ios {
  display: block;
}

.page-products__req-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-products__req-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: rgba(46, 55, 67, 0.2);
  border-left: 3px solid #6C4DF6;
}

.page-products__req-label {
  font-size: 12px;
  color: #B8B9C4;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.page-products__req-value {
  font-size: 15px;
  color: #F4F2EE;
  font-weight: 600;
}

.page-products__req-note {
  font-size: 13px;
  color: #B8B9C4;
  line-height: 1.7;
  margin: 0;
}

/* ---- 历史版本时间线 ---- */
.page-products__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 32px;
}

.page-products__timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, #A3FF12 0%, #6C4DF6 50%, #2E3743 100%);
}

.page-products__timeline-item {
  position: relative;
}

.page-products__timeline-marker {
  position: absolute;
  left: -27px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: #A3FF12;
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(163, 255, 18, 0.4);
}

.page-products__timeline-item.is-old .page-products__timeline-marker {
  background: #2E3743;
  box-shadow: none;
}

.page-products__timeline-card {
  background: #1A1830;
  border: 1px solid rgba(108, 77, 246, 0.2);
  padding: 20px 20px 18px;
  clip-path: var(--clip-cut);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products__timeline-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: #F4F2EE;
  margin: 0;
}

.page-products__timeline-desc {
  font-size: 14px;
  color: #B8B9C4;
  line-height: 1.7;
  margin: 0;
}

.page-products__timeline-size {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #B8B9C4;
  margin: 4px 0 0;
}

/* ---- 下载安全 ---- */
.page-products__security-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-products__security-alert {
  display: flex;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 122, 0, 0.08);
  border-left: 4px solid #FF7A00;
  align-items: flex-start;
}

.page-products__security-alert-icon {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #FF7A00;
  line-height: 1.2;
  font-weight: 800;
}

.page-products__security-alert-text {
  font-size: 15px;
  line-height: 1.7;
  color: #F4F2EE;
  margin: 0;
}

.page-products__security-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products__security-point {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(18, 16, 31, 0.5);
  border: 1px solid rgba(108, 77, 246, 0.16);
}

.page-products__security-point-num {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #6C4DF6;
  line-height: 1.8;
}

.page-products__security-point-text {
  font-size: 14px;
  line-height: 1.8;
  color: #B8B9C4;
  margin: 0;
}

/* ---- FAQ 预览 ---- */
.page-products__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-products__faq-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: #1A1830;
  border: 1px solid rgba(108, 77, 246, 0.18);
  clip-path: var(--clip-cut);
  text-decoration: none;
  transition: border-color 0.25s ease;
}

.page-products__faq-item:hover {
  border-color: #6C4DF6;
}

.page-products__faq-q {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #F4F2EE;
}

.page-products__faq-a {
  font-size: 13px;
  color: #B8B9C4;
  line-height: 1.6;
}

/* ---- 底部 CTA ---- */
.page-products__cta-inner {
  background: linear-gradient(135deg, #2A1B5E 0%, #1D1740 100%);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(108, 77, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.page-products__cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(163, 255, 18, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.page-products__cta-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: #F4F2EE;
  margin: 0;
  text-transform: uppercase;
  position: relative;
}

.page-products__cta-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #B8B9C4;
  margin: 0;
  position: relative;
}

.page-products__cta-btn {
  position: relative;
  min-height: 48px;
}

/* ---- data-reveal 滚动显现 ---- */
.page-products [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.33, 0, 0.2, 1), transform 0.7s cubic-bezier(0.33, 0, 0.2, 1);
}

.page-products [data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---- 桌面断点 ---- */
@media (min-width: 1100px) {
  .page-products__hero {
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
    padding-top: 48px;
  }

  .page-products__side {
    position: sticky;
    top: calc(var(--header-h, 72px) + 24px);
  }

  .page-products__breadcrumb {
    padding-top: calc(var(--header-h, 72px) + 28px);
  }

  .page-products__download-card {
    padding: 40px 28px 28px;
  }

  .page-products__dc-title {
    font-size: 52px;
  }

  .page-products__dc-meta {
    grid-template-columns: 1fr;
  }

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

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

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

  .page-products__security-points {
    grid-template-columns: 1fr 1fr;
  }

  .page-products__security-point:nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .page-products__cta-inner {
    padding: 60px 48px;
  }

  .page-products__cta-title {
    font-size: 38px;
  }
}

/* ---- 中屏适配 ---- */
@media (min-width: 640px) and (max-width: 1099px) {
  .page-products__dc-meta {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  .page-products__security-points {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- 移动端底部留白 ---- */
@media (max-width: 640px) {
  .page-products__hero {
    padding-bottom: 64px;
    gap: 32px;
  }

  .page-products__dc-title {
    font-size: 38px;
  }

  .page-products__version-number {
    font-size: 18px;
  }

  .page-products__section-title {
    font-size: 28px;
  }

  .page-products__pop-bands {
    padding: 10px 12px;
  }

  .page-products__tab-label {
    padding: 0 18px;
    font-size: 16px;
  }

  .page-products__cta-inner {
    padding: 36px 24px;
  }
}

/* ---- 无障碍：过渡动画关闭 ---- */
@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-products__download-btn::after {
    display: none;
  }
}
