/* ==========================================================================
   锐见AI品牌增长咨询官网 - 公共样式
   设计原则：24px 栅格、明确对齐、克制对比、充足留白、蓝绿色渐变点缀。
   ========================================================================== */

/* 01. 设计变量：统一管理品牌色、间距、圆角、字号与阴影 */
:root {
  --bg: #eef3f2;
  --paper: #f9fbfa;
  --surface: #f2f6f5;
  --ink: #18272c;
  --deep: #203238;
  --muted: #657477;
  --line: #d7e0df;
  --line-strong: #bdccca;
  --teal: #35b4be;
  --mint: #64d48e;
  --grad: linear-gradient(135deg, #35b4be 0%, #42c4b4 48%, #64d48e 100%);
  --grad-soft: linear-gradient(135deg, rgba(53, 180, 190, 0.14), rgba(100, 212, 142, 0.18));
  --radius: 8px;
  --panel-radius: 12px;
  --logo-radius: 2px;
  --shadow: 0 24px 64px rgba(24, 39, 44, 0.1);
  --shadow-soft: 0 16px 40px rgba(24, 39, 44, 0.06);
  --max: 1180px;
  --grid: 24px;
  --section-space: 80px;
  --section-space-tight: 56px;
  --font-medium: 600;
  --font-bold: 700;
}

/* 02. 基础重置：保证页面在不同浏览器中有一致的盒模型和文本表现 */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 251, 250, 0.94), rgba(238, 243, 242, 0.98)),
    radial-gradient(circle at 18% 4%, rgba(53, 180, 190, 0.16), transparent 32%),
    radial-gradient(circle at 84% 10%, rgba(100, 212, 142, 0.13), transparent 30%),
    var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: var(--font-medium);
  line-height: 1.6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* 03. 页面容器与排版层级：所有主内容对齐同一内容宽度 */
.shell {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 48px, 880px);
  margin: 0 auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 56px);
  font-weight: var(--font-bold);
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: var(--font-bold);
  line-height: 1.5;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: var(--font-bold);
  line-height: 1.5;
  text-wrap: balance;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 68ch;
}

/* 04. 顶部导航：所有页面共用，链接保持同一结构 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 224, 223, 0.78);
  background: rgba(248, 251, 250, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--deep);
  font-size: 15px;
  font-weight: var(--font-bold);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--logo-radius);
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(53, 180, 190, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #526164;
  font-size: 14px;
  font-weight: var(--font-medium);
}

.nav-links a {
  padding: 10px 4px 12px;
  transition:
    color 180ms ease,
    text-shadow 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #1098A6;
  text-shadow: 0 0 14px rgba(53, 180, 190, 0.12);
}

/* 05. 按钮：主按钮使用品牌渐变，次按钮用于低优先级动作 */
.btn,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: var(--font-bold);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.btn-primary,
.nav-cta {
  border: 1px solid transparent;
  background: var(--grad);
  color: #f8fbfa;
  box-shadow: 0 16px 34px rgba(53, 180, 190, 0.26);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(249, 251, 250, 0.88);
  color: var(--deep);
}

.btn-secondary:hover {
  border-color: rgba(53, 180, 190, 0.42);
  background: rgba(249, 251, 250, 0.98);
}

/* 06. 页面首屏：用于首页和内页，保证标题、说明、CTA 左侧对齐 */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0 var(--section-space-tight);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(408px, 1.02fr);
  align-items: center;
  gap: 48px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.42fr);
  gap: 48px;
  align-items: end;
}

.page-hero-single .page-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #18949d;
  font-size: 13px;
  font-weight: var(--font-bold);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  color: #4f6265;
  font-weight: var(--font-medium);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--grad);
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: #526164;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}

