/* ============================================================
   AgentWeave — www.agentweave.site
   无外部依赖，纯系统字体，首屏 < 40KB
   ============================================================ */

:root {
  --ink:        #14181C;
  --ink-2:      #46525C;
  --ink-3:      #7A8792;
  --line:       #E3E4E0;
  --line-2:     #EFF0EC;
  --paper:      #FAFAF8;
  --paper-2:    #FFFFFF;
  --dark:       #0B1014;
  --dark-2:     #101820;
  --dark-line:  #1E2A33;
  --teal:       #0D9488;
  --teal-hi:    #2DD4BF;
  --sky:        #38BDF8;
  --radius:     14px;
  --radius-lg:  20px;
  --wrap:       1140px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
          "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.25;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--teal); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow { max-width: 820px; }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  background: var(--dark);
  color: #E8EEF2;
  overflow: hidden;
  /* 首屏撑满视口，但 4K / 超高分屏下限高，避免被拉成半屏空白 */
  min-height: min(100svh, 1180px);
  display: flex;
  flex-direction: column;
  /* 注意：这里不能加 isolation: isolate——会把内部固定定位的导航关进
     hero 的堆叠上下文，滚动后导航永远画在后续区块之下（被卡片盖住、无法点击）。
     层级靠 canvas z-0 / veil z-1 / hero-inner z-2 / nav z-3 显式声明。 */
}

#weave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
}
#weave-canvas.ready { opacity: 1; }

/* 顶部/底部渐隐 + 中央径向压暗，保证文字可读 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(11,16,20,.86) 0%, rgba(11,16,20,.35) 55%, rgba(11,16,20,0) 100%),
    linear-gradient(180deg, rgba(11,16,20,.92) 0%, rgba(11,16,20,0) 26%, rgba(11,16,20,0) 72%, rgba(11,16,20,.98) 100%);
}

/* ---- NAV ---- */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 40px;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
}

.nav.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: none;
  padding: 14px 40px;
  background: rgba(11,16,20,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  animation: navDrop .35s var(--ease);
}
@keyframes navDrop {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #E8EEF2;
}
.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--teal-hi);
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: #A8B6C0;
}
.nav-links a {
  position: relative;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: var(--teal-hi);
  transition: width .25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid rgba(45,212,191,.35);
  border-radius: 999px;
  color: var(--teal-hi);
  font-size: 13.5px;
  transition: all .22s var(--ease);
}
.nav-cta:hover {
  background: rgba(45,212,191,.1);
  border-color: rgba(45,212,191,.7);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #E8EEF2;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child  { top: 22px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ---- HERO INNER ---- */
.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--wrap);
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px 100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  margin: 0 0 26px;
  padding: 7px 15px 7px 12px;
  border: 1px solid rgba(45,212,191,.22);
  border-radius: 999px;
  background: rgba(45,212,191,.05);
  font-size: 13px;
  letter-spacing: .01em;
  color: #8FD9CE;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-hi);
  box-shadow: 0 0 0 0 rgba(45,212,191,.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,212,191,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 640;
  max-width: 15em;
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  color: var(--teal-hi);
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: .06em;
  height: .1em;
  background: linear-gradient(90deg, rgba(45,212,191,.55), rgba(56,189,248,.15));
  border-radius: 2px;
}

.lede {
  font-size: clamp(1rem, 1.55vw, 1.115rem);
  line-height: 1.85;
  color: #A3B1BB;
  max-width: 40em;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 62px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--teal-hi);
  color: #05221F;
  box-shadow: 0 6px 20px -8px rgba(45,212,191,.55);
}
.btn-primary:hover {
  background: #4FE3CF;
  box-shadow: 0 10px 26px -10px rgba(45,212,191,.7);
}

.btn-ghost {
  color: #C7D3DB;
  border-color: rgba(255,255,255,.16);
}
.btn-ghost:hover {
  border-color: rgba(45,212,191,.5);
  color: #fff;
  background: rgba(45,212,191,.06);
}

