/* ==========================================================================
   Lucen Timeline 中文介绍站 · CABIT SOFT（上海卡贝）中国区经销商
   主题：Lucen 靛蓝体系（Carbon 风格：白底 / 方正 / 无渐变 / 单一强调色）
   字体自托管：IBM Plex Sans + IBM Plex Mono（中文走系统中文字体栈）
   基线复用自 mstarcfd/style.css，站点专属组件见 lucentimeline.css
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* 中性色（Carbon 灰阶） */
  --white: #ffffff;
  --gray-10: #f4f4f4;
  --gray-15: #e8e8e8;
  --gray-20: #e0e0e0;
  --gray-30: #c6c6c6;
  --gray-40: #8d8d8d;
  --gray-50: #6f6f6f;
  --gray-60: #525252;
  --gray-70: #393939;
  --gray-80: #262626;
  --gray-90: #161616;

  /* 唯一强调色：Lucen 靛蓝（品牌色 #2D00AC 降饱和后用于界面） */
  --indigo-10: #f4f0fd;
  --indigo-20: #e6defa;
  --indigo-30: #c3adf1;
  --indigo-40: #8e5fe0;
  --indigo-50: #2d00ac;
  --indigo-60: #240089;
  --indigo-70: #1b0067;
  --indigo-80: #120045;

  --accent: var(--indigo-50);
  --accent-strong: var(--indigo-60);

  --bg: var(--white);
  --surface: var(--gray-10);
  --text: var(--gray-90);
  --text-dim: var(--gray-60);
  --text-faint: var(--gray-50);
  --line: var(--gray-20);
  --line-strong: var(--gray-30);

  --font-display: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --ease: cubic-bezier(.2, 0, .38, .9);
  --radius: 0px;
  --radius-soft: 2px;
  --gutter: clamp(20px, 4.4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  overflow-x: hidden;
}

/* 站点的全局排版重置只作用于「手册正文之外」的元素。
   手册页（body.manual-page）里，Word 转换来的正文放在 .manual-body 容器中，
   原始排版完全依赖浏览器 UA 默认样式表和手册自带的 <style>；
   把它们排除在重置之外，手册正文才能保持原样，
   同时不必用高优先级的 revert 规则去和手册自带的 <style> 打架。
   站点外壳（导航 / 工具条 / 目录栏 / 页脚）在 .manual-body 之外，
   始终适用站点样式，因此在手册页上与首页完全一致。 */
body:not(.manual-page) {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}

main, header, footer, .distributor-bar { position: relative; z-index: 1; }

h1:not(.manual-body h1),
h2:not(.manual-body h2),
h3:not(.manual-body h3),
h4:not(.manual-body h4) {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.2;
  margin: 0;
  color: var(--gray-90);
}

p:not(.manual-body p) { margin: 0; }
ul:not(.manual-body ul),
ol:not(.manual-body ol),
dl:not(.manual-body dl),
dd:not(.manual-body dd) { margin: 0; padding: 0; }
li:not(.manual-body li) { list-style: none; }
a:not(.manual-body a) { color: inherit; text-decoration: none; }
img:not(.manual-body img),
svg:not(.manual-body svg) { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--indigo-50);
  outline-offset: 2px;
}

