/* ============================================================
 * AI人才网 · 统一设计系统
 * 一套 CSS 覆盖 PC / 平板 / 手机 H5，支持浅色与深色主题
 * 零外部字体、零图标库、零框架依赖
 * ============================================================ */

/* ---------- 1. 主题变量 ---------- */
:root {
  --bg: #f6f7fb;
  --bg-soft: #eef1f9;
  --surface: #ffffff;
  --surface-2: #f9fafc;
  --surface-3: #f1f4fa;
  --text: #141a2e;
  --text-2: #3d465f;
  --muted: #78829b;
  --line: #e5e9f2;
  --line-2: #d8deec;
  --primary: #4f46e5;
  --primary-dark: #3f37c9;
  --primary-soft: #eeecff;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --cyan-soft: #e2f8fc;
  --green: #10b981;
  --green-soft: #e5f8f1;
  --amber: #f59e0b;
  --amber-soft: #fff4e0;
  --rose: #f43f5e;
  --rose-soft: #ffe9ed;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #06b6d4 100%);
  --grad-soft: linear-gradient(135deg, #eeecff 0%, #e6e0ff 50%, #dcf7fc 100%);
  --on-grad: #ffffff;
  --shadow-sm: 0 2px 8px rgba(24, 34, 72, .05);
  --shadow: 0 10px 30px rgba(24, 34, 72, .08);
  --shadow-lg: 0 22px 60px rgba(24, 34, 72, .14);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0d1120;
  --bg-soft: #121830;
  --surface: #171e35;
  --surface-2: #1c2540;
  --surface-3: #222c49;
  --text: #eef2ff;
  --text-2: #c5cde5;
  --muted: #8e9ab8;
  --line: #2a3454;
  --line-2: #374365;
  --primary: #8b83ff;
  --primary-dark: #7067f0;
  --primary-soft: #2a2a55;
  --violet: #a78bfa;
  --cyan: #22d3ee;
  --cyan-soft: #123543;
  --green: #34d399;
  --green-soft: #123c33;
  --amber: #fbbf24;
  --amber-soft: #3a3018;
  --rose: #fb7185;
  --rose-soft: #3d1f2b;
  --grad: linear-gradient(135deg, #a5b4fc 0%, #c4b5fd 52%, #a5f3fc 100%);
  --grad-soft: linear-gradient(135deg, #262c55 0%, #322a58 50%, #1c3b4a 100%);
  --on-grad: #161a38;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .18);
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, .42);
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.32; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: rgba(79, 70, 229, .22); }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 9px; }
::-webkit-scrollbar-track { background: transparent; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.bold { font-weight: 700; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.hidden { display: none !important; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-grad, .btn-grad, .grad-bg { color: var(--on-grad); }

/* ---------- 3. 按钮 / 表单 / 标签 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 11px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text-2);
  transition: .2s ease; white-space: nowrap; line-height: 1.4;
}
.btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-grad { background: var(--grad); border-color: transparent; color: var(--on-grad); box-shadow: 0 8px 22px rgba(79, 70, 229, .24); }
.btn-grad:hover { color: var(--on-grad); filter: brightness(1.07); box-shadow: 0 12px 28px rgba(79, 70, 229, .34); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-soft); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn-round { border-radius: 999px; }

.input, .select, .textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--text); outline: none; transition: .2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2378829b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field { display: block; margin-bottom: 16px; }
.field > label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2);
  border: 1px solid var(--line); white-space: nowrap;
}
.chip-primary { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.chip-cyan { background: var(--cyan-soft); color: var(--cyan); border-color: transparent; }
.chip-green { background: var(--green-soft); color: var(--green); border-color: transparent; }
.chip-amber { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.chip-rose { background: var(--rose-soft); color: var(--rose); border-color: transparent; }
.chip-grad { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.chip-btn { cursor: pointer; transition: .18s; }
.chip-btn:hover { border-color: var(--primary); color: var(--primary); }
.chip-btn.active { background: var(--grad); color: var(--on-grad); border-color: transparent; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

.verify { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.verify.green { color: var(--green); background: var(--green-soft); }
.verify.blue { color: var(--cyan); background: var(--cyan-soft); }
.verify.gray { color: var(--muted); background: var(--surface-3); }

/* ---------- 4. 卡片 / 布局 ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-hover { transition: .22s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flex { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.gap6 { gap: 6px; } .gap8 { gap: 8px; } .gap10 { gap: 10px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap24 { gap: 24px; }
.wrapflex { display: flex; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }

.section { padding: 72px 0; }
.section-sm { padding: 44px 0; }
.section-head { margin-bottom: 34px; }
.section-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--primary); text-transform: uppercase; margin-bottom: 12px; }
.section-kicker::before { content: ''; width: 20px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-size: clamp(25px, 3.1vw, 36px); letter-spacing: -.035em; }
.section-sub { color: var(--muted); font-size: 15px; margin-top: 11px; max-width: 720px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

.page-head { background: var(--grad-soft); border-bottom: 1px solid var(--line); padding: 42px 0 36px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,.13), transparent 68%); pointer-events: none; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.page-head p { color: var(--text-2); margin-top: 10px; max-width: 760px; }

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--primary); }

.empty { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty .empty-ico { font-size: 0; margin: 0 auto 16px; width: 62px; height: 62px; border-radius: 20px; background: var(--surface-3); display: grid; place-items: center; }
.empty h3 { color: var(--text-2); margin-bottom: 8px; font-size: 17px; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: var(--surface);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; background: var(--grad); color: var(--on-grad);
  display: grid; place-items: center; font-weight: 900; font-size: 15px; letter-spacing: -.05em;
  box-shadow: 0 6px 16px rgba(79,70,229,.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 17px; letter-spacing: -.04em; }
.brand-text span { font-size: 10px; color: var(--muted); letter-spacing: .12em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
.nav a { padding: 8px 11px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: .18s; white-space: nowrap; }
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav a.active { color: var(--primary); background: var(--primary-soft); }
.nav-sep { width: 1px; height: 16px; background: var(--line-2); margin: 0 6px; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text-2); background: var(--surface); transition: .18s; }
.icon-btn:hover { color: var(--primary); border-color: var(--primary); }
.icon-btn svg { width: 17px; height: 17px; }
.avatar-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.menu-toggle { display: none; }

.mobile-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--bg); z-index: 55; overflow-y: auto; padding: 20px 24px 90px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 14px; border-radius: 11px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--primary); background: var(--primary-soft); }

/* ---------- 6. 底部 / 手机标签栏 ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; padding: 54px 0 36px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 290px; }
.footer-col h4 { font-size: 14px; margin-bottom: 15px; }
.footer-col a { display: block; color: var(--muted); font-size: 13px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 26px; color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.tabbar { display: none; }

/* ---------- 7. 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 64px; background: var(--surface); border-bottom: 1px solid var(--line); }
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 72% 66% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 30%, #000 20%, transparent 78%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .22; pointer-events: none; }
.hero-glow.a { width: 420px; height: 420px; background: #7c3aed; top: -180px; left: -80px; }
.hero-glow.b { width: 380px; height: 380px; background: #06b6d4; top: -60px; right: -100px; }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 600; color: var(--text-2); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -.055em; margin: 24px 0 18px; line-height: 1.16; }
.hero-lead { font-size: clamp(15px, 1.7vw, 18px); color: var(--text-2); max-width: 660px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 46px; }
.hero-stats .st b { display: block; font-size: 27px; letter-spacing: -.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .st span { font-size: 12px; color: var(--muted); }

.search-panel { margin-top: 44px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 10px; max-width: 900px; }
.search-panel .sp-row { display: flex; gap: 8px; align-items: center; }
.search-panel .sp-input { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 12px; }
.search-panel .sp-input svg { width: 19px; height: 19px; color: var(--muted); flex-shrink: 0; }
.search-panel .sp-input input { border: none; background: transparent; outline: none; padding: 13px 0; width: 100%; color: var(--text); font-size: 15px; }
.search-panel .sp-hot { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 12px 4px; align-items: center; }
.search-panel .sp-hot span { font-size: 12px; color: var(--muted); margin-right: 4px; }
.search-panel .sp-hot button { font-size: 12px; color: var(--text-2); background: var(--surface-3); padding: 3px 10px; border-radius: 999px; }
.search-panel .sp-hot button:hover { color: var(--primary); }

.hero-side { position: relative; }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); padding: 12px 14px; font-size: 12px; animation: float 5s ease-in-out infinite; }
.float-card.f1 { top: 8%; right: 2%; }
.float-card.f2 { bottom: 12%; left: -4%; animation-delay: -2.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.passport-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 22px; position: relative; overflow: hidden; }
.passport-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pc-avatar { width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.dim-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; font-size: 12px; }
.dim-row .dim-name { width: 82px; color: var(--text-2); flex-shrink: 0; }
.bar { flex: 1; height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .8s ease; }
.dim-row .dim-val { width: 30px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.match-ring { width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--primary) 0 87%, var(--surface-3) 87% 100%); position: relative; flex-shrink: 0; }
.match-ring::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface); }
.match-ring b { position: relative; z-index: 1; font-size: 21px; letter-spacing: -.04em; }
.match-ring small { position: relative; z-index: 1; font-size: 9px; color: var(--muted); display: block; margin-top: -4px; }

/* ---------- 8. 特色区块 ---------- */
.feat-card { padding: 26px; position: relative; overflow: hidden; height: 100%; }
.feat-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: var(--primary-soft); color: var(--primary); }
.feat-ico svg { width: 23px; height: 23px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 14px; }
.feat-num { position: absolute; right: 18px; top: 8px; font-size: 52px; font-weight: 900; color: var(--surface-3); line-height: 1; z-index: 0; }
html[data-theme="dark"] .feat-num { color: var(--surface-2); }
.feat-card > *:not(.feat-num) { position: relative; z-index: 1; }

.track-card { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: .2s; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.track-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.track-dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.track-card b { display: block; font-size: 14px; }
.track-card span { font-size: 12px; color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; }
.flow-item { text-align: center; padding: 22px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); position: relative; }
.flow-item .fi-num { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.flow-item b { display: block; font-size: 14px; margin-bottom: 6px; }
.flow-item span { font-size: 12px; color: var(--muted); line-height: 1.6; }
.flow-item:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 44%; color: var(--primary); font-weight: 800; z-index: 2; font-size: 17px; }

.stat-band { background: var(--grad); color: var(--on-grad); border-radius: var(--r-lg); padding: 34px 30px; }
.stat-band .sb { text-align: center; }
.stat-band .sb b { display: block; font-size: 30px; letter-spacing: -.04em; }
.stat-band .sb span { font-size: 12px; opacity: .85; }

/* ---------- 9. 列表 / 岗位卡 / 课程卡 ---------- */
.list-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; padding: 28px 0 60px; }
.side-filter { position: sticky; top: 88px; }
.filter-card { padding: 18px; }
.filter-card h4 { font-size: 14px; margin-bottom: 14px; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group > label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 10px; letter-spacing: .04em; }
.filter-opt { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; color: var(--text-2); cursor: pointer; }
.filter-opt:hover { color: var(--primary); }
.filter-opt input { accent-color: var(--primary); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter-bar .select { width: auto; min-width: 118px; padding: 8px 30px 8px 12px; font-size: 13px; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.result-head h2 { font-size: 17px; }
.result-head .rc { color: var(--muted); font-size: 13px; }

.job-card { padding: 20px; cursor: pointer; position: relative; }
.job-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.job-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.job-title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.job-title:hover { color: var(--primary); }
.job-salary { color: var(--rose); font-weight: 800; font-size: 17px; white-space: nowrap; letter-spacing: -.02em; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; margin: 10px 0 12px; }
.job-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); align-self: center; }
.job-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px dashed var(--line); }
.company-mini { display: flex; align-items: center; gap: 9px; min-width: 0; }
.co-logo { width: 34px; height: 34px; border-radius: 9px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.company-mini b { font-size: 13px; display: block; }
.company-mini span { font-size: 11px; color: var(--muted); }
.job-actions { display: flex; gap: 6px; align-items: center; }
.fav-btn { width: 33px; height: 33px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); background: var(--surface); }
.fav-btn:hover, .fav-btn.on { color: var(--rose); border-color: var(--rose); background: var(--rose-soft); }
.fav-btn svg { width: 16px; height: 16px; }
.match-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.match-pill.high { color: var(--green); background: var(--green-soft); }
.match-pill.mid { color: var(--amber); background: var(--amber-soft); }

.course-card { overflow: hidden; display: flex; flex-direction: column; }
.course-cover { height: 128px; position: relative; display: grid; place-items: center; color: #fff; overflow: hidden; }
.course-cover::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 24% 20%, rgba(255,255,255,.28), transparent 42%), linear-gradient(45deg, rgba(255,255,255,.08) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.08) 50%, rgba(255,255,255,.08) 75%, transparent 75%); background-size: auto, 22px 22px; }
.course-cover b { position: relative; font-size: 28px; font-weight: 900; letter-spacing: .06em; opacity: .95; text-shadow: 0 4px 16px rgba(0,0,0,.18); }
.course-cover .cc-tag { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: #333; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.course-body { padding: 17px; display: flex; flex-direction: column; flex: 1; }
.course-body h3 { font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.course-body .cmeta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.course-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { color: var(--rose); font-weight: 800; font-size: 17px; }
.price.free { color: var(--green); }
.price s { color: var(--muted); font-weight: 400; font-size: 12px; margin-left: 5px; }

.talent-card { padding: 20px; }
.talent-head { display: flex; gap: 12px; align-items: center; }
.talent-avatar { width: 48px; height: 48px; border-radius: 14px; color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; flex-shrink: 0; }
.skill-bars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.post-card { padding: 20px; }
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.post-avatar { width: 36px; height: 36px; border-radius: 11px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.post-card h3 { font-size: 16px; margin-bottom: 8px; }
.post-excerpt { color: var(--text-2); font-size: 14px; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { display: flex; gap: 18px; align-items: center; color: var(--muted); font-size: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.post-foot button { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.post-foot button:hover, .post-foot button.on { color: var(--primary); }

.news-item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.news-item:last-child { border-bottom: none; }
.news-thumb { width: 118px; height: 82px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--primary); font-weight: 800; font-size: 12px; flex-shrink: 0; text-align: center; padding: 8px; }
.news-item h3 { font-size: 16px; margin-bottom: 7px; }
.news-item:hover h3 { color: var(--primary); }

/* ---------- 10. 弹窗 / 抽屉 / Toast ---------- */
.mask { position: fixed; inset: 0; background: rgba(10, 15, 35, .55); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(3px); }
.mask.open { display: flex; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: min(680px, 100%); max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: pop .22s ease; }
.modal.wide { width: min(920px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-head h3 { font-size: 19px; }
.modal-body { padding: 24px; }
.modal-foot { padding: 16px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; position: sticky; bottom: 0; background: var(--surface); }
.close-x { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); font-size: 20px; line-height: 1; flex-shrink: 0; }
.close-x:hover { background: var(--surface-3); color: var(--text); }

.toast-wrap { position: fixed; top: 82px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); animation: toastIn .26s ease; white-space: nowrap; max-width: 90vw; overflow: hidden; text-overflow: ellipsis; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* AI 顾问浮窗 */
.ai-fab { position: fixed; right: 22px; bottom: 24px; z-index: 70; width: 52px; height: 52px; border-radius: 17px; background: var(--grad); color: var(--on-grad); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(79,70,229,.38); transition: .2s; }
.ai-fab:hover { transform: translateY(-3px) scale(1.04); }
.ai-fab svg { width: 24px; height: 24px; }
.ai-panel { position: fixed; right: 22px; bottom: 88px; z-index: 71; width: min(360px, calc(100vw - 32px)); height: min(500px, 68vh); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; }
.ai-panel.open { display: flex; animation: pop .2s ease; }
.ai-panel-head { padding: 14px 16px; background: var(--grad); color: var(--on-grad); display: flex; align-items: center; gap: 10px; }
.ai-panel-head b { font-size: 14px; }
.ai-panel-head span { font-size: 11px; opacity: .85; display: block; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ai-msg { max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 13px; line-height: 1.65; }
.ai-msg.bot { background: var(--surface-3); align-self: flex-start; border-bottom-left-radius: 4px; }
.ai-msg.me { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ai-msg a { color: var(--primary); text-decoration: underline; font-weight: 600; }
.ai-msg.me a { color: #fff; }
.ai-quick { padding: 8px 12px; display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.ai-quick button { font-size: 11px; padding: 4px 9px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); }
.ai-quick button:hover { background: var(--primary-soft); color: var(--primary); }
.ai-input-row { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ai-input-row input { flex: 1; border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; outline: none; background: var(--surface); color: var(--text); font-size: 13px; }
.ai-input-row input:focus { border-color: var(--primary); }

/* ---------- 11. 工具 / 图表 / 进度 ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 22px; }
.tabs button { padding: 11px 16px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--primary); }
.tabs button.active { color: var(--primary); border-bottom-color: var(--primary); }
.panel { display: none; }
.panel.active { display: block; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.metric .m-label { font-size: 12px; color: var(--muted); }
.metric .m-value { font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin: 6px 0 2px; }
.metric .m-delta { font-size: 11px; color: var(--green); }

.progress-line { height: 8px; background: var(--surface-3); border-radius: 99px; overflow: hidden; }
.progress-line > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width .5s ease; }
.score-circle { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; position: relative; flex-shrink: 0; }
.score-circle::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--surface); }
.score-circle .sc-in { position: relative; z-index: 1; text-align: center; }
.score-circle b { font-size: 34px; letter-spacing: -.05em; display: block; line-height: 1.1; }
.score-circle span { font-size: 11px; color: var(--muted); }

.quiz-opt { display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); margin-bottom: 10px; cursor: pointer; transition: .18s; font-size: 14px; }
.quiz-opt:hover { border-color: var(--primary); background: var(--primary-soft); }
.quiz-opt.sel { border-color: var(--primary); background: var(--primary-soft); }
.quiz-opt.correct { border-color: var(--green); background: var(--green-soft); }
.quiz-opt.wrong { border-color: var(--rose); background: var(--rose-soft); }
.quiz-opt .qk { width: 24px; height: 24px; border-radius: 7px; background: var(--surface-3); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--surface-2); }
.table tr:hover td { background: var(--surface-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }

.badge-wall { display: flex; flex-wrap: wrap; gap: 12px; }
.badge-item { width: 116px; padding: 16px 10px; text-align: center; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.badge-item .bi-ico { width: 44px; height: 44px; margin: 0 auto 9px; border-radius: 13px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; font-size: 19px; font-weight: 900; }
.badge-item b { display: block; font-size: 12px; }
.badge-item.locked { opacity: .45; filter: grayscale(1); }

.accordion-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 10px; overflow: hidden; }
.accordion-q { width: 100%; text-align: left; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }
.accordion-q:hover { color: var(--primary); }
.accordion-a { padding: 0 18px 16px; color: var(--text-2); font-size: 14px; display: none; }
.accordion-item.open .accordion-a { display: block; }
.accordion-item.open .accordion-q .plus { transform: rotate(45deg); }

.chart-box { position: relative; width: 100%; }
canvas { max-width: 100%; }

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 7px; font-size: 13px; }
  .nav-sep { margin: 0 3px; }
  .header-inner { gap: 14px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-item:nth-child(3)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-col.hide-sm { display: none; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .header-inner { padding: 0 16px; height: 60px; }
  .nav, .header-actions .hide-m { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { inset: 60px 0 0; }
  .section { padding: 48px 0; }
  .section-sm { padding: 30px 0; }
  .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .list-layout { grid-template-columns: 1fr; padding-top: 18px; }
  .side-filter { position: static; }
  .filter-card { display: none; }
  .filter-card.mobile-open { display: block; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 36px 0 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { padding: 48px 0 44px; }
  .hero-side { display: none; }
  .hero-stats { gap: 22px; }
  .tabbar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 65; height: 62px;
    background: var(--surface); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; color: var(--muted); }
  .tabbar a.active { color: var(--primary); font-weight: 700; }
  .tabbar svg { width: 20px; height: 20px; }
  body { padding-bottom: 62px; }
  .ai-fab { bottom: 76px; right: 14px; width: 46px; height: 46px; }
  .ai-panel { bottom: 132px; right: 12px; height: min(460px, 62vh); }
  .site-footer { padding-bottom: 10px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-item::after { display: none !important; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 18px; }
  .hero-stats .st b { font-size: 22px; }
  .search-panel { margin-top: 28px; padding: 8px; }
  .search-panel .sp-row { flex-direction: column; align-items: stretch; }
  .search-panel .sp-input { border: 1px solid var(--line); }
  .search-panel .sp-row .btn { width: 100%; }
  .stat-band { padding: 24px 14px; }
  .stat-band .sb b { font-size: 22px; }
  .job-card, .card-pad, .feat-card { padding: 16px; }
  .job-top { flex-direction: column; gap: 6px; }
  .job-salary { font-size: 16px; }
  .job-bottom { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body { padding: 18px; }
  .modal-head, .modal-foot { padding: 14px 18px; }
  .news-thumb { width: 80px; height: 68px; font-size: 10px; }
  .page-head { padding: 28px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .badge-item { width: calc(50% - 6px); }
  .table th, .table td { padding: 10px; white-space: nowrap; }
}
