/* ============================================================
   home.css — 首页落地页专属样式（图片化改版）
   仅 index.html 加载；其余页面继续使用 public.css
   配色：上岸橙 #FF6B2C / 深蓝 #1E3A6E / 米白 #FFF9F2
   ============================================================ */

/* ---------- 首屏 Hero ---------- */
.hero3 {
  background:
    radial-gradient(1100px 460px at 88% -10%, rgba(255, 107, 44, .14), transparent 60%),
    radial-gradient(900px 420px at -10% 110%, rgba(30, 58, 110, .10), transparent 60%),
    linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
  border: 1px solid rgba(255, 107, 44, .16);
  border-radius: 24px;
  padding: 42px 44px;
  margin-bottom: 44px;
  box-shadow: 0 12px 36px -22px rgba(30, 58, 110, .22);
}
.hero3-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}
.hero3-copy { flex: 1.05; min-width: 0; }
.hero3-pic { flex: 1; min-width: 0; }
.hero3-pic img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px -18px rgba(30, 58, 110, .35);
}

.hero3-badge {
  display: inline-block;
  background: #1E3A6E;
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.hero3 h1 {
  font-size: 42px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #1c2333;
  font-weight: 800;
  letter-spacing: 1px;
}
.hero3 h1 em {
  font-style: normal;
  color: #FF6B2C;
  position: relative;
}
.hero3 h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(255, 107, 44, .22);
  border-radius: 5px;
  z-index: -1;
}
.hero3-sub {
  font-size: 16px;
  line-height: 1.9;
  color: #4a5568;
  margin: 0 0 26px;
}
.hero3-sub strong { color: #FF6B2C; }

.hero3-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.btn3 {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn3.primary {
  background: linear-gradient(135deg, #FF6B2C, #ff8b4e);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(255, 107, 44, .55);
}
.btn3.ghost {
  background: #eef3fb;
  color: #1E3A6E;
  border: 1.5px solid #1E3A6E;
  box-shadow: 0 8px 20px -10px rgba(30, 58, 110, .35);
}
.btn3.ghost:hover {
  background: #1E3A6E;
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(30, 58, 110, .55);
}
.btn3:hover { transform: translateY(-2px); }

.hero3-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 30px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(30, 58, 110, .08);
}
.hero3-stats .s {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(30, 58, 110, .08);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  box-shadow: 0 4px 16px -10px rgba(30, 58, 110, .14);
  transition: transform .15s ease, box-shadow .15s ease;
}
.hero3-stats .s:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(30, 58, 110, .2);
}
.hero3-stats b {
  display: block;
  font-size: 26px;
  color: #1E3A6E;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero3-stats b small {
  font-size: 14px;
  font-weight: 700;
  color: #FF6B2C;
  margin-left: 2px;
}
.hero3-stats span { font-size: 12.5px; font-weight: 500; color: #64748b; }

/* ---------- 痛点共鸣 ---------- */
.pain3 { margin-bottom: 48px; }
.pain3 h2 {
  text-align: center;
  font-size: 28px;
  color: #1c2333;
  margin: 0 0 28px;
  font-weight: 800;
}
.pain3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.pain-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px -14px rgba(30, 58, 110, .22);
  border-top: 4px solid #FF6B2C;
}
.pain-card .quote {
  font-size: 15px;
  line-height: 1.85;
  color: #3d4859;
  margin: 0 0 16px;
}
.pain-card .pain-ans {
  font-size: 14px;
  font-weight: 700;
  color: #1E7A3C;
  background: #ecf7ef;
  border-radius: 10px;
  padding: 10px 14px;
}

/* ---------- 图片功能卡 ---------- */
.how3 { margin-bottom: 52px; }
.sec3-head { text-align: center; margin-bottom: 30px; }
.sec3-head h2 {
  font-size: 28px;
  color: #1c2333;
  margin: 0 0 8px;
  font-weight: 800;
}
.sec3-head p { color: #8a94a6; font-size: 15px; margin: 0; }
.how3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.how-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px -16px rgba(30, 58, 110, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(30, 58, 110, .35);
}
.how-pic img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.how-body { padding: 20px 22px 24px; }
.how-body h3 {
  font-size: 17px;
  color: #1c2333;
  margin: 0 0 10px;
  font-weight: 700;
}
.how-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #5b6575;
  margin: 0;
}

/* ---------- 能力补充卡（图文卡下面一排，同款卡片式） ---------- */
.do3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 22px auto 0;
}
.do-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 24px 26px;
  box-shadow: 0 10px 30px -16px rgba(30, 58, 110, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.do-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(30, 58, 110, .35);
}
.do-card .do-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #FFF0E8;
  border-radius: 12px;
  margin-bottom: 14px;
}
.do-card h4 { margin: 0 0 10px; font-size: 16.5px; color: #1c2333; font-weight: 700; }
.do-card p { margin: 0; font-size: 14px; line-height: 1.8; color: #5b6575; }

/* ---------- 订阅区：大字彩色 CTA + 验证码表单 ---------- */
.sub4 {
  background:
    radial-gradient(820px 380px at 92% 0%, rgba(255, 224, 150, .28), transparent 60%),
    radial-gradient(640px 340px at 0% 100%, rgba(30, 58, 110, .24), transparent 65%),
    linear-gradient(125deg, #f25c19 0%, #ff7332 52%, #ff914d 100%);
  border-radius: 24px;
  padding: 44px 46px;
  margin-top: 52px;
  color: #fff;
  box-shadow: 0 20px 48px -18px rgba(242, 92, 25, .48);
}
.sub4-inner {
  display: flex;
  gap: 44px;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
.sub4-copy { flex: 0.88; min-width: 0; }
.sub4-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: .5px;
}
.sub4-title {
  font-size: 36px;
  line-height: 1.28;
  margin: 0 0 18px;
  font-weight: 800;
  color: #fff;
}
.sub4-title em {
  font-style: normal;
  color: #fff3bf;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .14);
}
.sub4-sub { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: rgba(255, 255, 255, .92); }
.sub4-benefits {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sub4-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .96);
}
.sub4-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sub4-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(15, 23, 42, .16);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  padding: 14px 12px;
  backdrop-filter: blur(6px);
}
.sub4-trust .t-item { text-align: center; }
.sub4-trust b { display: block; font-size: 17px; font-weight: 800; color: #fff; line-height: 1.2; }
.sub4-trust span { font-size: 11.5px; color: rgba(255, 255, 255, .82); }

.sub4-form {
  flex: 1.1;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  padding: 26px 26px 20px;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .3);
}
.f-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1c2333;
  margin: 16px 0 8px;
}
.f-label:first-child { margin-top: 0; }
.f-req { color: #FF6B2C; }
.f-tip { color: #8a94a6; font-weight: 400; font-size: 12px; }
/* 蜜罐字段：正常用户不可见，机器人会填 */
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
/* 字段问号提示：hover/点按浮出说明 */
.f-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  border-radius: 50%;
  background: #d5deee;
  color: #4a5f8a;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
  cursor: help;
  position: relative;
  vertical-align: middle;
  user-select: none;
  flex-shrink: 0;
}
.f-hint:hover, .f-hint:active { background: #FF6B2C; color: #fff; }
.f-hint::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) scale(.96);
  background: #1E3A6E;
  color: #fff;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  width: max-content;
  max-width: 240px;
  white-space: normal;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 60;
  box-shadow: 0 8px 20px -6px rgba(30, 58, 110, .45);
}
.f-hint:hover::after, .f-hint:active::after { opacity: 1; transform: translateX(-50%) scale(1); }
/* 小箭头 */
.f-hint::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1E3A6E;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 61;
}
.f-hint:hover::before, .f-hint:active::before { opacity: 1; }
.sub4-row { display: flex; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.sub4-row input[type="email"],
.sub4-row input[type="text"],
.sub4-row select {
  background: #f7f8fa;
  border: 1.5px solid #e3e8ef;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #1c2333;
  outline: none;
  min-width: 0;
  flex: 1;
}
.sub4-row input:focus, .sub4-row select:focus { border-color: #FF6B2C; background: #fff; }
.btn-code {
  flex-shrink: 0;
  background: #1E3A6E;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  min-width: 118px;
}
.btn-code:hover { background: #2a4f8f; }
.btn-code:disabled { background: #9aa7bd; cursor: not-allowed; }

/* 多选下拉（地市/区县/类型/学历/专业） */
.sub4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
/* 第二行（学历要求 + 专业关键词）按 1:2 铺满整行，与上方 3 列严格齐平 */
.sub4-opts {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
  margin-bottom: 6px;
}
.dd { position: relative; }
.dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: #f7f8fa;
  border: 1.5px solid #e3e8ef;
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 13.5px;
  color: #5b6575;
  cursor: pointer;
  text-align: left;
}
.dd-btn .dd-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #5b6575;
}
.dd-btn .dd-val.picked { color: #FF6B2C; font-weight: 700; }
.dd-caret { color: #8a94a6; flex-shrink: 0; }
.dd.open .dd-btn { border-color: #FF6B2C; background: #fff; }
.dd.disabled { opacity: .55; cursor: not-allowed; }
.dd.disabled .dd-btn { cursor: not-allowed; }
.dd-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: auto;
  min-width: 264px;
  max-width: min(320px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(30, 58, 110, .3);
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  z-index: 80;
}
.dd.open .dd-panel { display: block; }
/* 专业面板内的关键词筛选输入 */
.dd-filter {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e3e8ef;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1c2333;
  outline: none;
  margin-bottom: 4px;
}
.dd-filter:focus { border-color: #FF6B2C; }
.dd-list { display: block; }
.dd-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #3d4859;
  cursor: pointer;
  white-space: nowrap;
}
.dd-opt:hover { background: #f7f8fa; }
.dd-opt.on { background: #FFF0E8; color: #FF6B2C; font-weight: 600; }
.dd-opt input { accent-color: #FF6B2C; margin: 0; }
.dd-empty { padding: 14px; text-align: center; font-size: 13px; color: #8a94a6; }
/* 带标题的下拉/输入包装：标题行 + 控件 */
.dd-wrap, .opt-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dd-cap {
  font-size: 12.5px;
  font-weight: 600;
  color: #4a5568;
  display: inline-flex;
  align-items: center;
}
.dd-cap .f-hint { margin-left: 4px; }
.dd-wrap .dd { flex: 1; }
.opt-wrap .dd { flex: 1; }
.opt-wrap select, .opt-wrap input[type="text"] { width: 100%; }
/* 邮箱/验证码输入：带图标，视觉更完整 */
.mail-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}
.mail-ico {
  position: absolute;
  left: 12px;
  font-size: 14px;
  pointer-events: none;
  opacity: .75;
}
.mail-wrap input { width: 100%; padding-left: 36px !important; }

.btn-sub4 {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 16px;
  font-size: 17px;
  padding: 15px;
}
.sub4-form .sub3-msg { margin-top: 12px; margin-bottom: 0; }
/* 首页岗位表：学历列截断防撑爆 */
.edu-cell {
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #5b6575;
}
.sub3-msg {
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.sub3-msg.ok { background: #e6f7ec; color: #1e7a3c; }
.sub3-msg.err { background: #fdeceb; color: #c0392b; }
.sub3-privacy {
  color: rgba(255, 255, 255, .75);
  font-size: 12.5px;
  margin: 12px 0 0;
}
.sub4-form .sub3-privacy { color: #8a94a6; text-align: center; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
  .hero3 { padding: 28px 22px; border-radius: 18px; }
  .hero3-inner { flex-direction: column-reverse; gap: 26px; }
  .hero3 h1 { font-size: 30px; }
  .hero3-pic img { max-width: 480px; margin: 0 auto; }
  .pain3-grid, .how3-grid, .do3-grid { grid-template-columns: 1fr; }
  .hero3-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; padding-top: 20px; }
  .hero3-stats .s { padding: 14px 10px; }
  .sub4 { padding: 30px 22px; border-radius: 18px; }
  .sub4-inner { flex-direction: column; gap: 24px; }
  .sub4-title { font-size: 27px; }
  .edu-cell { display: none; }
  .sub4-grid, .sub4-opts { grid-template-columns: 1fr; }
  .sub4-trust { grid-template-columns: repeat(3, 1fr); }
}