.hero-note {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(53, 180, 190, 0.22);
  border-radius: 999px;
  background: rgba(249, 251, 250, 0.78);
  color: #425357;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* 07. 首页 AI 认知图谱：首屏右侧视觉资产 */
.ai-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid #d7dce3;
  border-radius: var(--panel-radius);
  background:
    linear-gradient(180deg, rgba(249, 251, 250, 0.96), rgba(242, 246, 245, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(24, 39, 44, 0.04) 48px),
    repeating-linear-gradient(180deg, transparent 0 47px, rgba(24, 39, 44, 0.04) 48px);
  box-shadow: var(--shadow);
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 0;
  color: #56606c;
  font-size: 12px;
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #aeb6c1;
}

.graph {
  position: absolute;
  inset: 54px 24px 148px;
  overflow: hidden;
  border-radius: 10px;
}

.graph-line {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(53, 180, 190, 0), rgba(53, 180, 190, 0.68), rgba(100, 212, 142, 0.18));
}

.line-1 {
  left: 132px;
  top: 160px;
  width: 220px;
  transform: rotate(-26deg);
}

.line-2 {
  left: 260px;
  top: 230px;
  width: 205px;
  transform: rotate(20deg);
}

.line-3 {
  left: 154px;
  top: 310px;
  width: 270px;
  transform: rotate(-3deg);
}

.line-4 {
  left: 290px;
  top: 130px;
  width: 180px;
  transform: rotate(55deg);
}

.line-5 {
  left: 116px;
  top: 248px;
  width: 172px;
  transform: rotate(42deg);
}

.line-6 {
  left: 234px;
  top: 186px;
  width: 244px;
  transform: rotate(-8deg);
}

.node {
  position: absolute;
  display: flex;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: 1px solid #cdd4dd;
  border-radius: 8px;
  background: rgba(249, 251, 250, 0.92);
  box-shadow: 0 14px 40px rgba(24, 39, 44, 0.12);
  font-size: 13px;
  font-weight: var(--font-bold);
}

.node-main {
  left: 168px;
  top: 154px;
  min-width: 182px;
  min-height: 82px;
  border-color: rgba(53, 180, 190, 0.48);
  background: #f9fbfa;
  color: #187d83;
  font-size: 17px;
}

.node-1 { left: 22px; top: 78px; }
.node-2 { right: 26px; top: 58px; }
.node-3 { right: 16px; top: 244px; }
.node-4 { left: 26px; top: 248px; }
.node-5 { left: 188px; top: 310px; }
.node-6 { right: 154px; top: 126px; }
.node-7 { right: 138px; top: 316px; }

.signal {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.signal div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(249, 251, 250, 0.86);
}

.signal span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
}

.signal b {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.signal small {
  display: block;
  color: #5b696d;
  font-size: 12px;
  line-height: 1.55;
}

/* 08. 通用区块与标题：每个内容模块使用同一对齐方式 */
section {
  padding: var(--section-space) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 36px;
}

.section-head > * {
  min-width: 0;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 760px;
  padding-top: 0;
  font-size: 16px;
  line-height: 1.8;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

/* 09. 卡片与栅格：所有卡片对齐 24px 间距 */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.method-card,
.service-card,
.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.card,
.method-card,
.service-card {
  padding: 28px;
}

.card p,
.method-card p,
.service-card p,
.case-card p {
  margin-bottom: 0;
}

.method-card {
  min-height: 312px;
}

.method-card-featured {
  background:
    linear-gradient(180deg, rgba(53, 180, 190, 0.08), rgba(249, 251, 250, 0.96)),
    var(--paper);
  border-color: rgba(53, 180, 190, 0.28);
}

.service-card {
  display: flex;
  min-height: 288px;
  flex-direction: column;
  justify-content: space-between;
}

.service-card-featured {
  background:
    linear-gradient(180deg, rgba(100, 212, 142, 0.08), rgba(249, 251, 250, 0.98)),
    var(--paper);
  border-color: rgba(100, 212, 142, 0.26);
}

.case-card {
  padding: 36px;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: #44505d;
  font-size: 12px;
  font-weight: var(--font-bold);
}

.method-card .tag {
  margin-bottom: 28px;
}

.method-card h3 {
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1;
}

.method-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 17px;
}

.service-meta,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-meta span,
.pill-row span {
  padding: 6px 10px;
  border-radius: 99px;
  background: #eef4f3;
  color: #515b66;
  font-size: 12px;
}

/* 10. 首页特定模块：品牌介绍、搜索变化、诊断 CTA */
.proof-row {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.proof {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(249, 251, 250, 0.76);
  box-shadow: var(--shadow-soft);
}

.hero .actions {
  margin-bottom: 28px;
}

.hero .proof-row {
  margin-top: 8px;
}

.proof strong {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
}

.proof span {
  color: var(--muted);
  font-size: 12px;
}

.intro {
  border-top: 1px solid var(--line);
}

.intro-grid,
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.case-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-stat-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.case-stat-main {
  display: grid;
  gap: 4px;
}

.case-stat-main strong {
  color: #187d83;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.case-stat-main span {
  color: var(--deep);
  font-size: 18px;
  font-weight: var(--font-bold);
}

.case-example-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.48fr);
  gap: 24px;
  align-items: stretch;
}

