:root {
  --primary: #1f5fbf;
  --primary-dark: #174a99;
  --accent: #0ea5e9;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #16233a;
  --muted: #5b6b82;
  --ok: #16a34a;
  --warn: #d97706;
  --border: #e4eaf3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 45, 90, .08);
  --shadow-sm: 0 4px 14px rgba(20, 45, 90, .06);
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 22px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-size: 21px; font-weight: 800; flex: none;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 17px; font-weight: 800; }
.brand-sub { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.nav-links { margin-left: auto; display: flex; gap: 22px; }
.nav-links a { font-size: 14px; color: var(--muted); font-weight: 600; transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--primary); }
.nav-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 7px 13px;
  border-radius: 999px; border: 1px solid var(--border); background: #fff; flex: none;
}
.nav-status .dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.nav-status[data-state="ok"] .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,.16); }
.nav-status[data-state="down"] .dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.16); }
.nav-admin {
  flex: none; font-size: 13px; font-weight: 700; color: #fff !important;
  background: linear-gradient(135deg, var(--blue, #1f5fbf), #0ea5e9);
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(31,95,191,.25); transition: .15s;
}
.nav-admin:hover { filter: brightness(1.08); transform: translateY(-1px); }
@media (max-width: 560px) { .nav-admin { padding: 7px 12px; } }

/* ---------- 主视觉 ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(760px 380px at 6% 12%, rgba(31,95,191,.20), transparent 55%),
    linear-gradient(180deg, #eef4fc, #f4f7fb);
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 66px 22px 74px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--primary); background: rgba(31,95,191,.1);
  padding: 6px 13px; border-radius: 999px;
}
.hero-text h1 { font-size: 42px; font-weight: 850; margin: 18px 0 0; }
.lead { font-size: 16.5px; color: #33425c; margin: 18px 0 0; max-width: 32em; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; padding: 13px 24px; border-radius: 12px;
  transition: transform .12s, box-shadow .15s, background .15s; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(31,95,191,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-1px); }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 0; }
.hero-tags li {
  font-size: 13px; color: #3a4a64; background: #fff; border: 1px solid var(--border);
  padding: 6px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* 主视觉卡片（实时状态） */
.hero-card {
  background: rgba(255,255,255,.86); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow);
}
.hc-head { display: flex; align-items: center; justify-content: space-between; }
.hc-title { font-size: 15px; font-weight: 800; }
.hc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.hc-live i { width: 7px; height: 7px; border-radius: 50%; background: #cbd5e1; }
.hc-live[data-state="ok"] { color: var(--ok); }
.hc-live[data-state="ok"] i { background: var(--ok); animation: pulse 1.6s infinite; }
.hc-live[data-state="down"] { color: #ef4444; }
.hc-live[data-state="down"] i { background: #ef4444; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.score-ring {
  --val: 82;
  width: 168px; height: 168px; border-radius: 50%; margin: 20px auto 16px;
  background: conic-gradient(var(--primary) calc(var(--val) * 1%), #e8eef7 0);
  display: grid; place-items: center; position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 8px rgba(20,45,90,.06); }
.score-num { position: relative; font-size: 46px; font-weight: 850; color: var(--primary); line-height: 1; }
.score-label { position: relative; font-size: 12px; color: var(--muted); margin-top: 4px; }
.hc-meta { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 9px; }
.hc-meta li { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: #3a4a64; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.tag-ok { color: var(--ok); background: rgba(22,163,74,.12); }
.tag-warn { color: var(--warn); background: rgba(217,119,6,.14); }
.hc-foot { font-size: 12px; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- 机构实力数字带 ---------- */
.strength { background: linear-gradient(180deg, #f4f7fb, #eef3fa); }
.strength-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 22px 40px; }
.strength-head { text-align: center; margin-bottom: 28px; }
.strength-head h2 { font-size: 28px; font-weight: 850; margin-top: 8px; }
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.num-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius); color: #fff; text-align: center;
  padding: 26px 16px 22px; box-shadow: 0 10px 26px rgba(31,95,191,.25);
}
.num-card b { display: block; font-size: 40px; font-weight: 850; line-height: 1; }
.num-card b i { font-style: normal; font-size: 20px; font-weight: 800; margin-left: 2px; opacity: .9; }
.num-card span { display: block; font-size: 13.5px; margin-top: 8px; opacity: .92; }

/* ---------- 实时状态条 ---------- */
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-sm);
}
.stat-ico { font-size: 22px; width: 42px; height: 42px; border-radius: 11px; background: rgba(31,95,191,.1); color: var(--primary); display: grid; place-items: center; flex: none; }
.stat-label { font-size: 13px; color: var(--muted); }
.stat-value { font-size: 22px; font-weight: 800; margin-top: 3px; }
.stat-value.sm { font-size: 15px; }
.stat-value.ok { color: var(--ok); }
.stat-value.warn { color: var(--warn); }

/* ---------- 通用区块 ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 64px 22px; }
.section-alt {
  max-width: none;
  background: linear-gradient(180deg, #eef3fa, #f4f7fb);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-eyebrow { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.section-head h2 { font-size: 30px; font-weight: 850; margin: 10px 0 0; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 15.5px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 角色分区服务 ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role {
  --rc: var(--primary);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  border-top: 4px solid var(--rc);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role-gov      { --rc: #1f5fbf; }
.role-org      { --rc: #0ea5e9; }
.role-assessor { --rc: #7c3aed; }
.role-med      { --rc: #e11d48; }
.role-family   { --rc: #16a34a; }
.role-partner  { --rc: #d97706; }
.role-head { display: flex; align-items: center; gap: 14px; }
.role-ico {
  width: 48px; height: 48px; border-radius: 13px; flex: none;
  background: #eef3fa;
  background: color-mix(in srgb, var(--rc) 12%, #fff);
  color: var(--rc); display: grid; place-items: center;
}
.role-ico svg { width: 26px; height: 26px; }
.role-head h3 { font-size: 17.5px; font-weight: 800; }
.role-sub { font-size: 12.5px; color: var(--muted); }
.role-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 9px; flex: 1; }
.role-list li {
  position: relative; padding-left: 20px; font-size: 13.8px; color: #3a4a64;
}
.role-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--rc); opacity: .75;
}
.role-link {
  margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--rc);
  transition: opacity .15s;
}
.role-link:hover { opacity: .75; }

/* 核心能力卡片 */
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(31,95,191,.35); }
.feat-ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(31,95,191,.12), rgba(14,165,233,.12)); color: var(--primary); display: grid; place-items: center; }
.feat-ico svg { width: 24px; height: 24px; }
.feat h3 { font-size: 17px; font-weight: 800; margin: 14px 0 0; }
.feat p { color: var(--muted); font-size: 14px; margin: 9px 0 0; }

