/* =========================================================
   DoCat · 设计系统 (紫色主色 + 青/蓝绿辅助色)
   桌面端下载型 Agent 运行时官网
   ========================================================= */

:root {
  /* 紫色主色阶 */
  --purple-50:  #F5F3FF;
  --purple-100: #EDE9FE;
  --purple-200: #DDD6FE;
  --purple-300: #C4B5FD;
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C3AED;
  --purple-700: #6D28D9;
  --purple-800: #5B21B6;
  --purple-900: #4C1D95;
  --purple-950: #2E1065;

  /* 青/蓝绿辅助色阶 */
  --cyan-300: #67E8F9;
  --cyan-400: #22D3EE;
  --cyan-500: #06B6D4;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;

  /* 中性 */
  --ink:      #1A1230;
  --ink-2:    #2C2350;
  --muted:    #6B6480;
  --muted-2:  #938AAB;
  --line:     #ECE9F7;
  --line-2:   #E2DCF6;
  --bg:       #FFFFFF;
  --bg-soft:  #F8F7FE;
  --bg-deep:  #160B2E;
  --bg-deep-2:#1F1142;

  /* 品牌渐变 */
  --grad-brand: linear-gradient(135deg, #7C3AED 0%, #6D28D9 45%, #0891B2 100%);
  --grad-brand-2: linear-gradient(120deg, #8B5CF6 0%, #22D3EE 100%);
  --grad-soft: linear-gradient(135deg, #F5F3FF 0%, #ECFEFF 100%);

  /* 形状 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(46,17,101,.06), 0 4px 14px rgba(46,17,101,.06);
  --shadow-md: 0 8px 30px rgba(76,29,149,.10);
  --shadow-lg: 0 24px 60px rgba(46,17,101,.16);
  --shadow-glow: 0 20px 60px rgba(124,58,237,.30);

  --maxw: 1280px;
  --nav-h: 76px;

  /* 西文字形在前、中文字形在后：拉丁字符走 Sora/Inter，汉字自动回退 PingFang / 雅黑 */
  --font: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
          system-ui, sans-serif;

  /* ---------- 垂直韵律：8px 基准网格 ---------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;
  --sp-10: 72px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16.5px;
  letter-spacing: .07em;            /* 汉字字面满，正文需正值字距才不糊成一片 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  /* --- 中文排版增强 --- */
  line-break: strict;               /* 禁止标点出现在行首 */
  overflow-wrap: break-word;
  text-wrap: pretty;                /* 段落末行不留孤字 */
  text-autospace: ideograph-alpha;  /* 中英混排自动补间隙（渐进增强） */
}

/* 通用段落节奏：段落之间、以及紧跟标题的段落，统一走 8px 网格 */
p + p { margin-top: var(--sp-4); }
.lead + .lead { margin-top: var(--sp-4); }

/* 小字号（≤15.5px）额外补偿：小字间隙绝对值更小，em 值要给得更大 */
.tpl p, .step p, .scenario p, .aud p, .docs-card p, .entry span,
.feature p, .quote p, .faq-a .inner, .docs-side a, .footer a,
.footer .col a, .price ul li, .emp-list .li span, .dstep .d,
.dpane > p.desc, .docs-nav a, .price .pdesc {
  letter-spacing: .09em;
  line-height: 1.82;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--purple-200); color: var(--purple-900); }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 116px 0; position: relative; }
.section-sm { padding: 72px 0; }
.section-tight { padding: 84px 0; }

/* ---------- typography ----------
   中文排版基线（与西文不同，三处必须区别对待）：
   1) 字距：汉字是等宽方块字，自带完整侧向留白，给负字距只会把字挤死。
      西文才需要负值收紧不规则字形。故标题/正文字距一律归 0 或取微正值。
   2) 行高：中文没有西文那样升部/降部形成的视觉跳跃，同样字号下需要
      比西文更大的行高才透气，否则整段糊成一块。
   3) 折行：用 text-wrap 让标题两端均衡、正文末行不留孤字。
--------------------------------------------------------------- */
h1, h2, h3, h4 {
  line-height: 1.34;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 700;
  text-wrap: balance;          /* 标题折行两端均衡，避免末行只剩一两字 */
}

/* 主标题：宽屏横贯 —— 字号大、行距松、字距归零，靠留白与居中撑起尺度 */
/* 字距梯度（数值来自实测，非拍脑袋）：
   以 21px 微软雅黑渲染同一段中文，逐档截图量字符间隙 ——
     0 / .02em / .04em → 2.0px（汉字粘连，几乎无效）
     .06em → 2.5px   .08em → 3.0px   .14em → 4.0px（过散）
   汉字字面率高达 92%，字形几乎填满字身，零字距时相邻字直接贴死。
   故取 .04~.09em 区间：字越小 em 值越大（小字间隙绝对值本就更小）。 */
.h-display {
  font-size: clamp(40px, 5.2vw, 68px);
  font-weight: 780;
  letter-spacing: .04em;
  line-height: 1.26;
}
.h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 760;
  letter-spacing: .045em;
  line-height: 1.30;
}
.h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 740;
  letter-spacing: .05em;
  line-height: 1.36;
}
.h3 { font-size: 22px; letter-spacing: .06em; line-height: 1.52; }
.lead {
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--muted);
  line-height: 1.88;
  letter-spacing: .07em;
}
.muted { color: var(--muted); }
/* 模拟的应用界面（Hero 仪表盘等）还原真实客户端字距，不跟随正文的放松值 */
.mock, .mock * { letter-spacing: normal; }

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 20px;
}
.crumbs a { color: var(--muted); font-weight: 600; transition: color .18s; }
.crumbs a:hover { color: var(--purple-700); }
.crumbs .sep { color: var(--line-2); user-select: none; }
.crumbs [aria-current="page"] { color: var(--ink-2); font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--purple-700);
  background: #fff; border: 1px solid var(--purple-100);
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(124,58,237,.08);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand-2); box-shadow: 0 0 0 4px rgba(34,211,238,.18); }
.text-grad {
  background: var(--grad-brand-2); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.center { text-align: center; }
.section-head { max-width: 780px; margin: 0 auto 68px; text-align: center; }
.section-head .lead { margin-top: 24px; }
.section-head .eyebrow { margin-bottom: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  color: #fff; background: var(--grad-brand);
  box-shadow: 0 10px 26px rgba(124,58,237,.34);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(124,58,237,.42); }
.btn-cyan {
  color: #063b46; background: linear-gradient(120deg,#67E8F9,#2DD4BF);
  box-shadow: 0 10px 26px rgba(20,184,166,.30);
}
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(20,184,166,.40); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--purple-300); color: var(--purple-700); transform: translateY(-2px); }
.btn-ghost-dark { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.12); }
/* 首屏主按钮：与参考站同尺度（高 56px / 字 18px / 最小宽 200px） */
.btn-lg { padding: 0 32px; min-width: 200px; height: 56px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20.5px; letter-spacing: -.02em; flex: none; }
.brand .mark { width: 38px; height: 38px; flex: none; }
/* 导航字标：单色深墨（原先为「Do」紫 +「Cat」青双色）
   页脚 .footer .brand 与登录页 .auth-brand .brand 各有独立覆盖，不受此处影响 */
