/* ============================================
   启曜府竞品手册 · 全局样式 V3
   森林绿 + 黄铜色 设计系统
   ============================================ */

:root {
  --green:       #173d31;
  --green-2:     #275646;
  --green-3:     #0e2820;
  --brass:       #a97742;
  --brass-light: #f5ead8;
  --paper:       #fbfaf6;
  --soft:        #f0f2ed;
  --ink:         #17201c;
  --muted:       #59645f;
  --line:        #d9ddd8;
  --white:       #ffffff;
  --warn:        #a14e3b;
  --warn-light:  #fff0ec;
  --success:     #2a7a4b;
  --success-light:#e8f5ee;
  --shadow:      0 8px 32px rgba(23,32,28,0.10);
  --radius:      8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---- 顶部导航 ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  padding: 0 40px;
  background: rgba(23,61,49,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--white);
  font-size: 15px;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  color: var(--green);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.nav-links a {
  padding: 6px 12px;
  color: rgba(255,255,255,0.75);
  border-radius: 5px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
}

/* ---- 悬浮返回按钮 ---- */
.floating-back {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(23,61,49,0.35);
  border: 1.5px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.floating-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(23,61,49,0.45);
}

/* ---- Hero 区（竞品页） ---- */
.comp-hero {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,0.8fr);
  gap: 40px;
  align-items: stretch;
  padding: 64px 48px;
  background: var(--green);
  color: var(--white);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brass);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comp-hero .eyebrow { color: #d7b27f; }

.comp-hero h1 {
  margin: 0 0 16px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--white);
}

.hero-sub {
  margin: 0;
  color: rgba(255,255,255,0.80);
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-tag {
  padding: 4px 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.hero-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.panel-label {
  margin: 0;
  color: #d7b27f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  color: var(--white);
}

.hero-panel p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  line-height: 1.75;
}

/* ---- 首页 Hero ---- */
.home-hero {
  padding: 72px 48px;
  background: var(--green);
  color: var(--white);
}

.home-hero h1 {
  margin: 12px 0 16px;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.home-hero p.hero-sub {
  max-width: 600px;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
}

.hero-stat {
  padding: 22px 20px;
  text-align: center;
}

.hero-stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  margin-top: 6px;
}

/* ---- Section 带 ---- */
.band {
  padding: 64px 48px;
}

.band.alt {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

/* ---- 内容宽度限制 ---- */
.inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* ---- 核心结论速览（深绿横幅） ---- */
.summary-bar {
  background: linear-gradient(135deg, var(--green-3) 0%, var(--green) 100%);
  padding: 32px 48px;
}

.summary-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brass);
  border-radius: 1px;
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
}

.sum-stat {
  padding: 18px 22px;
  background: rgba(0,0,0,0.18);
}

.sum-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
}

