/* ============================================================
   careers.lebotworld.com — 爱乐伴 / 斓舟招聘官网 设计系统
   基调：现网靛蓝 #4f46e5 + 渐变（紫/青），暖白底，柔和阴影
   原则：零外链资源、CJK 字体、8px 网格、内联 SVG/CSS 装饰
   ============================================================ */

:root {
  /* 色 */
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-2: #f5f4f0;
  --text: #1f1d18;
  --text-muted: #6b6860;
  --text-subtle: #9a958a;
  --border: #e7e5df;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #eef2ff;
  --primary-50: #f5f6ff;
  --accent: #0d9488;
  --accent-light: #f0fdfa;
  --warm: #d97706;
  --warm-light: #fff7ed;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 52%, #0d9488 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 50%, #f0fdfa 100%);
  --grad-text: linear-gradient(120deg, #4f46e5, #7c3aed 55%, #0d9488);

  /* 形 */
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* 影 */
  --shadow-sm: 0 1px 2px rgba(31,29,24,0.05);
  --shadow: 0 4px 14px rgba(31,29,24,0.07);
  --shadow-md: 0 10px 30px rgba(31,29,24,0.09);
  --shadow-lg: 0 24px 60px rgba(31,29,24,0.14);
  --shadow-primary: 0 12px 30px rgba(79,70,229,0.28);

  /* 节奏 */
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: none; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(79,70,229,0.38); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--primary); box-shadow: var(--shadow); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav.scrolled {
  background: rgba(250,250,248,0.82);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(31,29,24,0.06), 0 8px 24px rgba(31,29,24,0.05);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex: none; box-shadow: var(--shadow-sm); }
.brand-logo svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.brand-text span { font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 14.5px; color: var(--text-muted); font-weight: 500; position: relative; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s var(--ease);
}
.nav-link:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; padding: 6px; color: var(--text); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(124,58,237,0.30), transparent 60%),
    radial-gradient(900px 560px at 12% 8%, rgba(13,148,136,0.22), transparent 60%),
    linear-gradient(160deg, #1e1b4b 0%, #312e81 45%, #1e3a4a 100%);
  color: #fff;
}
/* 装饰网格 */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
/* 浮动光斑 */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; }
.blob-1 { width: 360px; height: 360px; background: #7c3aed; top: -60px; right: 8%; animation: float 9s var(--ease) infinite; }
.blob-2 { width: 300px; height: 300px; background: #0d9488; bottom: -40px; left: 6%; animation: float 11s var(--ease) infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-26px) } }

.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; backdrop-filter: blur(8px); margin-bottom: 26px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,0.25); }
.hero h1 {
  font-size: clamp(38px, 6vw, 68px); line-height: 1.08; font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 880px;
}
.hero h1 .grad { background: linear-gradient(120deg,#c7d2fe,#a78bfa 50%,#5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.82);
  max-width: 620px; margin: 0 0 38px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 40px; margin-top: 58px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stat .num { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; }
.hero-stat .num .grad { background: linear-gradient(120deg,#c7d2fe,#5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; line-height: 1.18; }
.section-title .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--text-muted); font-size: 16.5px; margin: 0; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-text p { color: var(--text-muted); font-size: 16.5px; }
.about-text .lead-big { font-size: 22px; color: var(--text); font-weight: 600; line-height: 1.5; margin: 0 0 18px; }
.about-card {
  background: var(--grad-soft); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow);
}
.about-card h4 { margin: 0 0 16px; font-size: 17px; }
.about-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-card li { display: flex; gap: 12px; font-size: 14.5px; color: var(--text-muted); }
.about-card li .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 12px; }

/* ---------- 优势卡片 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.adv-icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--primary-light); color: var(--primary);
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-card h3 { margin: 0 0 8px; font-size: 18px; }
.adv-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; }

/* ---------- 岗位 ---------- */
.jobs-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.chip {
  padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--border);
  background: var(--surface); font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-primary); }

.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden;
}
.job-card::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .3s; z-index: 0; }
.job-card > * { position: relative; z-index: 1; }
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.job-cat { font-size: 12px; font-weight: 600; color: var(--primary); letter-spacing: 0.04em; margin-bottom: 12px; }
.job-title { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.job-sub { font-size: 13.5px; color: var(--text-subtle); margin: 0 0 16px; }
.job-salary { font-size: 17px; font-weight: 700; color: var(--warm); margin-bottom: 14px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag { font-size: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--text-muted); }
.job-intro { font-size: 14px; color: var(--text-muted); margin: 0 0 22px; flex: 1; }
.job-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--primary);
  transition: gap .2s var(--ease);
}
.job-card:hover .job-link { gap: 11px; }

