/* ==========================================================================
   赞赞博士 OPC 财康中心官网 — 设计稿还原样式
   设计令牌全部取自 Ardot 设计稿（fileId 726714653398145）
   ========================================================================== */

:root {
  /* 品牌色 */
  --navy: #0A1F3D;          /* 主藏蓝：Hero / 场景 / 保龄 / 页脚 背景 */
  --navy-card: #12264A;     /* 深色卡片底 */
  --navy-soft: #1E3457;     /* 标签 / 分隔线 */
  --navy-tag: #1E3A63;      /* 第四张价格卡标签底 */
  --gold: #C9A45C;          /* 品牌金 */
  --white: #FFFFFF;

  /* 中性色 */
  --bg-light: #F7F8FA;      /* 浅灰区块底 */
  --text-dark: #1A202C;     /* 深色正文 / 导航 */
  --text-body: #4A5568;     /* 常规正文灰 */
  --text-muted: #8A94A6;    /* 次要说明 */
  --text-faint: #6B7485;    /* 注释 / 免责声明 */
  --text-onnavy: #B8C4D4;   /* 深底上的正文 */
  --border-light: #DDE3EC;  /* 图片框描边 */
  --frame-bg: #F1F5F8;      /* 图片框底 */

  /* 圆角 */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 20px;
  --r-3xl: 24px;
  --r-pill: 20px;

  /* 间距 */
  --gutter: 120px;          /* 区块左右留白 */
  --section-py: 120px;      /* 区块上下留白 */
  --grid-gap: 24px;

  /* 阴影 */
  --shadow-card: 0 8px 24px rgba(10, 31, 61, 0.04);

  --maxw: 1440px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: transparent; padding: 0; cursor: pointer; }
a:focus, button:focus { outline: 3px solid var(--gold); outline-offset: 4px; }
section[id], footer[id] { scroll-margin-top: 96px; }
img { display: block; max-width: 100%; }

/* ---------- 通用区块 ---------- */
.section { padding: var(--section-py) var(--gutter); }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.center { align-items: center; text-align: center; }

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .02em;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-body);
  width: 720px;
  max-width: 100%;
}
.section-desc.light { color: var(--text-onnavy); }

.block-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.card-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.card-desc { font-size: 15px; line-height: 24px; color: var(--text-body); }

.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li {
  font-size: 14px;
  line-height: 22px;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  height: 80px;
  background: var(--white);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(10, 31, 61, .06);
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-group { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.logo-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--gold);
  flex: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
}
.logo-text { font-size: 22px; font-weight: 700; color: var(--text-dark); }

.nav-group { display: flex; gap: 40px; }
.nav-item {
  font-size: 15px;
  white-space: nowrap;
  font-weight: 400;
  color: var(--text-dark);
  transition: color .2s;
}
.nav-item:hover { color: var(--gold); }

.header-cta {
  padding: 10px 24px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  height: 700px;
  background: var(--navy);
  padding-left: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  overflow: hidden;
}
.hero-text { width: 720px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: rgba(201, 164, 92, .16);
  border: 1px solid rgba(201, 164, 92, .45);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}
.hero-headline {
  font-size: 52px;
  font-weight: 700;
  line-height: 68px;
  color: var(--white);
}
.hero-subline { font-size: 18px; line-height: 30px; color: var(--text-onnavy); }

