/* ============================================
   JobCombo - Modern Tech Aggregator Stylesheet
   Design: Clean, spacious, data-rich
   Colors: Navy blue + soft sky blue
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #1E3A5F;
  --accent: #3B82F6;
  --purple-light: #2563EB;
  --purple-lighter: #60A5FA;
  --bg: #FFFFFF;
  --bg-tint: #F0F5FF;
  --dark: #0F1B2D;
  --text: #2D3748;
  --text-muted: #718096;
  --gray-light: #E2E8F0;
  --gray: #A0AEC0;
  --border: #E2E8F0;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 4px 20px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 8px 40px rgba(30, 58, 95, 0.12);
  --shadow-glow: 0 4px 24px rgba(59, 130, 246, 0.2);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-pill: 50px;
  --gradient-primary: linear-gradient(135deg, #1E3A5F 0%, #2563EB 50%, #3B82F6 100%);
  --gradient-soft: linear-gradient(135deg, #F0F5FF 0%, #E0EAFB 100%);
  --gradient-accent: linear-gradient(135deg, #1E3A5F, #3B82F6);
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: blur(12px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--purple-light);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header - Glassmorphism
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(59, 31, 126, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.logo-text .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 6px 0;
  position: relative;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  width: 100%;
}

/* Header Search Pill */
.header-search {
  flex: 1;
  max-width: 340px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text);
}

.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.1);
  background: var(--white);
}

.header-search input::placeholder {
  color: var(--gray);
}

.header-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 0.9rem;
  pointer-events: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-post-job {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 194, 168, 0.2);
}

.btn-post-job:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 194, 168, 0.35);
  color: var(--white);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--bg-tint);
}

/* Mobile Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 16, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: #00a892;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-tint);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-tint);
  transform: translateY(-1px);
}

.btn-gradient {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0, 194, 168, 0.2);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(0, 194, 168, 0.35);
  color: var(--white);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================
   Hero - Full Width Centered
   ============================================ */
.hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-tint) 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 79, 187, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 194, 168, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.hero h1 .gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Hero Search - Two inputs side by side */
.hero-search-wrapper {
  max-width: 720px;
  margin: 0 auto 28px;
}

.hero-search-form {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(59, 31, 126, 0.1);
  overflow: hidden;
  border: 1px solid var(--border);
}

.hero-search-form input,
.hero-search-form select {
  flex: 1;
  padding: 18px 20px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  color: var(--text);
  background: transparent;
}

.hero-search-form input::placeholder {
  color: var(--gray);
}

.hero-search-form input:focus,
.hero-search-form select:focus {
  background: var(--bg-tint);
}

.hero-search-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-search-form .btn-search {
  padding: 18px 36px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hero-search-form .btn-search:hover {
  opacity: 0.9;
}

/* Popular Tags - Pill Buttons */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.hero-tag-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 194, 168, 0.12);
  transform: translateY(-1px);
}

.hero-tag-pill .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Trust Indicators */
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-label {
  display: flex;
  flex-direction: column;
}

.trust-label strong {
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-label span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 80px 0;
}

