/* ============================================================
   Fin-Do Unlimited 纷动科技 · 官网设计系统
   浅色科技风 · 跨境商家数字化增长服务 · 主色 靛蓝/科技青
   ============================================================ */

:root {
  /* —— 品牌主色（单一克制蓝，去渐变） —— */
  --brand-50:  #eef2ff;
  --brand-100: #e0e7ff;
  --brand-200: #c7d2fe;
  --brand-300: #a5b4fc;
  --brand-400: #818cf8;
  --brand-500: #6366f1;
  --brand-600: #4f52d8;   /* 主色（加深以保证白底 4.5:1 对比） */
  --brand-700: #3f41b8;
  --brand-800: #34359c;
  --brand-900: #2a2b7d;
  --accent: #4f52d8;      /* 与主色统一，不再单独青色 */

  /* —— 品牌渐变（蓝紫：蓝 → 紫 → 亮紫） —— */
  --brand-gradient: linear-gradient(120deg, #6366f1 0%, #7c3aed 55%, #a855f7 100%);

  /* —— 浅色底（中性石墨灰，去蓝调渐变） —— */
  --bg-0: #f7f8fa;      /* 主背景（近白中性灰） */
  --bg-1: #ffffff;      /* 交替区块背景（白） */
  --bg-2: #f1f3f6;      /* 稍深中性灰 */
  --bg-3: #eaedf2;
  --surface: #ffffff;   /* 卡片表面 */
  --surface-strong: #f4f5f7;

  /* —— 文字（中性灰阶） —— */
  --text-0: #171717;    /* 主标题，近黑 */
  --text-1: #3f3f46;    /* 正文 */
  --text-2: #52525b;    /* 次要 */
  --text-3: #636363;    /* 弱化/占位（加深至满足 WCAG AA 4.5:1） */

  /* —— 描边（中性，弱化） —— */
  --border: rgba(23, 23, 23, 0.08);
  --border-strong: rgba(23, 23, 23, 0.16);

  /* —— 字号阶梯（Wayflyer 风格：大标题 + 强字重对比） —— */
  --fs-hero:   clamp(1.5rem, 1rem + 4.6vw, 3.8rem);
  --fs-h1:     clamp(2rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2:     clamp(1.6rem, 1.2rem + 1.8vw, 2.3rem);
  --fs-h3:     clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  --fs-lead:   clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --fs-body:   1rem;
  --fs-sm:     0.9rem;
  --fs-xs:     0.8rem;

  /* —— 行高 —— */
  --lh-tight: 1.15;
  --lh-body:  1.7;

  /* —— 间距刻度 —— */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* —— 容器 —— */
  --container: 1120px;
  --container-wide: 1280px;
  --grid-gap: 24px;

  /* —— 圆角 —— */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* —— 阴影（中性、小、柔和） —— */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 12px 32px rgba(0, 0, 0, 0.08);

  /* —— 动效 —— */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.18s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg-0); }
body {
  margin: 0;
  /* 底色交给 html，body 保持透明，确保 z-index:-1 的全站背景层在 Safari 上也可见 */
  background: transparent;
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--brand-700); }
h1,h2,h3,h4 {
  color: var(--text-0); line-height: var(--lh-tight);
  margin: 0 0 var(--sp-4); font-weight: 600; letter-spacing: -0.01em;
}
p { margin: 0 0 var(--sp-4); }
ul { margin: 0; padding: 0; list-style: none; }