.case-single-layout {
  display: grid;
}

.case-example-main,
.case-example-side {
  min-height: 100%;
}

.case-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.case-meta-item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(242, 246, 245, 0.78);
}

.case-meta-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--font-bold);
}

.case-meta-item strong {
  color: var(--deep);
  font-size: 15px;
  font-weight: var(--font-bold);
}

.case-results-head,
.case-steps-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(260px, 0.5fr);
  gap: 20px;
  align-items: end;
  margin-top: 26px;
}

.case-results-head h4,
.case-steps-head h4 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.45;
}

.case-results-head p,
.case-steps-head p {
  margin-bottom: 0;
  font-size: 14px;
}

.case-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.case-result-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(53, 180, 190, 0.08), rgba(249, 251, 250, 0.98));
}

.case-result-card strong {
  color: #187d83;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.case-result-card span {
  color: var(--deep);
  font-size: 15px;
  font-weight: var(--font-bold);
}

.case-result-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.case-roadmap {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.roadmap-step {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(248, 251, 250, 0.98), rgba(242, 246, 245, 0.88));
}

.roadmap-step h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
}

.roadmap-step p {
  margin-bottom: 0;
}

.roadmap-step ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #445458;
}

.case-deliverables {
  display: grid;
  gap: 12px;
}

.case-deliverable {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.case-deliverable:first-child {
  padding-top: 0;
  border-top: 0;
}

.case-deliverable strong {
  color: var(--deep);
  font-size: 15px;
}

.case-deliverable span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.diagnosis-intake {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  gap: 0;
  align-items: stretch;
}

.diagnosis-intro,
.diagnosis-form {
  min-height: 100%;
}

.diagnosis-panel,
.diagnosis-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.diagnosis-panel {
  display: grid;
  align-content: space-between;
  gap: 24px;
}

.diagnosis-panel h3 {
  margin-bottom: 0;
}

.intake-points {
  display: grid;
  gap: 14px;
}

.intake-point {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(248, 251, 250, 0.98), rgba(242, 246, 245, 0.92));
}

.intake-point strong {
  color: var(--deep);
  font-size: 15px;
}

.intake-point span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.diagnosis-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.diagnosis-field-full {
  grid-column: 1 / -1;
}

.diagnosis-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.diagnosis-form-foot .note {
  margin: 0;
  max-width: 520px;
}

