.page-products {
  --products-red-glow: rgba(255, 59, 48, 0.16);
  --products-blue-glow: rgba(10, 132, 255, 0.14);
  --products-green-glow: rgba(48, 209, 88, 0.12);
}

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

/* 首屏区域 */
.page-products .products-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-dark) 100%);
}

.page-products .products-hero::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -80px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 59, 48, 0.3), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.page-products .products-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--primary-blue), var(--primary-green), transparent);
  z-index: 2;
}

.page-products .products-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  z-index: 0;
}

.page-products .products-hero > .container {
  position: relative;
  z-index: 1;
}

.page-products .products-hero .breadcrumb {
  margin-bottom: 32px;
}

.page-products .products-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

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

.page-products .products-hero__copy h1 {
  margin: 18px 0 16px;
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-products .products-hero__lead {
  margin: 0 0 28px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  max-width: 54ch;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-products .products-hero__stats {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.page-products .products-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 20px;
  border-right: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
}

.page-products .products-hero__stats li:last-child {
  border-right: 0;
  padding-right: 0;
}

.page-products .products-hero__stats .stat-num {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

/* 平板设备框架 */
.page-products .products-hero__device {
  display: flex;
  justify-content: center;
  position: relative;
}

.page-products .device-frame {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 16px 16px 40px;
  background: linear-gradient(145deg, #24242F, #111118);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 80px var(--products-red-glow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-products .products-hero__device:hover .device-frame,
.page-products .products-hero__device:focus-within .device-frame {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow:
    0 40px 72px rgba(0, 0, 0, 0.6),
    0 0 100px var(--products-red-glow);
}

.page-products .device-frame::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.page-products .device-frame__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

.page-products .device-frame__badge {
  position: absolute;
  top: 12px;
  right: -10px;
  padding: 8px 14px;
  background: var(--gradient-red-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 59, 48, 0.35);
}

/* 核心功能 */
.page-products .products-features {
  padding-top: 16px;
  padding-bottom: 64px;
}

.page-products .products-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.page-products .feature-card {
  --card-accent: var(--primary-red);
  --card-glow: rgba(255, 59, 48, 0.18);
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 0 20px 12px 12px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.page-products .feature-card:nth-child(2) {
  --card-accent: var(--primary-blue);
  --card-glow: rgba(10, 132, 255, 0.2);
}

.page-products .feature-card:nth-child(3) {
  --card-accent: var(--primary-green);
  --card-glow: rgba(48, 209, 88, 0.18);
}

.page-products .feature-card:nth-child(4) {
  --card-accent: var(--primary-blue);
  --card-glow: rgba(10, 132, 255, 0.2);
}

.page-products .feature-card:hover,
.page-products .feature-card:focus-visible {
  transform: translateY(-5px);
  border-color: var(--card-accent);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35), 0 0 30px var(--card-glow);
  outline: none;
}

.page-products .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--card-accent);
  border-radius: 0 20px 0 0;
}

.page-products .feature-card__num {
  position: absolute;
  top: 22px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.page-products .feature-card__icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.page-products .feature-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.page-products .feature-card__brief {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.page-products .feature-card__extra {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}

.page-products .feature-card__extra > p {
  overflow: hidden;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
  border-left: 3px solid var(--card-accent);
  padding-left: 12px;
}

/* 平板体验 */
.page-products .products-tablet {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-panel) 55%, var(--bg-dark) 100%);
}

.page-products .products-tablet::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -80px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.page-products .products-tablet .container {
  position: relative;
  z-index: 1;
}

.page-products .products-tablet__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.page-products .products-tablet__chart-card {
  position: relative;
  max-width: 560px;
  padding: 16px;
  background: rgba(22, 22, 30, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 60px rgba(10, 132, 255, 0.08);
  transform: rotate(-0.5deg);
}

.page-products .products-tablet__chart {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
}

.page-products .products-tablet__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  background: var(--gradient-blue-green);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-products .products-tablet__points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-products .tablet-point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-products .tablet-point:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-products .tablet-point__num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1.6;
}

.page-products .tablet-point h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.page-products .tablet-point p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* 下载方式 */
.page-products .products-download {
  position: relative;
  overflow: hidden;
  padding-top: 16px;
  padding-bottom: 64px;
}

.page-products .products-download::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(48, 209, 88, 0.12), transparent 70%);
  pointer-events: none;
}

.page-products .products-download__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}

.page-products .products-download__visual {
  max-width: 560px;
}

.page-products .products-download__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.page-products .download-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.page-products .download-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.page-products .download-step__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-red-blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.page-products .download-step h3 {
  margin: 2px 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.page-products .download-step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.page-products .products-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-products .btn:active {
  transform: scale(0.96);
}

/* 延伸阅读 */
.page-products .products-more {
  padding-bottom: 72px;
}

.page-products .more-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
  padding: 28px 24px 24px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.page-products .more-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 132, 255, 0.5);
  box-shadow: 0 16px 40px rgba(10, 132, 255, 0.14);
}

.page-products .more-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.page-products .more-card__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  flex: 1 1 auto;
}

.page-products .more-card__link {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.06em;
}

/* 平板宽度增强 */
@media (min-width: 560px) {
  .page-products .products-hero__copy h1 {
    font-size: 44px;
  }

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

  .page-products .products-tablet__grid {
    gap: 48px;
  }

  .page-products .products-download__grid {
    gap: 48px;
  }
}

/* 桌面宽度增强 */
@media (min-width: 920px) {
  .page-products .products-hero {
    padding: 64px 0 88px;
  }

  .page-products .products-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
  }

  .page-products .products-hero__copy h1 {
    font-size: 60px;
  }

  .page-products .products-hero__lead {
    font-size: 17px;
  }

  .page-products .products-hero__stats .stat-num {
    font-size: 30px;
  }

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

  .page-products .feature-card__extra {
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0;
    transition: grid-template-rows var(--transition-base), opacity var(--transition-base), margin-top var(--transition-base);
  }

  .page-products .feature-card:hover .feature-card__extra,
  .page-products .feature-card:focus-visible .feature-card__extra {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 14px;
  }

  .page-products .products-tablet__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }

  .page-products .products-download__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
  }
}
