.page-products {
  --products-space: clamp(3rem, 6vw, 5.5rem);
  --products-radius: 8px;
  --products-serif: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

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

.page-products a {
  color: var(--fh-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--fh-transition);
}

.page-products a:hover {
  color: var(--fh-orange);
}

/* ========== Hero 区域 ========== */
.page-products__hero {
  background: var(--fh-navy);
  color: var(--fh-text-light);
  padding: 1.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-products__hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border: 2px solid var(--fh-green);
  border-radius: 24px;
  transform: rotate(18deg);
  opacity: 0.4;
}

.page-products__hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  height: 4px;
  background: var(--fh-green);
}

.page-products__hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-products__eyebrow {
  font-family: var(--fh-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fh-green);
  margin: 0 0 0.6rem;
}

.page-products__hero h1 {
  font-family: var(--fh-font-heading);
  font-size: clamp(1.5rem, 5.5vw, 2.7rem);
  line-height: 1.12;
  font-weight: 900;
  color: var(--fh-text-light);
  margin: 0 0 1rem;
}

.page-products__hero h1 span {
  display: block;
  color: var(--fh-green);
}

.page-products__hero-lead {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.9rem;
  max-width: 36em;
}

.page-products__hero-keywords {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fh-green);
  letter-spacing: 0.02em;
  margin: 0 0 1.3rem;
}

.page-products__hero-board {
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.24);
  border-radius: var(--products-radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.page-products__hero-number {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.page-products__hero-num {
  font-family: var(--fh-font-heading);
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 900;
  color: var(--fh-green);
  line-height: 0.9;
}

.page-products__hero-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fh-text-light);
  letter-spacing: 0.06em;
}

.page-products__hero-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
}

.page-products__hero-metrics li {
  border-left: 2px solid var(--fh-orange);
  padding-left: 0.65rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-products__hero-metrics strong {
  display: block;
  font-family: var(--fh-font-heading);
  font-size: 1.1rem;
  color: var(--fh-text-light);
  font-weight: 900;
}

/* ========== 通用区块标题 ========== */
.page-products__sec-head {
  margin-bottom: 2rem;
}

.page-products__sec-head--split {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.page-products__sec-index {
  font-family: var(--fh-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fh-orange);
  margin: 0 0 0.4rem;
}

.page-products__sec-head h2 {
  font-family: var(--fh-font-heading);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--fh-text-dark);
  margin: 0 0 0.7rem;
}

.page-products__sec-head > p:last-child {
  color: var(--fh-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ========== 核心功能总览 ========== */
.page-products__overview {
  background: var(--fh-bg-light);
  padding: var(--products-space) 0;
}

.page-products__overview-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-products__overview-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-products__ov-card {
  background: var(--fh-text-light);
  border-left: 4px solid var(--fh-green);
  border-radius: 4px 8px 8px 4px;
  padding: 1.2rem 1.4rem;
  box-shadow: 5px 5px 0 rgba(11, 30, 63, 0.07);
  transition: transform var(--fh-transition), box-shadow var(--fh-transition);
}

.page-products__ov-card:hover {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 rgba(11, 30, 63, 0.09);
}

.page-products__ov-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  padding: 0;
}

.page-products__ov-card summary::-webkit-details-marker {
  display: none;
}

.page-products__ov-num {
  font-family: var(--fh-font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--fh-orange);
  letter-spacing: 0.04em;
}

.page-products__ov-title {
  font-family: var(--fh-font-heading);
  font-size: 1.03rem;
  font-weight: 900;
  color: var(--fh-text-dark);
  flex: 1;
}

.page-products__ov-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 229, 160, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--fh-green);
  flex-shrink: 0;
}

.page-products__ov-indicator::before {
  content: "−";
  font-weight: 900;
}

.page-products__ov-card:not([open]) summary .page-products__ov-indicator::before {
  content: "+";
}

.page-products__ov-body {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--fh-border);
}

.page-products__ov-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--fh-gray);
}