.diagnosis-form-foot .btn {
  flex: 0 0 auto;
  min-width: 168px;
  white-space: nowrap;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.form-status.is-loading {
  color: #4d6770;
}

.form-status.is-success {
  color: #138a68;
}

.form-status.is-error {
  color: #c1574a;
}

.diagnosis-form button[disabled] {
  cursor: wait;
  opacity: 0.86;
  transform: none;
}

.statement {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.statement p {
  max-width: 760px;
  margin-bottom: 20px;
  color: #334448;
  font-size: 18px;
  line-height: 1.7;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.capability {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 15px;
  font-weight: var(--font-bold);
}

.capability::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--grad);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  border-radius: var(--panel-radius);
  background: var(--deep);
  color: #f8fbfa;
}

.quote-panel p {
  margin-bottom: 24px;
  color: #dce6e5;
  font-size: 18px;
  line-height: 1.7;
}

.quote-panel small {
  color: #9ea7b3;
}

.shift-flow {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 24px;
  align-items: center;
}

.flow-box {
  min-height: 216px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.flow-box h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.step {
  min-height: 84px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef4f3;
  color: var(--ink);
  font-weight: var(--font-bold);
}

.step span {
  display: block;
  margin-bottom: 8px;
  color: #6b7a7d;
  font-size: 12px;
  font-weight: var(--font-medium);
}

.flow-arrow {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #18949d;
  font-size: 28px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--font-bold);
}

.timeline-item b {
  font-size: 16px;
}

.founder-profile {
  display: grid;
  gap: 18px;
}

.founder-profile h3 {
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.4;
}

.founder-copy {
  max-width: 860px;
  margin-bottom: 0;
  color: #334448;
  font-size: 16px;
  line-height: 1.9;
}

.founder-visual-card {
  gap: 20px;
  align-items: stretch;
  overflow: hidden;
}

.founder-visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
  padding: 10px;
}

.founder-visual-card .btn {
  width: 100%;
  min-height: 52px;
  flex: 0 0 auto;
}

.diagnostic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(53, 180, 190, 0.18);
  border-radius: var(--panel-radius);
  background: var(--grad-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.diagnostic h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.score {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.score-row {
  display: grid;
  grid-template-columns: 86px 1fr 42px;
  gap: 12px;
  align-items: center;
  color: #34575a;
  font-size: 13px;
  font-weight: var(--font-bold);
}

.bar {
  overflow: hidden;
  height: 8px;
  border-radius: 99px;
  background: rgba(53, 180, 190, 0.16);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

/* 11. 内页内容组件：解决方案、研究院、关于、联系页共用 */
.metric-panel {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--grad-soft);
  box-shadow: var(--shadow-soft);
}

.metric {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}

.metric b {
  color: #187d83;
  font-size: 30px;
  font-weight: var(--font-bold);
  line-height: 1;
}

.process-list,
.article-list,
.faq-list {
  display: grid;
  gap: 12px;
}

.process-item,
.article-item,
.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.process-item span,
.article-item span {
  display: inline-block;
  margin-bottom: 8px;
  color: #18949d;
  font-size: 12px;
  font-weight: var(--font-bold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.44fr);
  gap: 24px;
  align-items: start;
}

.aside-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.entity-map {
  display: grid;
  gap: 12px;
}

.entity-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.entity-row b {
  color: var(--deep);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--deep);
  font-size: 13px;
  font-weight: var(--font-bold);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f8fbfa;
  color: var(--ink);
  font-size: 15px;
}

.field input,
.field select {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 144px;
  padding: 14px;
  resize: vertical;
}

.note {
  color: var(--muted);
  font-size: 13px;
}

.contact-card {
  display: grid;
  gap: 16px;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact-lead {
  max-width: 720px;
}

.qr-contact-card h3 {
  margin-bottom: 0;
}

.contact-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item span {
  display: block;
  margin-bottom: 6px;
  color: #18949d;
  font-size: 12px;
  font-weight: var(--font-bold);
}

.contact-item strong,
.contact-item strong a {
  color: var(--deep);
  font-size: 18px;
  line-height: 1.6;
}

.qr-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  height: 100%;
}

.qr-card img {
  width: 100%;
  max-width: 280px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-shell {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 96px;
}

.faq-sidebar-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.faq-sidebar-card h3 {
  margin-bottom: 0;
}

.faq-category-list {
  display: grid;
  gap: 8px;
}

.faq-category-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--deep);
  background: rgba(248, 251, 250, 0.84);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.faq-category-link:hover {
  color: #1098A6;
  border-color: rgba(53, 180, 190, 0.34);
  background: rgba(53, 180, 190, 0.08);
  transform: translateY(-1px);
}

.faq-group-list {
  display: grid;
  gap: 40px;
}

.faq-group {
  display: grid;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.faq-group-head {
  display: grid;
  gap: 10px;
}

.faq-group-head h3,
.faq-group-head p {
  margin-bottom: 0;
}

.faq-page-list {
  display: grid;
  gap: 0;
}

.faq-page-item {
  border-top: 1px solid var(--line);
}

.faq-page-item:first-child {
  border-top: 0;
}

.faq-page-item summary {
  position: relative;
  padding: 24px 40px 24px 0;
  list-style: none;
  color: var(--deep);
  font-size: 20px;
  font-weight: var(--font-bold);
  line-height: 1.5;
  cursor: pointer;
}

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

.faq-page-item summary::after {
  content: "+";
  position: absolute;
  top: 24px;
  right: 0;
  color: #1098A6;
  font-size: 26px;
  font-weight: var(--font-medium);
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-page-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  max-width: 78ch;
  margin-bottom: 0;
}

.faq-page-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
}

.why-grid {
  display: grid;
  gap: 28px;
}

.why-intro {
  max-width: 760px;
}

.why-cards {
  grid-auto-rows: 1fr;
}

.why-cards .feature-card {
  align-items: flex-start;
  padding-top: 24px;
}

.why-cards .tag {
  margin-bottom: 16px;
}

.why-cards .feature-card h3 {
  min-height: 63px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.why-cards .feature-card p {
  margin-bottom: 0;
  line-height: 1.8;
}

.feature-grid {
  align-items: stretch;
}

.feature-card {
  gap: 12px;
  min-height: 100%;
  justify-content: space-between;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.why-cards .diagnostic,
.why-cards .card {
  min-height: 100%;
}

.feature-highlight {
  margin-top: 24px;
}

.feature-card-accent {
  gap: 24px;
}

/* 12. GEO研究院文档库：后台发布，前台筛选、列表与详情页 */
.institute-hero .actions {
  margin-bottom: 0;
}

.institute-workspace {
  display: grid;
  gap: 24px;
}

.filter-card,
.document-detail {
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.filter-card {
  padding: 24px;
}

.filter-card h3 {
  margin-bottom: 12px;
}

.filter-list {
  display: grid;
  gap: 8px;
}

.filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfa;
  color: #4f6265;
  cursor: pointer;
  font-weight: var(--font-bold);
  padding: 0 14px;
  text-align: left;
}

.filter-btn::after {
  content: "›";
  color: #87a0a2;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: rgba(53, 180, 190, 0.5);
  background: rgba(53, 180, 190, 0.1);
  color: #187d83;
}

.library-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.library-note {
  margin: -4px 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.library-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span,
.result-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--font-bold);
}

.search-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f8fbfa;
  color: var(--ink);
}

.result-count {
  align-self: end;
  padding-bottom: 12px;
  white-space: nowrap;
}

.document-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: center;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  box-shadow: var(--shadow-soft);
}