.btn-line {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}
.btn-line:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 30px;
  max-width: 640px;
}
.hero-stats li {
  padding-right: 42px;
  margin-right: 42px;
  border-right: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stats strong {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
}
.hero-stats small {
  font-size: .58em;
  font-weight: 500;
  margin-left: 2px;
  color: var(--teal-hi);
}
.hero-stats span {
  font-size: 12.5px;
  color: #7C8B96;
  letter-spacing: .01em;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 20px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.hero-scroll span {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: rgba(45,212,191,.8);
  animation: scrl 1.9s infinite var(--ease);
}
@keyframes scrl {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   SECTION 基础
   ============================================================ */

.section { padding: 108px 0; position: relative; }

/* 固定导航会盖住锚点目标，跳转时给区块顶部留出导航高度 */
.section[id] { scroll-margin-top: 72px; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.sec-head { max-width: 640px; margin-bottom: 58px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--teal);
  margin: 0 0 14px;
  text-transform: uppercase;
}

.sec-head h2 {
  font-size: clamp(1.72rem, 3.4vw, 2.45rem);
  letter-spacing: -.03em;
  margin: 0 0 16px;
}
.sec-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
}

/* 滚动渐入 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  /* 首屏 Canvas 不隐藏：3D 版会画一帧静态画面，比空白好 */
}

/* ============================================================
   GRID / CARDS
   ============================================================ */

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: border-color .25s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.section-alt .card { background: var(--paper); }

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  border-color: #CFE6E2;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(20,24,28,.24);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(13,148,136,.07);
  color: var(--teal);
  margin-bottom: 18px;
}
.card-icon svg { width: 20px; height: 20px; }

.card h3 {
  font-size: 17.5px;
  margin: 0 0 10px;
  letter-spacing: -.015em;
}
.card p {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-2);
  margin: 0 0 18px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags li {
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: .01em;
  padding: 3px 9px;
  border-radius: 5px;
  background: #F2F4F1;
  color: var(--ink-3);
}

/* ============================================================
   CASES
   ============================================================ */

.case {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 38px 32px;
  margin-bottom: 18px;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.case:hover {
  border-color: #D6E8E4;
  box-shadow: 0 24px 60px -40px rgba(20,24,28,.3);
}
.case:last-child { margin-bottom: 0; }

.case-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.case-index {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--teal);
  padding: 3px 9px;
  border: 1px solid rgba(13,148,136,.22);
  border-radius: 5px;
}
.case-type {
  font-size: 12.5px;
  color: var(--ink-3);
}

.case-body h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.6rem);
  letter-spacing: -.025em;
  margin: 0 0 12px;
}
.case-lead {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 44em;
  margin: 0 0 26px;
}

.case-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.case-cols h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 10px;
}
.case-cols p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 0;
}
.case-cols ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 9px;
}
.case-cols ul li:last-child { margin-bottom: 0; }
.case-cols ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .55;
}
.case-cols strong { color: var(--ink); font-weight: 600; }

.case-note {
  margin-top: 12px !important;
  font-size: 13.5px !important;
  color: var(--ink-3) !important;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.case-stack li {
  font-size: 12px;
  font-family: var(--mono);
  padding: 4px 10px;
  border-radius: 5px;
  background: #F4F6F3;
  color: var(--ink-3);
}

/* ============================================================
   PRICING
   ============================================================ */

.price-grid { align-items: stretch; }

.price {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 24px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s;
}
.price:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px -30px rgba(20,24,28,.28);
}
.price-hi {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px rgba(13,148,136,.18), 0 20px 50px -34px rgba(13,148,136,.5);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  font-size: 11.5px;
  font-weight: 550;
  letter-spacing: .02em;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
}

.price-tag {
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-3);
  letter-spacing: .02em;
  margin: 0 0 12px;
}

.price-num {
  font-size: 34px;
  font-weight: 640;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 0 0 8px;
  color: var(--ink);
}
.price-num small { font-size: .52em; font-weight: 500; margin-right: 1px; color: var(--ink-2); }
.price-num span { font-size: .38em; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-left: 3px; }

.price-cycle {
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--mono);
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}

.price ul {
  flex: 1;
  margin-bottom: 24px;
}
.price ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.price ul li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .58em;
  width: 9px;
  height: 5px;
  border-left: 1.5px solid var(--teal);
  border-bottom: 1.5px solid var(--teal);
  transform: rotate(-45deg);
  opacity: .8;
}

