/* ══════════════════════════════════════════════════════════════════════════
   FER — First European Recruitment
   Modern SaaS Theme · Clean · Professional · Eye-Friendly
   Font: Inter (most readable SaaS font) + Bricolage for headings
   Palette: Deep Navy #0F1F4D · Bright Blue #2563EB · White · Soft Greys
══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Brand colours ── */
  --navy:        #0F1F4D;   /* deep navy — headings, logo */
  --blue:        #2563EB;   /* primary blue — buttons, links */
  --blue-hover:  #1d4ed8;
  --blue-light:  #dbeafe;   /* light blue backgrounds */
  --blue-faint:  #eff6ff;
  --gold:        #F59E0B;   /* accent gold */
  --gold-light:  #fef3c7;

  /* ── Neutrals ── */
  --bg:          #F8FAFC;   /* page background — very light grey */
  --surface:     #FFFFFF;   /* cards, panels */
  --raised:      #F1F5F9;   /* slightly raised elements */
  --border:      #E2E8F0;   /* borders — subtle */
  --border-md:   #CBD5E1;   /* medium borders */

  /* ── Text ── */
  --text:        #0F172A;   /* primary text — almost black */
  --text-2:      #1E293B;   /* slightly lighter */
  --text-3:      #334155;   /* secondary text */
  --text-muted:  #64748B;   /* muted text */
  --text-faint:  #94A3B8;   /* placeholder, captions */

  /* ── Status ── */
  --green:       #059669;
  --green-bg:    #ECFDF5;
  --green-border:#A7F3D0;
  --red:         #DC2626;
  --red-bg:      #FEF2F2;
  --amber:       #D97706;
  --amber-bg:    #FFFBEB;

  /* ── Shadows ── */
  --shadow-xs:   0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-sm:   0 1px 3px 0 rgba(0,0,0,.10), 0 1px 2px -1px rgba(0,0,0,.10);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,.10), 0 8px 10px -6px rgba(0,0,0,.10);
  --shadow-blue: 0 4px 14px 0 rgba(37,99,235,.25);

  /* ── Spacing & radius ── */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* ── Fonts ── */
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Bricolage Grotesque', 'Inter', sans-serif;

  /* ── Transition ── */
  --t:   150ms;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ══════════════════════════════════════════════════════════════════
   BASE
══════════════════════════════════════════════════════════════════ */
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img   { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }
ul { list-style: none; }

/* ══════════════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════════════ */
.section-inner  { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad    { padding: 80px 0; }
.section-pad.alt { background: var(--surface); }
.split-layout   { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media(max-width:860px){ .split-layout { grid-template-columns: 1fr; gap: 32px; } }

/* Section header */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 48px; flex-wrap: wrap; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 10px; }
h1 { font-family: var(--font-head); font-size: clamp(36px,5.5vw,60px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); }
h2 { font-family: var(--font-head); font-size: clamp(24px,3.5vw,38px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--navy); }
h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); }
h4 { font-size: 15px; font-weight: 600; color: var(--text-2); }
.body-lead { font-size: 17px; line-height: 1.75; color: var(--text-muted); max-width: 540px; margin: 14px 0 24px; }

/* ══════════════════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════════════════ */
.trust-bar { background: var(--navy); padding: 8px 0; }
.trust-bar-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.trust-item { font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.75); padding: 0 14px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.trust-dot  { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.trust-sep  { color: rgba(255,255,255,.25); font-size: 14px; }
@media(max-width:768px){ .trust-bar-inner { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } }

/* ══════════════════════════════════════════════════════════════════
   HEADER & NAV
══════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 32px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: #fff;
  font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: -.02em;
  display: grid; place-items: center; flex-shrink: 0;
}
.site-logo-mark.sm { width: 32px; height: 32px; font-size: 11px; border-radius: 8px; }
.site-logo-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.site-logo-text span  { display: block; font-size: 10.5px; color: var(--text-muted); font-weight: 400; }
@media(max-width:700px){ .site-logo-text { display: none; } }

/* Desktop nav */
.site-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.snav-link {
  font-size: 14px; font-weight: 500; color: var(--text-3);
  padding: 7px 12px; border-radius: var(--r-md);
  transition: color var(--t), background var(--t);
  text-decoration: none; white-space: nowrap;
}
.snav-link:hover { color: var(--blue); background: var(--blue-faint); text-decoration: none; }
.snav-link.active { color: var(--blue); font-weight: 600; }

/* More dropdown */
.snav-more { position: relative; }
.snav-more-btn {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--text-3);
  padding: 7px 12px; border-radius: var(--r-md);
  background: none; border: none;
  transition: color var(--t), background var(--t);
  cursor: pointer;
}
.snav-more-btn:hover { color: var(--blue); background: var(--blue-faint); }
.snav-more-drop {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 6px; z-index: 200;
}
.snav-more-drop a {
  display: block; padding: 9px 14px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  border-radius: var(--r-md);
  transition: background var(--t), color var(--t);
  text-decoration: none;
}
.snav-more-drop a:hover { background: var(--blue-faint); color: var(--blue); text-decoration: none; }
@media(max-width:900px){ .site-nav { display: none; } }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.guest-actions  { display: flex; align-items: center; gap: 8px; }
.user-actions   { display: flex; align-items: center; gap: 8px; position: relative; }