::selection { background: var(--indigo-20); color: var(--gray-90); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 12px 20px;
  background: var(--indigo-50);
  color: var(--white);
  font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(1320px, 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 经销商声明条（IBM Blue 商务带） ---------- */
.distributor-bar {
  background: var(--indigo-80);
  color: var(--white);
  font-size: 13px;
}
.distributor-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-block: 9px;
}
.distributor-inner p { display: flex; align-items: center; gap: 12px; }
.distributor-inner strong {
  flex: none;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo-30);
}
.distributor-bar .dot {
  width: 5px;
  height: 5px;
  background: var(--indigo-40);
  flex: none;
}
.distributor-bar a {
  color: var(--white);
  border-bottom: 1px solid var(--indigo-40);
  padding-bottom: 1px;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.distributor-bar a:hover { color: var(--indigo-30); border-color: var(--indigo-30); }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--gray-20);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 8px rgba(22, 22, 22, .08); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 32px; height: 32px; color: var(--indigo-50); flex: none; }
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.05;
  color: var(--gray-90);
  display: inline-flex;
  flex-direction: column;
}
.brand-text em { font-style: normal; color: var(--indigo-50); }
.brand-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--gray-50);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
/* 仅在移动端下拉菜单中出现的入口（桌面端由头部按钮承担） */
.nav-only-mobile { display: none; }
.nav-links a {
  position: relative;
  color: var(--gray-70);
  padding-block: 6px;
  transition: color .15s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--indigo-50);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav-links a:hover { color: var(--indigo-60); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-30);
  background: transparent;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gray-90);
  margin: 4px auto;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
/* 按钮高 44px、两行网格均分，两根线中心相距 21px；
   各平移 10.5px 后才真正交叠成 X，否则只会形成 ">" 形 */
.nav-open .nav-toggle span:first-child { transform: translateY(10.5px) rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: translateY(-10.5px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--indigo-50);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  will-change: transform;
}

/* ---------- 按钮（Carbon 规格：48px 高、直角） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn:active { background: var(--indigo-70); }
.btn:focus-visible { outline: 2px solid var(--indigo-50); outline-offset: -2px; }
.btn-arrow { transition: transform .15s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* 按钮颜色用 .btn.btn-x 双类名提升特异性：
   否则会被全局的 a { color: inherit }（0,1,2）压过，
   导致主按钮变成深色文字压在蓝底上。 */
.btn.btn-primary {
  background: var(--indigo-50);
  color: var(--white);
  font-weight: 500;
}
.btn.btn-primary:hover { background: var(--indigo-60); }
.btn.btn-primary:active { background: var(--indigo-70); }

.btn.btn-ghost {
  border-color: var(--gray-30);
  color: var(--gray-70);
  background: transparent;
}
.btn.btn-ghost:hover { border-color: var(--indigo-50); color: var(--indigo-60); background: var(--indigo-10); }

.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo-60);
  margin-bottom: 20px;
}
.eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--indigo-50);
  flex: none;
}

.section { padding-block: clamp(72px, 8vw, 116px); }
.section-alt { background: var(--gray-10); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 4.4vw, 64px);
}
.section-head h2 {
  font-size: clamp(1.75rem, 2.9vw, 2.5rem);
  letter-spacing: -.02em;
}
.section-note {
  color: var(--gray-60);
  font-size: 14.5px;
  max-width: 46ch;
  padding-left: 20px;
  border-left: 2px solid var(--indigo-50);
}

/* 官方外链：默认靛蓝字带下划线。
   需要排除自带配色的组件（.official-links 胶囊、.copy-btn 按钮、
   .contact-list 内的邮箱链接、.footer-col 深色页脚列），
   否则这条规则会压过它们的样式 —— 页脚是深底，靛蓝字在上面几乎看不见。 */
a[href*="lucensoftware.com"]:not(.btn):not(.official-links a):not(.copy-btn):not(.contact-list dd a):not(.footer-col a):not(.distributor-bar a) {
  color: var(--indigo-60);
  border-bottom: 1px solid var(--indigo-30);
}
a[href*="lucensoftware.com"]:not(.btn):not(.official-links a):not(.copy-btn):not(.contact-list dd a):not(.footer-col a):not(.distributor-bar a):hover {
  color: var(--indigo-70);
  border-color: var(--indigo-60);
}

