.page-products {
  --products-phone-w: 280px;
  --products-phone-h: 560px;
  --products-gap: 24px;
  --products-radius: 12px;
}

/* 面包屑 */
.page-products .b-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text-secondary);
}

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

.page-products .b-breadcrumb__link:hover {
  color: var(--c-accent-gold);
}

.page-products .b-breadcrumb__sep {
  color: rgba(255,255,255,0.25);
}

.page-products .b-breadcrumb__current {
  color: var(--c-text);
  font-weight: 600;
}

/* 杂志报头 */
.page-products .b-products-masthead {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 0 48px;
  position: relative;
  overflow: hidden;
}

.page-products .b-products-masthead::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 200%;
  background: radial-gradient(ellipse at 40% 30%, rgba(230,57,70,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(0,180,216,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.page-products .b-products-masthead__title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 10vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--c-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.page-products .b-text--red {
  color: var(--c-accent-red);
}

.page-products .b-products-masthead__sub {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  color: var(--c-accent-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}

.page-products .b-products-masthead__desc {
  max-width: 520px;
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}

/* 手机框架 */
.page-products .b-products-masthead__phone {
  position: relative;
  z-index: 1;
}

.page-products .b-phone-frame {
  width: var(--products-phone-w);
  height: var(--products-phone-h);
  background: linear-gradient(145deg, #1A1A2E, #0F1A2A);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  margin: 0 auto 16px;
  transform: perspective(800px) rotateY(-3deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.page-products .b-phone-frame:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.page-products .b-phone-frame__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 18px;
  background: #0B1A2E;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.page-products .b-phone-frame__screen {
  width: 100%;
  height: 100%;
  background: #0B1A2E;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 28px 16px 16px;
}

.page-products .b-phone-frame__status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--c-text-secondary);
  font-family: var(--font-body);
  padding: 0 4px 12px;
  opacity: 0.6;
}

.page-products .b-phone-frame__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .b-phone-frame__line {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  width: 100%;
}

.page-products .b-phone-frame__line--thick {
  height: 20px;
  background: rgba(230,57,70,0.25);
  width: 70%;
}

.page-products .b-phone-frame__line--half {
  width: 55%;
}

.page-products .b-phone-frame__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0;
}

.page-products .b-phone-frame__cell {
  height: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}

.page-products .b-phone-frame__cell--red {
  background: rgba(230,57,70,0.2);
}

.page-products .b-phone-frame__cell--gold {
  background: rgba(255,215,0,0.15);
}

.page-products .b-phone-frame__row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
}

.page-products .b-phone-frame__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.page-products .b-phone-frame__dot--red {
  background: var(--c-accent-red);
}

.page-products .b-phone-frame__btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.page-products .b-phone-frame__label {
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text-secondary);
  text-align: center;
  opacity: 0.7;
}

/* 下载区 */
.page-products .b-products-download {
  text-align: center;
  padding: 40px 0 56px;
  position: relative;
}

.page-products .b-products-download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
}

.page-products .b-section__title {
  font-family: var(--font-heading);
  font-size: var(--h2);
  font-weight: 900;
  color: var(--c-text);
  margin: 0 0 8px;
}

.page-products .b-section__title--centered {
  text-align: center;
}

.page-products .b-section__desc {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--c-text-secondary);
  margin: 0 0 32px;
}

.page-products .b-products-download__hint {
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--c-text-secondary);
  margin: 0 0 32px;
}

.page-products .b-products-download__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.page-products .b-btn--xl {
  padding: 18px 40px;
  font-size: 20px;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.page-products .b-btn--xl small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
}

.page-products .b-btn--xl .b-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.page-products .b-btn--xl .b-btn__icon {
  font-size: 28px;
}

.page-products .b-btn--primary {
  background: var(--c-accent-red);
  color: #fff;
  box-shadow: 0 4px 24px rgba(230,57,70,0.35);
}

.page-products .b-btn--primary:hover {
  background: #d62f3c;
  box-shadow: 0 6px 36px rgba(230,57,70,0.5);
  transform: translateY(-2px);
}

.page-products .b-btn--secondary {
  background: transparent;
  color: var(--c-accent-blue);
  border: 2px solid var(--c-accent-blue);
  box-shadow: 0 4px 24px rgba(0,180,216,0.15);
}

.page-products .b-btn--secondary:hover {
  background: rgba(0,180,216,0.1);
  box-shadow: 0 6px 36px rgba(0,180,216,0.3);
  transform: translateY(-2px);
}

.page-products .b-products-download__note {
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text-secondary);
  opacity: 0.6;
}

/* 功能亮点 Bento */
.page-products .b-products-features {
  padding: 24px 0 48px;
}

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

.page-products .b-products-features__card {
  border-radius: var(--products-radius);
  overflow: hidden;
  transition: all var(--transition);
}

.page-products .b-products-features__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.page-products .b-products-features__card--glass {
  background: var(--c-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--c-glass-border);
}

