/* ============================================================
   奇点 ERP 官方网站样式
   深空蓝 #0A1F3C + 品牌橙 #FF6B35 · 奇点/黑洞视觉
   ============================================================ */

:root {
  --bg-deep: #060f24;
  --bg-base: #0A1F3C;
  --bg-card: rgba(20, 48, 96, 0.55);
  --bg-card-solid: #0d2452;
  --bg-card-2: #0a1d3f;
  --orange: #FF6B35;
  --orange-light: #ff8559;
  --orange-deep: #ff4d1a;
  --blue: #1E5BFF;
  --blue-light: #3b82f6;
  --blue-cyan: #06b6d4;
  --gold: #FFB627;
  --purple: #8b5cf6;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.45);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 107, 53, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.28);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Han Sans CN', 'Source Han Sans SC', '思源黑体',
    'Microsoft YaHei', 'PingFang SC', -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全局网格 + 光晕底纹（科技感背景质感） */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(255, 107, 53, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(30, 91, 255, 0.10), transparent 60%),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
}

a { color: inherit; text-decoration: none; }

/* 渐变文字 */
.grad-orange {
  background: linear-gradient(135deg, #FFB627, #FF6B35, #ff4d1a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-blue {
  background: linear-gradient(135deg, #93c5fd, #1E5BFF, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-blue-text {
  background: linear-gradient(135deg, #93c5fd, #1E5BFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.grad-orange-text {
  background: linear-gradient(135deg, #FFB627, #FF6B35);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: all 0.3s var(--ease);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(6, 15, 36, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 36px; height: 36px; }
.nav-brand-text {
  font-size: 1.3rem; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(135deg, #FFB627, #FF6B35);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.97rem; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s; position: relative; padding: 4px 0;
}
.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transition: width 0.25s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
/* 当前所在板块：保持高亮下划线（与 hover 同款） */
.nav-links a:not(.nav-cta).active { color: var(--text); }
.nav-links a:not(.nav-cta).active::after { width: 100%; }
.nav-cta {
  background: linear-gradient(135deg, #FF6B35, #ff4d1a);
  color: #fff !important; padding: 9px 22px; border-radius: 24px;
  font-weight: 600; box-shadow: 0 4px 18px rgba(255, 107, 53, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255, 107, 53, 0.5); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--text);
  transition: all 0.3s; border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #0d2452 0%, #0A1F3C 45%, #060f24 100%);
}
.starfield {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.starfield span {
  position: absolute; width: 2px; height: 2px;
  background: #fff; border-radius: 50%; opacity: 0.6;
  animation: twinkle 3s infinite ease-in-out;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.9; }
}

/* 奇点核心视觉 */
.singularity {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 520px; height: 520px; z-index: 1; pointer-events: none;
  opacity: 0.85;
}
.core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, #060f24 30%, #0A1F3C 60%, transparent 80%);
  box-shadow: 0 0 80px 20px rgba(255, 107, 53, 0.25), inset 0 0 30px rgba(0,0,0,0.9);
}
.ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%; border-style: solid;
}
.ring-1 {
  width: 240px; height: 240px;
  margin: -120px 0 0 -120px;
  border-width: 2px;
  border-color: rgba(255, 107, 53, 0.25) transparent rgba(255, 182, 39, 0.4) transparent;
  animation: spin 14s linear infinite;
}
.ring-2 {
  width: 360px; height: 360px;
  margin: -180px 0 0 -180px;
  border-width: 1px;
  border-color: rgba(30, 91, 255, 0.2) transparent rgba(6, 182, 212, 0.3) transparent;
  animation: spin 22s linear infinite reverse;
}
.ring-3 {
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-width: 1px;
  border-color: rgba(139, 92, 246, 0.15) transparent rgba(255, 255, 255, 0.12) transparent;
  animation: spin 32s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 880px; padding: 120px 32px 60px;
}
.hero-badge {
  display: inline-block; padding: 7px 18px; border-radius: 20px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange-light); font-size: 0.85rem; letter-spacing: 1px;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 800;
  letter-spacing: 2px; line-height: 1.1; margin-bottom: 14px;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 600;
  color: var(--text); margin-bottom: 22px;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-dim);
  max-width: 640px; margin: 0 auto 36px;
}
.hero-slogans {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin-bottom: 40px; flex-wrap: wrap;
}
.slogan-pill {
  padding: 10px 26px; border-radius: 30px;
  background: rgba(13, 36, 82, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.slogan-text { font-size: 1.35rem; font-weight: 800; letter-spacing: 1px; }
.slogan-dot { color: var(--text-faint); font-size: 1.4rem; }

.hero-actions {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn {
  padding: 14px 34px; border-radius: 28px; font-size: 1rem;
  font-weight: 600; cursor: pointer; border: none;
  transition: all 0.25s var(--ease); display: inline-block;
}
.btn-primary {
  background: linear-gradient(135deg, #FF6B35, #ff4d1a);
  color: #fff; box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(255, 107, 53, 0.55); }
.btn-ghost {
  background: rgba(255,255,255,0.05); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--orange); background: rgba(255, 107, 53, 0.08); }
.btn-block { width: 100%; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; max-width: 760px; margin: 0 auto;
}
.stat {
  padding: 18px 8px;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800;
  background: linear-gradient(135deg, #FFB627, #FF6B35);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-unit { font-size: 0.55em; font-weight: 700; opacity: 0.85; }
.stat-label { font-size: 0.82rem; color: var(--text-faint); margin-top: 6px; }

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: var(--text-faint); font-size: 0.8rem;
  z-index: 2; animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 通用 Section ===== */
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: 120px 32px;
  position: relative;
}
/* section 顶部柔光分隔线，制造节奏 */
.section::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; max-width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.4), rgba(30, 91, 255, 0.4), transparent);
}
.section-ai {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 107, 53, 0.06), transparent 70%),
    linear-gradient(180deg, rgba(13, 36, 82, 0.4), rgba(10, 31, 60, 0.15));
  max-width: 100%;
}
.section-ai > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2.5px; margin-bottom: 18px;
  padding: 6px 18px; border-radius: 16px;
  background: rgba(255, 107, 53, 0.08); border: 1px solid rgba(255, 107, 53, 0.22);
}
.section-tag.grad-blue-text {
  background: rgba(30, 91, 255, 0.08); border-color: rgba(30, 91, 255, 0.22);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800;
  margin-bottom: 20px; line-height: 1.25; letter-spacing: 0.5px;
}
.section-lead {
  font-size: 1.05rem; color: var(--text-dim);
  max-width: 720px; margin: 0 auto;
}
.sub-title {
  font-size: 1.35rem; font-weight: 700; margin: 64px 0 30px;
  text-align: center; position: relative;
}
.sub-title::after {
  content: ''; display: block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 2px; margin: 14px auto 0;
}

/* ===== 统一图标系统（渐变背板 SVG，替代 emoji） ===== */
.ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.16), rgba(255, 182, 39, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.22);
  margin-bottom: 16px;
}
.ico svg { width: 24px; height: 24px; stroke: var(--orange-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.ico-blue {
  background: linear-gradient(135deg, rgba(30, 91, 255, 0.16), rgba(6, 182, 212, 0.08));
  border-color: rgba(30, 91, 255, 0.22);
}
.ico.ico-blue svg { stroke: #93c5fd; }
.ico.ico-sm { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 12px; }
.ico.ico-sm svg { width: 19px; height: 19px; }

/* 卡片网格 */
.card-grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.feature-card, .engine-card, .module-card, .platform-card, .reason-card,
.ai-ability, .layer-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
/* 卡片顶部高光（hover 时点亮） */
.feature-card::before, .module-card::before, .platform-card::before,
.ai-ability::before, .reason-card::before, .is-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), transparent);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.feature-card:hover, .module-card:hover, .platform-card:hover,
.ai-ability:hover, .reason-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 48px rgba(255, 107, 53, 0.14), 0 4px 16px rgba(0,0,0,0.3);
}
.feature-card:hover::before, .module-card:hover::before, .platform-card:hover::before,
.ai-ability:hover::before, .reason-card:hover::before, .is-item:hover::before {
  opacity: 1;
}
.feature-card h4, .platform-card h4, .ai-ability h4 {
  font-size: 1.12rem; margin-bottom: 10px; color: var(--text);
}
.feature-card p, .platform-card p {
  font-size: 0.9rem; color: var(--text-dim); line-height: 1.65;
}

