/* ============================================================
   中云宏观 官网 — 全局样式（3D 宏观推演模型版）
   参考 BCA Research 高端精致风格
   主色: #0A1628 | 主强调（铜金）: #C8A66A | 辅色（青绿）: #38D9C2 | 强调: #F1D718
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --color-primary: #0A1628;
  --color-primary-light: #1A2A36;
  /* —— 配色回滚（恢复项目初始视觉）——
     主强调色恢复为青绿 #38D9C2，深色底恢复为 #0A1628，浅色区保持 #F5F7FA；
     铜金 #C8A66A 降级为「极小面积点缀色」：仅用于中云指数折线与会员徽标描边，
     禁止用于页面/区块背景，确保整体保持深邃的科技/金融底色。 */
  --color-accent: #38D9C2;              /* 主强调色（已回滚为原配色：青绿） */
  --color-accent-hover: #2BB8A3;
  --color-accent-dark: #1A8A7A;
  --color-bronze: #C8A66A;              /* 铜金：仅图表折线 / 徽标描边等极小面积 */
  --color-bronze-hover: #D8B87E;
  --color-bronze-dark: #8C6F3A;
  --color-cinnabar: #B23A2F;            /* 朱砂：风险/下跌/警示 */
  --color-gold: #F1D718;
  --color-ink: #0A1628;                 /* 深色满幅区底色（恢复原深蓝 #0A1628） */
  --color-bg-light: #F5F7FA;
  --color-white: #FFFFFF;
  --color-text: #1A2A36;
  --color-text-light: #5A6A7A;
  --color-text-muted: #8A9AA8;
  --color-border: #E8ECF0;
  --color-divider-light: #E3E7EB;               /* 浅色区块分割线 */
  --color-divider-dark: rgba(255, 255, 255, 0.10); /* 深色满幅区分割线 */
  --color-card-shadow: rgba(10, 22, 40, 0.04);

  /* 字体：中文走系统字体栈（免下载、国内加载快）；
     拉丁/数字走本地 Inter；品牌字标走本地 Noto Serif SC 子集（见 css/fonts.css） */
  --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-serif: 'Noto Serif SC', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --header-height: 72px;
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 品牌 LOGO（品牌重塑：中云 → 位图 images/logo-zhongyun.svg，画布 358 × 108，透明底）
     · 尺寸关系（2026-10 二次修正「LOGO 视觉仍偏小」）：
       原始导出图是 373 × 200 的画布，但墨迹只有 358 × 108（上留白 44px / 下留白 48px，
       占了画布高度的 46%）。只调「元素 height」无法解决：元素里 46% 的高度是看不见的
       透明留白，56px 的 LOGO 实际只显示 30px 的红色图形，放在 100px 高的导航栏里依然很小。
       本次已按 alpha>=1 的墨迹包围盒把 PNG 无损裁剪为 358 × 108
       （原图备份在「站点目录的上一级」：
         ..\_redesign_backup_20261008_172548\images\logo-zhongyun.svg），
       于是「元素 height = 肉眼可见高度」——下面的像素值就是眼睛看到的尺寸，
       可以直接按视觉审美填写和微调，不再需要任何 ÷0.54 之类的换算。
     · 宽高比 358:108 ≈ 3.3148 与旧 SVG（257×57 ≈ 4.51）不同，--logo-aspect 必须同步；
       本文件用「height 固定 + width:auto + aspect-ratio + object-fit:contain」多重保险，
       比例写错浏览器会按错误比例算宽度，把位图横向压扁（变形）。
     · 只锁高度、宽度由比例自动推导（宽度 ≈ 高度 × 3.3148），
       所以无论怎么调都不会撑宽 / 撑破固定高度的导航栏与页脚。
     · 各断点可见高度对照（参照物：导航菜单文字 0.9375rem = 15px、页脚正文 0.875rem = 14px、
       右侧按钮高 40px）：
         导航栏 ≥1025px → 44px（宽 ≈146px，比 40px 的按钮略高，品牌最醒目）
         导航栏 769–1024px → 40px（宽 ≈133px；该区间有 5 个菜单项 + 2 个按钮，横向最紧张）
         导航栏 ≤768px  → 40px（宽 ≈133px，与汉堡按钮并存，375px 屏仍有余量）
         导航栏 ≤480px  → 36px（宽 ≈119px）
         页脚（全断点）→ 32px（宽 ≈106px，为页脚正文 14px 的 2.3 倍，压得住 16px 的栏目标题） */
  --logo-aspect: 358 / 108;
  --logo-height-nav: 40px;          /* 导航栏 LOGO 高度（≤768px 默认档；值 = 可见高度） */
  --logo-height-nav-desktop: 44px;  /* 导航栏 LOGO 高度（≥1025px，导航栏高 100px） */
  --logo-height-nav-sm: 36px;       /* 导航栏 LOGO 高度（≤480px） */
  --logo-height-footer: 32px;       /* 页脚 LOGO 高度（全断点统一） */
  --logo-gap-footer: 16px;          /* 页脚 LOGO 与下方「专业宏观经济…」介绍文案的间距 */
  /* 透明背景：不加任何底衬（保留下面 3 个变量，便于一键切回浅色底衬方案） */
  --logo-chip-bg: transparent;
  --logo-chip-padding: 0;
  --logo-chip-radius: 0;
  /* 滤镜：新 LOGO 为彩色位图（红色），必须保持 none。
     注意：旧版曾用 invert(1) hue-rotate(180deg) 把 SVG 黑字反成白字，
     该滤镜会把本 LOGO 的红色反相为青绿色，切勿改回。 */
  --logo-filter: none;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section ---------- */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
  vertical-align: middle;
  margin: 0 10px;
  opacity: 0.4;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.bg-light {
  background: var(--color-bg-light);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 217, 194, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 22px; font-size: 0.875rem; }