/* ---------- 福利 ---------- */
.benefits { background: var(--grad-soft); border-block: 1px solid var(--border); }
.bene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bene-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; display: flex; gap: 16px; transition: transform .3s var(--ease), box-shadow .3s;
}
.bene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.bene-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.bene-icon svg { width: 24px; height: 24px; }
.bene-card h3 { margin: 2px 0 6px; font-size: 16.5px; }
.bene-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- 投递表单 ---------- */
.apply { background: linear-gradient(160deg,#1e1b4b,#312e81 60%,#1e3a4a); color: #fff; position: relative; overflow: hidden; }
.apply::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px); background-size:54px 54px; mask-image:radial-gradient(circle at 50% 50%,#000,transparent 80%); -webkit-mask-image:radial-gradient(circle at 50% 50%,#000,transparent 80%); }
.apply .section-title { color: #fff; }
.apply .section-title .grad { background: linear-gradient(120deg,#c7d2fe,#5eead4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.apply .section-sub { color: rgba(255,255,255,0.75); }
.apply-form-wrap { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.apply-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-xl); padding: 38px; backdrop-filter: blur(14px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 7px; }
.field label .req { color: #fca5a5; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); font-size: 15px; font-family: inherit;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.45); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #a78bfa; background: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(167,139,250,0.25);
}
.field select option { color: #1f1d18; }
.field textarea { resize: vertical; min-height: 96px; }
.upload {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border: 1.5px dashed rgba(255,255,255,0.3); border-radius: var(--radius); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.upload:hover { border-color: #a78bfa; background: rgba(255,255,255,0.05); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-ic { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.1); display: grid; place-items: center; flex: none; }
.upload-ic svg { width: 22px; height: 22px; }
.upload-txt { font-size: 14px; }
.upload-txt strong { display: block; }
.upload-txt span { color: rgba(255,255,255,0.6); font-size: 12.5px; }
.upload-name { font-size: 13px; color: #5eead4; margin-top: 4px; word-break: break-all; }
.form-note { font-size: 12.5px; color: rgba(255,255,255,0.55); margin: 4px 0 18px; }
.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }
.form-feedback { text-align: center; padding: 18px; border-radius: var(--radius); font-size: 15px; display: none; }
.form-feedback.ok { display: block; background: rgba(52,211,153,0.14); border: 1px solid rgba(52,211,153,0.4); color: #6ee7b7; }
.form-feedback.err { display: block; background: rgba(252,165,165,0.14); border: 1px solid rgba(252,165,165,0.4); color: #fca5a5; }
.alt-apply { text-align: center; margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,0.65); }
.alt-apply a { color: #c7d2fe; border-bottom: 1px solid rgba(199,210,254,0.5); }

/* ---------- 页脚 ---------- */
.footer { background: #14132f; color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer .brand-text strong { color: #fff; }
.footer-brand p { font-size: 14px; margin: 18px 0 0; max-width: 360px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; padding: 5px 0; color: rgba(255,255,255,0.62); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- 详情页 ---------- */
.pos-hero { padding: 130px 0 50px; background: linear-gradient(160deg,#1e1b4b,#312e81); color: #fff; }
.pos-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 26px; transition: gap .2s; }
.pos-back:hover { gap: 11px; }
.pos-cat { color: #a5b4fc; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 10px; }
.pos-title { font-size: clamp(30px,4vw,44px); font-weight: 800; margin: 0 0 8px; }
.pos-sub { font-size: 17px; color: rgba(255,255,255,0.8); margin: 0 0 26px; }
.pos-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.pos-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: rgba(255,255,255,0.85); }
.pos-meta .salary { color: #fbbf24; font-weight: 700; }
.pos-body { padding: 60px 0 90px; }
.pos-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.pos-content h2 { font-size: 21px; margin: 38px 0 18px; display: flex; align-items: center; gap: 10px; }
.pos-content h2:first-child { margin-top: 0; }
.pos-content h2::before { content: ''; width: 4px; height: 20px; background: var(--grad); border-radius: 2px; }
.pos-content ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pos-content li { position: relative; padding-left: 22px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.pos-content li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.pos-aside { position: sticky; top: 92px; }
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); margin-bottom: 18px; }
.aside-card h4 { margin: 0 0 14px; font-size: 15px; }
.aside-card .kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.aside-card .kv:last-child { border-bottom: none; }
.aside-card .kv span:first-child { color: var(--text-muted); }
.aside-card .kv span:last-child { font-weight: 600; }

/* ---------- 滚动入场 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .bene-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .pos-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 70px 0; }
  .hero { padding: 110px 0 60px; }
  .hero-stats { gap: 26px; }
  .adv-grid, .jobs-grid, .bene-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .apply-card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .pos-meta { gap: 10px 18px; }
}
.nav-menu-open .nav-links {
  display: flex; position: absolute; top: 68px; left: 12px; right: 12px; flex-direction: column;
  background: var(--surface); padding: 14px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); gap: 4px;
}
.nav-menu-open .nav-link { padding: 11px 14px; border-radius: 10px; }
.nav-menu-open .nav-link:hover { background: var(--primary-50); }
.nav-menu-open .nav-link::after { display: none; }
