.page-products {
  --fn-line: rgba(192, 138, 62, 0.24);
  --fn-line-strong: rgba(192, 138, 62, 0.5);
  --fn-copper-deep: #8A6224;
  position: relative;
  background: var(--ink);
  color: var(--text-body);
}

/* ---------- 首屏 ---------- */

.page-products .fn-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 56px;
  border-bottom: 1px solid var(--fn-line);
  overflow: hidden;
}

.page-products .fn-hero::after {
  content: "";
  position: absolute;
  top: -170px;
  right: -90px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(240, 217, 168, 0.14), rgba(11, 13, 16, 0) 68%);
  pointer-events: none;
}

.page-products .fn-hero__inner {
  position: relative;
  z-index: 1;
}

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

.page-products .fn-hero__eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
}

.page-products .fn-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6.4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-products .fn-hero__sub {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.02rem, 2.5vw, 1.5rem);
  line-height: 1.55;
  color: var(--copper-bright);
}

.page-products .fn-hero__lede {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-body);
}

.page-products .fn-hero__stats {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--fn-line);
  border: 1px solid var(--fn-line);
}

.page-products .fn-stat {
  min-width: 0;
  background: var(--ink);
  padding: 16px 18px;
}

.page-products .fn-stat dt {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--graphite);
}

.page-products .fn-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--copper-bright);
}

@media (min-width: 760px) {
  .page-products .fn-hero__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- 吸顶筛选条 ---------- */

.page-products .fn-filterbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid var(--fn-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.page-products .fn-filterbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.page-products .fn-filterbar__inner::-webkit-scrollbar {
  display: none;
}

.page-products .fn-filterbar__label {
  flex: 0 0 auto;
  color: var(--graphite);
}

.page-products .fn-filterbar .filter-bar {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px;
}

/* ---------- 功能矩阵 ---------- */

.page-products .fn-index {
  padding: 64px 0 8px;
}

.page-products .fn-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin-top: 36px;
  background: var(--fn-line);
  border: 1px solid var(--fn-line);
}

@media (min-width: 700px) {
  .page-products .fn-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .page-products .fn-matrix {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .fn-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 22px 20px 18px;
  background: var(--ink);
  transition: background 180ms var(--ease);
}

.page-products .fn-card:hover,
.page-products .fn-card:focus-within {
  background: var(--ink-lift);
}

.page-products .fn-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-products .fn-card__id {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.page-products .fn-card__title {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  margin: 0;
  padding-bottom: 3px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.5;
  color: var(--white);
}

.page-products .fn-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--copper-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 120ms var(--ease);
}

.page-products .fn-card:hover .fn-card__title::after,
.page-products .fn-card:focus-within .fn-card__title::after {
  transform: scaleX(1);
}

.page-products .fn-card__desc {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.82;
  color: var(--text-body);
}

.page-products .fn-card__more {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(192, 138, 62, 0.18);
}

.page-products .fn-card__more > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.page-products .fn-card__more > summary::-webkit-details-marker {
  display: none;
}

.page-products .fn-card__more > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--copper-bright);
}

.page-products .fn-card__more[open] > summary::after {
  content: "\2212";
}

.page-products .fn-card__more > summary:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

.page-products .fn-spec {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
}

.page-products .fn-spec__row {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}

.page-products .fn-spec dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--graphite);
}

.page-products .fn-spec dd {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--text-dim);
}

.page-products .filter-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 20px;
  background: var(--ink);
  font-size: 0.92rem;
  text-align: center;
  color: var(--text-dim);
}

/* ---------- 场景 ---------- */

.page-products .fn-scenes {
  padding: 72px 0 8px;
}

.page-products .fn-scene-list {
  display: grid;
  gap: 56px;
  margin-top: 36px;
}

.page-products .fn-scene {
  display: grid;
  gap: 22px;
  align-items: center;
  min-width: 0;
}

@media (min-width: 900px) {
  .page-products .fn-scene {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }
  .page-products .fn-scene:nth-child(even) .fn-scene__body {
    order: 2;
  }
  .page-products .fn-scene:nth-child(even) .fn-scene__media {
    order: 1;
  }
}

