:root {
  --purple: #7C3AED;
  --pink: #EC4899;
  --purple-soft: #a855f7;
  --ink: #2a1a4a;
  --glass-bg: rgba(255, 255, 255, 0.16);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow: 0 18px 50px rgba(76, 29, 149, 0.28);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  color: #fff;
  min-height: 100vh;
  background: linear-gradient(135deg, #7C3AED 0%, #A21CAF 45%, #EC4899 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* 背景光斑 */
.bg-blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob-1 { width: 420px; height: 420px; background: #f0abfc; top: -120px; left: -80px; }
.blob-2 { width: 360px; height: 360px; background: #818cf8; bottom: -100px; right: -60px; }
.blob-3 { width: 300px; height: 300px; background: #f472b6; top: 40%; left: 55%; opacity: 0.4; }

/* 玻璃拟态通用 */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  margin: 14px auto 0; width: min(1180px, 92vw);
  border-radius: 18px;
}
.nav-inner { display: flex; align-items: center; gap: 24px; padding: 12px 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fff, #ffe4f3); color: var(--pink);
  font-size: 20px; font-weight: 900; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.logo-text { font-size: 20px; letter-spacing: 1px; }
.nav-menu { display: flex; gap: 22px; margin-left: 12px; flex: 1; }
.nav-menu a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 2px; position: relative; }
.nav-menu a.active, .nav-menu a:hover { color: #fff; }
.nav-menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: #fff; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-ghost { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.btn-primary {
  display: inline-block; text-decoration: none; color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #ffe1f1);
  color: var(--pink);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* Hero */
.hero { position: relative; z-index: 1; width: min(1180px, 92vw); margin: 40px auto 10px; text-align: center; }
.badge { display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 22px; }
.hero-title { font-size: clamp(38px, 6vw, 68px); line-height: 1.08; font-weight: 900; letter-spacing: 1px; text-shadow: 0 6px 24px rgba(76,29,149,.35); }
.hero-sub { margin: 18px auto 30px; max-width: 560px; font-size: 17px; color: rgba(255,255,255,.9); }

/* 搜索栏 */
.search { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; padding: 10px 10px 10px 18px; border-radius: 999px; }
.search-field { display: flex; align-items: center; gap: 8px; flex: 1; }
.search-field .ico { font-size: 16px; }
.search-field input { flex: 1; border: none; background: transparent; color: #fff; font-size: 15px; outline: none; padding: 10px 4px; }
.search-field input::placeholder { color: rgba(255,255,255,.7); }
.search-btn { white-space: nowrap; }

/* 统计 */
.stats { display: flex; justify-content: center; gap: 46px; margin-top: 34px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat b { font-size: 26px; font-weight: 900; }
.stat span { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 4px; }

/* 区块 */
.section { position: relative; z-index: 1; width: min(1180px, 92vw); margin: 56px auto 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: 28px; font-weight: 800; }
.section-head p { color: rgba(255,255,255,.82); margin-top: 6px; font-size: 15px; }

/* 行业 */
.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-chip {
  padding: 12px 20px; border-radius: 16px; cursor: pointer; font-weight: 600; font-size: 15px;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(14px);
  transition: transform .15s ease, background .15s ease;
}
.cat-chip:hover { transform: translateY(-3px); }
.cat-chip.active { background: #fff; color: var(--pink); border-color: #fff; }

/* 职位网格 */
.job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.job-card {
  border-radius: var(--radius); padding: 20px; cursor: pointer;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.job-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(76,29,149,.4); }
.job-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.job-title { font-size: 18px; font-weight: 800; }
.job-salary { color: #fff; font-weight: 900; font-size: 17px; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.2); }
.job-company { display: flex; align-items: center; gap: 10px; }
.company-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.job-company span { font-size: 14px; color: rgba(255,255,255,.9); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; padding: 5px 11px; border-radius: 999px; font-weight: 600; color: #fff; }
.tag-city { background: rgba(255,255,255,.2); }
.tag-exp { background: rgba(129,140,248,.55); }
.tag-edu { background: rgba(244,114,182,.5); }
.tag-skill { background: rgba(168,85,247,.5); }
.tag-salary { background: rgba(255,209,102,.65); color: #3a1d00; font-weight: 700; }
.job-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.job-foot .post { font-size: 12px; color: rgba(255,255,255,.72); }
.apply-btn { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--pink); border: none; cursor: pointer; }

.empty { text-align: center; color: rgba(255,255,255,.85); padding: 40px 0; font-size: 15px; }

/* 人才网格 */
.talent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.talent-card {
  border-radius: var(--radius); padding: 22px; cursor: pointer;
  background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(16px);
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.talent-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(76,29,149,.4); }
.talent-head { display: flex; align-items: center; gap: 14px; }
.talent-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  font-size: 22px; font-weight: 800; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.2);
}
.talent-name { font-size: 18px; font-weight: 800; }
.talent-role { font-size: 13px; color: rgba(255,255,255,.85); margin-top: 3px; }
.talent-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.talent-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.talent-bio { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.85); }
.talent-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.talent-status { font-size: 12px; color: rgba(255,255,255,.72); }
.btn-outline {
  font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); cursor: pointer;
  transition: background .15s ease;
}
.btn-outline:hover { background: rgba(255,255,255,.16); }
.talent-detail-role { font-size: 15px; color: rgba(255,255,255,.9); margin-top: 6px; }
.talent-detail-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.talent-detail-row .tag { font-size: 13px; }
.talent-exp { margin-top: 18px; }
.talent-exp .label { font-size: 13px; color: rgba(255,255,255,.75); }
.talent-exp .val { font-size: 14px; margin-top: 6px; line-height: 1.7; color: rgba(255,255,255,.92); }

/* CTA */
.cta { border-radius: 24px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-text h2 { font-size: 26px; font-weight: 800; }
.cta-text p { margin-top: 8px; color: rgba(255,255,255,.88); font-size: 15px; }

/* 页脚 */
.footer { position: relative; z-index: 1; width: min(1180px, 92vw); margin: 64px auto 30px; }
.footer-inner { border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-note { font-size: 13px; color: rgba(255,255,255,.7); }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(40,10,60,.55); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(560px, 94vw); border-radius: 24px; padding: 30px; max-height: 86vh; overflow-y: auto; }
.modal-card h3 { font-size: 24px; font-weight: 800; }
.modal-close { position: absolute; top: 18px; right: 20px; cursor: pointer; font-size: 22px; color: #fff; background: rgba(255,255,255,.2); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.modal-row { margin-top: 16px; }
.modal-row .label { font-size: 13px; color: rgba(255,255,255,.75); }
.modal-row .val { font-size: 15px; margin-top: 4px; }
.modal-desc { margin-top: 18px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.9); }
.modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* 响应式 */
@media (max-width: 720px) {
  .nav-menu { display: none; }
  .search { flex-direction: column; border-radius: 22px; padding: 14px; }
  .search-field { width: 100%; }
  .search-btn { width: 100%; }
  .stats { gap: 26px; }
  .cta { flex-direction: column; align-items: flex-start; }
}