/* —— 布局工具 —— */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-wide { max-width: var(--container-wide); }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
/* 呼吸感区块：更宽松的上下留白 + 卡片间距更大，页面更开阔 */
.section--breathe { padding: var(--sp-9) 0; }
/* 全站统一背景：所有板块不再铺白色底板，图片从首屏连续贯穿到页脚 */
.section--breathe .section-head { margin-bottom: var(--sp-9); }
.grid { display: grid; gap: var(--grid-gap); }
.grid--breathe { gap: var(--sp-8); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
/* 股东背景两卡片缩小：整体宽度缩到约一半并居中，两列内缩 */
.bg-grid--small {
  max-width: 760px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

/* —— 联系方式链接 —— */
.contact-link {
  color: var(--text-1); font-weight: 500; text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.contact-link:hover {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  text-decoration: underline;
}
.contact-addr { color: var(--text-1); font-weight: 500; line-height: 1.6; }

/* —— 文字样式 —— */
.eyebrow {
  display: block;
  font-size: 1.1rem;
  font-weight: 600; letter-spacing: 0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  margin-bottom: var(--sp-4);
}
.lead { font-size: var(--fs-lead); color: var(--text-1); }
.text-dim { color: var(--text-2); }
.gradient-text {
  color: var(--text-0);
}

/* —— 按钮 —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 13px 26px; border-radius: 10px;
  font-size: var(--fs-sm); font-weight: 500; line-height: 1;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: transparent;
  color: #6d28d9;
  border: 1px solid #7c3aed;
}
.btn--primary:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}
.btn--ghost {
  background: transparent;
  color: var(--text-0);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }

/* —— 磁吸按钮（magnetic button）—— */
.btn--magnetic {
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--magnetic .btn__label {
  display: inline-block;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* —— 卡片（中性表面 · 单描边） —— */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}

/* 卡片图文分区模式：上半是完整素材图，下半是干净浅色文字区（图归图、文归文） */
.card--bg { position: relative; padding-top: 170px; }
.card--bg::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 170px;
  background-image: var(--bg-img);
  background-size: cover; background-position: center 38%; background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
/* 4:3 图片区卡片：图片区按卡片宽度的 3/4 高度展示，主体完整不裁切 */
.card--ratio43 { padding-top: 75%; }
.card--ratio43::before {
  height: auto;
  aspect-ratio: 4 / 3;
  background-position: center;
}
/* 3:2 图片区卡片：图片区更扁，整体高度更矮（股东背景两卡片用） */
.card--ratio32 { padding-top: 66.7%; }
.card--ratio32::before {
  height: auto;
  aspect-ratio: 3 / 2;
  background-position: center;
}
/* 缩小版（解决方案页四大能力卡）：接近正方形的图文卡，图片区占大头 */
.card--ratio43--sm { padding-top: 260px; padding-right: var(--sp-5); padding-bottom: var(--sp-5); padding-left: var(--sp-5); min-height: 488px; box-sizing: border-box; }
.card--ratio43--sm::before {
  height: 260px;
  aspect-ratio: auto;
  background-position: center 42%;
}
.card--ratio43--sm h3 { font-size: 1.25rem; margin-top: var(--sp-6); margin-bottom: var(--sp-2); }
.card--ratio43--sm p { font-size: 0.8rem; line-height: 1.6; margin-top: var(--sp-2); }

/* 文字区底色：从图片底部柔和过渡到下半实心白 */
.card--bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,0.85) 72%, #ffffff 84%);
  z-index: 1;
  pointer-events: none;
}
.card--bg > * { position: relative; z-index: 2; }
/* 去掉图标后，标题作为文字区首元素，与图片保持半行呼吸间距 */
.card--bg h3,
.card--bg h2 {
  margin-top: var(--sp-6);
  text-shadow: none;
}
.card--bg h2 { font-size: var(--fs-h3); }
.card--bg p,
.card--bg .text-dim { color: var(--text-2); font-weight: 400; text-shadow: none; }
/* 价值观卡片：描述文字单行不换行（仅中文） */
.card--nowrap p { white-space: nowrap; }
html[lang="en"] .card--nowrap p { white-space: normal; }
/* 精简卡片：标题 + 一行简述，收紧文字区，整体更紧凑 */
.card--compact .card--bg p,
.card--compact p.text-dim { font-size: var(--fs-sm); margin-top: var(--sp-2); }
.card--compact h3 { margin-bottom: 0; }
/* 解决方案页四大能力卡：标题与正文保持呼吸间距（覆盖 compact 的收紧） */
.card--ratio43--sm.card--compact h3 { margin-bottom: var(--sp-4); }
.card--ratio43--sm.card--compact p.text-dim { margin-top: 0; }
.card:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.card h3 { font-size: var(--fs-h3); color: var(--text-0); }
.card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-5);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: #7c3aed; font-size: 20px;
}

/* 数据带 */
.stat { text-align: center; }
.stat__num {
  display: block; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 600; color: var(--text-0); line-height: 1.1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat__label { display: block; margin-top: var(--sp-2); font-size: var(--fs-sm); color: var(--text-2); }

/* —— 顶部导航 —— */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { display: flex; align-items: center; gap: var(--sp-3); }
.nav__logo {
  height: 36px; width: 36px; object-fit: contain;
  border-radius: 8px; padding: 2px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-en { font-weight: 600; color: var(--text-0); font-size: 1.1rem; letter-spacing: -0.01em; }
.nav__brand-zh { font-size: var(--fs-xs); color: var(--text-2); }
.nav__links { display: flex; align-items: center; gap: var(--sp-5); }
.nav__link { color: var(--text-1); font-size: var(--fs-sm); font-weight: 500; padding: var(--sp-2) 0; position: relative; }
.nav__link:hover { color: var(--text-0); }
.nav__link.is-active { color: var(--text-0); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--brand-gradient);
}
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav__lang {
  background: var(--surface);
  border: 1px solid var(--border-strong); color: var(--text-1);
  border-radius: 8px; padding: 7px 14px; font-size: var(--fs-xs); font-weight: 500; cursor: pointer;
}
.nav__lang:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}
.nav__burger { display: none; background: none; border: none; cursor: pointer; color: var(--text-0); }