.page-products__overview-visual {
  position: relative;
  border-radius: var(--products-radius);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(11, 30, 63, 0.12);
}

.page-products__overview-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.page-products__ov-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: var(--fh-navy);
  color: var(--fh-text-light);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-products__ov-badge span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--fh-green);
  font-weight: 600;
}

.page-products__ov-badge strong {
  font-family: var(--fh-font-heading);
  font-size: 1.2rem;
  font-weight: 900;
}

/* ========== 特色功能详解 ========== */
.page-products__details {
  background: var(--fh-text-light);
  padding: var(--products-space) 0;
}

.page-products__sec-head--split > div {
  flex: 1;
}

.page-products__sec-head--split > p {
  max-width: 22em;
  font-size: 0.96rem;
  color: var(--fh-gray);
  line-height: 1.7;
  margin: 0;
}

.page-products__detail-block {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--fh-border);
}

.page-products__detail-block:last-child {
  border-bottom: none;
}

.page-products__detail-tag {
  display: inline-block;
  background: var(--fh-navy);
  color: var(--fh-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.8rem;
  border-radius: 3px;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

.page-products__detail-copy {
  flex: 1;
}

.page-products__detail-copy h3 {
  font-family: var(--fh-font-heading);
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 900;
  color: var(--fh-text-dark);
  margin: 0 0 0.8rem;
}

.page-products__detail-copy > p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--fh-gray);
  margin: 0 0 1rem;
}

.page-products__detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.page-products__detail-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fh-text-dark);
}

.page-products__detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--fh-green);
  transform: rotate(45deg);
}

.page-products__tip {
  background: var(--fh-bg-light);
  border-radius: 6px;
  padding: 0.3rem 1rem;
  border-left: 3px solid var(--fh-orange);
}

.page-products__tip summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--fh-orange);
  padding: 0.45rem 0;
}

.page-products__tip summary::-webkit-details-marker {
  display: none;
}

.page-products__tip p {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--fh-text-dark);
}

.page-products__detail-visual {
  flex: 1;
  min-width: 0;
  border-radius: var(--products-radius);
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(11, 30, 63, 0.08);
}

.page-products__detail-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.page-products__refresh-demo {
  background: var(--fh-navy);
  color: var(--fh-text-light);
  border-radius: var(--products-radius);
  padding: 1.5rem 1.6rem;
  box-shadow: 6px 6px 0 rgba(11, 30, 63, 0.14);
  min-height: 100%;
  box-sizing: border-box;
}

.page-products__refresh-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.page-products__refresh-head span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-products__refresh-head strong {
  font-family: var(--fh-font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--fh-green);
}

.page-products__refresh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-products__refresh-row span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-products__refresh-row strong {
  font-family: var(--fh-font-heading);
  font-size: 1.5rem;
  color: var(--fh-green);
  font-weight: 900;
}

.page-products__refresh-bar {
  margin-top: 1.1rem;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.page-products__refresh-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--fh-green), #66f5cc);
  border-radius: 99px;
}

.page-products__refresh-demo p {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

/* ========== 版本对比 ========== */
.page-products__compare {
  background: var(--fh-navy);
  padding: var(--products-space) 0;
  color: var(--fh-text-light);
}

.page-products__compare .page-products__sec-index {
  color: var(--fh-green);
}

.page-products__compare .page-products__sec-head h2 {
  color: var(--fh-text-light);
}

.page-products__compare .page-products__sec-head > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.page-products__compare-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-products__compare-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--products-radius);
  padding: 1.4rem 1.5rem;
  flex: 1;
}

.page-products__compare-col--v2 {
  background: rgba(0, 229, 160, 0.08);
  border-color: rgba(0, 229, 160, 0.45);
}

.page-products__compare-col h3 {
  font-family: var(--fh-font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--fh-text-light);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-products__compare-col--v2 h3::after {
  content: "NEW";
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  background: var(--fh-orange);
  color: var(--fh-text-light);
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}

.page-products__compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.page-products__compare-col li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.page-products__compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.page-products__compare-col--v2 li::before {
  background: var(--fh-green);
}

.page-products__compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0;
}

