.page-products {
  --c-purple-soft: #c79aff;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(1000px 620px at 88% -6%, rgba(155, 93, 229, 0.18), transparent 60%),
    radial-gradient(720px 440px at -4% 28%, rgba(0, 212, 255, 0.09), transparent 55%),
    radial-gradient(640px 400px at 70% 68%, rgba(0, 255, 136, 0.05), transparent 65%),
    var(--c-night);
  color: var(--c-gray);
}

.page-products > section,
.page-products > .breadcrumb {
  width: min(100%, var(--container-w));
  margin-inline: auto;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

/* 面包屑 */
.page-products .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 28px;
}

.page-products .breadcrumb a {
  color: var(--c-ice);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-products .breadcrumb a:hover {
  color: var(--c-green);
}

.page-products .breadcrumb-sep {
  color: var(--c-muted);
  opacity: 0.6;
  transform: skewX(-8deg);
}

.page-products .breadcrumb [aria-current="page"] {
  color: var(--c-gray);
  font-weight: 600;
}

/* 首屏专题封面 */
.page-products .product-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 36px 4vw 52px;
  border-radius: var(--radius-lg);
}

.page-products .product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.06), transparent 42%, rgba(155, 93, 229, 0.09)),
    var(--c-abyss);
  transform: skewX(-3deg);
  pointer-events: none;
}

.page-products .product-hero::after {
  content: "KAIYUN";
  position: absolute;
  right: -8px;
  bottom: 8px;
  z-index: 0;
  font-family: var(--font-head);
  font-size: clamp(64px, 16vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.025);
  text-transform: uppercase;
  transform: skewX(-8deg);
  pointer-events: none;
  user-select: none;
}

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

.page-products .product-hero-icon {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-products .product-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 16px;
}

.page-products .product-hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gradient);
  display: block;
}

.page-products .product-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 8.6vw, 70px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-white);
  text-transform: uppercase;
  transform: skewX(-5deg);
  transform-origin: left center;
  margin: 0 0 20px;
}

.page-products .product-hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-gray);
  max-width: 58ch;
  margin-bottom: 30px;
}

.page-products .product-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-products .product-hero-actions .btn {
  justify-content: center;
}

.page-products .hero-icon-frame {
  display: block;
  width: 168px;
  height: 168px;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.38), rgba(0, 212, 255, 0.14) 44%, rgba(155, 93, 229, 0.32));
  box-shadow:
    0 0 46px rgba(0, 255, 136, 0.16),
    0 18px 46px rgba(2, 8, 20, 0.52);
  transform: rotate(-6deg);
}

.page-products .hero-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* 下载入口 */
.page-products .download-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 48px 0;
}

.page-products .download-section::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.14), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.page-products .download-info,
.page-products .download-actions {
  position: relative;
  z-index: 1;
}

.page-products .download-info h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.22;
  font-weight: 700;
  color: var(--c-white);
  margin: 8px 0 14px;
}

.page-products .download-info > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-gray);
  margin-bottom: 14px;
}

.page-products .download-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.page-products .download-help {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
}

.page-products .download-help a {
  color: var(--c-ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-products .download-help a:hover {
  color: var(--c-green);
  border-color: rgba(0, 255, 136, 0.5);
}

.page-products .download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--c-deep);
  border: 1px solid rgba(0, 212, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 30px 20px 24px;
  box-shadow: var(--shadow-panel);
}

.page-products .download-qr-wrap {
  background: linear-gradient(145deg, rgba(0, 255, 136, 0.09), rgba(155, 93, 229, 0.12));
  border-radius: 22px;
  padding: 12px;
}

.page-products .download-qr {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 14px;
  display: block;
  box-shadow: 0 0 34px rgba(0, 255, 136, 0.14);
}

.page-products .download-scan-tip {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.08em;
}

.page-products .download-btns {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
  margin-top: 4px;
}

.page-products .download-btns .btn {
  width: 100%;
  justify-content: center;
}

.page-products .download-version-tip {
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* 核心功能 */
.page-products .features-section {
  padding: 54px 0 30px;
}

.page-products .features-flex {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: center;
  margin-top: 34px;
}

.page-products .features-phone {
  flex-shrink: 0;
}

.page-products .phone-frame {
  width: 264px;
  margin-inline: auto;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.22), rgba(0, 255, 136, 0.08) 42%, rgba(155, 93, 229, 0.18));
  box-shadow: 0 22px 54px rgba(2, 8, 20, 0.54);
  transform: rotate(4deg);
}

.page-products .phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 31px;
  display: block;
}

.page-products .features-phone .media-caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--c-muted);
  text-align: center;
}

.page-products .features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.page-products .feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.page-products .feature-card:hover {
  border-color: rgba(0, 255, 136, 0.52);
  background: rgba(0, 255, 136, 0.05);
  transform: translateY(-3px);
}

.page-products .feature-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  color: var(--c-green);
  background: rgba(0, 255, 136, 0.1);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  transform: skewX(-4deg);
}

