/* ===== 山西云智时代科技有限公司 · 官网样式（AI 时代科技风 / AI Tech） ===== */
/* 字体：采用系统字体栈，避免外部 CDN（Google Fonts 在大陆常被墙且 @import 阻塞首屏）。
   若本机装有 Space Grotesk / JetBrains Mono 会优先使用，否则回退到系统字体，零额外请求。 */

:root {
  --bg: #0a0f1a;            /* 深空午夜蓝 */
  --bg-2: #0e1524;         /* 深一档黑块 */
  --bg-soft: #121b2e;      /* 卡片/浅一档底 */
  --glass: rgba(16, 26, 46, .72);
  --ink: #f8fafc;          /* 主文字（ crisp 白） */
  --text: #dbeafe;
  --muted: #8da6c7;        /* 次级文字 */
  --cyan: #38bdf8;         /* 电光青（主强调） */
  --blue: #3b82f6;         /* 电光蓝 */
  --violet: #8b5cf6;       /* 靛蓝紫 */
  --indigo: #6366f1;       /* 靛蓝 */
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --line: rgba(56, 189, 248, .18);   /* 青蓝细线 */
  --line-soft: rgba(148, 163, 184, .10);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.35), 0 16px 40px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.55);
  --glow-cyan: 0 0 22px rgba(56,189,248,.35);
  --glow-violet: 0 0 22px rgba(139,92,246,.3);
  --container: 1160px;
  --header-h: 70px;
  --font-display: "Space Grotesk", "Manrope", system-ui, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-head: system-ui, "PingFang SC", "Microsoft YaHei", "Segoe UI", "Noto Sans SC", "Manrope", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}
/* 全局 AI 光晕 + 极淡网格 */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(59,130,246,.13), transparent 60%),
    radial-gradient(820px 480px at 92% 4%, rgba(139,92,246,.10), transparent 60%),
    radial-gradient(700px 600px at 50% 120%, rgba(56,189,248,.09), transparent 60%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(56,189,248,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, transparent 30%, #000 70%);
  mask-image: radial-gradient(circle at 50% 0%, transparent 30%, #000 70%);
  opacity: .7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons（电光蓝渐变 + 微光） ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: all .22s ease; white-space: nowrap;
  font-family: var(--font-head); position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #07111f; font-weight: 700; box-shadow: var(--glow-cyan);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(56,189,248,.5); }
.btn-ghost { background: rgba(56,189,248,.08); color: var(--cyan); border-color: rgba(56,189,248,.3); }
.btn-ghost:hover { background: rgba(56,189,248,.16); box-shadow: var(--glow-cyan); }
.btn-outline { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan); }
.btn-text { background: transparent; color: var(--muted); padding: 12px 14px; }
.btn-text:hover { color: var(--cyan); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ===== Header（毛玻璃深色 + 青蓝下划线） ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(10,15,26,.72); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft); transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 40px rgba(0,0,0,.45); border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; white-space: nowrap; flex: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: block; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56,189,248,.45));
}
.brand-name { font-size: 19px; letter-spacing: .5px; display: flex; flex-direction: column; gap: 6px; line-height: 1.1; font-family: var(--font-head); }
.brand-name small { font-size: 10px; letter-spacing: 3px; color: var(--cyan); font-weight: 600; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 16px; border-radius: 999px; font-size: 15px; color: var(--muted); font-weight: 500; transition: all .18s ease; font-family: var(--font-head); position: relative;
  white-space: nowrap; flex: none;   /* 导航项永不折行、不被压缩（编辑模式多按钮时防挤成两行） */
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--cyan); background: rgba(56,189,248,.1); box-shadow: inset 0 0 0 1px var(--line); }
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header-actions .btn { padding: 9px 14px; font-size: 14px; white-space: nowrap; flex: none; }
.header-actions .btn-text { padding: 9px 8px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* 中等宽度：登录态头部按钮多（运营看板/会员中心/退出/退出编辑），自动收紧防溢出 */
@media (max-width: 1280px) {
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 17px; }
  .nav { gap: 2px; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 8px 11px; font-size: 13px; }
  .header-actions .btn-text { padding: 8px 6px; }
}