/* Region selector */
.region-pill {
  appearance: none; background: var(--raised); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 30px 5px 12px; font-size: 13px; font-weight: 500;
  color: var(--text-2); cursor: pointer; outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color var(--t);
}
.region-pill:hover { border-color: var(--blue); }
@media(max-width:600px){ .region-pill { display: none; } }

/* Notification button */
.notif-pill {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border);
  color: var(--text-muted); transition: all var(--t);
}
.notif-pill:hover { background: var(--blue-faint); color: var(--blue); border-color: var(--blue); }
.notif-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 800; min-width: 16px; height: 16px;
  border-radius: 999px; display: grid; place-items: center; border: 2px solid #fff;
}

/* User pill */
.user-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 6px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border);
  cursor: pointer; transition: all var(--t); font-size: 14px; font-weight: 500;
}
.user-pill:hover { background: var(--blue-faint); border-color: var(--blue); color: var(--blue); }
.user-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; display: grid; place-items: center;
}

/* User dropdown */
.user-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  min-width: 210px; padding: 6px; z-index: 300;
}
.udrop-item {
  display: block; width: 100%; text-align: left;
  padding: 9px 14px; font-size: 14px; font-weight: 500;
  color: var(--text-2); border-radius: var(--r-md);
  background: none; border: none; cursor: pointer;
  transition: background var(--t), color var(--t);
  text-decoration: none;
}
.udrop-item:hover { background: var(--blue-faint); color: var(--blue); text-decoration: none; }
.udrop-line { height: 1px; background: var(--border); margin: 5px 8px; }
.udrop-logout { color: var(--red) !important; }
.udrop-logout:hover { background: var(--red-bg) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 6px;
}
.hamburger span { width: 16px; height: 1.5px; background: var(--text-2); border-radius: 2px; display: block; transition: all var(--t); }
@media(max-width:900px){ .hamburger { display: flex; } }

/* Mobile drawer */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 900; }
.drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px,85vw);
  background: var(--surface); z-index: 950; padding: 20px;
  display: flex; flex-direction: column; gap: 0;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%); transition: transform .25s var(--ease);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-close { background: none; border: 1px solid var(--border); border-radius: var(--r-md); width: 32px; height: 32px; font-size: 18px; display: grid; place-items: center; color: var(--text-muted); }
