/* ============================================================
 * enhance.css — 上市级视觉增强层（V2.0）
 * 增量叠加，不覆盖原 styles.css 的类行为，只在同名类上增强观感。
 * 加载顺序：styles.css → mobile-app.css → enhance.css
 * ============================================================ */
:root{
  --brand:#1a56a0; --brand-l:#eaf2fb; --ink-3:#64748b;
  --grad-blue:linear-gradient(135deg,#123f7d 0%,#1a56a0 55%,#2b6fc4 100%);
  --grad-gold:linear-gradient(135deg,#e0b64a,#c8952a 60%,#a97b18);
  --sh-lg:0 22px 60px rgba(18,63,125,.16);
  --sh-md:0 10px 30px rgba(18,63,125,.10);
  --elev:0 18px 40px rgba(18,63,125,.13);
}

/* ============ 门户顶栏：品牌化 ============ */
.p-head{padding:18px 0 6px}
.p-head .name{font-size:21px;letter-spacing:.4px}
.p-head .tag{background:linear-gradient(135deg,#e0b64a,#a97b18);color:#fff;letter-spacing:.5px}
.p-nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);
  border:1px solid var(--line);box-shadow:0 4px 18px rgba(18,63,125,.06);border-radius:14px}
.p-nav button{position:relative;color:var(--ink-2)}
.p-nav button:hover{background:var(--brand-l);color:var(--brand)}
.p-nav button.on{color:var(--brand)}
.p-nav button.on:after{content:'';position:absolute;left:11px;right:11px;bottom:2px;height:2px;border-radius:2px;background:var(--grad-gold)}

/* ============ Hero 门面 ============ */
.portal .hero-wrap{position:relative;overflow:hidden;border-radius:24px;margin-top:14px;
  background:
    radial-gradient(760px 380px at 12% 8%,rgba(255,255,255,.22),transparent 60%),
    radial-gradient(620px 420px at 96% 20%,rgba(224,182,74,.28),transparent 58%),
    var(--grad-blue);
  box-shadow:var(--sh-lg);padding:46px 40px 34px;color:#fff}
.hero-wrap:before{content:'';position:absolute;inset:0;opacity:.16;
  background-image:radial-gradient(rgba(255,255,255,.7) 1px,transparent 1.3px);background-size:22px 22px}
.hero-wrap:after{content:'';position:absolute;right:-70px;bottom:-130px;width:340px;height:340px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 46px rgba(255,255,255,.05),0 0 0 92px rgba(255,255,255,.04)}
.hero-wrap .hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.25fr .75fr;gap:30px;align-items:center}
.hero-copy h1{font-size:44px;line-height:1.12;margin:0 0 14px;font-weight:850;letter-spacing:-.6px;color:#fff;
  text-shadow:0 2px 18px rgba(0,0,0,.12)}
.hero-copy h1 .hl{background:linear-gradient(120deg,#ffe6a2,#ffd166);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy .lead{font-size:16px;line-height:1.7;color:rgba(255,255,255,.92);margin:0 0 8px;font-weight:500;max-width:560px}
.hero-copy .sublead{font-size:13px;color:rgba(255,255,255,.7);margin:0 0 22px}

/* 主搜索框 */
.hero-search{display:flex;align-items:center;gap:8px;background:#fff;border-radius:16px;padding:7px 7px 7px 16px;
  box-shadow:0 12px 34px rgba(0,0,0,.2);max-width:640px}
.hero-search .hs-ic{color:var(--brand);flex:none}
.hero-search .hs-ic svg{width:20px;height:20px}
.hero-search input{flex:1;min-width:0;border:0;outline:none;font-size:15px;color:var(--ink);background:transparent}
.hero-search input::placeholder{color:var(--faint)}
.hero-search .hs-div{width:1px;height:24px;background:var(--line);flex:none}
.hero-search select{border:0;outline:none;background:transparent;color:var(--ink-2);font-weight:600;font-size:13px;max-width:120px;cursor:pointer}
.hero-search .hs-btn{border:0;background:var(--grad-gold);color:#3a2a05;font-weight:800;font-size:14px;
  border-radius:11px;padding:11px 22px;white-space:nowrap;box-shadow:0 4px 14px rgba(200,149,42,.4)}
.hero-search .hs-btn:hover{filter:brightness(1.06)}
.hero-hot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:rgba(255,255,255,.75)}
.hero-hot .lbl{opacity:.8}
.hero-hot button{border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);color:#fff;
  border-radius:20px;padding:4px 11px;font-size:11.5px;font-weight:600;cursor:pointer;transition:.16s}
.hero-hot button:hover{background:rgba(255,255,255,.24);transform:translateY(-1px)}

/* Hero 右侧装饰卡 */
.hero-visual{position:relative;height:280px;display:flex;align-items:center;justify-content:center}
.hv-card{position:absolute;background:#fff;border-radius:15px;box-shadow:0 16px 40px rgba(0,0,0,.22);padding:15px 17px;color:var(--ink)}
.hv-card.a{width:250px;top:22px;left:8px;transform:rotate(-3deg)}
.hv-card.b{width:250px;bottom:16px;right:0;transform:rotate(3deg)}
.hv-card .hv-top{display:flex;align-items:center;gap:9px}
.hv-card .hv-logo{width:34px;height:34px;border-radius:9px;background:var(--brand-l);color:var(--brand);
  display:flex;align-items:center;justify-content:center;font-weight:850;flex:none}
.hv-card.b .hv-logo{background:var(--gold-l);color:var(--gold-d)}
.hv-card .hv-t{font-weight:800;font-size:13.5px}
.hv-card .hv-m{font-size:11px;color:var(--ink-3);margin-top:2px}
.hv-card .hv-sal{font-size:14px;font-weight:850;color:var(--red);margin-top:10px}
.hv-badge{position:absolute;top:46%;left:50%;transform:translate(-50%,-50%);z-index:3;
  background:var(--grad-gold);color:#3a2a05;font-weight:850;font-size:12px;padding:8px 15px;border-radius:22px;
  box-shadow:0 8px 22px rgba(0,0,0,.28);white-space:nowrap}
.hv-float{position:absolute;width:16px;height:16px;border-radius:5px;background:rgba(255,214,102,.85);animation:float 4s ease-in-out infinite}
.hv-float.f1{top:8px;right:26px}.hv-float.f2{bottom:26px;left:-6px;animation-delay:1.2s}

/* 信任条 */
.trust-bar{display:flex;justify-content:center;flex-wrap:wrap;gap:26px;margin-top:26px;position:relative;z-index:2;
  padding-top:20px;border-top:1px solid rgba(255,255,255,.18)}
.trust-bar .ti{display:flex;align-items:center;gap:8px;font-size:12px;color:rgba(255,255,255,.9);font-weight:600}
.trust-bar .ti svg{width:18px;height:18px;color:#ffd166}

/* Hero 内统计条美化（保留在原 hero 结构时） */
.portal .p-stats{border:0;box-shadow:var(--sh-md);border-radius:16px;max-width:760px}
.portal .p-stats .n{font-size:26px}

/* ============ 分区标题增强 ============ */
.p-section-h{margin:38px 0 18px}
.p-section-h h2{font-size:21px;letter-spacing:-.2px}
.p-section-h .en{background:var(--gold-l);color:var(--gold-d);padding:2px 9px;border-radius:6px;letter-spacing:.6px}

/* ============ 卡片质感 ============ */
.job-row{border-radius:12px;border:1px solid transparent;margin-bottom:6px;transition:.18s}
.job-row:hover{transform:translateX(4px);box-shadow:var(--sh-md);border-color:var(--line)}
.jr-title{font-size:15.5px}
.jr-sal{color:var(--red)}
.cat-card{border-radius:16px;padding:18px;transition:.2s}
.cat-card:hover{transform:translateY(-5px);box-shadow:var(--elev)}
.cat-ic{width:44px;height:44px;border-radius:12px}
.home-co,.news-card,.company-card,.home-news{transition:.2s;border-radius:14px}
.home-co:hover,.news-card:hover,.company-card:hover,.home-news:hover{transform:translateY(-3px);box-shadow:var(--sh-md)}
.hc-logo,.cc-logo{background:var(--grad-blue);box-shadow:0 4px 12px rgba(26,86,160,.24)}

/* 企业/资讯卡封面色带 */
.home-news{position:relative;overflow:hidden;padding-top:20px}
.home-news:before{content:'';position:absolute;left:0;top:0;right:0;height:4px;background:var(--grad-gold);opacity:.9}
.news-card .nc-cover{width:64px;height:56px;border-radius:10px;flex:none;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#dce9fb,#c3d8f5);color:var(--brand)}
.news-card .nc-cover svg{width:26px;height:26px}
.news-card .nc-cover.g{background:linear-gradient(135deg,#fbeecb,#f3dc9d);color:var(--gold-d)}
.news-card .nc-cover.e{background:linear-gradient(135deg,#d8f0e7,#bbe3d3);color:#2c7a6b}

/* ============ 投递 / 主要按钮强调 ============ */
.btn-primary{background:var(--grad-blue);border:0}
.btn-primary:hover{background:linear-gradient(135deg,#0f3370,#164a91)}
.install-btn{padding:12px 22px}

/* ============ 职位详情 ============ */
.detail-grid{grid-template-columns:320px 1fr;gap:16px}
.detail-side{position:sticky;top:70px;align-self:start}
.detail-side .sal-box{background:var(--grad-blue);color:#fff;border-radius:14px;padding:20px;margin:-16px -16px 16px}
.detail-side .sal-box .amt{font-size:26px;font-weight:850;color:#ffd166}
.detail-side .sal-box .u{font-size:12px;color:rgba(255,255,255,.8)}
.kv{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line-2);font-size:13px}
.kv:last-child{border-bottom:0}
.kv .k{color:var(--ink-3)}
.kv .v{font-weight:650;color:var(--ink);text-align:right}
.apply-bar{display:flex;gap:10px;align-items:center;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
.apply-bar .btn{flex:1;padding:12px}
.company-mini{display:flex;gap:12px;align-items:center;background:var(--primary-xl);border-radius:12px;padding:12px}
.company-mini .cl{width:46px;height:46px;border-radius:12px;background:var(--grad-blue);color:#fff;font-weight:850;font-size:20px;
  display:flex;align-items:center;justify-content:center;flex:none}

/* ============ 企业详情 ============ */
.co-hero{background:var(--grad-blue);color:#fff;border-radius:18px;padding:26px;position:relative;overflow:hidden;margin-bottom:16px}
.co-hero:after{content:'';position:absolute;right:-40px;top:-60px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.08)}
.co-hero .cl{width:64px;height:64px;border-radius:16px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);
  font-size:28px;font-weight:850;display:flex;align-items:center;justify-content:center}
.co-hero h1{margin:12px 0 4px;font-size:24px;font-weight:850}
.co-hero .meta{color:rgba(255,255,255,.85);font-size:13px}
.co-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.co-tags span{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:4px 12px;font-size:12px;font-weight:600}

/* ============ 资讯详情增强 ============ */
.article-cover{height:170px;border-radius:14px;margin-bottom:16px;position:relative;overflow:hidden;
  background:linear-gradient(120deg,#1a56a0,#2b6fc4 55%,#e0b64a);display:flex;align-items:center;justify-content:center}
.article-cover svg{width:60px;height:60px;color:rgba(255,255,255,.75)}
.article-cover .ac-cat{position:absolute;left:16px;top:16px;background:rgba(0,0,0,.25);backdrop-filter:blur(6px);
  color:#fff;font-size:12px;font-weight:700;border-radius:20px;padding:5px 13px}
.article-meta{display:flex;gap:14px;color:var(--ink-3);font-size:12px;margin-bottom:14px}
.rel-news{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

/* ============ 正式页脚 ============ */
.p-foot.site-foot{text-align:left;margin-top:44px;padding:34px 0 0;border-top:1px solid var(--line)}
.foot-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:28px;max-width:1060px;margin:0 auto 26px}
.foot-col h4{font-size:13px;font-weight:800;margin:0 0 12px;color:var(--ink)}
.foot-col p,.foot-col a,.foot-col button{font-size:12px;color:var(--ink-3);line-height:2;display:block;text-align:left;
  background:none;border:0;padding:0;cursor:pointer}
.foot-col a:hover,.foot-col button:hover{color:var(--brand)}
.foot-brand .fb-name{font-size:17px;font-weight:850;color:var(--brand);display:flex;align-items:center;gap:9px;margin-bottom:10px}
.foot-brand p{max-width:280px}
.foot-qr{width:74px;height:74px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:5px;margin-top:10px}
.foot-bottom{border-top:1px solid var(--line-2);padding-top:16px;text-align:center;color:var(--faint);font-size:11.5px;line-height:1.9}
.foot-bottom .fl{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:6px}

/* ============ 去 demo 化：手机壳状态栏更精致 ============ */
.phone-status{font-variant-numeric:tabular-nums}
.phone-status .r svg{opacity:.7}

/* ============ 滚动入场动效 ============ */
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes riseIn{from{opacity:.35;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes fadeIn{from{opacity:.5}to{opacity:1}}
.reveal{animation:riseIn .5s ease both}
.portal .p-section-h,.portal .portal-cards,.portal .hl-grid,.portal .flow,
.portal .job-board,.portal .cat-grid,.portal .home-co-grid,.portal .home-news-grid{animation:riseIn .55s ease both}
.portal .hero-wrap{animation:fadeIn .5s ease both}
@media (prefers-reduced-motion:reduce){
  .reveal,.portal .p-section-h,.portal .portal-cards,.portal .hl-grid,.portal .flow,
  .portal .job-board,.portal .cat-grid,.portal .home-co-grid,.portal .home-news-grid,.portal .hero-wrap{animation:none}
  .hv-float{animation:none}
}

/* ============ 响应式 ============ */
@media (max-width: 900px){
  .hero-wrap{padding:34px 24px 26px}
  .hero-copy h1{font-size:34px}
  .hero-wrap .hero-grid{grid-template-columns:1fr}
  .hero-visual{display:none}
  .foot-grid{grid-template-columns:1fr 1fr;gap:20px}
  .rel-news{grid-template-columns:1fr 1fr}
  .detail-side{position:static}
}
@media (max-width: 560px){
  .p-head .name{font-size:16px}
  .p-head .tag{font-size:10px;padding:2px 6px}
  .lang-switch{padding:2px}
  .lang-switch button{padding:4px 7px;font-size:11px}
  .hero-wrap{padding:28px 18px 22px;border-radius:18px}
  .hero-copy h1{font-size:27px}
  .hero-copy .lead{font-size:14px}
  .hero-search{padding:6px 6px 6px 12px;flex-wrap:wrap}
  .hero-search input{font-size:14px;min-width:120px}
  .hero-search .hs-div,.hero-search select{display:none}
  .hero-search .hs-btn{width:100%;padding:11px}
  .p-section-h h2{font-size:18px}
  .portal .p-stats{flex-wrap:wrap;max-width:100%}
  .portal .p-stats .s{min-width:50%;flex:0 0 50%;padding:12px 8px}
  .portal .p-stats .n{font-size:22px}
  .p-stats .s:nth-child(3):before{display:none}
  .hero-copy h1{font-size:25px;letter-spacing:-.3px}
  .trust-bar{gap:10px 16px}
  .trust-bar .ti{font-size:11px;width:calc(50% - 8px)}
  /* 顶部导航：手机上一行放下 */
  .p-nav{gap:2px;padding:8px 8px;margin-bottom:16px}
  .p-nav button{padding:5px 8px;font-size:12.5px}
  .p-nav button.on:after{left:7px;right:7px}

  /* 页脚：手机双栏紧凑，避免四栏堆成一长条 */
  .site-foot{margin-top:30px;padding:24px 0 0}
  .foot-grid{grid-template-columns:1fr 1fr;gap:14px 20px}
  .foot-col h4{margin:0 0 6px;font-size:12.5px}
  .foot-col p,.foot-col a,.foot-col button{line-height:1.75;font-size:12px}
  .foot-col.foot-brand{grid-column:1 / -1}
  .foot-col.foot-brand p{margin:4px 0}
  .foot-qr,.foot-qr + .tiny{display:none}
  /* 关于我们：三个链接横排一行，不单独占一竖列 */
  .foot-col.foot-about{grid-column:1 / -1}
  .foot-col.foot-about h4{margin-bottom:2px}
  .foot-col.foot-about button{display:inline-block;margin-right:18px}
  .foot-bottom{padding-top:12px;font-size:11px}
  .rel-news{grid-template-columns:1fr}
  .article-cover{height:130px}
}