.btn-lg { padding: 14px 34px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; padding: 14px 24px; font-size: 1rem; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.btn-text:hover {
  color: var(--color-accent-hover);
  gap: 10px;
}

.btn-text .arrow {
  font-size: 1.1em;
  transition: transform var(--transition);
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   顶部导航栏
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* 导航栏左侧 LOGO 容器：作为 .header-container（flex + align-items:center）的 flex item，
   自身再 align-items:center + line-height:0 + 内外边距归零，
   保证图片与右侧「中云指数」等菜单文字共用同一条水平中轴线，不产生基线下沉。 */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;  /* 作为 .header-container 的 flex item 强制垂直居中 */
  flex-shrink: 0;      /* 菜单项再多也不挤压 LOGO */
  margin: 0;
  padding: 0;
  line-height: 0;      /* 消除行盒高度带来的额外占位 */
}

/* Logo 图文组合（导航栏 + 页脚）—— 透明背景，不加任何底衬 */
.logo-group {
  display: inline-flex;
  align-items: center;      /* 图片与并排元素垂直居中 */
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: var(--logo-chip-bg);    /* transparent：透明底 */
  padding: var(--logo-chip-padding);  /* 0：不占多余内边距 */
  border-radius: var(--logo-chip-radius);
  margin: 0;                /* 归零浏览器默认 margin，确保视觉绝对居中 */
  line-height: 0;
  flex-shrink: 0;
  transition: background var(--transition);
}

/* 导航栏 / 页脚 Logo 图片尺寸
   公共部分：display:block + margin/padding/border 归零，去掉行内图片默认的基线空隙；
   height 锁单边 + width:auto + aspect-ratio + object-fit:contain 多重保障 358:108 不失真。 */
.nav-logo-img,
.footer-logo-img {
  display: block;
  width: auto;
  /* 放开一切宽高上限：父级 .logo-group → .logo（flex item）的宽度由内容撑开，
     对图片使用百分比 max-width 会被反向解析成「压窄图片」，这里一律置 none，
     确保放大的 LOGO 在任何断点都不会被旧约束截断或压扁。 */
  max-width: none;
  max-height: none;
  margin: 0;                 /* 归零默认上下边距，保证绝对垂直居中 */
  padding: 0;
  border: 0;
  aspect-ratio: var(--logo-aspect);
  object-fit: contain;
  vertical-align: middle;    /* 兜底：父级若非 flex，也不会因基线产生下沉 */
  filter: var(--logo-filter);
}

/* 导航栏 LOGO（默认档 = ≤768px）：40px —— 位图已裁掉透明留白，
   这里的 height 就是肉眼看到的图形高度（宽 ≈133px），与菜单文字共用同一中轴线 */
.nav-logo-img { height: var(--logo-height-nav); }

/* 页脚 LOGO：32px（= 可见高度，约为页脚正文 0.875rem = 14px 的 2.3 倍）；
   display:block + margin-bottom 显式撑开与下方「专业宏观经济与金融研究机构」的 16px 间距。 */
.footer-logo-img {
  height: var(--logo-height-footer);
  display: block;
  margin: 0 0 var(--logo-gap-footer);
}

/* 页脚 LOGO 容器：.footer-brand 是块级容器，此处把锚点从行内级（inline-flex）
   改为块级 flex + fit-content —— 彻底消除行内元素基线带来的底部空隙。
   间距策略：与下方 .footer-desc 的 16px 间距改由 .footer-logo-img 的 margin-bottom 单独负责
   （flex 容器不与子元素发生外边距折叠，故该 16px 稳定落在 <a> 内部、不会被吞掉），
   因此下面同时取消 .footer-desc 自带的上外边距 14px，避免两者叠加成 30px。 */
.footer-logo { display: flex; width: fit-content; }
.footer-brand .footer-desc { margin-top: 0; }

/* 桌面端（≥769px）：导航栏 100px 高，LOGO 提到 44px（宽 ≈146px）；
   页脚在各断点统一 32px。仍然只锁高度 → 绝不会撑宽固定高度的导航栏。
   注 1：769–1024px 横向最紧张，在文件末尾的平板查询里退回 40px 档；
   注 2：max-width / max-height: none 已上移到公共规则，此处不再重复覆盖。 */
@media (min-width: 769px) {
  :root {
    --header-height: 100px;
  }
  .nav-logo-img {
    height: var(--logo-height-nav-desktop);
  }
}

/* 恢复水平排版 */
.logo-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* 强行上移符号，对齐顶部的"中云" */
.symbol-char {
  color: #00E5FF;
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  display: block;
  transform: translateY(-8px); /* 关键：往上提拉对齐 */
}

/* 保持右侧排版不变 */
.text-group {
  display: flex;
  flex-direction: column;
  width: fit-content;
  line-height: 1;
}

.brand-cn {
  color: #FFFFFF;
  font-size: 24px;
  font-family: "FZYaoti", "方正姚体", "STYaoti", serif;
  font-weight: bold;
  transform: scaleY(0.8);
  transform-origin: bottom;
  text-align: justify;
  text-align-last: justify;
  width: 100%;
  display: block;
  margin-bottom: 2px;
}

.brand-en {
  color: #00E5FF;
  font-size: 20px;
  font-family: "FZShuti", "方正舒体", "STXingkai", cursive;
  font-weight: bold;
  display: block;
  margin: 0;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  font-size: 0.875rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   首屏核心区（3D太阳系）
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  max-height: 1000px;
  overflow: hidden;
  /* 背景透明，让 Three.js canvas 显示出来 */
  background: transparent;
}

/* CSS2D 指标标签样式 — 精致商务风
   ------------------------------------------------------------
   结构：.indicator-label（定位盒：只负责定位与交互，不承担任何视觉）
        └ .indicator-label__text（可视胶囊：内距 / 底色 / 毛玻璃 / nowrap）
   【绝对不要给 .indicator-label 写 transform】CSS2DRenderer 每帧都会写入
   inline transform: translate(-50%,-50%) translate(x,y)（inline 优先级高于样式表），
   标签「位于行星正下方且水平居中」由此保证；中文标签（宏观策略 / GDP 增长）
   比英文缩写更长时，靠内层 nowrap + 外层盒子随文自适应向两侧对称展开，
   不会偏移、不会折行、不改变轨道视觉平衡。hover 缩放作用在内层，
   避免与渲染器的定位 transform 互相覆盖（旧版写在外层的 hover scale 因此从未生效）。 */
.indicator-label {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  cursor: pointer;
}

.indicator-label__text {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease, text-shadow 0.25s ease;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.indicator-label:hover .indicator-label__text,
.indicator-label:focus-visible .indicator-label__text {
  text-shadow: 0 0 20px currentColor, 0 0 40px currentColor, 0 1px 4px rgba(0, 0, 0, 0.6);
  transform: scale(1.08);
}

/* 键盘可达性：标签为 role="link" + tabindex，聚焦时给出可见轮廓 */
.indicator-label:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 3px;
}

/* CSS2DRenderer 容器样式覆盖
   注：该容器尺寸与 .hero 完全一致，其 overflow:hidden 由 CSS2DRenderer 以 inline 样式写入，
   裁切边界与 .hero 自身的 overflow:hidden 相同；而行星轨道半径 5.0–9.8（相机 z=18 / fov 40）
   始终落在可视安全区内，标签文字长度变化不会导致被裁切，故此处只做层级提升。 */
.hero-canvas .css2d-renderer {
  z-index: 1 !important;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* 深色半透明遮罩 - 在 canvas 上方、内容下方，增强文字可读性 */
.hero-canvas::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(56, 217, 194, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(241, 215, 24, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at center, transparent 0%, rgba(10, 22, 40, 0.4) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hero-overlay * {
  pointer-events: auto;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(56, 217, 194, 0.12);
  border: 1px solid rgba(56, 217, 194, 0.2);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(4px, 4px); }
}

/* ============================================================
   数据统计区
   ============================================================ */
.stats {
  background: var(--color-primary);
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 8px;
}

.stat-number {
  font-family: var(--font-en);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 10px;
  letter-spacing: 0.02em;
}

/* ============================================================
   服务项目
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-card-shadow);
  border-color: transparent;
}

.service-card.featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(56, 217, 194, 0.08);
}

.service-card.core-tech {
  border-color: var(--color-gold);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(241, 215, 24, 0.08);
}

.service-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.06em;
}

.badge-tech {
  background: var(--color-gold);
  color: var(--color-primary);
}

.service-icon {
  margin-bottom: 20px;
  line-height: 1;
}

.service-icon svg {
  display: block;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

/* ============================================================
   特色研究报告
   ============================================================ */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.report-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--color-card-shadow);
}

.report-image {
  height: 210px;
  overflow: hidden;
}

.report-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #0D1F3C 50%, #132A4A 100%);
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.report-body {
  padding: 24px 28px 28px;
}

.report-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(56, 217, 194, 0.1);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.report-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.4;
}

