/* ============================================================
   JobForge — Main Stylesheet
   ============================================================ */

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #21262d;
  --border: #30363d;
  --border-hover: #484f58;
  --text: #e6edf3;
  --text-muted: #7d8590;
  --text-subtle: #484f58;
  --accent: #388bfd;
  --accent-hover: #58a6ff;
  --featured: #d29922;
  --featured-dim: rgba(210, 153, 34, 0.15);
  --success: #3fb950;
  --error: #f85149;
  --warning: #d29922;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  --transition: 0.15s ease;
  --container: 1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }

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

/* ── Navigation ── */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text) !important;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-cta {
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  color: var(--text);
}
.btn-featured {
  background: var(--featured);
  color: #000;
  border-color: var(--featured);
}
.btn-featured:hover {
  background: #e3a91a;
  color: #000;
}
.btn-lg {
  padding: 12px 28px;
  font-size: 1rem;
}
.btn-sm {
  padding: 5px 12px;
  font-size: 0.8125rem;
}

/* ── Messages ── */
.messages { max-width: var(--container); margin: 0 auto; padding: 16px 24px 0; }
.message {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 0.875rem;
  border: 1px solid;
}
.message.success { background: rgba(63, 185, 80, 0.1); border-color: var(--success); color: var(--success); }
.message.error { background: rgba(248, 81, 73, 0.1); border-color: var(--error); color: var(--error); }
.message.info { background: rgba(56, 139, 253, 0.1); border-color: var(--accent); color: var(--accent); }

/* ── Hero ── */
.hero {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px 64px;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: center; }
.hero-stat .value { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.hero-stat .label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

/* ── Section headings ── */
.section { padding: 56px 24px; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.section-link {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.section-link:hover { color: var(--accent); }

/* ── Job cards ── */
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.job-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}
.job-card.featured {
  border-color: var(--featured);
  background: linear-gradient(135deg, var(--surface) 0%, var(--featured-dim) 100%);
}
.job-card.featured:hover {
  border-color: #e3a91a;
}
.job-card a { color: inherit; }
.job-card a:hover { color: inherit; }

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
}
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-logo.lg { width: 80px; height: 80px; font-size: 1.5rem; border-radius: var(--radius-lg); }

.job-body { flex: 1; min-width: 0; }
.job-meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.job-company-link { color: var(--text-muted) !important; font-weight: 500; }
.job-company-link:hover { color: var(--accent) !important; }
.job-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.job-title:hover { color: var(--accent); }
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* ── Tags / Badges ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid;
}
.tag-default { background: var(--surface-2); border-color: var(--border); color: var(--text-muted); }
.tag-remote { background: rgba(63, 185, 80, 0.1); border-color: rgba(63, 185, 80, 0.3); color: var(--success); }
.tag-hybrid { background: rgba(56, 139, 253, 0.1); border-color: rgba(56, 139, 253, 0.3); color: var(--accent); }
.tag-onsite { background: rgba(125, 133, 144, 0.1); border-color: var(--border); color: var(--text-muted); }
.tag-featured { background: var(--featured-dim); border-color: var(--featured); color: var(--featured); font-weight: 600; }
.tag-salary { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.tag-category { background: rgba(56, 139, 253, 0.08); border-color: rgba(56, 139, 253, 0.2); color: var(--accent-hover); }

.job-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.job-date { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--featured-dim);
  border: 1px solid var(--featured);
  color: var(--featured);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Category grid ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
  display: block;
}
.category-card:hover {
  border-color: var(--accent);
  background: rgba(56, 139, 253, 0.05);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.category-icon { font-size: 2rem; margin-bottom: 10px; }
.category-name { font-size: 0.9375rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.category-count { font-size: 0.8125rem; color: var(--text-muted); }

/* ── Filters bar ── */
.filters {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 60px;
  z-index: 50;
}
.filters-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-label { font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; margin-right: 4px; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}
.filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--text);
}
.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.search-input {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 14px;
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
}
.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-subtle); }

/* ── Job listing page layout ── */
.listing-header {
  padding: 32px 24px 0;
  max-width: var(--container);
  margin: 0 auto;
}
.listing-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.listing-meta { color: var(--text-muted); font-size: 0.875rem; }
.listing-body {
  max-width: var(--container);
  margin: 24px auto;
  padding: 0 24px;
}

