/* ==========================================================================
   湖南AI培训研究院 · 企业官网样式
   简约大气 · 深蓝 + 青蓝点缀
   ========================================================================== */

:root {
  --brand-950: #05224f;
  --brand-900: #072e69;
  --brand-800: #0a3a80;
  --brand-700: #0d4a9e;
  --brand-600: #1259bd;
  --brand-500: #1a6ee0;
  --brand-100: #e6effb;
  --brand-50:  #f2f7fe;

  --accent:      #12b5c9;
  --accent-soft: #e2f7fa;

  --ink:    #0e1a2b;
  --ink-2:  #3f4f6a;
  --ink-3:  #74839b;
  --line:   #e4eaf3;
  --line-2: #f0f4fa;
  --bg:     #ffffff;
  --bg-soft:#f7f9fd;
  --bg-dark:#062046;

  --radius-s: 10px;
  --radius:   16px;
  --radius-l: 24px;

  --shadow-s: 0 1px 2px rgba(14, 26, 43, .05);
  --shadow:   0 6px 24px -8px rgba(11, 46, 104, .16);
  --shadow-l: 0 24px 60px -24px rgba(11, 46, 104, .28);

  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
               "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶栏 ---------- */
.topbar {
  background: var(--brand-950);
  color: #c3d5ee;
  font-size: 13px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar-left { display: flex; gap: 18px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar b { color: #fff; font-weight: 600; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 74px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* 品牌标识：横构图 logo（1.34:1），按高度约束、宽度按固有比例自适应。
   勿写死 width/height 相同值——会把图形压扁。 */
.brand-mark { height: 40px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-size: 19px; font-weight: 800; letter-spacing: .01em; color: var(--brand-900); }
.brand-en { font-size: 9.5px; letter-spacing: .16em; color: var(--ink-3); text-transform: uppercase; }

.menu { display: flex; gap: 4px; margin-left: auto; }
.menu a {
  position: relative; padding: 10px 16px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.menu a:hover { color: var(--brand-700); background: var(--brand-50); }
.menu a.active { color: var(--brand-700); font-weight: 600; }
.menu a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--brand-600);
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-user {
  display: none; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
}
.nav-user.on { display: flex; }
.nav-user .uname { font-size: 14px; font-weight: 600; color: var(--brand-800); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-600), var(--accent));
  color: #fff; font-size: 12px; font-weight: 700;
}
.nav-toggle { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; box-shadow: 0 10px 24px -12px rgba(18, 89, 189, .8);
}
.btn-primary:hover { box-shadow: 0 14px 30px -12px rgba(18, 89, 189, .95); }
.btn-ghost { background: #fff; color: var(--brand-700); border-color: #cfdcef; }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); background: var(--brand-50); }
.btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .34); }
.btn-light:hover { background: rgba(255, 255, 255, .24); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: 38px; margin: 16px 0 14px; color: var(--brand-950); }
.sec-head p { font-size: 16.5px; color: var(--ink-2); }
.sec-head.center .eyebrow::before { display: none; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d5e0f2; }
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--brand-900); }
.card p { color: var(--ink-2); font-size: 15px; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-100), var(--accent-soft));
  color: var(--brand-700);
}
.icon-badge svg { width: 23px; height: 23px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-950);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  opacity: .30; filter: saturate(.85);
}
.hero-mask {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 520px at 12% 0%, rgba(18, 181, 201, .34), transparent 62%),
    linear-gradient(105deg, rgba(5, 34, 79, .96) 0%, rgba(5, 34, 79, .88) 46%, rgba(7, 46, 105, .62) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 104px; padding-bottom: 104px; }
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13.5px; color: #d8e8ff; margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 181, 201, .22);
}
.hero h1 { font-size: 54px; line-height: 1.18; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: #6fe3f2; }
.hero-sub { font-size: 18px; color: #c2d7f2; margin-top: 22px; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.hero-tags span {
  font-size: 13px; color: #b9cfea; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; box-shadow: var(--shadow);
  margin-top: -58px; position: relative; z-index: 5;
}
.stat { padding: 30px 26px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: none; }
.stat .num {
  font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--brand-700);
  line-height: 1.1;
}
.stat .num small { font-size: 17px; font-weight: 700; margin-left: 2px; color: var(--accent); }
.stat .lbl { font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* ---------- 产品服务 ---------- */
.prod {
  display: grid; grid-template-columns: 300px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius-l);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-s);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.prod:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod + .prod { margin-top: 24px; }
