.page-products {
  --pf-red-deep: #6B1D00;
  --pf-gold-soft: rgba(212, 175, 55, 0.14);
  --pf-gold-line: rgba(212, 175, 55, 0.4);
  --pf-diag-angle: 12deg;
  --pf-card-pad: clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(180deg, var(--bf-bg) 0%, #08221D 45%, var(--bf-bg) 100%);
  color: var(--bf-cream);
  font-family: var(--bf-font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-products .bf-container {
  max-width: var(--bf-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

.page-products .bf-section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.page-products .bf-breadcrumb {
  padding-top: 1.25rem;
}

.page-products .bf-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--bf-gray);
}

.page-products .bf-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-products .bf-breadcrumb li::before {
  content: "/";
  font-family: var(--bf-font-data);
  color: var(--bf-gold);
  opacity: 0.6;
}

.page-products .bf-breadcrumb li:first-child::before {
  content: "";
}

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

.page-products .bf-breadcrumb a:hover {
  color: var(--bf-gold-light);
}

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

.page-products .bf-eyebrow {
  font-family: var(--bf-font-data);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-gold);
  margin: 0 0 0.85rem;
  padding-left: 1.5rem;
  position: relative;
}

.page-products .bf-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background: var(--bf-gold);
}

.page-products .bf-section__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--bf-border);
  padding-bottom: 1.5rem;
}

.page-products .bf-section__head h2 {
  font-family: var(--bf-font-title);
  font-weight: 900;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.15;
  color: var(--bf-cream);
  margin: 0;
  letter-spacing: -0.01em;
}

.page-products .bf-section__number {
  font-family: var(--bf-font-data);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--bf-gold);
  line-height: 1;
  min-width: 1.8em;
  display: block;
  user-select: none;
}

.page-products .bf-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--bf-cream);
  font-weight: 500;
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(90deg, var(--pf-gold-soft), transparent 70%);
  border-left: 3px solid var(--bf-gold);
}

/* ===== 首屏 hero ===== */
.page-products .solutions-hero {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}

.page-products .solutions-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 68%, rgba(139, 37, 0, 0.22) 68%, rgba(139, 37, 0, 0.22) 69%, transparent 69%, transparent 100%);
  pointer-events: none;
}

.page-products .solutions-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
}

.page-products .solutions-hero__content h1 {
  font-family: var(--bf-font-title);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.12;
  color: var(--bf-cream);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.page-products .solutions-hero__lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--bf-gray);
  max-width: 60ch;
  margin: 0 0 1.15rem;
}

.page-products .solutions-hero__note {
  font-family: var(--bf-font-data);
  font-size: 0.85rem;
  color: var(--bf-gold-light);
  margin: 0 0 1.75rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--bf-gold-line);
}

.page-products .solutions-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-products .solutions-hero__visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--bf-border);
  background: var(--bf-surface);
}

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

.page-products .solutions-hero__diag-line {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 60%;
  height: 120%;
  background: linear-gradient(115deg, transparent 45%, rgba(212, 175, 55, 0.28) 46%, rgba(212, 175, 55, 0.28) 49%, transparent 50%);
  pointer-events: none;
}

/* ===== 模块卡片通用 ===== */
.page-products .module-block {
  position: relative;
}

.page-products .module-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--bf-border) 0%, var(--bf-gold-line) 50%, transparent 100%);
}

.page-products .module-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.page-products .module-block__grid--reverse .module-block__visual {
  order: -1;
}

.page-products .module-block__text p:not(.bf-lead) {
  color: var(--bf-gray);
  font-size: 0.96rem;
  line-height: 1.85;
  margin: 0 0 1.1rem;
  max-width: 55ch;
}

.page-products .module-block__text .bf-lead {
  margin-bottom: 1.4rem;
}

.page-products .module-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bf-border);
}

.page-products .bf-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(145deg, var(--bf-surface) 0%, rgba(18, 58, 48, 0.6) 100%);
  border: 1px solid var(--bf-border);
  border-radius: 3px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.page-products .bf-stat:hover {
  border-color: var(--bf-gold);
  background: linear-gradient(145deg, var(--bf-surface-light), var(--bf-surface));
}

