/* ============================================================
   求职助手 · 招聘平台官网（学习研究复刻版）
   全局样式
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-dark: #1b1f27;
  --bg-dark-2: #232833;
  --ink: #1b1f27;
  --ink-2: #4a5060;
  --ink-3: #8a90a0;
  --line: #e8eaef;
  --brand: #ff6b3d;
  --brand-dark: #f05a2a;
  --brand-soft: #fff0ea;
  --green: #22c55e;
  --blue: #3b82f6;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-md: 0 6px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .16);
  --radius: 14px;
  --radius-lg: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink-3); background: var(--bg-soft); }
.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #f0f1f4; }
.btn-dark {
  background: var(--bg-dark);
  color: #fff;
}
.btn-dark:hover { background: #000; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff6b3d, #ff9d3d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url("../assets/hero-bg.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }

/* 底部 CTA（深色背景，不带图片） */
.cta-final {
  background: var(--bg-dark);
  color: #fff;
}
.cta-final h1 { color: #fff; }
.cta-final p.sub { color: rgba(255, 255, 255, .75); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, #ff9d3d, #ff6b3d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub {
  font-size: 18px;
  color: rgba(255, 255, 255, .72);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; align-items: center; }
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.hero-visual {
  position: relative;
  min-height: 420px;
}

/* 模拟产品截图卡 */
.mock-window {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.mock-window.dark {
  background: var(--bg-dark-2);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.mock-bar.dark { border-color: rgba(255,255,255,.12); }
.mock-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #e0e2e8; display: inline-block;
}
.mock-bar.dark i { background: rgba(255,255,255,.22); }
.mock-body { padding: 20px; }

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-2); font-size: 17px; }
.eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 28px;
  overflow: hidden;
  transition: all .2s ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card .feature-img {
  height: 140px;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin: 0 28px 10px; }
.feature-card p { color: var(--ink-2); font-size: 15px; margin: 0 28px; }

/* ---------- 求职列表 ---------- */
.job-list { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin: 0 auto; }
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all .2s;
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.job-logo {
  width: 52px; height: 52px; border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 18px;
}
.job-info { flex: 1; }
.job-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.job-company { color: var(--ink-2); font-size: 14px; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
}
.tag.hot { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.job-side { text-align: right; flex-shrink: 0; }
.job-salary { font-weight: 700; color: var(--brand-dark); font-size: 15px; margin-bottom: 4px; }
.job-meta { color: var(--ink-3); font-size: 13px; }

/* ---------- 双栏 CTA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .text h2 { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; }
.split .text p { color: var(--ink-2); font-size: 16px; margin-bottom: 28px; }
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check-list li::before {
  content: "✓";
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}
.stat-num { font-size: 40px; font-weight: 800; color: var(--brand-dark); letter-spacing: -1px; }
.stat-label { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.footer a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-brand { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-desc { font-size: 14px; max-width: 260px; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.45);
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 64px 0 80px; }
  .section { padding: 56px 0; }
  .nav-actions .btn-ghost { display: none; }
}
