.page-products {
  --page-red: var(--color-red);
  --page-red-dark: var(--color-red-dark);
  --page-silver: var(--color-silver);
  --page-gray: var(--color-gray);
  --page-black: var(--color-black);
  --page-neon: var(--color-neon);
  --page-cream: var(--color-cream);
  --page-white: var(--color-white);
  --page-mono: var(--font-mono);
  --page-display: var(--font-display);
  --page-body: var(--font-body);

  color: var(--page-cream);
  background-color: var(--page-black);
}

/* ===== 首屏：应用简介 ===== */
.page-products .section--intro {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px),
    linear-gradient(140deg, var(--page-gray) 0%, var(--page-black) 58%, var(--page-red-dark) 150%);
}

.page-products .split-hero {
  display: grid;
  gap: 2rem;
}

.page-products .split-hero__copy {
  order: 2;
}

.page-products .hero__visual {
  order: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 1.5rem;
}

.page-products .hero__visual::before {
  content: "";
  position: absolute;
  top: 6%;
  right: -8%;
  width: 62%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(212,0,29,.38), transparent 70%);
  clip-path: polygon(30% 0, 100% 20%, 80% 100%, 0 90%);
  z-index: 0;
}

.page-products .hero__visual .device {
  z-index: 1;
}

.page-products .hero__text {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: rgba(245,245,240,.92);
  line-height: 1.7;
}

.page-products .hero__features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .625rem;
}

.page-products .hero__features li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--page-cream);
  font-size: .95rem;
  line-height: 1.6;
}

.page-products .hero__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5em;
  height: .5em;
  background: var(--page-neon);
  transform: rotate(45deg);
}

.page-products .hero__stats {
  margin-top: 1.75rem;
}

.page-products .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 1.75rem;
}

.page-products .hero__title {
  max-width: 12em;
}

.page-products .hero__title::after {
  content: "";
  display: block;
  width: 96px;
  height: 6px;
  margin-top: 1rem;
  background: var(--page-red);
  box-shadow: 0 0 18px rgba(212,0,29,.6);
}

/* ===== 设备模型 ===== */
.page-products .device--phone {
  position: relative;
  width: min(260px, 62vw);
  box-sizing: border-box;
  border-radius: 48px;
  background: linear-gradient(160deg, #303030 0%, #141414 70%, #1f1f1f 100%);
  border: 7px solid #3a3a3a;
  padding: 12px 12px 26px;
  box-shadow:
    0 30px 55px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.05),
    inset 0 0 20px rgba(0,0,0,.35);
  transform: rotate(-4deg);
}

.page-products .device--phone::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 999px;
  background: #0a0a0a;
  border: 1px solid #222;
}

.page-products .device--phone .device__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  border-radius: 38px;
}

.page-products .device--tv {
  position: relative;
  width: 100%;
  max-width: 920px;
  box-sizing: border-box;
  border-radius: 20px;
  background: linear-gradient(160deg, #262626, #101010);
  border: 8px solid #262626;
  padding: 7px;
  box-shadow:
    0 30px 55px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.05);
  transform: rotate(2deg);
}

.page-products .device--tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  border-radius: 0 0 10px 10px;
  background: #3a3a3a;
}

.page-products .device--tv .device__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== 核心功能 ===== */
.page-products .section--features {
  background:
    radial-gradient(circle at 85% 10%, rgba(57,255,20,.08), transparent 30%),
    var(--page-gray);
}

.page-products .section--features .section__title {
  color: var(--page-white);
}

.page-products .feature-intro {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.page-products .feature-intro__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.1);
}

.page-products .feature-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.page-products .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  padding: 1.75rem 1.25rem;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.page-products .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 3px;
  background: var(--page-red);
  clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
}

.page-products .feature-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  border-color: var(--page-silver);
}

.page-products .feature-card__icon {
  width: 44px;
  height: 44px;
  color: var(--page-silver);
  transition: color .25s ease, transform .25s ease;
}

.page-products .feature-card:hover .feature-card__icon {
  color: var(--page-neon);
  transform: rotate(6deg) scale(1.05);
}

.page-products .feature-card__title {
  margin: 0;
  font-family: var(--page-display);
  font-size: 1.25rem;
  color: var(--page-white);
  letter-spacing: .02em;
}

.page-products .feature-card__desc {
  margin: 0;
  color: rgba(245,245,240,.85);
  font-size: .95rem;
  line-height: 1.65;
}

/* ===== 赛后复查 ===== */
.page-products .section--report {
  background:
    radial-gradient(circle at 12% 90%, rgba(212,0,29,.35), transparent 45%),
    linear-gradient(150deg, #2a0505 0%, #120606 70%, #0d0d0d 100%);
}

.page-products .split {
  display: grid;
  gap: 2rem;
}

.page-products .split__copy {
  color: var(--page-cream);
}

.page-products .split__copy p {
  line-height: 1.75;
}

.page-products .image-frame--tablet {
  border-radius: 18px;
  border: 6px solid #222;
  padding: 8px;
  background: #111;
  box-shadow: 0 24px 45px rgba(0,0,0,.5);
}

.page-products .image-frame--tablet img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.page-products .report__points {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: .625rem;
}

.page-products .report__points li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(245,245,240,.92);
  line-height: 1.6;
}

