/* ══════════════════════════════════════════════
   AHire — Evotech SaaS Standard Light Theme
   Matches evolve.evotech.au / staging.evotech.au
   ══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  /* ── Backgrounds ── */
  --bg:       #ffffff;
  --bg2:      #f7f8fc;
  --bg3:      #f0f2f8;
  --bg4:      #e8ebf5;
  --card:     #ffffff;

  /* ── Borders ── */
  --border:   #e2e5ef;
  --border2:  #cdd2e8;

  /* ── Text ── */
  --text:     #0d0f1a;
  --muted:    #6b7280;
  --dim:      #9ca3af;

  /* ── Brand — Evotech blue ── */
  --blue:        #2563eb;
  --blue-h:      #1d4ed8;
  --blue-pale:   #eff6ff;
  --blue-border: #bfdbfe;

  /* ── Accent ── */
  --purple:      #7c3aed;
  --teal:        #0891b2;
  --teal-pale:   #ecfeff;
  --teal-border: #a5f3fc;

  /* ── Gradient (kept for hero / logo) ── */
  --grad: linear-gradient(135deg, #2563eb, #7c3aed);

  /* ── Status ── */
  --green:  #059669;
  --yellow: #d97706;
  --amber:  #d97706;
  --red:    #dc2626;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);

  /* ── Radius ── */
  --r4:  4px; --r6:  6px; --r8:  8px; --r10: 10px;
  --r12: 12px;--r16: 16px;--r20: 20px;--r24: 24px;

  /* ── Typography ── */
  --fd: 'Syne',    sans-serif;   /* display / headings */
  --fb: 'DM Sans', sans-serif;   /* body */

  /* ── Layout ── */
  --nav-h:     64px;
  --sidebar-w: 240px;
  --max:       1200px;
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased }
body { font-family:var(--fb); background:var(--bg); color:var(--text); line-height:1.6; overflow-x:hidden; font-size:16px }
a    { color:inherit; text-decoration:none }
img  { max-width:100%; display:block }
ul   { list-style:none }
button { cursor:pointer; font-family:var(--fb) }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family:var(--fd); letter-spacing:-.02em; line-height:1.15; color:var(--text) }
h1 { font-size:clamp(1.9rem,3.8vw,3rem); font-weight:800; margin-bottom:16px }
h2 { font-size:clamp(1.3rem,2.4vw,1.9rem); font-weight:700; margin-bottom:12px }
h3 { font-size:1.1rem; font-weight:700; margin-bottom:8px }
h4 { font-size:.95rem; font-weight:700 }
h1 .grad { background:var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent }
.page-title { font-family:var(--fd); font-size:1.5rem; font-weight:700; letter-spacing:-.02em; margin-bottom:4px }
.page-sub   { font-size:.9rem; color:var(--muted) }
.eyebrow,.section-label {
  font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--blue); margin-bottom:10px
}

/* ── CONTAINER ── */
.container { max-width:var(--max); margin:0 auto; padding:0 40px }

