/* ============================================================
   MOTIV 公司官网 · 公共样式
   主色：深蓝 #0a2b47 / 绿 #09b38b
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #0a2b47;
  --navy-2: #0d3a5c;
  --green: #09b38b;
  --green-2: #0a9d7d;
  --ink: #15324f;
  --muted: #5a6b7d;
  --bg: #f4f7fa;
  --line: #e2e9f1;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { max-width: 1200px; height: 72px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 34px; width: auto; }
.nav-menu { display: flex; gap: 6px; list-style: none; }
.nav-menu a {
  display: block; padding: 8px 18px; font-size: 15px; color: var(--ink);
  border-radius: 6px; font-weight: 500; transition: color .2s;
}
.nav-menu a:hover { color: var(--green); }
.nav-menu a.active { color: var(--green); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 34px; border-radius: 8px;
  font-size: 15px; font-weight: 700; transition: all .25s; cursor: pointer;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- 通用板块标题 ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 54px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--green); text-transform: uppercase; }
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--navy); margin: 10px 0 12px; }
.section-head p { font-size: 16px; color: var(--muted); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #b9c8d8; padding: 60px 0 26px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: #8fa6bd; max-width: 320px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: #9db2c6; transition: color .2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #7e93a9; }

/* ---------- 敬请期待页 ---------- */
.soon {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(160deg, #0a2b47 0%, #0d3a5c 60%, #0e5a6b 100%);
}
.soon .nav { position: static; background: rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.12); }
.soon .nav-inner { height: 72px; }
.soon .nav-menu a { color: #d6e2ee; }
.soon .nav-menu a:hover { color: #3fd6b4; }
.soon .nav-menu a.active { color: #3fd6b4; }
.soon-body { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 60px; }
.soon-content { max-width: 640px; }
.soon-content .tag {
  display: inline-block; padding: 7px 18px; border: 1px solid rgba(63,214,180,0.5);
  color: #3fd6b4; border-radius: 999px; font-size: 13px; letter-spacing: 2px; margin-bottom: 26px;
}
.soon-content h1 { font-size: 44px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.soon-content p { font-size: 16px; color: #b9cde0; margin-bottom: 36px; line-height: 1.9; }
.soon .footer { background: transparent; padding-top: 0; }
.soon .footer-bottom { justify-content: center; }

/* ---------- 导航 HOT 角标 ---------- */
.nav-menu a.hot-link { position: relative; }
.nav-hot {
  position: absolute; top: -10px; right: -22px;
  background: linear-gradient(135deg, #ff9a3d, #ff5252);
  color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.5px;
  padding: 2px 6px; border-radius: 9px; line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 82, 82, .4);
  pointer-events: none; white-space: nowrap;
}
.soon .nav-hot { top: -10px; right: -22px; }

/* ---------- 共享资料站：首页（岗位横排） ---------- */
.kb-page { padding-top: 72px; }
.kb-hero { background: linear-gradient(135deg, #f2f8fb 0%, #eef8f4 100%); border-bottom: 1px solid var(--line); padding: 68px 0 56px; }
.kb-hero h1 { font-size: 40px; font-weight: 800; color: var(--navy); margin: 12px 0 14px; letter-spacing: 1px; }
.kb-hero p { font-size: 16px; color: var(--muted); max-width: 780px; line-height: 1.9; }
.kb-stats { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.kb-stats .n { font-size: 27px; font-weight: 800; color: var(--green); }
.kb-stats .t { font-size: 13px; color: var(--muted); margin-top: 2px; }

.kb-wrap { padding: 58px 0 90px; }
.kb-section-title { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 22px; display: flex; align-items: center; gap: 10px; }
.kb-section-title::before { content: ""; width: 4px; height: 19px; background: var(--green); border-radius: 2px; }

.job-row {
  display: grid; grid-template-columns: 205px 1.05fr 1.55fr 175px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; margin-bottom: 22px; transition: box-shadow .28s, transform .28s;
}
.job-row:hover { box-shadow: 0 16px 38px rgba(10,43,71,.10); transform: translateY(-3px); }
.job-name { background: linear-gradient(155deg, #0a2b47, #0d4a5e); color: #fff; padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.job-name .cn { font-size: 24px; font-weight: 800; letter-spacing: 1px; }
.job-name .en { font-size: 11px; letter-spacing: 2px; color: #5fd4bd; font-weight: 600; }
.job-name .cnt { font-size: 12px; color: #9fb8cc; margin-top: 8px; }
.job-purpose { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; border-right: 1px dashed var(--line); }
.job-purpose h4 { font-size: 13px; color: var(--green); font-weight: 700; margin-bottom: 8px; letter-spacing: 1px; }
.job-purpose p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.job-toc { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; gap: 9px; border-right: 1px dashed var(--line); }
.toc-item { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.toc-item .dot { width: 19px; height: 19px; flex: none; border-radius: 50%; font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.toc-item.done .dot { background: var(--green); color: #fff; }
.toc-item.done .name { color: var(--navy); font-weight: 600; }
a.toc-item.done { text-decoration: none; color: inherit; border-radius: 8px; padding: 6px 8px; margin: -6px -8px; transition: background .15s ease; }
a.toc-item.done:hover { background: #eef7f1; }
a.toc-item.done:hover .name { color: var(--green); }
.toc-item.todo { color: #9aa9b6; }
.toc-item.todo .dot { background: #e7edf2; color: #8a99a3; }
.toc-item .tag { margin-left: auto; font-size: 11px; color: #aab7c2; border: 1px solid #dde5ec; border-radius: 20px; padding: 1px 9px; }
.job-go { display: flex; align-items: center; justify-content: center; padding: 20px; }
.job-go .btn { width: 100%; text-align: center; padding: 13px 0; }
.job-go .go-soon { width: 100%; text-align: center; padding: 12px 0; font-size: 13px; font-weight: 700; color: #9aa9b6; border: 1.5px dashed #cfdae3; border-radius: 8px; line-height: 1.5; }
.job-go .go-soon small { display: block; font-weight: 500; font-size: 11px; color: #b3bfc9; margin-top: 2px; }

.kb-note { margin-top: 10px; border: 1px dashed #c3d4e4; border-radius: 12px; background: #fafcfe; padding: 22px 26px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.kb-note b { color: var(--navy); }

/* ---------- 岗位总览页（横向一条一条） ---------- */
.kb-list { padding: 40px 0 90px; }
.kb-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.kb-back:hover { color: var(--green); }
.kb-job-head { border-bottom: 2px solid var(--navy); padding-bottom: 22px; margin-bottom: 32px; }
.kb-job-head .job-en { font-size: 13px; letter-spacing: 3px; color: var(--green); font-weight: 700; }
.kb-job-head h1 { font-size: 32px; font-weight: 800; color: var(--navy); margin: 8px 0 12px; }
.kb-job-head p { font-size: 15px; color: var(--muted); max-width: 780px; line-height: 1.9; }
.doc-item { display: flex; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 20px 26px; margin-bottom: 14px; transition: all .25s; }
a.doc-item.done:hover { border-color: var(--green); box-shadow: 0 12px 28px rgba(10,43,71,.09); transform: translateX(4px); }
.doc-item .no { width: 42px; height: 42px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.doc-item.done .no { background: linear-gradient(135deg, #e9f9f4, #eef4ff); color: var(--green); }
.doc-item.todo .no { background: #f1f5f8; color: #a8b5c0; }
.doc-item .body { flex: 1; min-width: 0; }
.doc-item .body h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.doc-item.todo .body h3 { color: #93a2ae; }
.doc-item .body p { font-size: 13.5px; color: var(--muted); }
.doc-item .state { font-size: 13px; font-weight: 600; flex: none; }
.doc-item.done .state { color: var(--green); }
.doc-item.todo .state { color: #aab7c2; }
.doc-item .arrow { font-size: 20px; flex: none; }
.doc-item.done .arrow { color: var(--green); }
.doc-item.todo .arrow { color: #cdd6dd; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .nav-menu { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px; border-bottom: 1px solid var(--line); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 26px; }
  .soon-content h1 { font-size: 32px; }
  .nav-hot { position: static; margin-left: 8px; }
  .job-row { grid-template-columns: 1fr; }
  .job-name { padding: 20px 22px; }
  .job-purpose, .job-toc { border-right: 0; border-bottom: 1px dashed var(--line); }
  .job-go { padding: 16px 22px 24px; }
  .job-go .btn { width: auto; }
  .kb-hero h1 { font-size: 30px; }
  .kb-job-head h1 { font-size: 25px; }
}

/* ---------- 共享资料站：全站搜索 ---------- */
.kb-search { position: relative; margin-top: 30px; max-width: 760px; }
.kb-search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #8a99a3; pointer-events: none; }
.kb-search input {
  width: 100%; height: 60px; padding: 0 56px 0 54px;
  font-size: 16px; color: var(--ink); font-family: inherit;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(10,43,71,.06);
  transition: border-color .2s, box-shadow .2s;
}
.kb-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 10px 28px rgba(9,179,139,.15); }
.kb-search input::placeholder { color: #9aa9b6; }
.kb-search-clear {
  position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: #e7edf2; color: #5a6b7d; font-size: 18px; line-height: 1;
  cursor: pointer; display: none; align-items: center; justify-content: center;
}
.kb-search-clear.show { display: flex; }

.kb-search-meta { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.kb-search-meta b { color: var(--green); font-weight: 800; }
.sr-list { display: flex; flex-direction: column; gap: 12px; }
.sr-item {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.sr-item.done:hover { border-color: var(--green); box-shadow: 0 10px 24px rgba(10,43,71,.08); transform: translateX(3px); }
.sr-job { flex: none; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 20px; white-space: nowrap; }
.sr-job.p { background: #e9f9f4; color: #0a9d7d; }
.sr-job.m { background: #e8f0f7; color: #0d3a5c; }
.sr-job.g { background: #e6f5f5; color: #0d7e86; }
.sr-main { flex: 1; min-width: 0; }
.sr-title { font-size: 16px; font-weight: 700; color: var(--navy); display: block; }
.sr-cat { font-size: 11px; font-weight: 600; color: var(--muted); background: #f1f5f8; border-radius: 4px; padding: 1px 7px; margin-left: 10px; vertical-align: 2px; }
.sr-desc { font-size: 13px; color: var(--muted); margin-top: 3px; display: block; line-height: 1.6; }
.sr-state { flex: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sr-item.done .sr-state { color: var(--green); }
.sr-item.todo .sr-state { color: #aab7c2; }
.sr-item.todo .sr-title { color: #93a2ae; }
.sr-item.todo .sr-desc { color: #aab7c2; }
.kb-search-empty { border: 1px dashed #c3d4e4; border-radius: 12px; background: #fafcfe; padding: 44px 26px; text-align: center; color: var(--muted); line-height: 1.9; }

@media (max-width: 900px) {
  .kb-search { margin-top: 24px; }
  .kb-search input { height: 52px; font-size: 15px; }
  .sr-item { flex-wrap: wrap; gap: 12px; }
  .sr-state { margin-left: auto; }
}