.hero-cta-group { display: flex; gap: 16px; margin-top: 8px; }
.btn-primary {
  padding: 16px 32px;
  border-radius: var(--r-md);
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: filter .2s;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  padding: 16px 32px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.hero-trust { display: flex; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.hero-trust span {
  font-size: 14px;
  color: var(--text-onnavy);
  padding-left: 14px;
  position: relative;
}
.hero-trust span::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
}

.hero-image {
  width: 600px;
  height: 700px;
  flex: none;
  background-image: url("assets/hero.png");
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.section.problem { background: var(--bg-light); display: flex; flex-direction: column; gap: 64px; }

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.problem-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  height: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-block {
  background: var(--white);
  border-radius: var(--r-3xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.solution-text { width: 560px; max-width: 100%; min-width: 0; flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
.solution-title { font-size: 28px; font-weight: 700; line-height: 40px; color: var(--text-dark); }
.solution-desc { font-size: 16px; line-height: 28px; color: var(--text-body); }
.solution-image {
  width: 48%;
  height: 360px;
  flex: 0 1 540px;
  min-width: 0;
  max-width: 48%;
  border-radius: var(--r-xl);
}
.solution-block > .solution-image { display: block; height: auto; }

/* ==========================================================================
   Core Features
   ========================================================================== */
.section.core { display: flex; flex-direction: column; gap: 64px; }
.core-desc { width: 900px; }

.core-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.core-card {
  background: var(--bg-light);
  border-radius: var(--r-xl);
  padding: 32px;
  height: 377px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   Scene Matrix
   ========================================================================== */
.section.scene {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.scene-header { display: flex; flex-direction: column; gap: 16px; }
.scene-header .section-desc { width: 788px; }

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.scene-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.scene-img { height: 220px; flex: none; background-size: cover; background-position: center; }
.scene-card > .scene-img { display: block; width: 100%; height: auto; }

.scene-body {
  flex: 1;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.scene-top { display: flex; flex-direction: column; gap: 16px; }
.scene-tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  background: var(--navy-soft);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
}
.scene-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.scene-desc { font-size: 14px; line-height: 22px; color: var(--text-body); }
.scene-bullets { display: flex; flex-direction: column; gap: 8px; }
.scene-bullets li {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-body);
  padding-left: 14px;
  position: relative;
}
.scene-bullets li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.scene-cta { font-size: 14px; font-weight: 500; color: var(--gold); text-align: left; align-self: flex-start; }

/* 轻投入 · 轻管理 · 轻运营 */
.light-block { display: flex; flex-direction: column; gap: 32px; }
.light-header { display: flex; flex-direction: column; gap: 14px; }
.light-title { font-size: 30px; font-weight: 700; line-height: 1.35; color: var(--white); }
.light-desc { font-size: 16px; line-height: 26px; color: var(--text-onnavy); width: 720px; max-width: 100%; }

.light-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.light-card {
  background: var(--navy-card);
  border-radius: var(--r-xl);
  padding: 32px;
  height: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.light-card-title { font-size: 20px; font-weight: 700; color: var(--gold); }
.light-list { display: flex; flex-direction: column; gap: 14px; }
.light-list li {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-onnavy);
  padding-left: 14px;
  position: relative;
}
.light-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}

/* ==========================================================================
   Cooperation Block
   ========================================================================== */
.coop-block { display: flex; flex-direction: column; gap: 32px; }
.coop-header { display: flex; flex-direction: column; gap: 14px; }
/* Section headings/descriptions are centered; eyebrow labels stay left aligned.
   The hero and solution split layout intentionally keep their existing alignment. */
.section-head, .section-head.center, .scene-header, .light-header, .coop-header {
  align-items: stretch;
  text-align: left;
}
.section-head > .section-title, .scene-header > .section-title,
.light-header > .light-title, .coop-header > .light-title {
  text-align: center;
}
.section-head > .section-desc, .scene-header > .section-desc,
.light-header > .light-desc, .coop-header > .light-desc {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head > .eyebrow, .scene-header > .eyebrow,
.light-header > .eyebrow, .coop-header > .eyebrow {
  align-self: flex-start;
  text-align: left;
}
.coop-header > .light-desc { width: 100%; max-width: 900px; text-wrap: balance; }
.sub-title, .block-title, .media-label { text-align: center; }
.coop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.coop-card {
  background: var(--navy-card);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.coop-num { font-size: 14px; font-weight: 700; color: var(--gold); }
.coop-title { font-size: 19px; font-weight: 700; color: var(--white); }
.coop-desc { font-size: 14px; line-height: 22px; color: var(--text-onnavy); }
.coop-meta { display: flex; flex-direction: column; gap: 8px; }
.coop-m0 { font-size: 12px; line-height: 1.6; color: var(--gold); }
.coop-m1 { font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.coop-note {
  font-size: 14px;
  line-height: 24px;
  color: var(--text-muted);
  text-align: center;
  max-width: 909px;
  margin: 0 auto;
}

/* ==========================================================================
   Device Matrix
   ========================================================================== */
.section.device { display: flex; flex-direction: column; gap: 48px; }
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.device-card {
  background: var(--bg-light);
  border-radius: var(--r-lg);
  padding: 24px;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dev-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.dev-title { font-size: 17px; font-weight: 700; color: var(--text-dark); }
.dev-desc { font-size: 13px; line-height: 20px; color: var(--text-body); }

/* ==========================================================================
   Baoling Plan
   ========================================================================== */
.section.baoling { background: var(--navy); display: flex; flex-direction: column; gap: 56px; }
.bao-desc { width: 860px; }

.bao-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.bao-card {
  background: var(--navy-card);
  border-radius: var(--r-xl);
  padding: 32px;
  height: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bao-card.featured { border: 1px solid var(--gold); }
.bao-tag {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--r-xs);
  background: var(--navy-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
}
.bao-tag.gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.bao-name { font-size: 20px; font-weight: 700; color: var(--white); }
.bao-price { display: flex; align-items: baseline; gap: 6px; }
.bao-num { font-size: 32px; font-weight: 700; color: var(--gold); }
.bao-unit { font-size: 14px; color: var(--text-muted); }
.bao-list { display: flex; flex-direction: column; gap: 12px; }
.bao-list li { font-size: 14px; line-height: 22px; color: var(--text-onnavy); }
.bao-list li.muted { color: var(--text-muted); }
.bao-cta { font-size: 15px; font-weight: 500; color: var(--gold); margin-top: auto; text-align: left; align-self: flex-start; }
.bao-note { font-size: 13px; color: var(--text-faint); text-align: center; }

.sub-block { display: flex; flex-direction: column; gap: 28px; }
.sub-title { font-size: 24px; font-weight: 700; color: var(--white); }

.year-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.year-card {
  background: var(--navy-card);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.year-num { font-size: 28px; font-weight: 700; color: var(--gold); }
.year-label { font-size: 14px; color: var(--text-onnavy); }

.family-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.family-card {
  background: var(--navy-card);
  border-radius: var(--r-lg);
  padding: 28px;
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.family-title { font-size: 19px; font-weight: 700; color: var(--gold); }
.family-desc { font-size: 14px; line-height: 22px; color: var(--text-onnavy); }
.family-list { display: flex; flex-direction: column; gap: 8px; }
.family-list li { font-size: 13px; line-height: 1.4; color: var(--text-muted); }

.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.step-card {
  background: var(--navy-card);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-num { font-size: 13px; font-weight: 700; color: var(--gold); }
.step-title { font-size: 18px; font-weight: 700; color: var(--white); }
.step-desc { font-size: 13px; line-height: 22px; color: var(--text-onnavy); }

/* ==========================================================================
   Social Proof
   ========================================================================== */
.section.proof { background: var(--bg-light); display: flex; flex-direction: column; gap: 64px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.stat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
}
.stat-num { font-size: 40px; font-weight: 700; line-height: 1.1; color: var(--text-dark); }
.stat-label { font-size: 15px; color: var(--text-body); }
.stat-note { font-size: 13px; color: var(--text-muted); text-align: center; }

.cred-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cred-card {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 28px;
  height: 200px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cred-num { font-size: 14px; font-weight: 700; color: var(--gold); }
.cred-title { font-size: 17px; font-weight: 700; line-height: 24px; color: var(--white); }
.cred-desc { font-size: 13px; line-height: 20px; color: var(--text-onnavy); }

.partner-block { display: flex; flex-direction: column; gap: 28px; }
.partner-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.partner-chip {
  width: 227px;
  height: 72px;
  background: var(--white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.media-block { display: flex; flex-direction: column; gap: 24px; }
.media-group { display: flex; flex-direction: column; gap: 14px; }
.media-label { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.media-frame {
  position: relative;
  min-width: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
/* Ratios 1.55 / 2.05, including a spacer fallback for older browsers. */
.media-frame::before { content: ""; display: block; padding-top: 64.516129%; }
.media-frame--video::before { padding-top: 48.780488%; }
.media-frame > button { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.media-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.media-tag {
  position: absolute; left: 10px; top: 10px; padding: 4px 8px;
  border-radius: 12px; background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 500; line-height: 1.4; white-space: nowrap;
}
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: rgba(10, 31, 61, .6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease;
}
.play-btn svg { margin-left: 2px; }
.media-trigger:hover .play-btn, .media-trigger:focus .play-btn {
  transform: translate(-50%, -50%) scale(1.08); background: rgba(10, 31, 61, .82);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  padding: 80px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer-top { display: flex; gap: 64px; justify-content: space-between; }
.footer-brand { width: 420px; flex: none; display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-icon { background: var(--gold); color: var(--navy); }
.footer-logo .logo-text { color: var(--white); }
.footer-intro { font-size: 14px; line-height: 24px; color: var(--text-onnavy); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.fc-strong { font-size: 15px; font-weight: 500; color: var(--gold); }
.fc-line { font-size: 14px; color: var(--text-onnavy); }

.footer-nav-wrap { display: flex; gap: 72px; }
.footer-nav { width: 150px; display: flex; flex-direction: column; gap: 16px; }
.fn-title { font-size: 16px; font-weight: 700; color: var(--white); }
.fn-link { font-size: 14px; color: var(--text-onnavy); transition: color .2s; }
.fn-link:hover { color: var(--gold); }

.footer-divider { height: 1px; background: var(--navy-soft); }
.footer-bottom { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-icp { display: flex; gap: 20px; }
.footer-icp span, .footer-icp a, .footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-disclaimer { font-size: 12px; line-height: 20px; color: var(--text-faint); }

/* ---------- 头部滚动态 / 移动端汉堡按钮 ---------- */
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(10, 31, 61, .08); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s, opacity .2s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 进入视口淡入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1280px) {
  :root { --gutter: 60px; --section-py: 88px; }
  .hero { height: auto; padding: 88px var(--gutter); }
  .hero-image { width: 420px; height: 520px; }
  .core-grid, .device-grid, .coop-grid, .bao-grid, .cred-row { grid-template-columns: repeat(2, 1fr); }
  .partner-chip { width: calc(25% - 12px); }
}

@media (max-width: 1023px) {
  :root { --gutter: 24px; --section-py: 64px; }
  .hero { flex-direction: column; padding: 56px var(--gutter); }
  .hero-text { width: 100%; }
  .hero-headline { font-size: 34px; line-height: 46px; }
  .hero-image { width: 100%; height: 360px; }
  .problem-grid, .scene-grid, .light-grid, .family-row, .step-row, .year-row, .stats-row, .media-grid { grid-template-columns: 1fr; }
  .core-grid, .device-grid, .coop-grid, .bao-grid, .cred-row { grid-template-columns: 1fr; }
  .scene-card, .light-card, .bao-card, .stat-card, .cred-card, .family-card, .step-card, .year-card { height: auto; }
  .solution-block { flex-direction: column; gap: 32px; padding: 28px; }
  .solution-image { width: 100%; height: 260px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { width: 100%; }
  .footer-nav-wrap { gap: 40px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .site-header { height: 72px; padding: 0 var(--gutter); }
  .nav-group {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-top: 1px solid rgba(10, 31, 61, .06);
    box-shadow: 0 12px 24px rgba(10, 31, 61, .08);
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter);
  }
  .site-header.nav-open .nav-group { display: flex; }
  .nav-item { padding: 14px 0; border-bottom: 1px solid rgba(10, 31, 61, .06); }
  .nav-item:last-child { border-bottom: none; }
  .partner-chip { width: calc(50% - 8px); }
}

/* ==========================================================================
   补充：按钮/标签禁止折行
   ========================================================================== */
.header-cta,
.btn-primary,
.btn-ghost,
.btn-dark,
.partner-chip,
.stat-num,
.bao-num,
.year-num,
.scene-tag,
.bao-tag,
.scene-cta,
.bao-cta,
.nav-item,
.fn-link,
.footer-icp span,
.footer-icp a {
  white-space: nowrap;
}

.icp-link { transition: color .2s; }
.icp-link:hover { color: var(--gold); text-decoration: underline; }

/* ==========================================================================
   顾问二维码弹窗
   ========================================================================== */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 31, 61, .62);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-mask.is-open { display: flex; }
.modal-box {
  position: relative;
  width: 380px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(10, 31, 61, .28);
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }
.modal-desc { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--text-body); }
.modal-qr {
  width: 260px; height: 260px;
  margin: 20px auto 0;
  border-radius: var(--r-lg);
  /* Keep all 220/260 pixels available to the QR image; draw the frame outside. */
  border: 0;
  box-shadow: 0 0 0 1px var(--border-light);
  background: var(--white);
  overflow: hidden;
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-hotline { margin-top: 16px; font-size: 15px; font-weight: 500; color: var(--gold); }
.modal-tip { margin-top: 10px; font-size: 13px; color: var(--text-faint); }

/* ==========================================================================
   自适应：平板 → 平板竖屏 → 手机
   ========================================================================== */

/* ---------- 平板（≤1279px） ---------- */
@media (max-width: 1279px) {
  :root { --gutter: 56px; --section-py: 88px; }
  .hero { height: auto; padding: 80px var(--gutter); gap: 40px; }
  .hero-text { width: 56%; }
  .hero-headline { font-size: 42px; line-height: 56px; }
  .hero-image { width: 40%; height: 460px; }
  .core-grid, .device-grid, .coop-grid, .bao-grid,
  .cred-row, .year-row, .stats-row { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partner-chip { width: calc(33.333% - 11px); }
  .solution-block { gap: 32px; padding: 32px; }
  /* Let longer copy and consultation controls remain visible on small tablets. */
  .scene-card { height: auto; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { width: 100%; }
  .footer-nav-wrap { flex-wrap: wrap; gap: 32px; }
  .nav-group { gap: 24px; }
}

/* ---------- 平板竖屏（≤1023px） ---------- */
@media (max-width: 1023px) {
  :root { --gutter: 40px; --section-py: 72px; }
  .hero { flex-direction: column; align-items: flex-start; padding: 64px var(--gutter); }
  .hero-text { width: 100%; }
  .hero-headline { font-size: 36px; line-height: 50px; }
  .hero-image { width: 100%; height: 380px; }
  .solution-block { flex-direction: column; }
  .solution-text, .solution-image { flex: none; width: 100%; max-width: 100%; }
  .nav-group { gap: 0; }
  .coop-header .light-desc { font-size: 15px; line-height: 26px; }
  .section-title { font-size: 30px; line-height: 42px; }
  .section-desc,
  .bao-desc, .core-desc, .light-desc,
  .scene-header .section-desc { width: 100%; font-size: 16px; line-height: 28px; }

  .problem-grid, .scene-grid, .light-grid,
  .family-row, .step-row { grid-template-columns: repeat(2, 1fr); }
  .scene-card, .light-card, .core-card, .problem-card,
  .bao-card, .stat-card, .cred-card, .family-card,
  .step-card, .year-card, .device-card { height: auto; }
  .scene-img { height: 200px; }

  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .footer-top { flex-direction: column; gap: 40px; }
  .footer-brand { width: 100%; }
  .footer-nav-wrap { gap: 32px; flex-wrap: wrap; }
  .footer-nav { width: 140px; }
  .partner-chip { width: calc(50% - 8px); }
}

/* ---------- 手机（≤767px） ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-py: 56px; }
  body { -webkit-text-size-adjust: 100%; }

  .site-header { height: 64px; padding: 0 var(--gutter); }
  .logo-text { font-size: 18px; }
  .site-header { padding-left: 16px; padding-right: 16px; }
  .site-header .header-inner { gap: 8px; }
  .site-header .logo-group { gap: 8px; flex: none; }
  .site-header .logo-icon { width: 32px; height: 32px; }
  .site-header .logo-text { font-size: 16px; line-height: 1.4; white-space: nowrap; }
  .site-header .header-actions { gap: 8px; }
  .site-header .header-cta { padding: 10px 12px; min-height: 44px; white-space: nowrap; }
  .site-header .nav-toggle { width: 40px; height: 44px; flex: none; }

  .hero { padding: 40px var(--gutter); gap: 28px; }
  .hero-text { gap: 18px; }
  .hero-badge { font-size: 12px; line-height: 20px; padding: 8px 14px; }
  .hero-headline { font-size: 28px; line-height: 40px; }
  .hero-subline { font-size: 15px; line-height: 26px; }
  .hero-cta-group { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; padding: 14px 20px; font-size: 15px; }
  .hero-trust { gap: 10px 18px; }
  .hero-trust span { font-size: 13px; }
  .hero-image { width: 100%; height: 260px; }

  .section-title { font-size: 24px; line-height: 34px; }
  .section-desc { font-size: 15px; line-height: 26px; }
  .eyebrow { font-size: 13px; }
  .coop-header .light-desc { font-size: 14px; line-height: 24px; }

  .problem-grid, .scene-grid, .light-grid, .core-grid, .device-grid,
  .coop-grid, .bao-grid, .stats-row, .cred-row, .year-row,
  .family-row, .step-row, .media-grid { grid-template-columns: 1fr; gap: 16px; }


  .scene-img { height: 180px; }
  .stat-num { font-size: 32px; }
  .bao-num { font-size: 28px; }
  .partner-chip { width: calc(50% - 8px); font-size: 14px; }

  .solution-block { flex-direction: column; gap: 24px; padding: 24px; }
  .solution-image { width: 100%; height: 220px; }
  .btn-dark { width: 100%; text-align: center; }

  .footer-nav-wrap { gap: 24px; }
  .footer-nav { width: calc(50% - 12px); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-icp { flex-direction: column; gap: 4px; }

  .modal-box { padding: 24px; width: 380px; }
  .modal-qr { width: 220px; height: 220px; }
  .modal-title { font-size: 18px; }
}

/* ---------- 窄屏中文断行保护 ---------- */
@media (max-width: 1023px) {
  .fc-line, .coop-m0, .coop-m1,
  .scene-bullets li, .light-list li, .bao-list li, .bullets li {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* ==========================================================================
   宽屏定宽：内容统一收在 1200px 内容列（对齐设计稿 1440 画布 - 左右 120）
   解决"窗口放大后左右元素被拉开、间距过大"的问题
   ========================================================================== */
.header-inner { max-width: 1200px; }

.section > * {
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer > * {
  width: 100%;
  min-width: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   首屏：收紧文案与配图的间距
   ========================================================================== */
.hero {
  padding-left: var(--gutter);
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text { flex: 1 1 720px; width: auto; min-width: 0; }
.hero-image { flex: 0 0 600px; width: 600px; height: 700px; }

@media (max-width: 1279px) {
  .hero-inner { gap: 32px; }
  .hero-image { flex: 0 0 420px; width: 420px; height: 460px; }
}

@media (max-width: 1023px) {
  .hero { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hero-inner { flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-text { flex: none; width: 100%; }
  .hero-image { flex: none; width: 100%; height: 380px; }
}

@media (max-width: 767px) {
  .hero-image { height: 260px; }
  .scene-cta, .bao-cta, .partner-chip { white-space: normal; overflow-wrap: anywhere; }
  .scene-tag, .bao-tag { max-width: 100%; white-space: normal; }
}

/* Allow grid/flex children to shrink to the available column width. */
.section [class$="-grid"] > *, .section [class$="-row"] > *,
.light-header, .coop-header, .footer-nav-wrap { min-width: 0; }
.media-frame button:focus { outline-offset: -4px; }
.footer-contact a:hover, .modal-hotline a:hover { text-decoration: underline; }

@media (max-width: 380px) {
  .site-header { padding-left: 12px; padding-right: 12px; }
  .header-inner, .logo-group, .header-actions { gap: 8px; }
  .logo-text { font-size: 16px; line-height: 1.4; }
  .site-header .logo-text { font-size: 14px; }
  .header-cta { padding: 10px 12px; }
  .modal-mask { padding: 16px; }
  .modal-box { padding: 24px 16px; max-height: calc(100vh - 32px); }
}

/* Delivery update: reduce wrapping on desktop, balance longer card copy. */
@media (min-width: 1281px) and (max-width: 1439px) {
  :root { --gutter: 40px; }
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .step-row { grid-template-columns: repeat(2, 1fr); }
}
.coop-desc, .coop-m0, .coop-m1, .coop-note,
.step-desc, .family-desc, .family-list li,
.scene-desc, .core-desc, .bao-desc, .bao-list li,
.dev-desc, .card-desc, .cred-desc, .stat-label, .stat-note { text-wrap: balance; }
.modal-box.video-box { width: 900px; padding: 48px 20px 20px; }
.video-box .modal-title { margin-bottom: 16px; }
.video-wrap { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: var(--r-lg); overflow: hidden; }
.video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