.page-products .feature-body h3 {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 8px;
}

.page-products .feature-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 0;
}

/* 数据一览 */
.page-products .stats-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  margin: 42px 0;
}

.page-products .stat-item {
  background: var(--c-night);
  padding: 22px 14px;
  text-align: center;
}

.page-products .stat-num {
  font-family: var(--font-head);
  font-size: 27px;
  font-weight: 800;
  color: var(--c-green);
  line-height: 1.1;
  text-shadow: 0 0 22px rgba(0, 255, 136, 0.38);
  display: block;
}

.page-products .stat-label {
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 7px;
  display: block;
  letter-spacing: 0.06em;
}

/* 更新说明 */
.page-products .changelog-section {
  padding: 42px 0 52px;
}

.page-products .changelog-main {
  background: var(--c-deep);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

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

.page-products .changelog-inner {
  padding: 24px 20px 28px;
}

.page-products .changelog-inner .section-head {
  margin-bottom: 20px;
}

.page-products .changelog-inner .section-head p:last-child {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
  margin-top: 6px;
}

.page-products .changelog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.page-products .changelog-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-gray);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.page-products .changelog-item:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.04);
}

.page-products .changelog-item .tag {
  display: inline-block;
  margin-bottom: 7px;
}

.page-products .tag-purple {
  background: rgba(155, 93, 229, 0.16);
  color: var(--c-purple-soft);
  border: 1px solid rgba(155, 93, 229, 0.46);
}

.page-products .changelog-arch {
  margin-top: 26px;
  text-align: center;
}

.page-products .changelog-arch img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.12);
}

.page-products .changelog-arch .media-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--c-muted);
}

/* 系统要求 */
.page-products .requirements-section {
  padding: 44px 0;
}

.page-products .requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 26px 0 18px;
}

.page-products .req-card {
  background: var(--c-deep);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 14px 34px rgba(2, 8, 20, 0.3);
}

.page-products .req-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .req-card h3::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 14px rgba(0, 255, 136, 0.7);
}

.page-products .req-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.page-products .req-card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-gray);
  padding-left: 24px;
  position: relative;
}

.page-products .req-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--c-ice);
  position: absolute;
  left: 6px;
  top: 10px;
  transform: rotate(45deg);
}

.page-products .requirements-note {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-muted);
}

.page-products .requirements-note a {
  color: var(--c-ice);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: color 0.2s ease;
}

.page-products .requirements-note a:hover {
  color: var(--c-green);
}

/* 信任区 */
.page-products .trust-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 10px 0 8px;
}

.page-products .trust-panel {
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.07), rgba(155, 93, 229, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 22px;
  transition: border-color 0.25s ease;
}

.page-products .trust-panel:hover {
  border-color: rgba(0, 255, 136, 0.28);
}

.page-products .trust-panel h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.page-products .trust-panel p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-gray);
  margin: 0;
}

@media (min-width: 600px) {
  .page-products .product-hero-actions {
    flex-direction: row;
  }

  .page-products .product-hero-actions .btn {
    flex: 0 0 auto;
  }

  .page-products .download-btns {
    flex-direction: row;
  }

  .page-products .download-btns .btn {
    flex: 1 1 0;
  }

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

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

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

@media (min-width: 960px) {
  .page-products .product-hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 64px 5vw 72px;
  }

  .page-products .product-hero-copy {
    flex: 0 0 57%;
  }

  .page-products .product-hero-icon {
    flex: 0 0 40%;
    justify-content: center;
  }

  .page-products .hero-icon-frame {
    width: 230px;
    height: 230px;
    border-radius: 50px;
  }

  .page-products .hero-icon-frame img {
    border-radius: 40px;
  }

  .page-products .download-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 56px;
    padding: 54px 0;
  }

  .page-products .download-info {
    flex: 1 1 54%;
  }

  .page-products .download-actions {
    flex: 0 0 350px;
    position: sticky;
    top: 120px;
  }

  .page-products .features-section {
    padding: 64px 0 40px;
  }

  .page-products .features-flex {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }

  .page-products .features-phone {
    flex: 0 0 300px;
    position: sticky;
    top: 120px;
  }

  .page-products .phone-frame {
    width: 300px;
    margin-inline: auto;
  }

  .page-products .features-list {
    flex: 1 1 auto;
  }

  .page-products .feature-card {
    padding: 26px 24px;
  }

  .page-products .stats-section {
    margin: 48px 0;
  }

  .page-products .changelog-main {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .page-products .changelog-visual {
    height: 100%;
  }

  .page-products .changelog-visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .page-products .changelog-inner {
    padding: 34px 36px 30px;
  }

  .page-products .changelog-arch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
    text-align: left;
    max-width: 780px;
    margin: 32px auto 0;
  }

  .page-products .changelog-arch img {
    max-width: none;
  }

  .page-products .requirements-section {
    padding: 56px 0 48px;
  }

  .page-products .trust-section {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 16px 0 12px;
  }
}