/* 流程步骤 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow-sm);
}
.step-no {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 800; font-size: 15px;
}
.step h3 { font-size: 16px; font-weight: 800; margin: 12px 0 0; }
.step p { color: var(--muted); font-size: 13.5px; margin: 7px 0 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 39px; right: -10px; width: 6px; height: 6px;
  border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg); opacity: .5;
}

/* ---------- 标准依据 ---------- */
.std {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s;
}
.std:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.std-badge {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em;
  color: var(--primary); background: rgba(31,95,191,.1);
  padding: 4px 12px; border-radius: 999px;
}
.std h3 { font-size: 16.5px; font-weight: 800; margin: 14px 0 0; }
.std p { color: var(--muted); font-size: 13.8px; margin: 9px 0 0; }

/* ---------- 合作联系带 ---------- */
.contact-band {
  margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.contact-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.contact-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: .06em; }
.contact-item b { display: block; font-size: 15px; font-weight: 800; margin-top: 6px; color: var(--text); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.cta-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 22px; text-align: center; color: #fff; }
.cta h2 { font-size: 28px; font-weight: 850; }
.cta p { opacity: .9; margin: 12px 0 0; font-size: 15.5px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.btn-light { display: inline-flex; background: #fff; color: var(--primary); font-weight: 800; font-size: 15px; padding: 13px 28px; border-radius: 12px; transition: transform .12s; }
.btn-light:hover { transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; background: transparent; color: #fff; font-weight: 800; font-size: 15px;
  padding: 13px 28px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.65); transition: transform .12s, background .15s;
}
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }

/* 页脚 */
.footer { background: #0f1f38; color: #c3cee0; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 40px 22px 24px; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer .logo { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.footer-desc { font-size: 13px; color: #93a3c0; margin: 6px 0 0; max-width: 28em; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: #c3cee0; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 22px 30px;
  border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #8294b5;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .role-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 22px 56px; }
  .hero-text h1 { font-size: 33px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .stats-inner, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-band { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 27px; }
  .grid-3, .grid-4, .steps, .steps-4, .stats-inner, .strength-grid, .role-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 18px; }
  .section-head h2 { font-size: 24px; }
  .num-card b { font-size: 34px; }
}