/* 深色底上的链接需要单独覆盖，保证对比度 */
.distributor-bar a[href*="lucensoftware.com"] {
  color: var(--white);
  border-bottom-color: var(--indigo-40);
}
.distributor-bar a[href*="lucensoftware.com"]:hover {
  color: var(--indigo-30);
  border-bottom-color: var(--indigo-30);
}
.footer-col a[href*="lucensoftware.com"] {
  color: var(--gray-20);
  border-bottom-color: transparent;
}
.footer-col a[href*="lucensoftware.com"]:hover { color: var(--indigo-30); }
.cell-link {
  color: var(--gray-50);
  border-bottom-color: transparent;
}
.cell-link:hover { color: var(--indigo-60); border-bottom-color: var(--indigo-30); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 6.5vw, 96px) clamp(44px, 5vw, 80px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -.028em;
  margin-bottom: 24px;
}
.hero-lead {
  color: var(--gray-60);
  font-size: 16px;
  max-width: 54ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--gray-20);
  padding-top: 24px;
}
.hero-facts dt {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 500;
  color: var(--gray-90);
  line-height: 1.1;
}
.hero-facts dd {
  font-size: 12.5px;
  color: var(--gray-50);
  margin-top: 6px;
}

/* Hero 产品面板 */
.panel {
  border: 1px solid var(--gray-20);
  border-radius: var(--radius-soft);
  background: var(--white);
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-20);
  background: var(--gray-10);
}
.panel-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray-60);
}
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-50);
}
.pulse {
  width: 7px;
  height: 7px;
  background: var(--indigo-50);
  animation: breathe 2.6s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .25; }
}

.panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
}
.seq-view {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  padding: 20px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  overflow: hidden;
}
.seq-num { color: var(--gray-40); font-size: 10.5px; padding-top: 2px; }
.seq { display: flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap; }
.seq b { font-weight: 400; color: var(--gray-60); }
.seq b:nth-child(4n+1) { color: var(--indigo-60); }
.seq b:nth-child(4n+2) { color: var(--gray-70); }
.seq b:nth-child(4n+3) { color: #8a6d3b; }
.seq b:nth-child(4n+4) { color: #a1544f; }

.panel-steps {
  border-left: 1px solid var(--gray-20);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  background: var(--gray-10);
}
.panel-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--gray-70);
  white-space: nowrap;
  animation: stepIn 5.4s var(--ease) infinite;
}
.panel-steps li:nth-child(1) { animation-delay: 0s; }
.panel-steps li:nth-child(2) { animation-delay: .5s; }
.panel-steps li:nth-child(3) { animation-delay: 1s; }
.panel-steps li:nth-child(4) { animation-delay: 1.5s; }
.panel-steps li:nth-child(5) { animation-delay: 2s; }
@keyframes stepIn {
  0%, 12%   { opacity: .35; }
  26%, 62%  { opacity: 1; }
  78%, 100% { opacity: .35; }
}
.step-idx {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--indigo-60);
}

.panel-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--gray-20);
  background: var(--gray-10);
}
.snippet {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray-50);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-all;
  max-width: 58ch;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--gray-30);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-70);
  font-size: 12.5px;
  cursor: pointer;
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.copy-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copy-btn:hover { border-color: var(--indigo-50); color: var(--indigo-60); }
.copy-btn[data-state="done"] { border-color: var(--indigo-50); color: var(--indigo-60); background: var(--indigo-10); }
.copy-btn[data-state="manual"] { border-color: #d0b079; color: #8a6d3b; background: #fdf6e7; }
.copy-btn[data-state="error"] { border-color: #d98a8a; color: #a1544f; background: #fdf0f0; }

/* ---------- 平台跑马灯 ---------- */
.marquee-band {
  background: var(--gray-10);
  border-block: 1px solid var(--gray-20);
  padding-block: 13px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 52px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-60);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--indigo-50);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 筛选栏 ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-20);
}
.filter-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  max-width: 440px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--gray-30);
  border-radius: var(--radius);
  background: var(--gray-10);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.filter-field:focus-within { border-color: var(--indigo-50); background: var(--white); }