.page-products .fn-scene__idx {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--copper);
  text-transform: uppercase;
}

.page-products .fn-scene__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.78rem);
  line-height: 1.45;
  color: var(--white);
}

.page-products .fn-scene__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-body);
}

.page-products .fn-scene__media {
  min-width: 0;
}

.page-products .fn-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-products .fn-points li {
  position: relative;
  padding-left: 20px;
  font-size: 0.89rem;
  line-height: 1.78;
  color: var(--text-dim);
}

.page-products .fn-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 10px;
  height: 1px;
  background: var(--copper);
}

/* ---------- 图像框 ---------- */

.page-products .fn-figure {
  position: relative;
  margin: 0;
  border: 1px solid var(--fn-line);
  background: var(--ink-soft);
  overflow: hidden;
}

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

.page-products .fn-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(240, 217, 168, 0.09), rgba(11, 13, 16, 0) 58%);
}

/* ---------- 对接集成 ---------- */

.page-products .fn-integrate {
  padding: 72px 0;
  border-top: 1px solid var(--fn-line);
  margin-top: 72px;
}

.page-products .fn-integrate__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 940px) {
  .page-products .fn-integrate__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 56px;
  }
}

.page-products .fn-integrate__media {
  min-width: 0;
}

.page-products .fn-integrate__title {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
  color: var(--white);
}

.page-products .fn-integrate__text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.9;
  color: var(--text-body);
}

.page-products .fn-integrate__cta {
  margin: 26px 0 0;
}

/* ---------- 上线路径（宣纸反白区） ---------- */

.page-products .fn-launch {
  padding: 72px 0;
  background: var(--paper);
  border-top: 1px solid var(--fn-copper-deep);
  border-bottom: 1px solid var(--fn-copper-deep);
}

.page-products .fn-launch__eyebrow {
  color: var(--fn-copper-deep);
}

.page-products .fn-launch__title {
  margin: 12px 0 0;
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .fn-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}

@media (min-width: 720px) {
  .page-products .fn-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .page-products .fn-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-products .fn-step {
  min-width: 0;
  padding: 22px 20px 26px;
  background: var(--paper);
}

.page-products .fn-step__n {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fn-copper-deep);
}

.page-products .fn-step h3 {
  margin: 12px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
}

.page-products .fn-step p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.85;
  color: rgba(11, 13, 16, 0.74);
}

/* ---------- 延伸入口 ---------- */

.page-products .fn-next {
  padding: 72px 0 88px;
}

.page-products .fn-next__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  background: var(--fn-line);
  border: 1px solid var(--fn-line);
}

@media (min-width: 860px) {
  .page-products .fn-next__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-products .fn-next__list li {
  min-width: 0;
  background: var(--ink);
}

.page-products .fn-next__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  align-items: baseline;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: background 180ms var(--ease);
}

.page-products .fn-next__link:hover,
.page-products .fn-next__link:focus-visible {
  background: var(--ink-lift);
}

.page-products .fn-next__link:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: -2px;
}

.page-products .fn-next__id {
  grid-row: 1 / span 2;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper);
}

.page-products .fn-next__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--white);
}

.page-products .fn-next__d {
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--text-dim);
}

/* ---------- 窄屏收束 ---------- */

@media (max-width: 560px) {
  .page-products .fn-hero {
    padding-top: calc(var(--header-h) + 26px);
    padding-bottom: 44px;
  }

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

  .page-products .fn-hero__stats {
    margin-top: 32px;
  }

  .page-products .fn-stat {
    padding: 14px 14px;
  }

  .page-products .fn-index {
    padding-top: 48px;
  }

  .page-products .fn-scenes {
    padding-top: 52px;
  }

  .page-products .fn-scene-list {
    gap: 44px;
  }

  .page-products .fn-integrate {
    padding: 52px 0;
    margin-top: 52px;
  }

  .page-products .fn-launch {
    padding: 52px 0;
  }

  .page-products .fn-next {
    padding: 52px 0 64px;
  }

  .page-products .fn-spec__row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .fn-card,
  .page-products .fn-card__title::after,
  .page-products .fn-next__link {
    transition: none;
  }
}