.sum-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.sum-stat-num.green  { color: #52d48a; }
.sum-stat-num.red    { color: #f07070; }

.sum-stat-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  margin-top: 4px;
}

/* ---- 启曜府回应区 ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.qiyao-counter h2 {
  margin: 8px 0 12px;
  font-size: 32px;
  line-height: 1.25;
  color: var(--ink);
}

.qiyao-counter p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.overview-tile {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
}

.overview-tile h4 {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--brass);
  font-weight: 700;
}

.overview-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---- PART 章节 ---- */
.battles-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.battle-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.battle-section:first-child {
  border-top: none;
  padding-top: 0;
}

.part-label {
  color: #c8d0cb;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.battle-section h2 {
  margin: 0 0 28px;
  font-size: 36px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.3px;
}

/* ---- 户型图双排 ---- */
.plans-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card {
  margin: 0;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.plan-card:hover {
  box-shadow: 0 8px 28px rgba(23,32,28,0.13);
  border-color: #b0b8b0;
}

.plan-card.ours {
  border-color: var(--brass);
  border-width: 2px;
}

.plan-card.ours:hover {
  border-color: #c49050;
}

.plan-card img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  background: var(--paper);
  display: block;
  padding: 20px 24px;
}

.plan-card figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-card.ours figcaption {
  background: var(--brass-light);
  border-top-color: rgba(169,119,66,0.2);
  color: #7a5228;
}

.plan-zoom-hint {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.6;
}

.plan-card.ours .plan-zoom-hint {
  color: #a07040;
}

/* ---- 规格对比三栏 ---- */
.cmp-body {
  display: grid;
  grid-template-columns: 1fr 148px 1fr;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.cmp-col {
  padding: 22px;
}

.cmp-col-theirs {
  background: #fafaf8;
  border-right: 1px solid var(--line);
}

.cmp-col-ours {
  background: #fdfbf6;
  border-left: 1px solid var(--line);
}

.cmp-col-mid {
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  gap: 8px;
}

.cmp-brand-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.cmp-brand-tag.theirs {
  background: rgba(23,32,28,0.07);
  color: var(--muted);
}

.cmp-brand-tag.ours {
  background: var(--brass-light);
  color: #7a5228;
}

.cmp-area-big {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -1px;
}

.cmp-area-unit {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.cmp-room-type {
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 14px;
}

.cmp-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cmp-spec-item {
  padding: 9px 11px;
  background: var(--soft);
  border-radius: 6px;
  border: 1px solid var(--line);
}

.cmp-spec-item.full { grid-column: span 2; }

.cmp-spec-item.price-theirs {
  background: var(--ink);
  border-color: transparent;
}

.cmp-spec-item.price-ours {
  background: linear-gradient(135deg, var(--brass) 0%, #c49050 100%);
  border-color: transparent;
}

.spec-label {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 2px;
  font-weight: 500;
}

.price-theirs .spec-label { color: rgba(255,255,255,0.40); }
.price-ours .spec-label   { color: rgba(255,255,255,0.65); }

.spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.price-theirs .spec-value {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.price-ours .spec-value {
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.spec-value.better { color: var(--success); }
.spec-value.worse  { color: var(--warn); }

/* VS中间列 */
.vs-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.edge-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.edge-item {
  font-size: 10px;
  line-height: 1.45;
  padding: 5px 7px;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.edge-item.win  { background: var(--success-light); color: var(--success); }
.edge-item.lose { background: var(--warn-light); color: var(--warn); }
.edge-item.tie  { background: var(--soft); color: var(--muted); }

/* ---- 一句话判定 ---- */
.verdict {
  padding: 22px 26px;
  background: var(--green);
  border-radius: var(--radius);
  margin-bottom: 0;
}

.verdict-label {
  display: block;
  color: var(--brass);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.verdict p {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

.verdict strong { color: #d7b27f; }
.verdict .price-win  { color: #7be8a8; font-weight: 700; }
.verdict .price-lose { color: #f09090; font-weight: 700; }

/* ---- 核心差异对照表 ---- */
.matrix-section { max-width: 1240px; margin: 0 auto; }

.matrix-section h2 {
  margin: 0 0 6px;
  font-size: 36px;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.matrix-section .section-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 24px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th, td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

tr:last-child th,
tr:last-child td { border-bottom: none; }

thead th {
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

thead th:first-child { width: 18%; }

tbody th {
  width: 18%;
  color: var(--green);
  font-weight: 700;
  background: var(--soft);
}

tbody tr:nth-child(even) td { background: #fafaf8; }

/* ---- 底部区域 ---- */
.bottom-section {
  background: var(--green);
  padding: 64px 48px;
}

.bottom-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.bottom-section h2 {
  margin: 0 0 32px;
  font-size: 36px;
  color: var(--white);
  letter-spacing: -0.3px;
}

/* 客户画像对比 */
.profile-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.profile-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
}

.profile-card.theirs {
  background: rgba(255,255,255,0.05);
}

.profile-card.ours {
  background: rgba(169,119,66,0.20);
  border-color: rgba(169,119,66,0.40);
}

.profile-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-card h3 .profile-icon {
  font-size: 18px;
}

.profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.profile-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.35);
}

.profile-card.ours .profile-list li {
  color: rgba(255,255,255,0.88);
}

.profile-card.ours .profile-list li::before {
  color: var(--brass);
}

/* 三步话术 */
.script-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.step-card {
  padding: 20px 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brass);
  margin-bottom: 6px;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.step-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  line-height: 1.65;
  font-style: italic;
}

/* 底部一句话总结 */
.bottom-final {
  padding: 22px 26px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(169,119,66,0.35);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 16px;
}

.bottom-final-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid rgba(169,119,66,0.35);
}

.bottom-final p {
  margin: 0;
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
  line-height: 1.5;
}

/* ---- 首页：竞品卡片 ---- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  padding: 22px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(23,32,28,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card:hover {
  box-shadow: 0 12px 32px rgba(23,32,28,0.12);
  transform: translateY(-2px);
}

.project-card .eyebrow {
  color: var(--brass);
  font-size: 11px;
  margin: 0;
}

.project-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--ink);
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

/* 首页：价值支点 */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.pillar {
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--brass);
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
}

.pillar p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* 首页：价格带 */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  padding: 22px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}

.price-card.sold-out {
  border-color: rgba(161,78,59,0.35);
  background: #fff8f4;
}

.price-card .eyebrow { margin: 0; }

.price-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--ink);
}

.price-card strong {
  display: block;
  font-size: 22px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: -0.3px;
}

.price-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* 首页：作战框架 */
.battle-framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.battle-fw-card {
  padding: 22px;
  background: var(--green);
  border-radius: var(--radius);
  color: var(--white);
}

.battle-fw-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--brass);
}

.battle-fw-card span {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

/* ---- Lightbox ---- */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}

#lightbox-inner {
  position: relative;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

#lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--paper);
  padding: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

#lightbox-caption {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-align: center;
}

#lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

#lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

/* ---- 页脚 ---- */
.footer {
  padding: 28px 48px;
  background: var(--green-3);
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  text-align: center;
  line-height: 1.7;
}

.footer strong { color: rgba(255,255,255,0.55); }

/* ---- 响应式 ---- */
@media (max-width: 1080px) {
  .comp-hero h1   { font-size: 40px; }
  .home-hero h1   { font-size: 50px; }
  .section-heading h2 { font-size: 32px; }
  .battle-section h2  { font-size: 30px; }
  .pillar-grid    { grid-template-columns: repeat(3, 1fr); }
  .project-grid   { grid-template-columns: repeat(2, 1fr); }
  .price-grid     { grid-template-columns: repeat(2, 1fr); }
  .battle-framework-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-hero      { grid-template-columns: 1fr; gap: 24px; }
  .two-col        { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar   { padding: 0 18px; min-height: 56px; }
  .band     { padding: 40px 20px; }
  .comp-hero, .home-hero { padding: 40px 20px; }
  .summary-bar { padding: 24px 20px; }
  .bottom-section { padding: 40px 20px; }
  .footer   { padding: 20px; }

  .home-hero h1  { font-size: 38px; }
  .comp-hero h1  { font-size: 32px; }
  .part-label    { font-size: 48px; }
  .battle-section h2 { font-size: 26px; }

  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .summary-stats  { grid-template-columns: repeat(2, 1fr); }
  .plans-row      { grid-template-columns: 1fr; }
  .cmp-body       { grid-template-columns: 1fr; }
  .cmp-col-mid    { flex-direction: row; flex-wrap: wrap; padding: 12px 16px; }
  .pillar-grid    { grid-template-columns: 1fr 1fr; }
  .project-grid   { grid-template-columns: 1fr; }
  .price-grid     { grid-template-columns: 1fr; }
  .battle-framework-grid { grid-template-columns: 1fr; }
  .profile-compare { grid-template-columns: 1fr; }
  .script-steps   { grid-template-columns: 1fr; }
  .overview-grid  { grid-template-columns: 1fr; }
  .two-col        { grid-template-columns: 1fr; }
  .nav-links      { display: none; }
  .floating-back  { bottom: 20px; right: 20px; }
  .bottom-final   { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bottom-final-label { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(169,119,66,0.35); padding-bottom: 10px; }
}

/* ============================================
   客户版首页专属样式
   启曜府 · 龙华购房参考指南
   ============================================ */

/* ---- Logo图片 ---- */
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-logo-text .brand-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.brand-logo-text .brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.06em;
}

/* ---- 首页 Hero ---- */
.guide-hero {
  background: var(--green);
  color: var(--white);
  padding: 88px 48px 72px;
  position: relative;
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(169,119,66,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.guide-hero-inner {
  max-width: 800px;
  position: relative;
}
.guide-hero .eyebrow {
  display: inline-block;
  background: rgba(169,119,66,0.20);
  border: 1px solid rgba(169,119,66,0.35);
  color: #d4a96a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.guide-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
.guide-hero h1 em {
  font-style: normal;
  color: #d4a96a;
}
.guide-hero .hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.70);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 40px;
}

/* ---- 快速导航标签 ---- */
.quick-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.quick-nav-label {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  white-space: nowrap;
}
.quick-nav-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.quick-nav-tag:hover {
  background: rgba(169,119,66,0.25);
  border-color: rgba(169,119,66,0.50);
  color: #d4a96a;
}

/* ---- 四层价值展示 ---- */
.value-layers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  counter-reset: value-layer-counter;
}
.value-layer {
  padding: 32px 26px 28px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(23,32,28,0.05);
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: default;
  counter-increment: value-layer-counter;
}
/* 背景装饰大数字 */
.value-layer::before {
  content: "0" counter(value-layer-counter);
  position: absolute;
  top: -8px;
  right: 14px;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  color: rgba(169,119,66,0.07);
  pointer-events: none;
  user-select: none;
}
.value-layer:hover {
  box-shadow: 0 12px 32px rgba(23,32,28,0.13);
  transform: translateY(-3px);
  border-top-color: #c49050;
}
.value-layer-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.value-layer-question {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
  font-style: italic;
}
.value-layer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}
.value-layer-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.value-layer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.value-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--muted);
}
.value-tag.key {
  background: var(--brass-light);
  color: #7a5228;
  font-weight: 600;
}

/* ---- 已购业主数据 ---- */
.buyer-data-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}
.buyer-data-intro {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.75;
}
.buyer-data-intro strong { color: var(--white); }
.buyer-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.buyer-bar-item {}
.buyer-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 7px;
}
.buyer-bar-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}
.buyer-bar-pct {
  font-size: 22px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
}
.buyer-bar-pct span {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  margin-left: 2px;
}
.buyer-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  overflow: hidden;
}
.buyer-bar-fill {
  height: 100%;
  background: var(--brass);
  border-radius: 3px;
  transition: width 0.8s ease;
}
.buyer-bar-note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  line-height: 1.4;
}

