.page-products {
  --products-cta-gradient: linear-gradient(135deg, var(--neon-green), #00b36b);
  background:
    radial-gradient(ellipse at 82% 6%, rgba(0, 255, 136, 0.08), transparent 46%),
    radial-gradient(ellipse at 8% 38%, rgba(27, 58, 92, 0.50), transparent 58%),
    var(--space-blue);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== 面包屑 ===== */
.page-products .breadcrumbs {
  padding-top: 1.5rem;
}

/* ===== 首屏 Hero ===== */
.page-products .product-hero {
  padding: 0.5rem 0 4rem;
}

.page-products .product-hero-top {
  display: grid;
  gap: 1.5rem;
}

.page-products .product-hero-copy .eyebrow {
  display: block;
  margin-bottom: 0.75rem;
}

.page-products .product-hero-copy h1 {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  line-height: 1.06;
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0.75rem 0 1rem;
}

.page-products .product-hero-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--light-blue);
  max-width: 38em;
}

.page-products .product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-products .hero-statusboard {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: flex-end;
}

/* ===== 设备展示舞台 ===== */
.page-products .device-stage {
  position: relative;
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.page-products .stage-speedlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 24px;
  background: repeating-linear-gradient(
    115deg,
    transparent 0 36px,
    rgba(168, 208, 230, 0.06) 36px 38px,
    transparent 38px 72px
  );
}

.page-products .device-phone,
.page-products .device-tv,
.page-products .device-flow {
  position: relative;
  z-index: 1;
}

/* —— 手机框架 —— */
.page-products .device-phone-shell {
  position: relative;
  width: min(260px, 78vw);
  margin: 0 auto;
  background: linear-gradient(180deg, #16263c, var(--abyss-blue));
  border: 1px solid var(--grid-blue);
  border-radius: 26px;
  padding: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-products .device-phone-screen {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 1 / 2;
  min-height: 320px;
  background: var(--abyss-blue);
}

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

.page-products .device-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 18px;
  background: #050b16;
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.page-products .device-live-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 255, 136, 0.92);
  color: var(--space-blue);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 3;
}

/* —— 大屏框架 —— */
.page-products .device-tv-shell {
  width: min(560px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #16263c, var(--abyss-blue));
  border: 1px solid var(--grid-blue);
  border-bottom: none;
  padding: 12px 12px 6px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.page-products .device-tv-screen {
  aspect-ratio: 16 / 10;
  min-height: 180px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--abyss-blue);
}

.page-products .device-tv-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-products .device-tv-stand {
  width: 34%;
  height: 20px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--grid-blue), var(--abyss-blue));
  border-radius: 0 0 10px 10px;
  transform: perspective(60px) rotateX(-8deg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* —— 数据流 —— */
.page-products .device-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 84px;
}

.page-products .flow-beam {
  width: 2px;
  height: 48px;
  background: linear-gradient(180deg, transparent, var(--neon-green), transparent);
  animation: pageProductsBeamPulse 1.6s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes pageProductsBeamPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50% { opacity: 1; transform: scaleY(1); }
}

.page-products .flow-label {
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  color: var(--light-blue);
  border: 1px solid var(--line);
  background: rgba(10, 20, 40, 0.75);
  padding: 5px 10px;
  border-radius: 999px;
}

.page-products .device-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--light-blue);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* ===== 通用区块标题 ===== */
.page-products .section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 2rem;
  max-width: 760px;
}

.page-products .section-heading .eyebrow {
  margin-bottom: 0.5rem;
}

.page-products .section-heading h2 {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
}

.page-products .section-heading-sub {
  color: var(--light-blue);
  line-height: 1.6;
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* ===== 官方下载渠道 ===== */
.page-products .download-channel {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.5), rgba(10, 20, 40, 0));
  border-block: 1px solid var(--line);
  padding-block: 3.5rem;
}

.page-products .channel-grid {
  display: grid;
  gap: 1rem;
}

.page-products .channel-card {
  position: relative;
  overflow: hidden;
  background: rgba(13, 27, 42, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-products .channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--neon-green);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--ease);
}

.page-products .channel-card:hover,
.page-products .channel-card:focus-within {
  border-color: rgba(0, 255, 136, 0.45);
}

.page-products .channel-card:hover::before,
.page-products .channel-card:focus-within::before {
  transform: scaleY(1);
}

.page-products .channel-tv {
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.52), rgba(13, 27, 42, 0.88));
}

.page-products .channel-mobile {
  background: linear-gradient(200deg, rgba(13, 27, 42, 0.88), rgba(27, 58, 92, 0.42));
}

.page-products .channel-email {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.40), rgba(13, 27, 42, 0.92));
}

.page-products .channel-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.1em;
}

.page-products .channel-card h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.4rem;
  margin: 0.75rem 0 0.5rem;
}

.page-products .channel-card p {
  color: var(--light-blue);
  line-height: 1.55;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.page-products .channel-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.page-products .channel-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--off-white);
}

.page-products .channel-feature-list li::before {
  content: "›";
  color: var(--neon-green);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05em;
}

.page-products .channel-email-address {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  background: rgba(255, 201, 77, 0.07);
  border: 1px solid rgba(255, 201, 77, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 0.25rem 0 1rem;
  word-break: break-all;
}

/* 下载触发 details */
.page-products .download-trigger summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  background: var(--products-cta-gradient);
  color: var(--space-blue);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  transition: filter 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .download-trigger summary::-webkit-details-marker {
  display: none;
}

.page-products .download-trigger summary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.page-products .download-tip {
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 201, 77, 0.4);
  border-radius: 8px;
  background: rgba(255, 201, 77, 0.08);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  animation: pageProductsTipFade 0.25s var(--ease);
}