.page-products .b-products-features__card-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.page-products .b-products-features__card-inner--col {
  flex-direction: column;
}

.page-products .b-products-features__text {
  flex: 1;
}

.page-products .b-products-features__heading {
  font-family: var(--font-heading);
  font-size: var(--h3);
  font-weight: 800;
  color: var(--c-text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-products .b-data--red {
  color: var(--c-accent-red);
  font-size: 1.4em;
  font-weight: 900;
}

.page-products .b-data--gold {
  color: var(--c-accent-gold);
  font-size: 1.4em;
  font-weight: 900;
}

.page-products .b-products-features__desc {
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--c-text-secondary);
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-products .b-products-features__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .b-products-features__list li {
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text);
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.page-products .b-products-features__media {
  flex-shrink: 0;
}

.page-products .b-products-features__media--svg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.page-products .b-products-features__img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
}

.page-products .b-products-features__svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.page-products .b-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.page-products .b-tag {
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-accent-blue);
  background: rgba(0,180,216,0.1);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,180,216,0.2);
}

/* 预览画廊 */
.page-products .b-products-preview {
  padding: 24px 0 48px;
}

.page-products .b-products-preview__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.page-products .b-products-preview__item {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: var(--c-bg-secondary);
  transition: all var(--transition);
}

.page-products .b-products-preview__item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.page-products .b-products-preview__item figcaption {
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text-secondary);
  padding: 8px 12px;
  background: rgba(11,26,46,0.85);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  backdrop-filter: blur(4px);
}

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

.page-products .b-products-preview__img--phone {
  max-height: 560px;
  object-fit: contain;
  background: var(--c-bg-secondary);
}

/* FAQ 链接 */
.page-products .b-products-faq {
  padding: 16px 0 40px;
}

.page-products .b-products-faq__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(230,57,70,0.08), rgba(0,180,216,0.06));
  border: 1px solid rgba(255,255,255,0.06);
}

.page-products .b-products-faq__text {
  font-family: var(--font-body);
  font-size: var(--body);
  color: var(--c-text);
  margin: 0;
  flex: 1;
}

/* 信任声明 */
.page-products .b-products__trust {
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--caption);
  color: var(--c-text-secondary);
  opacity: 0.5;
  padding: 24px 0 8px;
  margin: 0;
}

/* 桌面端 */
@media (min-width: 768px) {
  .page-products .b-products-masthead {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    padding: 48px 0 64px;
    gap: 48px;
  }

  .page-products .b-products-masthead__title {
    font-size: clamp(52px, 8vw, 88px);
  }

  .page-products .b-products-masthead__desc {
    margin: 0 0 32px;
  }

  .page-products .b-products-masthead__phone {
    flex-shrink: 0;
  }

  .page-products .b-phone-frame {
    transform: perspective(800px) rotateY(-5deg) rotateX(3deg);
  }

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

  .page-products .b-products-features__card--wide {
    grid-column: 1 / -1;
  }

  .page-products .b-products-features__card--tall {
    grid-row: span 2;
  }

  .page-products .b-products-features__card-inner {
    flex-direction: row;
    align-items: center;
  }

  .page-products .b-products-features__card-inner--col {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-products .b-products-features__media {
    max-width: 50%;
  }

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

  .page-products .b-products-preview__item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .page-products .b-products-download__buttons {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .page-products .b-products-features__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .page-products .b-products-features__card--wide {
    grid-column: 1 / 3;
  }

  .page-products .b-products-preview__gallery {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-products .b-products-preview__item:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

/* 滚动显现 */
.page-products [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-products [data-reveal-visible] {
  opacity: 1;
  transform: translateY(0);
}

.page-products [data-reveal-delay="50"] { transition-delay: 0.05s; }
.page-products [data-reveal-delay="100"] { transition-delay: 0.1s; }
.page-products [data-reveal-delay="150"] { transition-delay: 0.15s; }
.page-products [data-reveal-delay="200"] { transition-delay: 0.2s; }
.page-products [data-reveal-delay="250"] { transition-delay: 0.25s; }
.page-products [data-reveal-delay="300"] { transition-delay: 0.3s; }
.page-products [data-reveal-delay="350"] { transition-delay: 0.35s; }
.page-products [data-reveal-delay="400"] { transition-delay: 0.4s; }
.page-products [data-reveal-delay="450"] { transition-delay: 0.45s; }
.page-products [data-reveal-delay="500"] { transition-delay: 0.5s; }

/* 减少动效 */
@media (prefers-reduced-motion: reduce) {
  .page-products [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-products .b-phone-frame {
    transform: none;
  }

  .page-products .b-phone-frame:hover {
    transform: none;
  }

  .page-products .b-products-features__card:hover {
    transform: none;
  }

  .page-products .b-products-preview__item:hover {
    transform: none;
  }

  .page-products .b-btn--primary:hover,
  .page-products .b-btn--secondary:hover {
    transform: none;
  }
}