.section-tinted {
  background: var(--bg-tint);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-view-all {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   Bento Grid - Categories
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}

.bento-card {
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card-medium {
  grid-column: span 2;
}

.bento-card-gradient-1 { background: var(--gradient-accent); }
.bento-card-gradient-2 { background: linear-gradient(135deg, #2563EB, #60A5FA); }
.bento-card-gradient-3 { background: linear-gradient(135deg, #3B82F6, #60A5FA); }
.bento-card-gradient-4 { background: linear-gradient(135deg, #1E3A5F, #2563EB); }
.bento-card-gradient-5 { background: linear-gradient(135deg, #0088CC, #00B4D8); }
.bento-card-gradient-6 { background: linear-gradient(135deg, #E85D75, #FF8FA3); }
.bento-card-gradient-7 { background: linear-gradient(135deg, #F59E0B, #FBBF24); }
.bento-card-gradient-8 { background: linear-gradient(135deg, #10B981, #34D399); }

.bento-card-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.9;
}

.bento-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.bento-card-count {
  font-size: 0.82rem;
  opacity: 0.85;
  font-weight: 500;
}

.bento-card-large .bento-card-icon {
  font-size: 3rem;
}

.bento-card-large .bento-card-title {
  font-size: 1.5rem;
}

.bento-card-large .bento-card-count {
  font-size: 0.9rem;
}

/* Decorative circles on bento cards */
.bento-card::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.bento-card-large::after {
  width: 160px;
  height: 160px;
  bottom: -50px;
  right: -50px;
}

/* ============================================
   Featured Jobs - Card Grid
   ============================================ */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.job-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(59, 31, 126, 0.12);
  border-color: var(--purple-lighter);
}

.job-card:hover::before {
  height: 4px;
  box-shadow: 0 2px 12px rgba(0, 194, 168, 0.4);
}

.job-card-body {
  padding: 24px 24px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 12px;
}

.job-card-source {
  flex-shrink: 0;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.source-indeed { background: #E8F0FE; color: #1967D2; }
.source-linkedin { background: #E6F2FA; color: #0A66C2; }
.source-direct { background: #E6FAF7; color: #00A892; }
.source-ziprecruiter { background: #F3E8FF; color: #7C3AED; }
.source-default { background: var(--bg-tint); color: var(--purple-light); }

.job-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.job-card-title a {
  color: var(--dark);
}

.job-card-title a:hover {
  color: var(--primary);
}

.job-card-company {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.job-card-company a {
  color: var(--purple-light);
}

.job-card-company a:hover {
  color: var(--primary);
}

/* Salary - prominent green */
.job-card-salary {
  font-weight: 700;
  color: var(--success);
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.job-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.job-card-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* Footer of job card */
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
}

.job-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tag-remote { background: #E6FAF7; color: #00A892; border-color: #B2EDE5; }
.tag-full { background: #F3E8FF; color: #7C3AED; border-color: #DDD6FE; }
.tag-part { background: #FFF7ED; color: #C2410C; border-color: #FED7AA; }
.tag-contract { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.tag-senior { background: #FEF3C7; color: #92400E; border-color: #FDE68A; }
.tag-mid { background: #E0E7FF; color: #4338CA; border-color: #C7D2FE; }
.tag-entry { background: #D1FAE5; color: #065F46; border-color: #A7F3D0; }

.job-card-date {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ============================================
   Top Companies - Horizontal Carousel
   ============================================ */
.companies-carousel-wrapper {
  position: relative;
}

.companies-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.companies-carousel::-webkit-scrollbar {
  display: none;
}

.company-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-lighter);
}

.company-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.company-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

.company-card-info {
  min-width: 0;
}

.company-card-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-card-name a {
  color: var(--dark);
}

.company-card-name a:hover {
  color: var(--primary);
}

.company-card-industry {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.company-card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rating-stars {
  color: #FBBF24;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.rating-number {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

.rating-count {
  color: var(--gray);
  font-size: 0.78rem;
}

.company-card-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.company-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Carousel Scroll Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.1rem;
  color: var(--primary);
}

.carousel-btn:hover {
  background: var(--bg-tint);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
  left: -16px;
}

.carousel-btn-next {
  right: -16px;
}

/* ============================================
   Salary Guide - Clean Table
   ============================================ */
.salary-table-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.salary-table thead {
  background: var(--bg-tint);
}

.salary-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

.salary-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.salary-table tbody tr {
  transition: var(--transition);
}

.salary-table tbody tr:nth-child(even) {
  background: var(--bg-tint);
}

.salary-table tbody tr:hover {
  background: #E0EAFB;
}

.salary-table tbody tr:last-child td {
  border-bottom: none;
}

.salary-table .salary-title {
  font-weight: 600;
  color: var(--dark);
}

.salary-table .salary-avg {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.salary-table .salary-range {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.growth-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
}

.growth-positive {
  background: #D1FAE5;
  color: #065F46;
}

.growth-negative {
  background: #FEE2E2;
  color: #991B1B;
}

/* ============================================
   Career Resources - Blog Cards
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-body {
  padding: 28px 24px 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--bg-tint);
  color: var(--purple-light);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
  color: var(--dark);
}

.blog-card-title a {
  color: var(--dark);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.blog-card-author {
  font-weight: 500;
  color: var(--text-muted);
}

/* ============================================
   CTA Section - Gradient
   ============================================ */
.cta-section {
  background: var(--gradient-accent);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 36px;
  opacity: 0.95;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   State Grid (for browse page)
   ============================================ */
.state-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.state-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  transition: var(--transition);
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
}

.state-item:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Job Detail Page
   ============================================ */
.job-detail {
  padding: 48px 0;
}

.job-detail-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.job-detail-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
}

.job-detail-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.job-detail-company {
  font-size: 1.1rem;
  color: var(--purple-light);
  margin-bottom: 16px;
  font-weight: 500;
}

.job-detail-company a {
  color: var(--purple-light);
}

.job-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.job-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.job-detail-salary {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--success);
  padding: 14px 24px;
  background: #D1FAE5;
  border-radius: var(--radius);
  display: inline-block;
  margin-bottom: 20px;
}

.job-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.job-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.job-detail-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.job-detail-section {
  margin-bottom: 32px;
}

.job-detail-section:last-child {
  margin-bottom: 0;
}

.job-detail-section h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.job-detail-section p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.job-detail-list {
  list-style: none;
  padding: 0;
}

.job-detail-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
}

.job-detail-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.job-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  margin-bottom: 16px;
  color: var(--primary);
}

.apply-box {
  text-align: center;
}

.apply-box .btn {
  margin-bottom: 12px;
}

/* ============================================
   Company Profile Page
   ============================================ */
.company-profile {
  padding: 48px 0;
}

.company-profile-header {
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.company-profile-logo {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background-color: var(--white);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  flex-shrink: 0;
}

.company-profile-info h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.company-profile-info p {
  opacity: 0.95;
  margin-bottom: 12px;
}

.company-profile-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-profile-rating .rating-stars {
  font-size: 1.2rem;
}

.company-profile-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.company-profile-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.company-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list .label {
  color: var(--text-muted);
  font-weight: 500;
}

.info-list .value {
  color: var(--dark);
  font-weight: 600;
}

/* ============================================
   Filters Sidebar
   ============================================ */
.jobs-page {
  padding: 40px 0;
}

.jobs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.filters-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filters-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, 0.1);
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 6px;
  cursor: pointer;
}

.filter-checkbox input {
  width: auto;
}

.jobs-main {
  min-width: 0;
}

.jobs-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.jobs-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.jobs-count strong {
  color: var(--dark);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-list-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.job-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.job-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--purple-lighter);
  transform: translateY(-2px);
}

/* ============================================
   Blog Post Page
   ============================================ */
.blog-post {
  padding: 48px 0;
}

.blog-post-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 32px;
}

.blog-post-category {
  display: inline-flex;
  padding: 4px 14px;
  background: var(--bg-tint);
  color: var(--purple-light);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.blog-post-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.blog-post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-post-content h2,
.blog-post-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

/* ============================================
   404 Page
   ============================================ */
.error-page {
  text-align: center;
  padding: 80px 0;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.error-message {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 168, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb-separator {
  margin: 0 8px;
}

/* ============================================
   Footer - Dark Purple
   ============================================ */
.site-footer {
  background: var(--dark);
  color: var(--gray);
  padding: 72px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.2px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--gray);
  font-size: 0.88rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-about p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--gray);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
}

.footer-logo .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================
   Responsive Design
   ============================================ */

/* Large tablets / small desktops */
@media (max-width: 1024px) {
  .jobs-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .job-detail-body,
  .company-profile-body {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.75rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 16px;
  }

  .header-search {
    display: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1.2rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .main-nav a::after {
    display: none;
  }

  .mobile-overlay.active {
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
  }

  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subheadline {
    font-size: 1rem;
  }

  .hero-search-form {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .hero-search-divider {
    width: 100%;
    height: 1px;
  }

  .hero-search-form input {
    padding: 14px 16px;
  }

  .hero-search-form .btn-search {
    padding: 14px;
    justify-content: center;
  }

  .hero-trust {
    gap: 20px;
  }

  .hero-trust .trust-item {
    font-size: 0.82rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .bento-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-card-medium {
    grid-column: span 1;
  }

  .jobs-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .state-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .company-profile-header {
    flex-direction: column;
    text-align: center;
  }

  .blog-post-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 56px 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .cta-section {
    padding: 56px 0;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .carousel-btn {
    display: none;
  }

  .salary-table-wrapper {
    overflow-x: auto;
  }

  .salary-table {
    min-width: 600px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tag-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
  }

  .bento-card-large,
  .bento-card-medium {
    grid-column: span 1;
  }

  .state-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .btn-post-job {
    display: none;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