@keyframes pageProductsTipFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 下载区块底部资产 */
.page-products .download-assets {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.page-products .download-qr,
.page-products .download-flow-fig {
  margin: 0;
  text-align: center;
}

.page-products .download-qr img {
  width: 180px;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--off-white);
  padding: 6px;
}

.page-products .download-flow-fig img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.page-products .download-qr figcaption,
.page-products .download-flow-fig figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel-gray);
  margin-top: 0.75rem;
}

/* ===== 功能亮点 ===== */
.page-products .feature-section {
  padding-block: 3.5rem;
}

.page-products .feature-board {
  margin: 0 0 2.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(13, 27, 42, 0.6);
}

.page-products .feature-board-img {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .feature-grid {
  display: grid;
  gap: 1rem;
}

.page-products .feature-card {
  position: relative;
  background: rgba(168, 208, 230, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  transform: rotate(-1deg);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-products .feature-card:nth-child(even) {
  transform: rotate(1.2deg);
}

.page-products .feature-card:hover,
.page-products .feature-card:focus-within {
  transform: rotate(0deg) translateY(-4px);
  border-color: var(--neon-green);
  background: rgba(0, 255, 136, 0.06);
}

.page-products .feature-card-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.page-products .feature-card h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0.85rem 0 0.5rem;
}

.page-products .feature-card p {
  color: var(--light-blue);
  line-height: 1.55;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.page-products .feature-card .stat-block {
  margin-top: auto;
}

/* ===== 版本历史 ===== */
.page-products .version-section {
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.6), rgba(10, 20, 40, 0.2));
  border-top: 1px solid var(--line);
  padding-block: 3.5rem;
}

.page-products .version-current {
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.55), rgba(13, 27, 42, 0.88));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.75rem;
}

.page-products .version-code-wrap {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  align-content: center;
}

.page-products .version-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 999px;
  padding: 4px 10px;
}

.page-products .version-code {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 30px rgba(255, 201, 77, 0.35);
}

.page-products .version-desc h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.page-products .version-desc p {
  color: var(--light-blue);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.page-products .version-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-products .version-list li {
  background: rgba(0, 255, 136, 0.08);
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 136, 0.25);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
}

.page-products .version-history-details {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(13, 27, 42, 0.5);
}

.page-products .version-history-details summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-products .version-history-details summary::-webkit-details-marker {
  display: none;
}

.page-products .version-history-details summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--neon-green);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.page-products .version-history-details[open] summary::after {
  transform: rotate(45deg);
}

.page-products .version-timeline {
  list-style: none;
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.page-products .version-timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.page-products .timeline-version {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--gold);
}

.page-products .version-timeline p {
  margin: 0;
  line-height: 1.55;
  color: var(--light-blue);
  font-size: 0.9rem;
}

.page-products .version-honor {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}

.page-products .version-honor::before {
  content: "★";
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ===== 大屏使用指南 ===== */
.page-products .guide-section {
  padding-block: 3.5rem;
}

.page-products .guide-inner {
  background: rgba(10, 20, 40, 0.4);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.25rem;
}

.page-products .guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.page-products .guide-step {
  position: relative;
  background: rgba(13, 27, 42, 0.65);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 1.35rem 1.5rem;
}

.page-products .guide-step-index {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.page-products .guide-step h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.3rem;
  margin: 0.75rem 0 0.5rem;
}

.page-products .guide-step p {
  margin: 0;
  color: var(--light-blue);
  line-height: 1.55;
  font-size: 0.92rem;
}

.page-products .guide-help {
  margin-top: 1.5rem;
  background: rgba(168, 208, 230, 0.07);
  border: 1px dashed var(--grid-blue);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}

.page-products .guide-help p {
  margin: 0;
  color: var(--light-blue);
  font-size: 0.92rem;
}

.page-products .guide-help a {
  color: var(--neon-green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}

/* ===== 页面交叉入口 ===== */
.page-products .page-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

.page-products .page-crosslinks a {
  color: var(--light-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-products .page-crosslinks a:hover {
  color: var(--neon-green);
  border-color: var(--neon-green);
  transform: translateY(-2px);
}

/* ===== 平板 / 桌面适配 ===== */
@media (min-width: 640px) {
  .page-products .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .page-products .guide-inner {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .page-products .download-assets {
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
  }

  .page-products .download-qr figcaption,
  .page-products .download-flow-fig figcaption {
    text-align: center;
  }

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

@media (min-width: 900px) {
  .page-products .product-hero-top {
    grid-template-columns: 1fr minmax(220px, 320px);
    gap: 2rem;
    align-items: end;
  }

  .page-products .hero-statusboard {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
  }

  .page-products .device-stage {
    grid-template-columns: minmax(230px, 280px) auto minmax(380px, 560px);
    justify-content: center;
    gap: 1.8rem;
  }

  .page-products .device-flow {
    min-height: 0;
  }

  .page-products .flow-beam {
    width: 96px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    animation: pageProductsBeamPulseHorizontal 1.6s ease-in-out infinite;
  }

  @keyframes pageProductsBeamPulseHorizontal {
    0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
    50% { opacity: 1; transform: scaleX(1); }
  }

  .page-products .version-current {
    grid-template-columns: 180px 1fr;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .page-products .channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-products .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