.report-author {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.report-summary {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ============================================================
   研究产品矩阵
   ============================================================ */
.tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 4px;
  border: 1px solid var(--color-border);
}

.tab-btn {
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-light);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(10, 22, 40, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--color-card-shadow);
  border-color: transparent;
}

.product-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.product-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================================
   关于我们
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

/* 副标题（主文案）：品牌青绿 + 加粗，字号明显大于正文（22px > 16px） */
.about-text .about-lead {
  font-size: 1.375rem;          /* 22px */
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-accent);   /* 品牌主色（青绿） */
  margin-bottom: 16px;
}

/* 正文：16px / 行高 1.7 / 灰黑色 / 两端对齐（提升排版质感） */
.about-text p {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 8px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-stat-item {
  text-align: center;
  padding: 36px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.about-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-card-shadow);
}

.about-stat-number {
  display: block;
  font-family: var(--font-en);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
  padding: 28px 16px 24px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--color-card-shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-primary);
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-sans);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================================
   转化引导横幅（替代原留资表单，直客转化统一走全局注册弹窗）
   ============================================================ */
.cta-banner {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -46%;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(56, 217, 194, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.cta-banner-text {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  max-width: 820px;
}

.cta-banner-btn {
  min-width: 200px;
  padding: 14px 40px;
  font-size: 1rem;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(56, 217, 194, 0.15);
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  /* 品牌列 2fr（承载 Logo 与机构说明），三列链接各 1fr —— 横向空间被均匀填满，
     消除「品牌列偏窄 + 第二列超宽 + 末尾空出一条轨道」的失衡。 */
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 首页页脚为「品牌列 + 四列链接」，单独给出五轨模板（其余页面复用上方四轨） */
.footer-grid--home { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; }

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 14px;
  line-height: 1.7;
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   响应式设计
   ============================================================ */

/* 平板 */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reports-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid--home { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 3.25rem; }
}

/* 手机 */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 1rem; }

  /* 导航 */
  .mobile-toggle { display: flex; }

  /* LOGO：小屏保持透明底，仅收紧与品牌文字的间距 */
  .logo-group {
    padding: 0;
    border-radius: 0;
    gap: 8px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 80px 32px 40px;
    gap: 32px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    text-align: center;
  }

  .nav-link {
    display: block;
    padding: 8px 0;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
  }

  /* 首屏 */
  .hero { min-height: 600px; max-height: 800px; }
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  /* 统计 */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 2.5rem; }

  /* 服务 */
  .services-grid { grid-template-columns: 1fr; }

  /* 报告 */
  .reports-grid { grid-template-columns: 1fr; }

  /* 产品矩阵 */
  .tabs-nav { flex-direction: column; gap: 4px; }
  .tab-btn { width: 100%; text-align: center; }
  .products-grid { grid-template-columns: 1fr; }


  /* 团队 */
  .team-grid { grid-template-columns: repeat(2, 1fr); }


  /* 关于 */
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about-stat-number { font-size: 2rem; }

  /* 页脚：品牌列独占整行，链接列按可用宽度自动收成 2~3 列（不再留空白轨道） */
  .footer-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 小手机 */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.875rem; }

  /* LOGO：极小屏再缩一档（导航栏 36px → 宽 ≈119px），避免挤压汉堡按钮；
     页脚 LOGO 统一 32px，窄屏上依旧保持「比导航栏略小」的层级关系 */
  .nav-logo-img { height: var(--logo-height-nav-sm); }
  .footer-logo-img { height: var(--logo-height-footer); }
  .logo-group { padding: 0; margin: 0; border-radius: 0; }
}

