/* ============================================
   TeenagersJob.com — Global Stylesheet
   Design references: Indeed, Snagajob, Glassdoor
   ============================================ */

/* === DESIGN TOKENS === */
:root {
  /* Brand Colors */
  --blue: #1633E6;
  --blue-dark: #0A1F9C;
  --blue-light: #3B5BFF;
  --blue-50: #EEF2FF;
  --blue-100: #DBE4FF;

  --green: #00C896;
  --green-dark: #009E78;
  --green-50: #E6FAF3;
  --green-100: #C2F2E2;

  --orange: #FF6B35;
  --orange-light: #FFF0EB;

  --yellow: #FFD600;
  --yellow-light: #FFFDE6;

  --purple: #7C3AED;
  --purple-light: #F3E8FF;

  --red: #E53E3E;

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-dark: #0F172A;
  --card: #FFFFFF;
  --text: #1E293B;
  --text-dim: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --border-dark: #CBD5E1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);

  /* Radius */
  --r-sm: 6px;
  --r: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Container */
  --container: 1280px;

  /* Font */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Transitions */
  --t: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* === UTILITIES === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.font-bold { font-weight: 700; }
.font-semi { font-weight: 600; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.grid { display: grid; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1.4;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid var(--border-dark); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--r-md); }
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: var(--r-sm);
  transition: all var(--t);
}
.nav-links a:hover { color: var(--blue); background: var(--blue-50); }
.nav-links a.active { color: var(--blue); background: var(--blue-50); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.mobile-toggle { display: none; font-size: 24px; color: var(--text); padding: 4px; }

/* === HERO === */
.hero {
  padding: 100px 0 64px;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--bg-soft) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 51, 230, 0.05) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.05) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-50);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* === SEARCH BAR (Indeed-style dual field) === */
.search-bar {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 8px;
  display: flex;
  gap: 0;
  box-shadow: var(--shadow-xl);
  max-width: 720px;
  margin: 0 auto 20px;
  border: 1px solid var(--border);
}
.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  position: relative;
}
.search-field + .search-field { border-left: 1px solid var(--border); }
.search-field svg { width: 20px; height: 20px; color: var(--text-light); flex-shrink: 0; }
.search-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--text);
  width: 100%;
}
.search-field input::placeholder { color: var(--text-light); }
.search-btn {
  background: var(--blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--t);
}
.search-btn:hover { background: var(--blue-dark); }
.search-btn:active { transform: translateY(1px); }

/* === POPULAR SEARCHES === */
.popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.popular-searches span { font-size: 13px; color: var(--text-light); margin-right: 4px; }
.psearch-chip {
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--text-dim);
  cursor: pointer;
  transition: all var(--t);
}
.psearch-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }

/* === HERO STATS === */
.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 32px;
}
.hero-stat .num { font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stat .num span { color: var(--blue); }
.hero-stat .label { font-size: 13px; color: var(--text-dim); }

/* === SECTION === */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .tag {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue);
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.section-header p { font-size: 17px; color: var(--text-dim); max-width: 600px; margin: 0 auto; }
.section-header .view-all { display: inline-block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--blue); }

/* === CATEGORY GRID === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--t);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 10px;
}
.cat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.cat-card p { font-size: 12px; color: var(--text-dim); }
.cat-count {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--text-dim);
  font-size: 11px;
  padding: 2px 10px;
  border-radius: var(--r-full);
  margin-top: 6px;
}

/* === JOB CARD === */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}
.job-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  transition: all var(--t);
  position: relative;
  display: flex;
  flex-direction: column;
}
.job-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}
.job-card .badge-new {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.job-card .badge-urgent {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-full);
  text-transform: uppercase;
}
.job-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.job-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.job-info { flex: 1; min-width: 0; }
.job-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-company { font-size: 14px; color: var(--text-dim); }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.job-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.tag-age { background: var(--blue-50); color: var(--blue); }
.tag-wage { background: var(--green-50); color: var(--green-dark); }
.tag-type { background: var(--orange-light); color: var(--orange); }
.tag-remote { background: var(--purple-light); color: var(--purple); }
.tag-cat { background: var(--bg-soft); color: var(--text-dim); }
.job-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.job-location { font-size: 13px; color: var(--text-dim); display: flex; align-items: center; gap: 4px; }
.job-apply { font-size: 14px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.job-apply:hover { color: var(--blue-dark); }

/* === SEARCH PAGE LAYOUT === */
.search-page { padding-top: 64px; }
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.filters {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  position: sticky;
  top: 80px;
}
.filter-group { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-dim);
  cursor: pointer;
}
.filter-option:hover { color: var(--blue); }
.filter-option input { accent-color: var(--blue); }
.filter-count { font-size: 12px; color: var(--text-light); margin-left: auto; }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 15px; color: var(--text-dim); }
.results-count strong { color: var(--text); }
.sort-select {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  outline: none;
}
.job-list { display: flex; flex-direction: column; gap: 12px; }

/* === PAGINATION === */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-dim);
  background: #fff;
  transition: all var(--t);
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* === HOW IT WORKS === */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; padding: 24px; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-dim); }

