/* ============================================================
   IntelliX Research — 设计系统 v3
   白底 · 克制 · 微动效 · 专业量化
   参考: OpenAI 品牌重塑 (圆形几何 · 流动渐变 · 细腻层级)
   ============================================================ */

:root {
  /* 背景 */
  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-card: #ffffff;

  /* 文字 */
  --text: #0d0d0d;
  --text-secondary: #5c5c66;
  --text-muted: #8e8e96;

  /* 品牌色 */
  --blue: #1a5feb;
  --blue-light: #eef3ff;
  --blue-glow: rgba(26,95,235,0.12);
  --ink: #0d0d0d;

  /* 边框 */
  --border: #e8e8ed;
  --border-soft: #f0f0f4;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.07);

  /* 字体 */
  --cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --en: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;

  --r: 10px;
  --r-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; background: var(--bg); }

body {
  font-family: var(--cn);
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Canvas 背景（极淡动态粒子 + 光线） ── */
#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── 导航 ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(255,255,255,0.9);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
  gap: 24px;
}

/* Logo */
.nav-logo {
  font-family: var(--en); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.1em; color: var(--text); text-decoration: none;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0; flex-shrink: 0;
}
.nav-logo:hover { color: var(--text); }
.nav-logo-img { width: 44px; height: auto; border-radius: 3px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.nav-logo:hover .nav-logo-img { transform: scale(1.08); }

/* 导航链接 */
.nav-center {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}
.nav-links {
  display: flex; gap: 2px; list-style: none; align-items: center;
  margin: 0; padding: 0;
}
.nav-links li { position: relative; }
.nav-links a {
  display: inline-block; padding: 8px 32px; border-radius: 8px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.01em;
  transition: all 0.25s var(--ease); position: relative; z-index: 1;
}
/* 悬停 — 浅蓝底 + 色变 */
.nav-links a:hover {
  color: var(--text);
  background: rgba(26,95,235,0.06);
}
/* 焦点 — 键盘导航可见 */
.nav-links a:focus-visible,
.nav-cta:focus-visible,
.btn:focus-visible,
.lang-current:focus-visible,
.lang-dropdown button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
/* 激活态 — 蓝底白字 */
.nav-links a.active {
  color: #fff;
  background: var(--blue);
}
.nav-links a.active:hover {
  color: #fff;
  background: #1a54d4;
}

/* 激活态下划线动效 */
.nav-links a::before {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--blue); border-radius: 1px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::before { width: 16px; }
.nav-links a.active::before { display: none; }

/* 导航右侧 */
.nav-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; border-radius: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  transition: all 0.3s var(--ease); white-space: nowrap;
  position: relative; overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.nav-cta:hover {
  background: #222; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}
.nav-cta:hover::after { opacity: 1; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 4px 0; transition: 0.3s; }

/* ── Hero ── */
.hero {
  position: relative; z-index: 2;
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 80px 100px;
  max-width: 1280px; margin: 0 auto;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: 50px;
  background: var(--blue-light); color: var(--blue);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(26,95,235,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(26,95,235,0); }
}

.hero-title {
  font-family: var(--en);
  font-size: clamp(3rem, 5.8vw, 4.8rem);
  font-weight: 720; letter-spacing: -0.045em; line-height: 1.06;
  color: var(--text); margin-bottom: 24px;
}
.hero-title em {
  font-style: normal; color: var(--blue);
  background: linear-gradient(135deg, #1a5feb 0%, #4f7ff7 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.12rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 480px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; }

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.25s; border: none; position: relative;
  overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: transparent; transition: background 0.25s;
}
.btn-primary {
  background: var(--ink); color: #fff;
}
.btn-primary:hover {
  background: #222; color: #fff; box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid #d4d4d8;
}
.btn-outline:hover {
  border-color: var(--ink); background: #fafafa;
  color: var(--text); transform: translateY(-1px);
}

/* ── Hero 右侧视觉（流体渐变球体） ── */
.hero-visual {
  width: 380px; height: 380px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-orb {
  position: absolute;
  border-radius: 50%; filter: blur(50px); opacity: 0.5;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb.orb-1 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(26,95,235,0.3) 0%, transparent 70%);
  top: 20%; left: 30%;
}
.hero-orb.orb-2 {
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: 50%; left: 50%; animation-delay: -3s;
}
.hero-orb.orb-3 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(14,165,233,0.2) 0%, transparent 70%);
  top: 30%; left: 60%; animation-delay: -5s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.15); }
  66% { transform: translate(-15px, 20px) scale(0.9); }
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* ── 通用区块 ── */
.section {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 72px 60px;
}
.section-alt { background: rgba(248,249,251,0.40); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); max-width: 100%; }
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }

.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--en);
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.18; color: var(--text); margin-bottom: 14px;
}
.section-desc {
  font-size: 1.06rem; color: var(--text-secondary); line-height: 1.7;
  max-width: 560px;
}
.section-header { text-align: center; margin-bottom: 44px; }
.section-header .section-desc { margin-left: auto; margin-right: auto; }

/* ── 全景流动渐变分割 ── */
.flow-break {
  position: relative; z-index: 2; padding: 80px 0;
  overflow: hidden;
}
.flow-break-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 60px;
  display: flex; align-items: flex-start; justify-content: center; gap: 24px;
  flex-wrap: wrap;
}
.flow-stat {
  text-align: center;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 18px;
  padding: 32px 36px 28px;
  min-width: 210px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.flow-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.8);
}
.flow-stat .flow-val {
  font-family: var(--en); font-size: 3rem; font-weight: 720;
  letter-spacing: -0.04em; color: var(--text); line-height: 1.1;
}
.flow-stat .flow-lbl { font-size: 0.84rem; color: var(--text-muted); margin-top: 6px; }

/* ── 卡片 ── */
/* ── 卡片（团队与技术栈） ── */
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px; padding: 36px 32px 28px;
  transition: border-color 0.45s cubic-bezier(0.22,1,0.36,1),
              transform 0.45s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.45s cubic-bezier(0.22,1,0.36,1);
  position: relative; display: flex; flex-direction: column;
  overflow: hidden;
}
/* 顶部彩条 */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #06b6d4);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.card:hover::before { transform: scaleX(1); }
/* 背景渐变层 */
.card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, #eaf5ff 0%, #dceeff 40%, #cee5ff 100%);
  opacity: 0; transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none; border-radius: 12px;
}
.card:hover {
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.08), 0 2px 8px rgba(59,130,246,0.04);
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 20px; position: relative; z-index: 1;
  transition: all 0.45s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card-icon {
  background: rgba(59,130,246,0.10);
  color: #3b82f6;
  transform: scale(1.08);
}
.card-icon.blue  { background: rgba(7,70,255,0.07); color: #0746ff; }
.card-icon.gray  { background: #f4f4f6; color: #555; }
.card-icon.green { background: #ecfdf5; color: #059669; }
.card-icon.indigo { background: #eef2ff; color: #4f46e5; }
.card-title {
  font-size: 18px; font-weight: 600; margin-bottom: 8px;
  color: #131212; line-height: 1.3; position: relative; z-index: 1;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card-title { color: #0b1e33; }
.card-desc {
  font-size: 14px; color: #5e5e66; line-height: 1.75; flex: 1;
  position: relative; z-index: 1;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1);
}
.card:hover .card-desc { color: #3d5470; }

/* ── 特色卡片（公司简介） ── */
.feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 12px; padding: 40px 36px 32px;
  transition: border-color 0.45s cubic-bezier(0.22,1,0.36,1),
              transform 0.45s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.45s cubic-bezier(0.22,1,0.36,1);
  position: relative; overflow: hidden;
}
/* 顶部彩条 */
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #06b6d4);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover::before { transform: scaleX(1); }
/* 背景渐变层 */
.feature-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, #eaf5ff 0%, #dceeff 40%, #cee5ff 100%);
  opacity: 0; transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none; border-radius: 12px;
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(59,130,246,0.08), 0 2px 8px rgba(59,130,246,0.04);
}
.feature-card:hover::after { opacity: 1; }
.feature-card .feature-num {
  font-family: var(--en); font-size: 4rem; font-weight: 800;
  letter-spacing: -0.06em; color: rgba(0,0,0,0.04); line-height: 1;
  margin-bottom: 16px; position: relative; z-index: 1;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover .feature-num { color: rgba(59,130,246,0.18); }
.feature-card .feature-title {
  font-size: 20px; font-weight: 600; line-height: 1.3;
  margin-bottom: 10px; color: #131212; position: relative; z-index: 1;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover .feature-title { color: #0b1e33; }
.feature-card .feature-desc {
  font-size: 14px; color: #5e5e66; line-height: 1.75;
  position: relative; z-index: 1;
  transition: color 0.45s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover .feature-desc { color: #3d5470; }

/* ── 网格 ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── 指标 ── */
.metric-row { display: flex; gap: 64px; justify-content: center; flex-wrap: wrap; }
.metric-item { text-align: center; }
.metric-value {
  font-family: var(--en); font-size: 3rem; font-weight: 720;
  letter-spacing: -0.04em; color: var(--text); line-height: 1.1;
}
.metric-value.hl { color: var(--blue); }
.metric-label { font-size: 0.86rem; color: var(--text-muted); margin-top: 6px; }
.metric-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; opacity: 0.75; }

/* ── 架构图 ── */
.arch-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.arch-node {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 18px; padding: 24px 20px 22px;
  text-align: center; min-width: 140px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); position: relative;
}
.arch-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.09), inset 0 1px 0 rgba(255,255,255,0.6);
}
.arch-node .arch-icon { font-size: 1.7rem; margin-bottom: 10px; }
.arch-node .arch-name { font-weight: 700; font-size: 0.92rem; }
.arch-node .arch-detail { font-size: 0.74rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }
.arch-arrow { color: #1a5feb; font-size: 1.9rem; font-weight: 700; text-shadow: 0 0 14px rgba(26, 95, 235, 0.4); }

/* ── 表格 ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.data-table thead th {
  text-align: left; padding: 14px 20px; color: var(--text-muted);
  font-weight: 600; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; border-bottom: 1.5px solid var(--border);
}
.data-table tbody td {
  padding: 16px 20px; border-bottom: 1px solid var(--border-soft);
  color: var(--text-secondary);
}
.data-table tbody tr:hover { background: var(--bg-soft); }
.data-table .hl { color: var(--blue); font-weight: 700; }

/* ── 时间线 ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { margin-bottom: 48px; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -37px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--blue);
}
.timeline-date {
  font-family: var(--en); font-size: 0.78rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.04em; margin-bottom: 6px;
}
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.timeline-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── 风控标签 ── */
.tag-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tag {
  padding: 10px 20px; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: 0.84rem; font-weight: 600; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px; transition: all 0.25s;
}
.tag:hover { border-color: var(--blue); color: var(--text); background: var(--blue-light); }
.tag.danger { border-color: #fecaca; color: #dc2626; background: #fff5f5; }

/* ── CTA ── */
.cta-strip {
  position: relative; z-index: 2; max-width: 960px; margin: 0 auto 100px;
  padding: 80px 64px; text-align: center;
  background: var(--bg-soft); border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
}
.cta-strip .cta-title {
  font-family: var(--en); font-size: 2rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 12px;
}
.cta-strip .cta-desc { color: var(--text-secondary); margin-bottom: 36px; font-size: 1.06rem; }

/* ── Footer ── */
.footer {
  position: relative; z-index: 2; border-top: 1px solid var(--border);
  padding: 60px 60px 36px; text-align: center; background: var(--bg-soft);
}
.footer-brand { font-family: var(--en); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.footer-info { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.footer-links { display: flex; gap: 32px; justify-content: center; list-style: none; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; transition: 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.74rem; color: var(--text-muted); opacity: 0.7; }

/* ── 表单 ── */
.form-input, .form-textarea {
  width: 100%; padding: 14px 18px; background: #fff;
  border: 1.5px solid var(--border); border-radius: var(--r);
  color: var(--text); font-size: 0.92rem; font-family: var(--cn);
  transition: 0.25s;
}
.form-input:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,95,235,0.06);
}

/* ── 分割线 ── */
.divider {
  width: 100%; height: 1px;
  background: var(--border-soft);
  margin: 0;
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-label { display: block; font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }
.form-group { margin-bottom: 20px; }

/* ── 动效: 滚动渐入 ── */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── 动效: 浮动卡片 ── */
.float-card {
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .hero { padding: 120px 40px 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-right { order: -1; }
  .hero-visual { width: 260px; height: 260px; }
  .section { padding: 56px 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-inner { padding: 0 32px; }
}

@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { gap: 8px; padding: 0 16px; height: 60px; }
  .nav-center { flex: 0; }
  .nav-logo { font-size: 0.72rem; letter-spacing: 0.06em; gap: 8px; }
  .nav-logo-img { width: 34px; }
  .nav-right { gap: 6px; }
  .nav-ai-btn { padding: 8px 10px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 20px 32px; gap: 16px; box-shadow: var(--shadow-md);
  }
  .hero { min-height: auto !important; padding: 56px 24px 40px; }
  .hero-grid { gap: 20px; }
  .hero-visual { width: 150px !important; height: 150px !important; }
  .hero-title { font-size: 2.2rem; }
  .section { padding: 48px 20px; }
  .section-title { font-size: 1.8rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .metric-row { gap: 36px; }
  .metric-value { font-size: 2.2rem; }
  .cta-strip { margin: 0 16px 80px; padding: 48px 24px; }
  .arch-flow { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); }
  .flow-break-inner { flex-direction: column; gap: 16px; align-items: center; }
  .flow-stat { width: 100%; max-width: 320px; padding: 24px 20px; }
}

/* ============================================================
   行情横条 Ticker Bar
   ============================================================ */
.ticker-bar {
  position: sticky; top: 64px; left: 0; right: 0; z-index: 999;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
  height: 48px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  will-change: transform;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
}
.ticker-card {
  display: flex; flex-direction: column; gap: 2px;
  padding: 4px 18px; min-width: 110px;
  transition: background 0.2s;
}
.ticker-card:hover {
  background: var(--blue-light);
}
.ticker-card-top {
  display: flex; align-items: center; gap: 10px;
}
.ticker-symbol {
  font-family: var(--en); font-weight: 700; color: var(--text);
  letter-spacing: 0.03em; font-size: 0.78rem;
}
.ticker-change {
  font-family: var(--en); font-weight: 600; font-size: 0.7rem;
}
.ticker-up   { color: #16a34a; }
.ticker-down { color: #dc2626; }
.ticker-card-price {
  font-family: var(--en); font-weight: 600; color: var(--text-secondary);
  font-size: 0.8rem;
}
.ticker-card-price.up   { color: var(--blue); }
.ticker-card-price.down { color: #dc2626; }

/* Ticker static — fallback mode */
.ticker-bar.ticker-static::after { display: none; }
.ticker-bar.ticker-static .ticker-card-price { color: var(--text-muted); }

/* ============================================================
   语言切换
   ============================================================ */
.lang-switch {
  position: relative; margin-left: 12px;
}
.lang-current {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: transparent; border: 1.5px solid var(--border);
  color: var(--text-secondary); cursor: pointer;
  transition: all 0.25s var(--ease);
}
.lang-current svg {
  width: 17px; height: 17px; stroke: currentColor;
}
.lang-current:hover {
  border-color: var(--blue); color: var(--blue); background: var(--blue-light);
}
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 1001;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-lg);
  padding: 6px; min-width: 120px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s var(--ease);
}
.lang-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-dropdown button {
  display: block; width: 100%; padding: 8px 14px;
  background: transparent; border: none; border-radius: 6px;
  font-size: 0.82rem; color: var(--text-secondary);
  cursor: pointer; text-align: left;
  transition: all 0.2s; font-family: var(--cn);
}
.lang-dropdown button:hover {
  background: var(--blue-light); color: var(--text);
}
.lang-dropdown button.active {
  background: var(--blue); color: #fff; font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
  .ticker-bar { top: 60px; height: 44px; }
  .ticker-card { padding: 4px 14px; min-width: 95px; }
  .nav-right .nav-cta { display: none; }
  .lang-switch { margin-left: 8px; }
  .lang-current { width: 30px; height: 30px; }
  .lang-current svg { width: 15px; height: 15px; }
  .lang-dropdown { z-index: 1001; }
}

/* ═══ 合作伙伴网格 ═══ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 36px auto 0;
}
.partner-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 22px 12px 18px;
  text-align: center;
  transition: all 0.3s var(--ease);
  cursor: default;
}
.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d8d8e0;
  transform: translateY(-2px);
}
.partner-card svg {
  width: 36px; height: 36px;
  flex-shrink: 0;
}
.partner-name {
  font-family: var(--cn);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .partner-card { padding: 16px 8px 14px; }
  .partner-card svg { width: 28px; height: 28px; }
  .partner-name { font-size: 0.72rem; }
}

/* ═══════════════════════════════════
   移动端表格卡片式重排
   ═══════════════════════════════════ */
@media (max-width: 600px) {
  .data-table, .data-table tbody, .data-table tr, .data-table td {
    display: block; width: 100%; box-sizing: border-box;
  }
  .data-table thead { display: none; }
  .data-table tr {
    background: var(--bg-card, #fff);
    border: 1px solid var(--border-soft, #f0f0f4);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
  }
  .data-table td {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border: none; border-bottom: 1px solid var(--border-soft, #f0f0f4);
    font-size: 0.92rem;
  }
  .data-table td:last-child { border-bottom: none; }
  .data-table td:first-child {
    font-weight: 700; color: var(--text, #0d0d0d); font-size: 0.95rem;
    padding-bottom: 12px; margin-bottom: 2px;
    border-bottom: 1px solid var(--border, #e8e8ed);
  }
  .data-table td:not(:first-child)::before {
    content: attr(data-label);
    color: var(--text-muted, #8e8e96); font-size: 0.78rem; font-weight: 500;
  }

  /* 内联 padding:60px 覆盖 */
  .section-alt > div { padding: 24px 0 !important; }

  /* 核心数据字号降级 */
  .flow-val { font-size: 2.2rem; }

  /* 联系页：移动端表单在底部（信息在上） */
  .form-col { order: 2; }
  .info-col { order: 1; }

  /* 架构节点：移动端加宽 */
  .arch-node { width: 100%; max-width: 320px; min-width: 0; padding: 22px 20px; }
}

/* ═══ 行业定位描述：半透明毛玻璃卡片（隔离粒子） ═══ */
.glass-desc {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ═══ 行业定位四组数据：半透明毛玻璃卡片 ═══ */
.glass-metrics {
  gap: 24px;
}
.glass-metrics .metric-item {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px) saturate(140%);
  -webkit-backdrop-filter: blur(4px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
