/* ============================================================
   Knowell — Careers (加入我们) page
   ============================================================ */

/* hero */
.car-hero { position: relative; min-height: 52vh; display: flex; align-items: center; background: var(--navy-900); color: #fff; overflow: hidden; padding: calc(var(--nav-h) + 50px) 0 56px; }
.car-hero .mesh { position: absolute; inset: -20%; background: radial-gradient(46% 50% at 24% 30%, rgba(0,114,255,.42), transparent 60%), radial-gradient(40% 46% at 84% 22%, rgba(0,198,255,.32), transparent 60%), radial-gradient(52% 60% at 68% 96%, rgba(121,40,202,.24), transparent 60%); filter: blur(16px); animation: meshDrift 24s ease-in-out infinite alternate; }
.car-hero .grid-tex { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,190,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,190,255,.06) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(120% 100% at 40% 25%, #000 30%, transparent 80%); }
.car-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,47,.35), rgba(10,25,47,.78)); }
.car-hero .wrap { position: relative; z-index: 2; max-width: 820px; }
.car-hero .crumb { font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.55); margin-bottom: 20px; letter-spacing: .5px; }
.car-hero .crumb a:hover { color: var(--cyan); }
.car-hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; }
.car-hero .sub { margin-top: 20px; font-size: 19px; color: rgba(255,255,255,.8); max-width: 600px; line-height: 1.65; }
.car-hero .quick { margin-top: 30px; display: flex; gap: 28px; flex-wrap: wrap; }
.car-hero .quick .q b { font-family: var(--mono); font-size: 26px; font-weight: 700; color: #fff; }
.car-hero .quick .q span { display: block; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* values (reuse about look, scoped) */
.car-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cv { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-card); padding: 30px 26px; box-shadow: var(--sh-card); transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; }
.cv::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cv:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); }
.cv:hover::before { transform: scaleX(1); }
.cv .vc-ic { width: 54px; height: 54px; border-radius: 15px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.cv .vc-ic svg { width: 28px; height: 28px; }
.cv h3 { font-size: 19px; font-weight: 800; }
.cv p { margin-top: 10px; font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }
.cv .vc-num { position: absolute; top: 20px; right: 22px; font-family: var(--mono); font-size: 40px; font-weight: 700; color: var(--ink-100); line-height: 1; }

/* perks */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perk { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--navy-line); border-radius: var(--r-card); background: rgba(255,255,255,.03); transition: border-color .2s, transform .2s; }
.perk:hover { border-color: rgba(0,198,255,.4); transform: translateY(-3px); }
.perk .pk-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-soft); color: var(--cyan); display: grid; place-items: center; flex-shrink: 0; }
.perk .pk-ic svg { width: 24px; height: 24px; }
.perk b { color: #fff; font-size: 15.5px; }
.perk p { color: rgba(255,255,255,.65); font-size: 13px; margin-top: 5px; line-height: 1.55; }

/* jobs */
.jobs-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.job-filter { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px solid var(--ink-100); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-700); cursor: pointer; transition: all .2s; }
.job-filter:hover { border-color: rgba(0,114,255,.4); }
.job-filter.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(0,114,255,.28); }
.job-count { margin-left: auto; font-size: 14px; color: var(--ink-grey); font-family: var(--mono); }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job { background: #fff; border: 1px solid var(--ink-100); border-radius: var(--r-card-lg); box-shadow: var(--sh-card); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.job.open { box-shadow: var(--sh-card-hover); border-color: rgba(0,114,255,.3); }
.job-head { display: flex; align-items: center; gap: 20px; padding: 24px 28px; cursor: pointer; }
.job-head .jh-main { flex: 1; min-width: 0; }
.job-head h3 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.job-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.job-meta .m { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-700); }
.job-meta .m svg { width: 14px; height: 14px; color: var(--blue); }
.job-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }
.job-meta .dept { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--grad-soft); padding: 4px 11px; border-radius: var(--r-pill); }
.job-toggle { width: 42px; height: 42px; border-radius: 12px; background: var(--ink-50); color: var(--ink-700); display: grid; place-items: center; flex-shrink: 0; transition: background .2s, transform .3s; }
.job.open .job-toggle { background: var(--grad); color: #fff; transform: rotate(180deg); }
.job-toggle svg { width: 20px; height: 20px; }
.job-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.3,1); }
.job.open .job-body { max-height: 1200px; }
.job-body-inner { padding: 4px 28px 28px; border-top: 1px solid var(--ink-100); }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 22px; }
.job-cols h4 { font-size: 14px; font-weight: 700; color: var(--ink-900); display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.job-cols h4 .bar { width: 4px; height: 16px; border-radius: 2px; background: var(--grad); }
.job-cols ol { list-style: none; display: flex; flex-direction: column; gap: 11px; counter-reset: jd; }
.job-cols li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-700); line-height: 1.6; counter-increment: jd; }
.job-cols li::before { content: counter(jd); flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-soft); color: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 1px; }
.job-cols.reqs li::before { content: "✓"; font-size: 12px; }
.job-actions { margin-top: 26px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.job-actions .salary { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--blue); }
.job-actions .salary small { color: var(--ink-grey); font-weight: 400; }

/* delivery */
.deliver { background: var(--ink-50); }
.deliver-card { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--ink-100); border-radius: 20px; box-shadow: var(--sh-card); padding: 40px; text-align: center; }
.deliver-card .di { width: 64px; height: 64px; border-radius: 17px; background: var(--grad); color: #fff; display: grid; place-items: center; margin: 0 auto 22px; box-shadow: 0 10px 26px rgba(0,114,255,.35); }
.deliver-card .di svg { width: 32px; height: 32px; }
.deliver-card h3 { font-size: 24px; font-weight: 800; }
.deliver-card p { margin-top: 12px; color: var(--ink-700); font-size: 15px; line-height: 1.7; }
.email-box { margin: 24px auto 0; max-width: 440px; display: flex; align-items: center; gap: 10px; background: var(--ink-50); border: 1.5px solid var(--ink-100); border-radius: 12px; padding: 8px 8px 8px 18px; }
.email-box .em { flex: 1; text-align: left; font-family: var(--mono); font-size: 15px; color: var(--ink-900); overflow: hidden; text-overflow: ellipsis; }
.email-box .copy { height: 40px; padding: 0 18px; border-radius: 9px; background: var(--grad); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.email-box .copy:hover { transform: translateY(-1px); box-shadow: var(--sh-glow); }
.email-box .copy svg { width: 15px; height: 15px; }
.deliver-note { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-700); background: var(--grad-soft); padding: 10px 16px; border-radius: var(--r-pill); }
.deliver-note svg { width: 16px; height: 16px; color: var(--blue); }

/* apply modal */
.apply2 { width: min(540px, 100%); }
.apply2-head { padding: 26px 30px 18px; border-bottom: 1px solid var(--navy-line); }
.apply2-head .pos { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: .5px; }
.apply2-head h3 { font-size: 20px; font-weight: 700; margin-top: 6px; }
.apply2-body { padding: 24px 30px 28px; }
.apply2-body .apply-field { margin-bottom: 16px; }
.apply2 .apply-foot { margin-top: 8px; }

@media (max-width: 980px) {
  .car-values-grid { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .job-cols { grid-template-columns: 1fr; gap: 22px; }
  .job-head { padding: 20px; }
}
@media (max-width: 560px) {
  .car-values-grid { grid-template-columns: 1fr; }
  .email-box { flex-direction: column; align-items: stretch; }
  .email-box .em { text-align: center; }
}
