/* ============================================================
   危机干预协作系统 · 官网样式
   ============================================================ */
:root {
  --s-brand: #175cd3;
  --s-brand-dark: #0e3f96;
  --s-brand-soft: #e8f0fe;
  --s-ink: #101828;
  --s-ink-2: #344054;
  --s-muted: #667085;
  --s-line: #e4e9f0;
  --s-bg: #ffffff;
  --s-soft: #f6f8fc;
  --s-dark: #0a1424;
  --s-dark-2: #101d33;
  --s-ok: #0d7a55;
  --s-warn: #b7791f;
  --s-danger: #c0392b;
  --s-radius: 16px;
  --s-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--s-font);
  color: var(--s-ink);
  background: var(--s-bg);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 26px; }

/* 顶部紧急提示 */
.hotbar {
  background: #111c2e; color: #c8d6ea; font-size: 12.5px;
  text-align: center; padding: 8px 16px;
}
.hotbar strong { color: #fff; }
.hotbar a { color: #9fc4ff; text-decoration: underline; text-underline-offset: 3px; }

/* 导航 */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 233, 240, .9);
}
.site-head .wrap { display: flex; align-items: center; gap: 26px; height: 66px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.site-brand .logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(140deg, #2f7cf6, #0e3f96);
  color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(23, 92, 211, .28);
}
.site-nav { display: flex; gap: 22px; margin-left: 8px; font-size: 13.5px; color: var(--s-ink-2); }
.site-nav a { position: relative; padding: 4px 0; }
.site-nav a:hover { color: var(--s-brand); }
.nav-mobile-cta { display: none; }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.sbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px; padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; transition: .18s; cursor: pointer; white-space: nowrap;
}
.sbtn.solid { background: var(--s-brand); color: #fff; box-shadow: 0 8px 18px rgba(23, 92, 211, .22); }
.sbtn.solid:hover { background: var(--s-brand-dark); transform: translateY(-1px); }
.sbtn.ghost { border-color: var(--s-line); color: var(--s-ink-2); background: #fff; }
.sbtn.ghost:hover { border-color: #c7d3e3; color: var(--s-brand); }
.sbtn.light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); }
.sbtn.light:hover { background: rgba(255, 255, 255, .2); }
.nav-toggle {
  display: none; margin-left: auto; width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--s-line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 16px; height: 2px; background: var(--s-ink); border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 460px at 78% 18%, rgba(47, 124, 246, .38), transparent 62%),
    radial-gradient(700px 420px at 12% 92%, rgba(23, 92, 211, .22), transparent 60%),
    linear-gradient(160deg, #0a1424 0%, #0d1a2e 58%, #102341 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 92px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: #8fb8f5;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: #4f8fef; }
.hero h1 { margin: 18px 0 20px; font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: #7fb2ff; }
.hero .lead { color: #b9c9de; font-size: 15.5px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #8ea5c0; font-size: 12.5px; }
.hero-notes span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes i { width: 6px; height: 6px; border-radius: 50%; background: #4f8fef; display: inline-block; }

/* Hero 产品卡 */
.demo-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 20px 20px 16px;
  box-shadow: 0 30px 70px rgba(2, 10, 24, .5);
  backdrop-filter: blur(8px);
}
.demo-head { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #cfe0f6; padding-bottom: 13px; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.demo-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #43d08a; box-shadow: 0 0 0 4px rgba(67, 208, 138, .15); }
.demo-head .pill { margin-left: auto; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: rgba(67, 208, 138, .16); color: #7fe3b3; border: 1px solid rgba(67, 208, 138, .3); }
.demo-steps { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; gap: 12px; }
.demo-steps li { display: flex; gap: 11px; font-size: 12.5px; color: #a9bbd2; line-height: 1.5; }
.demo-steps li b { color: #dbe8f8; font-weight: 600; }
.demo-steps .st { flex: none; width: 17px; height: 17px; border-radius: 50%; margin-top: 2px; border: 1px solid rgba(255, 255, 255, .25); position: relative; }
.demo-steps li.done .st { background: #2f7cf6; border-color: #2f7cf6; }
.demo-steps li.done .st::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.demo-steps li.active .st { border-color: #f5b544; box-shadow: 0 0 0 4px rgba(245, 181, 68, .14); }
.demo-steps li.active b { color: #ffd88a; }
.demo-foot { margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: 11.5px; color: #7f95b0; }

/* 数据条 */
.facts { border-bottom: 1px solid var(--s-line); background: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 26px; padding-bottom: 26px; }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact strong { font-size: 21px; letter-spacing: -.02em; color: var(--s-ink); }
.fact span { font-size: 12.5px; color: var(--s-muted); }

/* 通用区块 */
.sec { padding: 88px 0; }
.sec.alt { background: var(--s-soft); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(25px, 3.2vw, 36px); margin: 14px 0 12px; }
.sec-head p { color: var(--s-muted); font-size: 14.5px; }
.sec-kicker { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--s-brand); font-weight: 700; }

/* 红线 */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rule {
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 24px 22px; position: relative; overflow: hidden;
}
.rule::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--s-brand); opacity: .85; }
.rule .no { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; color: #b0bdd0; }
.rule h3 { font-size: 17px; margin: 10px 0 8px; }
.rule p { color: var(--s-muted); font-size: 13.5px; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.flow-item {
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 22px; transition: .2s;
}
.flow-item:hover { border-color: #c9d8ee; box-shadow: 0 14px 32px rgba(16, 24, 40, .07); transform: translateY(-2px); }
.flow-item .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 9px; background: var(--s-brand-soft);
  color: var(--s-brand); font-size: 12.5px; font-weight: 800;
}
.flow-item h3 { font-size: 16px; margin: 14px 0 7px; }
.flow-item p { color: var(--s-muted); font-size: 13.5px; }
.flow-item .tag { display: inline-block; margin-top: 12px; font-size: 11.5px; color: var(--s-brand); background: var(--s-brand-soft); border-radius: 6px; padding: 2px 8px; }

/* 角色 */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.role-card .lv { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #9aa9bd; }
.role-card h3 { font-size: 16px; }
.role-card p { color: var(--s-muted); font-size: 13px; flex: 1; }
.role-card em { font-style: normal; font-size: 11.5px; color: var(--s-brand); }
.role-more { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.role-more span { font-size: 12.5px; color: var(--s-ink-2); background: #fff; border: 1px solid var(--s-line); border-radius: 999px; padding: 5px 13px; }

/* 能力 */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap { background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 20px; }
.cap .ico-box { width: 36px; height: 36px; border-radius: 10px; background: var(--s-brand-soft); color: var(--s-brand); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.cap h3 { font-size: 14.5px; margin: 13px 0 6px; }
.cap p { font-size: 12.8px; color: var(--s-muted); }

/* 安全 */
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.safe-item { display: flex; gap: 13px; background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 18px; }
.safe-item .mark { flex: none; width: 34px; height: 34px; border-radius: 9px; background: #eef4ff; color: var(--s-brand); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.safe-item h3 { font-size: 14px; margin-bottom: 3px; }
.safe-item p { font-size: 12.6px; color: var(--s-muted); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--s-line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq details[open] { border-color: #c9d8ee; box-shadow: 0 10px 26px rgba(16, 24, 40, .05); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 14.5px; list-style: none; display: flex; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--s-brand); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { color: var(--s-muted); font-size: 13.5px; padding-top: 10px; }

/* CTA */
.cta-band { background: linear-gradient(135deg, #0d1a2e, #12386f 60%, #175cd3); color: #fff; padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { color: #b9c9de; font-size: 14px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* 页脚 */
.site-foot { background: var(--s-dark); color: #8ea5c0; padding: 46px 0 28px; font-size: 12.8px; }
.site-foot .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-foot .brand { color: #fff; font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 9px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a:hover { color: #fff; }
.foot-note { padding-top: 20px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #6f86a3; font-size: 12px; }
.site-foot .disc { max-width: 640px; line-height: 1.7; }

/* 团队成员展示 */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 22px 20px; transition: .2s;
}
.team-card:hover { border-color: #c9d8ee; box-shadow: 0 14px 32px rgba(16, 24, 40, .07); transform: translateY(-2px); }
.team-avatar {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 12px; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 800;
  background: linear-gradient(140deg, #2f7cf6, #0e3f96);
}
.team-avatar img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover; display: block; }
.team-card h3 { font-size: 15.5px; }
.team-role { font-size: 12.5px; color: var(--s-brand); margin-top: 3px; }
.team-city { font-size: 12px; color: var(--s-muted); margin-top: 1px; }
.team-intro { font-size: 13px; color: var(--s-muted); margin-top: 10px; line-height: 1.65; }
@media (max-width: 1040px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* 动效 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* 响应式 */
@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; padding-top: 64px; padding-bottom: 70px; }
  .demo-card { max-width: 560px; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: repeat(2, 1fr); }
  .rules, .flow, .safe { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .site-actions { display: none; }
  .nav-toggle { display: flex; }
  .site-head.open .site-nav {
    display: flex; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 2px; background: #fff; border-bottom: 1px solid var(--s-line);
    padding: 12px 26px 18px; box-shadow: 0 18px 34px rgba(16, 24, 40, .1);
  }
  .site-head.open .site-nav a { padding: 11px 2px; border-bottom: 1px solid var(--s-line); }
  .site-head.open .nav-mobile-cta { display: flex; gap: 10px; padding-top: 14px; }
  .site-head.open .nav-mobile-cta .sbtn { flex: 1; border-bottom: 0; padding: 10px 12px; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sec { padding: 62px 0; }
  .wrap { padding: 0 18px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .rules, .flow, .safe, .grid4, .roles { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
  .foot-note { flex-direction: column; }
}