/* ── NAV — Evotech SaaS Standard ── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  height:var(--nav-h); display:flex; align-items:center; padding:0 5%; transition:.3s;
}
/* Dark hero variant: transparent until scrolled */
.nav-dark { background: transparent }
.nav-dark .nav-logo-text { color: #fff }
.nav-dark .nav-links a   { color: rgba(255,255,255,.6) }
.nav-dark .nav-links a:hover { color: #fff; background: rgba(255,255,255,.07) }
.nav-dark .clicky-trigger { color: rgba(255,255,255,.6) }
.nav-dark .clicky-trigger:hover { color: #fff; background: rgba(255,255,255,.07) }
.nav-dark .btn-ghost { border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.8) }
.nav-dark .btn-ghost:hover { background: rgba(255,255,255,.07); color: #fff }
.nav-dark.scrolled .nav-logo-text { color: var(--text) }
.nav-dark.scrolled .nav-links a   { color: var(--muted) }
.nav-dark.scrolled .nav-links a:hover { color: var(--text); background: var(--bg2) }
.nav-dark.scrolled .clicky-trigger { color: var(--muted) }
.nav-dark.scrolled .btn-ghost { border-color: var(--border); color: var(--muted) }
.nav.scrolled {
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  width:100%; max-width:var(--max); margin:auto
}
.nav-logo { display:flex; align-items:center; gap:10px; text-decoration:none; flex-shrink:0 }
.nav-logo-img { height:34px; width:34px; border-radius:var(--r8); object-fit:cover; flex-shrink:0 }
.nav-logo img { height:34px; width:34px; border-radius:var(--r8) }
.nav-logo-text {
  font-family:var(--fd); font-weight:700; font-size:1.05rem;
  letter-spacing:-.02em; color:var(--text); white-space:nowrap
}
.nav-logo-text em { font-style:normal; color:var(--blue) }
.nav-logo span { background:var(--grad); -webkit-background-clip:text; -webkit-text-fill-color:transparent }
.nav-links { display:flex; gap:2px; margin:0 auto }
.nav-links a {
  padding:7px 13px; border-radius:var(--r8); font-size:.875rem;
  font-weight:500; color:var(--muted); transition:.15s
}
.nav-links a:hover, .nav-links a.active { color:var(--text); background:var(--bg2) }
.nav-cta { display:flex; gap:8px; align-items:center }

/* ── BUTTONS — Evotech SaaS Standard ── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:9px 20px; border-radius:var(--r8);
  font-weight:600; font-size:.875rem; font-family:var(--fb);
  cursor:pointer; transition:all .2s; border:none;
  text-decoration:none; white-space:nowrap; line-height:1.4
}
.btn-primary {
  background:var(--blue); color:#fff;
  box-shadow:0 2px 8px rgba(37,99,235,.25)
}
.btn-primary:hover {
  background:var(--blue-h); transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(37,99,235,.35)
}
.btn-ghost {
  background:transparent; color:var(--muted);
  border:1.5px solid var(--border)
}
.btn-ghost:hover { border-color:var(--border2); color:var(--text); background:var(--bg2) }
.btn-outline {
  background:var(--bg); color:var(--blue);
  border:1.5px solid var(--blue-border)
}
.btn-outline:hover { background:var(--blue-pale); border-color:var(--blue) }
.btn-teal   { background:var(--teal); color:#fff }
.btn-teal:hover { opacity:.9; transform:translateY(-1px) }
.btn-danger {
  background:rgba(220,38,38,.08); color:var(--red);
  border:1.5px solid rgba(220,38,38,.2)
}
.btn-danger:hover { background:rgba(220,38,38,.14) }
.btn-success {
  background:rgba(5,150,105,.08); color:var(--green);
  border:1.5px solid rgba(5,150,105,.2)
}
.btn-success:hover { background:rgba(5,150,105,.14) }
.btn-grad { background:var(--grad); color:#fff }
.btn-grad:hover { opacity:.92; transform:translateY(-1px); box-shadow:0 4px 14px rgba(37,99,235,.3) }
.btn-lg  { padding:13px 28px; font-size:1rem;  border-radius:var(--r12) }
.btn-sm  { padding:6px 14px;  font-size:.8rem; border-radius:var(--r6) }
.btn-xs  { padding:4px 10px;  font-size:.75rem;border-radius:var(--r6) }
.btn-full{ width:100%; justify-content:center }
.btn svg, .btn-icon svg { width:14px; height:14px; flex-shrink:0 }

/* ── CARDS ── */
.card {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--r16); padding:24px; transition:all .2s
}
.card:hover { border-color:var(--border2); box-shadow:var(--shadow-sm) }
.card-sm   { padding:16px; border-radius:var(--r12) }
.card-header {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:20px
}
.card-title { font-family:var(--fd); font-size:.95rem; font-weight:700; color:var(--text) }
.card-feat  { border-color:var(--blue-border) }
.card-feat::before {
  content:''; display:block; height:3px;
  background:linear-gradient(90deg,var(--blue),var(--teal));
  border-radius:var(--r16) var(--r16) 0 0;
  margin:-24px -24px 20px
}

/* ── BADGES / TAGS ── */
.badge {
  display:inline-flex; align-items:center; gap:5px;
  padding:3px 10px; border-radius:100px;
  font-size:.72rem; font-weight:600; letter-spacing:.3px
}
.badge-blue   { background:var(--blue-pale);               color:var(--blue);   border:1px solid var(--blue-border) }
.badge-teal   { background:var(--teal-pale);               color:var(--teal);   border:1px solid var(--teal-border) }
.badge-green  { background:#d1fae5;                        color:var(--green);  border:1px solid #a7f3d0 }
.badge-amber  { background:rgba(217,119,6,.08);            color:var(--amber);  border:1px solid rgba(217,119,6,.2) }
.badge-red    { background:#fee2e2;                        color:var(--red);    border:1px solid #fca5a5 }
.badge-muted  { background:var(--bg3);                     color:var(--muted);  border:1px solid var(--border) }
.badge-purple { background:rgba(124,58,237,.08);           color:var(--purple); border:1px solid rgba(124,58,237,.2) }
.badge-applied   { background:var(--blue-pale); color:var(--blue) }
.badge-interview { background:#d1fae5;          color:var(--green) }
.badge-pending   { background:rgba(217,119,6,.08); color:var(--amber) }

/* ── FORMS ── */
.form-group { margin-bottom:16px }
.form-group label, .form-label {
  display:block; font-size:.8rem; font-weight:600;
  color:var(--muted); margin-bottom:6px; letter-spacing:.01em
}
.form-control, .form-input {
  width:100%; background:var(--bg2); border:1.5px solid var(--border);
  border-radius:var(--r8); padding:10px 14px;
  color:var(--text); font-size:.9rem; font-family:var(--fb);
  outline:none; transition:border-color .2s, box-shadow .2s
}
.form-control:focus, .form-input:focus {
  border-color:var(--blue-border); background:#fff;
  box-shadow:0 0 0 3px rgba(37,99,235,.06)
}
.form-control::placeholder, .form-input::placeholder { color:var(--dim) }
select.form-control, select.form-input {
  cursor:pointer; appearance: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='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center;
  padding-right:36px
}
textarea.form-control { resize:vertical; min-height:100px }
.form-hint { font-size:.78rem; color:var(--dim); margin-top:5px }
.form-hint a { color:var(--blue) }
.form-notice {
  padding:12px 16px; border-radius:var(--r8);
  font-size:.85rem; margin-bottom:16px; border:1px solid
}
.form-notice-ok  { background:#d1fae5; border-color:#a7f3d0; color:var(--green) }
.form-notice-err { background:#fee2e2; border-color:#fca5a5; color:var(--red) }
.form-notice-info{ background:var(--blue-pale); border-color:var(--blue-border); color:var(--blue) }

/* ── SIDEBAR — Evotech app layout ── */
.sidebar {
  position:fixed; top:0; left:0; bottom:0; width:var(--sidebar-w);
  background:var(--bg); border-right:1px solid var(--border);
  z-index:900; display:flex; flex-direction:column; transition:.3s
}
.sidebar-logo {
  display:flex; align-items:center; gap:9px;
  padding:18px 20px 14px; border-bottom:1px solid var(--border);
  text-decoration:none
}
.sidebar-logo-icon {
  width:30px; height:30px; border-radius:var(--r8);
  background:var(--grad); display:flex; align-items:center;
  justify-content:center; font-family:var(--fd);
  font-weight:800; font-size:.85rem; color:#fff; flex-shrink:0
}
.sidebar-logo-text {
  font-family:var(--fd); font-weight:700;
  font-size:1rem; letter-spacing:-.02em; color:var(--text)
}
.sidebar-logo-text em { font-style:normal; color:var(--blue) }
.sidebar-nav { flex:1; overflow-y:auto; padding:10px 10px; scrollbar-width:none }
.sidebar-nav::-webkit-scrollbar { display:none }
.sidebar-section-label {
  font-size:.65rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--dim);
  padding:8px 10px 4px; margin-top:4px
}
.sidebar-nav a {
  display:flex; align-items:center; gap:9px;
  padding:8px 12px; border-radius:var(--r8);
  font-size:.875rem; font-weight:500; color:var(--muted);
  transition:.15s; text-decoration:none; margin-bottom:1px
}
.sidebar-nav a:hover       { color:var(--text); background:var(--bg2) }
.sidebar-nav a.active      {
  color:var(--blue); background:var(--blue-pale);
  font-weight:600; border-left:3px solid var(--blue); padding-left:9px
}
.sidebar-nav a .nav-icon   { width:18px; text-align:center; flex-shrink:0; font-size:1rem; opacity:.7 }
.sidebar-nav a.active .nav-icon { opacity:1 }
.sidebar-footer { padding:10px; border-top:1px solid var(--border) }
.sidebar-logout-btn { display:flex; align-items:center; gap:8px; padding:10px 16px; margin:4px 8px 0; border-radius:8px; color:#ef4444 !important; font-weight:600; text-decoration:none; border-top:1px solid var(--border); transition:background .15s; }
.sidebar-logout-btn:hover { background:rgba(239,68,68,.1); }
.sidebar-user {
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:var(--r10);
  transition:.15s; cursor:pointer
}
.sidebar-user:hover { background:var(--bg2) }
.sidebar-avatar {
  width:30px; height:30px; border-radius:50%;
  background:var(--grad); display:flex; align-items:center;
  justify-content:center; font-size:.8rem; font-weight:700;
  color:#fff; flex-shrink:0
}
.sidebar-user-name { font-size:.85rem; font-weight:600; color:var(--text); line-height:1.2 }
.sidebar-user-role { font-size:.72rem; color:var(--muted) }

/* ── APP SHELL ── */
.app-shell   { display:flex; min-height:100vh }
.app-main    { flex:1; margin-left:var(--sidebar-w); min-height:100vh; background:var(--bg2) }
.app-topbar  {
  height:60px; background:var(--bg); border-bottom:1px solid var(--border);
  display:flex; align-items:center; padding:0 28px; gap:16px;
  position:sticky; top:0; z-index:800; box-shadow:var(--shadow-xs)
}
.app-topbar-title { font-family:var(--fd); font-size:1rem; font-weight:700; flex:1 }
.app-content  { padding:28px }

/* ── TABLES ── */
.e-table { width:100%; border-collapse:collapse }
.e-table th {
  font-size:.72rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.07em; color:var(--dim); padding:10px 16px;
  border-bottom:1px solid var(--border); text-align:left; background:var(--bg2)
}
.e-table td { padding:13px 16px; border-bottom:1px solid var(--border); font-size:.875rem }
.e-table tr:last-child td { border-bottom:none }
.e-table tr:hover td { background:var(--bg2) }
.e-table-wrap {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--r16); overflow:hidden; box-shadow:var(--shadow-xs)
}
/* legacy class aliases */
.jobs-table { width:100%; border-collapse:collapse }
.jobs-table th {
  font-size:.72rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.06em; color:var(--dim); padding:10px 14px;
  border-bottom:1px solid var(--border); text-align:left; background:var(--bg2)
}
.jobs-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-size:.875rem }
.jobs-table tr:hover td { background:var(--bg2) }

/* ── TABS ── */
.tabs {
  display:flex; gap:2px; background:var(--bg3);
  border-radius:var(--r10); padding:3px; width:fit-content; margin-bottom:24px
}
.tab-btn {
  padding:7px 16px; border-radius:var(--r8); font-size:.85rem;
  font-weight:500; color:var(--muted); cursor:pointer;
  transition:.15s; border:none; background:transparent; font-family:var(--fb)
}
.tab-btn:hover { color:var(--text) }
.tab-btn.active {
  background:var(--card); color:var(--blue);
  box-shadow:var(--shadow-xs); font-weight:600
}

/* ── MODALS ── */
.modal-overlay {
  position:fixed; inset:0; background:rgba(13,15,26,.55);
  backdrop-filter:blur(4px); z-index:2000;
  display:none; align-items:center; justify-content:center; padding:20px;
  opacity:0; transition:opacity .2s
}
.modal-overlay.open {
  display:flex; opacity:1
}
.modal {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--r20); padding:32px;
  max-width:520px; width:100%; box-shadow:var(--shadow-lg); position:relative
}
.modal-sm { max-width:380px; padding:24px }
.modal-lg { max-width:720px }
.modal-header {
  display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:20px
}
.modal-title { font-family:var(--fd); font-size:1.1rem; font-weight:700 }
.modal-close {
  background:transparent; border:none; color:var(--dim);
  cursor:pointer; font-size:1.2rem; padding:2px; line-height:1; transition:.15s
}
.modal-close:hover { color:var(--text) }
.modal-footer {
  display:flex; gap:10px; justify-content:flex-end;
  margin-top:24px; padding-top:20px; border-top:1px solid var(--border)
}

/* ── PROGRESS ── */
.progress-bar  { height:6px; background:var(--bg3); border-radius:100px; overflow:hidden }
.progress-fill { height:100%; border-radius:100px; background:var(--blue); transition:width .6s ease }
.progress-fill.green { background:var(--green) }
.progress-fill.amber { background:var(--amber) }
.progress-fill.red   { background:var(--red) }
.progress-fill.grad  { background:var(--grad) }

/* ── STATUS DOTS ── */
.status-dot  { width:8px; height:8px; border-radius:50%; flex-shrink:0; display:inline-block }
.dot-blue    { background:var(--blue) }
.dot-green   { background:var(--green) }
.dot-amber   { background:var(--amber) }
.dot-red     { background:var(--red) }
.dot-muted   { background:var(--dim) }
.dot-pulse   { animation:dotpulse 2s infinite }
@keyframes dotpulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── ALERTS ── */
.alert {
  display:flex; gap:12px; align-items:flex-start;
  padding:14px 16px; border-radius:var(--r10); border:1px solid;
  font-size:.875rem; margin-bottom:16px
}
.alert-icon { font-size:1rem; flex-shrink:0; margin-top:1px }
.alert-blue   { background:var(--blue-pale); border-color:var(--blue-border); color:var(--text) }
.alert-green  { background:#d1fae5; border-color:#a7f3d0; color:var(--text) }
.alert-amber  { background:rgba(217,119,6,.08); border-color:rgba(217,119,6,.2); color:var(--text) }
.alert-red    { background:#fee2e2; border-color:#fca5a5; color:var(--text) }

/* ── EMPTY STATES ── */
.empty-state {
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; padding:64px 24px; text-align:center; color:var(--muted)
}
.empty-icon  { font-size:3rem; margin-bottom:16px; opacity:.4 }
.empty-title { font-family:var(--fd); font-size:1rem; font-weight:700; color:var(--text); margin-bottom:6px }
.empty-sub   { font-size:.875rem; color:var(--muted); max-width:280px; line-height:1.6; margin-bottom:20px }

/* ── LOADING ── */
@keyframes spin { to { transform:rotate(360deg) } }
.spinner    { width:20px; height:20px; border:2px solid var(--border); border-top-color:var(--blue); border-radius:50%; animation:spin .6s linear infinite; flex-shrink:0 }
.spinner-sm { width:14px; height:14px }
.spinner-lg { width:32px; height:32px; border-width:3px }

/* ── TOOLTIPS ── */
[data-tip] { position:relative; cursor:help }
[data-tip]::after {
  content:attr(data-tip); position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%);
  background:var(--text); color:#fff; font-size:.72rem; font-family:var(--fb);
  padding:5px 10px; border-radius:var(--r6); white-space:nowrap;
  pointer-events:none; opacity:0; transition:opacity .2s; z-index:9999
}
[data-tip]:hover::after { opacity:1 }

/* ── HERO (public pages) ── */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }
@keyframes slideIn { from{opacity:0;transform:translateX(-10px)} to{opacity:1;transform:none} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

section { padding:80px 5% }
.section-title { font-family:var(--fd); font-size:clamp(1.6rem,2.8vw,2.4rem); font-weight:800; letter-spacing:-.02em; margin-bottom:12px }
.section-sub   { color:var(--muted); font-size:.95rem; max-width:560px; line-height:1.75 }
.text-center   { text-align:center }
.text-center .section-sub { margin:0 auto }

/* ── HERO BADGE ── */
.hero-badge-futuristic {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--blue-pale); border:1px solid var(--blue-border);
  border-radius:50px; padding:6px 18px; font-size:.78rem;
  font-weight:600; color:var(--blue); margin-bottom:28px; letter-spacing:.4px
}
.hero-badge-futuristic span {
  width:6px; height:6px; background:var(--green);
  border-radius:50%; animation:pulse 2s infinite
}
.hero-title-futuristic {
  font-family:var(--fd); font-size:clamp(2rem,4vw,3.2rem);
  font-weight:800; line-height:1.1; margin-bottom:24px;
  letter-spacing:-.03em; color:var(--text)
}
.hero-title-futuristic .blue { color:var(--blue) }
.hero-sub-futuristic { font-size:1.05rem; color:var(--muted); max-width:640px; margin-bottom:36px; line-height:1.7 }

/* ── GLASS STAT CARDS (hero section) ── */
.hero-stats-glass { display:flex; gap:16px; justify-content:center; margin-bottom:40px; flex-wrap:wrap }
.glass-stat-card {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--r16); padding:20px 24px; min-width:180px; flex:1;
  box-shadow:var(--shadow-sm); transition:all .2s
}
.glass-stat-card:hover { border-color:var(--blue-border); transform:translateY(-2px); box-shadow:var(--shadow) }
.glass-stat-label { font-size:.72rem; color:var(--muted); font-weight:700; margin-bottom:6px; text-transform:uppercase; letter-spacing:1px }
.glass-stat-num-wrapper { display:flex; justify-content:space-between; align-items:center }
.glass-stat-num { font-family:var(--fd); font-size:2.2rem; font-weight:800; color:var(--text) }
.glass-stat-trend { font-size:.8rem; color:var(--green); font-weight:600 }

/* ── APP PREVIEW WIDGET (landing) ── */
.app-preview { background:var(--card); border:1.5px solid var(--border); border-radius:var(--r20); overflow:hidden; box-shadow:var(--shadow-md) }
.app-bar { background:var(--bg2); border-bottom:1px solid var(--border); padding:12px 18px; display:flex; align-items:center; gap:8px }
.app-dots { display:flex; gap:6px }
.app-dots span { width:10px; height:10px; border-radius:50% }
.app-dots span:nth-child(1){background:#EF4444}
.app-dots span:nth-child(2){background:var(--yellow)}
.app-dots span:nth-child(3){background:var(--green)}
.app-title { font-size:.8rem; color:var(--muted); margin-left:8px }
.app-body  { padding:20px }
.app-stat-row { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px }
.app-stat   { background:var(--bg2); border:1px solid var(--border); border-radius:var(--r10); padding:14px; text-align:center }
.app-stat-n { font-family:var(--fd); font-size:1.4rem; font-weight:800; color:var(--blue) }
.app-stat-l { font-size:.7rem; color:var(--muted) }
.app-job {
  background:var(--bg2); border:1px solid var(--border);
  border-radius:var(--r10); padding:13px; margin-bottom:10px;
  display:flex; align-items:center; gap:12px; animation:slideIn .4s ease
}
.app-job-logo { width:36px; height:36px; border-radius:var(--r8); background:var(--grad); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.8rem; color:#fff; flex-shrink:0 }
.app-job-info { flex:1; min-width:0 }
.app-job-title { font-size:.85rem; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--text) }
.app-job-co    { font-size:.75rem; color:var(--muted) }
.app-job-badge { font-size:.68rem; padding:3px 8px; border-radius:50px; font-weight:600; flex-shrink:0 }

/* ── FLOATING CARDS ── */
.floating-card { position:absolute; background:var(--card); border:1.5px solid var(--border); border-radius:var(--r16); padding:14px 18px; box-shadow:var(--shadow-md) }
.float-1 { top:-20px; right:-20px; animation:float 4s ease-in-out infinite }
.float-2 { bottom:-20px; left:-20px; animation:float 4s ease-in-out infinite .5s }

/* ── HOW IT WORKS ── */
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; margin-top:56px }
.how-step { text-align:center; padding:28px 20px; background:var(--card); border:1.5px solid var(--border); border-radius:var(--r16) }
.how-num  { width:64px; height:64px; border-radius:50%; background:var(--blue-pale); border:2px solid var(--blue-border); display:flex; align-items:center; justify-content:center; font-family:var(--fd); font-size:1.4rem; font-weight:800; color:var(--blue); margin:0 auto 18px }
.how-step h3   { font-size:1rem; margin-bottom:8px }
.how-step p    { font-size:.875rem; color:var(--muted); line-height:1.6 }

/* ── TESTIMONIALS ── */
.testimonials-track { display:flex; gap:20px; overflow-x:auto; padding-bottom:20px; scrollbar-width:none; margin-top:48px; scroll-snap-type:x mandatory }
.testimonials-track::-webkit-scrollbar { display:none }
.tcard { background:var(--card); border:1.5px solid var(--border); border-radius:var(--r16); padding:24px; min-width:300px; flex-shrink:0; scroll-snap-align:start; transition:.2s }
.tcard:hover { border-color:var(--blue-border); box-shadow:var(--shadow) }

/* ── RESUME SCORE CIRCLE ── */
.score-circle {
  width:80px; height:80px; border-radius:50%;
  background:conic-gradient(var(--blue) calc(var(--score)*3.6deg), var(--bg3) 0);
  display:flex; align-items:center; justify-content:center; position:relative
}
.score-circle::before { content:''; position:absolute; inset:8px; border-radius:50%; background:var(--card) }
.score-val { position:relative; font-size:1.1rem; font-weight:800; color:var(--text) }

/* ── SKILL TAGS ── */
.skills-list { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px }
.skill-tag   { background:var(--blue-pale); border:1px solid var(--blue-border); color:var(--blue); border-radius:var(--r6); padding:3px 10px; font-size:.78rem; font-weight:600 }

/* ── JOB / QUEUE CARDS ── */
.job-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:16px }
.job-card { background:var(--card); border:1.5px solid var(--border); border-radius:var(--r16); padding:22px; transition:.2s; cursor:pointer }
.job-card:hover { border-color:var(--blue-border); transform:translateY(-2px); box-shadow:var(--shadow) }
.job-card-header { display:flex; gap:14px; margin-bottom:14px }
.job-logo { width:46px; height:46px; border-radius:var(--r12); background:var(--blue-pale); border:1.5px solid var(--blue-border); display:flex; align-items:center; justify-content:center; font-family:var(--fd); font-weight:800; font-size:.95rem; color:var(--blue); flex-shrink:0; overflow:hidden }
.job-logo img { width:100%; height:100%; object-fit:cover }
.job-card-meta  { flex:1 }
.job-card-title { font-size:.95rem; font-weight:700; margin-bottom:2px; color:var(--text) }
.job-card-co    { font-size:.82rem; color:var(--muted) }
.job-card-tags  { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 }
.tag            { background:var(--bg3); border:1px solid var(--border); border-radius:var(--r6); padding:3px 10px; font-size:.72rem; color:var(--muted) }
.job-card-salary{ font-size:.875rem; font-weight:700; color:var(--green); margin-bottom:10px }
.job-card-footer{ display:flex; justify-content:space-between; align-items:center; padding-top:12px; border-top:1px solid var(--border) }
.job-card-time  { font-size:.75rem; color:var(--dim) }

/* ── QUEUE / AUTO-APPLY ── */
.apply-setup { display:grid; grid-template-columns:1fr 1fr; gap:32px }
.apply-queue { display:flex; flex-direction:column; gap:12px }
.queue-item  { background:var(--card); border:1.5px solid var(--border); border-radius:var(--r12); padding:16px; display:flex; align-items:center; gap:14px }
.queue-status { width:8px; height:8px; border-radius:50%; flex-shrink:0 }
.queue-status.applying { background:var(--blue); animation:dotpulse 1.5s infinite }
.queue-status.done     { background:var(--green) }
.queue-status.pending  { background:var(--dim) }

/* ── RESUME BUILDER ── */
.builder-layout  { display:grid; grid-template-columns:1fr 1fr; gap:32px; min-height:70vh }
.builder-form    { overflow-y:auto }
.builder-preview {
  background:var(--card); border:1.5px solid var(--border);
  border-radius:var(--r16); padding:32px; overflow-y:auto;
  font-size:.85rem; position:sticky; top:20px
}
.resume-preview h1     { font-size:1.4rem; font-weight:800; margin-bottom:4px; color:var(--text) }
.resume-preview .contact-line { font-size:.8rem; color:var(--muted); margin-bottom:16px }
.resume-preview h2     { font-size:.85rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; border-bottom:1px solid var(--border); padding-bottom:6px; margin:16px 0 10px; color:var(--text) }
.resume-preview .exp-item  { margin-bottom:12px }
.resume-preview .exp-title { font-weight:700; font-size:.9rem; color:var(--text) }
.resume-preview .exp-co    { font-size:.8rem; color:var(--blue) }
.resume-preview .exp-date  { font-size:.75rem; color:var(--dim); margin-bottom:6px }
.resume-preview ul         { list-style:none; padding-left:12px }
.resume-preview ul li::before { content:'•'; color:var(--blue); margin-right:6px }
.resume-preview ul li      { font-size:.82rem; color:var(--muted); margin-bottom:4px }

/* ── INTERVIEW PREP ── */
.interview-layout{ display:grid; grid-template-columns:1fr 1fr; gap:32px }
.question-card   { background:var(--card); border:1.5px solid var(--border); border-radius:var(--r16); padding:28px }
.question-text   { font-size:1.05rem; font-weight:600; margin-bottom:20px; line-height:1.5; color:var(--text) }
.answer-area     {
  width:100%; background:var(--bg2); border:1.5px solid var(--border);
  border-radius:var(--r12); padding:14px; color:var(--text);
  font-family:var(--fb); font-size:.9rem; min-height:140px; resize:vertical;
  outline:none; transition:.2s
}
.answer-area:focus { border-color:var(--blue-border); background:#fff; box-shadow:0 0 0 3px rgba(37,99,235,.06) }
.feedback-card {
  background:var(--blue-pale); border:1.5px solid var(--blue-border);
  border-radius:var(--r16); padding:24px
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  .app-main        { margin-left:0 }
  .sidebar         { transform:translateX(-100%) }
  .sidebar.open    { transform:none }
  :root            { --sidebar-w:0px }
  .apply-setup, .builder-layout, .interview-layout { grid-template-columns:1fr }
}
@media(max-width:768px) {
  .app-content     { padding:16px }
  .how-grid        { grid-template-columns:1fr }
  .hero-stats-glass{ flex-direction:column }
}

/* ── APP LAYOUT — hide top nav, sidebar handles navigation ── */
.nav-app { display: none !important }
body.is-app { background: var(--bg2) }

.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg2);
}
.app-layout > .sidebar { flex-shrink: 0 }
.app-layout > .main-content,
.app-layout > main {
  flex: 1;
  min-width: 0;
  padding: 32px 36px;
  margin-left: var(--sidebar-w);
  max-width: calc(100vw - var(--sidebar-w));
}
@media(max-width:1024px) {
  .app-layout > .main-content,
  .app-layout > main { margin-left: 0; padding: 20px 16px; max-width: 100vw }
}

/* Nav: profile avatar + credits badge */
.nav-profile-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-weight: 700; font-size: .85rem;
  border: 2px solid var(--blue-border); transition: .2s; flex-shrink: 0
}
.nav-profile-avatar:hover { box-shadow: 0 0 0 3px var(--blue-pale) }
.nav-credits-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; background: var(--blue-pale);
  border: 1.5px solid var(--blue-border); border-radius: 100px;
  font-size: .8rem; font-weight: 600; color: var(--blue); transition: .2s
}
.nav-credits-badge:hover { background: #dbeafe }

/* Mobile nav */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; border: 1.5px solid var(--border);
  border-radius: var(--r8); padding: 8px; cursor: pointer; flex-shrink: 0
}
.mobile-menu-btn span {
  display: block; width: 18px; height: 2px;
  background: var(--muted); border-radius: 2px; transition: .2s
}
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--bg); z-index: 999; overflow-y: auto }
.mobile-menu.open { display: block }
.mobile-menu-inner { padding: 16px; display: flex; flex-direction: column; gap: 4px }
.mobile-menu-section { margin-bottom: 16px }
.mobile-menu-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); padding: 8px 12px 4px }
.mobile-menu-inner a {
  display: block; padding: 10px 14px; border-radius: var(--r8);
  font-size: .9rem; color: var(--muted); transition: .15s
}
.mobile-menu-inner a:hover, .mobile-menu-inner a.active { color: var(--text); background: var(--bg2) }
@media(max-width:768px) { .mobile-menu-btn { display: flex } .nav-links { display: none } }