.filter-field svg {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: var(--gray-50); stroke-width: 1.7; stroke-linecap: round;
}
.filter-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--gray-90);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.filter-field input::placeholder { color: var(--gray-50); }
.filter-clear {
  border: 0;
  background: transparent;
  color: var(--indigo-60);
  font-size: 12.5px;
  cursor: pointer;
  padding: 2px 4px;
}
.filter-clear:hover { text-decoration: underline; }
.filter-count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--gray-50);
}
.filter-count span { color: var(--indigo-60); }

/* ---------- 功能总览 bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  grid-auto-flow: dense;
}
.cell {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid var(--gray-20);
  border-radius: var(--radius-soft);
  background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.cell:hover {
  border-color: var(--indigo-50);
  box-shadow: 0 0 0 1px var(--indigo-50);
}
.cell-lg { grid-column: span 7; padding: 36px 32px 30px; }
.cell-md { grid-column: span 5; padding: 32px 28px 28px; }
.cell-wide { grid-column: span 6; }
.cell-half { grid-column: span 5; }
.cell-third { grid-column: span 3; }

.cell-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cell-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--gray-40);
}
.cell-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--indigo-50);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cell-badge {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--gray-30);
  background: var(--gray-10);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gray-60);
  text-transform: uppercase;
}
.cell h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cell-lg h3 { font-size: 1.5rem; }
.cell-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--indigo-60);
  margin-bottom: 16px;
}
.cell p { color: var(--gray-60); font-size: 14.5px; }
.cell-lg p { font-size: 15px; max-width: 56ch; }
.cell-points { margin-top: 16px; display: grid; gap: 9px; }
.cell-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--gray-60);
}
.cell-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .76em;
  width: 8px;
  height: 1px;
  background: var(--indigo-50);
}
.cell-link {
  margin-top: auto;
  align-self: flex-start;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--gray-50);
  transition: color .15s var(--ease), gap .15s var(--ease);
}
.cell-link:hover { color: var(--indigo-60); gap: 10px; }
.plat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.plat-tags span {
  padding: 5px 12px;
  border: 1px solid var(--gray-30);
  background: var(--gray-10);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-60);
}

/* 空状态 */
.empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--gray-30);
  background: var(--white);
  margin-top: 20px;
}
.empty-state svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--gray-40); stroke-width: 1.6; stroke-linecap: round;
}
.empty-state h3 { font-size: 1.05rem; }
.empty-state p { color: var(--gray-50); font-size: 14px; }
.empty-state .btn { margin-top: 12px; }

/* ---------- 工作流 tabs ---------- */
.tabs { margin-bottom: 48px; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--gray-20);
  margin-bottom: 36px;
}
.tab {
  position: relative;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  color: var(--gray-60);
  font-size: 14.5px;
  cursor: pointer;
  transition: color .15s var(--ease);
}
.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--indigo-50);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}
.tab:hover { color: var(--gray-90); }
.tab[aria-selected="true"] { color: var(--gray-90); font-weight: 500; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.tabpanels { position: relative; }
.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  animation: panelIn .3s var(--ease) both;
}
.tabpanel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.flow { display: grid; }
.flow li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-20);
}
.flow li:first-child { border-top: 1px solid var(--gray-20); }
.flow-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--indigo-60);
  padding-top: 3px;
}
.flow h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow p { color: var(--gray-60); font-size: 14.5px; max-width: 62ch; }

.tab-meta {
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid var(--gray-20);
  border-top: 2px solid var(--indigo-50);
  background: var(--white);
}
.meta-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-50);
}
.chip {
  padding: 5px 12px;
  border: 1px solid var(--indigo-40);
  background: var(--indigo-10);
  color: var(--indigo-60);
  font-size: 12.5px;
}
.tab-source {
  margin-top: 4px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--indigo-60);
}
.tab-source:hover { color: var(--indigo-70); }