.brand b { color: var(--ink); }
.brand i { color: var(--ink); font-style: normal; }
/* 导航项一律不换行、不被压缩：否则窄屏下链接会被折成两行（「首/页」），
   右侧按钮也会被 flex 挤窄而裁掉文字。收不下时由下方媒体查询转汉堡菜单 */
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  font-size: 15.5px; color: var(--ink-2); font-weight: 600; padding: 10px 15px;
  border-radius: 11px; transition: background .18s, color .18s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--purple-50); color: var(--purple-700); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.nav-actions .btn { flex: none; white-space: nowrap; }
/* 仅窄屏下拉菜单里出现的条目（登录），宽屏隐藏 */
.nav-only-mobile { display: none; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); align-items: center; justify-content: center; flex: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- hero ---------- */
/* 首屏：全宽居中单列（同参考站的宽屏尺度），标题横贯整屏，界面预览落在下方大舞台 */
.hero { position: relative; overflow: hidden; text-align: center; background:
  radial-gradient(1300px 620px at 84% -18%, rgba(34,211,238,.18), transparent 62%),
  radial-gradient(1200px 620px at 14% -6%, rgba(124,58,237,.20), transparent 60%),
  linear-gradient(180deg, #F8F7FE 0%, #FFFFFF 78%);
  padding: 138px 0 76px;
}
/* 首屏细网格：给大标题一层克制的底纹，提升版面的开阔感 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(92% 66% at 50% 22%, #000 0%, transparent 80%);
          mask-image: radial-gradient(92% 66% at 50% 22%, #000 0%, transparent 80%);
}
.hero > * { position: relative; z-index: 1; }
.hero-center { max-width: 1080px; }
.hero h1 { margin: 30px auto 26px; max-width: 1000px; }
.hero .lead { max-width: 800px; margin-left: auto; margin-right: auto; font-size: clamp(17px, 2vw, 22px); line-height: 1.72; }
.hero-cta { display: flex; gap: 16px; margin: 44px 0 22px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; }
.hero-note svg { width: 17px; height: 17px; color: var(--teal-500); }
/* 界面预览舞台：宽屏大图，轻微透视 */
.hero-stage { position: relative; margin: 76px auto 0; max-width: 1140px; }
.hero-stage .mock { transform: perspective(2200px) rotateY(-2.5deg) rotateX(1.2deg); }
.hero .stats { justify-content: center; margin-top: 60px; padding-top: 30px; gap: 48px; }

/* hero visual: dashboard mockup —— 浅色应用界面（与 DoCat 桌面端真实观感一致） */
.mock {
  position: relative; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: 0 34px 74px rgba(46,17,101,.15), 0 4px 14px rgba(46,17,101,.06);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 16px 20px; background: #FBFAFF; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 12px; height: 12px; border-radius: 50%; background: var(--line-2); }
.mock-bar i:nth-child(1){ background:#FCA5A5; } .mock-bar i:nth-child(2){ background:#FCD34D; } .mock-bar i:nth-child(3){ background:#6EE7B7; }
.mock-bar .t { margin-left: 12px; font-size: 13.5px; color: var(--muted-2); font-weight: 600; }
.mock-body { display: grid; grid-template-columns: 176px 1fr; min-height: 400px; }
.mock-side { background: #FBFAFF; padding: 16px 14px; border-right: 1px solid var(--line); }
.mock-side .s { font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: 9px; margin-bottom: 6px; }
.mock-side .s.on { background: var(--purple-50); color: var(--purple-700); font-weight: 700; box-shadow: inset 3px 0 0 var(--purple-600); }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mock-chat { background: #FBFAFF; border: 1px solid var(--line); border-radius: 14px; padding: 15px; }
.mock-chat .row { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; }
.mock-chat .row:last-child { margin-bottom: 0; }
.mock-chat .av { width: 28px; height: 28px; border-radius: 8px; background: var(--grad-brand-2); flex: none; }
.mock-chat .av.alt { background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line-2); }
.mock-chat .bubble { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 10px 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.mock-task { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px; box-shadow: 0 1px 2px rgba(46,17,101,.04); }
.mock-task .nm { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.mock-task .st { font-size: 12px; color: #0F766E; background: linear-gradient(120deg,#CFFAFE,#99F6E4); box-shadow: inset 0 0 0 1px #99F6E4; padding: 4px 11px; border-radius: 999px; font-weight: 700; }
.mock-task .st.run { background: var(--purple-50); color: var(--purple-700); box-shadow: inset 0 0 0 1px var(--purple-100); }
.mock-task .st.lock { background: var(--bg-soft); color: var(--muted-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.mock-glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; filter: blur(72px); background: var(--cyan-300); opacity: .20; right: -60px; bottom: -70px; }

/* 内页统一顶部：与首屏同一套大标题语境 */
.phero {
  position: relative; overflow: hidden; padding: 118px 0 64px;
  background:
    radial-gradient(560px 320px at 12% 34%, rgba(124,58,237,.13), transparent 66%),
    radial-gradient(520px 300px at 88% 22%, rgba(34,211,238,.13), transparent 66%),
    radial-gradient(420px 260px at 62% 78%, rgba(167,139,250,.12), transparent 68%),
    linear-gradient(180deg, #F8F7FE 0%, #FFFFFF 88%);
}
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(80% 78% at 30% 15%, #000 0%, transparent 76%);
          mask-image: radial-gradient(80% 78% at 30% 15%, #000 0%, transparent 76%);
}
.phero > .container { position: relative; z-index: 1; }
.phero h1 { max-width: 1000px; margin: 18px 0 20px; font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.03em; line-height: 1.14; }
.phero .lead { max-width: 700px; font-size: clamp(17px, 1.9vw, 21px); line-height: 1.72; }
.phero .eyebrow { margin-bottom: 2px; }
.phero .section-head { max-width: 900px; }

/* trust bar */
.trust { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 32px; }
.trust p { font-size: 13px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; text-align: center; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 16px 44px; justify-content: center; align-items: center; opacity: .65; }
.trust-logos span { font-weight: 800; font-size: 17px; color: var(--ink-2); letter-spacing: -.01em; }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature {
  position: relative; background: var(--bg); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px; transition: transform .2s, box-shadow .25s, border-color .2s;
  overflow: hidden;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--purple-700); margin-bottom: 20px;
  border: 1px solid var(--purple-100);
}
.feature .ic svg { width: 25px; height: 25px; }
.feature h3 { font-size: 19.5px; margin-bottom: 14px; }
.feature p { font-size: 15.5px; color: var(--muted); line-height: 1.85; }
.feature .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14.5px; font-weight: 700; color: var(--purple-700); }
.feature .more svg { width: 15px; height: 15px; transition: transform .2s; }
.feature:hover .more svg { transform: translateX(3px); }
.feature.accent .ic { background: linear-gradient(120deg,#CFFAFE,#CCFBF1); color: var(--cyan-500); border-color: #CFFAFE; }

/* section bg variants */
.bg-soft { background: var(--bg-soft); }
.bg-deep { background:
  radial-gradient(900px 500px at 85% 0%, rgba(34,211,238,.16), transparent 60%),
  radial-gradient(800px 500px at 0% 100%, rgba(124,58,237,.22), transparent 55%),
  var(--bg-deep);
  color: #fff; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.bg-deep .lead, .bg-deep .muted { color: rgba(255,255,255,.72); }
.bg-deep .eyebrow { color: var(--cyan-300); background: rgba(34,211,238,.10); border-color: rgba(34,211,238,.22); }

/* ---------- steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.step .num {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--grad-brand); margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 17px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.82; }

/* ---------- scenario cards ---------- */
.scenario {
  position: relative; border-radius: var(--r-lg); padding: 28px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); transition: transform .2s, box-shadow .25s;
}
.scenario:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scenario .tag { font-size: 12.5px; font-weight: 700; color: var(--cyan-500); background: #ECFEFF; border: 1px solid #CFFAFE; padding: 4px 11px; border-radius: 999px; display: inline-block; margin-bottom: 14px; }
.scenario h3 { font-size: 19px; margin-bottom: 12px; }
.scenario p { font-size: 15px; color: var(--muted); line-height: 1.82; }
.scenario .flow { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.scenario .flow span { font-size: 12px; font-weight: 600; color: var(--purple-700); background: var(--purple-50); border: 1px solid var(--purple-100); padding: 4px 10px; border-radius: 8px; }
.scenario .flow span.arr { background: none; border: none; color: var(--muted-2); }

/* ---------- audience ---------- */
.aud { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.aud .card { text-align: center; padding: 24px 14px; border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.aud .card:hover { transform: translateY(-4px); border-color: var(--purple-200); }
.aud .em { font-size: 30px; margin-bottom: 10px; }
.aud h3 { font-size: 16px; margin-bottom: 10px; }
.aud p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--cyan-500); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote p { font-size: 15.5px; color: var(--ink-2); line-height: 1.85; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .ava { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
.quote .who b { display: block; font-size: 14.5px; }
.quote .who span { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16.5px; font-weight: 700; color: var(--ink); text-align: left; }
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--purple-50); color: var(--purple-700); display: grid; place-items: center; transition: transform .25s, background .2s; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--purple-600); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 24px 26px; font-size: 15.5px; color: var(--muted); line-height: 1.9; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: 88px 56px; text-align: center; overflow: hidden;
  background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-glow); }
.cta-band::before { content:""; position: absolute; inset: 0; background:
  radial-gradient(500px 300px at 15% 0%, rgba(34,211,238,.45), transparent 60%),
  radial-gradient(500px 300px at 90% 100%, rgba(255,255,255,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(30px,3.9vw,46px); line-height: 1.22; letter-spacing: -.02em; }
.cta-band p { color: rgba(255,255,255,.85); margin: 20px auto 34px; max-width: 620px; font-size: 18px; line-height: 1.72; }
.cta-band .btn-ghost-dark { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }

/* ---------- footer ---------- */
.footer { background: var(--bg-deep); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand b { color: #fff; } .footer .brand i { color: var(--cyan-300); }
.footer p.desc { font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 300px; line-height: 1.85; }
.footer .col h4 { color: #fff; font-size: 14.5px; margin-bottom: 16px; letter-spacing: .04em; }
.footer .col a { display: block; font-size: 14.5px; color: rgba(255,255,255,.66); padding: 8px 0; line-height: 1.7; transition: color .18s; }
.footer .col a:hover { color: var(--cyan-300); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom .social { display: flex; gap: 10px; }
.footer-bottom .social a { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: background .2s; }
.footer-bottom .social a:hover { background: var(--purple-600); }

/* =========================================================
   子页面专用
   ========================================================= */

/* employees page hero */
.emp-hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 480px at 88% -10%, rgba(34,211,238,.20), transparent 60%),
  radial-gradient(800px 480px at 0% 0%, rgba(124,58,237,.22), transparent 55%),
  linear-gradient(180deg,#F8F7FE,#FFFFFF 72%); padding: 108px 0 68px; }
.emp-hero h1 { font-size: clamp(36px, 4.8vw, 60px); letter-spacing: -.028em; line-height: 1.18; }
.emp-hero .lead { font-size: clamp(17px, 1.9vw, 21px); line-height: 1.72; }
.emp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124,58,237,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,.05) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(85% 72% at 35% 20%, #000 0%, transparent 76%);
          mask-image: radial-gradient(85% 72% at 35% 20%, #000 0%, transparent 76%);
}
.emp-hero > * { position: relative; z-index: 1; }
.emp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.emp-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.emp-list .li { display: flex; gap: 12px; align-items: flex-start; }
.emp-list .li .ck { flex: none; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(120deg,#67E8F9,#2DD4BF); display: grid; place-items: center; color: #063b46; }
.emp-list .li .ck svg { width: 15px; height: 15px; }
.emp-list .li b { font-size: 15.5px; display: block; }
.emp-list .li span { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-top: 4px; }

/* templates */
.tpl { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tpl .card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--bg); transition: transform .2s, box-shadow .25s; }
.tpl .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tpl .badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--purple-50); color: var(--purple-700); margin-bottom: 12px; }
.tpl h3 { font-size: 17px; margin-bottom: 12px; }
.tpl p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.tpl .meta { margin-top: 14px; font-size: 12.5px; color: var(--muted-2); border-top: 1px dashed var(--line); padding-top: 12px; }

/* docs layout */
.docs-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; align-items: start; }
.docs-main { max-width: 880px; }
.docs-side { position: sticky; top: 96px; }
.docs-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; margin-bottom: 22px; }
.docs-search svg { width: 17px; height: 17px; color: var(--muted-2); }
.docs-search input { border: none; outline: none; font-size: 14.5px; width: 100%; background: none; color: var(--ink); }
.docs-nav h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 20px 0 10px; }
.docs-nav a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 9px 14px; line-height: 1.65; border-radius: 9px; border-left: 2px solid transparent; transition: background .18s, color .18s, border-color .18s; }
.docs-nav a:hover, .docs-nav a.on { background: var(--purple-50); color: var(--purple-700); border-left-color: var(--purple-600); }
.docs-main h1 { font-size: 34px; margin-bottom: 10px; }
.docs-main .lead { margin-bottom: 30px; }
.docs-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; margin-bottom: 18px; background: var(--bg); }
.docs-card h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.docs-card h3 .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand-2); }
.docs-card p { font-size: 15px; color: var(--muted); line-height: 1.85; }
.docs-card code { background: var(--purple-50); color: var(--purple-700); padding: 2px 7px; border-radius: 6px; font-size: 13px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.docs-callout { background: linear-gradient(120deg,#ECFEFF,#F5F3FF); border: 1px solid var(--cyan-300); border-radius: var(--r-md); padding: 18px 20px; font-size: 14.5px; color: var(--ink-2); margin: 8px 0 24px; display: flex; gap: 12px; }
.docs-callout svg { width: 22px; height: 22px; color: var(--cyan-500); flex: none; }

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; background: var(--bg); display: flex; flex-direction: column; transition: transform .2s, box-shadow .25s; }
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price.hot { border-color: transparent; background:
  radial-gradient(400px 200px at 100% 0%, rgba(34,211,238,.16), transparent 60%),
  linear-gradient(180deg,#FFFFFF,#FBF7FF); box-shadow: var(--shadow-lg); }
.price.hot::before { content: "最受欢迎"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price .pname { font-size: 16px; font-weight: 800; }
.price .pdesc { font-size: 14px; color: var(--muted); margin: 8px 0 18px; min-height: 40px; line-height: 1.75; }
.price .pamt { display: flex; align-items: baseline; gap: 5px; }
.price .pamt .cur { font-size: 20px; font-weight: 700; color: var(--ink); }
.price .pamt .num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price .pamt .per { font-size: 13px; color: var(--muted); }
.price .pnote { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }
.price ul { margin: 22px 0 24px; display: flex; flex-direction: column; gap: 14px; }
.price ul li { font-size: 14.5px; color: var(--ink-2); display: flex; gap: 11px; align-items: flex-start; line-height: 1.7; }
.price ul li svg { width: 17px; height: 17px; color: var(--cyan-500); flex: none; margin-top: 3px; }
.price ul li.off { color: var(--muted-2); }
.price ul li.off svg { color: var(--line-2); }
.price .btn { margin-top: auto; }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand { position: relative; overflow: hidden; background:
  radial-gradient(700px 500px at 80% 0%, rgba(34,211,238,.30), transparent 60%),
  radial-gradient(700px 500px at 10% 100%, rgba(124,58,237,.6), transparent 60%),
  linear-gradient(135deg,#3B0D7A,#0E7490); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-brand .brand { color: #fff; font-size: 22px; }
.auth-brand .brand b { color: #fff; } .auth-brand .brand i { color: var(--cyan-300); }
.auth-brand .hl h2 { color: #fff; font-size: 30px; max-width: 420px; line-height: 1.3; }
.auth-brand .hl p { color: rgba(255,255,255,.78); margin-top: 16px; max-width: 420px; }
.auth-quote { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 18px 20px; backdrop-filter: blur(6px); }
.auth-quote p { font-size: 14.5px; color: rgba(255,255,255,.9); }
.auth-quote .who { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.66); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--bg); }
.auth-card { width: 100%; max-width: 390px; }
.auth-card h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.field input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 15px; font-family: inherit; color: var(--ink); transition: border-color .18s, box-shadow .18s; background: #fff; }
.field input:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.field .hint { font-size: 12.5px; color: var(--muted-2); margin-top: 6px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 20px; font-size: 13.5px; }
.auth-row label { display: flex; align-items: center; gap: 7px; color: var(--muted); cursor: pointer; }
.auth-row a { color: var(--purple-700); font-weight: 600; }
.auth-sep { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 13px; margin: 22px 0; }
.auth-sep::before, .auth-sep::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-login .btn { font-size: 14px; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 24px; }
.auth-foot a { color: var(--purple-700); font-weight: 700; }
.field.err input { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.field .err { display: none; color: #dc2626; font-size: 12.5px; margin-top: 6px; }
.field.err .err { display: block; }
.auth-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- utils ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- download page ---------- */
.dl-herobar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.dl-herometa { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .07em;
  color: var(--ink-2); background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
}
.pill-strong { color: var(--purple-700); border-color: var(--purple-200); background: var(--purple-50); }
.pill-soft { color: var(--muted); background: transparent; }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.dl-skeleton { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; font-size: 15px; letter-spacing: .07em; }
.dl-loading { text-align: center; color: var(--muted); padding: 40px 0; font-size: 15px; letter-spacing: .07em; }

/* 平台 Tab 切换 */
.dl-tabbar {
  display: flex; gap: 8px; padding: 8px; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.dl-tab {
  flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 11px;
  padding: 13px 18px; border: 0; border-radius: 14px; background: transparent;
  color: var(--ink-2); font-family: inherit; cursor: pointer; text-align: left;
  white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s;
}
.dl-tab:hover { background: var(--purple-50); }
.dl-tab:focus-visible { outline: 2px solid var(--purple-500); outline-offset: 2px; }
.dl-tab.is-active { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(124,58,237,.26); }
.dl-tabico {
  width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--purple-50); color: var(--purple-700);
  transition: background .2s, color .2s;
}
.dl-tab.is-active .dl-tabico { background: rgba(255,255,255,.22); color: #fff; }
.dl-tabtxt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-tabtxt b { font-size: 15.5px; font-weight: 800; letter-spacing: .04em; line-height: 1.3; }
.dl-tabtxt i { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: .06em; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; }
.dl-tab.is-active .dl-tabtxt i { color: rgba(255,255,255,.84); }

.dl-panel[hidden] { display: none; }
.dl-panel.is-active { animation: dlPanelIn .28s ease both; }
@keyframes dlPanelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.dl-panel .dl-card { padding: 30px 30px 16px; }
.dl-panel .dl-hd { margin-bottom: 20px; }
.dl-panel .dl-hd h3 { font-size: 24px; }
.dl-panel .dl-mainbtn { width: auto; min-width: 268px; align-self: flex-start; }
.dl-panel .dl-files { margin-top: 24px; }

.dl-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px 8px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.dl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.dl-card.is-you {
  border-color: transparent;
  background: radial-gradient(420px 220px at 100% 0%, rgba(34,211,238,.14), transparent 62%), linear-gradient(180deg,#FFFFFF,#FBF7FF);
  box-shadow: var(--shadow-lg);
}
.dl-youbadge {
  position: absolute; top: -12px; left: 24px;
  background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .07em;
  padding: 5px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.dl-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.dl-os {
  width: 52px; height: 52px; flex: none; border-radius: 15px;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(124,58,237,.24);
}
.dl-hd h3 { font-size: 19px; font-weight: 800; letter-spacing: .04em; }
.dl-sub { font-size: 13px; color: var(--muted); letter-spacing: .07em; margin-top: 3px; }
.dl-mainbtn { width: 100%; justify-content: center; }

.dl-files { list-style: none; margin: 4px 0 0; padding: 0; }
.dl-file {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 0; border-top: 1px solid var(--line);
}
.dl-file:first-child { border-top: 0; }
.dl-filemain { flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.dl-fname {
  display: block; font-size: 14.5px; font-weight: 700; color: var(--ink-2);
  letter-spacing: .04em; line-height: 1.5; word-break: break-all;
}
.dl-filemain:hover .dl-fname { color: var(--purple-700); }
.dl-fmeta { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .07em; margin-top: 5px; line-height: 1.7; }
.dl-fside { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.dl-frow { display: flex; align-items: center; gap: 12px; }
.dl-fsize { font-size: 12.5px; color: var(--muted-2); letter-spacing: .07em; }
.dl-fget {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  color: var(--purple-700); background: var(--purple-50); border: 1px solid var(--purple-100);
  transition: background .18s, color .18s, transform .18s;
}
.dl-fget:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-2px); }

.dl-sha { margin-top: 2px; }
.dl-sha summary {
  cursor: pointer; font-size: 12px; color: var(--muted); letter-spacing: .07em;
  list-style: none; user-select: none;
}
.dl-sha summary::-webkit-details-marker { display: none; }
.dl-sha summary::before { content: "⌄ "; color: var(--purple-400); }
.dl-sha[open] summary::before { content: "⌃ "; }
.dl-sha > code {
  display: block; margin-top: 7px; padding: 8px 10px; max-width: 190px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  font-size: 11px; line-height: 1.6; color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  word-break: break-all;
}
.dl-sha .dl-copy { margin-top: 6px; }

.dl-empty { padding: 26px 4px 30px; text-align: center; }
.dl-empty p { font-size: 14.5px; color: var(--muted); letter-spacing: .07em; line-height: 1.8; }
.dl-empty-link { font-size: 14px; font-weight: 700; color: var(--purple-700); letter-spacing: .05em; }

/* 命令行安装 */
.dl-cmdgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dl-cmdcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.dl-cmdhd { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.dl-cmdhd h3 { font-size: 16.5px; font-weight: 800; letter-spacing: .04em; }
.dl-osmini {
  width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--grad-brand);
  color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  display: grid; place-items: center;
}
.dl-cmd {
  display: flex; align-items: center; gap: 12px; background: var(--bg-deep);
  border-radius: 12px; padding: 13px 14px;
}
.dl-cmd code {
  flex: 1; min-width: 0; color: #E8E3F7; font-size: 13px; line-height: 1.6; letter-spacing: .02em;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  overflow-x: auto; white-space: nowrap;
}
.dl-copy {
  flex: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; cursor: pointer;
  color: var(--cyan-300); background: rgba(103,232,249,.12); border: 1px solid rgba(103,232,249,.28);
  border-radius: 8px; padding: 6px 11px; transition: background .18s, color .18s;
}
.dl-copy:hover { background: var(--cyan-300); color: var(--bg-deep); }
.dl-note { font-size: 13px; color: var(--muted); letter-spacing: .07em; line-height: 1.85; margin-top: 14px; }
code.inline {
  background: var(--purple-50); color: var(--purple-700); border-radius: 5px; padding: 1.5px 6px;
  font-size: 12.5px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* 系统要求 / 说明两栏 */
.dl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.dl-two .h2 { font-size: 32px; letter-spacing: .04em; margin-bottom: 22px; }
.dl-table { width: 100%; border-collapse: collapse; }
.dl-table th, .dl-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.dl-table th { width: 96px; font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: .05em; }
.dl-table td { font-size: 14.5px; color: var(--muted); letter-spacing: .07em; line-height: 1.85; }
.dl-faq { border-bottom: 1px solid var(--line); }
.dl-faq summary {
  cursor: pointer; list-style: none; padding: 17px 0;
  font-size: 15.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .05em;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.dl-faq summary::-webkit-details-marker { display: none; }
.dl-faq summary::after { content: "+"; color: var(--purple-500); font-size: 20px; font-weight: 400; flex: none; }
.dl-faq[open] summary::after { content: "−"; }
.dl-faq p { font-size: 14.5px; color: var(--muted); letter-spacing: .07em; line-height: 1.9; padding: 0 0 18px; }
.dl-faq a { color: var(--purple-700); font-weight: 700; }

/* 宽屏时文件列表分两栏，避免宽卡片左侧大片留白 */
@media (min-width: 900px) {
  .dl-panel .dl-files { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 60px; }
  .dl-panel .dl-file { border-top: 1px solid var(--line); }
  .dl-panel .dl-file:nth-child(-n+2) { border-top: 0; }
  .dl-panel .dl-file:only-child { grid-column: 1 / -1; }   /* 单构建时铺满整行，避免右半边空着 */
}

@media (max-width: 1024px) {
  .dl-grid, .dl-cmdgrid { grid-template-columns: 1fr; }
  .dl-two { grid-template-columns: 1fr; gap: 40px; }
}

/* Tab 窄屏降级：860 收掉副标题，560 收掉图标只留平台名，杜绝换行与横向溢出 */
@media (max-width: 860px) {
  .dl-tabbar { border-radius: 18px; }
  .dl-tab { gap: 9px; padding: 12px; justify-content: center; }
  .dl-tabico { width: 32px; height: 32px; }
  .dl-tabtxt i { display: none; }
}
@media (max-width: 560px) {
  .dl-tabbar { gap: 4px; padding: 6px; margin-bottom: 20px; border-radius: 16px; }
  .dl-tab { gap: 0; padding: 11px 4px; }
  .dl-tabico { display: none; }
  .dl-tabtxt b { font-size: 13.5px; }
  .dl-panel .dl-card { padding: 26px 20px 14px; }
  .dl-panel .dl-hd { gap: 12px; }
  .dl-panel .dl-os { width: 44px; height: 44px; border-radius: 13px; }
  .dl-panel .dl-hd h3 { font-size: 20px; }
  .dl-panel .dl-sub { font-size: 12.5px; }
  .dl-panel .dl-fname { font-size: 13.5px; }
  .dl-panel .dl-fmeta { font-size: 12px; }
  .dl-panel .dl-mainbtn { width: 100%; min-width: 0; align-self: stretch; }
}

/* ---------- nav 三档自适应 ----------
   宽屏放不下时不再「压缩 → 折行」，而是分档降级：
   ① ≥1181px       完整导航（默认间距）
   ② 961~1180px    紧凑导航（收紧间距与内边距，仍保证一行）
   ③ ≤960px        汉堡菜单（登录移入下拉）
   ≤560px          进一步缩小字标与按钮，避免窄屏横向溢出
   断点依据：完整导航的最小占位约 1104px，紧凑版约 910px（均为实测值） */
@media (max-width: 1180px) {
  .nav-inner { gap: 18px; }
  .nav-links { margin-left: 0; gap: 0; }
  .nav-links a { padding: 10px 11px; font-size: 15px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 13px 20px; font-size: 15px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn-ghost { display: none; }   /* 顶栏放不下，登录移入下拉菜单 */
  .nav-only-mobile { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; background: #fff;
    padding: 12px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;   /* 矮屏可滚动，不撑破页面 */
  }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav.open .nav-links .nav-only-mobile { margin-top: 8px; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .nav-inner { gap: 12px; }
  .brand { font-size: 19px; gap: 9px; }
  .brand .mark { width: 34px; height: 34px; }
  .nav-actions .btn { padding: 12px 15px; font-size: 14.5px; gap: 8px; }
  .nav-actions .btn svg { width: 17px; height: 17px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero { padding: 88px 0 62px; }
  .phero { padding: 92px 0 48px; }
  .emp-hero { padding: 80px 0 52px; }
  .hero-grid, .emp-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { margin-top: 54px; }
  .hero-stage .mock { transform: none; margin: 0 auto; }
  .mock { transform: none; max-width: 560px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .aud { grid-template-columns: repeat(3, 1fr); }
  .tpl, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-side { position: static; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-2, .steps, .aud, .tpl, .price-grid, .quotes { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 44px 24px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form { padding: 36px 22px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}

/* =========================================================
   第二轮：演示 / 学习中心 / 关于 专用组件
   ========================================================= */

/* ---------- 交互式演示舞台 ---------- */
.demo-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
.demo-steps { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg); }
.demo-steps .hd { padding: 13px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.dstep { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); transition: background .18s; }
.dstep:last-child { border-bottom: none; }
.dstep .n { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--purple-50); color: var(--purple-700); transition: background .2s, color .2s; }
.dstep b { font-size: 15.5px; display: block; margin-bottom: 5px; line-height: 1.5; }
.dstep .d { font-size: 13.5px; color: var(--muted); line-height: 1.72; }
.dstep:hover { background: var(--bg-soft); }
.dstep.on { background: var(--purple-50); }
.dstep.on .n { background: var(--grad-brand); color: #fff; }
.demo-panel { border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; padding: 22px; min-height: 380px; box-shadow: 0 24px 56px rgba(46,17,101,.13); position: relative; overflow: hidden; }
.demo-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand-2); }
.demo-panel::after { content: ""; position: absolute; right: -70px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; filter: blur(80px); background: var(--purple-200); opacity: .45; }
.dpane { display: none; position: relative; z-index: 1; }
.dpane.on { display: block; }
.dpane .dpk { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0E7490; margin-bottom: 10px; }
.dpane h4 { color: var(--ink); font-size: 21px; letter-spacing: 0; margin-bottom: 14px; line-height: 1.45; }
.dpane > p.desc { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; line-height: 1.88; }
.dpane .mock-chat, .dpane .mock-task { position: relative; z-index: 1; }
.dpane .mock-chat { margin-top: 4px; }
.dpane .mock-task + .mock-task { margin-top: 10px; }
.dpane .mock-task + .mock-chat { margin-top: 14px; }

/* ---------- 界面预览缩略图 ---------- */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg); transition: transform .2s, box-shadow .25s; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
/* 界面预览：浅色桌面端窗口（顶栏 + 内容骨架），不再用深色底 */
.shot .mini { aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #F7F5FF 0%, #F0FDFF 100%); }
.shot .mini::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(260px 150px at 86% 4%, rgba(34,211,238,.16), transparent 62%),
  radial-gradient(240px 160px at 6% 98%, rgba(124,58,237,.16), transparent 62%); }
/* 窗口顶栏 */
.shot .mini::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background-color: #FBFAFF; border-bottom: 1px solid var(--line);
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle at 4.5px 4.5px, #FCA5A5 0, #FCA5A5 4.5px, transparent 4.5px),
    radial-gradient(circle at 4.5px 4.5px, #FCD34D 0, #FCD34D 4.5px, transparent 4.5px),
    radial-gradient(circle at 4.5px 4.5px, #6EE7B7 0, #6EE7B7 4.5px, transparent 4.5px),
    linear-gradient(var(--purple-100), var(--purple-100));
  background-size: 9px 9px, 9px 9px, 9px 9px, 96px 7px;
  background-position: 9px 9px, 22px 9px, 35px 9px, 60px 10px;
}
/* 内容骨架（每张略有差异，避免九宫格呆板） */
.shot .mini > i { position: absolute; left: 16px; right: 16px; top: 44px; bottom: 30px; display: block;
  background-repeat: no-repeat; opacity: .95;
  background-image:
    linear-gradient(var(--purple-200), var(--purple-200)),
    linear-gradient(var(--line-2), var(--line-2)),
    linear-gradient(var(--line-2), var(--line-2)),
    linear-gradient(var(--line-2), var(--line-2)),
    linear-gradient(var(--cyan-300), var(--cyan-300));
  background-size: 52% 9px, 86% 7px, 68% 7px, 78% 7px, 30% 12px;
  background-position: 0 0, 0 18px, 0 32px, 0 46px, 0 66px;
}
.shot:nth-child(3n+2) .mini > i { background-size: 40% 9px, 92% 7px, 74% 7px, 60% 7px, 36% 12px; }
.shot:nth-child(3n) .mini > i { background-position: 0 0, 0 16px, 0 30px, 0 44px, 0 64px; background-size: 62% 9px, 78% 7px, 84% 7px, 56% 7px, 26% 12px; }
.shot .mini .lbl { position: absolute; bottom: 10px; left: 14px; font-size: 11.5px; font-weight: 700;
  color: var(--purple-700); background: #fff; border: 1px solid var(--purple-100);
  padding: 3px 11px; border-radius: 999px; z-index: 2; }
.shot .cap { padding: 13px 15px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }

/* ---------- 视频占位 ---------- */
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vid { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.vid .poster { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; background: radial-gradient(520px 280px at 86% 0%, rgba(34,211,238,.20), transparent 62%), radial-gradient(520px 320px at 4% 100%, rgba(124,58,237,.22), transparent 62%), linear-gradient(160deg, #F7F5FF 0%, #EFFCFF 100%); border-bottom: 1px solid var(--line); }
.vid .poster::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(124,58,237,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,.06) 1px, transparent 1px); background-size: 28px 28px; }
.vid .play { position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; color: #fff; box-shadow: 0 14px 34px rgba(124,58,237,.38); transition: transform .2s; }
.vid:hover .play { transform: scale(1.06); }
.vid .info { padding: 16px 18px; }
.vid .info b { font-size: 15.5px; display: block; margin-bottom: 6px; }
.vid .info span { font-size: 13.5px; color: var(--muted); }

/* ---------- 学习中心 · 专栏卡 ---------- */
.gcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gcol { display: block; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--bg); transition: transform .2s, box-shadow .25s, border-color .2s; }
.gcol:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.gcol .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--purple-700); margin-bottom: 16px; border: 1px solid var(--purple-100); }
.gcol .ico svg { width: 23px; height: 23px; }
.gcol h3 { font-size: 18px; margin-bottom: 12px; }
.gcol p { font-size: 14px; color: var(--muted); line-height: 1.65; }
.gcol .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--purple-700); }

/* ---------- 课时清单 ---------- */
.les-grp { margin-bottom: 34px; }
.les-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.les-hd .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.les-hd .ic svg { width: 19px; height: 19px; }
.les-hd h3 { font-size: 19px; }
.les-hd .cnt { font-size: 12.5px; color: var(--muted-2); }
.les-list { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--bg); }
.les { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid var(--line); transition: background .18s; }
.les:last-child { border-bottom: none; }
.les:hover { background: var(--bg-soft); }
.les .idx { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--bg-soft); color: var(--muted); }
.les .tt { flex: 1; min-width: 0; }
.les .tt b { font-size: 15px; display: block; }
.les .tt span { font-size: 13px; color: var(--muted); }
.les .meta { font-size: 12.5px; color: var(--muted-2); white-space: nowrap; }
.badge-st { font-size: 11.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-st.pub { background: #DCFCE7; color: #15803D; }
.badge-st.soon { background: var(--purple-50); color: var(--purple-700); }

/* ---------- 能力百分比条 ---------- */
.prog-row { display: grid; grid-template-columns: 190px 1fr 52px; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.prog-row:last-child { border-bottom: none; }
.prog-row .nm { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.prog-bar { height: 8px; border-radius: 999px; background: var(--purple-100); overflow: hidden; }
.prog-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad-brand-2); }
.prog-val { font-size: 13px; font-weight: 800; text-align: right; color: var(--ink-2); }

/* ---------- 阶段时间线 ---------- */
.tl { position: relative; padding-left: 36px; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--purple-400), var(--cyan-300)); }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -31px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--purple-500); }
.tl-item.cur::before { border-color: var(--cyan-400); box-shadow: 0 0 0 5px rgba(34,211,238,.18); }
.tl-phase { font-size: 12.5px; font-weight: 800; color: var(--purple-700); letter-spacing: .04em; text-transform: uppercase; }
.tl-item h3 { margin: 6px 0 8px; font-size: 18px; }
.tl-item p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- 入口矩阵 ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.entry { display: block; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: var(--bg); transition: transform .2s, box-shadow .25s, border-color .2s; }
.entry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-200); }
.entry b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.entry span { font-size: 14px; color: var(--muted); line-height: 1.75; }
.entry .ar { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--purple-700); }

/* ---------- 设计原则 ---------- */
.prin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prin .card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; background: var(--bg); transition: transform .2s, border-color .2s; }
.prin .card:hover { transform: translateY(-4px); border-color: var(--purple-200); }
.prin .card .n { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan-500); }
.prin h3 { margin: 12px 0 12px; font-size: 17px; }
.prin p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* ---------- 首页数据锚点 ---------- */
.stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 26px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats .s b { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; background: var(--grad-brand-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats .s span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 过滤/无结果 ---------- */
.docs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.docs-table th, .docs-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-2); }
.docs-table td { color: var(--ink-2); }
.docs-table td code { background: var(--purple-50); color: var(--purple-700); padding: 2px 7px; border-radius: 6px; font-size: 13px; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
a.feature { display: block; }
.nores { display: none; padding: 26px; border: 1px dashed var(--line-2); border-radius: var(--r-md); text-align: center; color: var(--muted); font-size: 14.5px; }
.nores.on { display: block; }
.chiprow { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chiprow button { font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); color: var(--ink-2); transition: background .18s, color .18s, border-color .18s; }
.chiprow button:hover { border-color: var(--purple-300); color: var(--purple-700); }
.chiprow button.on { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }

/* ---------- 社区卡 ---------- */
.comm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: linear-gradient(120deg, #FFFFFF, #F5F3FF); }
.comm h3 { font-size: 20px; margin-bottom: 10px; }
.comm p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.comm .qrbox { display: grid; place-items: center; }
.comm .qr { width: 132px; height: 132px; border-radius: 16px; background: var(--bg-deep); display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 12px; text-align: center; padding: 10px; line-height: 1.5; }

@media (max-width: 1024px) {
  .demo-wrap { grid-template-columns: 1fr; }
  .demo-panel { min-height: 300px; }
  .vid-grid, .gcols, .shot-grid, .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .prin { grid-template-columns: repeat(2, 1fr); }
  .comm { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vid-grid, .gcols, .shot-grid, .entry-grid, .prin { grid-template-columns: 1fr; }
  .prog-row { grid-template-columns: 1fr 52px; row-gap: 8px; }
  .prog-bar { grid-column: 1 / -1; }
  .les { flex-wrap: wrap; }
  .les .meta { width: 100%; padding-left: 44px; }
}