/* Nav dropdown (clicky-dropdown) */
.clicky-dropdown { position: relative }
.clicky-trigger {
  display: flex; align-items: center; gap: 5px; padding: 7px 13px;
  border-radius: var(--r8); font-size: .875rem; font-weight: 500;
  color: var(--muted); background: transparent; border: none;
  cursor: pointer; transition: .15s; font-family: var(--fb)
}
.clicky-trigger:hover { color: var(--text); background: var(--bg2) }
.nav-arrow { font-size: .65rem; transition: transform .2s }
.clicky-trigger[aria-expanded="true"] .nav-arrow { transform: rotate(180deg) }
.clicky-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--r12); box-shadow: var(--shadow-md); overflow: hidden; z-index: 9999
}
.clicky-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; font-size: .875rem; color: var(--text);
  transition: .15s; border-bottom: 1px solid var(--border)
}
.clicky-menu a:last-child { border-bottom: none }
.clicky-menu a:hover { background: var(--bg2); color: var(--blue) }

/* ── GLASS CARD (signin/signup/auth pages) ── */
.glass {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r16);
  box-shadow: var(--shadow-md);
}

/* ── FOOTER ── */
footer { background: var(--bg); border-top: 1px solid var(--border); margin-top: auto }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 5% 40px;
}
.footer-brand p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-top: 8px }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text); margin-bottom: 14px
}
.footer-col a {
  display: block; color: var(--muted); font-size: .88rem;
  text-decoration: none; margin-bottom: 9px; transition: .15s
}
.footer-col a:hover { color: var(--blue) }
.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: var(--max); margin: 0 auto;
  padding: 18px 5%;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .83rem; color: var(--muted)
}
@media(max-width:768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 5% 24px }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center }
}