/* ===== Hero（深空蓝 + 高对比标题 + 克制光晕） ===== */
.hero {
  position: relative; overflow: hidden;
  background: transparent; color: var(--ink);
  padding: 120px 0 110px;
}
.hero::after {
  content: ""; position: absolute; top: -12%; right: -20%; width: 380px; height: 380px; z-index: 0;
  background: radial-gradient(circle, rgba(59,130,246,.13), transparent 65%);
  filter: blur(48px); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--ink); font-size: 58px; letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 22px; font-weight: 800;
  text-shadow: none;
}
.hero h1 .hl {
  color: var(--cyan);
  background: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-weight: 900;
}
.hero .sub { font-size: 19px; color: var(--text); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 52px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .num {
  font-family: var(--font-mono); font-size: 40px; font-weight: 700; color: var(--cyan);
  letter-spacing: -1px;
  --odo-h: 1.12em;
}
.hero-stats .lbl { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ===== 数字轮动（odometer 数字位翻滚） ===== */
.odo {
  display: inline-flex; align-items: flex-start; vertical-align: top;
  /* 发光放在裁切层外侧，避免被 overflow 切掉 */
  filter: drop-shadow(0 0 14px rgba(56,189,248,.45));
}
.odo-d {
  display: block; overflow: hidden; height: var(--odo-h, 1.12em);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 15%, #000 85%, transparent 100%);
}
.odo-track {
  display: flex; flex-direction: column;
  transform: translateY(0);
  /* 速度按元素注入（--odo-dur / --odo-ease），未注入时用默认档 */
  transition: transform var(--odo-dur, 1.1s) var(--odo-ease, cubic-bezier(.25, 1.06, .3, 1));
  will-change: transform;
}
.odo-track > i {
  display: block; height: var(--odo-h, 1.12em); line-height: var(--odo-h, 1.12em);
  font-style: normal; text-align: center;
}
.odo-suffix {
  display: block; height: var(--odo-h, 1.12em); line-height: var(--odo-h, 1.12em);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: rgba(56,189,248,.08); border: 1px solid var(--line);
  font-size: 13px; color: var(--cyan); margin-bottom: 24px; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: .5px;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(56,189,248,.18), 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section.soft { background: rgba(14,21,36,.5); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section.dark {
  position: relative; color: var(--ink);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(700px 320px at 90% 100%, rgba(139,92,246,.08), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section.dark h2 { color: var(--ink); }
.section.dark .lead { color: var(--muted); }
.section.dark .btn-outline { color: var(--ink); border-color: var(--line); }
.section.dark .btn-outline:hover { color: var(--cyan); border-color: var(--cyan); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; font-family: var(--font-mono); }
.section-head h2 { font-size: 36px; margin: 12px 0 14px; letter-spacing: -.02em; text-shadow: none; }
.section-head p { color: var(--muted); font-size: 17px; }

/* 编号区块 01 / 02 / 03（科技等宽） */
.section-index {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px;
  display: flex; align-items: center; gap: 14px;
}
.section-index::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); max-width: 70px; }

/* ===== Cards / Grid（玻璃 + 青蓝边框 + 悬浮辉光） ===== */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(135deg, rgba(56,189,248,.45), transparent 40%, transparent 60%, rgba(139,92,246,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .22s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-lg), var(--glow-cyan); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(56,189,248,.1); color: var(--cyan); margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 22px;
}
.card h3 { font-size: 19px; color: var(--ink); }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ===== Feature / About ===== */
.lead { font-size: 18px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split h2 { font-size: 34px; text-shadow: none; }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(56,189,248,.12); color: var(--cyan); display: grid; place-items: center; font-weight: 700; font-size: 13px; box-shadow: var(--glow-cyan); }
.panel {
  background: var(--glass); color: var(--ink); border-radius: var(--radius);
  padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.panel::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.panel h3 { color: var(--ink); font-size: 22px; }
.panel ul { list-style: none; padding: 0; margin: 18px 0 0; }
.panel li { padding: 11px 0; color: var(--text); display: flex; gap: 10px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.panel li:last-child { border-bottom: none; }
.panel li::before { content: "▹"; color: var(--cyan); }

/* ===== Timeline（青蓝节点 + 等宽年份） ===== */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); }
.timeline .item { position: relative; padding: 0 0 28px; }
.timeline .item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 3px var(--cyan), 0 0 14px var(--cyan); }
.timeline .yr { font-family: var(--font-mono); font-weight: 700; color: var(--cyan); letter-spacing: .5px; text-shadow: 0 0 12px rgba(56,189,248,.35); }
.timeline h4 { margin: 4px 0 6px; color: var(--ink); }
.timeline p { color: var(--muted); margin: 0; font-size: 15px; }

/* ===== Contact ===== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.info-card { background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.info-card .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.info-card .row:last-child { border-bottom: none; }
.info-card .ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(56,189,248,.1); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--line); }
.info-card .k { font-size: 13px; color: var(--muted); }
.info-card .v { font-size: 16px; color: var(--ink); font-weight: 600; }
.map-box { margin-top: 18px; height: 180px; border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); font-size: 14px; border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(56,189,248,.07), rgba(139,92,246,.05)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(56,189,248,.04) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(56,189,248,.04) 23px 24px),
    var(--bg-soft);
}

/* ===== Forms（青蓝聚焦） ===== */
.form { background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field .req { color: var(--violet); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: rgba(0,0,0,.22); transition: border .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #5f7a9c; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.15), var(--glow-cyan);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert.ok { background: rgba(56,189,248,.1); color: var(--cyan); border: 1px solid rgba(56,189,248,.35); }
.alert.err { background: rgba(139,92,246,.1); color: #c4b5fd; border: 1px solid rgba(139,92,246,.35); }

/* ===== Auth（深色 AI 登录） ===== */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-aside { color: var(--ink); padding: 60px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #07111f, #0d0d26); }
.auth-aside::before { content:""; position:absolute; inset:0; background:
  radial-gradient(600px 360px at 85% 5%, rgba(56,189,248,.32), transparent 60%),
  radial-gradient(560px 360px at 10% 95%, rgba(139,92,246,.24), transparent 60%); }
.auth-aside::after { content:""; position:absolute; inset:0; background-image:
  linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%); }
.auth-aside > * { position: relative; }
.auth-aside h2 { color: var(--ink); font-size: 30px; }
.auth-aside p { color: var(--muted); }
.auth-aside ul { list-style: none; padding: 0; margin: 24px 0 0; }
.auth-aside li { padding: 10px 0; color: var(--text); display: flex; gap: 10px; }
.auth-aside li::before { content: "✓"; color: var(--cyan); font-weight: 700; text-shadow: 0 0 12px var(--cyan); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 50px 40px; background: var(--bg); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 26px; }
.auth-card .sub { color: var(--muted); margin-bottom: 24px; }
.tabs { display: flex; gap: 6px; background: rgba(255,255,255,.04); padding: 5px; border-radius: 999px; margin-bottom: 22px; border: 1px solid var(--line-soft); }
.tabs button { flex: 1; border: none; background: none; padding: 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .18s; font-family: var(--font-head); }
.tabs button.active { background: rgba(56,189,248,.14); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--line); }
.auth-pane { display: none; }
.auth-pane.active { display: block; }
.link-btn { background: none; border: none; color: var(--cyan); cursor: pointer; font-size: 14px; padding: 0; }
.hint { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }

/* ===== Account ===== */
.account-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 30px; }
.account-side { background: var(--glass); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); backdrop-filter: blur(8px); text-align: center; height: fit-content; }
.avatar { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--cyan), var(--violet)); display: grid; place-items: center; color: #07111f; font-size: 38px; font-weight: 700; overflow: hidden; border: 3px solid rgba(56,189,248,.5); box-shadow: var(--glow-cyan); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-side .email { font-weight: 600; word-break: break-all; color: var(--ink); }
.account-side .uid { font-size: 12px; color: var(--muted); margin-top: 4px; font-family: var(--font-mono); }
.account-main .card { margin-bottom: 22px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); color: var(--muted); padding: 64px 0 26px; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer h4 { color: var(--ink); font-size: 15px; margin-bottom: 16px; letter-spacing: .5px; }
.site-footer a { display: block; color: var(--muted); padding: 5px 0; font-size: 14px; transition: color .18s; }
.site-footer a:hover { color: var(--cyan); text-shadow: 0 0 12px rgba(56,189,248,.35); }
.footer-about { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 280px; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 22px; font-size: 13px; color: var(--muted); text-align: center; font-family: var(--font-mono); letter-spacing: .5px; }
.footer-bottom a { display: inline; color: var(--muted); text-shadow: none; }
.footer-bottom a:hover { color: var(--cyan); }

/* ===== Misc ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(56,189,248,.1); color: var(--cyan); font-size: 12px; font-weight: 600; margin-bottom: 10px; border: 1px solid var(--line); font-family: var(--font-mono); }
.case-card .cover { height: 150px; border-radius: var(--radius-sm); margin-bottom: 16px; display: grid; place-items: center; color: #07111f; font-size: 20px; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--violet)); box-shadow: var(--glow-cyan); }
.case-card .cat { font-size: 12px; color: var(--cyan); font-weight: 700; font-family: var(--font-mono); }
.case-card h3 { font-size: 18px; margin: 6px 0; color: var(--ink); }
.case-card p { color: var(--muted); font-size: 14px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap, .account-wrap, .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* 中等偏窄：隐藏次要入口「会员中心」（仍可通过 account.html / 运营看板到达），给导航让位 */
@media (max-width: 1080px) {
  .header-actions .btn-ghost[href="account.html"] { display: none; }
}

/* 平板宽度：提前切换为汉堡菜单，避免导航与按钮互相挤压 */
@media (max-width: 880px) {
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: rgba(10,15,26,.96); backdrop-filter: blur(16px); padding: 12px; box-shadow: var(--shadow); display: none; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  [data-theme="light"] .nav { background: rgba(255,255,255,.97); }
}

@media (max-width: 640px) {
  .hero { padding: 84px 0 76px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 32px; }
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; background: rgba(10,15,26,.96); backdrop-filter: blur(16px); padding: 12px; box-shadow: var(--shadow); display: none; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   动态动效层（光标 / 揭示 / 字带 / 聚光 / Hero 装饰）
   ============================================================ */

/* ---- Lenis 平滑滚动辅助（CDN 加载时由 lenis.css 提供，这里兜底） ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---- 自定义跟随光标 ---- */
.cursor-dot, .cursor-ring {
  position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9999; border-radius: 50%;
  will-change: transform; opacity: 1; transition: opacity .25s ease;
}
.cursor-dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.cursor-ring {
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1.5px solid rgba(56,189,248,.55); mix-blend-mode: screen;
  transition: width .22s ease, height .22s ease, margin .22s ease, border-color .22s ease, background .22s ease;
}
.cursor-ring.active {
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-color: var(--violet); background: rgba(139,92,246,.10);
}
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---- 滚动揭示变体（默认上浮；支持 data-reveal=blur|scale|left|right；错落用 --d） ---- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-reveal="blur"] { filter: blur(14px); transform: translateY(28px) scale(.97); }
.reveal[data-reveal="scale"] { transform: scale(.9); }
.reveal[data-reveal="left"] { transform: translateX(-46px); }
.reveal[data-reveal="right"] { transform: translateX(46px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- 顶部滚动进度条 ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 12px rgba(56,189,248,.5);
}

/* ---- 卡片聚光（光标跟随的霓虹光斑） ---- */
.has-spot { position: relative; }
.has-spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(56,189,248,.14), transparent 60%);
}
.has-spot:hover::after { opacity: 1; }

/* ---- 无限滚动字带（marquee） ---- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(14,21,36,.55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--muted);
  padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; letter-spacing: .5px;
}
.marquee-track span::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
.marquee-track .hl { color: var(--cyan); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Hero 装饰（视差霓虹环，随滚动 + 呼吸光） ---- */
.hero-shape { position: absolute; z-index: 0; pointer-events: none; }
.hero-shape.s1 {
  width: 260px; height: 260px; right: 6%; top: 14%; border-radius: 50%;
  border: 1.5px solid rgba(56,189,248,.28);
  animation: shapeGlow 4.5s ease-in-out infinite;
}
.hero-shape.s2 {
  width: 130px; height: 130px; right: 26%; top: 62%;
  border: 1.5px solid rgba(139,92,246,.24); border-radius: 14px;
  animation: shapeGlow 5.5s ease-in-out infinite reverse;
}
@keyframes shapeGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(56,189,248,.08); }
  50% { box-shadow: 0 0 52px rgba(56,189,248,.18); }
}
.hero .container { position: relative; z-index: 1; }