.document-row:hover,
.document-row.is-active {
  border-color: rgba(53, 180, 190, 0.56);
  box-shadow: 0 16px 36px rgba(24, 39, 44, 0.08);
  transform: translateY(-1px);
}

.document-row-placeholder {
  cursor: default;
  background: rgba(249, 251, 250, 0.72);
  border-style: dashed;
  box-shadow: none;
}

.document-row-placeholder:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.doc-category {
  display: inline-flex;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  color: #187d83;
  font-size: 12px;
  font-weight: var(--font-bold);
}

.doc-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.doc-main strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-main small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.doc-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: var(--muted);
  font-size: 12px;
}

.doc-meta b {
  color: #44505d;
  font-size: 13px;
}

.doc-meta em {
  max-width: 150px;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  padding: 36px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--panel-radius);
  background: rgba(249, 251, 250, 0.7);
  color: var(--muted);
  text-align: center;
}

.modal-open {
  overflow: hidden;
}

.detail-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.detail-modal.is-open {
  display: block;
}

.detail-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 39, 44, 0.5);
  backdrop-filter: blur(6px);
}

.document-detail {
  display: grid;
  gap: 32px;
  padding: 36px;
  min-height: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 100px;
  outline: none;
}

.detail-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1080px);
  max-height: min(86vh, 920px);
  margin: 6vh auto 0;
  overflow: auto;
  padding-top: 32px;
}