/* ── Job detail ── */
.detail-layout {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 80px; }
.detail-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.detail-header.featured { border-color: var(--featured); }
.detail-company-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.detail-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.detail-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text);
}
.detail-content h2, .detail-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}
.detail-content p { margin-bottom: 14px; }
.detail-content ul, .detail-content ol {
  margin: 0 0 14px 20px;
  list-style: disc;
}
.detail-content li { margin-bottom: 4px; }

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.sidebar-card h3 { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.sidebar-apply { text-align: center; }
.sidebar-apply .btn { width: 100%; justify-content: center; margin-bottom: 10px; font-size: 1rem; padding: 12px; }
.apply-note { font-size: 0.8125rem; color: var(--text-muted); text-align: center; }

.job-info-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.job-info-row:last-child { border-bottom: none; }
.job-info-label { color: var(--text-muted); width: 90px; flex-shrink: 0; }
.job-info-value { color: var(--text); font-weight: 500; }

/* ── Forms ── */
.form-page {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 24px;
}
.form-page-wide {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.form-header { margin-bottom: 32px; }
.form-header h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 8px; }
.form-header p { color: var(--text-muted); }
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-section { margin-bottom: 32px; }
.form-section-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group .help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.form-group .errorlist {
  list-style: none;
  margin: 4px 0 0;
}
.form-group .errorlist li {
  font-size: 0.75rem;
  color: var(--error);
}
.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text);
  font-size: 0.875rem;
  outline: none;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--text-subtle); }
textarea.form-control { resize: vertical; min-height: 140px; }
select.form-control { cursor: pointer; }

.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.radio-option:hover { border-color: var(--border-hover); background: var(--surface-2); }
.radio-option input[type="radio"] { margin-top: 2px; accent-color: var(--accent); }
.radio-option-content { flex: 1; }
.radio-option-label { font-size: 0.9375rem; font-weight: 500; color: var(--text); }
.radio-option-desc { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }
.radio-option.selected { border-color: var(--accent); background: rgba(56, 139, 253, 0.05); }

.listing-type-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.listing-type-option {
  padding: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.listing-type-option:hover { border-color: var(--border-hover); }
.listing-type-option.selected { border-color: var(--accent); background: rgba(56, 139, 253, 0.05); }
.listing-type-option.featured-option.selected { border-color: var(--featured); background: var(--featured-dim); }
.listing-price { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.listing-name { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.listing-features { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.6; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; }

/* ── Preview card ── */
.preview-sticky { position: sticky; top: 80px; }
.preview-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ── Subscribe form ── */
.subscribe-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 24px;
  text-align: center;
}
.subscribe-inner { max-width: 560px; margin: 0 auto; }
.subscribe-inner h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.subscribe-inner p { color: var(--text-muted); margin-bottom: 24px; }
.subscribe-form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto; }
.subscribe-form input { flex: 1; }

/* ── How it works ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.how-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(56, 139, 253, 0.15);
  border: 1px solid rgba(56, 139, 253, 0.3);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.how-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.how-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ── Pricing highlight ── */
.pricing-cta {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(56, 139, 253, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 56px 24px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.pricing-cta h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.pricing-cta p { color: var(--text-muted); margin-bottom: 24px; }
.pricing-options { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.price-card {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  min-width: 200px;
  transition: border-color var(--transition);
}
.price-card:hover { border-color: var(--accent); }
.price-card.featured { border-color: var(--featured); }
.price-card .price { font-size: 2rem; font-weight: 700; color: var(--text); }
.price-card .duration { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 12px; }
.price-card .features { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.8; text-align: left; }
.price-card .feature { display: flex; align-items: center; gap: 6px; }
.price-card .feature::before { content: "✓"; color: var(--success); font-weight: 700; }

/* ── Company profile ── */
.company-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}
.company-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.company-info h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 4px; }
.company-info .website { color: var(--text-muted); font-size: 0.875rem; }
.company-info .website:hover { color: var(--accent); }
.company-description { color: var(--text-muted); margin-top: 8px; max-width: 600px; font-size: 0.9375rem; line-height: 1.7; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.125rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.empty-state p { margin-bottom: 20px; }

/* ── Success / Cancel pages ── */
.status-page {
  max-width: 560px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}
.status-icon { font-size: 4rem; margin-bottom: 24px; }
.status-page h1 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.status-page p { color: var(--text-muted); font-size: 1rem; margin-bottom: 8px; line-height: 1.7; }
.status-page .actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo { font-size: 1.125rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-links h4 { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 14px; }
.footer-links a { display: block; font-size: 0.875rem; color: var(--text-muted); padding: 4px 0; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(56, 139, 253, 0.1) 0%, rgba(56, 139, 253, 0.04) 100%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.cta-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-banner-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.cta-banner-text strong {
  color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .form-page-wide { grid-template-columns: 1fr; }
  .preview-sticky { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 48px 24px 40px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .listing-type-group { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing-options { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .subscribe-form { flex-direction: column; }
  .job-card { flex-wrap: wrap; }
  .job-card-right { flex-direction: row; align-items: center; }
  .company-header-inner { flex-direction: column; align-items: flex-start; }
}