.drawer-links { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.drawer-link { padding: 11px 14px; font-size: 15px; font-weight: 500; color: var(--text-2); border-radius: var(--r-md); text-decoration: none; transition: background var(--t); }
.drawer-link:hover { background: var(--blue-faint); color: var(--blue); text-decoration: none; }
.drawer-btns { padding-top: 20px; border-top: 1px solid var(--border); margin-top: 16px; }

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: none; border-radius: var(--r-md);
  background: var(--blue); color: #fff;
  font-family: var(--font); font-weight: 600; font-size: 14px; letter-spacing: -.01em;
  padding: 10px 20px; cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--t) var(--ease), transform var(--t), box-shadow var(--t);
  box-shadow: var(--shadow-blue);
  outline: none;
}
.btn:hover  { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,99,235,.3); text-decoration: none; color: #fff; }
.btn:active { transform: none; box-shadow: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.lg  { padding: 13px 26px; font-size: 15px; border-radius: var(--r-lg); }
.btn.sm  { padding: 7px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn.outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.btn.outline:hover { background: var(--blue-faint); box-shadow: none; color: var(--blue); }
.btn.ghost { background: var(--surface); color: var(--text-2); border: 1px solid var(--border-md); box-shadow: var(--shadow-xs); }
.btn.ghost:hover { background: var(--raised); border-color: #94A3B8; color: var(--text); }
.btn.dark { background: var(--navy); box-shadow: 0 4px 14px rgba(15,31,77,.3); }
.btn.dark:hover { background: #1a2f5e; }
.btn.gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 14px rgba(245,158,11,.3); }
.btn.gold:hover { background: #d97706; }
.btn.loading .btn-text { visibility: hidden; }
.btn.loading .btn-spinner { display: inline; }
.btn-spinner { display: none; }

/* ══════════════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════════════ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 10px 14px;
  background: var(--surface); color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--r-md);
  font-size: 14px; font-family: var(--font); outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width:560px){ .form-row { grid-template-columns: 1fr; } }
.card-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow-sm); }

/* ══════════════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
.badge.green  { background: var(--green-bg); color: var(--green); }
.badge.amber  { background: var(--amber-bg); color: var(--amber); }
.badge.blue   { background: var(--blue-light); color: var(--blue); }
.badge.red    { background: var(--red-bg); color: var(--red); }
.badge.navy   { background: var(--navy); color: #fff; }

/* ══════════════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy); color: #fff;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  box-shadow: var(--shadow-lg); z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: all .22s var(--ease); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--red); }
.toast.success { background: var(--green); }

/* ══════════════════════════════════════════════════════════════════
   AUTH MODAL
══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(15,31,77,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  background: var(--surface); border-radius: var(--r-xl);
  padding: 36px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow-xl); position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.modal-logo .site-logo-mark { width: 32px; height: 32px; font-size: 11px; }
.modal-logo strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--raised); border: none; font-size: 16px;
  color: var(--text-muted); display: grid; place-items: center;
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 22px; }
.modal-tab {
  flex: 1; padding: 10px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; cursor: pointer; transition: all var(--t);
}
.modal-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.modal h2 { font-size: 22px; margin-bottom: 4px; }
.modal p  { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.modal-footer { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.modal-footer a { color: var(--blue); font-weight: 500; }
.login-submit, .register-submit { width: 100%; margin-top: 4px; }
.modal-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-faint); font-size: 12px; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ══════════════════════════════════════════════════════════════════
   REGISTRATION WALL
══════════════════════════════════════════════════════════════════ */
.reg-wall {
  position: fixed; inset: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(15,31,77,.65); backdrop-filter: blur(8px);
}
.reg-wall-modal {
  background: var(--surface); border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl); width: 100%; max-width: 860px;
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  max-height: 95vh;
}
@media(max-width:700px){ .reg-wall-modal { grid-template-columns: 1fr; } }

/* Left panel — dark blue */
.reg-wall-left {
  background: linear-gradient(145deg, var(--navy) 0%, #1a3470 100%);
  padding: 44px 40px; display: flex; flex-direction: column; gap: 20px;
}
@media(max-width:700px){ .reg-wall-left { display: none; } }
.reg-wall-logo-row { display: flex; align-items: center; gap: 10px; }
.reg-wall-logo-row .site-logo-mark { background: rgba(255,255,255,.15); }
.reg-wall-brand { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.reg-wall-heading { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.03em; }
.reg-wall-sub { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; }
.reg-wall-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rw-pill { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.reg-wall-trust { font-size: 11px; color: rgba(255,255,255,.45); font-weight: 500; margin-top: auto; }

/* Right panel — white form */
.reg-wall-right {
  padding: 40px 36px; overflow-y: auto;
  position: relative; display: flex; flex-direction: column;
}
.reg-wall-close {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--raised); border: none; font-size: 18px; color: var(--text-muted);
  display: grid; place-items: center; line-height: 1;
}
.reg-wall-close:hover { background: var(--border); }
.reg-wall-form-title { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.reg-wall-form-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.reg-wall-tabs { display: flex; background: var(--raised); border-radius: var(--r-lg); padding: 3px; margin-bottom: 20px; gap: 3px; }
.rwt { flex: 1; padding: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: none; border: none; border-radius: var(--r-md); transition: all var(--t); cursor: pointer; }
.rwt.active { background: var(--surface); color: var(--blue); box-shadow: var(--shadow-sm); }
.reg-wall-cta { width: 100%; margin-top: 4px; background: var(--navy); }
.reg-wall-cta:hover { background: #1a3470; }
.reg-wall-legal { font-size: 11px; color: var(--text-faint); text-align: center; margin-top: 12px; line-height: 1.6; }
.reg-wall-legal a { color: var(--blue); }

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════════ */
.hero-section {
  background: linear-gradient(165deg, #F0F5FF 0%, #EFF6FF 40%, #F8FAFC 100%);
  padding: 88px 0 80px; overflow: hidden; position: relative;
}
.hero-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
@media(max-width:1000px){ .hero-inner { grid-template-columns: 1fr; gap: 40px; } }
.hero-label { display: inline-flex; align-items: center; gap: 8px; background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 999px; margin-bottom: 18px; letter-spacing: .03em; text-transform: uppercase; }
.hero-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-title { font-family: var(--font-head); font-size: clamp(36px,5vw,56px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--navy); margin-bottom: 18px; }
.hero-title span { color: var(--blue); }
.hero-desc { font-size: 17px; color: var(--text-muted); line-height: 1.75; max-width: 480px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1; margin-bottom: 3px; }
.hero-stat span { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* Hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 28px; box-shadow: var(--shadow-xl);
}
.hero-card-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 16px; }
.hero-job-list { display: flex; flex-direction: column; gap: 10px; }
.hero-job { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all var(--t); }
.hero-job:hover { background: var(--blue-faint); border-color: var(--blue); }
.hero-job-icon { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.hero-job-info { flex: 1; min-width: 0; }
.hero-job-info strong { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); }
.hero-job-info span { font-size: 12px; color: var(--text-muted); }
.hero-job-badge { font-size: 11px; font-weight: 600; background: var(--green-bg); color: var(--green); padding: 3px 8px; border-radius: 999px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════════ */
.stats-bar { background: var(--navy); padding: 28px 0; }
.stats-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(6,1fr); gap: 0; }
@media(max-width:900px){ .stats-inner { grid-template-columns: repeat(3,1fr); } }
@media(max-width:500px){ .stats-inner { grid-template-columns: repeat(2,1fr); } }
.stat-item { text-align: center; padding: 12px; border-right: 1px solid rgba(255,255,255,.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* ══════════════════════════════════════════════════════════════════
   EMPLOYER HERO
══════════════════════════════════════════════════════════════════ */
.employer-hero-section { background: var(--navy); padding: 72px 0; }
.employer-hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media(max-width:900px){ .employer-hero-inner { grid-template-columns: 1fr; } }
.eyebrow-white { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: 10px; display: block; }
.employer-hero-title { font-family: var(--font-head); font-size: clamp(30px,4vw,44px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.03em; }
.employer-hero-sub { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 24px; }
.employer-hero-sectors { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.employer-hero-sectors span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; }
.employer-hero-form { background: #fff; border-radius: var(--r-2xl); padding: 32px; box-shadow: var(--shadow-xl); }
.employer-hero-form h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.employer-hero-form p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }

/* ══════════════════════════════════════════════════════════════════
   JOB CARDS
══════════════════════════════════════════════════════════════════ */
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 14px; }
.job-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 20px 22px;
  transition: all .2s var(--ease); cursor: pointer;
  position: relative;
}
.job-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.job-company-logo { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--blue-faint); color: var(--blue); font-size: 14px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--blue-light); }
.job-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; flex: 1; }
.job-company-name { font-size: 13px; color: var(--text-muted); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.job-tag { background: var(--raised); color: var(--text-3); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); }
.job-tag.salary { background: var(--green-bg); color: var(--green); border-color: var(--green-border); font-weight: 600; }
.job-tag.visa { background: var(--blue-light); color: var(--blue); border-color: var(--border); }
.job-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.job-meta { font-size: 12px; color: var(--text-faint); }
.score-badge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.score-badge.high { background: var(--green-bg); color: var(--green); }
.score-badge.mid  { background: var(--amber-bg); color: var(--amber); }
.score-badge.low  { background: var(--raised); color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════
   CLIENT LOGOS
══════════════════════════════════════════════════════════════════ */
.client-logos-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.client-logos-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); text-align: center; margin-bottom: 16px; }
.client-logos-track { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 0 24px; max-width: 1180px; margin: 0 auto; }
.client-logo { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md); padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media(max-width:900px){ .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:580px){ .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s; }
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.tc-stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }
.tc-quote { font-size: 13.5px; line-height: 1.7; color: var(--text-3); flex: 1; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.tc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.tc-author strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); }
.tc-author span { font-size: 11px; color: var(--text-muted); }
.google-reviews-box { display: flex; align-items: center; gap: 10px; background: var(--raised); border-radius: var(--r-lg); padding: 10px 16px; flex-wrap: wrap; }
.gr-stars { color: var(--gold); font-size: 16px; }
.gr-text { font-size: 13px; font-weight: 700; color: var(--navy); }

/* ══════════════════════════════════════════════════════════════════
   INDUSTRY GRID
══════════════════════════════════════════════════════════════════ */
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media(max-width:1000px){ .industry-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:500px)  { .industry-grid { grid-template-columns: 1fr; } }
.industry-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; transition: all .2s; cursor: pointer; }
.industry-card:hover { border-color: var(--blue); background: var(--blue-faint); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.ic-icon { font-size: 26px; line-height: 1; margin-bottom: 2px; }
.industry-card h3 { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.industry-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.ic-cta { font-size: 12px; font-weight: 700; color: var(--blue); margin-top: 4px; }

/* ══════════════════════════════════════════════════════════════════
   TRUST GRID
══════════════════════════════════════════════════════════════════ */
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media(max-width:900px){ .trust-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:500px){ .trust-grid { grid-template-columns: 1fr; } }
.trust-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-xl); padding: 20px; }
.trust-card .tc-icon { font-size: 24px; margin-bottom: 10px; }
.trust-card h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.trust-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════════
   SECTION GATES (auth overlay)
══════════════════════════════════════════════════════════════════ */
.section-auth-overlay { position: absolute; inset: 0; background: rgba(248,250,252,.95); backdrop-filter: blur(4px); z-index: 10; display: flex; align-items: center; justify-content: center; border-radius: inherit; }
.section-auth-box { text-align: center; padding: 40px 32px; max-width: 380px; }
.section-auth-box .gate-icon { font-size: 40px; margin-bottom: 14px; }
.section-auth-box h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.section-auth-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* Register gate (static placeholder) */
.register-gate { background: var(--bg); border: 2px dashed var(--border); border-radius: var(--r-xl); padding: 48px 32px; text-align: center; }
.register-gate .gate-icon { font-size: 40px; margin-bottom: 14px; }
.register-gate h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.register-gate p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════════════════ */
.pricing-section { background: var(--bg); }
.pricing-grid-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 8px; }
@media(max-width:1100px){ .pricing-grid-full { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px)  { .pricing-grid-full { grid-template-columns: 1fr; } }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0 28px; }
.billing-label { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color var(--t); }
.billing-label.on { color: var(--navy); font-weight: 700; }
.toggle-btn { width: 46px; height: 24px; border-radius: 999px; background: var(--blue); border: none; cursor: pointer; position: relative; flex-shrink: 0; }
.toggle-dot { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); display: block; box-shadow: var(--shadow-sm); }
.save-badge { background: var(--green); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; }