/* ── SECTION TITLE ── */
.section-title { font-family:var(--fd); font-size:clamp(1.4rem,2.5vw,2rem); font-weight:800; color:var(--text); margin-bottom:12px }

/* ══════════════════════════════════════════════
   PUBLIC LANDING — DARK HERO + SECTIONS
   ══════════════════════════════════════════════ */

/* ── HERO SECTION ── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #030712 0%, #050b16 100%);
  padding: 140px 5% 100px;
  min-height: 85vh;
  display: flex; align-items: center;
}
.hero-content-centered {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-top: 8px
}
/* Override hero title/sub text to be white on dark hero */
.hero .hero-title-futuristic { color: #fff }
.hero .hero-sub-futuristic   { color: rgba(255,255,255,.65) }

/* glass stat cards override for dark hero */
.hero .glass-stat-card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  max-width: 180px
}
.hero .glass-stat-num  { color: #fff }
.hero .glass-stat-label{ color: rgba(255,255,255,.5) }
.cyan-glow   { box-shadow: 0 0 24px rgba(6,182,212,.15) }
.rose-glow   { box-shadow: 0 0 24px rgba(244,63,94,.15) }
.indigo-glow { box-shadow: 0 0 24px rgba(99,102,241,.15) }
.glass-stat-icon { color: rgba(255,255,255,.3); font-size: 1.4rem }

/* ── LOGO TICKER ── */
.logo-ticker-container { overflow: hidden; padding: 20px 0 }
.logo-ticker-inner {
  display: flex; gap: 48px; width: max-content;
  animation: ticker 28s linear infinite
}
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.logo-ticker-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.35);
  white-space: nowrap; letter-spacing: .02em
}
.logo-ticker-item i { font-size: 1rem }