.page-products .bf-stat__label {
  font-size: 0.78rem;
  color: var(--bf-gray);
  letter-spacing: 0.04em;
}

.page-products .bf-stat .bf-data {
  font-family: var(--bf-font-data);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bf-gold-light);
  line-height: 1.2;
}

.page-products .module-block__visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--bf-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: var(--bf-surface);
}

.page-products .module-block__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 70%, rgba(139, 37, 0, 0.15) 70%, rgba(139, 37, 0, 0.15) 72%, transparent 72%);
  pointer-events: none;
}

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

.page-products .module-block__panel-tabs {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(8, 34, 29, 0.94);
  border: 1px solid var(--bf-border);
  border-radius: 3px;
  padding: 0.75rem;
  backdrop-filter: blur(2px);
}

.page-products .module-block--offset .module-block__grid {
  align-items: start;
}

/* ===== 标签切换 ===== */
.page-products .bf-tabs__header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.page-products .bf-tab {
  font-family: var(--bf-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bf-gray);
  background: transparent;
  border: 1px solid var(--bf-border);
  border-radius: 2px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.page-products .bf-tab:hover {
  color: var(--bf-gold-light);
  border-color: var(--bf-gold-line);
}

.page-products .bf-tab[aria-selected="true"] {
  color: var(--bf-bg);
  background: var(--bf-gold);
  border-color: var(--bf-gold);
  font-weight: 700;
}

.page-products .panel-data {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-products .panel-data div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(46, 81, 71, 0.7);
}

.page-products .panel-data div:last-child {
  border-bottom: none;
}

.page-products .panel-data dt {
  font-size: 0.82rem;
  color: var(--bf-gray);
}

.page-products .panel-data dd {
  font-family: var(--bf-font-data);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bf-gold-light);
  margin: 0;
}

/* ===== 相关链接 ===== */
.page-products .related-links {
  background: linear-gradient(180deg, transparent 0%, rgba(18, 58, 48, 0.45) 50%, transparent 100%);
}

.page-products .related-links__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-products .related-link {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  padding: var(--pf-card-pad);
  background: var(--bf-surface);
  border: 1px solid var(--bf-border);
  border-left: 3px solid var(--bf-border);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color 0.25s ease, border-left-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.page-products .related-link:hover {
  border-color: var(--bf-gold);
  border-left-color: var(--bf-gold);
  background: var(--bf-surface-light);
  transform: translateX(4px);
}

.page-products .related-link__num {
  grid-row: 1 / 3;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bf-gold);
  line-height: 1.3;
}

.page-products .related-link__title {
  font-family: var(--bf-font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--bf-cream);
  line-height: 1.4;
}

.page-products .related-link__desc {
  font-size: 0.88rem;
  color: var(--bf-gray);
  line-height: 1.55;
  margin-top: 0.25rem;
}

/* ===== 响应式 ===== */
@media (max-width: 560px) {
  .page-products .solutions-hero__visual img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .page-products .module-block__visual img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .page-products .module-block__panel-tabs {
    position: static;
    margin-top: 0.85rem;
    background: var(--bf-bg); 
  }

  .page-products .bf-section__head {
    flex-direction: column;
    gap: 0.65rem;
  }

  .page-products .bf-section__number {
    font-size: 2.1rem;
  }
}

@media (min-width: 600px) {
  .page-products .solutions-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .page-products .solutions-hero__visual {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  }
}

@media (min-width: 768px) {
  .page-products .module-block__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-products .module-block__grid--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .page-products .module-block__grid--reverse .module-block__visual {
    order: 2;
  }

  .page-products .module-block__text {
    padding-block: 1rem;
  }

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

  .page-products .module-block__visual:hover {
    border-color: var(--bf-gold-line);
  }
}

@media (min-width: 1024px) {
  .page-products .related-links__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-products .module-block::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8%;
    width: 140px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--bf-gold-line) 60%, transparent);
    opacity: 0.7;
  }

  .page-products .module-block--offset::after {
    right: auto;
    left: 0;
    background: linear-gradient(270deg, transparent, var(--bf-gold-line) 60%, transparent);
  }
}

.page-products {
  --bf-gold-line: transparent;
}
