/* ============================================================
   众科联AI 蓝军 · 智能体军团官网 — styles.css
   iOS 玻璃拟态色系 · 薄荷/蓝/紫/粉渐变 · 玻璃卡片 · 紫调阴影
   ============================================================ */

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

:root {
  /* 主色（iOS 玻璃拟态色系） */
  --mint:        #7dd3fc;
  --mint-dark:   #4f46e5;
  --blue:        #3b82f6;
  --blue-light:  #60a5fa;
  --indigo:      #4f46e5;
  --purple:      #8b5cf6;
  --violet:      #a855f7;
  --pink:        #f0abfc;
  --magenta:     #e879f9;

  /* 主渐变（iOS 经典四色渐变） */
  --grad:        linear-gradient(135deg, #6ee7f9 0%, #60a5fa 28%, #8b5cf6 62%, #e879f9 100%);
  --grad-soft:   linear-gradient(135deg, rgba(125,211,252,.14), rgba(168,85,247,.14));
  --grad-blue:   linear-gradient(135deg, #6ee7f9, #3b82f6);
  --grad-purple: linear-gradient(135deg, #8b5cf6, #e879f9);
  --grad-pink:   linear-gradient(135deg, #e879f9, #f0abfc);

  /* 强调色 */
  --gold:        #faad14;
  --green:       #00b96b;

  /* 文本 */
  --t1: #1f2433;
  --t2: #3d4256;
  --t3: #5e6478;
  --t4: #737b91;
  --t5: #b8bdd0;

  /* 背景（薰衣草底） */
  --bg:        #f7f4ff;
  --bg-alt:    #ffffff;
  --bg-dark:   #0e1430;
  --bg-dark-2: #161e44;
  --card:      #ffffff;
  --glass:     rgba(255, 255, 255, .62);
  --glass-2:   rgba(255, 255, 255, .58);
  --shine:     rgba(255, 255, 255, .82);

  /* 边框/阴影（紫调） */
  --bd:        rgba(98, 116, 180, .16);
  --bd-light:  rgba(98, 116, 180, .10);
  --sh-sm:   0 8px 22px rgba(74, 58, 170, .10);
  --sh-md:   0 14px 32px rgba(74, 58, 170, .14);
  --sh-lg:   0 22px 56px rgba(74, 58, 170, .18);
  --sh-xl:   0 28px 70px rgba(59, 67, 180, .23);
  --sh-grad: 0 16px 34px rgba(99, 102, 241, .28);

  --r:    14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-xl2: 28px;

  --maxw: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--t1);
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 14% -8%, rgba(96,165,250,.32), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(168,85,247,.28), transparent 34%),
    radial-gradient(circle at 50% 52%, rgba(240,171,252,.14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8f5ff 35%, #eef6ff 100%);
  min-height: 100vh;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: #ece8f8; }
::-webkit-scrollbar-thumb { background: #b8a8e8; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { border: 0; background: none; color: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== 渐变文字 ===== */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-text-light {
  background: linear-gradient(135deg, #6ee7f9, #c4a6ff, #f0abfc);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== 玻璃卡片基础 ===== */
.glass {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 22px; border-radius: 14px; font-size: 14px; font-weight: 700;
  cursor: pointer; border: none; outline: none; white-space: nowrap;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-mini { padding: 9px 16px; font-size: 13px; border-radius: 12px; width: 100%; }

.btn-gradient {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 16px 34px rgba(99,102,241,.28), inset 0 1px 0 rgba(255,255,255,.52);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 20px 42px rgba(99,102,241,.38), inset 0 1px 0 rgba(255,255,255,.52); }

.btn-outline {
  background: rgba(255,255,255,.62); color: #5b43d6;
  border: 1.5px solid rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), var(--sh-sm);
}
.btn-outline:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), var(--sh-md); }

.btn-ghost { background: transparent; color: var(--t2); }
.btn-ghost:hover { color: #5b43d6; }

.cta-glow { position: relative; }
.cta-glow::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad); filter: blur(20px); opacity: 0; z-index: -1;
  transition: opacity .3s;
}
.cta-glow:hover::after { opacity: .6; }

/* ===== 导航（玻璃吸顶） ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: all .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.78);
  border-bottom-color: rgba(98,116,180,.14);
  box-shadow: 0 10px 30px rgba(74,58,170,.10);
}
.nav-inner {
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 8px 18px rgba(99,102,241,.28)); }
.brand-text { font-size: 18px; font-weight: 900; color: var(--t1); display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .brand-sub { font-size: 10px; font-weight: 700; color: #5b43d6; letter-spacing: 2px; }
.brand-text.light { color: #fff; }
.brand-text.light .brand-sub { color: #c4a6ff; }

.main-nav { display: flex; gap: 6px; margin-left: 12px; }
.main-nav a {
  padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--t2);
  border-radius: 10px; transition: all .2s;
}
.main-nav a:hover { color: #5b43d6; background: var(--grad-soft); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--t2); border-radius: 2px; transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 通用 Section ===== */
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(247,244,255,.5)); }
.section-dark { background: radial-gradient(circle at 50% 0%, rgba(99,102,241,.22), transparent 40%), var(--bg-dark); color: #dfe4ff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ''; position: absolute; top: -180px; right: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(168,85,247,.28), transparent 70%); border-radius: 50%;
}
.section-dark::after {
  content: ''; position: absolute; bottom: -160px; left: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(96,165,250,.24), transparent 70%); border-radius: 50%;
}

/* 区块标题（胶囊样式 + 渐变圆形图标） */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px;
  color: #5b43d6;
  background: rgba(255,255,255,.56);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), var(--sh-sm);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 4px 10px rgba(99,102,241,.4);
}
.eyebrow.light { color: #c4a6ff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.eyebrow.light::before { background: linear-gradient(135deg,#6ee7f9,#e879f9); }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; line-height: 1.25;
  color: var(--t1); letter-spacing: -.5px;
}
.section-head h2.light { color: #fff; }
.section-desc { margin-top: 16px; font-size: 16px; color: var(--t3); }

/* ===== 首屏 Hero ===== */
.hero {
  padding-top: 64px;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ''; position: absolute; top: -180px; right: -160px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,.22), transparent 70%); border-radius: 50%;
}
.hero-bg::after {
  content: ''; position: absolute; bottom: -180px; left: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(168,85,247,.20), transparent 70%); border-radius: 50%;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 72px 24px 80px; position: relative; z-index: 1;
}
.hero-content { animation: fadeInLeft .8s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700;
  color: #5b43d6; margin-bottom: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), var(--sh-sm);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px rgba(99,102,241,.6); animation: pulse 2s infinite; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 50px); font-weight: 900; line-height: 1.18;
  margin-bottom: 20px; letter-spacing: -1px; color: var(--t1);
}
.hero-sub { font-size: 16px; color: var(--t3); line-height: 1.85; margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(98,116,180,.18); flex-wrap: wrap;
}
.stat-num { font-size: 30px; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 12px; color: var(--t4); margin-top: 7px; }