/* ===== 全站固定背景层 =====
   作为 body 的首个子元素，position: fixed 相对视口定位：
   图片与视口一同保持不动，滚动时只有内容在其上方滑过，
   且不会被后续白色区块裁切/遮挡。 */
.page-bg {
  position: fixed; inset: -12px; z-index: -1;
  pointer-events: none;
  background-color: var(--bg-0);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 30%;
  /* 轻微虚化：让具象的楼群/曲线退成柔和底纹，不与正文抢注意力 */
  filter: blur(1.1px) saturate(0.96);
  transform: translateZ(0);
}
/* 统一白雾：所有板块共用同一层雾，保证深色文字可读，图片始终作为底纹存在 */
.page-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(247,248,250,0.42) 0%,
    rgba(247,248,250,0.54) 36%,
    rgba(247,248,250,0.60) 70%,
    rgba(247,248,250,0.66) 100%);
}
/* 全站统一使用同一张底图，只有解决方案页换成它自己的 banner */
.page-bg { background-image: url('img/hero-banner.jpg'); }
body.page-solution .page-bg {
  background-image: url('img/solution-banner.jpg');
  background-position: center 42%;
}

/* —— Hero —— */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(140px, 18vh, 220px) 0 clamp(120px, 16vh, 200px);
  text-align: center;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background: transparent;
}
/* 静态纯色背景（合作联系页）：不再铺底色，透出 body 底色 */
.hero__bg--static {
  background: transparent;
}
.hero__bg--static::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: none;
}
/* 首页 banner：背景全部交给全站固定层，首屏不再单独叠一张图/一层遮罩，
   否则首屏与下方板块之间会出现清晰度与明暗的硬边 */
.hero__bg--banner {
  background-image: none;
}
.hero__bg--banner::after {
  content: none;
}
.hero__inner { position: relative; max-width: 1000px; margin: 0 auto; z-index: 2; }
.hero__title {
  font-size: min(3.8rem, 7.6vw);
  margin-bottom: var(--sp-6);
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-indent: 0.5em;
}
/* 英文版：标题更长，允许换行、去偏移、缩小字号 */
html[lang="en"] .hero__title {
  white-space: normal;
  transform: none;
  font-size: min(3.4rem, 6.6vw);
  letter-spacing: -0.02em;
}
html[lang="en"] .hero__sub { transform: none; }
html[lang="en"] .indent-half { transform: none; }
html[lang="en"] .page-head__sub { transform: translateX(0.5em); }
.hero__badge {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 7px 16px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 500;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  border: 1px solid var(--border-strong);
  margin-bottom: var(--sp-6);
}
.hero__badge::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  z-index: -1;
}

