.page-products {
  position: relative;
  padding-bottom: clamp(48px, 8vw, 112px);
  color: var(--text-secondary);
  background:
    radial-gradient(115% 52% at 8% -6%, rgba(76, 29, 149, .48), transparent 62%),
    radial-gradient(70% 38% at 98% 2%, rgba(58, 199, 245, .08), transparent 60%),
    var(--void);
}

.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
}

.page-products .breadcrumb__item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.page-products .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 10px;
  color: var(--hairline);
}

.page-products .breadcrumb__link {
  color: var(--blue);
  text-decoration: none;
}

.page-products .breadcrumb__link:hover {
  color: var(--violet-soft);
}

.page-products .breadcrumb__current {
  color: var(--text-muted);
}

/* ---------- 首屏 ---------- */

.page-products .apps-hero {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  margin-top: clamp(26px, 4vw, 48px);
  align-items: center;
}

.page-products .apps-hero__media {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.page-products .apps-hero__copy {
  max-width: 640px;
}

.page-products .display {
  margin: 12px 0 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.02em;
  font-size: clamp(2.1rem, 6.4vw, 4.1rem);
}

.page-products .lede {
  margin: 20px 0 0;
  max-width: 36em;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.9;
}

.page-products .phone {
  position: relative;
  margin: 0;
  padding: 12px;
  border-radius: 40px;
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, #1d1636 0%, #0b0817 58%, #130e26 100%);
  box-shadow:
    0 46px 92px -48px rgba(0, 0, 0, .98),
    inset 0 0 0 1px rgba(201, 176, 255, .07);
}

.page-products .phone::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 34px;
  box-shadow: inset 0 0 44px rgba(76, 29, 149, .5);
  pointer-events: none;
}

.page-products .phone__frame {
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink);
}

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

.page-products .phone__hot {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 5px rgba(168, 85, 247, .2);
  cursor: help;
}

.page-products .phone__hot--city { top: 15%; right: 13%; }
.page-products .phone__hot--feed { top: 47%; left: 11%; }
.page-products .phone__hot--count { bottom: 17%; right: 15%; }

.page-products .phone__hot:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.page-products .phone__tip {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 168px;
  padding: 9px 11px;
  border-radius: var(--r-sm);
  border: 1px solid var(--neon);
  background: var(--slate);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease);
  pointer-events: none;
}

.page-products .phone__hot--city .phone__tip,
.page-products .phone__hot--count .phone__tip {
  left: auto;
  right: 22px;
}

.page-products .phone__hot:hover .phone__tip,
.page-products .phone__hot:focus .phone__tip,
.page-products .phone__hot:focus-within .phone__tip {
  opacity: 1;
  visibility: visible;
}

.page-products .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .hero-stats li {
  padding-top: 12px;
  border-top: 2px solid var(--neon);
}

.page-products .hero-stats .mono {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.page-products .hero-stats em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: .78rem;
  color: var(--text-muted);
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- 章节通用 ---------- */

.page-products .apps-section {
  margin-top: clamp(56px, 9vw, 112px);
}

.page-products .apps-lead {
  margin: 20px 0 0;
  max-width: 46em;
  font-size: 1rem;
  line-height: 1.9;
}

.page-products .apps-note {
  margin: 18px 0 0;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.page-products .apps-link {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 199, 245, .35);
}

.page-products .apps-link:hover {
  color: var(--violet-soft);
  border-bottom-color: var(--violet-soft);
}

.page-products .apps-figure {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

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

/* ---------- 01 首页层级 ---------- */

.page-products .screen-layers {
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.page-products .screen-layer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}

.page-products .screen-layer:last-child {
  border-bottom: 1px solid var(--hairline);
}

.page-products .screen-layer__idx {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--neon);
  padding-top: 3px;
}

.page-products .screen-layer__body h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-products .screen-layer__body p {
  margin: 8px 0 0;
  font-size: .94rem;
  line-height: 1.85;
}

/* ---------- 02 返水档位 ---------- */

.page-products .tier-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(24px, 3.5vw, 34px);
}

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

.page-products .tier-label {
  flex: 1 1 88px;
  min-width: 82px;
  padding: 11px 8px;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  background: var(--slate);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}

.page-products .tier-label:hover {
  border-color: var(--violet-soft);
  color: var(--text-primary);
}

.page-products .tier-input:checked + .tier-label {
  border-color: var(--neon);
  color: var(--text-primary);
  background: linear-gradient(180deg, rgba(168, 85, 247, .3), rgba(76, 29, 149, .42));
  box-shadow: 0 0 0 1px rgba(168, 85, 247, .38), 0 18px 40px -30px rgba(168, 85, 247, .9);
}

.page-products .tier-input:focus-visible + .tier-label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-products .tier-panels {
  flex: 1 1 100%;
  margin-top: 16px;
}

.page-products .tier-panel {
  display: none;
  padding: 18px 20px;
  border-left: 2px solid var(--neon);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--ink);
}

.page-products #tier-1:checked ~ .tier-panels .tier-panel--1,
.page-products #tier-2:checked ~ .tier-panels .tier-panel--2,
.page-products #tier-3:checked ~ .tier-panels .tier-panel--3,
.page-products #tier-4:checked ~ .tier-panels .tier-panel--4,
.page-products #tier-5:checked ~ .tier-panels .tier-panel--5,
.page-products #tier-6:checked ~ .tier-panels .tier-panel--6 {
  display: block;
}

