.page-products {
  --page-card-bg: rgba(255, 255, 255, 0.06);
  --page-line: rgba(0, 212, 255, 0.24);
}

/* ===== Hero 首屏 ===== */
.page-products .product-hero {
  position: relative;
  padding: 132px 0 72px;
  overflow: hidden;
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 65%);
  pointer-events: none;
}

.page-products .product-hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-products .product-hero-copy {
  position: relative;
  z-index: 1;
}

.page-products .product-hero-copy h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  color: var(--color-white);
}

.page-products .product-hero-desc {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(244, 246, 249, 0.85);
  max-width: 540px;
  margin-bottom: 32px;
}

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

.page-products .product-hero-meta {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(244, 246, 249, 0.6);
  letter-spacing: 0.02em;
}

/* ===== CSS 手机模型 ===== */
.page-products .product-hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-products .phone-model {
  width: 220px;
  height: 440px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--color-deep-space), #14294F);
  border: 1px solid rgba(0, 212, 255, 0.28);
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.page-products .phone-model::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.24);
}

.page-products .phone-model::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16), transparent 60%);
  z-index: -1;
}

.page-products .phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.12), rgba(11, 27, 58, 0.92) 40%, var(--color-deep-space) 100%);
  padding: 30px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .phone-bar {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  width: 40%;
}

.page-products .phone-bar--wide {
  width: 72%;
  background: rgba(0, 212, 255, 0.6);
}

.page-products .phone-bar--short {
  width: 28%;
}

.page-products .phone-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.page-products .phone-cell {
  height: 46px;
  border-radius: 8px;
  background: rgba(62, 142, 90, 0.3);
  border: 1px solid rgba(62, 142, 90, 0.45);
}

.page-products .phone-cell:nth-child(2) {
  background: rgba(201, 154, 60, 0.3);
  border-color: rgba(201, 154, 60, 0.45);
}

.page-products .phone-cell:nth-child(3) {
  background: rgba(123, 94, 167, 0.3);
  border-color: rgba(123, 94, 167, 0.45);
}

.page-products .phone-btn {
  margin-top: auto;
  height: 26px;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.65);
}

/* ===== 面包屑 ===== */
.page-products .breadcrumb {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ===== 应用简介 ===== */
.page-products .product-intro {
  background: var(--color-white);
}

.page-products .product-intro-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-products .product-intro-copy h2,
.page-products .download-head h2,
.page-products .updates-head h2,
.page-products .guide-head h2,
.page-products .product-deep h2 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  color: var(--color-text);
}

.page-products .product-intro-copy > p:not(.num-label) {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.page-products .intro-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 14px;
}

.page-products .intro-list li {
  padding-left: 18px;
  border-left: 2px solid var(--color-grass);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

.page-products .intro-list strong {
  font-family: var(--font-title);
  font-weight: 700;
}

.page-products .product-intro-figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-light);
  box-shadow: 0 24px 48px rgba(11, 27, 58, 0.14);
  transform: rotate(-1.2deg);
}

.page-products .product-intro-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 下载渠道 ===== */
.page-products .product-download {
  position: relative;
  overflow: hidden;
  color: rgba(244, 246, 249, 0.85);
}

.page-products .download-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 280px;
  object-fit: cover;
  opacity: 0.24;
  pointer-events: none;
}

.page-products .download-head {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin-bottom: 40px;
}

.page-products .download-head h2 {
  color: var(--color-white);
}

.page-products .download-head p {
  font-family: var(--font-body);
  line-height: 1.8;
}

.page-products .download-cards {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  margin-bottom: 36px;
}

.page-products .download-card {
  background: var(--page-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  backdrop-filter: blur(6px);
}

.page-products .download-card--android {
  transform: translateY(12px);
}

.page-products .download-os {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-products .download-card h3 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.page-products .download-card p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(244, 246, 249, 0.72);
  margin-bottom: 22px;
}

.page-products .download-card .btn--primary {
  background-color: var(--color-grass);
  background-image: linear-gradient(120deg, var(--color-grass) 0%, var(--color-grass) 50%, var(--color-gold) 50%, var(--color-gold) 100%);
  background-size: 220% 100%;
  background-position: 0% 0;
  transition: background-position 0.35s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.page-products .download-card .btn--primary:hover,
.page-products .download-card .btn--primary:focus-visible {
  background-position: 100% 0;
  box-shadow: 0 6px 18px rgba(62, 142, 90, 0.35);
}

.page-products .download-help {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-products .download-help p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.page-products .download-help a {
  color: var(--color-electric);
  text-decoration: none;
}

/* ===== 版本更新记录 ===== */
.page-products .product-updates {
  background: var(--color-bg-light);
}

.page-products .updates-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.page-products .updates-head p:not(.num-label) {
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--color-text-light);
}

.page-products .update-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.page-products .update-tab {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 8px 18px;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.page-products .update-tab:hover,
.page-products .update-tab:focus-visible {
  background: var(--color-deep-space);
  border-color: var(--color-deep-space);
  color: var(--color-white);
}

.page-products .updates-layout {
  display: grid;
  gap: 44px;
}

.page-products .updates-timeline {
  display: grid;
  gap: 18px;
}

.page-products .update-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.page-products .update-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-electric));
}

.page-products .update-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.page-products .update-version {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--color-gold);
  background: rgba(201, 154, 60, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

.page-products .update-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.page-products .update-item h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.page-products .update-item p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.page-products .updates-side {
  display: grid;
  gap: 20px;
  align-content: stretch;
}

.page-products .updates-side figure {
  margin: 0;
  aspect-ratio: 5 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
}

.page-products .updates-side figure:last-child {
  aspect-ratio: 1 / 1;
  max-width: 220px;
}

.page-products .updates-side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== BIBO小屏使用指南 ===== */
.page-products .product-guide {
  background: var(--color-white);
}

.page-products .guide-head {
  max-width: 620px;
  margin-bottom: 40px;
}

.page-products .guide-head p:not(.num-label) {
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--color-text-light);
}

.page-products .guide-layout {
  display: grid;
  gap: 40px;
}

.page-products .guide-faq {
  display: grid;
  gap: 14px;
}

.page-products .guide-item {
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.page-products .guide-item summary {
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.page-products .guide-item summary::-webkit-details-marker {
  display: none;
}

.page-products .guide-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 2px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--color-gold);
  transition: transform 0.2s var(--ease-out);
}

.page-products .guide-item[open] summary::after {
  content: "−";
}

.page-products .guide-item p {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

.page-products .guide-figure {
  margin: 0;
  aspect-ratio: 8 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-light);
  box-shadow: 0 20px 44px rgba(11, 27, 58, 0.1);
}

.page-products .guide-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 下一步区块 ===== */
.page-products .product-deep {
  text-align: center;
  color: rgba(244, 246, 249, 0.85);
}

.page-products .product-deep-inner {
  max-width: 720px;
}

.page-products .product-deep h2 {
  color: var(--color-white);
}

.page-products .product-deep p:not(.num-label) {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.page-products .product-deep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ===== 桌面增强 ===== */
@media (min-width: 768px) {
  .page-products .product-hero {
    padding-top: 180px;
    padding-bottom: 100px;
  }

  .page-products .product-hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-products .product-intro-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 60px;
  }

  .page-products .download-cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-products .download-card--android {
    transform: translateY(24px);
  }

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

  .page-products .guide-layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
  }
}
