/* System fonts — no external dependencies */

:root {
  --navy: #0f172a;
  --navy2: #1e293b;
  --blue: #3b82f6;
  --blue2: #2563eb;
  --cyan: #06b6d4;
  --green: #22c55e;
  --orange: #f97316;
  --red: #ef4444;
  --gray1: #f8fafc;
  --gray2: #f1f5f9;
  --gray3: #e2e8f0;
  --gray4: #94a3b8;
  --gray5: #64748b;
  --text: #0f172a;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow2: 0 8px 40px rgba(0,0,0,0.12);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--gray1); color: var(--text); line-height:1.6; padding-top: 64px; }
/* Pages with fixed navbar get padding via .has-navbar class */
.nav-logo, .section-hd h2, .hero h1, .page-hd h1, .form-card h2, .jc-title, .profile-name, .apps-card h2, .dash-jobs h2, .modal h3, .cat-card h4, .dash-stat strong { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; }

/* ── NAVBAR ── */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:100; margin:0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 0 2rem;
  display: flex; align-items:center; justify-content:space-between;
  height: 64px;
  border-bottom: 1px solid #E2E8F0;
}
.nav-logo { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.4rem; font-weight:800; color:#0F172A; letter-spacing:-0.5px; }
.nav-logo span { color: var(--blue); }
.nav-center { display:flex; gap:0.25rem; }
.nav-center a { color:#475569; padding:0.4rem 0.9rem; border-radius:8px; font-size:0.88rem; font-weight:500; transition:all 0.2s; }
.nav-center a:hover { color:#0F172A; background:rgba(15,23,42,0.05); }
.nav-center a.active { color:#0F172A; font-weight:600; }
.nav-right { display:flex; align-items:center; gap:0.75rem; }
.nav-right .btn-login { color:#475569; font-size:0.88rem; font-weight:500; padding:0.4rem 0.9rem; border-radius:8px; transition:all 0.2s; }
.nav-right .btn-login:hover { color:#0F172A; }
.nav-right .btn-signup { background:var(--blue); color:#fff; padding:0.45rem 1.1rem; border-radius:8px; font-size:0.88rem; font-weight:600; transition:all 0.2s; }
.nav-right .btn-signup:hover { background:var(--blue2); }
.nav-right .btn-employer { color:#475569; font-size:0.88rem; font-weight:500; padding:0.4rem 0.9rem; border-radius:8px; border:1px solid #E2E8F0; transition:all 0.2s; }
.nav-right .btn-employer:hover { color:#0F172A; border-color:#94a3b8; }
.nav-user { display:flex; align-items:center; gap:0.75rem; }
.nav-user-name { color:#0F172A; font-size:0.88rem; font-weight:600; }
.nav-user-name span { color:var(--blue); }
.btn-logout { color:#64748B; font-size:0.82rem; cursor:pointer; padding:0.3rem 0.7rem; border-radius:6px; border:1px solid #E2E8F0; transition:all 0.2s; }
.btn-logout:hover { color:#0F172A; border-color:#94a3b8; background:#F8FAFC; }

/* ── HERO + AI SECTION — shared gradient canvas ── */
.hero-ai-bg {
  background: #F8FAFC;
  position: relative;
  overflow: hidden;
}
/* Pastel mesh — top right: blue + teal (covers hero illustration) */
.hero-ai-bg::before {
  content:'';
  position:absolute;
  top: -140px; right: -100px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 55% 42%,
    rgba(26,115,232,0.17) 0%,
    rgba(0,172,193,0.11) 36%,
    rgba(67,160,71,0.05) 58%,
    transparent 72%);
  pointer-events:none;
  filter: blur(42px);
}
/* Pastel mesh — lower right: peach + pink (bleeds into AI section) */
.hero-ai-bg::after {
  content:'';
  position:absolute;
  bottom: -100px; right: 1%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 48% 52%,
    rgba(251,188,4,0.12) 0%,
    rgba(234,88,12,0.09) 30%,
    rgba(236,72,153,0.08) 55%,
    transparent 75%);
  pointer-events:none;
  filter: blur(52px);
}

/* ── HERO ── */
.hero {
  background: transparent;
  padding: 4rem 2rem 4.5rem;
  text-align: center;
  position: relative;
}
.hero-badge { display:inline-flex; align-items:center; gap:6px; background:#EFF6FF; border:1px solid #BFDBFE; color:#1D4ED8; padding:0.35rem 1rem; border-radius:20px; font-size:0.8rem; font-weight:600; margin-bottom:1.2rem; letter-spacing:0.5px; }
.hero h1 { font-family:'Plus Jakarta Sans',sans-serif; font-size:clamp(2rem,5vw,3.2rem); font-weight:800; color:#0F172A; line-height:1.15; margin-bottom:1rem; letter-spacing:-0.025em; }
.hero h1 span { color:#1A73E8; }
.hero p { color:#475569; font-size:1.05rem; max-width:520px; margin:0 auto 2rem; }
.search-wrap { max-width:680px; margin:0 auto 1.75rem; }
.search-box { display:flex; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 24px rgba(15,23,42,0.10), 0 1px 4px rgba(15,23,42,0.06); border:1px solid #E2E8F0; }
.search-box input { flex:1; border:none; outline:none; padding:1rem 1.2rem; font-size:0.95rem; font-family:inherit; color:var(--text); }
.search-box button { background:var(--blue); color:#fff; border:none; padding:1rem 1.6rem; font-size:0.95rem; font-weight:700; cursor:pointer; font-family:inherit; transition:background 0.2s; white-space:nowrap; }
.search-box button:hover { background:var(--blue2); }
.hero-stats { display:flex; justify-content:center; gap:3rem; flex-wrap:wrap; }
.stat strong { display:block; font-family:'Plus Jakarta Sans',sans-serif; font-size:1.8rem; font-weight:800; color:#0F172A; text-shadow:none; }
.stat span { font-size:0.8rem; color:#64748B; font-weight:500; }

/* ── AI ASSISTANT ── */
.ai-section { max-width:700px; margin:0 auto; padding:0 1rem 2.5rem; position:relative; z-index:1; }
.ai-card { background:#fff; border-radius:16px; border:1.5px solid #dbeafe; padding:1.5rem; box-shadow:var(--shadow); }
.ai-card-header { display:flex; align-items:center; gap:10px; margin-bottom:1rem; }
.ai-pulse { width:9px; height:9px; background:var(--blue); border-radius:50%; }
.ai-card-header h3 { font-family:'Plus Jakarta Sans',sans-serif; font-size:0.95rem; font-weight:700; }
.ai-badge { background:#dbeafe; color:var(--blue2); font-size:0.73rem; font-weight:600; padding:2px 10px; border-radius:20px; }
.ai-row { display:flex; gap:10px; }
.ai-row input { flex:1; border:1.5px solid var(--gray3); border-radius:9px; padding:0.7rem 1rem; font-size:0.92rem; outline:none; font-family:inherit; transition:border 0.2s; }
.ai-row input:focus { border-color:var(--blue); }
.ai-row button { background:var(--blue); color:#fff; border:none; padding:0.7rem 1.2rem; border-radius:9px; font-weight:700; cursor:pointer; font-family:inherit; transition:background 0.2s; }
.ai-row button:hover { background:var(--blue2); }
.ai-chips { display:flex; gap:8px; flex-wrap:wrap; margin-top:0.75rem; }
.chip { background:var(--gray2); border:1px solid var(--gray3); color:var(--gray5); font-size:0.78rem; padding:4px 12px; border-radius:20px; cursor:pointer; transition:all 0.2s; font-family:inherit; }
.chip:hover { background:var(--blue); color:#fff; border-color:var(--blue); }
.ai-response { margin-top:1rem; padding:1rem; background:#f0f7ff; border-radius:9px; font-size:0.9rem; line-height:1.65; color:#1e40af; display:none; border-left:3px solid var(--blue); }
.ai-loading { color:var(--gray4); font-style:italic; }

/* ── SECTIONS ── */
.section { max-width:1100px; margin:0 auto; padding:2.5rem 1rem; }
.section-hd { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem; }
.section-hd h2 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.35rem; font-weight:700; }
.section-hd a { color:var(--blue); font-size:0.85rem; font-weight:600; }

/* ── JOB CARDS ── */
.jobs-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(310px,1fr)); gap:1rem; }
.job-card { background:#fff; border-radius:var(--radius); padding:1.3rem; border:1.5px solid var(--gray3); transition:all 0.22s; cursor:pointer; }
.job-card:hover { border-color:var(--blue); box-shadow:0 6px 24px rgba(59,130,246,0.12); transform:translateY(-2px); }
.jc-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:0.5rem; }
.jc-title { font-family:'Plus Jakarta Sans',sans-serif; font-size:1rem; font-weight:700; color:var(--navy); }
.badge { font-size:0.7rem; font-weight:700; padding:3px 10px; border-radius:20px; white-space:nowrap; }
.badge-full { background:#dcfce7; color:#15803d; }
.badge-contract { background:#ffedd5; color:#c2410c; }
.badge-remote { background:#dbeafe; color:#1d4ed8; }
.jc-company { font-size:0.85rem; color:var(--gray5); margin-bottom:0.4rem; font-weight:500; }
.jc-meta { display:flex; flex-wrap:wrap; gap:0.75rem; font-size:0.78rem; color:var(--gray4); margin-top:0.6rem; }
.jc-tags { display:flex; gap:6px; flex-wrap:wrap; margin-top:0.75rem; }
.tag { background:var(--gray2); color:var(--gray5); font-size:0.73rem; padding:3px 10px; border-radius:20px; }
.jc-footer { display:flex; justify-content:space-between; align-items:center; margin-top:1rem; padding-top:0.75rem; border-top:1px solid var(--gray3); }
.btn-apply { background:var(--blue); color:#fff; border:none; padding:0.45rem 1.1rem; border-radius:8px; font-size:0.82rem; font-weight:700; cursor:pointer; font-family:inherit; transition:all 0.2s; }
.btn-apply:hover { background:var(--blue2); }
.btn-apply.applied { background:var(--green); cursor:default; }
.btn-whatsapp { background:#25d366; color:#fff; border:none; padding:0.45rem 1rem; border-radius:8px; font-size:0.78rem; font-weight:700; cursor:pointer; font-family:inherit; transition:all 0.2s; display:flex; align-items:center; gap:5px; }
.btn-whatsapp:hover { background:#1db954; }

/* ── CATEGORIES ── */
.cats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(155px,1fr)); gap:1rem; }
.cat-card { background:#fff; border-radius:var(--radius); padding:1.3rem; text-align:center; border:1.5px solid var(--gray3); cursor:pointer; transition:all 0.22s; }
.cat-card:hover { border-color:var(--blue); background:#f0f7ff; transform:translateY(-2px); }
.cat-icon { font-size:2rem; margin-bottom:0.6rem; }
.cat-card h4 { font-family:'Plus Jakarta Sans',sans-serif; font-size:0.88rem; font-weight:700; margin-bottom:0.2rem; }
.cat-card span { font-size:0.75rem; color:var(--gray4); }

/* ── PAGE HEADER ── */
.page-hd { background:linear-gradient(135deg,#0f172a,#1e293b); color:#fff; padding:2.5rem 2rem; text-align:center; }
.page-hd h1 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.9rem; font-weight:800; }
.page-hd p { color:#94a3b8; margin-top:0.5rem; }

/* ── JOBS PAGE ── */
.jobs-layout { display:grid; grid-template-columns:270px 1fr; gap:1.5rem; max-width:1100px; margin:2rem auto; padding:0 1rem; }
.filter-panel { background:#fff; border-radius:var(--radius); padding:1.4rem; border:1.5px solid var(--gray3); height:fit-content; position:sticky; top:80px; }
.filter-panel h3 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1rem; font-weight:700; margin-bottom:1.2rem; }
.fg { margin-bottom:1.1rem; }
.fg label { display:block; font-size:0.78rem; font-weight:700; color:var(--gray5); text-transform:uppercase; letter-spacing:0.5px; margin-bottom:0.4rem; }
.fg select, .fg input { width:100%; border:1.5px solid var(--gray3); border-radius:8px; padding:0.55rem 0.8rem; font-size:0.88rem; outline:none; font-family:inherit; transition:border 0.2s; }
.fg select:focus, .fg input:focus { border-color:var(--blue); }
.btn-filter { width:100%; background:var(--navy); color:#fff; border:none; padding:0.75rem; border-radius:9px; cursor:pointer; font-weight:700; font-size:0.9rem; font-family:inherit; transition:background 0.2s; margin-top:0.5rem; }
.btn-filter:hover { background:var(--navy2); }
.results-hd { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.results-hd span { font-size:0.88rem; color:var(--gray5); font-weight:500; }

/* ── FORMS ── */
.form-wrap { max-width:680px; margin:2rem auto; padding:0 1rem; }
.form-card { background:#fff; border-radius:16px; padding:2rem; border:1.5px solid var(--gray3); box-shadow:var(--shadow); }
.form-card h2 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.3rem; font-weight:800; margin-bottom:0.3rem; }
.form-card .sub { color:var(--gray5); font-size:0.88rem; margin-bottom:1.5rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.fg-form { margin-bottom:1.1rem; }
.fg-form label { display:block; font-size:0.83rem; font-weight:600; color:var(--navy2); margin-bottom:0.4rem; }
.fg-form input, .fg-form select, .fg-form textarea { width:100%; border:1.5px solid var(--gray3); border-radius:9px; padding:0.7rem 1rem; font-size:0.93rem; outline:none; font-family:inherit; transition:border 0.2s; color:var(--text); }
.fg-form input:focus, .fg-form select:focus, .fg-form textarea:focus { border-color:var(--blue); }
.fg-form textarea { resize:vertical; min-height:100px; }
.btn-primary { width:100%; background:var(--blue); color:#fff; border:none; padding:0.9rem; font-size:1rem; font-weight:700; border-radius:10px; cursor:pointer; font-family:inherit; transition:background 0.2s; margin-top:0.5rem; }
.btn-primary:hover { background:var(--blue2); }
.form-switch { text-align:center; margin-top:1.2rem; font-size:0.88rem; color:var(--gray5); }
.form-switch a { color:var(--blue); font-weight:600; }
.form-divider { display:flex; align-items:center; gap:1rem; margin:1.2rem 0; }
.form-divider hr { flex:1; border:none; border-top:1px solid var(--gray3); }
.form-divider span { font-size:0.8rem; color:var(--gray4); }
.alert { padding:0.85rem 1rem; border-radius:9px; font-size:0.88rem; margin-bottom:1rem; display:none; }
.alert-error { background:#fee2e2; color:#b91c1c; border:1px solid #fca5a5; }
.alert-success { background:#dcfce7; color:#15803d; border:1px solid #86efac; }

/* ── PROFILE PAGE ── */
.profile-wrap { max-width:900px; margin:2rem auto; padding:0 1rem; display:grid; grid-template-columns:280px 1fr; gap:1.5rem; }
.profile-card { background:#fff; border-radius:16px; padding:1.8rem; border:1.5px solid var(--gray3); height:fit-content; text-align:center; }
.profile-avatar { width:80px; height:80px; background:linear-gradient(135deg,var(--blue),var(--cyan)); border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:'Plus Jakarta Sans',sans-serif; font-size:2rem; font-weight:800; color:#fff; margin:0 auto 1rem; }
.profile-name { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.1rem; font-weight:800; }
.profile-title { color:var(--gray5); font-size:0.85rem; margin-bottom:1rem; }
.profile-info { text-align:left; border-top:1px solid var(--gray3); padding-top:1rem; }
.pi-row { display:flex; justify-content:space-between; font-size:0.83rem; padding:0.35rem 0; border-bottom:1px solid var(--gray2); }
.pi-row span:first-child { color:var(--gray5); }
.pi-row span:last-child { font-weight:600; }
.btn-resume { display:block; background:var(--gray2); color:var(--navy); border:none; padding:0.6rem; border-radius:8px; font-size:0.83rem; font-weight:600; cursor:pointer; width:100%; margin-top:1rem; font-family:inherit; transition:all 0.2s; text-align:center; }
.btn-resume:hover { background:var(--gray3); }
.apps-card { background:#fff; border-radius:16px; padding:1.8rem; border:1.5px solid var(--gray3); }
.apps-card h2 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.1rem; font-weight:800; margin-bottom:1.2rem; }
.app-row { display:flex; justify-content:space-between; align-items:center; padding:0.85rem; border-radius:10px; border:1px solid var(--gray3); margin-bottom:0.7rem; transition:border 0.2s; }
.app-row:hover { border-color:var(--blue); }
.app-info h4 { font-size:0.92rem; font-weight:700; }
.app-info p { font-size:0.8rem; color:var(--gray5); }
.status-badge { font-size:0.72rem; font-weight:700; padding:4px 12px; border-radius:20px; }
.status-applied { background:#dbeafe; color:#1d4ed8; }
.status-viewed { background:#fef3c7; color:#d97706; }
.status-shortlisted { background:#dcfce7; color:#15803d; }
.status-rejected { background:#fee2e2; color:#b91c1c; }
.empty-state { text-align:center; padding:3rem 1rem; color:var(--gray4); }
.empty-state .es-icon { font-size:2.5rem; margin-bottom:0.75rem; }

/* ── EMPLOYER DASHBOARD ── */
.dash-wrap { max-width:1000px; margin:0 auto; padding:2rem 1rem; }
.dash-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:1.5rem; }
.dash-stat { background:#fff; border-radius:var(--radius); padding:1.3rem; border:1.5px solid var(--gray3); }
.dash-stat strong { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.8rem; font-weight:800; color:var(--navy); display:block; }
.dash-stat span { font-size:0.82rem; color:var(--gray5); }
.dash-jobs { background:#fff; border-radius:16px; padding:1.5rem; border:1.5px solid var(--gray3); }
.dash-jobs h2 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.1rem; font-weight:800; margin-bottom:1.2rem; }
.dash-job-row { display:flex; justify-content:space-between; align-items:center; padding:1rem; border-radius:10px; border:1px solid var(--gray3); margin-bottom:0.75rem; }
.djr-info h4 { font-size:0.95rem; font-weight:700; }
.djr-info p { font-size:0.8rem; color:var(--gray5); }
.djr-actions { display:flex; gap:8px; align-items:center; }
.btn-view-apps { background:var(--blue); color:#fff; border:none; padding:0.4rem 1rem; border-radius:7px; font-size:0.8rem; font-weight:600; cursor:pointer; font-family:inherit; }
.btn-delete { background:var(--gray2); color:var(--gray5); border:none; padding:0.4rem 0.8rem; border-radius:7px; font-size:0.8rem; cursor:pointer; font-family:inherit; }
.applicants-panel { background:var(--gray2); border-radius:12px; padding:1rem; margin-top:0.5rem; display:none; }
.applicant-row { background:#fff; border-radius:9px; padding:0.85rem 1rem; margin-bottom:0.5rem; display:flex; justify-content:space-between; align-items:center; border:1px solid var(--gray3); }
.ar-info h5 { font-size:0.88rem; font-weight:700; }
.ar-info p { font-size:0.78rem; color:var(--gray5); }
.btn-dl-resume { background:var(--navy); color:#fff; border:none; padding:0.35rem 0.9rem; border-radius:7px; font-size:0.77rem; font-weight:600; cursor:pointer; font-family:inherit; }

/* ── EMPLOYER AUTH ── */
.auth-check { max-width:480px; margin:3rem auto; padding:0 1rem; }
.auth-check .form-card { text-align:center; }
.auth-check .form-card .icon { font-size:2.5rem; margin-bottom:1rem; }

/* ── MODAL ── */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:200; display:none; align-items:center; justify-content:center; padding:1rem; }
.modal-overlay.show { display:flex; }
.modal { background:#fff; border-radius:16px; padding:2rem; width:100%; max-width:440px; }
.modal h3 { font-family:'Plus Jakarta Sans',sans-serif; font-size:1.2rem; font-weight:800; margin-bottom:0.3rem; }
.modal .sub { color:var(--gray5); font-size:0.85rem; margin-bottom:1.2rem; }
.modal-close { float:right; background:none; border:none; font-size:1.2rem; cursor:pointer; color:var(--gray4); margin-top:-4px; }

/* ── JOB EXPIRY ── */
.expiry-badge { font-size:0.7rem; font-weight:700; padding:3px 9px; border-radius:20px; }
.expiry-ok { background:#dcfce7; color:#15803d; }
.expiry-urgent { background:#ffedd5; color:#c2410c; animation: pulse-expiry 1.5s infinite; }
.expiry-expired { background:#fee2e2; color:#b91c1c; }
@keyframes pulse-expiry { 0%,100%{opacity:1} 50%{opacity:0.6} }
.job-expired { opacity:0.75; border-color:#fca5a5 !important; }
.job-expired:hover { border-color:#f87171 !important; box-shadow:0 4px 16px rgba(239,68,68,0.1) !important; }
.expired-btn { background:#94a3b8 !important; cursor:not-allowed !important; }
.expired-btn:hover { background:#94a3b8 !important; }
.btn-extend { background:#dbeafe; color:#1d4ed8; border:none; padding:0.4rem 0.8rem; border-radius:7px; font-size:0.78rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all 0.2s; }
.btn-extend:hover { background:#bfdbfe; }
.btn-delist { background:#ffedd5; color:#c2410c; border:none; padding:0.4rem 0.8rem; border-radius:7px; font-size:0.78rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all 0.2s; }
.btn-delist:hover { background:#fed7aa; }
.btn-relist { background:#dcfce7 !important; color:#15803d !important; border:none; padding:0.4rem 0.8rem; border-radius:7px; font-size:0.78rem; font-weight:600; cursor:pointer; font-family:inherit; }
.btn-relist:hover { background:#bbf7d0 !important; }
footer { background:var(--navy); color:#94a3b8; text-align:center; padding:1.5rem; font-size:0.83rem; margin-top:3rem; }
footer span { color:var(--blue); }

/* ── UTILS ── */
.mt1 { margin-top:1rem; }
.hidden { display:none !important; }
.loading-spinner { text-align:center; padding:2rem; color:var(--gray4); font-size:0.9rem; }

@media(max-width:768px) {
  .jobs-layout { grid-template-columns:1fr; }
  .filter-panel { position:static; }
  .profile-wrap { grid-template-columns:1fr; }
  .dash-stats { grid-template-columns:1fr 1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero h1 { font-size:1.8rem; }
  .hero-stats { gap:1.5rem; }
  .nav-center { display:none; }
}

/* ═══════════════════════════════════════════
   HIRETRACK FOOTER — Full Footer Component
   ═══════════════════════════════════════════ */
.ht-footer { background: var(--navy); color: #fff; margin-top: 3rem; }
.ht-footer-top { text-align: center; padding: 2.5rem 1rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ht-follow-label { font-size: 1rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; color: #e2e8f0; }
.ht-underline { width: 36px; height: 3px; background: #f59e0b; border-radius: 2px; margin: 0 auto 2rem; }
.ht-socials { display: flex; justify-content: center; gap: 0.85rem; margin-bottom: 1.8rem; }
.ht-social { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.ht-social:hover { background: rgba(59,130,246,0.25); border-color: rgba(59,130,246,0.5); transform: translateY(-2px); }
.ht-social svg { width: 20px; height: 20px; }
.ht-nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.5rem; max-width: 700px; margin: 0 auto; }
.ht-nav-links a { color: rgba(255,255,255,0.55); font-size: 0.82rem; text-decoration: none; padding: 0.2rem 0.5rem; transition: color 0.2s; }
.ht-nav-links a:hover { color: #fff; }
.ht-nav-links .ht-sep { color: rgba(255,255,255,0.2); font-size: 0.82rem; padding: 0.2rem 0; }
.ht-footer-bottom { text-align: center; padding: 1.2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.ht-footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 0; }
.ht-footer-bottom span { color: var(--blue); }

/* ── Footer page styles (about, privacy etc.) ── */
.static-page { max-width: 780px; margin: 2.5rem auto; padding: 0 1.5rem; }
.static-page h1 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 0.4rem; }
.static-page .sp-date { font-size: 0.8rem; color: var(--gray5); margin-bottom: 2rem; }
.static-page h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.6rem; }
.static-page p { font-size: 0.92rem; line-height: 1.75; color: #334155; margin-bottom: 1rem; }
.static-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.static-page ul li { font-size: 0.92rem; line-height: 1.75; color: #334155; margin-bottom: 0.3rem; }
.static-page .sp-card { background: #f8fafc; border: 1.5px solid var(--gray3); border-radius: 12px; padding: 1.5rem; margin-bottom: 1rem; }
.static-page .sp-highlight { background: #eff6ff; border-left: 4px solid var(--blue); padding: 1rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0; font-size: 0.92rem; color: #1e40af; line-height: 1.7; }

/* ── Job Detail Modal (shared across index + jobs pages) ── */
.jd-modal{position:fixed;inset:0;background:rgba(0,0,0,0.55);z-index:300;display:none;align-items:flex-start;justify-content:center;padding:2rem 1rem;overflow-y:auto;}
.jd-modal.show{display:flex;}
.jd-box{background:#fff;border-radius:16px;width:100%;max-width:660px;padding:2rem;position:relative;margin:auto;}
.jd-close{position:absolute;top:1rem;right:1rem;background:var(--gray2);border:none;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:1.1rem;}
.jd-title{font-size:1.3rem;font-weight:800;margin-bottom:0.3rem;}
.jd-company{color:var(--gray5);font-size:0.92rem;margin-bottom:1rem;}
.jd-meta-row{display:flex;flex-wrap:wrap;gap:0.75rem;margin-bottom:1rem;}
.jd-meta-item{background:var(--gray2);padding:0.35rem 0.9rem;border-radius:20px;font-size:0.8rem;color:var(--gray5);font-weight:500;}
.jd-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:1.2rem;}
.jd-desc{font-size:0.92rem;line-height:1.75;color:var(--navy2);white-space:pre-wrap;border-top:1px solid var(--gray3);padding-top:1rem;margin-bottom:1.2rem;}
.jd-actions{display:flex;gap:10px;}

/* ── Hero Wide Centered Layout ── */
.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* LEFT */
.hero-left {
  display: flex; flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  width: 100%;
}

/* Badge — centered */
.hero-badge-wrap { width: 100%; display: flex; justify-content: center; margin-bottom: 0.6rem; }
.hero-left h1 { text-align: center; margin-bottom: 0.75rem; width: 100%; }
.hero-left p { text-align: center; margin: 0 auto 1.25rem; max-width: 600px; color: #475569; }
.hero-left .search-wrap { width: 100%; margin: 0 0 1.25rem; }

/* CTA Buttons */
.hero-ctas {
  display: flex; gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  width: 100%;
}
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: #1e3a5f;
  padding: 0.8rem 1.8rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 800;
  text-decoration: none; white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  min-width: 140px; justify-content: center;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-hero-employer {
  background: #f59e0b; color: #1c1917;
}
.btn-hero-employer:hover { background: #fbbf24; }

/* Stats — centered, with breathing room */
.hero-left .hero-stats { justify-content: center; gap: 3rem; margin-bottom: 1.25rem; padding: 1.1rem 0; }

/* Employer secondary bar */
.hero-employer-bar {
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap; justify-content: center;
  font-size: 0.8rem;
  color: #64748B;
  padding-top: 0.75rem;
  border-top: 1px solid #E2E8F0;
  width: 100%;
}
.hero-employer-bar a {
  color: #1A73E8; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.hero-employer-bar a:hover { color: #0F172A; text-decoration: underline; }
.hero-bar-sep { color: #CBD5E1; }

/* Stats left-aligned */
.hero-stats { gap: 2rem; }

/* Mobile */
@media (max-width: 768px) {
  .hero-inner { padding: 0 1.25rem; }
  .hero-left h1, .hero-left p { text-align: center; }
  .hero-left .hero-stats { justify-content: center; }
  .hero-ctas { justify-content: center; }
}
