@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400&display=swap');

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #EEF2FF;
  --accent: #10B981;
  --accent-light: #ECFDF5;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --danger: #EF4444;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --t: 0.2s ease;
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* Navbar */
.nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo-mark {
  flex-shrink: 0;
  animation: logo-float 4s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s;
}
.nav-logo:hover .logo-mark {
  animation: none;
  transform: scale(1.12);
  filter: drop-shadow(0 4px 14px rgba(79,70,229,0.55));
}
.logo-match {
  background: linear-gradient(135deg, #4f46e5, #059669);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand .nav-logo { color: white; }
.footer-brand .logo-match {
  background: linear-gradient(135deg, #818cf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-2px); }
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--t);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
  padding: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 4px 12px rgba(99,102,241,0.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text-secondary); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: var(--primary-light); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-block { width: 100%; }

/* Badges & Tags */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-accent { background: var(--accent-light); color: #059669; }
.badge-gray { background: #F1F5F9; color: var(--text-secondary); }
.badge-new { background: #FFF7ED; color: #C2410C; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: #F1F5F9;
  color: var(--text-secondary);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--t);
  cursor: default;
}
a.tag:hover, .tag:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: #C7D2FE;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* Job Cards */
.job-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.375rem;
  transition: all var(--t);
  cursor: pointer;
}
.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.job-card-header { display: flex; align-items: flex-start; gap: 0.875rem; }
.company-logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: #F8FAFC;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}
.job-title { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.125rem; }
.job-company { font-size: 0.8125rem; color: var(--text-secondary); }
.job-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8125rem; color: var(--text-secondary); }
.job-skills { display: flex; flex-wrap: wrap; gap: 0.375rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; }
.input, select, textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  -webkit-appearance: none;
}
.input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.input::placeholder { color: var(--text-muted); }

.search-bar {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
.search-bar input {
  border: none;
  border-radius: 0;
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent;
  outline: none;
  font-size: 0.9375rem;
}
.search-bar .search-icon { padding-left: 1rem; color: var(--text-muted); flex-shrink: 0; }
.search-bar .btn { border-radius: 0; margin: 0.3rem; border-radius: var(--radius); }

/* Section headers */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.625rem;
}
.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
  padding: 5rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #C7D2FE;
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-highlight { color: var(--primary); }
.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-search-bar {
  background: white;
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  margin-bottom: 1rem;
}
.hero-search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}
.hero-card-2 { margin-left: 2rem; opacity: 0.9; box-shadow: var(--shadow); }
.hero-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.hero-card-skills { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-bottom: 0.875rem; }
.hero-card-footer { display: flex; align-items: center; justify-content: space-between; }
.hero-salary { font-size: 0.875rem; font-weight: 700; color: var(--accent); }
.hero-match { margin-left: auto; display: flex; flex-direction: column; align-items: center; gap: 0.125rem; }
.match-ring { position: relative; width: 3rem; height: 3rem; }
.match-svg { width: 3rem; height: 3rem; transform: rotate(-90deg); }
.match-bg { fill: none; stroke: #EEF2FF; stroke-width: 3; }
.match-fill { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; }
.match-pct {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--primary);
}
.match-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); font-weight: 600; }

/* ── STATS ── */
.stats-section {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-grid { display: flex; align-items: center; justify-content: center; }
.stat-item { flex: 1; text-align: center; padding: 1rem 2rem; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.375rem; }
.stat-label { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }
.stat-divider { width: 1px; height: 3rem; background: var(--border); flex-shrink: 0; }

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}
.step-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all var(--t);
}
.step-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-3px); }
.step-number {
  position: absolute;
  top: -0.75rem; left: 1.25rem;
  background: var(--primary);
  color: white;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}
.step-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.step-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.625rem; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); text-align: center; }

/* ── JOBS GRID ── */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

