/* ==========================================================================
   NextUp Guide — deluxe onboarding: welcome tour + contextual helpers
   Black-and-gold premium language. Never blocks: everything dismissible,
   Esc-closable, reduced-motion respected. Mobile-first safe.
   ========================================================================== */

/* ---------- "?" helper pill ---------- */
.nu-help{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:9px;margin:0 0 0 6px;
  background:transparent;border:0;cursor:pointer;vertical-align:middle;
  -webkit-tap-highlight-color:transparent;
}
.nu-help > i{
  display:flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;
  font-style:normal;font-size:15px;font-weight:800;line-height:1;color:#f5d47e;
  border:1.5px solid rgba(232,179,75,.65);
  background:rgba(18,18,24,.55);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 2px 10px rgba(0,0,0,.35);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.nu-help:hover > i{border-color:#e8b34b;box-shadow:0 2px 14px rgba(232,179,75,.35)}
.nu-help:active > i{transform:scale(.9)}
.nu-help:focus-visible{outline:2px solid #e8b34b;outline-offset:2px;border-radius:12px}
/* gentle attention pulse until first opened */
.nu-help.nu-pulse > i{animation:nuHelpPulse 2.4s ease-in-out infinite}
@keyframes nuHelpPulse{
  0%,100%{box-shadow:0 2px 10px rgba(0,0,0,.35)}
  50%{box-shadow:0 2px 18px rgba(232,179,75,.55)}
}

/* ---------- helper popover ---------- */
.nu-pop{
  position:fixed;z-index:3200;max-width:300px;width:calc(100vw - 32px);
  background:rgba(17,17,23,.94);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  border:1px solid rgba(232,179,75,.5);border-radius:18px;
  padding:16px 44px 16px 18px;color:#f6f3ec;
  box-shadow:0 24px 70px rgba(0,0,0,.6),0 0 30px rgba(232,179,75,.08);
  opacity:0;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease;
}
.nu-pop.on{opacity:1;transform:none}
.nu-pop h4{margin:0 0 6px;font-size:15px;font-weight:800;letter-spacing:-.2px;color:#f5d47e}
.nu-pop p{margin:0;font-size:14px;line-height:1.55;color:#e9e4d8}
.nu-pop-x{
  position:absolute;top:6px;right:6px;min-width:40px;min-height:40px;
  display:flex;align-items:center;justify-content:center;
  background:none;border:0;color:#a9a49a;font-size:20px;cursor:pointer;border-radius:10px;
}
.nu-pop-x:hover{color:#fff}

/* ---------- tour ---------- */
.nu-tour-veil{
  position:fixed;inset:0;z-index:3000;
  background:rgba(4,4,7,.68);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  opacity:0;transition:opacity .3s ease;
}
.nu-tour-veil.on{opacity:1}
.nu-tour-ring{
  position:fixed;z-index:3001;pointer-events:none;
  border:2px solid #e8b34b;border-radius:18px;
  box-shadow:0 0 0 6px rgba(232,179,75,.16),0 0 46px rgba(232,179,75,.35);
  transition:top .35s ease,left .35s ease,width .35s ease,height .35s ease,opacity .3s ease;
}
.nu-tour-card{
  position:fixed;z-index:3002;max-width:340px;width:calc(100vw - 32px);
  background:rgba(17,17,23,.95);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
  border:1px solid rgba(232,179,75,.55);border-radius:20px;
  padding:20px 20px 16px;color:#f6f3ec;
  box-shadow:0 24px 70px rgba(0,0,0,.65),0 0 30px rgba(232,179,75,.1);
  opacity:0;transform:translateY(10px);transition:opacity .25s ease,transform .25s ease;
}
.nu-tour-card.on{opacity:1;transform:none}
.nu-tour-kick{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:#e8b34b;margin:0 0 8px}
.nu-tour-card h3{margin:0 0 8px;font-size:19px;font-weight:800;letter-spacing:-.3px;color:#fff}
.nu-tour-card p{margin:0 0 16px;font-size:14.5px;line-height:1.6;color:#e9e4d8}
.nu-tour-dots{display:flex;gap:7px;margin:0 0 14px}
.nu-tour-dots i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.22)}
.nu-tour-dots i.on{background:#e8b34b;box-shadow:0 0 8px rgba(232,179,75,.7)}
.nu-tour-btns{display:flex;gap:10px;align-items:center}
.nu-tour-btns .nu-tbtn{
  flex:1;min-height:48px;border-radius:14px;border:1px solid #3b3b46;
  background:#1d1d24;color:#fff;font-weight:700;font-size:15px;font-family:inherit;cursor:pointer;
}
.nu-tour-btns .nu-tbtn.gold{background:linear-gradient(180deg,#f7d98c,#e8b34b 60%,#dca23c);border-color:#c8922a;color:#111}
.nu-tour-btns .nu-tbtn:active{transform:scale(.97)}
.nu-tour-skip{
  position:absolute;top:8px;right:12px;background:none;border:0;color:#a9a49a;
  font-size:13px;font-weight:600;cursor:pointer;padding:12px 8px;font-family:inherit;
}
.nu-tour-skip:hover{color:#fff}

/* footer "Take the tour" link */
.nu-tour-link{display:inline-block;padding:10px 0;color:#f5d47e;font-weight:700}

/* ---------- "How recruiting works" section ---------- */
.nu-hiwr{margin:0 auto;max-width:1120px;padding:8px 20px 8px}
.nu-hiwr .nu-hiwr-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:26px}
.nu-hiwr-card{
  border:1px solid rgba(232,179,75,.28);border-radius:22px;
  background:linear-gradient(180deg,rgba(30,28,20,.9),rgba(14,13,10,.95));
  padding:28px 24px;box-shadow:0 18px 50px rgba(0,0,0,.45);
}
.nu-hiwr-ic{
  width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  background:rgba(232,179,75,.12);border:1px solid rgba(232,179,75,.4);margin-bottom:16px;
}
.nu-hiwr-card h3{margin:0 0 8px;font-size:18px;font-weight:800;letter-spacing:-.3px;color:#fff}
.nu-hiwr-card p{margin:0;font-size:14.5px;line-height:1.6;color:#cfc9bc}
@media (max-width:760px){
  .nu-hiwr .nu-hiwr-steps{grid-template-columns:1fr}
}

/* ---------- mobile: tour card becomes a bottom sheet ---------- */
@media (max-width:640px){
  .nu-tour-card{left:12px!important;right:12px;top:auto!important;bottom:12px;max-width:none}
  .nu-pop{max-width:calc(100vw - 32px)}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  .nu-tour-veil,.nu-tour-ring,.nu-tour-card,.nu-pop,.nu-help > i{transition:none!important;animation:none!important}
}