/* ============================================================
   微信 H5 / 移动端基础适配（新增）
   ------------------------------------------------------------
   1) -webkit-tap-highlight-color：消除移动端点击元素时的半透明灰色闪烁
   2) 底部安全区：为 iPhone 全面屏（Home 指示条）预留空间；
      非刘海机型 env(safe-area-inset-bottom) 解析为 0，PC 端无任何副作用
   3) -webkit-text-size-adjust：禁止 iOS / 微信自动放大字号导致排版错位
   4) 触控热区：主要按钮点击区域 ≥ 44px —— 全部包裹在
      @media (max-width: 768px) 内，PC 端（>768px）样式完全不变
   ============================================================ */
* { -webkit-tap-highlight-color: transparent; }

body { padding-bottom: env(safe-area-inset-bottom); }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 768px) {
  /* ---------- 触控热区 ≥ 44px（主要按钮） ---------- */
  /* 首屏「免费试用 / 联系研究团队」、服务卡「申请会员方案」、弹窗内主按钮等 */
  .btn,
  .btn-sm,
  .btn-lg,
  .btn-block { min-height: 44px; }

  /* 文字型按钮：首页「联系研究团队」、服务卡片「了解更多」、报告「阅读全文」 */
  .btn-text {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  /* 移动端抽屉导航项、产品矩阵选项卡 */
  .nav-link,
  .tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }
  /* 转化引导横幅：窄屏文案缩号、按钮占满 */
  .cta-banner-text { font-size: 1.5rem; }
  .cta-banner-btn { width: 100%; max-width: 320px; }


}