/* 三层定义 */
.three-layer {
  display: flex; align-items: stretch; justify-content: center;
  gap: 16px; margin-bottom: 30px;
}
.layer-card {
  flex: 1; max-width: 320px; position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 26px;
  text-align: center;
}
.layer-tag {
  display: inline-block; font-size: 0.75rem; color: var(--text-faint);
  letter-spacing: 2px; margin-bottom: 12px;
}
.layer-name { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.layer-card p { font-size: 0.92rem; color: var(--text-dim); margin-bottom: 20px; }
.layer-icon {
  font-size: 1.8rem; font-weight: 800; color: var(--orange);
  font-family: 'Consolas', 'Monaco', monospace;
  opacity: 0.5;
}
.layer-arrow {
  display: flex; align-items: center; font-size: 1.8rem;
  color: var(--orange); font-weight: 700;
}

/* 引擎卡片 */
.engine-card { text-align: center; }
.engine-name {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px;
  background: linear-gradient(135deg, #93c5fd, #1E5BFF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.engine-card p { font-size: 0.88rem; color: var(--text-dim); }
.grad-blue-border { border-top: 3px solid; border-image: linear-gradient(90deg, #1E5BFF, #06b6d4) 1; }

/* 代码演示 */
.code-demo {
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 30px;
}
.code-demo-head {
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.code-tag { font-weight: 700; font-size: 1rem; }
.code-note { font-size: 0.82rem; color: var(--text-faint); }
.code-block {
  padding: 22px 24px; font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 0.9rem; line-height: 1.9; overflow-x: auto;
}
.code-line { white-space: pre; }
.code-line.indent { padding-left: 20px; }
.code-line.empty { height: 10px; }
.c-comment { color: #6b7280; }
.c-tag { color: #f87171; }
.c-attr { color: #FFB627; }
.c-str { color: #34d399; }
.c-kw { color: #c084fc; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }
.chip {
  padding: 8px 18px; border-radius: 20px;
  background: rgba(30, 91, 255, 0.08);
  border: 1px solid rgba(30, 91, 255, 0.25);
  color: #93c5fd; font-size: 0.85rem;
}

/* ===== AI 板块 ===== */
.dual-slogan {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 30px;
}
.dual-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px 32px; text-align: center;
  border: 2px solid var(--border);
}
.dual-card.grad-orange-border { border-color: rgba(255, 107, 53, 0.4); }
.dual-card.grad-blue-border { border-color: rgba(30, 91, 255, 0.4); }
.dual-who {
  font-size: 0.8rem; color: var(--text-faint); letter-spacing: 2px;
  margin-bottom: 16px;
}
.dual-slogan-text { margin-bottom: 14px; }
.dual-card p { color: var(--text-dim); font-size: 0.95rem; }

/* 三阶段 */
.ai-stages {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px; align-items: stretch;
}
.stage-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 56px 24px 28px;
  display: flex; flex-direction: column;
  transition: all 0.35s var(--ease);
  position: relative;
}
.stage-card:hover { border-color: rgba(255, 107, 53, 0.4); transform: translateY(-5px); box-shadow: 0 16px 44px rgba(255, 107, 53, 0.12); }
.stage-num {
  font-size: 2.6rem; font-weight: 800; opacity: 0.32;
  background: linear-gradient(135deg, #FF6B35, #FFB627);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1;
  position: absolute; top: 20px; right: 24px;
}
.stage-title { font-size: 1.3rem; font-weight: 700; margin: 4px 0 4px; }
.stage-side { font-size: 0.78rem; color: var(--blue-light); margin-bottom: 14px; letter-spacing: 1px; }
.stage-desc { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 18px; }
.stage-desc em { color: var(--orange-light); font-style: normal; font-weight: 500; }
.stage-action {
  background: rgba(6, 15, 36, 0.5); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; margin-bottom: 16px;
  flex: 1;
}
.ai-glow { box-shadow: 0 0 24px rgba(30, 91, 255, 0.12), inset 0 0 20px rgba(139, 92, 246, 0.05); }
.stage-action-label {
  font-size: 0.75rem; color: var(--blue-light); letter-spacing: 1px;
  margin-bottom: 12px; font-weight: 600;
}
.stage-files { display: flex; flex-wrap: wrap; gap: 6px; }
.file-tag {
  font-family: 'Consolas', monospace; font-size: 0.72rem;
  padding: 4px 8px; border-radius: 6px;
  background: rgba(52, 211, 153, 0.1); color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}
.stage-result { font-size: 0.82rem; color: var(--gold); margin-top: 10px; }
.stage-list { list-style: none; }
.stage-list li {
  font-size: 0.84rem; color: var(--text-dim);
  padding: 4px 0 4px 18px; position: relative;
}
.stage-list li::before {
  content: '▸'; position: absolute; left: 0; color: var(--orange);
}
.stage-value {
  font-size: 0.9rem; color: var(--text);
  padding-top: 14px; border-top: 1px dashed var(--border);
}
.stage-value strong { color: var(--orange); }
.stage-arrow {
  display: flex; align-items: center; font-size: 1.6rem;
  color: var(--orange); font-weight: 700;
}

/* AgentX 对话 */
.agentx-demo { max-width: 760px; margin: 0 auto; }
.agentx-window {
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.agentx-titlebar {
  background: rgba(6, 15, 36, 0.6); padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.agentx-dot { width: 12px; height: 12px; border-radius: 50%; }
.agentx-dot.red { background: #ff5f57; }
.agentx-dot.yellow { background: #febc2e; }
.agentx-dot.green { background: #28c840; }
.agentx-name { margin-left: 12px; font-size: 0.88rem; color: var(--text-dim); }
.agentx-live {
  margin-left: auto; font-size: 0.75rem; color: #34d399;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }
.agentx-body { padding: 24px; min-height: 200px; }
.msg { margin-bottom: 18px; display: flex; gap: 12px; align-items: flex-start; }
.msg-role {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}
.msg.user .msg-role { background: rgba(30, 91, 255, 0.2); color: #93c5fd; }
.msg.ai .msg-role { background: linear-gradient(135deg, #FF6B35, #FFB627); color: #fff; }
.msg-text {
  background: rgba(255,255,255,0.04); padding: 12px 16px;
  border-radius: 12px; font-size: 0.9rem; line-height: 1.7;
  border: 1px solid var(--border);
}
.msg.user .msg-text { background: rgba(30, 91, 255, 0.08); }
.cursor { color: var(--orange); animation: blink 0.8s infinite; font-weight: 700; }
@keyframes blink { 50% { opacity: 0; } }

/* 五层架构 */
.arch-stack { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.arch-layer {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 22px;
  display: flex; align-items: center; gap: 20px;
  transition: all 0.25s;
}
.arch-layer:hover { border-color: rgba(30, 91, 255, 0.4); transform: translateX(6px); }
.arch-lvl {
  flex-shrink: 0; width: 80px; font-weight: 700;
  background: linear-gradient(135deg, #93c5fd, #1E5BFF);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.arch-desc { font-size: 0.88rem; color: var(--text-dim); }

/* AI 能力 */
.ai-ability { text-align: center; }
.ai-ability.highlight {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(255, 182, 39, 0.06));
  border-color: rgba(255, 107, 53, 0.3);
}
.ab-icon { font-size: 1.8rem; margin-bottom: 10px; }
.ab-flag {
  display: inline-block; margin-top: 8px; font-size: 0.7rem;
  padding: 2px 10px; border-radius: 10px;
  background: rgba(255, 107, 53, 0.2); color: var(--orange-light);
}

/* AI 量化对比 */
.ai-impact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 50px;
}
.impact-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.impact-from { font-size: 0.92rem; color: var(--text-faint); text-decoration: line-through; }
.impact-arrow { font-size: 1.4rem; color: var(--orange); margin: 8px 0; }
.impact-to { font-size: 1.6rem; font-weight: 800; }
.impact-label { font-size: 0.85rem; color: var(--text-dim); margin-top: 8px; }

/* AI 自动异构系统集成 */
.ai-integration {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  align-items: center; margin-top: 10px;
}
.ai-int-lead { font-size: 1.15rem; color: var(--text); margin-bottom: 24px; line-height: 1.7; }
.ai-int-prompt {
  background: rgba(6, 15, 36, 0.6); border: 1px solid rgba(30, 91, 255, 0.3);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 20px;
}
.ai-int-prompt-label { font-size: 0.78rem; color: var(--blue-light); letter-spacing: 1px; margin-bottom: 8px; }
.ai-int-prompt-text {
  font-size: 1.02rem; color: var(--text); font-style: italic;
  font-family: 'Consolas', monospace;
}
.ai-int-prompt-text::before { content: '“ '; color: var(--orange); }
.ai-int-prompt-text::after { content: ' ”'; color: var(--orange); }
.ai-int-action {
  background: rgba(6, 15, 36, 0.5); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; margin-bottom: 18px;
}
.ai-int-result { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; }
.ai-int-result strong { font-size: 1.05rem; }

.ai-int-right { display: flex; flex-direction: column; gap: 20px; }
.ai-int-flow {
  display: flex; flex-direction: column; gap: 10px; align-items: center;
  padding: 26px 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.flow-box {
  width: 100%; text-align: center; padding: 16px; border-radius: 12px;
  font-weight: 700; font-size: 1rem;
}
.flow-box small { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.7; margin-top: 4px; }
.flow-box.ext { background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.3); color: #c4b5fd; }
.flow-box.ai { background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 182, 39, 0.08)); border: 1px solid rgba(255, 107, 53, 0.35); color: var(--orange-light); }
.flow-box.erp { background: rgba(30, 91, 255, 0.12); border: 1px solid rgba(30, 91, 255, 0.3); color: #93c5fd; }
.flow-arrow { font-size: 1.6rem; color: var(--orange); font-weight: 700; }
.ai-int-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ai-int-chips .chip { font-size: 0.78rem; padding: 6px 12px; }
.ai-int-note { font-size: 0.82rem; color: var(--text-faint); text-align: center; line-height: 1.6; }

/* ===== 业务模块 ===== */
/* 五层金字塔端到端闭环 */
.e2e-pyramid {
  display: flex; flex-direction: column; align-items: center;
  gap: 0; margin-bottom: 56px; position: relative;
}
.e2e-layer {
  width: 100%; max-width: 980px;
  background: var(--bg-card);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.e2e-layer:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.3); }
/* 层间汇流箭头（向下收缩，形成金字塔） */
.e2e-layer + .e2e-layer { margin-top: 14px; width: 94%; }
.e2e-layer + .e2e-layer::before {
  content: ''; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-top: 12px solid rgba(255, 107, 53, 0.55);
}
.e2e-layer-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2px;
  color: var(--orange-light); margin-bottom: 4px;
}
.e2e-layer-title {
  font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 14px;
}
.e2e-nodes {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 10px;
}
.e2e-node {
  padding: 9px 16px; border-radius: 10px; text-align: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 0.88rem; font-weight: 600; color: var(--text);
  line-height: 1.3;
}
.e2e-node small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--text-faint); margin-top: 2px; }
.e2e-node-star {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 182, 39, 0.1));
  border-color: rgba(255, 107, 53, 0.4); color: var(--orange-light);
}
.e2e-node-end {
  background: linear-gradient(135deg, rgba(30, 91, 255, 0.18), rgba(6, 182, 212, 0.1));
  border-color: rgba(30, 91, 255, 0.4); color: #93c5fd;
}
.e2e-arrow { color: var(--orange); font-size: 1.2rem; font-weight: 700; }

/* 第①层 基座：最宽、金色调，突出多维度组织 */
.e2e-base { border-top: 3px solid var(--gold); }

/* 第③层 四线执行：泳道 */
.e2e-lanes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.e2e-lane {
  background: rgba(6, 15, 36, 0.4); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px;
}
.e2e-lane-name { font-size: 0.92rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 4px; }
.e2e-lane-flow { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }

/* 第④层 质量成本横切：双块并排 + 左右贯穿线 */
.e2e-cross { border-left: 3px solid var(--purple); border-right: 3px solid var(--purple); }
.e2e-cross-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.e2e-cross-block {
  background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 10px; padding: 12px 16px;
}
.e2e-cross-name { font-size: 0.95rem; font-weight: 700; color: #c4b5fd; margin-bottom: 4px; }
.e2e-cross-desc { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }

/* 第⑤层 财务收口：蓝色调 */
.e2e-fin { border-bottom: 3px solid var(--blue); }

.loop-flow { display: none; } /* 兼容旧引用 */

.module-card { text-align: left; }
.mod-code {
  display: inline-block; font-size: 0.95rem; font-weight: 800;
  letter-spacing: 2px; padding: 4px 10px; border-radius: 7px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.18), rgba(255, 182, 39, 0.1));
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--orange-light);
}
.module-card h4 { font-size: 1.15rem; margin-bottom: 10px; }
.module-card p { font-size: 0.84rem; color: var(--text-dim); line-height: 1.65; }
.mod-count {
  margin-top: 16px; font-size: 0.76rem; color: var(--blue-light);
  padding-top: 14px; border-top: 1px dashed var(--border);
  display: flex; align-items: center; gap: 6px;
}
.mod-count::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}
.roadmap-tag {
  font-size: 0.68rem; padding: 2px 8px; border-radius: 8px;
  background: rgba(139, 92, 246, 0.2); color: #c4b5fd;
  vertical-align: middle; font-weight: 400;
}

.scale-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 44px; padding: 30px;
  background: var(--bg-card-2); border-radius: var(--radius);
  border: 1px solid var(--border); text-align: center;
}
.scale-stat { text-align: center; }
.scale-stat strong {
  display: block; font-size: 2.3rem; font-weight: 800; line-height: 1.1;
  margin-bottom: 6px; white-space: nowrap;
  background: linear-gradient(135deg, #FFB627, #FF6B35);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scale-stat span {
  font-size: 0.9rem; color: var(--text-dim); white-space: nowrap;
}

/* 系统集成平台专题 */
.integration-spotlight {
  margin-top: 56px; padding: 40px 32px;
  background: linear-gradient(135deg, rgba(13, 36, 82, 0.6), rgba(10, 31, 60, 0.4));
  border: 1px solid var(--border); border-radius: var(--radius);
}
.is-head { text-align: center; margin-bottom: 32px; }
.is-head .sub-title { margin-bottom: 12px; }
.is-head .sub-title::after { margin-top: 10px; }
.is-intro { font-size: 1rem; color: var(--text-dim); max-width: 720px; margin: 0 auto; }
.is-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px;
}
.is-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 22px 20px;
  transition: all 0.3s var(--ease);
}
.is-item:hover {
  transform: translateY(-4px); border-color: rgba(30, 91, 255, 0.4);
  box-shadow: 0 10px 30px rgba(30, 91, 255, 0.12);
}
.is-icon { font-size: 1.6rem; margin-bottom: 10px; }
.is-item h5 { font-size: 1.02rem; margin-bottom: 8px; color: var(--text); }
.is-item p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.is-partners {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding-top: 24px; border-top: 1px dashed var(--border);
  justify-content: center;
}
.is-partners-label {
  font-size: 0.85rem; color: var(--text-faint); margin-right: 4px;
}
.is-partners .chip {
  background: rgba(255, 107, 53, 0.08); border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--orange-light); font-size: 0.8rem;
}

/* 技术栈 */
.tech-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-col {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.tech-col-title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  color: var(--orange-light);
}
.tech-items { display: flex; flex-direction: column; gap: 10px; }
.tech-item {
  font-size: 0.85rem; color: var(--text-dim);
  padding-left: 16px; position: relative;
}
.tech-item::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-light);
}

/* ===== 价值对比 ===== */
.impl-compare {
  max-width: 760px; margin: 0 auto 50px;
  display: flex; flex-direction: column; gap: 20px;
}
.impl-item { display: grid; grid-template-columns: 140px 1fr 110px; align-items: center; gap: 18px; }
.impl-name { font-weight: 600; font-size: 0.95rem; }
.impl-bar {
  height: 12px; background: rgba(255,255,255,0.06);
  border-radius: 6px; overflow: hidden;
}
.impl-fill {
  height: 100%; border-radius: 6px;
  background: linear-gradient(90deg, #1E5BFF, #06b6d4);
}
.impl-fill-orange { background: linear-gradient(90deg, #FF6B35, #FFB627); }
.impl-time { font-size: 0.88rem; color: var(--text-dim); text-align: right; }

.reason-card { text-align: center; }
.reason-icon { font-size: 2rem; margin-bottom: 12px; }
.reason-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.reason-card p { font-size: 0.82rem; color: var(--text-dim); }

/* ===== 路线图 ===== */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--orange), var(--blue), var(--purple));
}
.tl-item { position: relative; padding-bottom: 36px; padding-left: 28px; }
.tl-dot {
  position: absolute; left: -32px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-base); border: 3px solid var(--blue);
}
.tl-current .tl-dot {
  border-color: var(--orange);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.6);
}
.tl-time { font-size: 0.8rem; color: var(--blue-light); letter-spacing: 1px; margin-bottom: 6px; }
.tl-current .tl-time { color: var(--orange-light); }
.tl-era-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 8px; margin-bottom: 10px;
  background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}
.tl-current .tl-era-tag {
  background: rgba(255, 107, 53, 0.14); border-color: rgba(255, 107, 53, 0.35);
  color: var(--orange-light);
}
.tl-era .tl-era-tag {
  background: rgba(255, 182, 39, 0.1); border-color: rgba(255, 182, 39, 0.28);
  color: var(--gold);
}
.tl-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.tl-item p { font-size: 0.9rem; color: var(--text-dim); }

/* ===== 联系 ===== */
.section-contact {
  max-width: 100%; background: linear-gradient(180deg, rgba(13, 36, 82, 0.3), rgba(6, 15, 36, 0.5));
}
.contact-wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 110px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.contact-left .section-title { margin-bottom: 22px; }
.contact-lead { font-size: 1.02rem; color: var(--text-dim); margin-bottom: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; }
.ci-item { display: flex; align-items: center; gap: 16px; }
.ci-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.16), rgba(255, 182, 39, 0.08));
  border: 1px solid rgba(255, 107, 53, 0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg { width: 24px; height: 24px; stroke: var(--orange-light); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-label { font-size: 0.78rem; color: var(--text-faint); }
.ci-value { font-size: 1.05rem; color: var(--text); font-weight: 500; }
a.ci-value:hover { color: var(--orange-light); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block; font-size: 0.85rem; color: var(--text-dim);
  margin-bottom: 8px;
}
.form-row input, .form-row textarea {
  width: 100%; padding: 12px 16px; font-size: 0.95rem;
  background: rgba(6, 15, 36, 0.5); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-family: inherit;
  transition: border-color 0.2s; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--orange);
}
.form-tip { margin-top: 14px; font-size: 0.85rem; color: #34d399; min-height: 18px; text-align: center; }

/* ===== 页脚 ===== */
.footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 50px 32px 24px;
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px;
  align-items: center; padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 44px; height: 44px; }
.footer-name { font-size: 1.2rem; font-weight: 800; color: var(--text); }
.footer-en { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 1px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.footer-nav a { font-size: 0.88rem; color: var(--text-dim); transition: color 0.2s; }
.footer-nav a:hover { color: var(--orange-light); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-contact a { font-size: 0.88rem; color: var(--text-dim); }
.footer-contact a:hover { color: var(--orange-light); }

.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: var(--text-faint);
}
.footer-icp a:hover { color: var(--orange-light); }

/* ===== 滚动动画 ===== */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* 卡片网格内的子项错峰出现（stagger） */
.stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.visible > *:nth-child(n+9) { transition-delay: 0.6s; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .card-grid.grid-4, .card-grid.grid-5 { grid-template-columns: repeat(2, 1fr); }
  .is-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-stack { grid-template-columns: 1fr; }
  .dual-slogan { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .ai-integration { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; flex-direction: row; justify-content: center; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(6, 15, 36, 0.97);
    backdrop-filter: blur(14px); padding: 24px; gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%); transition: transform 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }

  .section { padding: 70px 20px; }
  .contact-wrap { padding: 70px 20px; }

  .hero-stats, .scale-stats, .ai-impact { grid-template-columns: repeat(2, 1fr); }
  .card-grid.grid-3 { grid-template-columns: 1fr; }
  .card-grid.grid-4, .card-grid.grid-5 { grid-template-columns: 1fr; }
  .is-grid { grid-template-columns: 1fr; }

  .three-layer { flex-direction: column; }
  .layer-arrow { transform: rotate(90deg); justify-content: center; }

  .ai-stages { grid-template-columns: 1fr; }
  .stage-arrow { transform: rotate(90deg); justify-content: center; }

  /* 五层金字塔：窄屏取消收缩，全宽单列堆叠 */
  .e2e-layer { max-width: 100%; }
  .e2e-layer + .e2e-layer { width: 100%; }
  .e2e-lanes { grid-template-columns: 1fr; }
  .e2e-cross-row { grid-template-columns: 1fr; }
  .e2e-nodes { gap: 8px; }
  .e2e-node { width: 100%; }

  .hero-slogans { flex-direction: column; }
  .slogan-dot { display: none; }
  .singularity { width: 360px; height: 360px; }
  .ring-3 { display: none; }
  .impl-item { grid-template-columns: 100px 1fr; }
  .impl-time { grid-column: 2; text-align: left; }
}