.algo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-20);
}
.algo-strip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.algo-strip li {
  padding: 7px 13px;
  border: 1px solid var(--gray-30);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--gray-60);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.algo-strip li:hover { border-color: var(--indigo-50); color: var(--indigo-60); }

/* ---------- 平台（横向滚动） ---------- */
.platform-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-30) transparent;
}
.platform-row::-webkit-scrollbar { height: 6px; }
.platform-row::-webkit-scrollbar-thumb { background: var(--gray-30); }
.platform-card {
  flex: 0 0 clamp(270px, 30vw, 400px);
  scroll-snap-align: start;
  padding: 28px 26px;
  border: 1px solid var(--gray-20);
  border-top: 2px solid var(--indigo-50);
  border-radius: var(--radius-soft);
  background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.platform-card:hover { border-color: var(--indigo-50); box-shadow: 0 0 0 1px var(--indigo-50); }
.platform-card:nth-child(2) { flex-basis: clamp(250px, 26vw, 350px); }
.platform-card:nth-child(3) { flex-basis: clamp(290px, 33vw, 440px); }
.platform-idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gray-40);
}
.platform-card h3 { font-size: 1.35rem; margin: 12px 0 10px; }
.platform-card p { color: var(--gray-60); font-size: 14.5px; }
.platform-card ul { margin-top: 18px; display: grid; gap: 9px; }
.platform-card li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--gray-60);
}
.platform-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .76em;
  width: 7px;
  height: 1px;
  background: var(--indigo-50);
}

/* ---------- 定价 ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--gray-20);
  border-radius: var(--radius-soft);
  background: var(--white);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.price-card:hover { border-color: var(--indigo-50); box-shadow: 0 0 0 1px var(--indigo-50); }
.price-card--feature { border-top: 3px solid var(--indigo-50); }
.price-card.is-featured { background: var(--white); border-color: var(--indigo-50); }

/* 机构授权：整行横幅，左信息 / 中清单 / 右按钮 */
.price-card--wide {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(0, 1.25fr) auto;
  align-items: start;
  gap: clamp(20px, 3vw, 44px);
}
.price-card--wide .price-list {
  margin: 0;
  padding-top: 0;
  border-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}
.price-card--wide .btn { margin-top: 0; align-self: center; }
.price-flag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  background: var(--indigo-50);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price .currency { font-size: 1.25rem; color: var(--gray-60); }
.price .amount {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--gray-90);
}
.price .period { font-size: 13px; color: var(--gray-50); }
.price-desc { color: var(--gray-60); font-size: 14.5px; }
.price-list {
  margin: 22px 0 26px;
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-20);
}
.price-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  color: var(--gray-60);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 11px;
  height: 6px;
  border-left: 1.5px solid var(--indigo-50);
  border-bottom: 1.5px solid var(--indigo-50);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; align-self: flex-start; }

.license-notes {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-20);
}
.license-notes li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--gray-60);
}
.license-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 8px;
  height: 1px;
  background: var(--indigo-50);
}

/* ---------- 服务支持 ---------- */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.support-lead h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); margin-bottom: 20px; }
.support-lead p { color: var(--gray-60); max-width: 48ch; margin-bottom: 30px; }
.support-list { border-top: 1px solid var(--gray-20); }
.support-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-20);
}
.support-idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--indigo-60);
  padding-top: 3px;
}
.support-list h3 { font-size: 1.02rem; margin-bottom: 6px; }
.support-list p { color: var(--gray-60); font-size: 14.5px; max-width: 60ch; }