/* 标题打字机：高亮词（蓝紫渐变）+ 闪烁光标 */
.hero__title .hero__hl,
.page-head__title .hero__hl {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9; /* 兜底：不支持 background-clip:text 时用实色 */
}
.hero__caret {
  display: inline-block;
  width: 0.055em;
  height: 1em;
  margin-left: 0.08em;
  vertical-align: -0.16em;
  background: var(--brand-gradient);
  border-radius: 1px;
  /* 平滑闪烁：用 opacity 渐变，避免 steps 硬切造成的「掉帧感」 */
  animation: hero-caret-blink 0.55s ease-in-out infinite;
}
@keyframes hero-caret-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}
.hero__sub { font-size: var(--fs-lead); color: #1f2937; max-width: 680px; margin: 0 auto var(--sp-7); }
.hero__cta { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
.hero__cta .btn { background: #ffffff; color: #6d28d9; }
.hero__cta .btn--primary { border-color: #7c3aed; }
/* ghost 按钮保持中性不高亮：深色文字 + 中性边框 */
.hero__cta .btn--ghost { color: var(--text-0); border-color: var(--border-strong); }
.hero__cta .btn:hover {
  background: var(--brand-gradient);
  color: #ffffff;
  border-color: transparent;
}
.hero__meta { margin-top: var(--sp-8); display: flex; gap: var(--sp-6); justify-content: center; flex-wrap: wrap; color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; text-shadow: 0 0 12px rgba(255,255,255,0.9), 0 1px 2px rgba(255,255,255,0.7); }

/* —— 区块标题 —— */
.section-head { text-align: center; max-width: 860px; margin: 0 auto var(--sp-8); }
.section-head h2 { font-size: var(--fs-h1); }
.nowrap { white-space: nowrap; }
.flow-title { white-space: nowrap; }
.section-head h2.flow-title { font-size: clamp(1.5rem, 1.1rem + 2.2vw, 2.6rem); }
.indent-half { display: inline-block; }

/* —— 合作平台 —— */
.partner-note {
  text-align: center; margin-top: var(--sp-6);
  color: var(--text-2); font-size: var(--fs-sm);
}

/* —— 服务案例 —— */
.case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--grid-gap);
}
.case-grid .card { height: 100%; }
@media (max-width: 760px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* —— 解决方案页·服务案例卡 —— */
.solcase-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap);
  align-items: stretch;
}
.solcase {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.solcase:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); }
/* 场景标签：低调小字，非彩色胶囊 */
.solcase__tag {
  display: inline-block; font-size: var(--fs-xs); font-weight: 500;
  color: var(--text-2); letter-spacing: 0.01em;
  margin-bottom: var(--sp-4);
}
/* 场景化标题：口语、具体，不用模板骨架 */
.solcase__title {
  font-size: 1.25rem; font-weight: 600; color: var(--text-0);
  line-height: 1.4; margin-bottom: var(--sp-3);
}
/* 自然叙述正文 */
.solcase__body {
  margin: 0 0 var(--sp-5); font-size: var(--fs-sm); color: var(--text-1);
  line-height: 1.75;
}
/* 关键数字：视觉焦点，tabular 数字 + 品牌蓝紫强调，与标签同行 */
.solcase__stat {
  margin-top: auto; padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: row; align-items: baseline; gap: var(--sp-3);
  flex-wrap: wrap;
}
.solcase__stat-num {
  font-size: 1.5rem; font-weight: 600; line-height: 1.25;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: visible;
}
.solcase__stat-label {
  font-size: var(--fs-sm); color: var(--text-2); font-weight: 500;
  line-height: 1.4;
}
/* 底部附注：次要信息，弱化处理 */
.solcase__foot {
  display: block; margin-top: var(--sp-2);
  font-size: var(--fs-xs); color: var(--text-2); font-variant-numeric: tabular-nums;
}
@media (max-width: 980px) {
  .solcase-grid { grid-template-columns: 1fr; }
}

/* —— 极速流程（带箭头串联） —— */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  align-items: stretch;
}
.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 步骤序号圆圈 */
.flow-step__num {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff; font-weight: 500; font-size: 14px;
  margin-bottom: var(--sp-4);
  position: relative; z-index: 2;
}
/* 步骤间箭头（除最后一步外，在序号右侧画箭头） */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 20px; right: -14px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--border-strong);
  border-right: 2px solid var(--border-strong);
  transform: rotate(45deg);
  z-index: 1;
}
.flow-step .card { width: 100%; flex: 1 1 auto; align-self: stretch; }
.flow-step .card h3 { font-size: 1.25rem; margin-top: var(--sp-6); }
@media (max-width: 900px) {
  .flow-steps { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-6); }
  .flow-step:not(:last-child)::after { display: none; }
}
@media (max-width: 560px) {
  .flow-steps { grid-template-columns: 1fr; }
}

/* —— Logo 墙 —— */
.logo-wall { display: flex; flex-wrap: wrap; gap: var(--sp-6); justify-content: center; align-items: center; }
.logo-wall__item {
  color: var(--text-2); font-size: var(--fs-sm); font-weight: 600;
  padding: var(--sp-4) var(--sp-6); border-radius: var(--r-md);
  background: rgba(255,255,255,0.7); border: 1px solid var(--border);
  opacity: 0.9;
}