/* ===== AI 作战中心视觉 ===== */
.hero-visual { position: relative; animation: fadeInRight .9s ease .15s both; }
.command-center {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto;
}
.cc-core { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cc-ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(99,102,241,.25);
}
.cc-ring-1 { width: 56%; height: 56%; animation: spin 24s linear infinite; }
.cc-ring-2 { width: 78%; height: 78%; border-color: rgba(168,85,247,.22); animation: spin 36s linear infinite reverse; }
.cc-ring-3 { width: 100%; height: 100%; border-color: rgba(96,165,250,.18); animation: spin 60s linear infinite; }
.cc-orb {
  width: 38%; height: 38%; border-radius: 50%;
  background: var(--grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; text-align: center; padding: 16px;
  box-shadow: 0 0 60px rgba(99,102,241,.45), inset 0 -8px 24px rgba(0,0,0,.18);
  position: relative; z-index: 2;
}
.cc-orb::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--grad); filter: blur(26px); opacity: .5; z-index: -1;
}
.cc-orb-label { font-size: 15px; font-weight: 900; letter-spacing: 1px; }
.cc-orb-sub { font-size: 11px; opacity: .9; margin-top: 4px; }

.cc-agents { position: absolute; inset: 0; }
.cc-agent {
  position: absolute; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: floatY 4s ease-in-out infinite; animation-delay: var(--d);
}
.cc-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 8px 18px rgba(99,102,241,.32);
  border: 2px solid #fff; overflow: hidden;
}
.cc-name { font-size: 11px; font-weight: 700; color: #5b43d6; background: rgba(255,255,255,.92); padding: 2px 8px; border-radius: 999px; box-shadow: var(--sh-sm); white-space: nowrap; }

/* 8 智能体环绕定位（中心圆周分布） */
.cc-agent:nth-child(1) { top: 4%; left: 50%; transform: translateX(-50%); }
.cc-agent:nth-child(2) { top: 18%; right: 4%; }
.cc-agent:nth-child(3) { top: 50%; right: -2%; transform: translateY(-50%); }
.cc-agent:nth-child(4) { bottom: 18%; right: 4%; }
.cc-agent:nth-child(5) { bottom: 4%; left: 50%; transform: translateX(-50%); }
.cc-agent:nth-child(6) { bottom: 18%; left: 4%; }
.cc-agent:nth-child(7) { top: 50%; left: -2%; transform: translateY(-50%); }
.cc-agent:nth-child(8) { top: 18%; left: 4%; }

/* ===== 痛点卡片（玻璃） ===== */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--r-lg);
  padding: 28px 24px; transition: all .3s; position: relative; overflow: hidden;
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
.pain-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: rgba(255,255,255,.9); }
.pain-card:hover::before { opacity: 1; }
.pain-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 16px;
  box-shadow: 0 10px 22px rgba(99,102,241,.22), inset 0 1px 0 rgba(255,255,255,.5);
}
.ic-blue { background: var(--grad-blue); }
.ic-purple { background: var(--grad-purple); }
.ic-cyan { background: linear-gradient(135deg,#6ee7f9,#7dd3fc); }
.ic-green { background: linear-gradient(135deg,#00b96b,#52c41a); }
.ic-gold { background: linear-gradient(135deg,#faad14,#ffc53d); }
.ic-mix { background: var(--grad); }
.pain-card h3 { font-size: 18px; font-weight: 800; color: var(--t1); margin-bottom: 8px; }
.pain-card p { font-size: 14px; color: var(--t3); line-height: 1.7; }
.pain-foot { text-align: center; margin-top: 40px; font-size: 17px; font-weight: 700; color: var(--t2); }

/* ===== 智能体卡片（玻璃 + 可上传头像） ===== */
.agents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.agent-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--r-xl);
  padding: 28px 22px; transition: all .35s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
.agent-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(168,85,247,.12));
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.agent-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); border-color: rgba(255,255,255,.9); }
.agent-card:hover::after { opacity: 1; }
.agent-card:hover .agent-avatar { transform: scale(1.06) rotate(-3deg); }

.agent-avatar {
  width: 72px; height: 72px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 16px;
  background: var(--grad);
  box-shadow: 0 12px 26px rgba(99,102,241,.3), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .35s; position: relative; cursor: pointer; overflow: hidden;
}
.agent-avatar::before {
  content: ''; position: absolute; inset: -3px; border-radius: inherit;
  background: inherit; filter: blur(14px); opacity: .5; z-index: -1;
}
.agent-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  position: absolute; inset: 0;
}
/* 头像文字（默认显示，有照片时隐藏） */
.agent-avatar .avatar-text {
  position: relative; z-index: 1; pointer-events: none;
}
.agent-avatar.has-photo .avatar-text { display: none; }
.agent-avatar.has-photo { background: rgba(0,0,0,.04); }
.agent-avatar.has-photo::before { display: none; }

/* 上传提示蒙层 */
.agent-avatar .avatar-edit {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  background: rgba(31,36,70,.55); color: #fff; font-size: 11px; font-weight: 700;
  opacity: 0; transition: opacity .25s; border-radius: inherit;
  backdrop-filter: blur(6px);
  z-index: 2; pointer-events: none;
}
.agent-avatar:hover .avatar-edit,
.agent-avatar:focus-visible .avatar-edit { opacity: 1; }
.agent-avatar.has-photo .avatar-edit { background: rgba(31,36,70,.6); }
.avatar-edit svg { width: 20px; height: 20px; }
.agent-avatar:focus-visible { outline: 3px solid rgba(139,92,246,.5); outline-offset: 2px; }

/* 头像上传提示 toast */
.avatar-toast {
  position: fixed; left: 50%; bottom: 110px; z-index: 96;
  transform: translateX(-50%) translateY(12px); opacity: 0;
  max-width: 340px; padding: 11px 18px; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 700; text-align: center;
  background: rgba(31,36,70,.86);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--sh-lg);
  pointer-events: none; transition: .25s ease;
}
.avatar-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.avatar-toast.ok { background: rgba(0,185,107,.92); }
.avatar-toast.err { background: rgba(239,79,154,.92); }