/* ---------- 联系与声明 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact-about h2 { font-size: clamp(1.75rem, 2.9vw, 2.5rem); margin-bottom: 20px; }
.contact-about > p { color: var(--gray-60); max-width: 56ch; }
.statement {
  margin: 28px 0 24px;
  padding: 2px 0 2px 20px;
  border-left: 2px solid var(--indigo-50);
  color: var(--gray-60);
  font-size: 14.5px;
  line-height: 1.75;
}
.official-links { display: flex; flex-wrap: wrap; gap: 8px; }
.official-links a {
  padding: 8px 14px;
  border: 1px solid var(--gray-30);
  background: var(--white);
  font-size: 13px;
  color: var(--gray-70);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.official-links a:hover { border-color: var(--indigo-50); color: var(--indigo-60); background: var(--indigo-10); }

.contact-card {
  padding: 32px 30px;
  border: 1px solid var(--gray-20);
  border-top: 3px solid var(--indigo-50);
  border-radius: var(--radius-soft);
  background: var(--white);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.contact-org { font-size: 15px; color: var(--gray-60); margin-bottom: 24px; }
.contact-org span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--gray-50);
}
.contact-list { display: grid; gap: 18px; padding-bottom: 24px; border-bottom: 1px solid var(--gray-20); }
.contact-list dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: 6px;
}
.contact-list dd { font-size: 15px; color: var(--gray-90); }
.contact-list dd a { color: var(--indigo-60); border-bottom: 1px solid var(--indigo-30); }
.contact-list dd a:hover { color: var(--indigo-70); border-color: var(--indigo-60); }
.contact-list .sep { color: var(--gray-40); margin: 0 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-hint { margin-top: 14px; font-size: 12.5px; color: var(--gray-50); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--gray-90);
  color: var(--white);
  padding-top: clamp(48px, 5.5vw, 76px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 44px;
}
.footer-brand .brand-text { font-size: 21px; margin-bottom: 14px; color: var(--white); }
.footer-brand .brand-text em { color: var(--indigo-50); }
.footer-brand p { color: var(--gray-30); font-size: 13.5px; max-width: 40ch; }
.footer-grid .footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-30);
  font-weight: 400;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--gray-20); transition: color .15s var(--ease); }
.footer-col a:hover { color: var(--indigo-60); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
  border-top: 1px solid var(--gray-80);
  font-size: 12.5px;
  color: var(--gray-30);
}
.footer-trademark { color: var(--gray-40); }

/* ---------- 入场动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 磁吸按钮：用自定义属性承载位移，避免与 reveal 的 transform 冲突 */
.magnetic {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform .2s var(--ease), background .15s var(--ease),
              border-color .15s var(--ease), color .15s var(--ease);
}
.reveal.magnetic {
  transform: translate3d(var(--mx, 0px), calc(var(--my, 0px) + 14px), 0);
}
.reveal.magnetic.is-visible {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; font-size: 13.5px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 640px; }
  .cell, .cell-lg, .cell-md, .cell-wide, .cell-half, .cell-third { grid-column: span 6; }
  .tabpanel { grid-template-columns: minmax(0, 1fr); }
  .tab-meta { position: static; }
  .support-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-20);
    box-shadow: 0 8px 16px rgba(22, 22, 22, .1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--gray-20); font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: grid; }
  .nav-actions .btn-ghost { display: none; }
  .nav-only-mobile { display: block; }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-note { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 2px solid var(--indigo-50); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 76px; }
  .distributor-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .panel-body { grid-template-columns: minmax(0, 1fr); }
  .panel-steps { border-left: 0; border-top: 1px solid var(--gray-20); }
  .cell, .cell-lg, .cell-md, .cell-wide, .cell-half, .cell-third { grid-column: 1 / -1; }
  .price-card, .price-card--feature, .price-card--team, .price-card--wide { grid-column: 1 / -1; }
  .price-card--wide { display: flex; }
  .price-card--wide .price-list { grid-template-columns: minmax(0, 1fr); }
  .price-card--wide .btn { align-self: flex-start; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-field { max-width: none; }
  .flow li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .contact-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { height: 44px; }
  .btn-lg { height: 48px; }
}

/* ---------- 可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