.page-products .report__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .5em;
  height: .5em;
  background: var(--page-red);
  transform: rotate(45deg);
}

/* ===== 大屏端 ===== */
.page-products .section--bigscreen {
  background:
    linear-gradient(120deg, rgba(192,192,192,.12), transparent 45%),
    var(--page-black);
}

.page-products .bigscreen-features {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.page-products .bigscreen-feature {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 4px solid var(--page-red);
  border-radius: 14px;
}

.page-products .bigscreen-feature__num {
  font-family: var(--page-mono);
  font-size: .875rem;
  font-weight: 700;
  color: var(--page-neon);
  letter-spacing: .1em;
}

.page-products .bigscreen-feature__title {
  margin: 0 0 .375rem;
  font-family: var(--page-display);
  font-size: 1.125rem;
  color: var(--page-white);
}

.page-products .bigscreen-feature p {
  margin: 0;
  color: rgba(245,245,240,.85);
  font-size: .95rem;
  line-height: 1.6;
}

/* ===== 下载方式 ===== */
.page-products .section--download {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 48px),
    var(--page-gray);
}

.page-products .download-head {
  max-width: 42rem;
}

.page-products .download-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.page-products .download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(192,192,192,.25);
  border-radius: 18px;
  transition: transform .2s ease, border-color .2s ease;
}

.page-products .download-card:hover {
  transform: translateY(-3px);
  border-color: var(--page-silver);
}

.page-products .download-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.page-products .download-card__platform {
  font-family: var(--page-display);
  font-size: 2rem;
  letter-spacing: .03em;
  color: var(--page-white);
}

.page-products .download-card__desc {
  margin: 0;
  color: rgba(245,245,240,.85);
  font-size: .95rem;
  line-height: 1.65;
}

.page-products .download-card .btn {
  align-self: flex-start;
}

.page-products .download-card--qr {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-products .download-card--qr img {
  display: block;
  width: min(200px, 72%);
  height: auto;
  border-radius: 12px;
}

.page-products .download-card__qr-note {
  margin: 0;
  color: var(--page-neon);
  font-family: var(--page-mono);
  font-size: .875rem;
}

.page-products .download-accordion {
  margin: 1.5rem 0 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
}

.page-products .accordion__trigger {
  margin: 0;
  padding: 1.1rem .25rem;
  font-family: var(--page-display);
  font-size: 1.1rem;
  color: var(--page-cream);
  border-bottom: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: color .2s ease;
}

.page-products .accordion__trigger:hover {
  color: var(--page-neon);
}

.page-products .accordion__panel {
  padding-bottom: 1rem;
}

.page-products .accordion__panel-inner {
  color: rgba(245,245,240,.88);
  font-size: .95rem;
  line-height: 1.7;
}

.page-products .download-note {
  color: rgba(245,245,240,.8);
  font-size: .9rem;
  line-height: 1.7;
}

.page-products .download-note a {
  color: var(--page-neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 更新日志 ===== */
.page-products .section--changelog {
  background: var(--page-black);
}

.page-products .changelog {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.page-products .changelog__item {
  position: relative;
  padding: 0 0 2.5rem 2rem;
  border-left: 2px solid rgba(255,255,255,.15);
}

.page-products .changelog__item:last-child {
  padding-bottom: 0;
}

.page-products .changelog__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: .5rem;
  width: 12px;
  height: 12px;
  background: var(--page-red);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(212,0,29,.8);
}

.page-products .changelog__tag {
  display: inline-block;
  font-family: var(--page-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--page-black);
  background: var(--page-neon);
  padding: .2rem .6rem;
  transform: rotate(-2deg);
  margin-bottom: .5rem;
}

.page-products .changelog__version {
  font-family: var(--page-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-red);
  letter-spacing: .04em;
}

.page-products .changelog__body {
  margin-top: .625rem;
}

.page-products .changelog__body h3 {
  margin: 0 0 .375rem;
  font-family: var(--page-display);
  font-size: 1.25rem;
  color: var(--page-white);
}

.page-products .changelog__body p {
  margin: 0;
  color: rgba(245,245,240,.85);
  line-height: 1.7;
}

.page-products .changelog__more {
  margin-top: 2rem;
  padding-left: 2rem;
}

/* ===== 桌面端断点 ===== */
@media (min-width: 720px) {
  .page-products .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .feature-intro {
    grid-template-columns: 1.1fr .9fr;
  }

  .page-products .split {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-products .split__visual {
    order: 1;
  }

  .page-products .split__copy {
    order: 2;
  }

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

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

@media (min-width: 960px) {
  .page-products .split-hero {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    column-gap: 3rem;
  }

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

  .page-products .feature-card:nth-child(3n + 2) {
    transform: translateY(1.25rem);
  }

  .page-products .feature-card:nth-child(3n + 2):hover {
    transform: translateY(1rem) rotate(-1deg);
  }

  .page-products .download-grid {
    grid-template-columns: 1fr 1fr .9fr;
  }
}