.page-products__compare-arrow::before {
  content: "→";
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--fh-green);
}

.page-products__compare-visual {
  border-radius: var(--products-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-products__compare-visual img {
  width: 100%;
  aspect-ratio: 8 / 5;
}

/* ========== 使用场景 ========== */
.page-products__scenarios {
  background: var(--fh-bg-light);
  padding: var(--products-space) 0;
}

.page-products__scenario-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-products__scenario-visual {
  flex: 1.15;
  border-radius: var(--products-radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 rgba(11, 30, 63, 0.1);
}

.page-products__scenario-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.page-products__scenario-copy {
  flex: 1;
}

.page-products__scenario-copy h2 {
  font-family: var(--fh-font-heading);
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  font-weight: 900;
  color: var(--fh-text-dark);
  margin: 0 0 1.1rem;
  line-height: 1.18;
}

.page-products__scenario-copy p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--fh-gray);
  margin-bottom: 1rem;
}

.page-products__scenario-copy .fh-btn {
  margin-top: 0.5rem;
  display: inline-flex;
}

/* ========== 平台支持 ========== */
.page-products__platform {
  background: var(--fh-text-light);
  padding: var(--products-space) 0;
}

.page-products__platform-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-products__platform-card {
  background: var(--fh-bg-light);
  border-radius: var(--products-radius);
  padding: 1.5rem;
  border-top: 3px solid var(--fh-green);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.page-products__platform-card:nth-child(2) {
  border-top-color: var(--fh-orange);
}

.page-products__platform-card:nth-child(3) {
  border-top-color: var(--fh-navy);
}

.page-products__platform-icon {
  width: 42px;
  height: 42px;
  background: var(--fh-navy);
  color: var(--fh-green);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh-font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

.page-products__platform-card:nth-child(2) .page-products__platform-icon {
  background: var(--fh-orange);
  color: var(--fh-text-light);
}

.page-products__platform-card:nth-child(3) .page-products__platform-icon {
  background: var(--fh-green);
  color: var(--fh-navy);
}

.page-products__platform-card h3 {
  font-family: var(--fh-font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--fh-text-dark);
  margin: 0;
}

.page-products__platform-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--fh-gray);
  margin: 0;
}

/* ========== 媒体查询：平板 / 桌面 ========== */
@media (min-width: 768px) {
  .page-products__hero {
    padding: 2.2rem 0 3rem;
  }

  .page-products__hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .page-products__hero-copy {
    flex: 1.2;
  }

  .page-products__hero-board {
    flex: 0.8;
  }

  .page-products__hero-metrics {
    gap: 0.8rem 1.2rem;
  }

  .page-products__overview-layout {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .page-products__overview-copy {
    flex: 1.1;
  }

  .page-products__overview-visual {
    flex: 0.9;
  }

  .page-products__sec-head--split {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-products__detail-block {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0;
  }

  .page-products__detail-block--reverse {
    flex-direction: row-reverse;
  }

  .page-products__detail-copy,
  .page-products__detail-visual {
    flex: 1;
  }

  .page-products__compare-layout {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
  }

  .page-products__compare-arrow {
    padding: 0 0.4rem;
  }

  .page-products__compare-arrow::before {
    content: "→";
    font-size: 2.2rem;
  }

  .page-products__scenario-layout {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }

  .page-products__platform-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .page-products__platform-card {
    flex: 1 1 calc(50% - 0.6rem);
  }
}

@media (min-width: 1024px) {
  .page-products__hero h1 {
    font-size: 2.7rem;
  }

  .page-products__overview-layout {
    gap: 3.5rem;
  }

  .page-products__detail-block {
    gap: 3.5rem;
  }

  .page-products__platform-card {
    flex: 1 1 0;
  }

  .page-products__scenario-copy p {
    max-width: 28em;
  }
}