.price .btn { width: 100%; padding: 11px 18px; font-size: 14px; }

.price-foot {
  margin: 30px 0 0;
  font-size: 13.5px;
  color: var(--ink-3);
  text-align: center;
}

/* ============================================================
   CHAT / 数字人
   ============================================================ */

.section-dark {
  background: var(--dark);
  color: #E4ECF1;
}
.section-dark .sec-head h2 { color: #fff; }
.section-dark .sec-sub { color: #96A6B1; }
.section-dark .sec-kicker { color: var(--teal-hi); }

.chat {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(45,212,191,.05);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--dark-line);
  background: rgba(255,255,255,.015);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, rgba(45,212,191,.16), rgba(56,189,248,.05) 70%);
  border: 1px solid rgba(45,212,191,.2);
  display: grid;
  place-items: center;
  flex: none;
  position: relative;
  overflow: hidden;
}
.avatar svg { width: 100%; height: 100%; }
.av-lines { animation: avBreathe 5.5s ease-in-out infinite; }
@keyframes avBreathe {
  0%, 100% { opacity: .45; }
  50%      { opacity: .8; }
}

.chat-id { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.chat-id strong { font-size: 14.5px; font-weight: 550; color: #EAF2F6; letter-spacing: -.01em; }
.chat-id span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6E8290;
}
.chat-id i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 6px rgba(52,211,153,.8);
}

.chat-reset {
  background: transparent;
  border: 1px solid var(--dark-line);
  color: #7A8E9C;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 7px;
  transition: all .2s;
}
.chat-reset:hover { color: #C7D6E0; border-color: #2A3B47; }

.chat-body {
  padding: 22px 20px;
  min-height: 250px;
  max-height: 440px;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: #22303A; border-radius: 3px; }

.msg { display: flex; animation: msgIn .35s var(--ease) both; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.msg-user { justify-content: flex-end; }

.bubble {
  max-width: 86%;
  padding: 13px 17px;
  border-radius: 13px;
  font-size: 14.5px;
  line-height: 1.78;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg-bot .bubble {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--dark-line);
  color: #D2DEE6;
  border-top-left-radius: 5px;
}
.msg-user .bubble {
  background: rgba(45,212,191,.13);
  border: 1px solid rgba(45,212,191,.24);
  color: #D6F5EF;
  border-top-right-radius: 5px;
}
.bubble-dim {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: #6E8290;
  line-height: 1.65;
}
.bubble strong { color: #fff; font-weight: 550; }

/* 打字指示 */
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal-hi);
  opacity: .4;
  animation: tdot 1.3s infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes tdot {
  0%, 60%, 100% { opacity: .28; transform: translateY(0); }
  30%           { opacity: 1; transform: translateY(-3px); }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.chip {
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: #93A6B2;
  transition: all .2s var(--ease);
}
.chip:hover {
  border-color: rgba(45,212,191,.45);
  color: var(--teal-hi);
  background: rgba(45,212,191,.06);
}

.chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--dark-line);
  background: rgba(255,255,255,.012);
}
.chat-input input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #E4ECF1;
  font-size: 14.5px;
  font-family: inherit;
  padding: 8px 4px;
}
.chat-input input::placeholder { color: #5C7080; }

.chat-input button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  background: var(--teal-hi);
  color: #05221F;
  display: grid;
  place-items: center;
  transition: background .2s, transform .15s;
  flex: none;
}
.chat-input button svg { width: 18px; height: 18px; }
.chat-input button:hover { background: #4FE3CF; }
.chat-input button:active { transform: scale(.94); }
.chat-input button:disabled { opacity: .35; cursor: not-allowed; }

.chat-hint {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 12px;
  color: #5C7080;
}

/* 留资卡 */
.lead-card {
  margin-top: 18px;
  padding: 26px 28px;
  background: linear-gradient(160deg, rgba(45,212,191,.07), rgba(56,189,248,.03));
  border: 1px solid rgba(45,212,191,.22);
  border-radius: var(--radius);
  animation: msgIn .4s var(--ease) both;
}
.lead-card h3 { font-size: 17px; margin: 0 0 8px; color: #fff; }
.lead-card > p { font-size: 13.5px; color: #93A6B2; margin: 0 0 18px; }
.lead-card input,
.lead-card textarea {
  width: 100%;
  background: rgba(0,0,0,.28);
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  padding: 11px 14px;
  color: #E4ECF1;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  margin-bottom: 10px;
  resize: vertical;
  transition: border-color .2s;
}
.lead-card input:focus,
.lead-card textarea:focus { border-color: rgba(45,212,191,.5); }
.lead-card input::placeholder,
.lead-card textarea::placeholder { color: #5C7080; }

.lead-actions { display: flex; gap: 10px; margin-top: 4px; }
.lead-actions .btn { padding: 10px 22px; font-size: 14px; }
.lead-card .btn-ghost { color: #93A6B2; border-color: var(--dark-line); }
.lead-card .btn-ghost:hover { color: #D2DEE6; border-color: #2A3B47; background: transparent; }

.lead-ok { font-size: 14px; color: var(--teal-hi); margin: 14px 0 0; }

/* ============================================================
   ABOUT
   ============================================================ */

.about-wrap {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 70px;
  align-items: start;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.about-text strong { color: var(--ink); font-weight: 600; }

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink);
  transition: all .22s var(--ease);
}
.about-link svg { width: 15px; height: 15px; color: var(--teal); transition: transform .22s var(--ease); }
.about-link:hover {
  border-color: var(--teal);
  background: rgba(13,148,136,.04);
}
.about-link:hover svg { transform: translateX(3px); }

.about-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.side-block {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}
.side-block:last-child { border-bottom: 0; padding-bottom: 0; }
.side-block h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 14px;
}
.plain li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
}
.plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85em;
  width: 4px;
  height: 1px;
  background: var(--ink-3);
}
.side-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
.side-note strong { color: var(--ink); font-weight: 550; }

.stack-row { display: flex; flex-wrap: wrap; gap: 7px; }
.stack-row span {
  font-size: 12px;
  font-family: var(--mono);
  padding: 4px 9px;
  border-radius: 5px;
  background: #F2F4F1;
  color: var(--ink-2);
}

.side-quote p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  font-style: normal;
  padding-left: 16px;
  border-left: 2px solid var(--teal);
  margin: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--dark);
  color: #6E8290;
  padding: 44px 0 40px;
  border-top: 1px solid var(--dark-line);
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 40px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: #C9D6DE;
}
.foot-brand .brand-mark { width: 22px; height: 22px; color: var(--teal-hi); }

.foot-note { font-size: 13px; margin: 0; }
.foot-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 13.5px;
}
.foot-links a { transition: color .2s; }
.foot-links a:hover { color: var(--teal-hi); }