/* Plan card */
.price-card-full {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); padding: 26px; display: flex;
  flex-direction: column; position: relative; transition: all .2s;
  border-top: 4px solid var(--plan-color, var(--blue));
}
.price-card-full:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-card-full.popular { border: 2px solid var(--blue); border-top: 4px solid var(--blue); box-shadow: var(--shadow-lg); }
.price-card-full.enterprise { background: var(--navy); border-color: var(--navy); }
.price-card-full.enterprise .plan-name,
.price-card-full.enterprise .plan-tagline,
.price-card-full.enterprise .price-period,
.price-card-full.enterprise .features-title { color: rgba(255,255,255,.9); }
.price-card-full.enterprise .plan-feature span:last-child { color: rgba(255,255,255,.8); }
.price-card-full.enterprise .plan-header { border-bottom-color: rgba(255,255,255,.1); }
.price-card-full.enterprise .feature-check { background: rgba(255,255,255,.15) !important; color: #fff !important; }
.plan-badge { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); background: var(--plan-color); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 14px; border-radius: 0 0 8px 8px; white-space: nowrap; letter-spacing: .04em; }
.plan-header { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.plan-name { font-family: var(--font-head); font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.plan-tagline { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.price-amount-big { font-family: var(--font-head); font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: var(--plan-color, var(--blue)); }
.price-custom { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--gold); }
.price-card-full.enterprise .price-amount-big,
.price-card-full.enterprise .price-custom { color: #fff; }
.price-period { font-size: 13px; color: var(--text-muted); align-self: flex-end; padding-bottom: 4px; }
.price-saving { font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 3px 8px; border-radius: 999px; margin-top: 4px; display: inline-block; }
.plan-cta { margin-bottom: 18px; }
.plan-btn { width: 100% !important; border-radius: var(--r-lg) !important; font-size: 14px !important; padding: 12px !important; }
.plan-features { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.features-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 4px; }
.plan-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-3); line-height: 1.5; }
.plan-feature.excluded { opacity: .4; }
.plan-feature.see-more { cursor: pointer; }
.plan-feature.see-more:hover { opacity: .7; }
.feature-check { width: 17px; height: 17px; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: 9px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.feature-cross { width: 17px; height: 17px; border-radius: 50%; background: var(--red-bg); color: var(--red); font-size: 9px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.features-excluded-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.pricing-trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; padding: 16px; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--border); }
.pricing-trust span { font-size: 13px; font-weight: 500; color: var(--text-3); }

/* ══════════════════════════════════════════════════════════════════
   NOTIFICATIONS PANEL
══════════════════════════════════════════════════════════════════ */
.notif-panel { position: absolute; top: 100%; right: 24px; width: 360px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-xl); z-index: 500; overflow: hidden; }
.notif-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notif-header strong { font-size: 14px; font-weight: 700; color: var(--navy); }
.notif-header button { font-size: 12px; color: var(--blue); font-weight: 600; background: none; border: none; }
.notif-list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--t); }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: var(--blue-faint); }
.notif-icon { font-size: 20px; flex-shrink: 0; }
.notif-body strong { font-size: 13px; font-weight: 600; color: var(--navy); display: block; margin-bottom: 2px; }
.notif-body p { font-size: 12px; color: var(--text-muted); }
.notif-body small { font-size: 11px; color: var(--text-faint); }
.notif-empty { padding: 24px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead tr { background: var(--raised); }
th { text-align: left; padding: 11px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg); }