/* ── STATS BANNER ── */
.stats-banner { padding: 48px 5% }
.stats-inner  {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto; text-align: center
}
.stat-num {
  font-family: var(--fd); font-size: clamp(2rem,4vw,3rem);
  font-weight: 800; color: #fff; line-height: 1
}
.stat-lbl { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 6px; font-weight: 500 }
@media(max-width:640px) { .stats-inner { grid-template-columns: repeat(2,1fr) } }

/* ── FEATURES FUTURISTIC GRID ── */
.features-futuristic-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 56px
}
@media(max-width:900px) { .features-futuristic-grid { grid-template-columns: repeat(2,1fr) } }
@media(max-width:600px) { .features-futuristic-grid { grid-template-columns: 1fr } }

.glass-card-futuristic {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r16); padding: 28px 24px;
  transition: all .25s; position: relative; overflow: hidden
}
.glass-card-futuristic:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(79,142,247,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3)
}
.feature-icon-wrapper {
  font-size: 2rem; margin-bottom: 16px;
  width: 52px; height: 52px; border-radius: var(--r12);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center
}
.feature-link-futuristic {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: .85rem; font-weight: 600;
  color: var(--blue); text-decoration: none; transition: gap .2s
}
.feature-link-futuristic:hover { gap: 10px }

