/* ============================================================
   JOBNOVA — STYLE.CSS
   Core variables, reset, base, layout, components
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ──────────────── CSS VARIABLES ──────────────── */
:root {
  /* Brand */
  --primary:         #1E104E;
  --primary-hover:   #2A1768;
  --secondary:       #452E5A;
  --accent:          #FF653F;
  --accent-hover:    #e84e28;
  --gold:            #FFC85C;

  /* Backgrounds */
  --bg-main:         #F7F8FC;
  --bg-secondary:    #FFFFFF;
  --bg-tertiary:     #EEF1F8;
  --card-bg:         #FFFFFF;
  --glass-bg:        rgba(255,255,255,0.72);

  /* Text */
  --text-heading:    #17122B;
  --text-body:       #4A4A68;
  --text-muted:      #7A7A98;
  --text-inverse:    #FFFFFF;

  /* Borders */
  --border-light:    #E4E7F2;
  --border-medium:   #CDD3E3;
  --divider:         #E9ECF5;

  /* Gradients */
  --grad-brand:      linear-gradient(135deg, #1E104E 0%, #452E5A 45%, #FF653F 100%);
  --grad-accent:     linear-gradient(135deg, #7B6DFF 0%, #FF653F 100%);
  --grad-card:       linear-gradient(135deg, rgba(30,16,78,0.04) 0%, rgba(255,101,63,0.04) 100%);

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(30,16,78,0.06);
  --shadow-md:       0 8px 24px rgba(30,16,78,0.10);
  --shadow-lg:       0 20px 48px rgba(30,16,78,0.14);
  --shadow-card:     0 4px 20px rgba(30,16,78,0.08);
  --shadow-glow:     0 0 30px rgba(255,101,63,0.25);

  /* Layout */
  --radius-sm:       10px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-xl:       32px;
  --container-max:   1280px;
  --nav-height:      72px;

  /* Fonts */
  --font-display:    'Syne', sans-serif;
  --font-body:       'DM Sans', sans-serif;

  /* Transitions */
  --ease:            cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:        0.18s;
  --dur-normal:      0.28s;
  --dur-slow:        0.5s;
}

/* DARK MODE OVERRIDES */
[data-theme="dark"] {
  --primary:         #7B6DFF;
  --primary-hover:   #9488ff;
  --secondary:       #A07CCF;
  --accent:          #FF7A57;
  --accent-hover:    #ff9070;
  --gold:            #FFD474;

  --bg-main:         #0E0B1F;
  --bg-secondary:    #151128;
  --bg-tertiary:     #1D1735;
  --card-bg:         #1A1630;
  --glass-bg:        rgba(26,22,48,0.65);

  --text-heading:    #F5F7FF;
  --text-body:       #C9CEE2;
  --text-muted:      #9298B3;
  --text-inverse:    #0E0B1F;

  --border-light:    #2B2447;
  --border-medium:   #3A315C;
  --divider:         #251F3D;

  --grad-brand:      linear-gradient(135deg, #7B6DFF 0%, #A07CCF 45%, #FF7A57 100%);
  --shadow-sm:       0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:       0 8px 24px rgba(0,0,0,0.35);
  --shadow-lg:       0 20px 48px rgba(0,0,0,0.45);
  --shadow-card:     0 4px 20px rgba(0,0,0,0.3);
  --shadow-glow:     0 0 40px rgba(123,109,255,0.3);
}

/* ──────────────── RESET ──────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  transition: background var(--dur-normal) var(--ease-smooth),
              color var(--dur-normal) var(--ease-smooth);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, textarea { font-family: var(--font-body); }
::selection { background: var(--accent); color: #fff; }

/* ──────────────── SCROLLBAR ──────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border-medium); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ──────────────── CONTAINER ──────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ──────────────── TYPOGRAPHY ──────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ──────────────── BUTTONS ──────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 600;
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(255,101,63,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255,101,63,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-medium);
  color: var(--text-heading);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost {
  background: var(--bg-tertiary);
  color: var(--text-body);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* ──────────────── GLASSMORPHISM CARD ──────────────── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

/* ──────────────── HEADER ──────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--dur-normal) var(--ease-smooth),
              background var(--dur-normal) var(--ease-smooth);
}
#site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}
.header-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 130px;
}
.header-time {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}
.header-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--grad-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.04em;
}
.logo-text span { color: var(--accent); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
  justify-content: flex-end;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all var(--dur-normal) var(--ease);
  cursor: pointer;
  font-family: var(--font-body);
}
.icon-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.icon-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
[data-theme="dark"] .icon-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
}
.lang-btn { font-size: 0.72rem; letter-spacing: 0.04em; font-weight: 700; }

/* ──────────────── NAVIGATION ──────────────── */
#main-nav {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: var(--nav-height);
  z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 4px;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--dur-fast) var(--ease-smooth);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-heading);
  background: var(--bg-tertiary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
}
.nav-link .chevron {
  transition: transform var(--dur-fast) var(--ease-smooth);
  font-size: 0.6rem;
  color: var(--text-muted);
}
.nav-link:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--dur-normal) var(--ease-smooth);
  z-index: 1100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-body);
  transition: all var(--dur-fast) var(--ease-smooth);
}
.dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--accent);
  padding-left: 16px;
}
.dropdown-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-medium);
  flex-shrink: 0;
}
.dropdown-item:hover .dot { background: var(--accent); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 99px;
  transition: all var(--dur-normal) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-height) + 52px);
  left: 0; right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--divider);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 998;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--nav-height) - 52px);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-body);
  transition: all var(--dur-fast);
}
.mobile-nav-link:hover {
  background: var(--bg-tertiary);
  color: var(--accent);
  padding-left: 22px;
}
.mobile-nav-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px 4px;
}