/* === EMPLOYER CTA === */
.employer-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.employer-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 200, 150, 0.12) 0%, transparent 70%);
}
.employer-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 10px; position: relative; }
.employer-cta p { font-size: 16px; opacity: 0.9; position: relative; }
.employer-cta .btn { position: relative; }
.employer-features { display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.employer-feature { display: flex; align-items: center; gap: 6px; font-size: 14px; opacity: 0.9; }

/* === RESOURCES === */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.resource-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.resource-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.resource-img { height: 160px; width: 100%; position: relative; }
.resource-body { padding: 20px; flex: 1; }
.resource-cat { font-size: 12px; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; }
.resource-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.resource-card p { font-size: 14px; color: var(--text-dim); }
.resource-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* === SALARY TABLE === */
.salary-table-wrap { overflow-x: auto; }
.salary-table { width: 100%; border-collapse: collapse; }
.salary-table th { text-align: left; padding: 12px 16px; background: var(--bg-soft); font-size: 14px; font-weight: 700; color: var(--text-dim); border-bottom: 2px solid var(--border); }
.salary-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.salary-table tr:hover td { background: var(--blue-50); }
.salary-table .job-name { font-weight: 600; color: var(--text); }
.salary-table .salary-range { font-weight: 700; color: var(--green-dark); }

/* === PARENT SECTION === */
.parent-section {
  background: linear-gradient(135deg, var(--blue-50), var(--green-50));
  border-radius: var(--r-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.parent-section .tag { background: rgba(22, 51, 230, 0.1); color: var(--blue); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: var(--r-full); display: inline-block; margin-bottom: 10px; }
.parent-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.parent-section p { font-size: 15px; color: var(--text-dim); margin-bottom: 16px; }
.parent-features li { padding: 6px 0; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.parent-features li::before { content: '✓'; color: var(--green-dark); font-weight: 700; font-size: 16px; }

/* === TESTIMONIALS === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
}
.testimonial-card .quote { font-size: 40px; color: var(--blue-100); position: absolute; top: 8px; right: 16px; }
.testimonial-card p { font-size: 14px; margin-bottom: 16px; position: relative; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--text-dim); }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .icon { font-size: 22px; color: var(--text-light); transition: transform var(--t); }
.faq-q.open .icon { transform: rotate(45deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a.open { max-height: 300px; }
.faq-a p { padding-bottom: 18px; font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* === NEWSLETTER === */
.newsletter {
  text-align: center;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--green-50) 100%);
  border-radius: var(--r-xl);
  padding: 48px 24px;
}
.newsletter h2 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.newsletter p { font-size: 15px; color: var(--text-dim); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 15px;
  outline: none;
  background: #fff;
}
.newsletter-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 51, 230, 0.1); }

/* === JOB DETAIL PAGE === */
.job-detail-page { padding-top: 64px; }
.job-detail-header {
  background: var(--bg-soft);
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.job-detail-header .job-top { margin-bottom: 0; }
.job-detail-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.job-detail-header .company-name { font-size: 16px; color: var(--text-dim); margin-bottom: 12px; }
.job-detail-header .meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.job-detail-body { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 32px 0; }
.job-detail-main h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; margin-top: 24px; }
.job-detail-main h2:first-child { margin-top: 0; }
.job-detail-main p { font-size: 15px; color: var(--text-dim); line-height: 1.8; margin-bottom: 12px; }
.job-detail-sidebar .sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.sidebar-info-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-info-row .label { color: var(--text-dim); }
.sidebar-info-row .value { font-weight: 600; }

/* === GUIDES PAGE === */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--t);
}
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide-card .guide-banner { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.guide-body { padding: 20px; }
.guide-body .guide-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.guide-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.guide-body p { font-size: 14px; color: var(--text-dim); }

/* === ARTICLE PAGE === */
.article-page { padding-top: 64px; }
.article-header { text-align: center; padding: 48px 0 32px; }
.article-header .article-cat { display: inline-block; color: var(--green-dark); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.article-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 12px; max-width: 800px; margin-left: auto; margin-right: auto; }
.article-header .article-meta { font-size: 14px; color: var(--text-dim); }
.article-body { max-width: 760px; margin: 0 auto; padding: 0 0 48px; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 20px 0 8px; }
.article-body p { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 16px; }
.article-body ul { margin-bottom: 16px; }
.article-body li { font-size: 16px; color: var(--text-dim); padding: 4px 0 4px 24px; position: relative; }
.article-body li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.article-body .callout { background: var(--blue-50); border-left: 4px solid var(--blue); padding: 16px 20px; border-radius: var(--r); margin: 20px 0; }
.article-body .callout p { color: var(--text); margin: 0; }

/* === FOOTER === */
.footer { background: var(--bg-dark); color: #94A3B8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-contact { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--green); margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94A3B8; font-size: 14px; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 16px; }
.footer-social a:hover { background: var(--blue); color: #fff; }

/* === LOADING === */
.loading { text-align: center; padding: 48px; color: var(--text-dim); }
.loading .spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.no-results { text-align: center; padding: 48px; }
.no-results .icon { font-size: 48px; margin-bottom: 12px; }
.no-results h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.no-results p { font-size: 14px; color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .job-detail-body { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .hero-stats { gap: 24px; }
  .steps-grid, .resources-grid, .testimonials-grid, .guides-grid { grid-template-columns: 1fr; }
  .employer-cta { grid-template-columns: 1fr; padding: 32px 20px; }
  .parent-section { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 28px; }
}
@media (max-width: 600px) {
  .search-bar { flex-direction: column; }
  .search-field + .search-field { border-left: none; border-top: 1px solid var(--border); }
  .search-btn { width: 100%; padding: 14px; }
  .hero h1 { font-size: 30px; }
  .hero-stats { flex-direction: row; gap: 16px; }
  .hero-stat .num { font-size: 22px; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
}