/* ══════════════════════════════════════════════════════════════════
   CV PREVIEW
══════════════════════════════════════════════════════════════════ */
.cv-preview-card { background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: var(--r-xl); padding: 24px; }
.cv-preview-card h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cv-hl { font-size: 14px; color: var(--blue); font-weight: 600; }
.cv-status-empty { text-align: center; padding: 24px; color: var(--text-muted); }
.cv-status-empty p { margin-bottom: 12px; font-size: 14px; }

/* ══════════════════════════════════════════════════════════════════
   DASHBOARD
══════════════════════════════════════════════════════════════════ */
.dash-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 12px; margin-bottom: 20px; }
.dash-stat-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-lg); padding: 16px; text-align: center; }
.dash-stat-num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.dash-stat-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:768px){ .dash-grid { grid-template-columns: 1fr; } }
.dash-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 20px; }
.dash-panel.full-width { grid-column: 1/-1; }
.dash-panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.dash-panel-header h3 { font-size: 15px; font-weight: 700; color: var(--navy); }

/* ══════════════════════════════════════════════════════════════════
   ATS PIPELINE
══════════════════════════════════════════════════════════════════ */
.pipeline-board { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; overflow-x: auto; }
@media(max-width:900px){ .pipeline-board { grid-template-columns: repeat(2,1fr); } }
.pipeline-col { background: var(--raised); border-radius: var(--r-lg); padding: 14px; min-height: 200px; }
.pipeline-col-header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.pipeline-cards { display: flex; flex-direction: column; gap: 8px; }
.pipeline-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px; font-size: 13px; }
.pipeline-card strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.pipeline-card p { color: var(--text-muted); font-size: 12px; }