/* ──────────────── HERO SECTION ──────────────── */
#hero {
  padding: calc(var(--nav-height) + 52px + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: floatBlob 8s ease-in-out infinite;
}
.blob-1 {
  width: clamp(280px, 35vw, 500px);
  height: clamp(280px, 35vw, 500px);
  background: radial-gradient(circle, rgba(123,109,255,0.5) 0%, rgba(30,16,78,0.1) 70%);
  top: -100px; left: -80px;
  animation-delay: 0s;
}
.blob-2 {
  width: clamp(200px, 28vw, 380px);
  height: clamp(200px, 28vw, 380px);
  background: radial-gradient(circle, rgba(255,101,63,0.4) 0%, rgba(255,200,92,0.1) 70%);
  top: 20%; right: -60px;
  animation-delay: -3s;
}
.blob-3 {
  width: clamp(180px, 24vw, 320px);
  height: clamp(180px, 24vw, 320px);
  background: radial-gradient(circle, rgba(69,46,90,0.5) 0%, transparent 70%);
  bottom: 10%; left: 30%;
  animation-delay: -6s;
}
[data-theme="dark"] .blob { opacity: 0.35; }

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}
[data-theme="dark"] .hero-grid-pattern { opacity: 0.15; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-left {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--border-light);
  border-radius: 99px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
}
.hero-badge .pill {
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-headline em {
  font-style: normal;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
.hero-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--divider);
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero right — search + trending */
.hero-right { display: flex; flex-direction: column; gap: 20px; }
.search-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.search-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-card-title .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}
.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-input-wrap {
  position: relative;
}
.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  color: var(--text-heading);
  transition: all var(--dur-normal) var(--ease-smooth);
  outline: none;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(255,101,63,0.12);
}
.search-btn-full {
  width: 100%;
  padding: 13px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.93rem;
  font-weight: 700;
  transition: all var(--dur-normal) var(--ease);
  letter-spacing: 0.02em;
}
.search-btn-full:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255,101,63,0.3);
}

.trending-tags { margin-top: 4px; }
.trending-tags-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.tag-chip:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.04);
}
.tag-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* floating card decorations */
.floating-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.mini-job-float {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  animation: floatItem 3s ease-in-out infinite;
  transition: transform var(--dur-normal) var(--ease);
}
.mini-job-float:hover { transform: translateX(4px); }
.mini-job-float:nth-child(2) { animation-delay: -1.5s; }
.mini-avatar {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.mini-info { flex: 1; min-width: 0; }
.mini-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-sub { font-size: 0.72rem; color: var(--text-muted); }
.mini-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255,101,63,0.12);
  color: var(--accent);
  flex-shrink: 0;
}
.mini-badge.gov { background: rgba(30,16,78,0.1); color: var(--primary); }
[data-theme="dark"] .mini-badge.gov { background: rgba(123,109,255,0.15); color: var(--primary); }

/* ──────────────── FILTER SECTION ──────────────── */
#filters {
  padding: 40px 0 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: calc(var(--nav-height) + 52px);
  z-index: 990;
}
.filter-group { padding-bottom: 12px; }
.filter-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-light);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
}
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,101,63,0.06);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,101,63,0.3);
}
.filter-divider { height: 1px; background: var(--divider); margin: 8px 0; }
.filter-count-badge {
  background: rgba(255,101,63,0.15);
  color: var(--accent);
  border-radius: 99px;
  padding: 0 6px;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}