.prod-side {
  padding: 34px 30px; color: #fff;
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600) 70%, #1789c9);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.prod-no {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; color: #9fd9ff;
}
.prod-side h3 { font-size: 25px; margin-top: 10px; line-height: 1.35; }
.prod-side .en { font-size: 12px; color: #a9c9ea; letter-spacing: .06em; margin-top: 8px; }
.prod-side .tagline { font-size: 14px; color: #cfe3fb; margin-top: 14px; }
.prod-body { padding: 32px 36px; }
.prod-body > p { color: var(--ink-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chip {
  font-size: 13.5px; padding: 7px 14px; border-radius: 999px;
  background: var(--brand-50); border: 1px solid #e0eaf8; color: var(--brand-700);
}
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.point { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.point svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }

/* ---------- 阶梯（培训分层） ---------- */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; }
.step { padding: 18px 16px; border: 1px solid var(--line); border-right: none; background: #fff; }
.step:first-child { border-radius: var(--radius-s) 0 0 var(--radius-s); }
.step:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.step b { display: block; font-size: 14.5px; color: var(--brand-800); }
.step span { font-size: 12.5px; color: var(--ink-3); }
.step .d { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }

/* ---------- 案例图墙 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--brand-100);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px; font-size: 13.5px; color: #fff; font-weight: 500;
  background: linear-gradient(transparent, rgba(5, 26, 60, .86));
}
.shot.wide { grid-column: span 2; }

/* ---------- 客户 ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 10px; }
.clients span {
  padding: 11px 20px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2);
  transition: all .2s var(--ease);
}
.clients span:hover { border-color: var(--brand-500); color: var(--brand-700); box-shadow: var(--shadow-s); }

/* ---------- 动态列表 ---------- */
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16 / 9; background: var(--brand-100); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-size: 16.5px; line-height: 1.5; color: var(--brand-950); }
.news-body p { font-size: 14px; color: var(--ink-3); flex: 1; }
.news-meta { font-size: 12.5px; color: var(--ink-3); }
.news-meta b { color: var(--brand-600); font-weight: 600; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label i { color: #e0574a; font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px;
  border: 1px solid #dfe6f1; background: #fff; outline: none;
  font-size: 15px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-500); box-shadow: 0 0 0 4px rgba(26, 110, 224, .12);
}
.field .hint { font-size: 12.5px; color: var(--ink-3); }

/* 上传区 */
.drop {
  border: 1.5px dashed #cfdcef; border-radius: var(--radius); background: var(--brand-50);
  padding: 26px; text-align: center; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--brand-500); background: #eaf3ff; }
.drop strong { display: block; font-size: 15px; color: var(--brand-800); margin-bottom: 5px; }
.drop span { font-size: 13px; color: var(--ink-3); }

.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.file-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 14px;
}
.file-row .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row .sz { font-size: 12.5px; color: var(--ink-3); }
.file-row .rm {
  border: none; background: none; color: #c0392b; cursor: pointer;
  font-size: 13px; padding: 4px 6px; border-radius: 6px;
}
.file-row .rm:hover { background: #fdecea; }

/* ---------- 提示 ---------- */
.toast-host {
  position: fixed; top: 22px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  background: #10305c; color: #fff; box-shadow: var(--shadow-l);
  animation: toast-in .28s var(--ease);
  max-width: 76vw;
}
.toast.ok { background: #0d7a52; }
.toast.err { background: #b23b2e; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

.alert {
  padding: 13px 18px; border-radius: 11px; font-size: 14.5px;
  background: var(--accent-soft); border: 1px solid #bfe9ef; color: #0a6b78;
}
.alert.warn { background: #fff7e8; border-color: #f5dfb3; color: #8a5b12; }
.alert.err { background: #fdeeec; border-color: #f6cec8; color: #a33427; }

/* ---------- 用户中心 / 管理端 ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); overflow: hidden;
}
.panel-head {
  padding: 24px 30px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.panel-head h3 { font-size: 18px; color: var(--brand-900); }
.panel-head p { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.panel-body { padding: 28px 30px; }

.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tab {
  padding: 11px 18px; font-size: 15px; font-weight: 500; color: var(--ink-3);
  border-bottom: 2px solid transparent; cursor: pointer; background: none; border-top: none;
  border-left: none; border-right: none;
}
.tab:hover { color: var(--brand-700); }
.tab.on { color: var(--brand-700); font-weight: 700; border-bottom-color: var(--brand-600); }

.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.tbl th {
  text-align: left; padding: 12px 14px; font-size: 13px; font-weight: 700;
  color: var(--ink-3); background: var(--bg-soft); white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.tbl td { padding: 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; color: var(--ink-2); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl td.strong { color: var(--ink); font-weight: 600; }

.badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.badge.new { background: #e8f1ff; color: #17509c; }
.badge.done { background: #e6f6ef; color: #0d7a52; }
.badge.doing { background: #fff4e3; color: #96601a; }
.badge.user { background: var(--brand-50); color: var(--brand-700); }
.badge.admin { background: #f3e9ff; color: #6a35a8; }

.empty { text-align: center; padding: 54px 20px; color: var(--ink-3); }
.empty svg { width: 44px; height: 44px; margin: 0 auto 14px; color: #c6d4e8; }
.empty p { font-size: 15px; }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.kpi .box { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.kpi .box .n { font-size: 28px; font-weight: 800; color: var(--brand-700); letter-spacing: -.02em; }
.kpi .box .t { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 登录页 ---------- */
.auth-wrap {
  min-height: calc(100vh - 112px); display: grid; place-items: center;
  padding: 60px 24px;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(18, 181, 201, .16), transparent 60%),
    var(--bg-soft);
}
.auth-card {
  width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: 42px 40px;
}
.auth-card h2 { font-size: 27px; color: var(--brand-950); }
.auth-card > p { color: var(--ink-3); font-size: 14.5px; margin: 10px 0 28px; }
.auth-switch { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--ink-3); }
.auth-switch button { background: none; border: none; color: var(--brand-600); font-weight: 600; cursor: pointer; padding: 0 4px; }
.auth-switch button:hover { text-decoration: underline; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-dark); color: #a9bdd8; padding: 68px 0 0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 42px; padding-bottom: 48px; }
.footer h4 { font-size: 15px; color: #fff; margin-bottom: 18px; letter-spacing: .02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer a:hover { color: #fff; }
.footer .brand-cn { color: #fff; }
.footer .brand-en { color: #7d95b5; }
/* 页脚是深色底（#062046），而 logo 主色同为深蓝（#004890）会与背景糊成一片。
   改用 1:1 的圆形素材，白色圆底已烘进图里（见 make_logo.py）；
   此处不再另加背板——白底上再套一块圆角白板会露出方角。
   border-radius 只是兜底，防止旧缓存访客看到方角。 */
.footer .brand-mark {
  height: 52px; width: 52px;
  border-radius: 50%; flex: none;
}
.footer-brand p { margin-top: 18px; line-height: 1.85; max-width: 320px; }
.footer-slogan {
  display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: #9fd9ff;
}
.footer-contact li { display: flex; gap: 10px; line-height: 1.7; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }

/* ---------- 二维码 ---------- */
/* 联系页「扫码联系」区 */
.qr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 28px; text-align: center; box-shadow: var(--shadow);
}
.qr-card img {
  width: 168px; height: 168px; display: block; margin: 0 auto 18px;
  border-radius: 12px; background: #fff;
}
.qr-card h3 { font-size: 17.5px; color: var(--brand-950); margin-bottom: 8px; }
.qr-card p { font-size: 13.5px; color: var(--ink-3); line-height: 1.75; }

/* 页脚二维码（全站可见） */
.footer-qr { display: flex; gap: 14px; margin-top: 20px; }
.footer-qr figure { margin: 0; text-align: center; }
.footer-qr img {
  width: 128px; height: 128px; display: block; padding: 4px;
  border-radius: 9px; background: #fff;
}
.footer-qr figcaption { font-size: 11.5px; color: #8ea6c4; margin-top: 7px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7d95b5;
}

/* ---------- 通用小工具 ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; }
.mt { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.hide { display: none !important; }
.muted { color: var(--ink-3); }
.link { color: var(--brand-600); font-weight: 600; }
.link:hover { text-decoration: underline; }

.banner {
  background: linear-gradient(120deg, var(--brand-950), var(--brand-700) 65%, #14589f);
  color: #fff; padding: 74px 0 62px; position: relative; overflow: hidden;
}
.banner::after {
  content: ""; position: absolute; right: -140px; top: -160px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 181, 201, .3), transparent 68%);
}
.banner .wrap { position: relative; z-index: 2; }
.crumb { font-size: 13.5px; color: #a9c9ea; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }
.banner h1 { font-size: 42px; letter-spacing: -.02em; }
.banner p { color: #c2d7f2; margin-top: 16px; max-width: 720px; font-size: 16.5px; }

/* ==========================================================================
   宣传手册（handbook.html）
   ========================================================================== */
.hb-cover {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #05224f, #073066 55%, #0d4a9e);
  padding: 76px 0 70px;
}
.hb-cover::after {
  content: ""; position: absolute; right: -160px; top: -190px;
  width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 181, 201, .34), transparent 68%);
}
.hb-cover-in { position: relative; z-index: 2; max-width: 840px; }
.hb-year {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .22em;
  color: #8fd8e6; border: 1px solid rgba(143, 216, 230, .42);
  border-radius: 999px; padding: 5px 15px;
}
.hb-cover h1 { font-size: 46px; margin: 20px 0 12px; letter-spacing: -.02em; }
.hb-cover-sub { font-size: 17px; color: #c2d7f2; }
.hb-cover-sub b { color: #fff; }
.hb-cover-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hb-cover-tags span {
  font-size: 14px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
}
.hb-cover-note { margin-top: 18px; font-size: 14px; color: #9fbde0; }
.hb-cover-acts { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.hb-toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hb-toc-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.hb-toc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5e0f2; }
/* 目录共 7 项：双列时末项独占整行收口，避免右下留空格 */
.hb-toc > .hb-toc-item:last-child { grid-column: 1 / -1; }
.hb-toc-no {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 16px; font-weight: 800;
  color: var(--brand-700); background: linear-gradient(135deg, var(--brand-100), var(--accent-soft));
}
.hb-toc-tx { display: flex; flex-direction: column; }
.hb-toc-tx b { font-size: 17px; color: var(--brand-900); }
.hb-toc-tx i { font-size: 11.5px; font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hb-toc-tx em { font-size: 13.5px; font-style: normal; color: var(--ink-2); margin-top: 5px; }

.hb-head { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; }
.hb-no {
  font-size: 15px; font-weight: 800; letter-spacing: .06em; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--accent));
  border-radius: 12px; padding: 9px 15px;
}
.hb-head h2 { font-size: 34px; color: var(--brand-950); }
.hb-head p { font-size: 14px; color: var(--ink-3); margin-top: 5px; }

.hb-h3 { font-size: 20px; color: var(--brand-900); margin-bottom: 12px; }
.hb-body { color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.hb-lead { font-size: 17px; color: var(--brand-800); font-weight: 600; margin-bottom: 4px; line-height: 1.7; }

.hb-adv { display: grid; gap: 12px; }
.hb-adv > div {
  display: flex; gap: 14px; align-items: baseline;
  padding: 13px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
}
.hb-adv b { flex: none; color: var(--brand-700); font-size: 15px; }
.hb-adv span { font-size: 14.5px; color: var(--ink-2); }

.hb-quote {
  margin-top: 24px; padding: 24px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent);
  color: var(--ink-2); font-size: 15px; line-height: 1.85;
}
.hb-quote b { color: var(--brand-900); }

.hb-stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
/* 4 个数据指标时排成一行，避免 2×2 显得松散 */
.hb-stat-row-4 { grid-template-columns: repeat(4, 1fr); }
.hb-stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; text-align: center; box-shadow: var(--shadow-s);
}
.hb-stat b { display: block; font-size: 34px; font-weight: 800; color: var(--brand-700); line-height: 1.1; }
.hb-stat b em { font-size: 17px; font-style: normal; margin-left: 2px; }
.hb-stat span { font-size: 13.5px; color: var(--ink-3); }

.hb-pgrid { gap: 18px; }
/* 3 列容器里恰好 7 项时，末项跨整行收口，避免末行只占 1/3 */
.hb-pgrid-7 > :last-child { grid-column: 1 / -1; }
.hb-pcard { display: flex; flex-direction: column; gap: 6px; }
.hb-pno { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.hb-pcard h3 { font-size: 17.5px; margin: 2px 0 4px; }
.hb-pen { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: auto; }

.hb-prod { margin-top: 64px; padding-top: 44px; border-top: 1px solid var(--line); }
.hb-prod-head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.hb-prod-no {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 19px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
}
.hb-prod-head h3 { font-size: 25px; color: var(--brand-950); line-height: 1.35; }
.hb-prod-en { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

.hb-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 22px; }
.hb-tags span {
  font-size: 14px; padding: 6px 15px; border-radius: 999px;
  background: var(--brand-50); border: 1px solid #dce8fa; color: var(--brand-700); font-weight: 500;
}

.hb-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hb-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-s);
}
.hb-step-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hb-step-top b { font-size: 22px; font-weight: 800; color: var(--brand-700); }
.hb-step-top em {
  font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: #0d7d8c; font-weight: 600;
}
.hb-step h4 { font-size: 15.5px; color: var(--brand-900); margin-bottom: 10px; line-height: 1.45; }

.hb-step ul, .hb-ul { margin: 0; padding: 0; list-style: none; }
.hb-step li { position: relative; padding-left: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.hb-step li::before {
  content: ""; position: absolute; left: 0; top: .74em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.hb-ul li { position: relative; padding-left: 16px; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.hb-ul li::before {
  content: ""; position: absolute; left: 0; top: .8em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500);
}
.hb-ul-lg li { font-size: 15.5px; }

.hb-sub-h { font-size: 17px; color: var(--brand-900); margin: 34px 0 16px; }
.hb-mini { padding: 22px; }
.hb-mini h4 { font-size: 16px; color: var(--brand-900); margin-bottom: 8px; }
.hb-mini p { font-size: 14px; color: var(--ink-2); }
.hb-feat4 { gap: 16px; }
.hb-feat4 .hb-mini { text-align: center; }

.hb-table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
.hb-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.hb-table th {
  text-align: left; padding: 14px 18px; background: var(--brand-50);
  color: var(--brand-800); font-size: 13.5px; font-weight: 700;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.hb-table td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); color: var(--ink-2); vertical-align: top; }
.hb-table tr:last-child td { border-bottom: 0; }
.hb-table td b { color: var(--brand-900); }
.hb-table-lg { font-size: 15.5px; }
.hb-price { color: #c2410c; font-weight: 700; white-space: nowrap; }
.hb-pno-cell { font-weight: 800; color: var(--accent); width: 64px; }
.hb-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); line-height: 1.9; }

.hb-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hb-flow-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; }
.hb-flow-item span { display: block; font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .1em; margin-bottom: 6px; }
.hb-flow-item b { font-size: 14.5px; color: var(--brand-900); font-weight: 600; }

.hb-honors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hb-honors li {
  display: flex; align-items: flex-start; gap: 10px; padding: 15px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s);
  font-size: 14.5px; color: var(--ink-2); line-height: 1.6;
}
.hb-honor-ic { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.hb-honor-ic svg { width: 20px; height: 20px; }

.hb-clients { margin-top: 22px; }
.hb-contact-qr { display: flex; gap: 28px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hb-contact-qr figure {
  margin: 0; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.hb-contact-qr img { width: 150px; height: 150px; }
.hb-contact-qr figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .g4, .stats, .kpi, .ladder, .gallery { grid-template-columns: repeat(2, 1fr); }
  .prod { grid-template-columns: 1fr; }
  .prod-side { flex-direction: column; }
  .news-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero h1 { font-size: 44px; }
  .hb-ladder, .hb-flow, .hb-honors { grid-template-columns: repeat(2, 1fr); }
  .hb-cover h1 { font-size: 38px; }
}
@media (max-width: 760px) {
  .section { padding: 66px 0; }
  .wrap { padding: 0 18px; }
  .topbar .wrap { justify-content: center; }
  .menu { display: none; }
  .nav-user { display: none; }
  .nav-user.on { display: flex; padding: 4px 4px 4px 10px; }
  .nav-user.on .uname { display: none; }
  /* 新 logo 是横构图（1.34:1），比原来的方块标识更宽约 12px；
     窄屏上同步收紧品牌区，避免把右侧登录按钮挤出屏幕 */
  .brand { gap: 9px; }
  .brand-mark { height: 32px; }
  .brand-cn { font-size: 16.5px; }
  .brand-en { font-size: 8px; letter-spacing: .11em; }
  .footer .brand-mark { height: 46px; width: 46px; }
  .menu.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 18px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .menu.open a { padding: 13px 14px; }
  .menu a.active::after { display: none; }
  .nav-toggle {
    display: grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
    background: #fff; cursor: pointer;
  }
  .g2, .g3, .g4, .stats, .kpi, .ladder, .news-list, .points, .form-grid, .footer-top {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .shot.wide { grid-column: span 2; }
  .sec-head h2 { font-size: 29px; }
  .qr-grid { grid-template-columns: 1fr; gap: 16px; }
  .qr-card { padding: 24px 18px 22px; }
  .qr-card img { width: 150px; height: 150px; margin-bottom: 16px; }
  .qr-card h3 { font-size: 16px; }
  .qr-card p { font-size: 13px; }
  .hero h1 { font-size: 33px; }
  .hero .wrap { padding-top: 68px; padding-bottom: 78px; }
  .banner h1 { font-size: 30px; }
  .banner { padding: 52px 0 46px; }
  .stats { margin-top: -42px; }
  .stat { border-right: none; border-bottom: 1px solid var(--line-2); }
  .step { border-right: 1px solid var(--line); border-radius: var(--radius-s) !important; margin-bottom: 8px; }
  .auth-card { padding: 32px 24px; }

  /* 宣传手册：窄屏全部单列，表格横向滚动 */
  .hb-toc, .hb-ladder, .hb-flow, .hb-honors, .hb-stat-row { grid-template-columns: 1fr; }
  .hb-stat-row-4 { grid-template-columns: repeat(2, 1fr); }
  .hb-cover { padding: 54px 0 50px; }
  .hb-cover h1 { font-size: 29px; }
  .hb-cover-sub { font-size: 15.5px; }
  .hb-cover-note { font-size: 13px; }
  .hb-head { gap: 13px; margin-bottom: 30px; }
  .hb-head h2 { font-size: 25px; }
  .hb-no { font-size: 14px; padding: 7px 12px; border-radius: 10px; }
  .hb-prod { margin-top: 48px; padding-top: 34px; }
  .hb-prod-head { gap: 13px; }
  .hb-prod-no { width: 44px; height: 44px; font-size: 16px; border-radius: 12px; }
  .hb-prod-head h3 { font-size: 20px; }
  .hb-step { padding: 20px 18px; }
  .hb-table { min-width: 460px; }
  .hb-table th, .hb-table td { padding: 11px 14px; }
  .hb-honors li { font-size: 13.5px; padding: 13px 15px; }
  .hb-contact-qr { gap: 16px; }
  .hb-contact-qr img { width: 128px; height: 128px; }
  .hb-adv > div { flex-direction: column; gap: 3px; }
}