.foot-copy {
  width: 100%;
  font-size: 12.5px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.05);
  color: #55697A;
}
.foot-copy a { color: #6E8290; }
.foot-copy a:hover { color: var(--teal-hi); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; gap: 50px; }
  .hero-stats li { padding-right: 30px; margin-right: 30px; }
}

@media (max-width: 860px) {
  .nav { padding: 18px 24px; }
  .nav.is-stuck { padding: 12px 24px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
    background: rgba(11,16,20,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dark-line);
    display: none;
  }
  .nav-links.open { display: flex; animation: navDrop .28s var(--ease); }
  .nav-links a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.045);
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(45,212,191,.35) !important;
  }

  .hero-inner { padding: 30px 24px 90px; }
  .hero h1 { max-width: none; }
  .lede { font-size: 15px; }
  .br-wide { display: none; }

  .section { padding: 76px 0; }
  .wrap { padding: 0 24px; }
  .sec-head { margin-bottom: 40px; }

  .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .case { padding: 26px 22px 24px; }
  .case-cols { grid-template-columns: 1fr; gap: 26px; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 22px 0;
  }
  .hero-stats li {
    flex: 0 0 50%;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  .foot-inner { gap: 18px; }
  .foot-links { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 2.05rem; letter-spacing: -.03em; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px 6px 10px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; padding: 13px 16px; font-size: 15px; }
  .hero-stats strong { font-size: 23px; }

  .chat-body { max-height: 400px; padding: 18px 16px; }
  .bubble { max-width: 92%; font-size: 14px; }
  .lead-card { padding: 20px 18px; }
  .lead-actions { flex-direction: column; }
  .lead-actions .btn { width: 100%; }
  .price-num { font-size: 30px; }
}