/* ============================================================
   首页专项：首屏价值主张强化 + 服务三卡布局
   ------------------------------------------------------------
   1) 首屏文字图层（2026-10 第一阶段：中文主标题 + 中文注解的机构级排版）
      .hero-content--intl / .hero-title--intl / .hero-subtitle--cn / .hero-subtitle--note /
      .hero-badge--intl 仅服务首页首屏；旧修饰类 .hero-title--insight / .hero-subtitle--wide
      已随本次改版移除（全站仅首页引用过，无遗留引用）。
      「保护区」声明：本段只作用于 .hero-overlay 内部的前景文字图层，
      .hero-canvas（Three.js 太阳系背景）与 .site-header（导航栏 / LOGO）零改动。
      修饰类自带断点，不改动 .hero-title / .hero-subtitle 在原断点下的既有字号体系，
      其它页面（无该类）排版像素级不变。
   2) .services-grid--trio
      「全方位宏观研究服务体系」由 6 卡收敛为 3 个机构级模块后的布局：
        ≥1025px → 三列并排、整组居中（max-width 1080px），比例协调；
        769–1024px → 仍为三列，收紧间距与字号，避免 2+1 的失衡断行；
        ≤768px → 单列居中。
      悬浮特效沿用 .service-card:hover（本增量不覆盖其 transform / box-shadow）。
   ============================================================ */

/* ---------- 首屏文字图层（中文主导）：字号 / 字重 / 行高 / 留白 ----------
   层级自上而下：机构徽标 → 中文主标题 → 价值主张注解 → 转化按钮。
   呼吸感来源（对比改版前）：
     主标题 3.5rem → 2.875rem、字重 700 → 600、行高 1.24 → 1.16；
     中文句在 880px 内容宽度内收束为两行，比原大字号更疏朗；
     徽标 24px → 30px、标题 22px → 18px、新增注解下间距 22px、注解 40px → 44px。
   注：本段不涉及任何背景层（.hero-canvas）与导航层（.site-header）选择器。 */