/* 智能体头像渐变变体 */
.grad-1 { background: linear-gradient(135deg,#6ee7f9,#3b82f6); }
.grad-2 { background: linear-gradient(135deg,#60a5fa,#4f46e5); }
.grad-3 { background: linear-gradient(135deg,#8b5cf6,#a855f7); }
.grad-4 { background: linear-gradient(135deg,#a855f7,#e879f9); }
.grad-5 { background: linear-gradient(135deg,#6ee7f9,#7dd3fc); }
.grad-6 { background: linear-gradient(135deg,#00b96b,#52c41a); }
.grad-7 { background: var(--grad); }
.grad-8 { background: linear-gradient(135deg,#faad14,#e879f9); }

.agent-card h3 { font-size: 18px; font-weight: 800; color: var(--t1); margin-bottom: 6px; }
.agent-one { font-size: 13px; color: #5b43d6; font-weight: 700; margin-bottom: 10px; line-height: 1.5; }
.agent-desc { font-size: 13.5px; color: var(--t3); line-height: 1.7; margin-bottom: 14px; flex: 1; }
.agent-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.agent-tags span {
  font-size: 11px; font-weight: 700; color: #6250c8;
  background: rgba(255,255,255,.58);
  padding: 4px 10px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.82);
}

/* ===== 协同作战流程 ===== */
.flow-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.flow-chain {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--r-xl);
  padding: 32px 28px; box-shadow: var(--sh-lg); position: relative;
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
.flow-node {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(96,165,250,.08), rgba(168,85,247,.08));
  transition: all .25s;
}
.flow-node:hover { background: var(--grad-soft); transform: translateX(6px); }
.fn-idx {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(99,102,241,.24);
}
.fn-text { font-size: 15px; font-weight: 700; color: var(--t2); }
.flow-node-final { background: var(--grad); }
.flow-node-final .fn-idx { background: rgba(255,255,255,.25); }
.flow-node-final .fn-text { color: #fff; }
.flow-arrow { text-align: center; color: var(--blue-light); font-size: 16px; line-height: 1; margin: 4px 0; opacity: .7; }

.flow-values { display: flex; flex-direction: column; gap: 14px; }
.fv-item {
  font-size: 16px; font-weight: 800; color: var(--t1);
  padding: 16px 20px; border-radius: 16px;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-left: 4px solid var(--blue);
  box-shadow: var(--sh-md); transition: all .25s;
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
.fv-item:nth-child(2) { border-left-color: var(--purple); }
.fv-item:nth-child(3) { border-left-color: var(--violet); }
.fv-item:nth-child(4) { border-left-color: var(--green); }
.fv-item:nth-child(5) { border-left-color: var(--magenta); }
.fv-item:hover { transform: translateX(8px); box-shadow: var(--sh-lg); }

/* ===== 企业场景 ===== */
.scenes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--r-lg);
  padding: 26px 24px; transition: all .3s;
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: rgba(255,255,255,.9); }
.scene-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.scene-emoji {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.78);
}
.scene-head h3 { font-size: 18px; font-weight: 800; color: var(--t1); }
.scene-pain { font-size: 14px; color: var(--t3); line-height: 1.7; margin-bottom: 16px; }
.scene-rec { font-size: 12px; font-weight: 800; color: #5b43d6; margin-bottom: 10px; letter-spacing: 1px; }

/* ===== 四步召唤 ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px;
  background: var(--grad); opacity: .3;
}
.step-card {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: var(--r-lg);
  padding: 30px 22px; text-align: center; position: relative; z-index: 1; transition: all .3s;
  box-shadow: var(--sh-lg);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(99,102,241,.32), inset 0 1px 0 rgba(255,255,255,.5); position: relative;
}
.step-num::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: var(--grad); filter: blur(14px); opacity: .4; z-index: -1; }
.step-card h3 { font-size: 17px; font-weight: 800; color: var(--t1); margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--t3); line-height: 1.7; }

/* ===== 作战看板（暗色 + 玻璃） ===== */
.dashboard-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 1;
}
.kpi-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  padding: 22px 20px; transition: all .3s;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.kpi-card:hover { transform: translateY(-4px); border-color: rgba(168,85,247,.45); box-shadow: 0 14px 32px rgba(99,102,241,.22); }
.kpi-num { font-size: 32px; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -1px; }
.kpi-num .grad-text, .kpi-num .grad-text-light { display: inline; }
.kpi-label { font-size: 12.5px; color: #9aa6d6; margin-top: 10px; }
.kpi-trend .trend-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; margin-top: 12px; }
.trend-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #6ee7f9, #a855f7); opacity: .85; transition: opacity .3s; }
.kpi-card:hover .trend-bars span { opacity: 1; }

/* ===== 合作表单 ===== */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-left { padding-top: 8px; }
.contact-left h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 900; line-height: 1.25; color: var(--t1); margin: 14px 0 16px; }
.contact-bullets { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-bullets li {
  position: relative; padding-left: 28px; font-size: 15px; color: var(--t2); font-weight: 600;
}
.contact-bullets li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 6px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-form {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.82);
  border-radius: var(--r-xl2);
  padding: 32px 30px; box-shadow: var(--sh-xl);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-full { grid-column: 1 / -1; }
.field > span, .field-label { font-size: 13px; font-weight: 700; color: var(--t2); }
.field em { color: #ef4f9a; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
  padding: 12px 16px; border: 1.5px solid rgba(98,116,180,.18); border-radius: 12px;
  font-size: 14px; color: var(--t1); background: rgba(255,255,255,.62); transition: all .2s; outline: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.field input::placeholder, .field textarea::placeholder { color: var(--t5); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--purple); background: rgba(255,255,255,.9); box-shadow: 0 0 0 3px rgba(139,92,246,.16);
}
.field textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; font-size: 13px; font-weight: 700;
  border-radius: 999px; border: 1.5px solid rgba(98,116,180,.18); color: var(--t3);
  transition: all .2s; background: rgba(255,255,255,.58); user-select: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.chip:hover span { border-color: var(--purple); color: #5b43d6; }
.chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--sh-grad); }
.chip-all span { background: linear-gradient(135deg,#faad14,#e879f9); color: #fff; border-color: transparent; }
.chip-all input:checked + span { background: var(--grad); box-shadow: var(--sh-grad); }
.form-note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-size: 14px; text-align: center; font-weight: 600; }
.form-note.ok { background: rgba(0,185,107,.12); color: #007a47; border: 1px solid rgba(0,185,107,.3); }
.form-note.err { background: rgba(239,79,154,.1); color: #c12d6a; border: 1px solid rgba(239,79,154,.3); }
#submitBtn.loading { opacity: .7; pointer-events: none; }
#submitBtn.loading::before {
  content: ''; display: inline-block; width: 14px; height: 14px; margin-right: 8px;
  border: 2px solid #fff; border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite;
}

/* ===== 头像管理面板 ===== */
.avatar-manager {
  position: fixed; right: 22px; bottom: 100px; z-index: 95;
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: all .3s;
}
.avatar-manager.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.am-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 14px; font-size: 12px; font-weight: 700;
  background: var(--glass); color: #5b43d6;
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--sh-md);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  transition: all .2s;
}
.am-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); color: #4f46e5; }
.am-btn.danger { color: #c12d6a; }
.am-btn svg { width: 14px; height: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-dark); color: #a8b0d0; padding: 64px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; top: -120px; left: 20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,.16), transparent 70%); border-radius: 50%;
}
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; padding-bottom: 48px; position: relative; z-index: 1; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-slogan { font-size: 14px; line-height: 1.8; color: #8a92b8; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: .5px; }
.footer-col a { display: block; font-size: 13px; color: #8a92b8; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: #c4a6ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; position: relative; z-index: 1; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-size: 12.5px; color: #6a7299; }
.footer-tagline { color: #8a92b8 !important; }

/* ===== 悬浮 CTA ===== */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 70px; height: 70px; border-radius: 24px;
  background: var(--grad); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1.2; box-shadow: 0 16px 34px rgba(99,102,241,.4), inset 0 1px 0 rgba(255,255,255,.52);
  transition: all .3s; opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
}
.fab.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 22px 44px rgba(99,102,241,.5), inset 0 1px 0 rgba(255,255,255,.52); }

/* ===== 动画 ===== */
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .6; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* cc-agent 浮动保留环绕定位 */
.cc-agent:nth-child(1) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(2) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(3) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(4) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(5) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(6) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(7) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }
.cc-agent:nth-child(8) { animation: floatY 4s ease-in-out infinite; animation-delay: var(--d); }

/* 进入视口动画 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.step-card.reveal { transition-delay: calc(var(--i) * 140ms); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .agents-grid { grid-template-columns: repeat(3, 1fr); }
  .scenes-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .hero-inner { gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .nav-inner { height: 56px; }
  .main-nav {
    position: fixed; top: 56px; left: 0; right: 0; flex-direction: column;
    background: rgba(255,255,255,.92); backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    padding: 16px 24px; gap: 4px; border-bottom: 1px solid rgba(98,116,180,.14);
    transform: translateY(-120%); transition: transform .3s; box-shadow: var(--sh-lg);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 14px; }
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-gradient { padding: 9px 18px; font-size: 13px; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 56px; }
  .hero-visual { order: -1; max-width: 420px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 26px; }

  .pain-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .scenes-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding-bottom: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .fab { width: 60px; height: 60px; font-size: 11px; right: 16px; bottom: 16px; border-radius: 20px; }
  .avatar-manager { right: 16px; bottom: 90px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 24px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .cc-agent { width: 64px; }
  .cc-avatar { width: 40px; height: 40px; font-size: 15px; }
  .cc-name { font-size: 10px; }
  .fab { display: none; }
  .agent-avatar { width: 64px; height: 64px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
