/* ============================================================
   海牛智慧科技 · 官方网站 · 全站样式表
   Design language: 海面蓝 / 浅色专业底 / 玻璃质感 / 胶囊按钮 / 大圆角
   纯静态 · 无外部字体与图片依赖 · 正文直写 HTML · 移动端响应式
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --blue: #1677e8;
  --blue-deep: #0f5fc4;
  --blue-soft: #55a8f4;
  --blue-pale: #cfe6ff;
  --ocean: #0b2f63;
  --ocean-2: #0d3b73;
  --ink: #10294b;
  --ink-2: #344d6b;
  --muted: #61758f;
  --muted-2: #8296ad;
  --line: #e4edf8;
  --line-2: #d3e3f6;
  --pale: #f3f8ff;
  --pale-2: #eaf3ff;
  --pale-3: #ddeeff;
  --white: #fff;
  --ok: #14804a;
  --warn: #b4531a;

  /* 兼容页面内联样式引用的旧 token 名 */
  --brand-800: var(--ocean);
  --brand-700: var(--blue-deep);
  --accent-500: var(--blue);

  --shadow-sm: 0 8px 24px rgba(30, 91, 157, .07);
  --shadow: 0 18px 55px rgba(30, 91, 157, .10);
  --shadow-lg: 0 30px 70px rgba(30, 91, 157, .16);

  --r: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;
  --wrap: 1180px;
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Noto Sans CJK SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: #bfe0ff; }
:focus-visible { outline: 3px solid #8cc6ff; outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); margin: 0 auto; }
.mt-2 { margin-top: .6rem; }
.mt-3 { margin-top: 1.1rem; }
.mt-4 { margin-top: 1.8rem; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--pill); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn svg { flex: none; }
.btn--primary, .btn--accent {
  background: linear-gradient(110deg, #1684f5, #176bd8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 132, 245, .28);
}
.btn--primary:hover, .btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 132, 245, .38); }
.btn--outline {
  background: #fff; color: var(--blue-deep); border-color: #b8d7fa;
}
.btn--outline:hover { transform: translateY(-2px); border-color: #8cc0f5; box-shadow: var(--shadow-sm); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 4. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(222, 235, 250, .9);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 8px 18px rgba(22, 119, 232, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: .3px; color: var(--ink); }
.brand-en { font-size: 9px; letter-spacing: 2.4px; color: #7890aa; font-weight: 600; margin-top: 5px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--pill);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--blue); background: var(--pale-2); }
.caret { width: 11px; height: 11px; transition: transform .25s var(--ease); opacity: .7; }
.nav-item.is-open > .nav-link .caret, .has-dropdown:hover > .nav-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, 8px);
  min-width: 290px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover > .dropdown, .has-dropdown.is-open > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink);
  transition: background .15s;
}
.dropdown a small { font-size: 12px; font-weight: 500; color: var(--muted); }
.dropdown a:hover { background: var(--pale-2); color: var(--blue-deep); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease);
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle.is-active span { background: transparent; }
.nav-toggle.is-active span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-active span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 88% 10%, rgba(85, 168, 244, .28), transparent 60%),
    radial-gradient(700px 380px at 6% 92%, rgba(85, 168, 244, .18), transparent 60%),
    linear-gradient(110deg, #f8fbff 0%, #eef6ff 55%, #e6f1ff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -220px -10%; height: 420px;
  background: radial-gradient(ellipse at 50% 20%, rgba(154, 203, 255, .45), transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px;
  padding: 84px 0 92px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .8); border: 1px solid #cfe3fb;
  color: var(--blue-deep); font-size: 13px; font-weight: 700; letter-spacing: .6px;
  box-shadow: var(--shadow-sm);
}
.hero-badge i, .eyebrow i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft);
  box-shadow: 0 0 0 4px rgba(85, 168, 244, .22);
}
.hero h1 {
  font-size: clamp(44px, 5.8vw, 78px); line-height: 1.08; letter-spacing: -.035em;
  font-weight: 800; margin: 24px 0 22px;
}
.hero h1 em { font-style: normal; color: var(--blue); position: relative; }
.hero h1 em::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 4px; height: 14px;
  background: linear-gradient(90deg, rgba(85, 168, 244, .28), rgba(85, 168, 244, .06));
  border-radius: 999px; z-index: -1;
}
.hero-sub { font-size: 18px; line-height: 1.75; color: #4b6483; max-width: 560px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.hero-points svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: #dff0ff; color: var(--blue); }
.hero-note { margin-top: 18px; color: var(--muted-2); font-size: 12.5px; letter-spacing: .3px; }

/* 首屏右侧：三层玻璃底座 + 组织大脑核心 + 漂浮能力标签 */
.hero-visual {
  position: relative; height: 480px;
  display: grid; place-items: center;
  perspective: 1200px;
}
.hv-glow {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .95) 0, rgba(216, 237, 255, .85) 32%, rgba(154, 202, 255, .45) 62%, transparent 72%);
  filter: blur(2px);
}
.hv-ring {
  position: absolute; border: 1.5px solid rgba(140, 197, 250, .55); border-radius: 50%;
  transform: rotate(-16deg);
}
.hv-ring.r1 { width: 470px; height: 170px; }
.hv-ring.r2 { width: 540px; height: 230px; transform: rotate(14deg); border-color: rgba(194, 226, 255, .9); }
.hv-stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.hv-layer {
  position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, .95);
  background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(201, 230, 255, .62));
  box-shadow: inset 0 0 40px #fff, 0 24px 50px rgba(66, 143, 218, .22);
  backdrop-filter: blur(6px);
  transform: translate3d(0, var(--y), 0) rotateX(58deg) rotateZ(-38deg);
  transition: transform .5s var(--ease);
}
.hv-layer::after {
  content: ""; position: absolute; inset: 22px; border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .9);
}
.hv-layer.l3 { --y: -118px; background: linear-gradient(145deg, #fff, rgba(214, 236, 255, .85)); }
.hv-layer.l2 { --y: -8px; background: linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(176, 216, 255, .75)); }
.hv-layer.l1 { --y: 102px; background: linear-gradient(145deg, rgba(255, 255, 255, .85), rgba(150, 200, 255, .62)); }
.hv-core {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0, #e6f3ff 26%, #a9d2ff 58%, #4f9cea 100%);
  box-shadow: 0 30px 50px rgba(78, 157, 232, .38), inset 0 0 30px #fff, 0 0 0 10px rgba(255, 255, 255, .28);
  display: grid; place-items: center; align-content: center; gap: 4px;
  transform: translateY(-14px);
}
.hv-core strong { font-size: 24px; font-weight: 800; color: #0f5fc4; letter-spacing: 1px; text-shadow: 0 6px 18px rgba(75, 159, 245, .35); }
.hv-core small { font-size: 9.5px; letter-spacing: 3px; color: #4976a5; font-weight: 700; }
.hv-tag {
  position: absolute; padding: 11px 16px; border-radius: 16px;
  border: 1px solid #fff; background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(12px); box-shadow: var(--shadow);
  font-size: 13px; font-weight: 700; color: #2f76c2; white-space: nowrap;
  animation: hv-float 7s ease-in-out infinite;
}
.hv-tag b { display: block; font-size: 10px; letter-spacing: 1.6px; color: #6f95bd; font-weight: 700; margin-bottom: 2px; }
.hv-tag.t1 { left: 0; top: 56px; animation-delay: -1s; }
.hv-tag.t2 { right: -6px; top: 112px; animation-delay: -3s; }
.hv-tag.t3 { left: 10px; bottom: 96px; animation-delay: -5s; }
.hv-tag.t4 { right: 8px; bottom: 48px; animation-delay: -2s; }
.hv-arrow {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 2px; color: #4b8fd6; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.hv-arrow::before { content: ""; width: 2px; height: 34px; background: linear-gradient(#4b8fd6, transparent); }
@keyframes hv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- 6. Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--soft { background: linear-gradient(180deg, #f8fbff, #eff6ff); }
.section--blue { background: linear-gradient(135deg, #0d3b73 0%, #0b2f63 60%, #0a2a58 100%); color: #fff; }
.section--dark { background: linear-gradient(135deg, #0d3b73 0%, #0a2a58 100%); color: #fff; }
.section--blue .section-title, .section--dark .section-title { color: #fff; }
.section--blue .section-sub, .section--dark .section-sub,
.section--blue .lead, .section--dark .lead { color: #c9ddf0; }
.section--blue .eyebrow, .section--dark .eyebrow { color: #9fd0ff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.section--blue .eyebrow i, .section--dark .eyebrow i { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }
.section--blue .card, .section--dark .card { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: #e8f1fb; box-shadow: none; }
.section--blue .card h3, .section--dark .card h3 { color: #fff; }
.section--blue .card p, .section--dark .card p { color: #c9ddf0; }
.section--blue .card-icon, .section--dark .card-icon { background: rgba(255, 255, 255, .12); color: #9fd0ff; }
.section--blue .btn--outline, .section--dark .btn--outline { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.section--blue .btn--outline:hover, .section--dark .btn--outline:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; max-width: 780px; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--pill);
  background: var(--pale-2); border: 1px solid #d7e8fb;
  color: var(--blue-deep); font-size: 12px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase;
}
.section-title { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.22; letter-spacing: -.025em; margin: 16px 0 0; color: var(--ink); font-weight: 800; }
.section-sub { color: var(--muted); font-size: 16.5px; line-height: 1.8; margin-top: 14px; max-width: 720px; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }
.lead { font-size: 17.5px; line-height: 1.8; color: #4b6483; }

/* ---------- 7. Pain points ---------- */
.pain-intro { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.pain-intro .q { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.22; }
.pain-intro .a { font-size: 20px; font-weight: 700; color: var(--blue); }
.pain-card { padding: 30px 26px; }
.pain-card .num, .card-index {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: 2px; color: var(--blue);
  margin-bottom: 16px;
}
.pain-card h3 { font-size: 19px; margin-bottom: 10px; }
.pain-card p, .card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.pain-turn {
  margin-top: 30px; padding: 22px 26px; border-radius: var(--r);
  background: linear-gradient(110deg, #eaf4ff, #dcecff); border: 1px solid #cfe3fb;
  font-size: 16px; line-height: 1.8; color: #2b4a70;
}
.pain-turn b { color: var(--blue-deep); }

/* ---------- 8. Cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  display: block; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b9d8fb; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card .eyebrow { margin-bottom: 14px; }
.card > h3:first-of-type { font-size: 22px; }
.flow-loop {
  margin-top: 26px; padding: 14px 20px; border-radius: var(--pill);
  display: inline-block; font-size: 13.5px; color: #2b4a70;
  background: linear-gradient(110deg, #eaf4ff, #dcecff); border: 1px solid #cfe3fb;
}
.container:has(> .section-head--center) > .flow-loop { display: block; width: fit-content; margin: 26px auto 0; }
.card h4 { font-size: 16px; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px;
  background: var(--pale-2); color: var(--blue); display: grid; place-items: center;
}
.card-icon svg { width: 24px; height: 24px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  color: var(--blue); font-weight: 700; font-size: 14px;
}
.card-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-40 { grid-template-columns: .8fr 1.2fr; }
.split .section-title { margin-top: 14px; }
.split:has(form) { align-items: start; }
.split .lead { margin-top: 16px; }

/* 四大方案卡：带右上角装饰面 */
.solution-card { min-height: 250px; overflow: hidden; }
.solution-card h3 { font-size: 24px; margin: 6px 0 14px; }
.s-main { font-size: 17px; font-weight: 700; color: var(--ink); }
.s-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }
.solution-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 150px; height: 150px;
  border-radius: 40px; transform: rotate(22deg);
  background: linear-gradient(145deg, #e9f5ff, #b8dcff); opacity: .55;
  transition: transform .4s var(--ease), opacity .3s;
}
.solution-card:hover::after { transform: rotate(30deg) scale(1.08); opacity: .8; }
.solution-card > * { position: relative; z-index: 1; }

/* ---------- 9. Architecture diagram ---------- */
.arch-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
  padding: 28px; box-shadow: var(--shadow);
  background-image: radial-gradient(700px 260px at 100% 0%, rgba(85, 168, 244, .08), transparent 60%);
}
.arch-head { padding: 6px 8px 20px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.arch-head h3 { font-size: 20px; }
.arch-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.arch-body { display: grid; grid-template-columns: 170px minmax(0, 1fr) 190px; gap: 18px; align-items: stretch; }
.arch-rail {
  border-radius: var(--r-md); background: var(--pale); border: 1px solid var(--line);
  padding: 16px 14px; display: flex; flex-direction: column; gap: 6px;
}
.rail-title { font-size: 11px; letter-spacing: 2px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.arch-rail li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
}
.arch-rail b { font-size: 11px; color: var(--blue); background: #fff; border-radius: 6px; padding: 2px 6px; letter-spacing: 1px; }
.arch-layers { display: flex; flex-direction: column; gap: 8px; }
.arch-layer {
  position: relative; border-radius: 14px; padding: 12px 14px 12px 18px; cursor: pointer;
  background: linear-gradient(90deg, #e4f1ff, #fff 50%, #e4f1ff);
  border: 1px solid #cfe3fb;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s, background .2s;
}
.arch-layer::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 4px;
  background: var(--blue-soft); opacity: .5;
}
.arch-layer:hover, .arch-layer.is-active {
  transform: translateX(6px); border-color: #8cc0f5;
  background: linear-gradient(90deg, #d4e9ff, #fff 50%, #d4e9ff);
  box-shadow: 0 10px 26px rgba(22, 119, 232, .14);
}
.arch-layer.is-active::before { opacity: 1; background: var(--blue); }
.arch-layer.is-active .layer-name { color: var(--blue-deep); }
.layer-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.layer-code { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); }
.layer-name { font-weight: 800; font-size: 15px; }
.layer-note { font-size: 12px; color: var(--muted); margin-left: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 12px; padding: 4px 10px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .9); border: 1px solid #d7e8fb; color: #3b5f88;
}
.chip--main { background: var(--ocean-2); color: #fff; border-color: transparent; }
.arch-guard {
  border-radius: var(--r-md); padding: 18px 16px;
  background: linear-gradient(180deg, rgba(13, 59, 115, .92), rgba(10, 42, 88, .92));
  color: #fff; display: flex; flex-direction: column;
}
.arch-guard h4 { font-size: 14px; line-height: 1.4; color: #fff; margin-bottom: 12px; }
.arch-guard::after {
  content: "贯穿全层"; position: absolute; right: 18px; bottom: 20px;
  writing-mode: vertical-rl; letter-spacing: 6px; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .55);
}
@media (max-width: 860px) { .arch-guard::after { display: none; } }
.arch-guard li {
  font-size: 12.5px; color: #cfe3fb; padding: 7px 0 7px 14px; position: relative; line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.arch-guard li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: #7cc0ff; }
.arch-note {
  margin-top: 18px; padding: 14px 18px; border-radius: 14px;
  background: var(--pale); border: 1px dashed #bfd9f6; font-size: 14px; color: var(--ink-2); line-height: 1.75;
  min-height: 54px;
}
.arch-note b { color: var(--blue-deep); }
.arch-note a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.arch-legend { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.arch-legend b { color: var(--blue); margin-right: 4px; }

/* ---------- 10. Flow / roadmap ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 29px; height: 2px;
  background: linear-gradient(90deg, #c2e0ff, #4e9cf0, #c2e0ff); opacity: .7;
}
.flow-step { position: relative; padding: 0 10px; text-align: center; }
.f-num {
  display: inline-grid; place-items: center; position: relative; z-index: 1;
  min-width: 58px; height: 58px; padding: 0 10px; border-radius: 18px; margin-bottom: 16px;
  background: linear-gradient(145deg, #fff, #e4f1ff); border: 1px solid #dcecff;
  box-shadow: 0 12px 30px rgba(52, 126, 197, .12);
  font-size: 12px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue);
}
.flow-step h3 { font-size: 17px; margin-bottom: 6px; }
.flow-step p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.contact-side .flow { grid-template-columns: 1fr; gap: 10px; }
.contact-side .flow::before { display: none; }
.contact-side .flow-step { text-align: left; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.contact-side .flow-step .f-num { margin-bottom: 6px; min-width: 44px; height: 30px; border-radius: 10px; }
.contact-side .flow-step p { text-align: left; }

/* ---------- 11. Metrics ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric {
  padding: 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
}
.m-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.25; }
.m-label { font-size: 14px; color: #c9ddf0; margin-top: 8px; }
.m-tag {
  display: inline-block; margin-top: 14px; font-size: 11px; letter-spacing: 1px;
  padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); color: #bfe0ff;
}
.note {
  display: inline-block; padding: 8px 14px; border-radius: 12px;
  background: var(--pale); color: var(--muted); font-size: 13.5px; line-height: 1.7;
}
.section--blue .note, .section--dark .note { background: rgba(255, 255, 255, .08); color: #c9ddf0; }

/* ---------- 12. Lists / tags ---------- */
.check-list li {
  position: relative; padding: 9px 0 9px 32px; font-size: 15px; line-height: 1.7; color: var(--ink-2);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: #dff0ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' stroke='%231677e8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section--blue .check-list li, .section--dark .check-list li { color: #e3eefb; }
.section--blue .check-list li::before, .section--dark .check-list li::before { background-color: rgba(255, 255, 255, .14); }
.eco-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.eco-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eco-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(85, 168, 244, .2); }

/* ---------- 13. Cases / FAQ ---------- */
.case-card { display: grid; grid-template-columns: 62px 1fr; column-gap: 18px; align-items: center; }
.case-logo {
  grid-row: 1 / span 2;
  width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, #eaf4ff, #cfe6ff); color: var(--blue-deep); font-size: 24px; font-weight: 800;
}
.case-card h3, .case-card p, .case-card .c-tags { grid-column: 2; }
.case-card h3 { font-size: 19px; }
.c-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.c-tags span { font-size: 11.5px; letter-spacing: .6px; padding: 4px 10px; border-radius: var(--pill); background: var(--pale-2); color: var(--blue-deep); font-weight: 700; }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #b9d8fb; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 700; font-size: 16px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pale-2); color: var(--blue); font-weight: 800; font-size: 18px; line-height: 1;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.faq details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* ---------- 14. CTA band ---------- */
.cta-band {
  background: linear-gradient(110deg, #eaf5ff 0%, #d8ebff 100%); color: var(--ink);
  overflow: hidden; padding: 84px 0; text-align: center;
}
.cta-band::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  right: -90px; top: -320px; border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .25), 0 0 0 96px rgba(255, 255, 255, .18); pointer-events: none;
}
.cta-band .eyebrow { background: #fff; border-color: #cfe3fb; }
.cta-band .btn--outline { background: #fff; color: var(--blue-deep); border-color: #b8d7fa; }
.cta-band .btn--outline:hover { background: #f3f9ff; border-color: #8cc0f5; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.025em; margin: 18px auto 10px; max-width: 820px; position: relative; z-index: 1; }
.cta-band p { color: #5e7896; font-size: 17px; margin-bottom: 28px; position: relative; z-index: 1; }
.cta-band .btn-row { justify-content: center; position: relative; z-index: 1; }

/* ---------- 15. Footer ---------- */
.site-footer { padding: 56px 0 24px; background: #fff; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin-top: 16px; max-width: 360px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--muted); transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; color: var(--muted-2); font-size: 12.5px; }
.footer-bottom a { color: #617d9b; }
.footer-bottom a:hover { color: var(--blue); }
.icp { display: inline-flex; gap: 4px; flex-wrap: wrap; }

/* ---------- 16. Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 68px 0 72px;
  background:
    radial-gradient(700px 300px at 92% 0%, rgba(85, 168, 244, .26), transparent 60%),
    linear-gradient(110deg, #f8fbff, #edf5ff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span:last-child { color: var(--ink-2); }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 18px 0 14px; max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- 17. Related / agent columns / tables ---------- */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related a {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 700; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .2s;
}
.related a small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9d8fb; color: var(--blue-deep); }
.agent-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.agent-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; }
.agent-col h4 { font-size: 16px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--blue-deep); }
.agent-col li { font-size: 13.5px; color: var(--ink-2); padding: 7px 0 7px 18px; position: relative; }
.agent-col li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue-soft); }
.table-scroll { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 14px; }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; vertical-align: top; line-height: 1.7; border-bottom: 1px solid var(--line); }
table.compare thead th { background: var(--pale-2); color: var(--blue-deep); font-size: 14px; font-weight: 800; }
table.compare tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; background: #fbfdff; width: 120px; }
table.compare td { color: var(--muted); }
table.compare tr:last-child th, table.compare tr:last-child td { border-bottom: 0; }

/* ---------- 18. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.req { color: var(--blue); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #dce7f3; border-radius: 14px;
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9fb0c3; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #5aa5f2; box-shadow: 0 0 0 4px rgba(90, 165, 242, .16); }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' stroke='%2361758f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 15px center/12px no-repeat; }
.hint { font-size: 12px; color: var(--muted-2); }
.field-error { font-size: 12.5px; color: var(--warn); min-height: 0; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e0875a; box-shadow: 0 0 0 4px rgba(224, 135, 90, .14); }
.field.is-invalid .field-error { display: block; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--pill);
  border: 1px solid #dce7f3; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--ink-2);
  transition: border-color .2s, background .2s;
}
.radio-group label:has(input:checked) { border-color: var(--blue); background: var(--pale-2); color: var(--blue-deep); }
.radio-group input { accent-color: var(--blue); margin: 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; line-height: 1.7; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e9f8f0; color: var(--ok); border: 1px solid #bfe8d3; }
.form-status--warn { background: #fff3ea; color: var(--warn); border: 1px solid #f6d2bb; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.form-status code { font-size: 13px; background: rgba(0, 0, 0, .05); padding: 1px 5px; border-radius: 4px; }
.form-note { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }
.form-note a { color: var(--blue); }
.contact-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-side h3 { font-size: 17px; margin-bottom: 14px; }
.contact-side dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.contact-side dl div:first-of-type { border-top: 0; }
.contact-side dt { color: var(--muted); flex: none; }
.contact-side dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* ---------- 19. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-tag { animation: none; }
  * { scroll-behavior: auto; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1024px) {
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { transform: scale(.86); transform-origin: center; }
  .arch-body { grid-template-columns: 150px minmax(0, 1fr) 170px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-menu {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 14px var(--gutter) 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(20, 54, 91, .1);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 13px 14px; border-radius: 12px; }
  .nav-link:hover, .nav-item.is-active > .nav-link { background: var(--pale-2); }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; box-shadow: none; border: 0; padding: 0 0 6px 14px; background: transparent;
    display: none;
  }
  .has-dropdown.is-open > .dropdown { display: block; }
  .dropdown a { padding: 9px 12px; }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; align-self: flex-start; }
  .nav-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .hero-visual { height: 400px; transform: scale(.78); margin: -20px 0 -30px; }
  .section { padding: 68px 0; }
  .grid--3, .metric-grid, .agent-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split-40 { grid-template-columns: 1fr; gap: 32px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .flow::before { display: none; }
  .arch-body { grid-template-columns: 1fr; }
  .arch-rail { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .rail-title { width: 100%; margin-bottom: 2px; }
  .arch-rail li { padding: 6px 10px; background: #fff; border: 1px solid var(--line); }
  .arch-guard ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .metric-grid, .agent-cols, .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 16px; }
  .hero-visual { height: 340px; transform: scale(.62); margin: -40px 0 -50px; }
  .hv-tag { padding: 9px 12px; font-size: 12px; }
  .hv-tag.t1 { left: 6%; } .hv-tag.t2 { right: 4%; } .hv-tag.t3 { left: 8%; } .hv-tag.t4 { right: 6%; }
  .section-title, .pain-intro .q { font-size: 27px; }
  .section-sub { font-size: 15px; }
  .card { padding: 24px 20px; }
  .solution-card { min-height: 0; }
  .case-card { flex-direction: column; align-items: flex-start; }
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow-step { text-align: left; padding: 0; }
  .flow-step .f-num { margin-bottom: 10px; }
  .arch-wrap { padding: 16px; border-radius: 20px; }
  .layer-note { margin-left: 0; width: 100%; }
  .arch-guard ul { grid-template-columns: 1fr; }
  .cta-band { padding: 60px 0; }
  .cta-band .btn-row { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 44px 0 48px; }
  .btn-row .btn { flex: 1 1 auto; }
}
