/* ==========================================================================
   中科致远 · 设计系统
   ========================================================================== */

/* ==========================================================================
   中科致远 · 品牌视觉系统（依据《中科致远_品牌提案2》VI 规范）
   --------------------------------------------------------------------------
   DEEP SPACE  #071A34 深色区      OCEAN NAVY   #0B245A 次级深色面
   ENERGY BLUE #0A5CF2 主品牌蓝    DIGITAL CYAN #19D3FF 数字强调色
   MIST        #F4F7FB 浅色内容区
   白蓝双拼：内容区 MIST 浅底 + 深色文字；首屏/页头/CTA/页脚/客服浮窗保留深蓝
   字体：思源黑体 Noto Sans SC Bold / Bahnschrift SemiBold（英文，字距 +14%）
   标志：三折面「能量棱镜 PRISM」
   ========================================================================== */
:root {
  --deep-space: #071A34;
  --ocean-navy: #0B245A;
  --energy-blue: #0A5CF2;
  --digital-cyan: #19D3FF;
  --mist: #F4F7FB;

  --ink: #F4F7FB;          /* 页面主背景 = MIST */
  --ink-2: #FFFFFF;        /* 面板白 */
  --ink-3: #E7EFF9;        /* 悬停面浅蓝 */
  --line: rgba(7, 26, 52, 0.13);
  --line-strong: rgba(7, 26, 52, 0.24);
  --text: #0A2247;         /* 深色正文 */
  --muted: #4A6285;
  --dim: #7086A6;
  --accent: #0A5CF2;       /* 浅底用品牌蓝（DIGITAL CYAN 对比不足） */
  --brand: #0A5CF2;
  --accent-dim: rgba(10, 92, 242, 0.08);
  --accent-line: rgba(10, 92, 242, 0.30);
  --brand-dim: rgba(10, 92, 242, 0.10);
  --on-accent: #04132B;
  --radius: 2px;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-en: Bahnschrift, "DIN Alternate", "DIN Condensed", "HarmonyOS Sans SC", "PingFang SC", var(--font);
  --mono: Bahnschrift, "DIN Alternate", "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(130% 65% at 50% 0%, rgba(10, 92, 242, 0.10), transparent 68%),
    radial-gradient(90% 50% at 100% 100%, rgba(25, 211, 255, 0.045), transparent 70%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(25, 211, 255, 0.24); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-header.is-stuck {
  background: rgba(7, 26, 52, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg, .brand img.brand-mark { display: block; width: 32px; height: 32px; }
.brand img.brand-mark { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-cn {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.brand-en {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;   /* VI：Bahnschrift SemiBold，字距 +14% */
  color: var(--accent);
  text-transform: uppercase;
}

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

.nav a {
  position: relative;
  font-size: 15.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.36s var(--ease);
}

.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.32s var(--ease);
  background: transparent;
  color: var(--text);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #FFFFFF;
  font-weight: 700;
}
.btn-primary:hover { background: #2E7BFF; transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-dim); }

.btn-sm { height: 38px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.link-arrow span.arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover span.arrow { transform: translateX(5px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(100vh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0.72;
  transform: scale(1.02);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 12% 18%, rgba(10, 92, 242, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(7, 26, 52, 0.82) 0%, rgba(7, 26, 52, 0.50) 38%, rgba(7, 26, 52, 0.86) 82%, var(--ink) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(244, 247, 251, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 247, 251, 0.055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(90% 70% at 50% 40%, #000 20%, transparent 90%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px 64px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6.22vw, 84.5px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: 0.01em;
  max-width: 15em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin: 30px 0 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-cta { display: flex; gap: 16px; margin-top: 44px; flex-wrap: wrap; }

.hero-meta {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 32px 28px 40px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 44.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-value small { font-size: 16.5px; color: var(--muted); font-weight: 400; letter-spacing: 0.04em; }
.stat-label {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

/* ---------- 通用区块 ---------- */

.section { padding: 128px 0; position: relative; }
.section-tight { padding: 88px 0; }
.section-alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 72px;
  align-items: start;
}

.section-index {
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.2em;
  color: var(--dim);
  padding-top: 10px;
}
.section-index b { color: var(--accent); font-weight: 500; }

.section-title {
  margin: 0;
  font-size: clamp(26.5px, 3.55vw, 44.5px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.section-desc {
  margin: 22px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.95;
}

.section-head-center {
  display: block;
  text-align: center;
  margin-bottom: 64px;
}
.section-head-center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- 能力卡片 ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  position: relative;
  padding: 44px 36px 40px;
  background: var(--ink);
  transition: background 0.4s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.card:hover { background: var(--ink-3); }
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover::before { transform: scaleX(1); }

.card-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: 26px;
}
.card h3 {
  margin: 0 0 14px;
  font-size: 23.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.card h3 small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--dim);
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 400;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}
.card-foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--dim);
  letter-spacing: 0.06em;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- 图文分栏 ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  width: 100%;
  aspect-ratio: 4 / 3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.split-media:hover img { transform: scale(1.035); }
.split-media .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px 16px;
  background: rgba(7, 26, 52, 0.72);
  backdrop-filter: blur(8px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.split-body h3 {
  margin: 0 0 20px;
  font-size: clamp(23.5px, 2.39vw, 30px);
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}
.split-body p { margin: 0 0 26px; color: var(--muted); line-height: 1.95; }

/* ---------- 清单 ---------- */

.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
}
.spec-list li:first-child { border-top: 0; }
.spec-list li b { color: var(--text); font-weight: 500; }
.spec-key {
  flex-shrink: 0;
  width: 96px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
  padding-top: 3px;
}

/* ---------- 指标方块 ---------- */

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.metric {
  background: var(--ink);
  padding: 40px 34px;
}
.metric-num {
  font-size: 46.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.metric-num small { font-size: 18px; margin-left: 2px; }
.metric-name { margin-top: 16px; font-size: 15.5px; letter-spacing: 0.05em; }
.metric-note { margin-top: 6px; font-size: 13.5px; color: var(--dim); }

/* ---------- 专家 ---------- */

.experts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.expert {
  background: var(--ink);
  padding: 38px 32px 34px;
  transition: background 0.4s var(--ease);
}
.expert:hover { background: var(--ink-3); }
.expert-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.expert-name h4 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: 0.06em; }
.expert-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}
.expert-title { font-size: 13.5px; color: var(--dim); margin-bottom: 18px; letter-spacing: 0.03em; }
.expert p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }

/* ---------- 案例跑马灯 ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 0 26px;
  font-size: 15.5px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.marquee-item::after {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 案例列表 ---------- */

.case-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.case-tab {
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.case-tab:hover { color: var(--text); border-color: var(--line-strong); }
.case-tab.is-active { background: var(--accent-dim); border-color: var(--accent-line); color: var(--accent); }

.case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-item {
  background: var(--ink);
  padding: 26px 30px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.75;
  transition: background 0.35s var(--ease), color 0.35s;
}
.case-item:hover { background: var(--ink-3); color: var(--text); }
.case-item i {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  padding-top: 5px;
  letter-spacing: 0.1em;
}

/* ---------- CTA ---------- */

.cta-band {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 78% 0%, rgba(10, 92, 242, 0.22), transparent 62%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  margin: 0;
  font-size: clamp(26.5px, 3.33vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}
.cta-inner p { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- 页头（内页） ---------- */

.page-head {
  position: relative;
  padding: 200px 0 88px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 100% at 20% 0%, rgba(10, 92, 242, 0.18), transparent 62%);
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(244, 247, 251, 0.055) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 {
  margin: 0;
  font-size: clamp(37.5px, 4.88vw, 64.5px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0.01em;
}
.page-head p {
  margin: 24px 0 0;
  max-width: 600px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.95;
}
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 8px; opacity: 0.5; }

/* ---------- 表单 ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  font-family: var(--mono);
  text-transform: uppercase;
}
.field label .req { color: var(--accent); }

.input, .textarea, select.input {
  width: 100%;
  background: rgba(244, 247, 251, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  height: 48px;
  padding: 0 15px;
  transition: border-color 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  outline: none;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a99a8' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
select.input option { background: #0E2C63; color: #F4F7FB; }
.input::placeholder, .textarea::placeholder { color: rgba(244, 247, 251, 0.42); }
.input:focus, .textarea:focus {
  border-color: var(--accent-line);
  background: rgba(25, 211, 255, 0.04);
}
.textarea { min-height: 132px; height: auto; padding: 13px 15px; resize: vertical; line-height: 1.8; }

.form-note { font-size: 13.5px; color: var(--dim); line-height: 1.8; }
.form-msg {
  display: none;
  margin-top: 18px;
  padding: 12px 16px;
  font-size: 14.5px;
  border-left: 2px solid var(--accent);
  background: var(--accent-dim);
  color: var(--text);
}
.form-msg.is-visible { display: block; }
.form-msg.is-error { border-left-color: #e05b5b; background: rgba(224, 91, 91, 0.1); }

/* ---------- 信息面板 ---------- */

.panel {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 40px 36px;
}
.panel-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.info-row {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}
.info-row:first-of-type { border-top: 0; }
.info-key { width: 74px; flex-shrink: 0; color: var(--dim); font-size: 13.5px; padding-top: 3px; }
.info-val { color: var(--text); line-height: 1.8; }
.info-val a:hover { color: var(--accent); }

/* ---------- 认证 / 会员 ---------- */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-aside {
  position: relative;
  min-height: 100vh;
  padding: 200px 64px 80px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.auth-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 30% 20%, rgba(10, 92, 242, 0.20), transparent 62%);
}
.auth-aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.85);
}
.auth-aside .aside-inner { position: relative; z-index: 2; }
.auth-aside h2 {
  margin: 0 0 18px;
  font-size: clamp(29px, 2.89vw, 37.5px);
  font-weight: 600;
  line-height: 1.42;
}
.auth-aside p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 400px; }

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 140px 40px 80px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 {
  margin: 0 0 10px;
  font-size: 31px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.auth-hint { margin: 0 0 34px; color: var(--dim); font-size: 14.5px; }

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.tab {
  flex: 1;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  color: var(--dim);
  font-size: 15.5px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-bottom: -1px;
}
.tab.is-active { color: var(--text); border-bottom-color: var(--accent); }

.tab-pane { display: none; }
.tab-pane.is-active { display: block; }

.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.code-btn {
  flex-shrink: 0;
  height: 48px;
  padding: 0 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font-size: 14.5px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  min-width: 108px;
}
.code-btn:hover:not([disabled]) { border-color: var(--accent-line); color: var(--accent); }
.code-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.field-error { font-size: 13.5px; color: #e57373; min-height: 0; }

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  margin-top: 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 15.5px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.oauth-btn:hover { border-color: var(--accent-line); background: var(--accent-dim); }

.auth-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 16px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.auth-divider::before, .auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- 会员中心 ---------- */

.member-head {
  padding: 150px 0 40px;
  border-bottom: 1px solid var(--line);
}
.member-user {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink-3) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
  font-weight: 500;
  overflow: hidden;
  flex-shrink: 0;
}
.member-name { font-size: 24.5px; font-weight: 600; letter-spacing: 0.02em; }
.member-id { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 8px; letter-spacing: 0.08em; }
.member-actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

.member-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  padding: 56px 0 120px;
  align-items: start;
}

.block { border: 1px solid var(--line); background: var(--ink-2); }
.block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.block-head h3 { margin: 0; font-size: 16.5px; font-weight: 600; letter-spacing: 0.04em; }
.block-head .mono { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.16em; }
.block-body { padding: 28px; }

.upload-zone {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  color: var(--dim);
  font-size: 14.5px;
}
.upload-zone:hover, .upload-zone.is-drag { border-color: var(--accent-line); background: var(--accent-dim); color: var(--text); }
.upload-zone strong { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 6px; font-weight: 500; }

.file-list { list-style: none; margin: 22px 0 0; padding: 0; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.file-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.file-meta { flex: 1; min-width: 0; }
.file-name { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { color: var(--dim); font-size: 12px; font-family: var(--mono); margin-top: 3px; }
.file-item button {
  background: transparent;
  border: 0;
  color: var(--dim);
  font-size: 13.5px;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.25s;
}
.file-item button:hover { color: var(--accent); }
.file-item button.is-danger:hover { color: #e57373; }

.msg-list { list-style: none; margin: 0; padding: 0; }
.msg-item { padding: 20px 0; border-top: 1px solid var(--line); }
.msg-item:first-child { border-top: 0; padding-top: 0; }
.msg-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.msg-topic { font-size: 15.5px; color: var(--text); }
.msg-time { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; flex-shrink: 0; }
.msg-body { font-size: 14.5px; color: var(--muted); line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.msg-status {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  padding: 2px 8px;
}

.empty {
  padding: 40px 0;
  text-align: center;
  color: var(--dim);
  font-size: 14.5px;
}

.skeleton {
  height: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin: 12px 0;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- 页脚 ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  background: var(--ink-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .brand { margin-bottom: 22px; }
.footer-brand p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.9; max-width: 300px; }
.footer-col h5 {
  margin: 0 0 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
  font-weight: 400;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
  flex-wrap: wrap;
}
/* ICP 备案信息行（2026-12-04）：置于版权行下方，链接可直达工信部备案系统 */
.footer-beian {
  margin-top: 12px;
  font-size: 13px;
  color: var(--dim);
}
.footer-beian a {
  color: var(--dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-beian a:hover,
.footer-beian a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 52px; }
  .section-index { padding-top: 0; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 44px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .experts { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .member-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding: 140px 32px 80px; }
}

@media (max-width: 820px) {
  .wrap, .header-inner, .hero-inner, .hero-meta { padding-left: 24px; padding-right: 24px; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(7, 26, 52, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    margin-left: 0;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 18px; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 10px; }
  .header-actions .btn { height: 34px; padding: 0 14px; font-size: 13.5px; }
  .hero { min-height: auto; padding-top: 132px; }
  .hero-inner { padding-bottom: 48px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .section { padding: 80px 0; }
  .section-tight { padding: 64px 0; }
  .cards, .experts, .metrics, .case-list { grid-template-columns: 1fr; }
  .card { min-height: auto; padding: 34px 26px; }
  .page-head { padding: 150px 0 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .member-head { padding: 130px 0 32px; }
  .member-actions { margin-left: 0; width: 100%; }
  .auth-card h1 { font-size: 26.5px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .block-head { padding: 18px 20px; }
  .block-body { padding: 22px 20px; }
}

/* ---------- 补充组件 ---------- */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.plain-cell {
  background: var(--ink);
  padding: 38px 30px 34px;
  transition: background 0.4s var(--ease);
}
.plain-cell:hover { background: var(--ink-3); }
.plain-cell h4 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.plain-cell p { margin: 0; font-size: 14.5px; line-height: 1.9; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: start;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-list span {
  border: 1px solid var(--line);
  padding: 6px 14px;
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.subnav {
  position: sticky;
  top: 76px;
  z-index: 40;
  background: rgba(7, 26, 52, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  gap: 34px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 16px;
  padding-bottom: 16px;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  font-size: 14.5px;
  color: var(--dim);
  white-space: nowrap;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s;
}
.subnav a:hover { color: var(--text); border-bottom-color: var(--accent); }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 820px) {
  .grid-4 { grid-template-columns: 1fr; }
  .plain-cell { padding: 30px 24px; }
  .subnav { top: 76px; }
  .subnav-inner { gap: 24px; }
}

/* ---------- 客服机器人组件 ---------- */

.chat-root { position: fixed; right: 28px; bottom: 28px; z-index: 200; font-family: var(--font); }

.chat-launcher {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: linear-gradient(160deg, #0E2C63, #071A34);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.chat-launcher:hover { transform: translateY(-2px); border-color: var(--accent); }
.chat-launcher.is-open { transform: rotate(0deg); }

.chat-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(25, 211, 255, 0.18);
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 372px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 251, 0.025);
}
.chat-head-main { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.chat-title { font-size: 15.5px; font-weight: 600; letter-spacing: 0.04em; }
.chat-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.chat-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: chatPulse 2s infinite;
}
.chat-state[data-state="waiting"] i { background: #e8b34b; }
.chat-state[data-state="human"] i { background: #4ade80; }
.chat-state[data-state="closed"] i { background: var(--dim); animation: none; }
@keyframes chatPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.chat-min {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15.5px;
  line-height: 1;
}
.chat-min:hover { color: var(--text); border-color: var(--line-strong); }

.chat-banner {
  padding: 9px 16px;
  font-size: 13.5px;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: rgba(25, 211, 255, 0.05);
}
.chat-banner[data-state="waiting"] { background: rgba(232, 179, 75, 0.07); color: #d9b56b; }
.chat-banner[data-state="human"] { background: rgba(74, 222, 128, 0.06); color: #86d9a4; }
.chat-banner[data-state="closed"] { background: rgba(244, 247, 251, 0.025); color: var(--dim); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
}

.chat-sys {
  text-align: center;
  font-size: 12px;
  color: var(--dim);
  padding: 4px 10px;
  line-height: 1.7;
}

.chat-msg { display: flex; gap: 10px; max-width: 86%; }
.chat-msg.me { align-self: flex-end; flex-direction: row-reverse; }
.chat-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink-3);
  color: var(--accent);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-msg.me .chat-avatar { color: var(--dim); }
.chat-bubble {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  border-top-left-radius: 2px;
  padding: 9px 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text);
  min-width: 0;
}
.chat-msg.me .chat-bubble {
  background: rgba(25, 211, 255, 0.12);
  border-color: var(--accent-line);
  border-radius: 6px;
  border-top-right-radius: 2px;
}
.chat-msg.agent .chat-bubble { border-color: rgba(74, 222, 128, 0.32); background: rgba(74, 222, 128, 0.05); }
.chat-sender { font-size: 11px; color: var(--dim); margin-bottom: 5px; letter-spacing: 0.06em; }
.chat-msg.is-failed .chat-bubble { border-color: rgba(229, 115, 115, 0.4); }
.chat-pending { font-size: 11px; color: var(--dim); margin-top: 6px; }
.chat-retry {
  margin-top: 6px;
  background: transparent;
  border: 0;
  color: #e57373;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.chat-retry:hover { text-decoration: underline; }

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
}
.chat-chip {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chat-chip:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-dim); }

.chat-handoff {
  border-top: 1px solid var(--line);
  padding: 12px 14px;
  background: rgba(232, 179, 75, 0.04);
}
.chat-handoff-tip { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.chat-handoff-row { display: flex; gap: 8px; margin-bottom: 10px; }
.chat-handoff-row input {
  flex: 1;
  min-width: 0;
  background: rgba(244, 247, 251, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13.5px;
  padding: 8px 10px;
  outline: none;
}
.chat-handoff-row input:focus { border-color: var(--accent-line); }
.chat-handoff-go {
  width: 100%;
  height: 36px;
  background: var(--brand);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.chat-handoff-go:hover { background: #2E7BFF; }

.chat-inputrow {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.chat-input {
  flex: 1;
  resize: none;
  background: rgba(244, 247, 251, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  padding: 9px 12px;
  outline: none;
  min-height: 40px;
  max-height: 96px;
}
.chat-input::placeholder { color: rgba(244, 247, 251, 0.42); }
.chat-input:focus { border-color: var(--accent-line); }
.chat-input:disabled { opacity: 0.45; }
.chat-send {
  flex-shrink: 0;
  height: 40px;
  padding: 0 18px;
  background: var(--brand);
  color: #FFFFFF;
  border: 0;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
}
.chat-send:hover:not([disabled]) { background: #2E7BFF; }
.chat-send[disabled] { opacity: 0.45; cursor: not-allowed; }

.chat-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
}
.chat-act {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-size: 13.5px;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.03em;
}
.chat-act:hover { text-decoration: underline; }
.chat-foot-note { margin-left: auto; font-size: 11px; color: var(--dim); }

@media (max-width: 640px) {
  .chat-root { right: 16px; bottom: 16px; }
  .chat-panel {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    border: 0;
  }
}

/* ---------- 客服工作台 ---------- */

.agent-who { font-size: 13.5px; color: var(--muted); letter-spacing: 0.05em; }

.gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
}
.gate-card {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 44px 40px;
}
.gate-card h1 { margin: 14px 0 14px; font-size: 29px; font-weight: 600; }
.gate-text { margin: 0 0 28px; color: var(--muted); font-size: 14.5px; line-height: 1.9; }

.console {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  padding: 130px 40px 60px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  height: 100vh;
  box-sizing: border-box;
}
.console-side {
  border: 1px solid var(--line);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.console-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.console-side-head .mono { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.14em; }
.console-filter { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.console-filter .case-tab { height: 30px; padding: 0 12px; font-size: 13.5px; }

.conv-list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.conv-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.conv-item:hover { background: var(--ink-3); }
.conv-item.is-selected { background: var(--accent-dim); box-shadow: inset 2px 0 0 var(--accent); }
.conv-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.conv-name { font-size: 14.5px; color: var(--text); }
.conv-status {
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--dim);
  flex-shrink: 0;
}
.conv-status[data-status="waiting"] { color: #e8b34b; border-color: rgba(232, 179, 75, 0.4); }
.conv-status[data-status="human"] { color: #4ade80; border-color: rgba(74, 222, 128, 0.4); }
.conv-sub {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 7px;
  font-size: 12px;
  color: var(--dim);
}
.conv-empty { padding: 32px 18px; text-align: center; color: var(--dim); font-size: 13.5px; }

.console-main {
  border: 1px solid var(--line);
  background: var(--ink-2);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.console-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--dim); font-size: 14.5px; }
.console-empty-icon { font-size: 29px; color: var(--accent); opacity: 0.5; margin-bottom: 12px; }

.thread-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.thread-visitor { font-size: 16.5px; font-weight: 600; }
.thread-meta { margin-top: 6px; font-size: 12px; color: var(--dim); }
.thread-actions { display: flex; gap: 10px; }
.thread-status {
  padding: 8px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.thread-status[data-status="waiting"] { color: #e8b34b; }
.thread-status[data-status="human"] { color: #4ade80; }
.thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.thread-inputrow {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
}
.thread-inputrow .input { min-height: 52px; resize: vertical; }
.thread-inputrow .btn { height: 52px; }
#thread-msg { margin: 0 22px 14px; }

@media (max-width: 900px) {
  .console { grid-template-columns: 1fr; height: auto; padding: 120px 20px 40px; }
  .console-side { max-height: 320px; }
  .console-main { min-height: 70vh; }
}

/* ---------- 品牌定位带 / 客户墙 / Hero 词条（借鉴企业站最佳实践） ---------- */

.positioning {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(60% 140% at 12% 0%, rgba(10, 92, 242, 0.18), transparent 62%),
    var(--ink-2);
}
.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.pos-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pos-item p {
  margin: 0;
  font-size: clamp(18px, 1.78vw, 22px);
  line-height: 1.75;
  font-weight: 500;
  color: var(--text);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-tags a {
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: 16px;
  transition: all 0.28s var(--ease);
  background: rgba(244, 247, 251, 0.025);
}
.hero-tags a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

.client-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 130px;
  padding: 18px 8px;
  background: rgba(244, 247, 251, 0.025);
  transition: background 0.3s var(--ease);
}
.client-badge {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  background: linear-gradient(145deg, #0A5CF2, #0B245A);
  box-shadow: 0 8px 20px rgba(10, 92, 242, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.3s var(--ease);
}
.client-logo:nth-child(3n+2) .client-badge { background: linear-gradient(145deg, #19D3FF, #0A5CF2); }
.client-logo:nth-child(3n) .client-badge { background: linear-gradient(145deg, #17469B, #071A34); }
.client-name {
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}
.client-logo:hover { background: rgba(10, 92, 242, 0.13); }
.client-logo:hover .client-badge { transform: translateY(-3px); }
.client-logo:hover .client-name { color: var(--text); }

.header-cta { display: inline-flex; }

@media (max-width: 1080px) {
  .positioning-grid { gap: 32px; }
  .client-wall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  .header-cta { display: none; }
  .positioning-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; padding-bottom: 44px; }
  .pos-item p { font-size: 18px; }
  .client-wall { grid-template-columns: repeat(3, 1fr); }
  .client-logo { min-height: 116px; }
  .client-img { max-width: 118px; height: 42px; }

  .hero-tags { margin-top: 26px; }
}

/* ---------- 工作台视图切换与申请详情 ---------- */

.console-viewtabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
}
.console-viewtabs .case-tab { height: 32px; padding: 0 14px; }
#chat-filters { padding-top: 10px; }

.lead-note {
  margin: 0 22px 14px;
  padding: 10px 14px;
  border-left: 2px solid var(--accent-line);
  background: var(--accent-dim);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

.conv-status {
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 工作台嵌入页 ---------- */

.workbench-shell {
  padding-top: 76px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.workbench-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  flex-wrap: wrap;
}
.workbench-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}
.workbench-tip { color: var(--dim); font-size: 12px; letter-spacing: 0.06em; }
.workbench-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--ink);
  min-height: 0;
}

@media (max-width: 820px) {
  .workbench-bar { padding: 10px 20px; }
  .workbench-tip { display: none; }
  .workbench-frame { min-height: 70vh; }
}

/* ---------- VI 主张补充 ---------- */

.positioning-grid { padding-bottom: 26px; }
.positioning-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 40px 40px;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero h1 em { color: var(--digital-cyan); }

@media (max-width: 820px) {
  .positioning-note { padding: 0 24px 34px; line-height: 1.8; }
}

@media (max-width: 560px) {
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .client-badge { width: 40px; height: 40px; font-size: 14.5px; }
}

/* 官方客户 LOGO（取自公司宣传册，白色单色透明 PNG，适配深蓝背景） */

.client-logo.has-logo { background: rgba(244, 247, 251, 0.025); }
.client-img {
  display: block;
  width: 100%;
  max-width: 158px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s var(--ease);
}
.client-logo.has-logo:hover .client-img { transform: translateY(-3px); }

/* ---------- 页脚交流群二维码 ---------- */

/* 仅桌面宽屏使用 5 列；1080/820 断点沿用上方既有响应式规则 */
@media (min-width: 1081px) {
  .footer-top {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr 0.9fr;
    gap: 36px;
  }
}
.footer-qr .qr-card {
  display: block;
  width: 112px;
  padding: 7px;
  background: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.footer-qr .qr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}
.footer-qr .qr-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.footer-qr .qr-tip {
  color: var(--accent);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  padding-top: 10px;
}
.footer-qr .qr-tip::after {
  content: " · 点击放大";
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  .footer-qr .qr-card { width: 124px; }
}

/* ---------- 服务区域地图（内联 SVG，合规行政区划示意） ---------- */

.area-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}
.area-map {
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: 26px;
}
.china-map { display: block; width: 100%; height: auto; }
.prov {
  fill: #12305F;
  stroke: rgba(244, 247, 251, 0.22);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 0.3s var(--ease);
}
.prov:hover { fill: #1B4A92; }
.prov.is-active {
  fill: url(#svcGrad);
  stroke: #8FE9FF;
  stroke-width: 1.1;
}
.prov-label {
  fill: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  paint-order: stroke;
  stroke: rgba(4, 19, 43, 0.8);
  stroke-width: 3px;
  pointer-events: none;
}
.prov-label.label-sm { font-size: 12px; }
.jd-line {
  fill: none;
  stroke: rgba(25, 211, 255, 0.6);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}
.islet { fill: #19D3FF; opacity: 0.75; }
.inset-box {
  fill: rgba(7, 26, 52, 0.6);
  stroke: rgba(244, 247, 251, 0.25);
  stroke-width: 1;
}
.inset-caption-bg { fill: #0A2247; }
.inset-label { fill: #A9BCD6; font-size: 11px; letter-spacing: 0.08em; }
.map-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
}

.area-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 26px;
}
.area-legend span { display: flex; align-items: center; gap: 8px; }
.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: #12305F;
}
.swatch.swatch-on {
  background: linear-gradient(135deg, #0A5CF2, #19D3FF);
  border-color: #8FE9FF;
}
.area-tags { margin-bottom: 30px; }
.region-list span.is-active {
  color: var(--text);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}
.area-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-stat b {
  font-family: var(--font-en);
  font-size: 51px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
}
.area-stat span { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

@media (max-width: 1080px) {
  .area-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .area-map { padding: 14px; }
  .prov-label { font-size: 22px; stroke-width: 4px; }
  .prov-label.label-sm { font-size: 18px; }
  .inset-label { font-size: 14.5px; }
}

/* ==========================================================================
   白蓝双拼主题（2026-11-10）
   内容区 = MIST 浅底 + 深色文字；首屏 / 页头 / CTA / 页脚 / 客服浮窗保留 DEEP SPACE
   通过局部变量覆盖让深色区块内的文字、边框、强调色自动保持浅色
   ========================================================================== */

body {
  background-image:
    radial-gradient(130% 65% at 50% 0%, rgba(10, 92, 242, 0.045), transparent 68%),
    radial-gradient(90% 50% at 100% 100%, rgba(25, 211, 255, 0.025), transparent 70%);
}
::selection { background: rgba(10, 92, 242, 0.18); color: #0A2247; }

/* 顶栏：白底深字，与浅色内容区连成一体 */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}
.site-header.is-stuck { background: rgba(255, 255, 255, 0.97); }

/* 深色区块：覆盖局部变量，内部组件无需逐个改 */
.hero,
.page-head,
.cta-band,
.site-footer,
.auth-aside,
.chat-root,
.chat-panel,
.subnav {
  --ink: #071A34;
  --ink-2: #0A2047;
  --ink-3: #0E2C63;
  --line: rgba(244, 247, 251, 0.13);
  --line-strong: rgba(244, 247, 251, 0.22);
  --text: #F4F7FB;
  --muted: #B7C8E0;
  --dim: #8098BC;
  --accent: #19D3FF;
  --accent-dim: rgba(25, 211, 255, 0.12);
  --accent-line: rgba(25, 211, 255, 0.34);
  color: #F4F7FB;
}
.page-head, .cta-band { background: #071A34; }
.site-footer { background: #0A2047; }

/* 浅色表单 */
.input, .textarea, select.input { background: rgba(7, 26, 52, 0.02); }
select.input option { background: #FFFFFF; color: #0A2247; }
.input::placeholder, .textarea::placeholder { color: rgba(7, 26, 52, 0.42); }
.input:focus, .textarea:focus { background: rgba(10, 92, 242, 0.05); }

/* 客户墙：浅底 + 深色官方标识 */
.client-logo, .client-logo.has-logo { background: rgba(7, 26, 52, 0.025); }
.client-img { filter: drop-shadow(0 2px 6px rgba(10, 34, 71, 0.10)); }

/* 服务区域地图：浅蓝省份 + 品牌蓝高亮 */
.prov { fill: #DCE7F5; stroke: rgba(7, 26, 52, 0.22); }
.prov:hover { fill: #C3D8F2; }
.prov.is-active { stroke: #0A5CF2; }
.jd-line { stroke: rgba(10, 92, 242, 0.75); }
.islet { fill: #0A5CF2; }
.inset-box { fill: rgba(7, 26, 52, 0.03); stroke: rgba(7, 26, 52, 0.25); }
.inset-caption-bg { fill: #FFFFFF; }
.inset-label { fill: #4A6285; }

@media (max-width: 820px) {
  .nav { background: rgba(255, 255, 255, 0.98); }
}

/* 白蓝双拼：客户墙格子改为不透明白底，避免透出网格底色发灰 */
.client-wall { background: rgba(7, 26, 52, 0.10); }
.client-logo, .client-logo.has-logo { background: #FFFFFF; }

/* 白蓝双拼补修：客户墙空格不露灰底；登录页左栏需显式深蓝底 */
.client-wall {
  background: #FFFFFF;
  gap: 0;
  border: 1px solid rgba(7, 26, 52, 0.10);
}
.client-logo, .client-logo.has-logo {
  background: #FFFFFF;
  box-shadow: inset -1px -1px 0 rgba(7, 26, 52, 0.08);
}
.auth-aside { background: #071A34; }

/* 综合能碳：两张宽幅看板上下堆叠，完整显示不裁切 */
.split-media.media-stack {
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.media-stack img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: none;
}
.split-media.media-stack:hover img { transform: none; }
.media-stack .caption {
  position: static;
  width: 100%;
  box-sizing: border-box;
  border-right: 0;
  border-top: 1px solid var(--line);
  color: #F4F7FB;
  background: #071A34;
}

/* 企业介绍：展厅照片高度跟随右侧文字列，居中裁切保留中央品牌墙 */
.split-media.media-wide {
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 300px;
}
.media-wide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: none;
}
.split-media.media-wide:hover img { transform: none; }
.media-wide .caption { color: #F4F7FB; background: rgba(7, 26, 52, 0.82); }
@media (max-width: 1081px) {
  .split-media.media-wide { aspect-ratio: 4 / 3; align-self: auto; min-height: 0; }
}

/* 03 智慧运维：三张大屏画面，主图 + 缩略图切换；整体高度跟随左侧文字列 */
.split-media.om-gallery {
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 280px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: visible;
  border: 0;
  background: transparent;
}
.om-stage {
  position: relative;
  z-index: 0;
  aspect-ratio: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #071A34;
}
.om-stage .om-main {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: none;
}
.om-stage .om-main[hidden] { display: none; }
.om-gallery .caption { color: #F4F7FB; background: rgba(7, 26, 52, 0.86); }
.om-thumbs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.om-thumb {
  position: relative;
  z-index: 1;
  touch-action: manipulation;
  display: block;
  margin: 0;
  padding: 0;
  aspect-ratio: 2.12 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #071A34;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.25s var(--ease), border-color 0.25s var(--ease);
}
.om-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  transition: none;
}
.om-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: left;
  color: #F4F7FB;
  background: rgba(7, 26, 52, 0.78);
}
.om-thumb:hover { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.om-thumb.is-active { opacity: 1; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.om-thumb.is-active span { background: var(--accent); }
.om-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.split-media.om-gallery:hover img { transform: none; }
@media (max-width: 1081px) {
  .split-media.om-gallery { align-self: auto; min-height: 0; grid-template-rows: auto auto; }
  .om-stage { aspect-ratio: 2.123 / 1; }
}
@media (max-width: 640px) {
  .om-thumb span { font-size: 10px; padding: 2px 4px; }
}

/* 04 数字电站：三张现场图拼贴，整体高度跟随右侧文字列 */
.split-media.plant-collage {
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.55fr 1fr;
  gap: 6px;
  border: 0;
  background: transparent;
  overflow: visible;
}
.plant-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #071A34;
}
.plant-shot-main { grid-column: 1 / span 2; }
.plant-shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none !important;
  transition: none;
}
.split-media.plant-collage:hover img { transform: none; }
.plant-collage .caption { color: #F4F7FB; background: rgba(7, 26, 52, 0.86); }
@media (max-width: 1081px) {
  .split-media.plant-collage { aspect-ratio: 4 / 3; align-self: auto; min-height: 0; }
}
