/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select { font-family: inherit; }

/* ===== SCREEN MANAGEMENT ===== */
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; flex-direction: column; }

/* ===== TOPOGRAPHIC BACKGROUND (Login) ===== */
.topo-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(99,102,241,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(139,92,246,0.04) 0%, transparent 50%),
    #000;
  z-index: 0;
}
.topo-bg::before, .topo-bg::after { display: none; }

/* ===== LOGIN SCREEN ===== */
.screen-login {
  align-items: center; justify-content: center;
  min-height: 100vh; position: relative;
}
.login-card {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 48px 40px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative; z-index: 1;
  text-align: center;
}
.login-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 8px;
}
.login-logo .logo-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 20px; font-weight: 800;
}
.login-logo .logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 22px; font-weight: 500; color: #fff; letter-spacing: -0.01em;
}
.login-logo .logo-text span { color: #888; }
.login-subtitle {
  color: #666; font-size: 14px; margin-bottom: 32px; line-height: 1.5;
}
.login-card .pin-graphic {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
}
.login-card .pin-graphic .mini-pin {
  width: 10px; height: 10px; border-radius: 50%;
  animation: pinFloat 2s ease-in-out infinite;
}
.login-card .pin-graphic .mini-pin:nth-child(1) { background: #6366f1; animation-delay: 0s; }
.login-card .pin-graphic .mini-pin:nth-child(2) { background: #8b5cf6; animation-delay: 0.3s; }
.login-card .pin-graphic .mini-pin:nth-child(3) { background: #a78bfa; animation-delay: 0.6s; }
.login-card .pin-graphic .mini-pin:nth-child(4) { background: #8b5cf6; animation-delay: 0.9s; }
.login-card .pin-graphic .mini-pin:nth-child(5) { background: #6366f1; animation-delay: 1.2s; }
@keyframes pinFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: #999; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  font-size: 14px; color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: rgba(255,255,255,0.04);
}
.form-input:focus { outline: none; border-color: rgba(99,102,241,0.5); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); background: rgba(255,255,255,0.06); }
.form-input::placeholder { color: #555; }
.form-select { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-primary {
  width: 100%; padding: 13px;
  background: #fff;
  color: #000; font-size: 15px; font-weight: 600;
  border-radius: 10px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  margin-top: 8px;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,255,255,0.15); background: #f0f0f0; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.login-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: #555; font-size: 12px;
}
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.btn-google {
  width: 100%; padding: 12px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #ccc;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, border-color 0.2s;
  background: rgba(255,255,255,0.03);
}
.btn-google:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.btn-google svg { width: 18px; height: 18px; }
.btn-link {
  background: none; border: none; color: #999;
  cursor: pointer; font-size: 13px; font-weight: 500; padding: 0;
}
.btn-link:hover { text-decoration: underline; color: #fff; }

/* ===== TOP NAVBAR ===== */
.navbar {
  background: #0a0a0a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  flex-shrink: 0;
}
.nav-left { display: flex; align-items: center; gap: 32px; }
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 17px; font-weight: 500; cursor: pointer; letter-spacing: -0.01em;
}
.nav-logo .logo-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 14px; font-weight: 800;
}
.nav-logo span { color: #888; }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #666;
  transition: all 0.2s; position: relative;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
.nav-link.active { color: #fff; font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px;
  height: 2px; background: #fff; border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #6366f1;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; cursor: pointer;
  transition: transform 0.2s;
}
.nav-avatar:hover { transform: scale(1.08); }

/* ===== PREFERENCE TABS (job panel header) ===== */
.preference-tabs {
  display: flex; gap: 6px; padding-bottom: 12px;
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: none;
}
.preference-tabs::-webkit-scrollbar { display: none; }
.pref-tab {
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.1); color: #888;
  background: rgba(255,255,255,0.03);
  transition: all 0.2s;
  flex-shrink: 0;
}
.pref-tab:hover { border-color: #fff; color: #fff; }
.pref-tab.active { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }

/* ===== MAP LAYOUT ===== */
.screen-map {
  height: 100vh; overflow: hidden;
}
.map-container {
  display: flex; flex: 1; overflow: hidden;
}

/* Left Panel: Job List */
.job-panel {
  width: 45%; display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.1); background: #0a0a0a;
  overflow: hidden;
}
.job-panel-header {
  padding: 16px 20px;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.job-search-bar {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.search-wrap { position: relative; flex: 1; }
.search-wrap .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #555; font-size: 14px; pointer-events: none;
}
.job-search-input {
  width: 100%; padding: 10px 14px 10px 36px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  font-size: 13px; background: #0a0a0a;
}
.job-search-input:focus { outline: none; border-color: #fff; background: #111; }
.filter-btn {
  padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1); font-size: 13px; font-weight: 500;
  color: #888; background: #111;
  display: flex; align-items: center; gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: #fff; color: #fff; }
.filter-btn.active { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.4); color: #fff; }
.job-panel-meta {
  display: flex; align-items: center; justify-content: space-between;
}
.job-count { font-size: 13px; color: #888; }
.job-count strong { color: #fff; font-weight: 600; }

/* ===== COUNTDOWN TIMER ===== */
.countdown-line {
  font-size: 12px; color: #888;
  display: flex; align-items: center; gap: 6px;
}
.countdown-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  animation: countdownPulse 2s ease-in-out infinite;
}
@keyframes countdownPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.countdown-line strong { color: #fff; }

/* ===== JOB LIST ===== */
.job-list {
  flex: 1; overflow-y: auto; padding: 12px 16px;
}
.job-list::-webkit-scrollbar { width: 6px; }
.job-list::-webkit-scrollbar-track { background: transparent; }
.job-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

/* Load more */
.load-more-wrap {
  padding: 12px 16px; text-align: center;
  flex-shrink: 0;
}
.btn-load-more {
  padding: 10px 24px; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  background: #111; color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  color: #ccc;
  transition: all 0.2s;
}
.btn-load-more:hover { background: rgba(255,255,255,0.06); }

/* Remote jobs section */
.remote-section {
  margin-bottom: 16px;
}
.remote-section-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; margin-bottom: 8px;
  font-size: 12px; font-weight: 600; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.remote-section-header .remote-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: #F3E8FF; color: #A855F7;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

/* ===== JOB CARDS ===== */
.job-card {
  background: #111; border-radius: 10px; padding: 14px 16px;
  margin-bottom: 8px;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.job-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.job-card.highlighted { border-color: #fff; background: rgba(255,255,255,0.02); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
.job-card-top { display: flex; align-items: flex-start; gap: 12px; }
.job-card-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: #fff;
  flex-shrink: 0; overflow: hidden;
}
.job-card-logo img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 10px; background: #0a0a0a;
}
.job-card-info { flex: 1; min-width: 0; }
.job-card-title {
  font-size: 14px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.job-card-company { font-size: 13px; color: #888; margin-bottom: 6px; }
.job-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-card-location {
  font-size: 12px; color: #888;
  display: flex; align-items: center; gap: 4px;
}
.source-badge {
  font-size: 10px; padding: 2px 8px; border-radius: 20px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.source-badge.linkedin { background: #EFF6FF; color: #2563EB; }
.source-badge.indeed { background: #FEF3C7; color: #D97706; }
.source-badge.greenhouse { background: #DCFCE7; color: #16A34A; }
.source-badge.ashby { background: #F3E8FF; color: #7C3AED; }
.source-badge.smartrecruiters { background: #CFFAFE; color: #0891B2; }
.source-badge.workday { background: #FFEDD5; color: #EA580C; }
.relevance-badge {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px;
}
.relevance-high { background: #DCFCE7; color: #16A34A; }
.relevance-med { background: #FEF9C3; color: #CA8A04; }
.relevance-low { background: rgba(255,255,255,0.03); color: #555; }
.job-card-time { font-size: 11px; color: #555; margin-top: 6px; }
.job-card-actions {
  display: flex; gap: 6px; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06);
}
.job-card-actions button {
  padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 500;
  transition: all 0.2s;
}
.btn-details {
  background: rgba(255,255,255,0.04); color: #fff;
}
.btn-details:hover { background: rgba(255,255,255,0.08); }
.btn-apply-sm {
  background: #fff; color: #000;
}
.btn-apply-sm:hover { background: #e0e0e0; }

/* ===== MAP PANEL ===== */
.map-panel {
  width: 55%; position: relative;
  background: #1a1a1a;
  overflow: hidden;
}
.map-area {
  width: 100%; height: 100%;
  position: relative;
}
#leafletMap {
  width: 100%; height: 100%;
  z-index: 1;
}

/* Map pin (used inside Leaflet divIcon markers) */
.map-pin {
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.map-pin .pin-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #0a0a0a;
  border: 2px solid rgba(255,255,255,0.2);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}
.map-pin:hover .pin-dot, .map-pin.active .pin-dot {
  width: 36px; height: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.map-pin.active .pin-dot {
  border-color: #fff;
}
.map-pin.active .pin-dot::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #6366f1;
  animation: pinPulse 1.5s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pin-dot img {
  width: 100%; height: 100%; object-fit: contain; border-radius: 50%;
}
.pin-dot .pin-fallback {
  width: 100%; height: 100%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}

/* Pin tooltip */
.pin-tooltip {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0F172A; color: #fff;
  padding: 8px 12px; border-radius: 8px;
  white-space: nowrap;
  font-size: 12px; line-height: 1.4;
  pointer-events: none;
  opacity: 0; transition: all 0.2s;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.pin-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #0F172A;
}
.pin-tooltip .tt-title { font-weight: 600; }
.pin-tooltip .tt-company { color: #555; font-size: 11px; }
.map-pin:hover .pin-tooltip, .map-pin.active .pin-tooltip {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Map cluster (used inside Leaflet divIcon markers) */
.map-cluster {
  cursor: pointer;
}
.cluster-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(99,102,241,0.15);
  border: 2px solid #6366f1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
  transition: all 0.2s;
}
.map-cluster:hover .cluster-dot {
  background: rgba(99,102,241,0.25);
  transform: scale(1.1);
}

/* Leaflet zoom control overrides */
.leaflet-control-zoom a {
  width: 36px !important; height: 36px !important;
  line-height: 36px !important;
  font-size: 18px !important; font-weight: 600 !important;
  color: #ccc !important; background: #1a1a1a !important;
  border-radius: 8px !important; border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  transition: all 0.15s !important;
}
.leaflet-control-zoom a:hover {
  color: #fff !important; background: #222 !important;
}
.leaflet-control-zoom {
  border: none !important; border-radius: 8px !important;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
/* Remove Leaflet default marker icon sizing so divIcons render cleanly */
.leaflet-div-icon {
  background: none !important; border: none !important;
}
.leaflet-control-attribution {
  font-size: 10px !important; opacity: 0.6;
}


/* ===== JOB DETAIL OVERLAY ===== */
.job-detail-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.job-detail-overlay.active { display: flex; }
.job-detail-card {
  background: #111; border-radius: 16px;
  width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(15,23,42,0.2);
  position: relative;
}
.jd-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #888; z-index: 2;
  transition: all 0.2s;
}
.jd-close:hover { background: rgba(255,255,255,0.08); color: #fff; }
.jd-header {
  padding: 32px 32px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.jd-header-top { display: flex; align-items: flex-start; gap: 16px; }
.jd-logo {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; color: #fff;
  flex-shrink: 0; overflow: hidden;
}
.jd-logo img {
  width: 100%; height: 100%; object-fit: contain;
  border-radius: 14px; background: #0a0a0a;
}
.jd-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.jd-company { font-size: 15px; color: #888; margin-bottom: 10px; }
.jd-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.jd-tag {
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 500; background: rgba(255,255,255,0.04); color: #888;
}
.jd-tag.location-tag { background: rgba(99,102,241,0.12); color: #a5b4fc; }
.jd-body { padding: 24px 32px; }
.jd-section { margin-bottom: 20px; }
.jd-section h3 { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.jd-section p, .jd-section li {
  font-size: 14px; line-height: 1.7; color: #888;
}
.jd-section ul { padding-left: 20px; }
.jd-section li { margin-bottom: 4px; }
.jd-description { font-size: 14px; line-height: 1.7; color: #888; }
.jd-description p { margin-bottom: 12px; }
.jd-description p:last-child { margin-bottom: 0; }
.jd-description ul, .jd-description ol { padding-left: 20px; margin-bottom: 12px; }
.jd-description li { margin-bottom: 4px; }
.jd-description h3, .jd-description h4, .jd-description h5, .jd-description h6 {
  font-size: 14px; font-weight: 700; color: #fff; margin-top: 16px; margin-bottom: 8px;
}
.jd-description h3 { font-size: 15px; }
.jd-description strong, .jd-description b { font-weight: 600; color: #ccc; }
.jd-description em, .jd-description i { font-style: italic; }
.jd-footer {
  padding: 20px 32px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 12px;
}
.btn-apply-lg {
  flex: 1; padding: 14px;
  background: #fff; color: #000;
  font-size: 15px; font-weight: 600;
  border-radius: 10px; text-align: center;
  transition: all 0.2s;
}
.btn-apply-lg:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(255,255,255,0.15); background: #e0e0e0; }

/* ===== PREFERENCES SCREEN ===== */
.screen-preferences { background: #0a0a0a; }
.pref-content { max-width: 800px; margin: 0 auto; padding: 32px 24px; flex: 1; }
.pref-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.pref-content .subtitle { color: #888; font-size: 14px; margin-bottom: 28px; }
.pref-form-card {
  background: #111; border-radius: 12px; padding: 28px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
  margin-bottom: 24px;
}
.pref-form-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.pref-form-card h3 .icon { font-size: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-select {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  font-size: 14px; color: #fff; background: #0a0a0a;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-select:focus { outline: none; border-color: #fff; }
.range-group { margin-top: 4px; }
.range-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.range-val { color: #fff; font-weight: 600; font-size: 13px; }
.range-input {
  width: 100%; accent-color: #fff;
  height: 6px; -webkit-appearance: none; background: rgba(255,255,255,0.12); border-radius: 3px;
}
.range-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; cursor: pointer;
}
.pref-list { margin-top: 24px; }
.pref-list h3 { font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.pref-item {
  background: #111; border-radius: 10px; padding: 16px 20px;
  margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
  transition: transform 0.15s;
}
.pref-item:hover { transform: translateX(4px); }
.pref-item-info { display: flex; flex-direction: column; gap: 4px; }
.pref-item-title { font-weight: 600; font-size: 14px; }
.pref-item-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.pref-tag {
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.04); color: #888; font-weight: 500;
}
.pref-tag.active { background: rgba(99,102,241,0.15); color: #a5b4fc; }
.pref-actions { display: flex; gap: 8px; }
.pref-actions button {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background 0.2s;
}
.pref-actions .del-btn { background: #FEF2F2; color: #EF4444; }
.pref-actions .del-btn:hover { background: #FEE2E2; }
.pref-item-status {
  font-size: 12px; color: #888; margin-top: 2px;
}
.pref-item-status .match-count { color: #16A34A; font-weight: 600; }
.pref-item-sources {
  display: flex; gap: 4px; margin-top: 4px;
}

/* ===== ACCOUNT SCREEN ===== */
.screen-account { background: #0a0a0a; }
.account-content { max-width: 720px; margin: 0 auto; padding: 32px 24px; flex: 1; }
.account-content h2 { font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.account-card {
  background: #111; border-radius: 12px; padding: 28px;
  box-shadow: 0 1px 3px rgba(15,23,42,0.06);
  margin-bottom: 20px;
}
.account-card h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.account-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.account-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: #6366f1;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.account-info h3 { border: none; padding: 0; margin: 0 0 2px; font-size: 20px; }
.account-info p { color: #888; font-size: 14px; margin: 0; }
.account-field {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.account-field:last-child { border-bottom: none; }
.account-field-label { font-size: 13px; color: #888; margin-bottom: 2px; }
.account-field-value { font-size: 14px; font-weight: 500; }
.notif-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notif-row:last-child { border-bottom: none; }
.notif-label { font-size: 14px; }
.notif-label p { font-size: 12px; color: #555; margin-top: 2px; }
.toggle {
  width: 44px; height: 24px; border-radius: 12px;
  background: rgba(255,255,255,0.12); position: relative;
  cursor: pointer; transition: background 0.2s;
  flex-shrink: 0;
}
.toggle.on { background: #6366f1; }
.toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle.on::after { transform: translateX(20px); }
.btn-danger {
  padding: 10px 20px; border-radius: 8px;
  background: #FEF2F2; color: #EF4444;
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
  margin-top: 8px;
}
.btn-danger:hover { background: #FEE2E2; }
.btn-logout {
  padding: 10px 20px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 13px; font-weight: 500; color: #888;
  transition: all 0.2s; margin-top: 8px;
}
.btn-logout:hover { border-color: rgba(255,255,255,0.15); color: #fff; }

/* ===== ERROR BANNER ===== */
.error-msg {
  background: #FEF2F2; color: #EF4444;
  border: 1px solid #FECACA; border-radius: 10px;
  padding: 12px 16px; font-size: 13px; font-weight: 500;
  margin-bottom: 16px;
}
.success-msg {
  background: rgba(255,255,255,0.02); color: #16A34A;
  border: 1px solid #BBF7D0; border-radius: 10px;
  padding: 12px 16px; font-size: 13px; font-weight: 500;
  margin-bottom: 16px;
}

/* ===== EMPTY STATES ===== */
.empty-state {
  text-align: center; padding: 48px 24px; color: #555;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.empty-state p { font-size: 14px; line-height: 1.6; }

/* ===== LOADING SKELETONS ===== */
.skeleton-card {
  background: #111; border-radius: 10px; padding: 14px 16px;
  margin-bottom: 8px;
  border: 1.5px solid transparent;
  box-shadow: 0 1px 3px rgba(15,23,42,0.04);
}
.skeleton-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  margin-bottom: 8px;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 70%; }
.skeleton-line.long { width: 90%; }
.skeleton-circle {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(90deg, #1a1a1a 25%, #222 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== MOBILE TOGGLE ===== */
.mobile-toggle {
  display: none;
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 150;
  background: #0F172A; border-radius: 30px;
  padding: 4px; gap: 2px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.3);
}
.mobile-toggle button {
  padding: 10px 24px; border-radius: 26px;
  font-size: 13px; font-weight: 600; color: #555;
  transition: all 0.2s;
}
.mobile-toggle button.active { background: #fff; color: #000; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .map-container { flex-direction: column; }
  .job-panel { width: 100%; height: 100%; }
  .map-panel { width: 100%; height: 100%; position: absolute; inset: 0; }
  .job-panel.hidden { display: none; }
  .map-panel.hidden { display: none; }
  .mobile-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .login-card { margin: 16px; padding: 32px 24px; }
  .jd-header, .jd-body, .jd-footer { padding-left: 20px; padding-right: 20px; }
  .pref-content, .account-content { padding: 20px 16px; }
  .navbar { padding: 0 16px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.job-card { animation: fadeIn 0.3s ease forwards; }
.job-card:nth-child(1) { animation-delay: 0s; }
.job-card:nth-child(2) { animation-delay: 0.03s; }
.job-card:nth-child(3) { animation-delay: 0.06s; }
.job-card:nth-child(4) { animation-delay: 0.09s; }
.job-card:nth-child(5) { animation-delay: 0.12s; }

@keyframes slideUp {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.job-detail-overlay.active .job-detail-card { animation: slideUp 0.25s ease forwards; }

/* ============================================================================
   HOME / LANDING SCREEN — V8: Dark editorial luxury, Instrument Serif + Manrope
   ============================================================================ */
.screen-home {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  color: #888888;
  display: none;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}
.screen-home.active { display: flex; }

/* ── Stagger entrance animations ── */
.home-anim-1 { opacity:0; transform:translateY(24px); animation: homeFadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.15s forwards; }
.home-anim-2 { opacity:0; transform:translateY(24px); animation: homeFadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.3s forwards; }
.home-anim-3 { opacity:0; transform:translateY(24px); animation: homeFadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.45s forwards; }
.home-anim-4 { opacity:0; transform:translateY(24px); animation: homeFadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.6s forwards; }
.home-anim-5 { opacity:0; transform:translateY(24px); animation: homeFadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.75s forwards; }
.home-anim-6 { opacity:0; transform:translateY(32px); animation: homeFadeUp 0.9s cubic-bezier(.16,1,.3,1) 0.5s forwards; }
@keyframes homeFadeUp { to { opacity:1; transform:translateY(0); } }

/* ── Navbar ── */
.home-nav {
  position: sticky; top: 0; z-index: 100;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.home-nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.home-nav-logo { display: flex; align-items: center; }
.home-logo-text {
  font-family: 'Manrope', sans-serif;
  font-size: 18px; font-weight: 500; color: #ffffff;
  letter-spacing: -0.01em;
}
.home-logo-text-sm { font-size: 15px; font-weight: 500; }
.home-nav-actions { display: flex; gap: 12px; align-items: center; }
.home-btn-signin {
  padding: 8px 16px;
  font-size: 14px; font-weight: 500; color: #888888;
  transition: color 0.2s;
}
.home-btn-signin:hover { color: #ffffff; }
.home-btn-cta {
  padding: 9px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: #000000; background: #ffffff;
  transition: all 0.2s;
}
.home-btn-cta:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

/* ── Hero ── */
.home-hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 80px 32px 60px;
  position: relative; z-index: 1;
}
.home-hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 64px;
}
.home-hero-left {
  flex: 0 0 55%; max-width: 55%;
}
.home-hero-right {
  flex: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.home-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
  font-size: 11px; font-weight: 600; color: #666666;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.home-pulse-ring {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: homePulse 2s ease-in-out infinite;
}
@keyframes homePulse {
  0%,100%{ box-shadow:0 0 0 0 rgba(34,197,94,0.5); }
  50%{ box-shadow:0 0 0 6px rgba(34,197,94,0); }
}
.home-h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(52px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.home-h1 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
}
.home-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 16px; line-height: 1.7; color: #888888;
  margin-bottom: 40px; max-width: 480px;
  font-weight: 400;
}
.home-hero-buttons {
  display: flex; gap: 16px; align-items: center;
  margin-bottom: 56px; flex-wrap: wrap;
}
.home-btn-primary {
  padding: 13px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 500;
  color: #000000; background: #ffffff;
  transition: all 0.25s;
  border: none;
}
.home-btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}
.home-btn-ghost {
  padding: 13px 8px;
  font-size: 14px; font-weight: 500;
  color: #888888; background: transparent;
  transition: color 0.25s;
  display: flex; align-items: center; gap: 6px;
}
.home-btn-ghost:hover { color: #ffffff; }
.home-btn-arrow { font-size: 16px; transition: transform 0.2s; }
.home-btn-ghost:hover .home-btn-arrow { transform: translateX(3px); }
.home-btn-block { width: 100%; text-align: center; justify-content: center; }
.home-source-row {
  display: flex; flex-direction: column; gap: 12px;
}
.home-source-label {
  font-size: 11px; font-weight: 500; color: #555555;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.home-source-pills {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.home-source-chip {
  padding: 5px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #666666;
  transition: all 0.3s;
}
.home-source-chip:hover {
  border-color: rgba(255,255,255,0.25);
  color: #aaaaaa;
}

/* ── Hero Scanner Visualization ── */
.home-scanner-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,100,0.04) 0%, rgba(255,200,100,0.02) 30%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.home-scanner-card {
  width: 400px; max-width: 100%;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.home-scanner-card:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}
.home-scanner-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.home-scanner-dots {
  display: flex; gap: 6px;
}
.home-scanner-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.home-scanner-title {
  font-size: 11px; color: #555555; font-weight: 500;
  letter-spacing: 0.02em;
}
.home-scanner-body {
  padding: 6px 0;
  position: relative;
}

/* Scanning line sweep */
.home-scanner-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 30%, rgba(255,255,255,0.15) 70%, transparent 100%);
  z-index: 5;
  animation: scanLineSweep 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scanLineSweep {
  0% { top: 56px; opacity: 0; }
  5% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Individual scan cards */
.home-scan-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  animation: scanCardIn 10s ease-in-out infinite;
}
.home-scan-card:nth-child(1) { animation-delay: 0s; }
.home-scan-card:nth-child(2) { animation-delay: 1.4s; }
.home-scan-card:nth-child(3) { animation-delay: 2.8s; }
.home-scan-card:nth-child(4) { animation-delay: 4.2s; }
.home-scan-card:nth-child(5) { animation-delay: 5.6s; }

@keyframes scanCardIn {
  0% { opacity: 0; transform: translateX(30px); }
  8% { opacity: 1; transform: translateX(0); }
  65% { opacity: 1; transform: translateX(0); }
  78% { opacity: 0; transform: translateX(-10px); }
  100% { opacity: 0; transform: translateX(30px); }
}

.home-scan-border {
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--accent, #3b82f6);
  border-radius: 2px;
  opacity: 0.6;
}
.home-scan-content { flex: 1; min-width: 0; }
.home-scan-title {
  font-size: 13px; font-weight: 500; color: #e0e0e0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-scan-meta {
  font-size: 11px; color: #555555; margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.home-scan-badge {
  padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  background: var(--badge-bg); color: var(--badge-color);
  flex-shrink: 0; letter-spacing: 0.03em;
}

/* Decorative elements */
.home-scanner-decor { position: absolute; inset: -20px; pointer-events: none; }
.home-decor-dot {
  position: absolute;
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  animation: decorFloat 6s ease-in-out infinite;
}
@keyframes decorFloat {
  0%,100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(-8px); }
}
.home-decor-line {
  position: absolute;
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: decorFloat 8s ease-in-out infinite;
}

/* ── Ticker ── */
.home-ticker {
  position: relative; z-index: 1;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: #000000;
  overflow: hidden;
}
.home-ticker-fade {
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.home-ticker-fade-l { left: 0; background: linear-gradient(90deg, #000000 0%, transparent 100%); }
.home-ticker-fade-r { right: 0; background: linear-gradient(-90deg, #000000 0%, transparent 100%); }
.home-ticker-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: homeTickerScroll 50s linear infinite;
  font-size: 12px; color: #444444; font-weight: 400;
  letter-spacing: 0.01em;
}
.home-ticker-track b { color: #666666; font-weight: 600; }
.home-ticker-track span { flex-shrink: 0; }
@keyframes homeTickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Section shared ── */
.home-h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; color: #ffffff;
  margin-bottom: 56px; line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Features / How It Works ── */
.home-features {
  padding: 120px 32px;
  position: relative; z-index: 1;
}
.home-features-inner {
  max-width: 1200px; margin: 0 auto; text-align: center;
}
.home-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  text-align: left;
}
.home-feature-card {
  padding: 48px 36px;
  border-top: 1px solid rgba(255,255,255,0.12);
  position: relative; overflow: hidden;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}
.home-feature-card + .home-feature-card {
  border-left: 1px solid rgba(255,255,255,0.06);
}
.home-feature-card:hover {
  background: rgba(255,255,255,0.02);
}
.home-feature-num {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 96px; font-weight: 400; color: rgba(255,255,255,0.04);
  line-height: 1; position: absolute;
  top: 16px; right: 20px;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.home-feature-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px; font-weight: 400; color: #ffffff;
  margin-bottom: 12px;
}
.home-feature-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 14px; line-height: 1.7; color: #888888;
}
.home-feature-reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--d, 0) * 0.12s);
}
.home-feature-reveal.home-revealed { opacity: 1; transform: translateY(0); }

/* ── Live Feed ── */
.home-feed {
  padding: 100px 32px 120px;
  position: relative; z-index: 1;
}
.home-feed-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.home-feed-window {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: left;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.home-feed-header {
  display: flex; align-items: center;
  padding: 14px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.home-feed-header-title {
  font-size: 12px; color: #555555; font-weight: 500;
  letter-spacing: 0.02em;
}
.home-feed-list {
  height: 380px; overflow: hidden; position: relative;
}
.feed-list-inner {
  display: flex; flex-direction: column;
  animation: feedScroll 30s linear infinite;
}
.feed-list-inner:hover { animation-play-state: paused; }
@keyframes feedScroll { 0%{transform:translateY(0)} 100%{transform:translateY(-50%)} }

.feed-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.2s;
}
.feed-item:hover { background: rgba(255,255,255,0.02); }
.feed-item-logo {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
img.feed-item-logo-img {
  width: 36px; height: 36px; border-radius: 8px;
  object-fit: contain; background: #1a1a1a; padding: 4px;
}
.feed-item-info { flex: 1; min-width: 0; }
.feed-item-title {
  font-size: 14px; font-weight: 500; color: #e0e0e0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-item-meta {
  font-size: 12px; color: #555555; margin-top: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.feed-item-badge {
  padding: 3px 10px; border-radius: 4px;
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  flex-shrink: 0; letter-spacing: 0.03em;
}
.feed-badge-linkedin { background: rgba(59,130,246,0.1); color: #60a5fa; }
.feed-badge-indeed { background: rgba(139,92,246,0.1); color: #a78bfa; }
.feed-badge-glassdoor { background: rgba(34,197,94,0.1); color: #4ade80; }
.feed-badge-greenhouse { background: rgba(34,197,94,0.08); color: #4ade80; }
.feed-badge-ashby { background: rgba(168,85,247,0.1); color: #c084fc; }
.feed-badge-smartrecruiters { background: rgba(6,182,212,0.1); color: #22d3ee; }
.feed-badge-workday { background: rgba(249,115,22,0.1); color: #fb923c; }
.feed-item-time { font-size: 11px; color: #444444; white-space: nowrap; flex-shrink: 0; }

/* ── Pricing ── */
.home-pricing {
  padding: 100px 32px 120px;
  position: relative; z-index: 1;
}
.home-pricing-inner {
  max-width: 780px; margin: 0 auto; text-align: center;
}
.home-pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  text-align: left;
}
.home-price-card {
  padding: 40px 36px;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.home-price-card:hover {
  border-color: rgba(255,255,255,0.1);
}
.home-price-card-pro {
  position: relative;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 0 80px rgba(255,200,100,0.03);
}
.home-price-card-pro:hover {
  box-shadow: 0 0 100px rgba(255,200,100,0.05);
  border-color: rgba(255,255,255,0.12);
}
.home-price-badge {
  position: absolute; top: -11px; right: 24px;
  padding: 5px 16px; border-radius: 100px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  background: #ffffff; color: #000000;
}
.home-price-tier {
  font-family: 'Manrope', sans-serif;
  font-size: 16px; font-weight: 600; color: #ffffff; margin-bottom: 8px;
}
.home-price-amount {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 52px; font-weight: 400; color: #ffffff;
  letter-spacing: -0.03em; line-height: 1;
}
.home-price-period {
  font-size: 13px; color: #555555; margin-bottom: 32px; margin-top: 6px;
}
.home-price-features { list-style: none; margin-bottom: 36px; flex: 1; }
.home-price-features li {
  padding: 10px 0; font-size: 14px; color: #888888;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 10px;
}
.home-price-features li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 10px;
}

/* ── Footer ── */
.home-footer {
  padding: 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative; z-index: 1;
}
.home-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.home-footer-links { display: flex; gap: 24px; }
.home-footer-links a {
  font-size: 13px; color: #555555; font-weight: 400;
  transition: color 0.2s;
}
.home-footer-links a:hover { color: #ffffff; }
.home-footer-copy { font-size: 12px; color: #333333; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-hero-inner {
    flex-direction: column; gap: 48px;
  }
  .home-hero-left {
    flex: none; max-width: 100%;
    text-align: center;
  }
  .home-hero-right {
    min-height: 400px;
  }
  .home-hero-buttons { justify-content: center; }
  .home-source-row { align-items: center; }
  .home-source-pills { justify-content: center; }
  .home-scanner-card {
    transform: perspective(1200px) rotateY(0) rotateX(0);
  }
  .home-scanner-card:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0);
  }
}
@media (max-width: 768px) {
  .home-hero { padding: 80px 20px 40px; min-height: auto; }
  .home-h1 { font-size: 42px; }
  .home-features-grid { grid-template-columns: 1fr; }
  .home-feature-card + .home-feature-card { border-left: none; }
  .home-pricing-grid { grid-template-columns: 1fr; }
  .home-features, .home-feed, .home-pricing { padding: 60px 20px; }
  .home-footer-inner { flex-direction: column; text-align: center; }
  .home-ticker-track { font-size: 11px; gap: 32px; }
  .home-scanner-decor { display: none; }
}

/* ===== PRO BADGE & UPGRADE CTA ===== */
.plan-badge-pro {
  display: inline-block;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.upgrade-cta {
  background: linear-gradient(135deg, #FEF3C7, #FDE68A);
  border: 1px solid #F59E0B;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin: 12px 0;
}
.upgrade-cta p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #92400E;
}
.toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Home responsive ── */
@media (max-width: 768px) {
  .home-h1 { font-size: 40px; }
  .home-hero { padding: 80px 16px 60px; min-height: auto; }
  .home-subtitle { font-size: 16px; }
  .home-pricing-grid { grid-template-columns: 1fr; }
  .home-source-badges { gap: 6px; }
  .home-source-pill { font-size: 11px; padding: 4px 10px; }
  .home-features-grid { grid-template-columns: 1fr; }
  .home-footer-inner { flex-direction: column; text-align: center; }
  .home-nav-inner { padding: 0 16px; }
  .home-feed, .home-pricing, .home-features { padding: 60px 16px; }
  .home-ticker-strip { display: none; }
  .home-hero-orb { width: 300px; height: 300px; }
  .home-h2 { font-size: 28px; }
  .home-price-amount { font-size: 40px; }
  .home-scanner-ticker { font-size: 11px; padding: 5px 12px; }
}