/* ============================================================
   云智时代官网 · 扩展样式（P4–P12）
   含：主题切换 / 明暗双主题 / 客服窗口 / 洞察 / 案例 / 下载 /
       运营看板 / 留言管理 / 信任墙 / 404
   ============================================================ */

/* ---------- 页头右侧 ---------- */
.header-right { display: flex; align-items: center; gap: 6px; flex: none; }
.theme-toggle {
  width: 38px; height: 38px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; cursor: pointer; color: var(--muted);
  background: rgba(56,189,248,.06); border: 1px solid var(--line-soft);
  transition: all .2s ease;
}
.theme-toggle:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }

/* ---------- 明暗主题：浅色覆盖 ---------- */
[data-theme="light"] {
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --bg-soft: #ffffff;
  --glass: rgba(255,255,255,.82);
  --ink: #0b1524;
  --text: #26364d;
  --muted: #5d6d84;
  --line: rgba(37,99,235,.20);
  --line-soft: rgba(15,23,42,.09);
  --cyan: #0284c7;
  --blue: #2563eb;
  --violet: #7c3aed;
  --accent: #0284c7;
  --accent-2: #6366f1;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 16px 40px rgba(15,23,42,.10);
  --shadow-lg: 0 30px 80px rgba(15,23,42,.14);
  --glow-cyan: 0 0 18px rgba(2,132,199,.22);
}
[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(820px 480px at 92% 4%, rgba(99,102,241,.08), transparent 60%),
    radial-gradient(700px 600px at 50% 120%, rgba(2,132,199,.06), transparent 60%),
    var(--bg);
}
[data-theme="light"] body::after {
  background-image:
    linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);
}
[data-theme="light"] .site-header { background: rgba(255,255,255,.80); }
[data-theme="light"] .card { background: #ffffff; }
[data-theme="light"] .btn-primary { color: #ffffff; }
[data-theme="light"] .btn-outline { background: #ffffff; }
/* 无限滚动字带：浅色模式下换成浅底，避免深灰字压深色底不可见 */
[data-theme="light"] .marquee { background: rgba(255,255,255,.60); }
/* 深色块在浅色主题下保持深底浅字 */
[data-theme="light"] .section.dark { background: #0b1524; }
[data-theme="light"] .section.dark h1,
[data-theme="light"] .section.dark h2,
[data-theme="light"] .section.dark h3 { color: #ffffff; }
[data-theme="light"] .section.dark p,
[data-theme="light"] .section.dark .section-index { color: #a9bcd4; }
[data-theme="light"] .site-footer { background: #0b1524; }
[data-theme="light"] .site-footer h4 { color: #ffffff; }
[data-theme="light"] .site-footer a,
[data-theme="light"] .site-footer .footer-about,
[data-theme="light"] .site-footer .brand-name,
[data-theme="light"] .site-footer .brand-name small { color: #b9c9dd; }
[data-theme="light"] .site-footer .footer-bottom { color: #8fa3bb; }
/* 次级区块（.section.soft）：半透明深底在浅色下会叠成中灰底、深灰字不可读，改为浅灰蓝底 */
[data-theme="light"] .section.soft { background: #edf1f8; }
/* 移动端折叠导航菜单：深底配深色字不可读，浅色下换浅底 */
@media (max-width: 640px) {
  [data-theme="light"] .nav { background: rgba(255,255,255,.97); }
}

/* ---------- 筛选 chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-family: var(--font-head);
  background: transparent; color: var(--muted); border: 1px solid var(--line-soft); transition: all .2s ease;
}
.chip:hover { color: var(--cyan); border-color: var(--cyan); }
.chip.active { background: rgba(56,189,248,.12); color: var(--cyan); border-color: var(--cyan); }

/* ---------- 洞察卡片 ---------- */
.insight-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.insight-cover {
  height: 120px; display: flex; align-items: flex-end; padding: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.9);
}
.insight-body { padding: 20px 22px 24px; }
.insight-card h3 { margin: 6px 0 10px; font-size: 19px; }
.insight-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.insight-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }

/* ---------- 文章 / 案例详情 ---------- */
.article { max-width: 780px; margin: 0 auto; }
.article-head { margin-bottom: 26px; }
.eyeTag {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px;
  color: var(--cyan); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.article-head h1 { font-size: 34px; line-height: 1.25; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13.5px; font-family: var(--font-mono); }
.article-body { font-size: 16.5px; line-height: 1.95; color: var(--text); }
.article-body h2 { font-size: 23px; margin: 34px 0 14px; }
.article-body h3 { font-size: 19px; margin: 26px 0 12px; }
.article-body p { margin: 0 0 18px; }
.article-body ul { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 8px; }
.article-body code {
  font-family: var(--font-mono); font-size: 14px; background: rgba(56,189,248,.10);
  color: var(--cyan); padding: 2px 7px; border-radius: 5px;
}
.article-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.case-hero {
  height: 150px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#0ea5e9,#6366f1); color: rgba(255,255,255,.95);
  font-family: var(--font-mono); letter-spacing: 2px; margin-bottom: 24px;
}
.case-summary { font-size: 18px; color: var(--ink); font-weight: 500; margin-bottom: 22px; }
.case-more { display: inline-block; margin-top: 12px; color: var(--cyan); font-size: 13.5px; font-family: var(--font-mono); }

/* ---------- 下载中心 ---------- */
.doc-card { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.doc-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(56,189,248,.10); color: var(--cyan); border: 1px solid var(--line);
}
.doc-main { flex: 1 1 auto; min-width: 0; }
.doc-main h3 { margin: 4px 0 6px; font-size: 18px; }
.doc-main p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.doc-meta { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.doc-dl { flex: none; }

/* ---------- 运营看板 ---------- */
.dash-tabs { display: flex; gap: 8px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.dash-tab {
  background: transparent; border: 0; cursor: pointer; padding: 12px 18px; font-size: 15px;
  color: var(--muted); font-family: var(--font-head); font-weight: 600;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.dash-tab:hover { color: var(--cyan); }
.dash-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.stat-num { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--ink); line-height: 1.1; }
.stat-num.accent { color: var(--cyan); }
.stat-lbl { color: var(--muted); font-size: 13px; margin-top: 6px; }
.trend { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding-top: 16px; }
.trend-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.trend-bar { width: 100%; max-width: 46px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--cyan), var(--indigo)); min-height: 3px; }
.trend-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.trend-l { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }

/* ---------- 留言管理 ---------- */
.msg-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.msg-item {
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
  background: var(--bg-soft); transition: border-color .2s ease;
}
.msg-item.unread { border-color: var(--line); box-shadow: inset 3px 0 0 var(--cyan); }
.msg-top { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.msg-who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-co { color: var(--muted); font-size: 13px; }
.msg-time { color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); }
.msg-contact { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 8px; font-size: 13.5px; font-family: var(--font-mono); }
.msg-contact a { color: var(--cyan); }
.msg-att { color: var(--violet); }
.msg-body { margin: 0 0 12px; color: var(--text); white-space: pre-wrap; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 4px; }
.tag-status {
  display: inline-block; font-size: 11.5px; font-family: var(--font-mono); padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--muted);
}
.tag-status.new { color: var(--cyan); border-color: var(--cyan); }
.tag-status.done { color: var(--muted); }
.uid-box {
  display: flex; align-items: center; gap: 10px; margin-top: 12px;
  background: rgba(56,189,248,.07); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
}
.uid-box code { font-family: var(--font-mono); color: var(--cyan); word-break: break-all; }

/* ---------- 信任墙 / 资质（P10） ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-item {
  height: 84px; border-radius: var(--radius-sm); border: 1px solid var(--line-soft);
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: .5px; transition: all .22s ease;
}
.logo-item:hover { color: var(--cyan); border-color: var(--cyan); transform: translateY(-3px); }
.qual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qual-card { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.qual-card .q-badge {
  width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(56,189,248,.10); color: var(--cyan); border: 1px solid var(--line); margin-bottom: 14px;
}
.qual-card h4 { margin-bottom: 6px; }
.qual-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- 404 ---------- */
.err-code {
  font-family: var(--font-mono); font-size: 96px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

/* ---------- 智能客服窗口（P5） ---------- */
.chat-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; cursor: pointer; border: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--indigo)); color: #07111f;
  box-shadow: 0 10px 30px rgba(56,189,248,.45); transition: transform .2s ease;
}
.chat-fab:hover { transform: translateY(-2px) scale(1.04); }
.chat-fab.active { transform: rotate(90deg) scale(.95); }
.chat-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 200;
  width: 370px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 140px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none; transition: all .22s ease;
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.chat-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft); background: linear-gradient(135deg, rgba(56,189,248,.10), rgba(99,102,241,.08));
}
.chat-head-title { display: flex; align-items: center; gap: 10px; }
.chat-head-title strong { display: block; color: var(--ink); font-size: 15px; }
.chat-head-title small { color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 10px #22c55e; flex: none; }
.chat-close { background: transparent; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-close:hover { color: var(--cyan); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { display: flex; }
.chat-msg.user { justify-content: flex-end; }
.chat-msg.user > * {
  background: linear-gradient(135deg, var(--cyan), var(--indigo)); color: #07111f;
  padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 84%;
  font-size: 14.5px; white-space: pre-wrap; word-break: break-word;
}
.chat-msg.bot .chat-bubble {
  background: var(--bg-soft); border: 1px solid var(--line-soft); color: var(--text);
  padding: 10px 14px; border-radius: 14px 14px 14px 4px; max-width: 88%;
  font-size: 14.5px; white-space: pre-wrap; word-break: break-word;
}
.chat-notice { color: var(--muted); font-size: 13px; text-align: center; font-family: var(--font-mono); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); }
.chat-input input {
  flex: 1; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 11px 13px; color: var(--text); font-size: 14.5px; font-family: inherit; outline: none;
}
.chat-input input:focus { border-color: var(--cyan); }
.chat-input button {
  border: 0; border-radius: 10px; padding: 0 16px; cursor: pointer; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--indigo)); color: #07111f; font-family: var(--font-head);
}
.chat-input button:disabled { opacity: .5; cursor: not-allowed; }
.chat-stop { background: rgba(244,63,94,.15) !important; color: #fb7185 !important; }
.chat-foot { text-align: center; color: var(--muted); font-size: 11px; padding: 0 12px 10px; }

/* ---------- 内容管理 CMS ---------- */
.cms-subtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cms-subtab {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 999px;
  color: var(--muted); padding: 8px 18px; cursor: pointer; font-size: 14px; font-family: inherit;
  transition: color .2s, border-color .2s, background .2s;
}
.cms-subtab:hover { color: var(--cyan); border-color: var(--cyan); }
.cms-subtab.active { background: rgba(56,189,248,.12); color: var(--cyan); border-color: var(--cyan); }
.cms-count { color: var(--muted); font-size: 13px; align-self: center; font-family: var(--font-mono); }
.cms-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 18px; margin-bottom: 12px;
  background: var(--bg-soft);
}
.cms-row-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cms-row-top strong { font-size: 15.5px; color: var(--text); }
.cms-row-cat { color: var(--cyan); font-size: 12.5px; }
.cms-row-sort { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.cms-row-sub { color: var(--muted); font-size: 13px; margin: 6px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 640px; }
.cms-row-actions { display: flex; gap: 2px; flex-shrink: 0; }
.cms-modal {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: rgba(2,8,20,.68); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px;
}
.cms-modal-card { width: 100%; max-width: 680px; margin: 0 auto; }
.cms-hint { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.5; }
.cms-check { display: flex; align-items: center; gap: 9px; margin: 16px 0; cursor: pointer; color: var(--text); font-size: 14.5px; }
.cms-check input { width: 17px; height: 17px; accent-color: var(--cyan); cursor: pointer; }
.cms-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* ---- 选项卡式选择器（弹层内原生 select 弹窗不可靠，改用并排按钮） ---- */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg-btn {
  padding: 11px 8px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: rgba(0,0,0,.22); color: var(--muted); font-size: 14.5px; font-family: inherit;
  line-height: 1.4; cursor: pointer; text-align: center; white-space: nowrap;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.seg-btn:hover { border-color: rgba(56,189,248,.45); color: var(--ink); }
.seg-btn:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,189,248,.15); }
.seg-btn.on {
  border-color: rgba(56,189,248,.55); background: rgba(56,189,248,.14);
  color: var(--ink); font-weight: 600;
}
.seg-btn.on::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px;
  border-radius: 50%; background: var(--cyan); vertical-align: middle;
}
.seg-off { opacity: .5; }
.seg-btn:disabled { cursor: not-allowed; }
@media (max-width: 520px) {
  .seg-btn { font-size: 13px; padding: 10px 4px; }
  .seg-btn.on::before { display: none; }
}
.field textarea.short { min-height: 0; }

/* ---------- 用户管理 / 系统设置 / 操作日志 ---------- */
.adm-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--bg-soft); }
.adm-table { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 14px; }
.adm-table th { text-align: left; padding: 13px 16px; color: var(--muted); font-weight: 600; font-size: 12.5px; letter-spacing: .03em; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.adm-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--text); vertical-align: middle; }
.adm-table tbody tr:last-child td { border-bottom: 0; }
.adm-table tbody tr:hover { background: rgba(56,189,248,.05); }
.adm-table td strong { color: var(--text); }
.cell-sub { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.cell-dim { color: var(--muted); font-size: 13px; }
.cell-actions { white-space: nowrap; }
.cell-actions .btn { padding: 6px 8px; }
.me-tag { margin-left: 8px; font-size: 11px; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 999px; padding: 1px 7px; }
.badge-role { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-soft); }
.badge-role.admin { color: #f0abfc; border-color: rgba(240,171,252,.5); background: rgba(240,171,252,.1); }
.badge-role.editor { color: var(--cyan); border-color: rgba(56,189,248,.5); background: rgba(56,189,248,.1); }
.badge-role.user { color: var(--muted); }
.badge-state { display: inline-block; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-soft); }
.badge-state.on { color: #6ee7b7; border-color: rgba(110,231,183,.45); }
.badge-state.off { color: #fda4af; border-color: rgba(253,164,175,.45); }
.perm-card { margin-bottom: 20px; }
.perm-grid { margin-top: 6px; }
.perm-table { min-width: 520px; }
.perm-table th, .perm-table td { text-align: center; }
.perm-table th:first-child, .perm-table td:first-child { text-align: left; }
.perm-yes { color: #6ee7b7; font-weight: 700; }
.perm-no { color: var(--muted); }
.live-tag { font-size: 11px; color: #6ee7b7; border: 1px solid rgba(110,231,183,.45); border-radius: 999px; padding: 1px 8px; margin-left: 6px; font-weight: 400; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .qual-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-right { gap: 4px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-card { flex-direction: column; align-items: flex-start; }
  .doc-dl { width: 100%; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 86px; height: 68vh; }
  .chat-fab { right: 16px; bottom: 18px; }
  .trend { gap: 8px; }
  .cms-row { flex-direction: column; align-items: stretch; }
  .cms-row-actions { justify-content: flex-end; }
  .cms-modal { padding: 20px 10px; }
}

/* ===== 可视化版块 · 管理员编辑模式 ===== */
body.blk-editing #pageBlocks .blk-wrap {
  position: relative;
  outline: 1.5px dashed rgba(56, 189, 248, .55);
  outline-offset: 4px;
  border-radius: 10px;
}
body.blk-editing #pageBlocks .blk-wrap.blk-dragging { opacity: .4; }
body.blk-editing #pageBlocks .blk-wrap.blk-drop-before { outline-color: #38bdf8; outline-style: solid; box-shadow: 0 -4px 0 0 #38bdf8; }
body.blk-editing #pageBlocks .blk-wrap.blk-drop-after { outline-color: #38bdf8; outline-style: solid; box-shadow: 0 4px 0 0 #38bdf8; }
body.blk-editing #pageBlocks .blk-wrap.blk-hidden-state { opacity: .35; }
.blk-bar {
  position: absolute; top: 10px; right: 10px; z-index: 30;
  display: none; align-items: center; gap: 6px;
  background: rgba(10, 15, 26, .92); color: #dbeafe;
  border: 1px solid rgba(56, 189, 248, .4); border-radius: 8px;
  padding: 5px 8px; font-size: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
[data-theme="light"] .blk-bar { background: rgba(255,255,255,.96); color: #1e293b; }
body.blk-editing .blk-bar { display: flex; }
.blk-bar .blk-grip { cursor: grab; padding: 2px 5px; letter-spacing: -1px; color: var(--muted); user-select: none; }
.blk-bar .blk-type { color: var(--muted); margin-right: 4px; }
.blk-bar button {
  background: transparent; color: inherit; border: 1px solid rgba(122,150,199,.4);
  border-radius: 6px; padding: 3px 9px; font-size: 12px; cursor: pointer;
}
.blk-bar button:hover { border-color: var(--cyan); color: var(--cyan); }
.blk-bar button.blk-danger:hover { border-color: #f87171; color: #f87171; }
.blk-add {
  display: none; width: 100%; margin: 14px 0; padding: 10px;
  border: 1.5px dashed rgba(56, 189, 248, .45); border-radius: 10px;
  background: transparent; color: var(--muted); font-size: 13px; cursor: pointer;
}
body.blk-editing .blk-add { display: block; }
.blk-add:hover { color: var(--cyan); border-color: var(--cyan); }

/* 编辑模式底部操作条 */
.blk-editbar {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 90; display: none; align-items: center; gap: 10px;
  background: rgba(10, 15, 26, .95); color: #dbeafe;
  border: 1px solid rgba(56, 189, 248, .45); border-radius: 999px;
  padding: 10px 18px; font-size: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.45);
}
[data-theme="light"] .blk-editbar { background: rgba(255,255,255,.97); color: #1e293b; }
body.blk-editing .blk-editbar { display: flex; }
.blk-editbar .btn { padding: 6px 14px; font-size: 13px; }

/* 版块编辑弹窗 */
.blk-modal-mask {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(4, 8, 18, .62); backdrop-filter: blur(3px);
  overflow-y: auto; padding: 6vh 14px 40px;
}
.blk-modal-mask.show { display: block; }
.blk-modal {
  max-width: 640px; margin: 0 auto; background: var(--bg-2, #0e1524); color: var(--text, #dbeafe);
  border: 1px solid rgba(56, 189, 248, .3); border-radius: 14px; padding: 22px 24px;
}
[data-theme="light"] .blk-modal { background: #ffffff; color: #1e293b; border-color: rgba(24,95,165,.35); }
.blk-modal h3 { margin: 0 0 14px; font-size: 16px; }
.blk-modal .fm-row { margin-bottom: 12px; }
.blk-modal label { display: block; font-size: 12.5px; color: var(--muted, #8da6c7); margin-bottom: 5px; }
.blk-modal input[type="text"], .blk-modal textarea, .blk-modal select {
  width: 100%; box-sizing: border-box; background: rgba(255,255,255,.05);
  border: 1px solid rgba(122,150,199,.35); border-radius: 8px;
  color: inherit; padding: 8px 10px; font-size: 13.5px; font-family: inherit;
}
[data-theme="light"] .blk-modal input[type="text"],
[data-theme="light"] .blk-modal textarea,
[data-theme="light"] .blk-modal select { background: #f4f7fc; border-color: rgba(24,95,165,.3); }
.blk-modal textarea { min-height: 68px; resize: vertical; }
.blk-item-row {
  display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 8px;
  align-items: center; margin-bottom: 8px;
  border: 1px dashed rgba(122,150,199,.3); border-radius: 8px; padding: 8px;
}
.blk-item-row.blk-strings { grid-template-columns: 1fr auto; }
.blk-item-row input, .blk-item-row select { width: 100%; box-sizing: border-box; }
.blk-item-row .blk-item-del { background: transparent; border: 1px solid rgba(248,113,113,.5); color: #f87171; border-radius: 6px; padding: 5px 9px; cursor: pointer; }
.blk-modal .fm-items-head { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 8px; }
.blk-modal .fm-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---- 模板选择弹窗（点卡片即插入，免配置） ---- */
.blk-modal.tpl-mode { max-width: 720px; }
.blk-tpl-tip { font-size: 12.5px; color: var(--muted, #8da6c7); margin: -6px 0 14px; }
.blk-tpl-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  max-height: 56vh; overflow-y: auto; padding-right: 4px;
}
.blk-tpl-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px;
  align-items: center; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid rgba(122,150,199,.28);
  border-radius: 10px; padding: 12px 14px; color: inherit; font-family: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.blk-tpl-card:hover { border-color: var(--cyan, #38bdf8); background: rgba(56,189,248,.08); transform: translateY(-1px); }
.blk-tpl-ic { grid-row: span 2; color: var(--cyan, #38bdf8); display: flex; }
.blk-tpl-name { font-size: 14px; font-weight: 700; color: var(--ink, #f8fafc); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.blk-tpl-name em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--muted, #8da6c7); }
.blk-tpl-desc { grid-column: 2; font-size: 12px; color: var(--muted, #8da6c7); margin-top: 3px; }
[data-theme="light"] .blk-tpl-card { background: #f6f9fe; border-color: rgba(24,95,165,.22); }
[data-theme="light"] .blk-tpl-card:hover { background: #eaf4ff; }

/* ---- 新版块类型：数据亮点 / 常见问题 / 行动横幅 ---- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; padding: 22px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); }
.stat-item .num { font-family: var(--font-mono); font-size: 34px; font-weight: 700; color: var(--cyan); letter-spacing: -1px; filter: drop-shadow(0 0 12px rgba(56,189,248,.35)); }
.stat-item .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.faq-list { max-width: 820px; }
.faq-item { border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); padding: 14px 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.faq-item summary:hover { color: var(--cyan); }
.faq-item[open] summary { color: var(--cyan); }
.faq-item p { margin: 10px 0 0; color: var(--muted); }
.cta-band {
  text-align: center; padding: 56px 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(56,189,248,.12), rgba(139,92,246,.12));
  border: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }
[data-theme="light"] .cta-band { background: linear-gradient(135deg, rgba(56,189,248,.10), rgba(139,92,246,.08)); }
@media (max-width: 980px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .blk-tpl-grid { grid-template-columns: 1fr; }
}

.blk-toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%);
  z-index: 130; background: rgba(10, 15, 26, .95); color: #dbeafe;
  border: 1px solid rgba(56, 189, 248, .5); border-radius: 999px;
  padding: 9px 18px; font-size: 13px; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.blk-toast.show { opacity: 1; }
.blk-toast.err { border-color: #f87171; color: #fca5a5; }

/* ============================================================
   云智业务架构与能力展示（P13 整改：承接合作方业务能力，脱品牌化呈现）
   ============================================================ */

/* ---- 三层智能架构 ---- */
.layer {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start;
  background: var(--glass); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--cyan); border-radius: var(--radius);
  padding: 24px 24px 24px 20px; box-shadow: var(--shadow); backdrop-filter: blur(8px);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.layer:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-lg), var(--glow-cyan); }
.layer .ln { font-family: var(--font-mono); font-weight: 800; font-size: 22px; color: var(--cyan); line-height: 1.1; filter: drop-shadow(0 0 12px rgba(56,189,248,.35)); }
.layer h3 { font-size: 18px; margin: 0 0 8px; color: var(--ink); }
.layer p { color: var(--muted); font-size: 14.5px; margin: 0; }
.layer .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.layer .tags span { font-size: 12px; color: var(--cyan); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-family: var(--font-mono); }

/* ---- 闭环流程（数据—洞察—决策—行动—反馈） ---- */
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.loop-step {
  text-align: center; background: var(--glass); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 20px 14px; position: relative;
}
.loop-step .n { font-family: var(--font-mono); color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.loop-step h4 { font-size: 16px; margin: 8px 0 6px; color: var(--ink); }
.loop-step p { color: var(--muted); font-size: 13px; margin: 0; }
.loop-step::after {
  content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 18px; opacity: .6;
}
.loop-step:last-child::after { content: ""; }

/* ---- 解决方案卡片（强调可量化效果） ---- */
.sol-card { display: flex; flex-direction: column; }
.sol-card .sol-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sol-card .sol-ic { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(56,189,248,.1); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--line); }
.sol-card h3 { font-size: 18px; margin: 0; color: var(--ink); }
.sol-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.sol-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.sol-metrics .m { flex: 1 1 80px; text-align: center; background: rgba(255,255,255,.02); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 10px 6px; }
.sol-metrics .m .mv { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--cyan); }
.sol-metrics .m .ml { font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* ---- 方法论步骤 ---- */
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.method-steps .ms { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 18px 16px; }
.method-steps .ms .msn { font-family: var(--font-mono); color: var(--cyan); font-weight: 700; font-size: 13px; }
.method-steps .ms h4 { font-size: 15px; margin: 6px 0 6px; color: var(--ink); }
.method-steps .ms p { color: var(--muted); font-size: 13px; margin: 0; }

/* ---- 大数字带（指标） ---- */
.metric-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric-band .mb { text-align: center; padding: 24px 12px; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); }
.metric-band .mb .mn { font-family: var(--font-mono); font-size: 38px; font-weight: 700; color: var(--cyan); letter-spacing: -1px; filter: drop-shadow(0 0 12px rgba(56,189,248,.35)); }
.metric-band .mb .ml { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

@media (max-width: 980px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } .method-steps { grid-template-columns: repeat(2, 1fr); } .metric-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } .metric-band { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ===== 联系我们：真实地图 / 降级卡片 ===== */
.map-box.map-real { height: 340px; padding: 0; display: block; position: relative; overflow: hidden; background: var(--bg-soft); }
.map-canvas { position: absolute; inset: 0; display: none; }
.map-real.map-ready .map-canvas { display: block; }
.map-real.map-ready .map-fallback { display: none; }
.map-fallback {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 22px; text-align: center;
  background:
    linear-gradient(135deg, rgba(56,189,248,.10), rgba(139,92,246,.08)),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(56,189,248,.05) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(56,189,248,.05) 23px 24px),
    var(--bg-soft);
}
.map-pin { width: 38px; height: 38px; color: var(--cyan); filter: drop-shadow(0 0 10px rgba(56,189,248,.45)); }
.map-fallback-info { display: flex; flex-direction: column; gap: 4px; }
.map-fallback-info strong { color: var(--ink); font-size: 15px; font-weight: 600; }
.map-fallback-hint { color: var(--muted); font-size: 13px; }
.map-fallback-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.map-fallback-actions .btn { padding: 8px 16px; font-size: 13.5px; }
@media (max-width: 640px) { .map-box.map-real { height: 260px; } }