/* ---- 业主户型分布 ---- */
.unit-dist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.unit-dist-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.unit-dist-card.popular {
  background: rgba(169,119,66,0.15);
  border-color: rgba(169,119,66,0.35);
}
.unit-dist-area {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.unit-dist-type {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin: 4px 0 10px;
}
.unit-dist-pct {
  font-size: 24px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
}
.unit-dist-pct-label {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-top: 3px;
}
.unit-dist-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--brass);
  color: var(--white);
  margin-top: 8px;
  font-weight: 600;
}

/* ---- 家庭匹配区 ---- */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.family-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.family-card:hover { box-shadow: var(--shadow); }
.family-card.match {
  border-color: var(--brass);
  background: var(--brass-light);
}
.family-card.nomatch {
  border-color: var(--line);
  background: var(--soft);
  opacity: 0.85;
}
.family-icon { font-size: 28px; margin-bottom: 12px; }
.family-type {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.family-fit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.family-fit.yes {
  background: var(--success-light);
  color: var(--success);
}
.family-fit.maybe {
  background: var(--brass-light);
  color: #7a5228;
}
.family-fit.other {
  background: var(--soft);
  color: var(--muted);
}
.family-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- 常见顾虑FAQ ---- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.faq-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.faq-card.top-concern {
  border-color: var(--brass);
  grid-column: span 2;
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.faq-q-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.faq-concern-pct {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--brass);
  font-weight: 600;
  background: var(--brass-light);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.faq-a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.70;
}
.faq-a strong { color: var(--ink); }
.faq-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.faq-evidence-item {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 5px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 500;
}

/* ---- 竞品入口卡片（客户版） ---- */
.comp-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.comp-entry-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.18s, border-color 0.18s;
}
.comp-entry-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--brass);
}
.comp-entry-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.comp-entry-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.comp-entry-dev {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
}
.comp-entry-focus {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.comp-entry-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brass);
}