.filter-btn.active .filter-count-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* ──────────────── JOBS SECTION ──────────────── */
#jobs {
  padding: 60px 0 80px;
}
.jobs-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.jobs-count-info {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.jobs-count-info strong {
  color: var(--text-heading);
  font-weight: 700;
}
.jobs-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sort-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.sort-select {
  padding: 8px 32px 8px 12px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-body);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237A7A98' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--dur-fast);
}
.sort-select:focus { border-color: var(--accent); }

/* ──────────────── JOB CARDS GRID ──────────────── */
#jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.job-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--dur-normal) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.job-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-normal) var(--ease-smooth);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.job-card:hover::before { transform: scaleX(1); }
.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}
.job-card.featured {
  border-color: rgba(255,101,63,0.2);
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255,101,63,0.02) 100%);
}
.job-card.featured::after {
  content: '⭐ Featured';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255,200,92,0.1);
  border: 1px solid rgba(255,200,92,0.3);
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.04em;
}
.job-card.urgent.featured::after { right: 100px; }

.job-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.company-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.04em;
}
.company-avatar.alt-1 { background: linear-gradient(135deg, #1a4e8a, #2d7dd2); }
.company-avatar.alt-2 { background: linear-gradient(135deg, #1a6b3c, #28a86b); }
.company-avatar.alt-3 { background: linear-gradient(135deg, #8a1a4e, #d23d7d); }
.company-avatar.alt-4 { background: linear-gradient(135deg, #4e3a1a, #d2892d); }
.company-avatar.alt-5 { background: linear-gradient(135deg, #1a3d4e, #2d8ba8); }
.company-avatar.alt-6 { background: linear-gradient(135deg, #4e1a1a, #d22d2d); }

.job-info { flex: 1; min-width: 0; }
.job-title {
  font-family: var(--font-display);
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 4px;
}
.company-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}
.save-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.save-btn:hover, .save-btn.saved {
  background: rgba(255,101,63,0.1);
  color: var(--accent);
}
.save-btn.saved { background: rgba(255,101,63,0.15); }
.save-btn svg { width: 16px; height: 16px; }

.job-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  color: var(--text-muted);
}
.meta-item svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--text-muted); }
.meta-item.salary { color: var(--text-heading); font-weight: 600; }
.meta-item.salary svg { color: var(--accent); }

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.job-tag {
  padding: 3px 10px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--dur-fast);
}
.job-card:hover .job-tag { border-color: var(--border-medium); }

.job-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.badge {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-govt { background: rgba(30,16,78,0.1); color: var(--primary); }
[data-theme="dark"] .badge-govt { background: rgba(123,109,255,0.15); color: var(--primary); }
.badge-private { background: rgba(255,101,63,0.1); color: var(--accent); }
.badge-psu { background: rgba(28,107,60,0.1); color: #1c6b3c; }
[data-theme="dark"] .badge-psu { background: rgba(40,168,107,0.15); color: #28a86b; }
.badge-startup { background: rgba(123,109,255,0.1); color: #7B6DFF; }
.badge-remote { background: rgba(255,200,92,0.12); color: #996b00; }
[data-theme="dark"] .badge-remote { background: rgba(255,212,116,0.12); color: var(--gold); }
.badge-internship { background: rgba(160,124,207,0.12); color: #7b4fa6; }
[data-theme="dark"] .badge-internship { background: rgba(160,124,207,0.15); color: var(--secondary); }
.badge-freelance { background: rgba(210,45,45,0.1); color: #c42b2b; }
[data-theme="dark"] .badge-freelance { background: rgba(210,45,45,0.12); color: #e05555; }

.badge-tech { background: rgba(45,139,168,0.1); color: #1a6b8a; }
[data-theme="dark"] .badge-tech { background: rgba(45,139,168,0.15); color: #5ab8d4; }
.badge-finance { background: rgba(30,78,30,0.1); color: #1a5c1a; }
[data-theme="dark"] .badge-finance { background: rgba(40,168,40,0.1); color: #5cd45c; }
.badge-healthcare { background: rgba(180,30,60,0.1); color: #b41e3c; }
[data-theme="dark"] .badge-healthcare { background: rgba(220,80,80,0.12); color: #e07070; }
.badge-education { background: rgba(130,80,0,0.1); color: #825000; }
[data-theme="dark"] .badge-education { background: rgba(210,130,0,0.12); color: #d4a030; }
.badge-design { background: rgba(120,40,160,0.1); color: #7828a0; }
[data-theme="dark"] .badge-design { background: rgba(160,80,200,0.12); color: #b06cdc; }
.badge-marketing { background: rgba(180,60,20,0.1); color: #b43c14; }
[data-theme="dark"] .badge-marketing { background: rgba(210,90,40,0.1); color: #e07848; }
.badge-non-tech { background: rgba(70,70,100,0.1); color: #464664; }
[data-theme="dark"] .badge-non-tech { background: rgba(100,100,140,0.12); color: #9898c0; }

.badge-urgent-pulse {
  background: rgba(255,50,50,0.1);
  color: #e03030;
  display: flex;
  align-items: center;
  gap: 4px;
}
[data-theme="dark"] .badge-urgent-pulse {
  background: rgba(255,80,80,0.12);
  color: #ff6060;
}
.badge-urgent-pulse::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}

.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--divider);
  margin-top: auto;
}
.posted-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.posted-time svg { width: 11px; height: 11px; }
.openings-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.openings-count strong {
  color: var(--text-heading);
  font-weight: 600;
}
.apply-btn {
  padding: 8px 18px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.80rem;
  font-weight: 700;
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap;
}
.apply-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,101,63,0.35);
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}
.skeleton-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* No results */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.no-results h3 { color: var(--text-heading); margin-bottom: 8px; font-size: 1.3rem; }

/* ──────────────── ABOUT SECTION ──────────────── */
#about {
  padding: 100px 0;
  background: var(--bg-tertiary);
  position: relative;
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-left {}
.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-normal) var(--ease);
}
.about-stat-card:hover { transform: translateY(-4px); }
.about-stat-card.wide { grid-column: 1 / -1; }
.about-stat-card.accent-card {
  background: var(--grad-brand);
  border-color: transparent;
}
.about-stat-card.accent-card * { color: #fff !important; }
.about-stat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-heading);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat-label { font-size: 0.82rem; color: var(--text-muted); }

.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,101,63,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-text h4 { font-size: 0.93rem; font-weight: 700; color: var(--text-heading); margin-bottom: 2px; }
.feature-text p { font-size: 0.82rem; color: var(--text-muted); }

/* ──────────────── RESOURCES SECTION ──────────────── */
#resources { padding: 100px 0; background: var(--bg-secondary); }
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all var(--dur-normal) var(--ease);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.resource-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity var(--dur-normal);
}
.resource-card:hover::before { opacity: 1; }
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}
.resource-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.resource-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.resource-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.resource-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 1;
  transition: gap var(--dur-fast);
}
.resource-card:hover .resource-link { gap: 8px; }

/* ──────────────── CONTACT SECTION ──────────────── */
#contact { padding: 100px 0; background: var(--bg-tertiary); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--dur-normal) var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info h4 { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 4px; }
.contact-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.contact-info a { color: var(--accent); font-weight: 500; }
.contact-info a:hover { text-decoration: underline; }

/* ──────────────── QUERY SECTION ──────────────── */
#query { padding: 100px 0; background: var(--bg-secondary); }
.query-form-wrap {
  max-width: 680px;
  margin: 48px auto 0;
}
.query-form {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  padding: 11px 14px;
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-heading);
  outline: none;
  transition: all var(--dur-normal) var(--ease-smooth);
  font-family: var(--font-body);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: var(--bg-secondary);
  box-shadow: 0 0 0 3px rgba(255,101,63,0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 8px;
  transition: all var(--dur-normal) var(--ease);
  letter-spacing: 0.02em;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(255,101,63,0.3);
}

/* ──────────────── FOOTER ──────────────── */
#footer {
  background: var(--bg-main);
  border-top: 1px solid var(--divider);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--dur-fast) var(--ease);
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--dur-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-link:hover { color: var(--accent); padding-left: 4px; }
.footer-link .arrow { font-size: 0.65rem; opacity: 0; transition: opacity var(--dur-fast); }
.footer-link:hover .arrow { opacity: 1; }

.footer-newsletter {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-top: 4px;
  display: flex;
  gap: 8px;
}
.newsletter-input {
  flex: 1;
  padding: 9px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-heading);
  outline: none;
  transition: border-color var(--dur-fast);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-btn {
  padding: 9px 16px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--dur-fast);
}
.newsletter-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255,101,63,0.3);
}

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy {
  font-size: 0.80rem;
  color: var(--text-muted);
}
.footer-copy strong { color: var(--text-body); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--dur-fast);
}
.footer-bottom-link:hover { color: var(--accent); }

/* ──────────────── BACK TO TOP ──────────────── */
#back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--dur-normal) var(--ease);
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
#back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
#back-to-top svg { width: 18px; height: 18px; }

/* ──────────────── SECTIONS SHARED ──────────────── */
.section-header {
  margin-bottom: 48px;
}
.section-header.center { text-align: center; }
.section-header.center .section-label {
  justify-content: center;
}
.section-header.center .section-desc {
  margin: 0 auto;
}