/* —— 页脚 —— */
.footer {
  /* 页脚保留白色底板，作为整页的收口 */
  background: var(--bg-1);
  padding: var(--sp-8) 0 var(--sp-6);
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-7); margin-bottom: var(--sp-7); }
.footer__brand-desc { color: var(--text-2); font-size: var(--fs-sm); max-width: 320px; margin-top: var(--sp-4); }
.footer__col h4 { font-size: var(--fs-sm); color: var(--text-0); margin-bottom: var(--sp-4); }
.footer__col li { margin-bottom: var(--sp-3); }
.footer__col a { color: var(--text-2); font-size: var(--fs-sm); }
.footer__col a:hover { color: var(--text-0); }
.footer__bottom {
  padding-top: var(--sp-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--text-3);
}
.footer__disclaimer { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--text-3); line-height: 1.7; }

/* —— 响应式 —— */
@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: var(--sp-8) 0; }
  .hero { padding: var(--sp-8) 0; }
  .nav__brand-en { font-size: 1rem; }
  /* 中文标题：手机端取消 nowrap，允许换行，避免溢出被裁断 */
  .hero__title { white-space: normal; text-indent: 0; }
  /* 极速链路标题：手机端取消 nowrap，允许换行，避免撑大容器横向滚动 */
  .flow-title { white-space: normal; }
}
.nav__links.is-open {
  display: flex; flex-direction: column; position: absolute;
  top: 68px; left: 0; right: 0; background: var(--bg-0);
  padding: var(--sp-5); border-bottom: 1px solid var(--border);
  gap: var(--sp-4);
}
/* 入场动画由 Sal.js 提供（data-sal 属性），样式在 assets/vendor/sal.css */
/* 覆盖 Sal 默认的 slide-up 位移：20% 过大，改为克制的 40px，配平滑缓动 */
[data-sal="slide-up"] {
  transform: translateY(56px);
  --sal-duration: 0.9s;
  transition-property: opacity, transform;
  transition-duration: 0.9s;
  transition-delay: var(--sal-delay, 0s);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
[data-sal="slide-up"].sal-animate {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* —— 对比表（中性表面） —— */
.cmp-section { position: relative; overflow: hidden; background: transparent; }
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  table-layout: fixed;
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}
.cmp-table thead, .cmp-table tbody { position: relative; z-index: 1; }
.cmp-table col.col-dim { width: 22%; }
.cmp-table col.col-us { width: 39%; }
.cmp-table col.col-other { width: 39%; }
.cmp-table th, .cmp-table td { padding: var(--sp-5) var(--sp-6); font-size: var(--fs-sm); line-height: 1.5; }
.cmp-table th { text-align: left; }

/* 表头 */
.cmp-table thead th {
  padding: var(--sp-5) var(--sp-6);
  font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.cmp-table thead th:first-child { color: var(--text-2); font-weight: 500; }
.cmp-table thead th:nth-child(2) {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  background-color: transparent;
}
.cmp-table thead th:nth-child(3) { color: var(--text-2); font-weight: 500; }

/* Fin-Do 列（品牌高亮，突出优势） */
.cmp-table .col-us { background: linear-gradient(120deg, rgba(99,102,241,0.06) 0%, rgba(124,58,237,0.06) 55%, rgba(168,85,247,0.06) 100%); }
.cmp-table tbody td:nth-child(2) {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  font-weight: 500;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

/* 第一列（维度标签） */
.cmp-table td:first-child, .cmp-table th:first-child {
  font-weight: 600; color: var(--text-0);
}

/* 传统方案列（弱化） */
.cmp-table tbody td:nth-child(3) { color: var(--text-2); font-weight: 400; }

/* 行分隔 */
.cmp-table tbody td { border-bottom: 1px solid var(--border); }
.cmp-table tbody tr:last-child td { border-bottom: none; }

/* 标记 */
.cmp-table .tag-yes {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  font-weight: 500;
}
.cmp-table .tag-no { color: var(--text-2); font-weight: 400; }

/* —— 时间线 —— */
.timeline { position: relative; padding-left: var(--sp-7); }
.timeline::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: var(--border-strong); }
.timeline__item { position: relative; padding-bottom: var(--sp-6); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: calc(-1 * var(--sp-7) + 6px); top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-gradient);
}
.timeline__year {
  font-size: var(--fs-sm); font-weight: 600;
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #6d28d9;
  margin-bottom: var(--sp-2);
}
.timeline__text { font-size: var(--fs-sm); color: var(--text-1); }

/* —— 页头（内页通用） —— */
.page-head { padding: var(--sp-9) 0 var(--sp-7); text-align: center; position: relative; overflow: hidden; }
.page-head .container { position: relative; z-index: 2; }
.page-head__title { font-size: var(--fs-h1); margin-bottom: var(--sp-4); }
.page-head__sub { color: var(--text-0); max-width: 760px; margin: 0 auto; white-space: nowrap; transform: translateX(0.5em); }

/* —— 关于我们：页头 + 公司介绍 合成一页共用 banner 背景 —— */
.page-head--banner { padding: var(--sp-9) 0 var(--sp-8); }
/* 关于我们页：遮罩也交给全站固定层，页头与正文之间不留边界 */
.page-head .hero__bg--about::after {
  content: none;
}
.about-intro { max-width: 760px; margin: var(--sp-8) auto 0; text-align: center; }
.about-intro .eyebrow { margin-bottom: var(--sp-4); }
.about-intro h2 { font-size: var(--fs-h2); margin-bottom: var(--sp-4); }
.about-intro .lead { color: var(--text-0); }

/* —— 解决方案：页头独占一整屏，banner 背景 —— */
.page-head--full {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-9) 0;
}
.page-head--full .container { width: 100%; }
/* 解决方案标题单行不换行，字号自适应防溢出 */
.page-head--full .page-head__title {
  white-space: nowrap;
  font-size: clamp(1.7rem, 1.1rem + 2.8vw, 3.2rem);
}
/* 英文版标题较长，允许换行、恢复居中不溢出 */
html[lang="en"] .page-head--full .page-head__title {
  white-space: normal;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.9rem);
}
html[lang="en"] .page-head--full .page-head__sub {
  white-space: normal;
}
.page-head .hero__bg--solution {
  /* 背景统一由全站固定层提供，不再单独叠图 */
  background-image: none;
}
.page-head .hero__bg--solution::after {
  content: none;
}
/* 解决方案页浅色背景：标题与副标题保持深色（默认） */
.page-head--full .page-head__title,
.page-head--full .page-head__sub {
  color: inherit;
  text-shadow: none;
}