/* ══════════════════════════════════════════════════════════════════
   PAYROLL
══════════════════════════════════════════════════════════════════ */
.payroll-breakdown { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-xl); overflow: hidden; }
.pay-row { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-2); }
.pay-row.header { background: var(--blue-faint); font-weight: 700; font-size: 15px; color: var(--navy); }
.pay-row.deduction { color: var(--text-muted); }
.pay-row.total { font-weight: 700; font-size: 15px; border-bottom: none; background: var(--raised); }
.pay-row.highlight { font-weight: 800; color: var(--blue); font-size: 16px; border-bottom: none; }

/* ══════════════════════════════════════════════════════════════════
   AI CHAT WIDGET
══════════════════════════════════════════════════════════════════ */
.ai-bubble { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: var(--font); }
.ai-toggle {
  display: flex; align-items: center; gap: 9px;
  background: var(--navy); color: #fff; border: none;
  border-radius: 999px; padding: 12px 20px;
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 24px rgba(15,31,77,.35);
  transition: all .2s; position: relative;
}
.ai-toggle:hover { background: #1a3470; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(15,31,77,.4); }
.ai-icon { font-size: 18px; }
.ai-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.ai-panel {
  position: absolute; bottom: 62px; right: 0; width: 360px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); box-shadow: var(--shadow-xl);
  overflow: hidden; display: flex; flex-direction: column; max-height: 500px;
}
@media(max-width:420px){ .ai-panel { width: calc(100vw - 32px); } }
.ai-panel-header { background: var(--navy); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.ai-header-left { display: flex; align-items: center; gap: 10px; }
.ai-avatar { font-size: 22px; }
.ai-panel-header strong { color: #fff; font-size: 14px; font-weight: 700; display: block; }
.ai-status-dot { font-size: 8px; color: var(--green); margin-right: 3px; }
.ai-status-text { font-size: 10px; color: rgba(255,255,255,.6); font-weight: 500; }
.ai-close { background: rgba(255,255,255,.1); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 14px; display: grid; place-items: center; }
.ai-close:hover { background: rgba(255,255,255,.2); }
.ai-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.ai-msg { display: flex; gap: 8px; }
.ai-msg.user { flex-direction: row-reverse; }
.ai-msg-bubble { max-width: 85%; background: var(--raised); border: 1px solid var(--border); border-radius: 14px 14px 14px 4px; padding: 10px 13px; font-size: 13px; line-height: 1.6; color: var(--text); }
.ai-msg.user .ai-msg-bubble { background: var(--blue); color: #fff; border-color: var(--blue); border-radius: 14px 14px 4px 14px; }
.ai-msg.bot-tip .ai-msg-bubble { background: var(--blue-faint); border-color: var(--blue-light); color: var(--blue); font-size: 12px; font-style: italic; }
.ai-typing { display: flex; align-items: center; gap: 4px; padding: 12px 14px; }
.ai-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: aiTyping 1.2s infinite; }
.ai-typing span:nth-child(2){ animation-delay: .2s; }
.ai-typing span:nth-child(3){ animation-delay: .4s; }
@keyframes aiTyping{ 0%,80%,100%{opacity:.3;transform:scale(.8)} 40%{opacity:1;transform:scale(1)} }
.ai-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.ai-quick-replies button { background: var(--blue-faint); border: 1px solid var(--blue-light); color: var(--blue); border-radius: 999px; padding: 5px 12px; font-size: 11px; font-weight: 600; cursor: pointer; font-family: var(--font); transition: all var(--t); }
.ai-quick-replies button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.ai-input-row { display: flex; border-top: 1px solid var(--border); flex-shrink: 0; }
#aiInput { flex: 1; padding: 11px 14px; border: none; font-size: 13px; font-family: var(--font); background: var(--surface); color: var(--text); outline: none; }
.ai-send { padding: 11px 16px; background: var(--blue); border: none; color: #fff; font-size: 14px; cursor: pointer; transition: background var(--t); flex-shrink: 0; }
.ai-send:hover { background: var(--blue-hover); }
.ai-send:disabled { background: var(--text-muted); cursor: not-allowed; }
.ai-disclaimer { font-size: 10px; color: var(--text-faint); text-align: center; padding: 6px 14px; background: var(--raised); margin: 0; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   UK LEGAL TABS
══════════════════════════════════════════════════════════════════ */
.uk-law-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
.uk-law-tabs::-webkit-scrollbar { display: none; }
.uk-tab { padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--text-muted); background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; margin-bottom: -2px; font-family: var(--font); transition: all var(--t); flex-shrink: 0; }
.uk-tab.on { color: var(--blue); border-bottom-color: var(--blue); }
.uk-tab-panel { display: none; }
.uk-tab-panel.on { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:none} }
.uk-law-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-xl); padding: 24px; }
.uk-law-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 5px; }
.uk-law-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.wage-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 12px; margin-bottom: 16px; }
.wage-card { background: var(--raised); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-lg); padding: 16px; text-align: center; }
.wage-card.nlw { background: var(--blue-faint); border-top-color: var(--blue); }
.wage-card.voluntary { border-top-color: var(--green); }
.wage-rate { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; line-height: 1; }
.wage-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 5px 0 3px; }
.wage-who { font-size: 12px; color: var(--text-3); font-weight: 500; }
.wage-annual { font-size: 11px; color: var(--text-faint); margin-top: 4px; }
.statutory-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; }
.stat-icon { font-size: 22px; margin-bottom: 6px; }
.stat-name { font-size: 12px; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.stat-rate { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--blue); margin-bottom: 6px; }
.stat-note { font-size: 11.5px; color: var(--text-muted); line-height: 1.55; }
.law-notice { background: var(--amber-bg); border-left: 3px solid var(--amber); border-radius: var(--r-md); padding: 10px 14px; font-size: 12.5px; color: var(--amber); font-weight: 500; line-height: 1.6; margin-top: 14px; }
.law-notice.info { background: var(--blue-faint); border-left-color: var(--blue); color: var(--blue); }