/* ── LOGOS ── */
.logos-section {
  background: white;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.logos-label { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1.5rem; }
.logos-grid { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.logo-company { font-size: 1.125rem; font-weight: 800; color: var(--text-muted); letter-spacing: -0.02em; opacity: 0.55; transition: opacity var(--t); cursor: default; }
.logo-company:hover { opacity: 1; color: var(--text); }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #4338CA 100%); padding: 5rem 0; }
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-title { font-size: 2.25rem; font-weight: 800; color: white; margin-bottom: 1rem; letter-spacing: -0.02em; line-height: 1.2; }
.cta-subtitle { font-size: 1.0625rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer { background: #0F172A; color: #94A3B8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .nav-logo { color: white; margin-bottom: 1rem; }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: white; font-size: 0.75rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { color: #94A3B8; font-size: 0.9rem; transition: color var(--t); }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1E293B; padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── BROWSE PAGE ── */
.browse-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.browse-hero h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.browse-hero .search-bar { max-width: 640px; background: white; box-shadow: var(--shadow); border-color: transparent; }
.browse-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 2rem 0 4rem; align-items: start; }
.browse-sidebar { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: 5rem; }
.sidebar-section { margin-bottom: 1.75rem; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.875rem; }
.filter-option { display: flex; align-items: center; gap: 0.625rem; padding: 0.375rem 0; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); transition: color var(--t); }
.filter-option:hover { color: var(--text); }
.filter-option input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--primary); cursor: pointer; flex-shrink: 0; }
.filter-count { margin-left: auto; font-size: 0.75rem; background: #F1F5F9; color: var(--text-muted); padding: 0.1rem 0.4rem; border-radius: 9999px; font-weight: 600; }
.browse-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.browse-count { font-size: 0.9375rem; color: var(--text-secondary); }
.browse-count strong { color: var(--text); }
.sort-select { width: auto; padding: 0.5rem 2rem 0.5rem 0.75rem; font-size: 0.875rem; 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='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.5rem center; cursor: pointer; }
.browse-jobs-list { display: flex; flex-direction: column; gap: 1rem; }
.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.no-results p { font-size: 1rem; margin-top: 0.5rem; }

/* ── PROFILE PAGE ── */
.profile-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.profile-header { display: flex; align-items: flex-start; gap: 1.5rem; }
.profile-avatar {
  width: 5.5rem; height: 5.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: white;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: var(--shadow-lg);
}
.profile-info { flex: 1; }
.profile-name { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.profile-title-text { font-size: 1.0625rem; color: var(--text-secondary); margin-bottom: 0.625rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.profile-meta-item { display: flex; align-items: center; gap: 0.35rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.profile-actions { display: flex; flex-direction: column; gap: 0.625rem; align-items: flex-end; flex-shrink: 0; }
.profile-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; padding: 2rem 0 4rem; align-items: start; }
.profile-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.profile-card:last-child { margin-bottom: 0; }
.profile-section-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.skill-item { margin-bottom: 0.875rem; }
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.375rem; }
.skill-name { font-size: 0.9rem; font-weight: 600; }
.skill-level { font-size: 0.8125rem; color: var(--text-muted); }
.skill-bar { height: 0.375rem; background: #F1F5F9; border-radius: 9999px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 9999px; }
.exp-item { display: flex; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.exp-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.exp-logo { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.875rem; color: var(--primary); flex-shrink: 0; }
.exp-title { font-weight: 600; font-size: 0.9375rem; }
.exp-company { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0.2rem; }
.exp-dates { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.exp-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ── AUTH ── */
.auth-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%);
  padding: 2rem 1.5rem;
}
.auth-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-xl);
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  margin-bottom: 1.75rem;
  font-size: 1.625rem;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.03em;
}
.auth-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.375rem; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 1.75rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  width: 100%; padding: 0.6875rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: white; font-size: 0.9rem; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all var(--t); margin-bottom: 0.75rem;
}
.social-btn:hover { background: var(--bg); border-color: var(--text-muted); }
.divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; color: var(--text-muted); font-size: 0.8125rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; font-size: 0.875rem; color: var(--text-secondary); margin-top: 1.5rem; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.terms-text { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 1rem; line-height: 1.6; }
.terms-text a { color: var(--primary); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 4rem; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.5rem 0; font-size: 1rem; }
  .nav-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 3rem 0; }
  .hero-title { font-size: 2rem; }

  .stats-grid { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }

  .jobs-grid { grid-template-columns: 1fr; }
  .browse-layout { grid-template-columns: 1fr; }
  .browse-sidebar { position: static; }

  .profile-header { flex-direction: column; }
  .profile-actions { flex-direction: row; }
  .profile-layout { grid-template-columns: 1fr; }

  .section { padding: 3rem 0; }
  .section-title { font-size: 1.625rem; }
  .cta-title { font-size: 1.75rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .logos-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .auth-card { padding: 1.75rem 1.25rem; }
  .input-row { grid-template-columns: 1fr; }
}