/* —— 图文卡片/横幅/混排样式已移除，改用卡片背景图模式（.card--bg） —— */

/* ===== 滚动效果 ===== */
/* 背景图固定：不给背景层加 transform，否则 background-attachment: fixed 会失效（变为相对元素定位） */
.hero__bg {
  will-change: auto;
  transform: none;
}
/* 内容区不做滚动位移，保持跟随页面正常滚动 */
[data-parallax] {
  will-change: auto;
  transform: none;
}
/* 平滑滚动启用时，固定/吸附元素的补偿由 scrollTo 方案天然兼容，无需额外处理 */

/* 尊重用户减少动效偏好：关闭所有滚动驱动的位移 */
@media (prefers-reduced-motion: reduce) {
  .hero__bg,
  [data-parallax] {
    transform: none !important;
    will-change: auto;
  }
}

/* ===== 统一背景下的文字可读性 =====
   不给任何板块加底板，只用极淡的白色柔光把浅灰文字从背景纹路里托出来 */
.section-head .lead,
.section-head .text-dim,
.section p.lead,
.section p.text-dim,
.stat__label,
.partner-note,
.about-intro .lead,
.timeline__text,
.solcase__body,
.footer__brand-desc,
.footer__col a,
.footer__bottom,
.footer__disclaimer {
  text-shadow: 0 0 12px rgba(255,255,255,0.92), 0 1px 2px rgba(255,255,255,0.72);
}

/* ===== 移动端溢出修复（放在末尾，确保覆盖前面 nowrap 定义） ===== */
@media (max-width: 768px) {
  /* 内页页头标题与副标题：取消 nowrap，允许换行，避免长文字被裁 */
  .page-head .page-head__sub { white-space: normal; transform: none; }
  .page-head--full .page-head__title { white-space: normal; }

  /* 对比表格：手机端保留横向三列结构，设定最小宽度并允许横向滚动，英文单词不强行断字 */
  .cmp-table { min-width: 640px; }
  .cmp-table col.col-dim { width: 180px; }
  .cmp-table col.col-us { width: 230px; }
  .cmp-table col.col-other { width: 230px; }
  .cmp-table th, .cmp-table td {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
  /* 第一列维度标签：允许在空格处换行，禁止单字断裂 */
  .cmp-table td:first-child, .cmp-table th:first-child {
    white-space: normal;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  /* 小屏：背景同样需要柔化，用更轻的模糊以兼顾滚动流畅度，并把白雾加厚一档 */
  .page-bg { filter: blur(0.8px) saturate(0.96); }
  .page-bg::after {
    background: linear-gradient(180deg,
      rgba(247,248,250,0.50) 0%,
      rgba(247,248,250,0.58) 45%,
      rgba(247,248,250,0.64) 100%);
  }
}


