/* ============================================================
   字母猿官网 · 设计系统
   风格：简约大气 —— 大留白、单主色、强排版层级、克制的动效
   ============================================================ */

:root {
  --ink:        #0A1526;
  --ink-2:      #33445C;
  --muted:      #5D6F87;
  --line:       #E4E9F2;
  --line-soft:  #EFF3F9;
  --bg:         #FFFFFF;
  --bg-soft:    #F5F8FC;
  --navy:       #071730;
  --navy-2:     #0E2647;
  --brand:      #1F5BFF;
  --brand-dark: #1444CC;
  --brand-soft: #EAF1FF;
  --teal:       #00BFA6;
  --amber:      #FFB020;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 21, 38, .05), 0 4px 12px rgba(10, 21, 38, .04);
  --shadow:    0 2px 6px rgba(10, 21, 38, .05), 0 16px 40px rgba(10, 21, 38, .07);
  --shadow-lg: 0 30px 70px rgba(10, 21, 38, .13);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --container: 1180px;
  /* ---- 字号音阶（Type Scale）----
     基准：正文 16px / 行高 1.75，标题统一 1.25
     相邻级差 ≥1px 且层级唯一，禁止再引入半像素值 */
  --fs-11: 11px;  /* 微标签：品牌副标、技术栈副标 */
  --fs-12: 12px;  /* 说明文字：表单提示、表格表头、页脚法务 */
  --fs-13: 13px;  /* 次级元信息：评价人角色、信任条说明、页脚描述 */
  --fs-14: 14px;  /* 紧凑 UI：徽章、页脚链接、密集列表 */
  --fs-15: 15px;  /* 正文（默认）：卡片段落、FAQ、表单、导航 */
  --fs-16: 16px;  /* 强调段落：关于页正文、CTA 描述 */
  --fs-18: 18px;  /* 小标题 h4 */
  --fs-20: 20px;  /* 卡片标题（紧凑） */
  --fs-22: 22px;  /* 卡片标题 h3 */
  --fs-24: 24px;  /* 详情标题 h3 / 价格标签 */
  --fs-32: 32px;  /* 数字强调（小屏） */
  --fs-34: 34px;  /* 价格数字 */
  --fs-42: 42px;  /* 指标数字（大屏） */
  --fs-54: 54px;  /* 装饰性引号 */

}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  font-size: var(--fs-16);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-13); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow--light { color: #7FA8FF; }
.eyebrow--light::before { background: #7FA8FF; }

.sec-title { font-size: clamp(28px, 3.4vw, 42px); }
.sec-sub { margin-top: 16px; font-size: var(--fs-18); color: var(--muted); max-width: 620px; }
.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 26px; border-radius: 999px;
  font-size: var(--fs-15); font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: .22s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(31, 91, 255, .28); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(31, 91, 255, .34); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { height: 40px; padding: 0 18px; font-size: var(--fs-14); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: .25s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 74px; gap: 40px; }

.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: var(--fs-18); font-weight: 800; color: var(--ink); letter-spacing: .01em; }
.logo-text em { font-style: normal; font-size: var(--fs-11); letter-spacing: .22em; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; gap: 34px; margin-left: auto; }
.nav-links a { font-size: var(--fs-15); font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width .25s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-user {
  display: flex; align-items: center; gap: 9px; padding: 5px 14px 5px 5px;
  border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-14); font-weight: 600;
  color: var(--ink); transition: .2s; cursor: pointer; background: #fff;
}
.nav-user:hover { border-color: var(--brand); }
.nav-user img, .nav-user .ava-ph {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-12); color: var(--brand); font-weight: 700;
}

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 92px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 78% 8%, rgba(31, 91, 255, .10), transparent 62%),
    radial-gradient(520px 380px at 8% 92%, rgba(0, 191, 166, .09), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,21,38,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(10,21,38,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.hero-title { font-size: clamp(38px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.035em; }
.hero-title .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero-title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .12em; height: .3em;
  background: rgba(31, 91, 255, .13); border-radius: 4px; z-index: -1;
}
.hero-sub { margin-top: 26px; font-size: var(--fs-18); line-height: 1.8; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.tag-chip {
  font-size: var(--fs-13); padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 500;
}
.hero-art { position: relative; }

/* ---------- 指标 ---------- */
.metrics { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 42px 30px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: none; }
.metric-num { font-size: var(--fs-42); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.metric-num span { font-size: var(--fs-22); color: var(--brand); margin-left: 2px; }
.metric-label { margin-top: 12px; font-size: var(--fs-15); font-weight: 600; color: var(--ink); }
.metric-desc { margin-top: 6px; font-size: var(--fs-13); color: var(--muted); line-height: 1.6; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 40px 36px; transition: .3s ease; position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 15px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; color: var(--brand); margin-bottom: 24px;
}
.svc-card h3 { font-size: var(--fs-22); }
.svc-card .tagline { margin-top: 6px; font-size: var(--fs-13); color: var(--brand); font-weight: 600; letter-spacing: .02em; }
.svc-card p.desc { margin-top: 16px; font-size: var(--fs-15); color: var(--muted); line-height: 1.8; }
.svc-points { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); display: grid; gap: 11px; }
.svc-points li { display: flex; gap: 10px; font-size: var(--fs-15); color: var(--ink-2); }
.svc-points li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); margin-top: 9px;
}

/* ---------- 为什么选我们 ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why-item { text-align: left; }
.why-num {
  font-size: var(--fs-13); font-weight: 800; color: var(--brand); font-family: var(--mono);
  letter-spacing: .06em;
}
.why-item h4 { font-size: var(--fs-18); margin-top: 12px; }
.why-item p { margin-top: 10px; font-size: var(--fs-15); color: var(--muted); line-height: 1.8; }

/* ---------- 流程 ---------- */
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.flow-list::before {
  content: ""; position: absolute; top: 25px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, var(--line), var(--brand), var(--line));
}
.flow-item { position: relative; padding-right: 18px; }
.flow-dot {
  width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  font-family: var(--mono); font-size: var(--fs-14); font-weight: 700; color: var(--brand);
  transition: .3s;
}
.flow-item:hover .flow-dot { background: var(--brand); color: #fff; border-color: var(--brand); transform: scale(1.08); }
.flow-item h4 { margin-top: 20px; font-size: var(--fs-16); }
.flow-item p { margin-top: 8px; font-size: var(--fs-14); color: var(--muted); line-height: 1.7; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: .3s ease; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-cover { height: 168px; position: relative; overflow: hidden; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.case-cover .case-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-cover .case-glyph { position: relative; z-index: 1; }
.case-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.case-cat { font-size: var(--fs-12); font-weight: 700; letter-spacing: .08em; color: var(--brand); text-transform: uppercase; }
.case-body h3 { margin-top: 12px; font-size: var(--fs-20); }
.case-body p { margin-top: 12px; font-size: var(--fs-15); color: var(--muted); line-height: 1.8; flex: 1; }
.case-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-metric { font-size: var(--fs-20); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.case-tags span { font-size: var(--fs-12); padding: 4px 10px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); }

/* ---------- CTA 深色区块 ---------- */
.cta-band { background: var(--navy); position: relative; overflow: hidden; padding: 88px 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(31, 91, 255, .35), transparent 65%),
    radial-gradient(500px 320px at 88% 100%, rgba(0, 191, 166, .22), transparent 62%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.cta-band p { color: rgba(255, 255, 255, .68); margin-top: 14px; font-size: var(--fs-16); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 页头（内页） ---------- */
.page-head { padding: 78px 0 64px; background: var(--bg-soft); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 80% 0%, rgba(31, 91, 255, .10), transparent 65%);
}
.page-head .container { position: relative; }
.page-head h1 { font-size: clamp(32px, 4vw, 48px); }
.page-head p { margin-top: 18px; font-size: var(--fs-18); color: var(--muted); max-width: 660px; }
.crumb { font-size: var(--fs-13); color: var(--muted); margin-bottom: 20px; }
.crumb a:hover { color: var(--brand); }

/* ---------- 关于我们 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.prose p { margin-bottom: 18px; font-size: var(--fs-16); line-height: 1.9; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 32px; }
.value-card .vc-idx { font-family: var(--mono); font-size: var(--fs-13); color: var(--brand); font-weight: 700; }
.value-card h4 { margin-top: 14px; font-size: var(--fs-18); }
.value-card p { margin-top: 12px; font-size: var(--fs-15); color: var(--muted); line-height: 1.8; }

.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 2px solid var(--brand);
}
.tl-year { font-family: var(--mono); font-size: var(--fs-14); font-weight: 700; color: var(--brand); }
.tl-item h4 { margin-top: 8px; font-size: var(--fs-18); }
.tl-item p { margin-top: 8px; font-size: var(--fs-15); color: var(--muted); line-height: 1.8; }

/* ---------- 产品服务页 ---------- */
.svc-detail { display: grid; gap: 28px; }
.svc-row {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 44px;
  transition: .3s;
}
.svc-row:hover { box-shadow: var(--shadow); border-color: transparent; }
.svc-row h3 { font-size: var(--fs-24); }
.svc-row .tagline { margin-top: 8px; font-size: var(--fs-13); color: var(--brand); font-weight: 600; }
.svc-row .desc { margin-top: 18px; font-size: var(--fs-15); color: var(--muted); line-height: 1.85; }
.svc-row ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; align-content: start; }
.svc-row ul li { display: flex; gap: 10px; font-size: var(--fs-15); color: var(--ink-2); }
.svc-row ul li::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BFF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
  margin-top: 5px;
}

.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tech-item {
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 12px;
  text-align: center; font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); background: #fff; transition: .22s;
}
.tech-item:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.tech-item span { display: block; font-size: var(--fs-11); font-weight: 500; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 32px; position: relative; transition: .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--hot { border-color: var(--brand); box-shadow: 0 18px 48px rgba(31, 91, 255, .14); }
.plan-badge {
  position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff;
  font-size: var(--fs-12); font-weight: 700; padding: 5px 14px; border-radius: 999px; letter-spacing: .04em;
}
.plan h4 { font-size: var(--fs-20); }
.plan .plan-for { margin-top: 8px; font-size: var(--fs-13); color: var(--muted); }
.plan .plan-price { margin: 24px 0 4px; display: flex; align-items: baseline; gap: 5px; font-size: var(--fs-34); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan .plan-price small { font-size: var(--fs-15); font-weight: 700; color: var(--muted); }
.plan .plan-cycle { font-size: var(--fs-13); color: var(--muted); }
.plan ul { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 12px; }
.plan ul li { display: flex; gap: 10px; font-size: var(--fs-15); color: var(--ink-2); }
.plan ul li::before { content: "✓"; color: var(--brand); font-weight: 800; flex-shrink: 0; }
.plan .btn { margin-top: 28px; }

.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 22px 26px; font-size: var(--fs-16); font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .chev { flex-shrink: 0; transition: transform .28s; color: var(--muted); }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 26px 24px; font-size: var(--fs-15); color: var(--muted); line-height: 1.85; }
.faq-item.is-open .faq-a { max-height: 420px; }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: var(--fs-14); font-weight: 600; color: var(--ink); margin-bottom: 9px; }
.field label .req { color: #D63C42; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-size: var(--fs-15); font-family: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  transition: .2s; outline: none;
}
.field textarea { resize: vertical; min-height: 118px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31, 91, 255, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field .hint { margin-top: 7px; font-size: var(--fs-13); color: var(--muted); }
.form-note { margin-top: 18px; font-size: var(--fs-13); color: var(--muted); line-height: 1.7; }

.info-card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 42px 38px; position: relative; overflow: hidden; }
.info-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 240px at 100% 0%, rgba(31, 91, 255, .4), transparent 65%); }
.info-card > * { position: relative; }
.info-card h3 { color: #fff; font-size: var(--fs-22); }
.info-card > p { color: rgba(255, 255, 255, .62); font-size: var(--fs-14); margin-top: 10px; }
.info-list { margin-top: 32px; display: grid; gap: 26px; }
.info-item { display: flex; gap: 16px; }
.info-ico {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #7FA8FF;
}
.info-item .k { font-size: var(--fs-13); color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.info-item .v { font-size: var(--fs-16); color: #fff; font-weight: 600; margin-top: 3px; line-height: 1.6; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 24px);
  background: var(--ink); color: #fff; padding: 14px 26px; border-radius: 999px;
  font-size: var(--fs-15); font-weight: 500; box-shadow: var(--shadow-lg); z-index: 999;
  opacity: 0; pointer-events: none; transition: .3s ease; max-width: 90vw; text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-err { background: #C62828; }

/* ---------- 登录 / 账户 ---------- */
.auth-wrap { min-height: calc(100vh - 74px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 46px 42px; box-shadow: var(--shadow); text-align: center; }
.auth-card h1 { font-size: var(--fs-24); }
.auth-card .sub { margin-top: 12px; font-size: var(--fs-15); color: var(--muted); }
.qr-box {
  margin: 34px auto 0; width: 236px; height: 236px; border-radius: var(--r); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; background: #fff;
}
.qr-box iframe { width: 100%; height: 100%; border: 0; }
.qr-ph { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px; }
.qr-ph .qr-art { width: 170px; height: 170px; opacity: .9; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: var(--fs-13); font-weight: 600;
  color: #A15C00; background: #FFF6E5; border: 1px solid #FFE2AC; padding: 5px 13px; border-radius: 999px;
}
.auth-foot { margin-top: 26px; font-size: var(--fs-13); color: var(--muted); line-height: 1.75; }
.auth-foot a { color: var(--brand); font-weight: 600; }

/* ---------- 账户中心 ---------- */
.acct-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px 30px; }
.acct-ava { width: 68px; height: 68px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: var(--fs-24); font-weight: 800; color: var(--brand); overflow: hidden; }
.acct-ava img { width: 100%; height: 100%; object-fit: cover; }
.acct-name { margin-top: 18px; font-size: var(--fs-18); font-weight: 700; color: var(--ink); }
.acct-meta { margin-top: 6px; font-size: var(--fs-14); color: var(--muted); }
.acct-kv { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; }
.acct-kv div { display: flex; justify-content: space-between; font-size: var(--fs-14); }
.acct-kv .k { color: var(--muted); }
.acct-kv .v { color: var(--ink); font-weight: 600; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 38px; }
.panel h2 { font-size: var(--fs-20); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: var(--fs-15); border: 1px dashed var(--line); border-radius: var(--r); }

.mini-list { display: grid; gap: 14px; }
.mini-item { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mini-item .t { font-size: var(--fs-15); font-weight: 600; color: var(--ink); }
.mini-item .d { font-size: var(--fs-13); color: var(--muted); margin-top: 4px; }

.drop-zone {
  border: 2px dashed var(--line); border-radius: var(--r); padding: 34px 20px; text-align: center;
  cursor: pointer; transition: .22s; background: var(--bg-soft);
}
.drop-zone:hover, .drop-zone.is-over { border-color: var(--brand); background: var(--brand-soft); }
.drop-zone p { font-size: var(--fs-15); color: var(--muted); }
.drop-zone b { color: var(--brand); }
.drop-zone .ico { margin: 0 auto 12px; color: var(--brand); }

.file-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.file-card { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.file-thumb { height: 100px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb .ext { font-family: var(--mono); font-size: var(--fs-12); color: var(--muted); text-transform: uppercase; }
.file-info { padding: 10px 12px; }
.file-info .n { font-size: var(--fs-13); color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-info .s { font-size: var(--fs-12); color: var(--muted); margin-top: 2px; }

.bar { height: 8px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width .3s; }

/* ---------- 后台 ---------- */
.admin-shell { background: var(--bg-soft); min-height: 100vh; }
.admin-head { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; position: sticky; top: 0; z-index: 20; }
.admin-head .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.admin-body { padding: 36px 0 80px; }
.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-bottom: 30px; }
.stat-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.stat-box .k { font-size: var(--fs-13); color: var(--muted); font-weight: 500; }
.stat-box .v { font-size: var(--fs-32); font-weight: 800; color: var(--ink); margin-top: 8px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table-wrap h2 { font-size: var(--fs-18); padding: 22px 26px; border-bottom: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
th { text-align: left; font-size: var(--fs-13); font-weight: 700; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; padding: 14px 18px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FBFCFE; }
td .strong { color: var(--ink); font-weight: 600; }
td .sub { font-size: var(--fs-13); color: var(--muted); margin-top: 3px; }
.badge { display: inline-block; font-size: var(--fs-12); font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge--new { background: #FFF1F0; color: #C62828; }
.badge--read { background: #FFF8E5; color: #A15C00; }
.badge--done { background: #E9F8F2; color: #0B7A5A; }
.link-btn { background: none; border: 0; color: var(--brand); font-size: var(--fs-13); font-weight: 600; cursor: pointer; padding: 0; margin-right: 14px; }
.link-btn:hover { text-decoration: underline; }
.link-btn.danger { color: #C62828; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .6); padding: 72px 0 34px; font-size: var(--fs-14); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 46px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo-text b { color: #fff; }
.footer .logo-text em { color: rgba(255, 255, 255, .5); }
.footer-desc { margin-top: 20px; font-size: var(--fs-14); line-height: 1.85; max-width: 300px; }
.footer h5 { color: #fff; font-size: var(--fs-14); font-weight: 700; margin: 0 0 20px; letter-spacing: .02em; }
.footer li { margin-bottom: 13px; }
.footer li a:hover { color: #fff; }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: var(--fs-13); color: rgba(255, 255, 255, .5); }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-art { max-width: 520px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .flow-list::before { display: none; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .value-grid, .plan-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .acct-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .file-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .section { padding: 62px 0; }
  .nav-inner { height: 64px; gap: 16px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .hero { padding: 58px 0 68px; }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .svc-grid, .case-grid, .value-grid, .plan-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 30px 26px; }
  .svc-row ul { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .metric { padding: 26px 18px; }
  .metric-num { font-size: var(--fs-32); }
  .why-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .info-card, .panel { padding: 28px 22px; }
  .auth-card { padding: 34px 24px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .file-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; }
  table { min-width: 640px; }
  .page-head { padding: 52px 0 44px; }
}

/* ============================================================
   信任体系组件（第二版新增）
   ============================================================ */

/* 信任徽章 */
.tag-chip--ok {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-color: #D8E4FF; color: var(--ink-2); font-weight: 600;
}
.tag-chip--ok::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BFF' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}

/* 合同承诺 */
.pledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pledge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; display: flex; flex-direction: column; transition: .3s;
}
.pledge:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pledge-no { font-family: var(--mono); font-size: var(--fs-12); font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.pledge h4 { margin-top: 14px; font-size: var(--fs-18); }
.pledge p { margin-top: 13px; font-size: var(--fs-15); color: var(--muted); line-height: 1.85; flex: 1; }
.pledge .cite {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: var(--fs-13); color: var(--ink-2); line-height: 1.7;
}
.pledge--cta { background: var(--brand); border-color: var(--brand); justify-content: center; }
.pledge--cta h4 { color: #fff; margin-top: 0; font-size: var(--fs-20); }
.pledge--cta p { color: rgba(255, 255, 255, .92); }
.pledge--cta .btn { margin-top: 22px; }

/* 流程交付物 */
.flow-out {
  margin-top: 12px; font-size: var(--fs-13); line-height: 1.65;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 12px; color: var(--ink-2);
}
.flow-out b { color: var(--brand); font-weight: 700; }
.flow-item:hover .flow-out { border-color: #C9DAFF; background: var(--brand-soft); }

/* 客户评价 */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 32px; display: flex; flex-direction: column;
}
.quote-mark { font-family: Georgia, "Times New Roman", serif; font-size: var(--fs-54); line-height: .62; color: var(--brand); opacity: .2; }
.quote p { margin-top: 12px; font-size: var(--fs-16); line-height: 1.92; color: var(--ink-2); flex: 1; }
.quote-who { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); display: flex; align-items: center; gap: 13px; }
.quote-ava {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-15); font-weight: 700;
}
.quote-who .n { font-size: var(--fs-15); font-weight: 700; color: var(--ink); }
.quote-who .r { font-size: var(--fs-13); color: var(--muted); margin-top: 2px; }

/* 诚实边界 */
.boundary { background: var(--navy); border-radius: var(--r-lg); padding: 54px 48px; position: relative; overflow: hidden; }
.boundary::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 300px at 90% 0%, rgba(31, 91, 255, .32), transparent 62%); }
.boundary > * { position: relative; }
.boundary h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); }
.boundary > p { color: rgba(255, 255, 255, .64); margin-top: 16px; font-size: var(--fs-16); max-width: 660px; line-height: 1.85; }
.boundary ul { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 44px; }
.boundary li { display: flex; gap: 13px; font-size: var(--fs-15); color: rgba(255, 255, 255, .84); line-height: 1.8; }
.boundary li::before { content: "×"; color: #FF8F8F; font-weight: 800; flex-shrink: 0; font-size: var(--fs-16); }
.boundary .note {
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: var(--fs-15); color: #9DBBFF; line-height: 1.85;
}

/* 费用包含 / 不包含 */
.plan-io { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.plan-io .io-h { font-size: var(--fs-13); font-weight: 700; color: var(--ink); letter-spacing: .04em; margin-bottom: 10px; }
.plan-io ul { margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.plan-io ul li { display: flex; gap: 9px; font-size: var(--fs-14); color: var(--ink-2); }
.plan-io ul li::before { content: "✓"; color: #0B7A5A; font-weight: 800; flex-shrink: 0; }
.plan-io ul.io-no li { color: var(--muted); }
.plan-io ul.io-no li::before { content: "—"; color: #C9D4E5; }

/* 信任条（位于联系页表单卡内，容器较窄：默认 2×2，避免标题被挤断行） */
.trust-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 26px; }
.trust-bar .tb { display: flex; gap: 12px; align-items: flex-start; }
.trust-bar .tb i {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.trust-bar .tb .k { font-size: var(--fs-14); font-weight: 700; color: var(--ink); }
.trust-bar .tb .v { font-size: var(--fs-13); color: var(--muted); margin-top: 3px; line-height: 1.6; }

/* 可核验信息卡 */
.verify-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px 34px; }
.verify-card h4 { font-size: var(--fs-18); }
.verify-list { margin-top: 22px; display: grid; gap: 16px; }
.verify-list li { display: flex; gap: 12px; font-size: var(--fs-15); color: var(--ink-2); line-height: 1.75; }
.verify-list li::before {
  content: ""; flex-shrink: 0; width: 17px; height: 17px; border-radius: 50%; margin-top: 5px;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F5BFF' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}

.footer-legal { font-size: var(--fs-12); color: rgba(255, 255, 255, .5); margin-top: 10px; line-height: 1.8; }

@media (max-width: 1024px) {
  .pledge-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .boundary { padding: 42px 32px; }
  .boundary ul { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .pledge-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .boundary { padding: 32px 22px; }
  .quote { padding: 28px 24px; }
}

/* 通用两列栅格 */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 1024px) { .grid-2 { grid-template-columns: 1fr; } }

/* 发展历程左栏数据条 */
.tl-stats { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; max-width: 420px; overflow: hidden; }
.tl-stats > div { padding: 18px 10px; text-align: center; border-right: 1px solid var(--line-soft); }
.tl-stats > div:last-child { border-right: none; }
.tl-stats b { display: block; font-size: var(--fs-22); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.tl-stats span { display: block; margin-top: 5px; font-size: var(--fs-12); color: var(--muted); }


/* ---------- 无障碍 ---------- */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--brand); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-size: var(--fs-14); font-weight: 600;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  .skip-link:focus { transition: none; }
}

/* ============================================================
   知识库（文章）—— 前台
   沿用全站设计变量与字号音阶，不引入新的字号档位
   ============================================================ */

/* 分类筛选 */
.post-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.post-filter {
  font-size: var(--fs-14); font-weight: 600; color: var(--ink-2);
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; transition: .2s;
}
.post-filter:hover { border-color: var(--brand); color: var(--brand); }
.post-filter.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 文章卡片 */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-link { display: flex; flex-direction: column; height: 100%; padding: 30px 28px; }
.post-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.post-cat {
  font-size: var(--fs-12); font-weight: 700; letter-spacing: .04em;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 6px;
}
.post-date { font-size: var(--fs-12); color: var(--muted); }
.post-card-title { font-size: var(--fs-20); line-height: 1.5; color: var(--ink); }
.post-card-summary { margin-top: 14px; font-size: var(--fs-14); line-height: 1.8; color: var(--muted); flex: 1; }
.post-card-foot {
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--fs-13); color: var(--muted);
}
.post-more { color: var(--brand); font-weight: 600; }
.post-card:hover .post-more { text-decoration: underline; text-underline-offset: 3px; }

.post-empty { padding: 56px 0; text-align: center; color: var(--muted); font-size: var(--fs-15); }
.post-empty a { color: var(--brand); font-weight: 600; }

/* 分页 */
.post-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 46px; }
.post-page {
  font-size: var(--fs-14); font-weight: 600; color: var(--ink-2);
  padding: 10px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff;
}
.post-page:hover { border-color: var(--brand); color: var(--brand); }
.post-page.is-cur { border: none; background: none; color: var(--muted); font-weight: 500; }

/* 详情页头 */
.post-head { padding: 70px 0 42px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.post-head h1 { font-size: clamp(28px, 3.4vw, 42px); max-width: 860px; }
.post-head-meta {
  margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: var(--fs-13); color: var(--muted);
}
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags i {
  font-style: normal; font-size: var(--fs-12); padding: 4px 10px;
  border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.post-cover { margin-top: 40px; }
.post-cover img { width: 100%; border-radius: var(--r-lg); display: block; }

/* 正文排版 */
.post-content { max-width: 760px; margin: 0 auto; padding: 52px 0 12px; font-size: var(--fs-16); color: var(--ink-2); }
.post-content > *:first-child { margin-top: 0; }
.post-content h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); margin: 44px 0 18px; }
.post-content h3 { font-size: var(--fs-20); color: var(--ink); margin: 34px 0 14px; }
.post-content h4 { font-size: var(--fs-18); color: var(--ink); margin: 28px 0 12px; }
.post-content p { margin-bottom: 20px; line-height: 1.95; }
.post-content strong { color: var(--ink); font-weight: 700; }
.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 24px; }
.post-content li { margin-bottom: 10px; line-height: 1.9; }
.post-content ul li { list-style: none; position: relative; }
.post-content ul li::before {
  content: ""; position: absolute; left: -17px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .5;
}
.post-content ol { list-style: decimal; }
.post-content blockquote {
  margin: 26px 0; padding: 18px 24px; border-left: 3px solid var(--brand);
  background: var(--bg-soft); border-radius: 0 12px 12px 0;
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 24px 0; display: block; }
.post-content code {
  font-family: var(--mono); font-size: .92em; background: var(--bg-soft);
  padding: 2px 6px; border-radius: 5px; color: var(--ink);
}
.post-content pre {
  background: var(--navy); color: #D6E4FF; padding: 20px 22px; border-radius: 12px;
  overflow-x: auto; margin: 24px 0; font-size: var(--fs-14); line-height: 1.7;
}
.post-content pre code { background: none; color: inherit; padding: 0; }
.post-content table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: var(--fs-14); }
.post-content th, .post-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.post-content th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }

/* 文末转化 */
.post-cta {
  max-width: 900px; margin: 44px auto 0; padding: 40px 44px;
  background: var(--navy); border-radius: var(--r-lg); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.post-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(460px 260px at 88% 0%, rgba(31, 91, 255, .34), transparent 62%);
}
.post-cta > * { position: relative; }
.post-cta h3 { color: #fff; font-size: var(--fs-22); }
.post-cta p { margin-top: 10px; color: rgba(255, 255, 255, .74); font-size: var(--fs-14); line-height: 1.8; max-width: 460px; }
.post-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.post-cta .btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent; }
.post-cta .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* 相关文章 */
.post-related { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.post-related-title { font-size: var(--fs-22); margin-bottom: 28px; }

/* ============================================================
   后台：知识库文章管理
   ============================================================ */

.adm-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.adm-tab {
  font-size: var(--fs-14); font-weight: 600; padding: 10px 20px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer;
}
.adm-tab.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.adm-art-layout { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.adm-art-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.adm-art-side-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.adm-art-side-head h2 { font-size: var(--fs-16); }
.adm-art-list { max-height: 640px; overflow-y: auto; }
.adm-art-item { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); cursor: pointer; width: 100%; text-align: left; background: none; border-left: 3px solid transparent; display: block; }
.adm-art-item:hover { background: var(--bg-soft); }
.adm-art-item.is-on { background: var(--brand-soft); border-left-color: var(--brand); }
.adm-art-item .t { font-size: var(--fs-14); font-weight: 600; color: var(--ink); line-height: 1.5; }
.adm-art-item .m { margin-top: 6px; font-size: var(--fs-12); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.adm-art-empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: var(--fs-13); }

.adm-editor { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 30px; }
.adm-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.adm-editor-head h2 { font-size: var(--fs-18); }
.adm-editor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-field { margin-bottom: 16px; }
.adm-field label { display: block; font-size: var(--fs-13); font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.adm-field input[type="text"], .adm-field textarea, .adm-field select {
  width: 100%; font-family: var(--font); font-size: var(--fs-14); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff;
}
.adm-field textarea { resize: vertical; line-height: 1.7; }
.adm-field input:focus, .adm-field textarea:focus, .adm-field select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.adm-field .tip { margin-top: 6px; font-size: var(--fs-12); color: var(--muted); }
.adm-md { font-family: var(--mono); font-size: var(--fs-13); line-height: 1.75; min-height: 340px; }
.adm-preview {
  border: 1px dashed var(--line); border-radius: 12px; padding: 20px 22px;
  max-height: 420px; overflow-y: auto; background: var(--bg-soft);
}
.adm-preview .post-content { padding: 0; max-width: none; font-size: var(--fs-14); }
.adm-preview .post-content h2 { font-size: var(--fs-20); margin: 24px 0 12px; }
.adm-preview .post-content h3 { font-size: var(--fs-18); margin: 20px 0 10px; }
.adm-preview .post-content p { font-size: var(--fs-14); margin-bottom: 14px; }
.adm-status { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.adm-status label { display: flex; align-items: center; gap: 7px; font-size: var(--fs-14); color: var(--ink-2); cursor: pointer; margin: 0; }
.adm-hint { font-size: var(--fs-13); color: var(--muted); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-art-layout { grid-template-columns: 1fr; }
  .adm-art-list { max-height: 300px; }
  .adm-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-head { padding: 48px 0 32px; }
  .post-content { padding: 36px 0 12px; font-size: var(--fs-15); }
  .post-content table { display: block; overflow-x: auto; }
  .post-cta { padding: 30px 24px; }
  .adm-editor { padding: 20px 18px 24px; }
}

/* ---------- 登录 / 注册（手机号） ---------- */
.auth-tabs { display: flex; gap: 6px; margin: 26px 0 24px; padding: 5px; background: var(--bg-soft); border-radius: 12px; }
.auth-tab { flex: 1; padding: 10px 0; border: 0; background: transparent; border-radius: 8px; font-family: inherit; font-size: var(--fs-14); font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tab.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(10, 21, 38, .08); }

#auth-form { text-align: left; }
#auth-form .field:last-of-type { margin-bottom: 0; }

.auth-agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: var(--fs-13); color: var(--muted); line-height: 1.65; text-align: left; cursor: pointer; }
.auth-agree input { flex: none; width: 16px; height: 16px; margin-top: 2px; accent-color: var(--brand); }
.auth-agree a { color: var(--brand); font-weight: 600; }

/* ---------- 法律文本（用户协议 / 隐私政策） ---------- */
.legal-body { max-width: 780px; }
.legal-body h1 { font-size: var(--fs-28, 28px); }
.legal-updated { margin-top: 12px; font-size: var(--fs-13); color: var(--muted); }
.legal-body h2 { margin-top: 34px; font-size: var(--fs-18); }
.legal-body p { margin-top: 12px; font-size: var(--fs-15); color: var(--ink-soft, #3A4658); line-height: 1.85; }
.legal-body ul { margin-top: 12px; padding-left: 22px; display: grid; gap: 8px; }
.legal-body li { font-size: var(--fs-15); color: var(--ink-soft, #3A4658); line-height: 1.8; }
.legal-body a { color: var(--brand); font-weight: 600; }

/* ---------- 注销账号 ---------- */
.acct-danger { margin-top: 16px; padding: 16px; border: 1px solid #F3C9C9; background: #FDF3F3; border-radius: 12px; text-align: left; }
.acct-danger p { font-size: var(--fs-13); color: #8A2B2B; line-height: 1.65; }
.acct-danger input { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: var(--fs-14); }

/* ---------- 后台：邮件通知设置 ---------- */
.badge--off { background: var(--bg-soft); color: var(--muted); }

.adm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px 30px; max-width: 920px; }
.adm-card h2 { margin: 0 0 8px; font-size: var(--fs-18); }
.adm-card-lead { margin: 0 0 24px; font-size: var(--fs-13); color: var(--muted); line-height: 1.75; }

.adm-switch { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 24px; cursor: pointer; user-select: none; position: relative; }
.adm-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.adm-switch-track { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: #D5DBE6; transition: background .18s ease; }
.adm-switch-track i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 21, 38, .25); transition: transform .18s ease; }
.adm-switch input:checked + .adm-switch-track { background: var(--brand); }
.adm-switch input:checked + .adm-switch-track i { transform: translateX(20px); }
.adm-switch input:focus-visible + .adm-switch-track { outline: 2px solid var(--brand); outline-offset: 2px; }
.adm-switch-label { font-size: var(--fs-14); font-weight: 600; color: var(--ink); }

.adm-grid-3 { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 16px; }

.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.adm-save-status { font-size: var(--fs-13); color: var(--muted); line-height: 1.6; }
.adm-save-status.is-ok { color: #0B7A5A; }
.adm-save-status.is-err { color: #C62828; }

.adm-presets { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.adm-presets-title { font-size: var(--fs-13); font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.adm-presets table { width: 100%; border-collapse: collapse; font-size: var(--fs-13); }
.adm-presets th { text-align: left; padding: 9px 10px; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
.adm-presets td { padding: 9px 10px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.adm-presets tr[data-host] { cursor: pointer; }
.adm-presets tr[data-host]:hover td { background: var(--brand-soft); }
.adm-presets .tip { margin-top: 12px; font-size: var(--fs-12); color: var(--muted); line-height: 1.75; }

@media (max-width: 1024px) { .adm-grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .admin-head .container { flex-wrap: wrap; row-gap: 10px; }
  .admin-head .container > div { flex-wrap: wrap; row-gap: 8px; }
  #stack-info { display: none; } /* 窄屏藏数据库模式信息，避免顶栏溢出 */
  .adm-card { padding: 20px 18px 24px; }
  .adm-presets { overflow-x: auto; }
  .adm-presets table { min-width: 520px; }
}