.page-products .tier-panel .tier-panel__meta {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-products .tier-panel p:last-child {
  margin: 0;
  font-size: .94rem;
  line-height: 1.85;
}

/* ---------- 03 限红区间 ---------- */

.page-products .bands {
  margin: clamp(26px, 4vw, 38px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.page-products .band {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  cursor: help;
}

.page-products .band:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

.page-products .band__name {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.page-products .band__rail {
  display: block;
  height: 22px;
  border-radius: 11px;
  border: 1px solid var(--hairline);
  background: var(--slate);
  overflow: hidden;
}

.page-products .band__fill {
  display: block;
  height: 100%;
  border-radius: 11px 0 0 11px;
  background: linear-gradient(90deg, rgba(76, 29, 149, .92), var(--neon));
  transition: filter .18s var(--ease);
}

.page-products .band:hover .band__fill,
.page-products .band:focus-visible .band__fill {
  filter: brightness(1.25);
}

.page-products .band:nth-child(1) .band__fill { width: 22%; }
.page-products .band:nth-child(2) .band__fill { width: 34%; }
.page-products .band:nth-child(3) .band__fill { width: 48%; }
.page-products .band:nth-child(4) .band__fill { width: 66%; }
.page-products .band:nth-child(5) .band__fill { width: 92%; }

.page-products .band__tip {
  position: absolute;
  left: 78px;
  top: calc(100% - 2px);
  z-index: 6;
  width: max-content;
  max-width: min(320px, 78vw);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--blue);
  background: var(--slate);
  color: var(--text-primary);
  font-size: .8rem;
  line-height: 1.7;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s var(--ease), transform .16s var(--ease);
  pointer-events: none;
}

.page-products .band:hover .band__tip,
.page-products .band:focus-visible .band__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 04 收藏与提醒 ---------- */

.page-products .tools-grid {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  margin-top: clamp(26px, 4vw, 38px);
  align-items: start;
}

.page-products .tools-list {
  display: grid;
  gap: 2px;
}

.page-products .tool-item {
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}

.page-products .tool-item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.page-products .tool-item__idx {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--neon);
}

.page-products .tool-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-products .tool-item p:last-child {
  margin: 8px 0 0;
  font-size: .93rem;
  line-height: 1.85;
}

.page-products .city-filter {
  margin-top: clamp(26px, 4vw, 38px);
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: var(--ink);
}

.page-products .city-filter__label {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .12em;
  color: var(--text-muted);
}

.page-products .city-filter__item {
  border-top: 1px solid var(--hairline);
}

.page-products .city-filter__item:last-child {
  border-bottom: 1px solid var(--hairline);
}

.page-products .city-filter__item summary {
  padding: 14px 0;
  cursor: pointer;
  color: var(--text-primary);
  font-size: .95rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .city-filter__item summary::-webkit-details-marker {
  display: none;
}

.page-products .city-filter__item summary::before {
  content: "+";
  flex: none;
  width: 18px;
  text-align: center;
  font-family: var(--font-mono);
  color: var(--neon);
}

.page-products .city-filter__item[open] summary::before {
  content: "–";
}

.page-products .city-filter__item p {
  margin: 0 0 16px;
  padding-left: 28px;
  font-size: .9rem;
  line-height: 1.85;
}

/* ---------- 05 版本与设备 ---------- */

.page-products .spec-list {
  margin: clamp(24px, 3.5vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.page-products .spec-list li {
  display: grid;
  grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
  gap: 4px 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
}

.page-products .spec-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.page-products .spec-list__k {
  font-size: .84rem;
  color: var(--text-muted);
}

.page-products .spec-list__v {
  font-size: .94rem;
  line-height: 1.75;
  color: var(--text-primary);
}

/* ---------- 06 使用场景 ---------- */

.page-products .scene-grid {
  display: grid;
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(26px, 4vw, 38px);
}

.page-products .scene {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, rgba(23, 18, 40, .95), rgba(14, 11, 26, .95));
  box-shadow: var(--shadow-card);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-products .scene:hover {
  border-color: rgba(168, 85, 247, .5);
  transform: translateY(-3px);
}

.page-products .scene__idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--amber);
}

.page-products .scene h3 {
  margin: 10px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.page-products .scene p:last-child {
  margin: 10px 0 0;
  font-size: .93rem;
  line-height: 1.88;
}

.page-products .apps-cta {
  display: grid;
  gap: 18px;
  margin-top: clamp(30px, 4.5vw, 46px);
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(168, 85, 247, .32);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(76, 29, 149, .55), transparent 62%),
    var(--slate);
}

.page-products .apps-cta__text {
  margin: 0;
  max-width: 44em;
  font-size: .96rem;
  line-height: 1.85;
  color: var(--text-primary);
}

.page-products .apps-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 620px) {
  .page-products .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .page-products .apps-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-products .apps-hero {
    grid-template-columns: minmax(260px, 4fr) minmax(0, 7fr);
    align-items: center;
  }

  .page-products .apps-hero__media {
    margin: 0;
    max-width: 400px;
  }

  .page-products .tools-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-products .screen-layer {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 26px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .phone__tip,
  .page-products .band__tip,
  .page-products .band__fill,
  .page-products .scene,
  .page-products .tier-label {
    transition: none;
  }

  .page-products .scene:hover {
    transform: none;
  }
}