.document-detail h2 {
  margin-bottom: 12px;
}

.document-detail p {
  max-width: 860px;
  margin-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: #47585c;
}

.detail-body {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.detail-body p {
  margin-bottom: 0;
  color: #334448;
  font-size: 16px;
  line-height: 1.85;
}

.detail-meta {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-meta div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--font-bold);
}

.detail-meta b {
  color: var(--deep);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.detail-hint {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(249, 251, 250, 0.92);
  color: var(--deep);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(24, 39, 44, 0.08);
}

.is-disabled {
  opacity: 0.58;
  pointer-events: none;
}

/* 13. CTA 与页脚：所有页面统一收口，引导诊断咨询 */
.cta {
  padding: var(--section-space-tight) 0 calc(var(--section-space) + 4px);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 176px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(90deg, rgba(53, 180, 190, 0.16), rgba(100, 212, 142, 0.13)),
    var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  max-width: 720px;
  margin-bottom: 10px;
}

.cta-panel p {
  margin-bottom: 0;
}

.footer {
  padding: 24px 0 48px;
  border-top: 1px solid var(--line);
  color: #626b76;
  font-size: 13px;
}

.footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* 14. 响应式：移动端保持同一信息顺序，避免文字和图片挤压 */
@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .page-hero-grid,
  .contact-layout,
  .faq-layout,
  .intro-grid,
  .section-head,
  .case-layout,
  .case-stats-row,
  .case-example-layout,
  .case-meta-strip,
  .case-results-head,
  .case-steps-head,
  .case-result-grid,
  .diagnosis-intake,
  .why-grid,
  .split,
  .cta-panel,
  .institute-workspace,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 62px;
  }

  .ai-visual {
    min-height: 500px;
  }

  .shift-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    margin: 0 auto;
    transform: rotate(90deg);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .method-card,
  .service-card,
  .metric-panel,
  .quote-panel,
  .diagnostic,
  .cta-panel {
    min-height: unset;
  }

  .aside-panel {
    position: static;
  }

  .library-sidebar {
    position: static;
  }

  .document-row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .detail-modal-panel {
    width: min(100% - 24px, 1080px);
    margin-top: 4vh;
  }

  .doc-meta {
    grid-column: 2;
    justify-items: start;
  }
}

@media (max-width: 680px) {
  .shell,
  .narrow {
    width: min(100% - 24px, var(--max));
  }

  .nav-links {
    gap: 24px;
  }

  h1 {
    font-size: 42px;
  }

  .proof-row,
  .capability-list,
  .flow-steps,
  .signal,
  .diagnosis-form-grid {
    grid-template-columns: 1fr;
  }

  .ai-visual {
    min-height: 560px;
  }

  .graph {
    inset: 52px 10px 14px;
  }

  .node {
    min-width: 94px;
    padding: 10px;
    font-size: 12px;
  }

  .node-main {
    left: 88px;
    top: 166px;
    min-width: 142px;
    min-height: 68px;
    font-size: 15px;
  }

  .node-1 { left: 14px; top: 80px; }
  .node-2 { right: 10px; top: 90px; }
  .node-3 { right: 12px; top: 270px; }
  .node-4 { left: 14px; bottom: 238px; }
  .node-5 { right: 22px; bottom: 198px; }

  .graph-line {
    opacity: 0.42;
  }

  .signal {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .statement,
  .case-card,
  .cta-panel,
  .diagnosis-panel,
  .diagnosis-form {
    padding: 24px;
  }

  .diagnosis-form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item,
  .entity-row,
  .metric,
  .library-toolbar,
  .document-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .doc-main strong,
  .doc-main small {
    white-space: normal;
  }

  .doc-meta {
    grid-column: auto;
  }

  .result-count {
    align-self: start;
    padding-bottom: 0;
  }

  .document-detail {
    padding: 24px;
  }

  .footer .shell {
    flex-direction: column;
  }
}