.hero-content--intl {
  max-width: 880px;
}

/* 机构徽标：小号字 + 字距放开，弱化为「定位标签」而非标语 */
.hero-badge--intl {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 30px;
}

/* 主标题（中文）：字号 / 字重 / 行高三项同时收敛 */
.hero-title--intl {
  font-size: 2.875rem;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

/* 「Defying Consensus」青绿强调：沿用全站强调色规范（极小面积高亮） */
.hero-kicker {
  font-style: normal;
  color: var(--color-accent);
}

/* 中文副标题：原中文主张，降一档字号 + 降透明度（0.65 → 0.62，对 #0a1628 底色 ≈7.5:1，仍满足 WCAG AA） */
.hero-subtitle--cn {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.06em;
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 22px;
}

/* 价值主张注解：三级小字，进一步弱化（0.5 ≈5.2:1，满足 WCAG AA 正文 4.5:1），避免与主标题争夺注意力 */
.hero-subtitle--note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  max-width: 620px;
  margin-bottom: 44px;
}

@media (max-width: 1024px) {
  .hero-content--intl { max-width: 720px; }
  .hero-title--intl { font-size: 2.25rem; }
}

@media (max-width: 768px) {
  .hero-badge--intl { margin-bottom: 24px; }
  .hero-title--intl { font-size: 1.75rem; line-height: 1.22; margin-bottom: 16px; }
  .hero-subtitle--cn { font-size: 0.8125rem; letter-spacing: 0.05em; }
  .hero-subtitle--note { font-size: 0.8125rem; margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .hero-title--intl { font-size: 1.5rem; }
  /* 徽标窄屏：收紧字距与内边距 —— 长定位语（渲染宽 299.7px + 左右内边距 36px）
     在 360px 视口下仍保持单行，避免胶囊被折成两行。 */
  .hero-badge--intl { letter-spacing: 0.08em; padding: 6px 14px; }
  .hero-subtitle--cn { font-size: 0.75rem; }
  .hero-subtitle--note { font-size: 0.75rem; line-height: 1.8; margin-bottom: 32px; }
}

/* ---------- 文字入场动画：缓慢渐显 + 轻微上浮（只用 opacity / transform，不触碰背景） ----------
   1.2s 缓出曲线 + 0.12s 错峰（徽标 → 主标题 → 副标题 → 注解 → 按钮）。
   animation-fill-mode: both —— 延迟期间即呈现起始帧（文字不闪现在最终位置），
   同时元素自身 opacity 保持默认 1，即便动画未执行（旧浏览器 / 扩展拦截）文字也不会消失。 */
@keyframes heroTextRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content--intl > * {
  animation: heroTextRise 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-content--intl > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content--intl > *:nth-child(2) { animation-delay: 0.17s; }
.hero-content--intl > *:nth-child(3) { animation-delay: 0.29s; }
.hero-content--intl > *:nth-child(4) { animation-delay: 0.41s; }
.hero-content--intl > *:nth-child(5) { animation-delay: 0.53s; }

/* 无障碍：系统开启「减少动态效果」时静态呈现，不做位移与渐显 */
@media (prefers-reduced-motion: reduce) {
  .hero-content--intl > * {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- 服务三卡：PC 三列并排居中，平板三列收紧，手机单列居中 ---------- */
@media (min-width: 1025px) {
  .services-grid.services-grid--trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1080px;
    margin: 0 auto;
  }
  .services-grid--trio .service-card { padding: 34px 26px 30px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* 平板横向（769–1024px）：导航栏横向空间最紧张（5 个菜单项 + 会员登录 + 联系研究团队），
     LOGO 退回 40px 档（与 ≤768px 同档，宽 ≈133px），
     避免 44px 档的 ≈146px 宽度把右侧按钮挤出容器。 */
  .nav-logo-img { height: var(--logo-height-nav); }
  .services-grid.services-grid--trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .services-grid--trio .service-card { padding: 26px 18px 24px; }
  .services-grid--trio .service-icon svg { width: 40px; height: 40px; }
  .services-grid--trio .service-title { font-size: 1.0625rem; margin-bottom: 10px; }
  .services-grid--trio .service-desc { font-size: 0.875rem; line-height: 1.65; }
}

@media (max-width: 768px) {
  .services-grid.services-grid--trio {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    max-width: 460px;
    margin: 0 auto;
  }
}