/* ---- 数据洞察横幅 ---- */
.insight-banner {
  background: var(--green-3);
  color: var(--white);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.insight-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.insight-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brass);
  line-height: 1;
  letter-spacing: -1px;
}
.insight-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  max-width: 120px;
  line-height: 1.4;
}
.insight-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ---- 客户版竞品页：已购业主反馈 ---- */
.buyer-feedback-section {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-top: 16px;
}
.buyer-feedback-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.buyer-feedback-section p.bfs-intro {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.feedback-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feedback-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 20px;
}
.feedback-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.feedback-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.feedback-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ---- 竞品页标题调整 ---- */
.comp-hero-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.comp-advantage-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.advantage-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- 响应式补充 ---- */
@media (max-width: 1080px) {
  .value-layers { grid-template-columns: repeat(2, 1fr); }
  .buyer-data-wrap { grid-template-columns: 1fr; }
  .unit-dist-grid { grid-template-columns: repeat(3, 1fr); }
  .family-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-entry-grid { grid-template-columns: repeat(2, 1fr); }
  .feedback-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .guide-hero { padding: 56px 20px 48px; }
  .quick-nav { gap: 8px; }
  .quick-nav-tag { font-size: 12px; padding: 6px 12px; }
  .value-layers { grid-template-columns: 1fr; }
  .unit-dist-grid { grid-template-columns: repeat(2, 1fr); }
  .family-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-card.top-concern { grid-column: span 1; }
  .comp-entry-grid { grid-template-columns: 1fr; }
  .insight-banner { padding: 20px; gap: 20px; }
}