/* ── TIMELINE (HOW IT WORKS) ── */
.timeline-container {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 32px; position: relative
}
.timeline-container::before {
  content: ''; position: absolute; top: 34px; left: 20%; right: 20%;
  height: 2px; background: linear-gradient(90deg,var(--blue),var(--purple));
  opacity: .3
}
.timeline-step {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r16); padding: 32px 24px; text-align: center
}
.timeline-number {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fd); font-size: 1.3rem; font-weight: 800;
  color: #fff; margin: 0 auto 20px; position: relative; z-index: 1
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: 10px }
.timeline-step p  { font-size: .875rem; line-height: 1.65 }
@media(max-width:768px) {
  .timeline-container { grid-template-columns: 1fr }
  .timeline-container::before { display: none }
}

/* ── TESTIMONIAL CARDS (dark override) ── */
.tcard { position: relative }
.tcard-stars { font-size: 1rem; margin-bottom: 12px; color: var(--yellow) }
.tcard-text  { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.7); margin-bottom: 18px }
.tcard-author{ display: flex; align-items: center; gap: 12px }
.tcard-avatar{
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0
}
.tcard-name { font-size: .9rem; font-weight: 600 }
.tcard-role { font-size: .78rem; color: rgba(255,255,255,.4) }

/* ── FADE-IN ANIMATION ── */
.fade-in { animation: fadeUp .5s ease both }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:none} }

/* ── FAQ SECTION ── */
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px }
.faq-item {
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r12); overflow: hidden
}
.faq-question {
  width: 100%; background: rgba(255,255,255,.03); border: none;
  padding: 18px 24px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--fb); font-size: .95rem; font-weight: 600;
  color: #fff; transition: background .2s; gap: 16px
}
.faq-question:hover { background: rgba(255,255,255,.06) }
.faq-chevron { font-size: .75rem; color: rgba(255,255,255,.4); transition: transform .25s; flex-shrink: 0 }
.faq-item.open .faq-chevron { transform: rotate(180deg) }
.faq-answer {
  display: none; padding: 0 24px 18px;
  background: rgba(255,255,255,.02);
  font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.6)
}
.faq-item.open .faq-answer { display: block }

/* ── CTA SECTION ── */
.cta-section-glow { position: relative; overflow: hidden }
.cta-section-glow::before {
  content: ''; position: absolute; top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  b