/* ── SECTOR GRID ── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.sector-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  display: block;
}
.sector-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.sector-emoji { font-size: 2rem; display: block; margin-bottom: 0.5rem; line-height: 1; }
.sector-name { font-size: 0.875rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem; }
.sector-count { font-size: 0.75rem; color: var(--text-muted); }

/* ── SPLIT CTA ── */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.split-card {
  border-radius: 1rem;
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.875rem;
}
.split-card-worker { background: var(--primary-light); border: 2px solid #C7D2FE; }
.split-card-employer { background: var(--accent-light); border: 2px solid #A7F3D0; }
.split-card-icon { font-size: 2.5rem; line-height: 1; }
.split-card h3 { font-size: 1.125rem; font-weight: 800; color: var(--text); }
.split-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── FILTER CHIPS ── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 1rem 0; }
.chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 1rem;
  background: white; border: 1.5px solid var(--border);
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all var(--t);
  color: var(--text-secondary);
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.chip.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── WORKER / JOB CARDS ── */
.pay-badge {
  background: var(--accent-light); color: #059669;
  font-weight: 700; font-size: 0.875rem;
  padding: 0.25rem 0.625rem; border-radius: 9999px;
  white-space: nowrap;
}
.sector-pill {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.75rem; font-weight: 700; color: var(--primary);
  margin-bottom: 0.5rem;
}
.avail-dot {
  display: inline-block; width: 0.5rem; height: 0.5rem;
  border-radius: 50%; background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.5; }
}
.stars { color: #F59E0B; font-size: 0.875rem; }

/* ── WORKER PROFILE ── */
.review-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.review-avatar {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8125rem; color: var(--text-secondary);
  flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.875rem; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

.stat-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #F8FAFC; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.stat-pill strong { font-weight: 700; color: var(--text); }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .split-cta { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── NAV: authenticated state ── */
#navAuth { display: flex; align-items: center; gap: 0.75rem; }
.nav-user { display: flex; align-items: center; gap: 0.625rem; }
.nav-avatar {
  width: 2rem; height: 2rem;
  border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(99,102,241,0.25);
  flex-shrink: 0;
}
.nav-user-name {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Google button placeholder (shown before Client ID is set) ── */
.google-btn-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  width: 100%; padding: 0.6875rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: white; font-size: 0.9rem; font-weight: 600; color: var(--text);
  cursor: default;
}
.setup-badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: #FFF7ED; color: #C2410C;
  padding: 0.15rem 0.4rem; border-radius: 9999px;
  margin-left: auto;
}

/* ── Google setup notice ── */
.google-setup-notice {
  display: none;
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: var(--radius); padding: 0.875rem 1rem;
  font-size: 0.8125rem; color: #92400E; line-height: 1.7;
  margin-bottom: 1.25rem;
}
.google-setup-notice a { color: #B45309; font-weight: 600; text-decoration: underline; }
.google-setup-notice code {
  background: rgba(0,0,0,0.07); padding: 0.1rem 0.35rem;
  border-radius: 0.25rem; font-family: monospace; font-size: 0.8rem;
}

/* GIS renders its button in an iframe — give the container the right width */
#googleSignInBtn, #googleSignUpBtn { width: 100%; min-height: 44px; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin: 2.5rem auto 4rem;
}
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all var(--t);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card-featured { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
.pricing-badge {
  position: absolute; top: -0.875rem; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.875rem;
  border-radius: 9999px; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap;
}
.pricing-type { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.875rem; }
.pricing-price { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; color: var(--text); line-height: 1; margin-bottom: 0.5rem; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.pricing-desc { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.pricing-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.625rem; }
.pricing-features li { font-size: 0.9rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.5rem; }
.pricing-features li .yes { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-features li .no  { color: var(--text-muted); flex-shrink: 0; }

/* ── CHECKOUT MODAL ── */
.modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(15,23,42,0.6); backdrop-filter: blur(4px);
  z-index: 200; align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: white; border-radius: 1rem; padding: 2rem;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-xl); position: relative;
}
.modal-card h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1.5rem; line-height: 1; padding: 0.25rem;
}
.modal-close:hover { color: var(--text); }
.plan-summary {
  background: var(--primary-light); border: 1px solid #C7D2FE;
  border-radius: var(--radius); padding: 0.875rem 1rem;
  display: flex; justify-content: space-between; align-items: center;
  margin: 1rem 0 1.5rem; font-size: 0.9375rem;
}
.plan-summary-price { font-size: 1.375rem; font-weight: 900; color: var(--primary); }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.stripe-note {
  display: flex; align-items: center; justify-content: center; gap: 0.375rem;
  font-size: 0.75rem; color: var(--text-muted); margin-top: 0.875rem;
}

/* ── PAYWALL ── */
.paywall-wrap { position: relative; }
.paywall-blur { filter: blur(5px); pointer-events: none; user-select: none; max-height: 520px; overflow: hidden; }
#accessGate {
  display: none; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(248,250,252,0.15) 0%, rgba(248,250,252,0.97) 52%);
  align-items: flex-end; justify-content: center;
  z-index: 10; padding: 2rem 1rem 3rem;
}
.paywall-box { text-align: center; max-width: 480px; }
.paywall-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.paywall-box h3 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.paywall-box p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.btn-group { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

/* ── ADMIN NAV ── */
.admin-topbar { background: #0F172A; padding: 0; border-bottom: 1px solid #1E293B; }
.admin-topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.admin-logo { font-size: 1.125rem; font-weight: 800; color: white; display: flex; align-items: center; gap: 0.625rem; }
.admin-badge-nav { background: #EF4444; color: white; font-size: 0.65rem; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-meta { color: #64748B; font-size: 0.875rem; display: flex; align-items: center; gap: 1rem; }
.admin-meta a { color: #94A3B8; transition: color var(--t); }
.admin-meta a:hover { color: white; }

/* ── ADMIN STATS ── */
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; }
.admin-stat-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.375rem; }
.admin-stat-icon { font-size: 1.75rem; margin-bottom: 0.625rem; line-height: 1; }
.admin-stat-value { font-size: 1.875rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.25rem; }
.admin-stat-label { font-size: 0.8125rem; color: var(--text-secondary); font-weight: 500; }
.admin-stat-trend { font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-top: 0.375rem; }

/* ── ADMIN TABLE ── */
.admin-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; }
.admin-panel-title { font-size: 1rem; font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th { text-align: left; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); padding: 0 0.75rem 0.75rem; border-bottom: 2px solid var(--border); }
.admin-table td { padding: 0.875rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAFA; }
.status-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.625rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; }
.status-pending  { background: #FFFBEB; color: #D97706; }
.status-approved { background: var(--accent-light); color: #059669; }
.status-rejected { background: #FEF2F2; color: #DC2626; }
.status-paid     { background: var(--accent-light); color: #059669; }
.status-dispute  { background: #FEF2F2; color: #DC2626; }
.doc-tag { display: inline-flex; align-items: center; padding: 0.2rem 0.5rem; border-radius: var(--radius); background: var(--primary-light); color: var(--primary); font-size: 0.7rem; font-weight: 700; margin-right: 0.25rem; }
.act-btn { padding: 0.3rem 0.7rem; border-radius: var(--radius); font-size: 0.78rem; font-weight: 700; cursor: pointer; border: 1.5px solid transparent; transition: all var(--t); }
.act-approve { background: var(--accent-light); color: #059669; border-color: #6EE7B7; }
.act-approve:hover { background: var(--accent); color: white; }
.act-reject  { background: #FEF2F2; color: #DC2626; border-color: #FECACA; }
.act-reject:hover  { background: #EF4444; color: white; }
.act-view    { background: var(--primary-light); color: var(--primary); border-color: #C7D2FE; }
.act-view:hover    { background: var(--primary); color: white; }

/* ── AI NOTICE ── */
.ai-notice { display: flex; align-items: flex-start; gap: 1rem; background: #F0FDF4; border: 1px solid #A7F3D0; border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 2rem; }
.ai-notice-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.ai-notice h4 { font-weight: 700; color: #065F46; margin-bottom: 0.25rem; font-size: 0.9375rem; }
.ai-notice p  { font-size: 0.875rem; color: #047857; line-height: 1.6; }

/* ── DASHBOARD ── */
.dashboard-hero { background: linear-gradient(135deg,#EEF2FF 0%,#F0FDF4 100%); padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.dashboard-greeting { font-size: 1.625rem; font-weight: 800; letter-spacing: -0.02em; }
.dashboard-subtitle { font-size: 1rem; color: var(--text-secondary); margin-top: 0.25rem; }
.sub-bar { display: flex; align-items: center; justify-content: space-between; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin: 1.5rem 0; flex-wrap: wrap; gap: 1rem; }
.sub-bar-left { display: flex; align-items: center; gap: 0.875rem; }
.sub-plan-label { font-size: 0.875rem; font-weight: 700; color: var(--primary); }
.sub-billing { font-size: 0.8125rem; color: var(--text-muted); }
.match-row { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.125rem; display: flex; align-items: center; gap: 1rem; margin-bottom: 0.875rem; transition: all var(--t); cursor: pointer; }
.match-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.match-pct-badge { width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--primary-light); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.match-pct-num { font-size: 0.875rem; font-weight: 900; color: var(--primary); line-height: 1; }
.match-pct-txt { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.worker-row { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.125rem; display: flex; align-items: center; gap: 1rem; margin-bottom: 0.875rem; transition: all var(--t); cursor: pointer; }
.worker-row:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.w-avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; color: white; flex-shrink: 0; }

/* ── PRICING PAGE extras ── */
.pricing-hero { background: linear-gradient(135deg, #EEF2FF 0%, #F0FDF4 100%); }
.pricing-emoji { font-size: 2.5rem; margin-bottom: 0.75rem; line-height: 1; }
.pricing-plan-name { font-size: 1.375rem; font-weight: 800; margin-bottom: 0.25rem; }
.pricing-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.pricing-amount { font-size: 3rem; font-weight: 900; letter-spacing: -0.04em; }
.pricing-period { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.check-icon { width: 1rem; height: 1rem; color: var(--accent); flex-shrink: 0; margin-top: 0.125rem; }
.admin-topbar { background: #0F172A; padding: 0 1.5rem; border-bottom: 1px solid #1E293B; display: flex; align-items: center; justify-content: space-between; height: 3.5rem; }
.admin-stat-delta { font-size: 0.75rem; margin-top: 0.375rem; font-weight: 600; }
.admin-stat-delta.positive { color: var(--accent); }
.admin-stat-delta.negative { color: #EF4444; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 0.75rem; overflow: hidden; background: white; }
.faq-item summary { padding: 1.125rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--primary); flex-shrink: 0; transition: transform var(--t); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.25rem 1.25rem; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* ── MODAL plan-summary override ── */
.plan-summary { flex-direction: column; gap: 0.5rem; align-items: stretch; }

/* ── COURSES ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.course-card {
  background: white; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 0; display: flex; flex-direction: column; gap: 0; overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.course-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.course-img {
  width: 100%; height: 148px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; flex-shrink: 0;
}
.course-img-emoji { font-size: 3.25rem; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.35)); line-height: 1; user-select: none; }
.course-img-badge {
  position: absolute; top: 0.625rem; right: 0.625rem;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.6875rem; font-weight: 700; padding: 0.2rem 0.55rem;
  border-radius: 9999px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
}
.course-img-paid {
  position: absolute; top: 0.625rem; left: 0.625rem;
  background: rgba(22,163,74,0.9); color: #fff; font-size: 0.6875rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: 9999px; letter-spacing: 0.03em;
}
.course-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.course-emoji { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1; }
.course-sector-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--primary); background: var(--primary-light);
  padding: 0.2rem 0.5rem; border-radius: 4px; margin-bottom: 0.75rem;
}
.course-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.75rem; }
.course-meta { display: flex; gap: 0.875rem; font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 1rem; flex-wrap: wrap; }
.course-topics { list-style: none; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.course-topics li { font-size: 0.8375rem; color: var(--text-secondary); padding-left: 1.1rem; position: relative; }
.course-topics li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.course-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.course-price { font-size: 1.625rem; font-weight: 900; color: var(--text); letter-spacing: -0.02em; }
.course-price span { font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }

/* ── COURSE MINI (homepage) ── */
.course-card-mini {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color var(--t);
}
.course-card-mini:hover { border-color: var(--primary); }
.course-price-mini {
  margin-left: auto; font-weight: 800; font-size: 1.125rem; color: var(--primary);
  background: var(--primary-light); padding: 0.3rem 0.6rem; border-radius: var(--radius); flex-shrink: 0;
}

/* ── JOB CARD FOOTER ── */
.job-card-footer { margin-top: 0.75rem; padding-top: 0.625rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }

/* ── JOB CARD PAYWALL ELEMENTS ── */
.employer-avatar-blur {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #818cf8, #6366f1);
  display: flex; align-items: center; justify-content: center;
  filter: blur(2.5px);
}
.matched-face-blur {
  display: inline-block; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #c7d2fe, #818cf8);
  border: 2px solid white; filter: blur(2px); flex-shrink: 0;
}
.job-subscribe-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--primary); color: white; font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.75rem; border-radius: 9999px; text-decoration: none;
  white-space: nowrap; transition: background 0.15s;
}
.job-subscribe-btn:hover { background: #4338ca; color: white; }

@media (max-width: 768px) {
  .pricing-grid    { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-row        { grid-template-columns: 1fr; }
  .admin-topbar    { padding: 0 1rem; }
  .courses-grid    { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   UX ENHANCEMENTS
═══════════════════════════════════════════ */

/* Buttons — secondary & accent definitions */
.btn-secondary { background: #F1F5F9; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--border); border-color: #CBD5E1; }
.btn-accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn-accent:hover { background: #059669; border-color: #059669; box-shadow: 0 4px 14px rgba(16,185,129,0.35); }

/* Nav — active link underline indicator */
.nav-links a { position: relative; padding-bottom: 0.125rem; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.25rem; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 9999px;
}

/* Stats — gradient numbers */
.stat-number {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.375rem;
}
.stat-icon { font-size: 1.25rem; display: block; margin-bottom: 0.25rem; line-height: 1; }

/* Sector cards — per-sector hover accent + emoji pop */
.sector-card { transition: all 0.22s cubic-bezier(0.4,0,0.2,1); }
.sector-emoji { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.sector-card:hover .sector-emoji { transform: scale(1.25) rotate(-5deg); }
.sector-card[data-sector="farm"]:hover        { border-color: #16a34a; background: #f0fdf4; }
.sector-card[data-sector="home"]:hover        { border-color: #d97706; background: #fffbeb; }
.sector-card[data-sector="garden"]:hover      { border-color: #0d9488; background: #f0fdfa; }
.sector-card[data-sector="construction"]:hover{ border-color: #ea580c; background: #fff7ed; }
.sector-card[data-sector="cleaning"]:hover    { border-color: #0284c7; background: #f0f9ff; }
.sector-card[data-sector="retail"]:hover      { border-color: #9333ea; background: #faf5ff; }
.sector-card[data-sector="transport"]:hover   { border-color: #2563eb; background: #eff6ff; }
.sector-card[data-sector="manufacturing"]:hover{ border-color: #475569; background: #f8fafc; }
.sector-card[data-sector="digital"]:hover     { border-color: var(--primary); background: var(--primary-light); }
.sector-card[data-sector="services"]:hover    { border-color: #e11d48; background: #fff1f2; }

/* Split CTA cards — lift on hover */
.split-card { transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
.split-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Step cards — improved hover */
.step-card { transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
.step-card:hover { box-shadow: 0 12px 28px -4px rgba(99,102,241,0.15); border-color: var(--primary); transform: translateY(-5px); }
.step-icon { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); display: block; }
.step-card:hover .step-icon { transform: scale(1.2); }

/* Job cards — more depth on hover */
.job-card { transition: all 0.25s cubic-bezier(0.4,0,0.2,1); }
.job-card:hover { box-shadow: 0 12px 28px -4px rgba(99,102,241,0.15); border-color: var(--primary); transform: translateY(-3px); }

/* Course cards — lift + emoji bounce */
.course-card { transition: border-color var(--t), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1); }
.course-card:hover { border-color: var(--primary); box-shadow: 0 16px 32px -6px rgba(99,102,241,0.18); transform: translateY(-5px); }
.course-img-emoji { transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1); }
.course-card:hover .course-img-emoji { transform: scale(1.2) rotate(-6deg); }

/* Mini course cards — slide on hover */
.course-card-mini { transition: all 0.22s ease; }
.course-card-mini:hover { border-color: var(--primary); background: var(--primary-light); transform: translateX(4px); }

/* Paywall box — card-style for credibility */
.paywall-box {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 40px rgba(15,23,42,0.14), 0 0 0 1px rgba(99,102,241,0.06);
  text-align: center;
  max-width: 440px;
}
#accessGate {
  background: linear-gradient(to bottom, transparent 0%, rgba(248,250,252,0.35) 30%, rgba(248,250,252,0.97) 58%);
}

/* Hero badge pulse */
.hero-badge {
  animation: badge-glow 3s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
  50%       { box-shadow: 0 0 0 4px rgba(99,102,241,0.12); }
}

/* Scrollable filter chips — fade hint on right edge */
.filter-chips-outer {
  position: relative;
}
.filter-chips-outer::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 3.5rem;
  background: linear-gradient(to right, transparent, white);
  pointer-events: none;
  z-index: 1;
}

/* Pricing card — hover lift for non-featured */
.pricing-card:not(.pricing-card-featured):hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.pricing-card { transition: all 0.22s ease; }

/* Trust logos — better hover */
.logo-company { transition: all 0.2s ease; }
.logo-company:hover { opacity: 0.85; color: var(--text); letter-spacing: -0.025em; }

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ── Mobile / PWA enhancements ──────────────────────────────────────────────── */

/* Respect iOS notch on nav */
.nav-inner {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* Faster tap response — eliminate 300ms delay */
a, button, [role="button"],
input[type="submit"], input[type="button"], input[type="reset"],
label, select, .btn, .job-card, .course-card {
  touch-action: manipulation;
}

/* Minimum tap target size (44 × 44 px per WCAG 2.5.5) */
.btn, button, .nav-toggle, .sm-bnav-item, .sm-bnav-center {
  min-height: 44px;
  min-width: 44px;
}

/* Prevent accidental text selection on interactive components */
.sm-bnav, .nav, .btn, .job-card-footer, .course-card-footer {
  -webkit-user-select: none;
  user-select: none;
}

/* Pull-to-refresh guard (app-like feel) */
html, body {
  overscroll-behavior-y: none;
}
/* Re-enable scroll in scrollable containers */
.sidebar, .course-list, .job-list, main, .container {
  overscroll-behavior-y: auto;
}

/* Safe-area paddings for app shell pages */
body {
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Improve form inputs on mobile */
input, select, textarea {
  font-size: max(16px, 1em); /* Prevent iOS auto-zoom on focus */
}

/* Active state feedback on mobile (no hover) */
@media (hover: none) {
  .btn:active { opacity: 0.82; transform: scale(0.97); }
  .job-card:active { transform: translateY(1px); }
  .course-card:active { transform: translateY(1px); }
  .nav-logo:active { opacity: 0.75; }
}

/* Full-bleed hero sections on small screens */
@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .container { padding-inline: 1rem; }
  .section { padding: 3rem 0; }
}

/* Fix nav safe area on iOS standalone */
@media (display-mode: standalone) {
  .nav {
    padding-top: env(safe-area-inset-top, 0);
  }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0));
  }
}

/* ── FLOATING ACTION BUTTONS ──────────────────────────────────────────────── */
.sm-fab-wa {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 8900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sm-fab-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
.sm-fab-wa:active { transform: scale(0.93); }

.sm-fab-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 8900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.sm-fab-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sm-fab-top:hover { box-shadow: var(--shadow-lg); color: var(--primary); border-color: #c7d2fe; }
.sm-fab-top:active { transform: scale(0.93); }

@media (max-width: 899px) {
  .sm-fab-wa  { bottom: calc(72px + 1rem); }
  .sm-fab-top { bottom: calc(72px + 4.5rem); }
}

/* ═══════════════════════════════════════════════════════════
   UI v2 — Visual Overhaul
   ═══════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────────── */
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-15px, 25px) scale(0.97); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-25px, 15px) scale(1.04); }
  70%       { transform: translate(20px, -30px) scale(0.98); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0); }
  50%       { box-shadow: 0 0 16px 4px rgba(99,102,241,0.22); }
}
@keyframes shimmer-slide {
  0%   { left: -60%; }
  100% { left: 120%; }
}

/* ── Hero Orbs ───────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  filter: blur(1px);
}
.hero-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(99,102,241,0.28) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orb-drift-1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(16,185,129,0.22) 0%, transparent 70%);
  bottom: -140px; left: 5%;
  animation: orb-drift-2 15s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(236,72,153,0.16) 0%, transparent 70%);
  top: 30%; left: 35%;
  animation: orb-drift-1 10s ease-in-out infinite reverse;
}
.hero-inner, .hero-content, .hero-visual { position: relative; z-index: 1; }

/* ── Gradient headline ───────────────────────────────────── */
.hero-highlight {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 45%, #EC4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s linear infinite;
}

/* Hero badge pulse */
.hero-badge { animation: badge-glow 3s ease-in-out infinite; }

/* ── Scroll Reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Sector Trio Cards ───────────────────────────────────── */
.sector-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.sector-trio-card {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 2rem 1.75rem;
  border-radius: 1.25rem;
  border: 1.5px solid var(--border);
  background: white;
  text-decoration: none;
  color: inherit;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}
.sector-trio-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.sector-farm::before   { background: linear-gradient(135deg, rgba(22,163,74,0.07)  0%, rgba(16,185,129,0.04) 100%); }
.sector-home::before   { background: linear-gradient(135deg, rgba(217,119,6,0.07)  0%, rgba(251,191,36,0.04) 100%); }
.sector-garden::before { background: linear-gradient(135deg, rgba(13,148,136,0.07) 0%, rgba(20,184,166,0.04) 100%); }
.sector-trio-card:hover::before { opacity: 1; }

.sector-farm:hover   { border-color: #16a34a; box-shadow: 0 16px 40px -6px rgba(16,185,129,0.22); transform: translateY(-8px); }
.sector-home:hover   { border-color: #d97706; box-shadow: 0 16px 40px -6px rgba(245,158,11,0.22); transform: translateY(-8px); }
.sector-garden:hover { border-color: #0d9488; box-shadow: 0 16px 40px -6px rgba(20,184,166,0.22); transform: translateY(-8px); }

.sector-trio-top { display: flex; align-items: center; justify-content: space-between; }
.sector-trio-emoji { font-size: 2.5rem; line-height: 1; }

.sector-trio-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 99px;
  background: var(--primary-light);
  color: var(--primary);
}
.sector-farm .sector-trio-badge   { background: #dcfce7; color: #15803d; }
.sector-home .sector-trio-badge   { background: #fef9c3; color: #a16207; }
.sector-garden .sector-trio-badge { background: #ccfbf1; color: #0f766e; }

.sector-trio-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.sector-trio-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
  margin: 0;
}
.sector-trio-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.25rem;
}
.sector-farm .sector-trio-footer   { color: #16a34a; }
.sector-home .sector-trio-footer   { color: #d97706; }
.sector-garden .sector-trio-footer { color: #0d9488; }
.sector-trio-footer span { transition: transform 0.2s; display: inline-block; }
.sector-trio-card:hover .sector-trio-footer span { transform: translateX(5px); }

@media (max-width: 768px)  { .sector-trio { grid-template-columns: 1fr; gap: 1rem; } }
@media (min-width: 769px) and (max-width: 900px) { .sector-trio { grid-template-columns: repeat(2,1fr); } }

/* ── Step cards enhanced ─────────────────────────────────── */
.step-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px -4px rgba(99,102,241,0.18);
  transform: translateY(-6px);
}

/* ── Course mini cards enhanced ──────────────────────────── */
.course-card-mini {
  transition: box-shadow 0.25s, transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.course-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -4px rgba(0,0,0,0.12);
}

/* ── Gradient buttons ────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #8B5CF6 100%);
  background-size: 200% auto;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(99,102,241,0.42);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
  background-size: 200% auto;
  transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-accent:hover {
  background-position: right center;
  box-shadow: 0 6px 20px rgba(16,185,129,0.42);
}

/* ── CTA section animated gradient ──────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 40%, #059669 100%);
  background-size: 300% 300%;
  animation: gradient-shift 8s linear infinite;
}

/* ── Footer gradient top border ──────────────────────────── */
.footer { position: relative; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366F1, #8B5CF6, #EC4899, #10B981, #6366F1);
  background-size: 300% auto;
  animation: gradient-shift 6s linear infinite;
}

/* ── Pricing card shimmer ────────────────────────────────── */
.pricing-card-featured { position: relative; overflow: hidden; }
.pricing-card-featured::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.10), transparent);
  animation: shimmer-slide 3.5s ease-in-out infinite;
  pointer-events: none;
}

/* ── Nav blur on scroll ──────────────────────────────────── */
.nav-scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92) !important;
}

/* ── Job card hover lift ──────────────────────────────────── */
.job-card {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s, border-color 0.25s;
}
.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -4px rgba(0,0,0,0.11);
  border-color: #c7d2fe;
}

/* ── Stat numbers polish ──────────────────────────────────── */
.stat-number {
  font-feature-settings: 'tnum';
  letter-spacing: -0.03em;
}

/* ── Section header spacing refinement ───────────────────── */
.section-header { text-align: center; margin-bottom: 2rem; }
.section-title { letter-spacing: -0.02em; }

/* ── Logo-mark gradient ───────────────────────────────────── */
.logo-match {
  background: linear-gradient(135deg, #6366F1, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 12-Sector Grid ──────────────────────────────────────── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.sector-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border-radius: 0.875rem;
  border: 1.5px solid var(--border);
  background: white;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s cubic-bezier(0.4,0,0.2,1), background 0.2s;
  cursor: pointer;
}
.sector-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 6px 20px rgba(99,102,241,0.15);
  transform: translateY(-3px);
}
.sector-card-emoji { font-size: 1.75rem; line-height: 1; flex-shrink: 0; }
.sector-card-name  { font-size: 0.875rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.sector-card-count { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.125rem; line-height: 1.4; }

@media (max-width: 900px) { .sector-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }
@media (max-width: 360px) { .sector-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; } }

/* ── Filter chips — scrollable on mobile ─────────────────── */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chips .chip { flex-shrink: 0; }
}

/* ── Professional network section label ───────────────────── */
.network-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.3rem 0.875rem;
  border-radius: 9999px;
}
.network-stat strong { color: var(--text); }