/* ============================================================
   GEO 内容块：常见问题 / 首页地域信息 / 子页
   ============================================================ */

.hero-loc {
  margin: 26px 0 0;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: #7C8B96;
}
.hero-loc a {
  color: #A9BBC6;
  border-bottom: 1px solid rgba(169,187,198,.3);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.hero-loc a:hover { color: var(--teal-hi); border-color: var(--teal-hi); }

/* 正文里的邮箱：让 AI 爬虫在正文文本里就能抽到，同时视觉上不打断阅读 */
.inline-mail {
  color: var(--ink);
  font-weight: 560;
  border-bottom: 1px solid rgba(13,148,136,.35);
  white-space: nowrap;
}
.inline-mail:hover { color: var(--teal); border-color: var(--teal); }
.about-lead {
  font-size: 16.5px;
  color: var(--ink);
  padding-bottom: 6px;
}

/* ---- FAQ：用 details 实现，无 JS、可被爬虫完整读取 ---- */
.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  position: relative;
  display: block;
  padding: 22px 46px 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--teal); }
.faq-item > summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .45;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.faq-item[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
  opacity: .8;
}
.faq-a {
  padding: 0 46px 24px 0;
  font-size: 15.5px;
  line-height: 1.78;
  color: var(--ink-2);
}
.faq-a p { margin: 0 0 .7em; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--ink); font-weight: 620; }

/* ---- 子页面（/foshan/ 等）---- */
.sp-hero {
  background: var(--dark);
  color: #E8EEF2;
  padding: 34px 0 76px;
}
.sp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 0 auto 62px;
  padding: 0 40px;
}
.sp-nav .brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 620; letter-spacing: -.01em; }
.sp-nav .brand-mark { width: 24px; height: 24px; color: var(--teal-hi); }
.sp-nav .sp-back { font-size: 13.5px; color: #9FB0BB; border-bottom: 1px solid transparent; }
.sp-nav .sp-back:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.sp-inner { max-width: 860px; margin: 0 auto; padding: 0 40px; }
.sp-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-hi);
  margin: 0 0 18px;
}
.sp-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.sp-hero .sp-lede {
  margin: 22px 0 0;
  font-size: 16.5px;
  line-height: 1.8;
  color: #B7C4CD;
  max-width: 700px;
}
.sp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: #8B9AA5;
}
.sp-meta li::before { content: "·"; margin-right: 8px; color: var(--teal-hi); }
.sp-body { padding: 84px 0; }
.sp-body h2 { font-size: 1.55rem; margin: 0 0 20px; letter-spacing: -.02em; }
.sp-body h3 { font-size: 1.05rem; margin: 0 0 8px; }
.sp-body p { color: var(--ink-2); }
.sp-sec + .sp-sec { margin-top: 64px; }
.sp-list { margin: 0; padding: 0; list-style: none; }
.sp-list li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 15.5px;
}
.sp-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .5;
}
.sp-list li strong { color: var(--ink); font-weight: 620; }
.sp-cta {
  margin-top: 56px;
  padding: 32px 34px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sp-cta h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sp-cta p { font-size: 14.5px; margin-bottom: 20px; }
.sp-cta .btn { margin-right: 10px; }

@media (max-width: 860px) {
  .sp-nav { padding: 0 24px; margin-bottom: 44px; }
  .sp-inner { padding: 0 24px; }
  .sp-hero { padding: 26px 0 56px; }
  .sp-body { padding: 60px 0; }
  .faq-item > summary { font-size: 16px; padding-right: 36px; }
  .faq-a { padding-right: 0; }
}

/* ---- 分身未接入模型时的提示条 ---- */
.chat-offline-note {
  padding: 12px 20px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #C7D3DB;
  background: rgba(45,212,191,.07);
  border-bottom: 1px solid rgba(45,212,191,.16);
}
.chat-offline-note a {
  color: var(--teal-hi);
  border-bottom: 1px solid rgba(45,212,191,.45);
}
.chat.is-offline .chat-input { opacity: .6; }