/* ============================================
   首页深度价值呈现 · 三个新增区块
   ============================================ */

/* ---- 价值总纲横幅 ---- */
.value-thesis-band {
  background: linear-gradient(135deg, var(--green-3) 0%, var(--green) 100%);
  padding: 52px 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.vt-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vt-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--brass);
  border-radius: 1px;
}
.vt-statement {
  font-size: clamp(17px, 2.0vw, 24px);
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
  max-width: 960px;
  font-weight: 400;
  margin: 0 0 36px;
}
.vt-statement em {
  font-style: normal;
  color: #d4a96a;
  font-weight: 700;
}
.vt-pillars {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.vt-pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  transition: background 0.15s;
}
.vt-pillar:hover {
  background: rgba(169,119,66,0.20);
  border-color: rgba(169,119,66,0.40);
  color: #d4a96a;
}
.vt-pillar-ic { font-size: 15px; }
.vt-sep {
  color: rgba(255,255,255,0.22);
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  font-weight: 300;
}

/* ---- 产品力价值矩阵 ---- */
.pm-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.pm-card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pm-card:hover {
  box-shadow: 0 10px 30px rgba(23,32,28,0.12);
  transform: translateY(-2px);
}
.pm-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.pm-pain {
  font-size: 13px;
  color: #7a3028;
  line-height: 1.6;
  background: var(--warn-light);
  border-radius: 6px;
  padding: 10px 12px;
}
.pm-label-pain {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warn);
  text-transform: uppercase;
  margin-bottom: 5px;
}
.pm-benefit {
  font-size: 13px;
  color: #1a4a2e;
  line-height: 1.6;
  background: var(--success-light);
  border-radius: 6px;
  padding: 10px 12px;
  flex: 1;
}
.pm-label-benefit {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--success);
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* ---- 家庭成长三层 ---- */
.growth-layers {
  display: flex;
  align-items: stretch;
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.growth-layer-card {
  flex: 1;
  padding: 36px 28px;
  background: var(--green);
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.09);
  position: relative;
}
.growth-layer-card:last-child { border-right: none; }
.growth-layer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brass);
  opacity: 0.6;
}
.growth-layer-card:nth-child(3)::before { opacity: 0.85; }
.growth-layer-card:nth-child(5)::before { opacity: 1; }
.gl-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gl-icon { font-size: 26px; margin-bottom: 10px; }
.gl-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.gl-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  line-height: 1.55;
}
.gl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.gl-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}
.gl-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 700;
}
.gl-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.15);
  color: rgba(255,255,255,0.22);
  font-size: 22px;
}

/* ---- 响应式：新增区块 ---- */
@media (max-width: 1080px) {
  .pm-grid { grid-template-columns: repeat(3, 1fr); }
  .value-thesis-band { padding: 40px 32px; }
}
@media (max-width: 768px) {
  .value-thesis-band { padding: 32px 20px; }
  .vt-pillars { gap: 6px; }
  .vt-pillar { font-size: 12px; padding: 8px 12px; }
  .pm-grid { grid-template-columns: 1fr 1fr; }
  .growth-layers { flex-direction: column; }
  .gl-arrow { width: auto; height: 28px; writing-mode: horizontal-tb; }
}