/* ══════════════════════════════════════════════════════════════════
   UK CONTRACTS
══════════════════════════════════════════════════════════════════ */
.contract-selector-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 12px; margin-bottom: 20px; }
.contract-type-card { background: var(--raised); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 18px; cursor: pointer; transition: all var(--t); text-align: center; }
.contract-type-card:hover { border-color: var(--blue); background: var(--blue-faint); }
.ct-icon { font-size: 26px; margin-bottom: 8px; }
.ct-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ct-legal { font-size: 10px; color: var(--text-muted); line-height: 1.4; }
.contract-preview-area { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-xl); padding: 24px; }
.contract-preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 10px; }
.contract-preview-header h4 { font-size: 16px; font-weight: 800; color: var(--navy); }
.contract-text { font-size: 11.5px; line-height: 1.75; white-space: pre-wrap; font-family: 'Courier New', monospace; background: var(--raised); border-radius: var(--r-md); padding: 16px; max-height: 420px; overflow-y: auto; margin-top: 12px; color: var(--text-2); }
.uk-legal-disclaimer { background: var(--amber-bg); border: 1px solid rgba(217,119,6,.2); border-radius: var(--r-lg); padding: 14px 18px; font-size: 12.5px; color: var(--amber); line-height: 1.65; margin-top: 24px; }

