/* 启智AI·中医智能诊疗系统 — 官网样式 */
:root {
  --primary: #5B8C5A;
  --primary-dark: #4A7349;
  --primary-light: #6FA06E;
  --bg-warm: #F5F0E8;
  --gold: #C4956A;
  --gold-dark: #A87B55;
  --text: #2D3436;
  --text-muted: #636E72;
  --border: #E8E3DA;
  --footer-bg: #2D3436;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
  color: var(--text);
  background: var(--bg-warm);
  line-height: 1.7;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── 1. 顶部导航栏（吸顶固定）── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  z-index: 100;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-size: 1.4rem; font-weight: 700; color: var(--primary); }
.brand-sub { font-size: 0.75rem; color: var(--text-muted); }
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 0.95rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links .nav-doctor {
  background: var(--primary); color: #fff;
  padding: 8px 18px; border-radius: var(--radius);
  transition: background .2s, transform .2s;
}
.nav-links .nav-doctor:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

/* ── 2. Hero 区域 ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #3d5a3c 100%);
  padding: 120px 24px 80px;
  text-align: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.25) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-title { font-size: 3rem; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 24px; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.92); margin-bottom: 48px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 24px 32px;
  min-width: 160px;
  backdrop-filter: blur(4px);
  transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.9); margin-top: 6px; }

/* ── 通用 section ── */
.section { padding: 80px 0; }
.section-title { font-size: 2rem; font-weight: 700; text-align: center; color: var(--text); margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 48px; }

/* ── 3. 系统定位区 ── */
.positioning { background: #fff; }
.positioning-text { max-width: 800px; margin: 0 auto; font-size: 1.05rem; color: var(--text); }
.positioning-text strong { color: var(--primary); }

/* ── 4. 核心功能区（2×2 网格）── */
.features { background: var(--bg-warm); }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-icon { font-size: 2rem; color: var(--primary); margin-bottom: 16px; }
.feature-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.feature-desc { color: var(--text-muted); font-size: 0.95rem; }

/* ── 5. 数据验证区（3 列）── */
.data-section { background: #fff; }
.data-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.data-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; text-align: center; background: var(--bg-warm);
  transition: transform .25s, box-shadow .25s;
}
.data-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.data-num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); }
.data-label { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }

/* ── 6. 合作对象区（5 列）── */
.cooperation { background: var(--bg-warm); }
.coop-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.coop-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; display: flex; flex-direction: column;
  gap: 12px; align-items: center;
  transition: transform .25s, box-shadow .25s;
}
.coop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.coop-card i { font-size: 2rem; color: var(--gold); }
.coop-card span { font-size: 0.95rem; color: var(--text); }

/* ── 7. 合规说明区 ── */
.compliance { background: #fff; text-align: center; }
.compliance-text { max-width: 760px; margin: 0 auto 32px; color: var(--text); }
.badge-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.badge {
  background: var(--primary-light); color: #fff;
  padding: 10px 22px; border-radius: 999px; font-size: 0.95rem;
}

/* ── 8. 页脚 ── */
.footer { background: var(--footer-bg); color: rgba(255,255,255,0.8); padding: 48px 0; }
.footer-disclaimer { font-size: 0.85rem; max-width: 860px; margin: 0 auto 24px; text-align: center; line-height: 1.8; }
.footer-meta { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; margin-bottom: 16px; }
.footer-copy { text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ── 响应式 ── */
@media (max-width: 900px) {
  .hero-title { font-size: 2.2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .coop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-inner { height: auto; padding: 12px 16px; flex-direction: column; gap: 10px; }
  .nav-links { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: 1.8rem; }
  .data-grid { grid-template-columns: 1fr; }
  .coop-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .footer-meta { flex-direction: column; gap: 8px; align-items: center; }
}