/* ══════════════════════════════════════════════════════════════════
   COMPLIANCE
══════════════════════════════════════════════════════════════════ */
.country-compliance-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 12px; margin-top: 16px; }
.country-compliance-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; display: flex; align-items: flex-start; gap: 12px; transition: all var(--t); }
.country-compliance-card:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.country-flag { font-size: 26px; flex-shrink: 0; }
.country-info { flex: 1; }
.country-info h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.country-authority { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.country-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.checklist-result { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: var(--r-xl); padding: 24px; }
.checklist-header h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.checklist-header p { font-size: 13px; color: v
}
/* ══ COMPATIBILITY ALIASES (old class names → new system) ══════ */
.topbar, .site-header { position: sticky; top: 0; z-index: 1000; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: var(--navy); border-radius: 10px; }
.logo-mark-letter { color: #fff; font-weight: 800; font-size: 12px; }
.logo-mark-badge { display: none; }
.brand-text strong { font-size: 14px; font-weight: 700; color: var(--navy); }
.brand-text small { font-size: 10px; color: var(--text-muted); display: block; }
.main-nav { display: flex; gap: 4px; align-items: center; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.region-selector { appearance: none; background: var(--raised); border: 1px solid var(--border); border-radius: 999px; padding: 5px 28px 5px 12px; font-size: 13px; cursor: pointer; }
.notif-btn { background: var(--raised); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; align-items: center; justify-content: center; background: none; border: 1px solid var(--border); border-radius: var(--r-md); padding: 7px; }
.hamburger span { width: 16px; height: 1.5px; background: var(--text-2); border-radius: 2px; display: block; }
@media(max-width:900px){ .hamburger { display: flex; } .main-nav { display: none; } }
.hero-lead { font-size: 16px; line-height: 1.75; color: var(--text-muted); max-width: 500px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.auth-required-note { font-size: 12px; color: var(--amber); background: var(--amber-bg); padding: 8px 14px; border-radius: var(--r-md); margin-bottom: 16px; display: inline-block; border-left: 3px solid var(--amber); }
.hero-dashboard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: 24px; box-shadow: var(--shadow-xl); }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.dash-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.dash-metric { background: var(--bg); border-radius: var(--r-md); padding: 12px 8px; text-align: center; border: 1px solid var(--border); }
.dash-num { display: block; font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.dash-label { display: block; font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dash-ai { background: var(--blue-faint); border: 1px solid var(--blue-light); border-radius: var(--r-lg); padding: 12px 14px; margin-bottom: 12px; }
.dash-ai-label { font-size: 11px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 4px; }
.dash-regions { display: flex; flex-wrap: wrap; gap: 6px; }
.global-banner { background: var(--navy); padding: 20px 0; }
.global-banner-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.global-hq { display: flex; align-items: center; gap: 12px; }
.global-hq-flag { font-size: 28px; }
.global-hq strong { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.global-hq p { font-size: 12px; color: rgba(255,255,255,.65); }
.global-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.global-reach { flex: 1; }
.global-reach-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin-bottom: 8px; }
.global-flags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 22px; }
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 8000; background: var(--navy); }
.cookie-banner a { color: var(--gold); }
.section-pad-sm { padding: 48px 0; }
.split-text { display: flex; flex-direction: column; justify-content: center; }
.gate-sub { font-size: 13px; color: var(--text-muted); margin-top: 10px; text-align: center; }
.score-label { font-size: 11px; color: var(--text-muted); }
.section-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.my-checks { margin-top: 16px; }
.feature-list-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 7px; }
.feature-list-check { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.placeholder-text { color: var(--text-faint); font-size: 14px; }
.animate-in { opacity: 0; transform: translateY(18px); animation: fadeUp .6s var(--ease) forwards; animation-delay: var(--d,0s); }
@keyframes fadeUp { to { opacity:1; transform: none; } }
.section-pad.alt { background: var(--surface); }
.section-pad.dark { background: var(--navy); color: #fff; }
.section-pad.dark h2, .section-pad.dark h3 { color: #fff; }
.eu-blue { color: var(--blue); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.gap-10 { gap: 10px; }
.loading-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(37,99,235,.3); border-top-color: var(--blue); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notif-read-all { font-size: 12px; color: var(--blue); font-weight: 600; background: none; border: none; cursor: pointer; }
.user-greeting { font-size: 14px; font-weight: 600; color: var(--text-2); }
.hr-divider { height: 1px; background: var(--border); margin: 16px 0; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: 15px; font-weight: 700; }
.application-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 10px; }
.cv-prev { border-radius: var(--r-lg); background: var(--blue-faint); border: 1px solid var(--blue-light); padding: 14px; }
.cv-name { font-size: 16px; font-weight: 800; color: var(--navy); }
.cv-hl { font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 3px; }
.compliant-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--green-bg); color: var(--green); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; }
.badge-item { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.badge.gold { background: var(--gold-light); color: var(--amber); }
