/* ===================================================================
   JobFinder AI - Responsive Hybrid Theme
   - Desktop (> 768px): Full Wide Website (Navbar, Hero, Sticky Sidebar, Results)
   - Mobile (<= 768px): Apna Native Phone Application View & Bottom Sheet Filters
   =================================================================== */

/* -------------------------------------------------------------
   1. DESKTOP VIEW STYLES (> 768px)
   ------------------------------------------------------------- */
@media (min-width: 769px) {
  body {
    background: var(--bg-main) !important;
    color: var(--text-main) !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Show Desktop components */
  .desktop-only-navbar {
    display: flex !important;
  }

  .desktop-only-hero {
    display: block !important;
  }

  /* Hide Phone components on desktop */
  .phone-only-header,
  .phone-status-bar,
  .phone-only-floating,
  .phone-only-nav,
  .view-mode-toggle-btn {
    display: none !important;
  }

  /* Two-column Main Container */
  .main-container {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 1.5rem !important;
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 2rem !important;
    flex: 1 !important;
  }

  /* Integrated Sticky Left Sidebar Filters */
  .filters-sidebar {
    position: sticky !important;
    top: 5rem !important;
    height: fit-content !important;
    max-height: calc(100vh - 6rem) !important;
    overflow-y: auto !important;
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
    box-shadow: var(--shadow-sm) !important;
    z-index: 10 !important;
  }

  .mobile-sidebar-drag-handle,
  .mobile-sidebar-header,
  .mobile-sidebar-footer,
  #mobile-filter-backdrop {
    display: none !important;
  }

  .filters-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
  }
}

/* -------------------------------------------------------------
   2. MOBILE VIEW STYLES (<= 768px - Apna Native Phone App)
   ------------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    background: #f8fafc !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  }

  [data-theme="dark"] body {
    background: #0f172a !important;
  }

  /* Hide Desktop components on phone */
  .desktop-only-navbar,
  .desktop-only-hero,
  .view-mode-toggle-btn {
    display: none !important;
  }

  /* Show Phone App components */
  .phone-only-header {
    display: block !important;
  }

  .phone-only-floating {
    display: flex !important;
  }

  .phone-only-nav {
    display: flex !important;
  }

  .main-container {
    display: flex !important;
    flex-direction: column !important;
    padding: 0.5rem 0.85rem 130px 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile Slide-Up Bottom Sheet Filters */
  .filters-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 85vh !important;
    border-radius: 24px 24px 0 0 !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-bottom: none !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25) !important;
    z-index: 500 !important;
    transform: translateY(105%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    padding: 1rem 1.25rem 2rem 1.25rem !important;
    box-sizing: border-box !important;
    visibility: hidden;
  }

  .filters-sidebar.active {
    transform: translateY(0) !important;
    visibility: visible !important;
  }

  .mobile-sidebar-drag-handle {
    display: block !important;
    width: 44px !important;
    height: 5px !important;
    background: #cbd5e1 !important;
    border-radius: 9999px !important;
    margin: 0 auto 0.75rem auto !important;
  }

  [data-theme="dark"] .mobile-sidebar-drag-handle {
    background: #475569 !important;
  }

  .mobile-sidebar-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid var(--border) !important;
    margin-bottom: 1rem !important;
  }

  .mobile-sidebar-footer {
    display: block !important;
    position: sticky !important;
    bottom: -1rem !important;
    background: var(--bg-card) !important;
    padding-top: 0.85rem !important;
    padding-bottom: 0.5rem !important;
    margin-top: 1.25rem !important;
    border-top: 1px solid var(--border) !important;
    z-index: 10 !important;
  }

  .filters-header {
    display: none !important;
  }

  #mobile-filter-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 490 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease !important;
  }

  #mobile-filter-backdrop.active {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* -------------------------------------------------------------
   3. APNA PHONE APP COMPONENT STYLING
   ------------------------------------------------------------- */
/* Simulated Phone Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 2px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  user-select: none;
}

[data-theme="dark"] .phone-status-bar {
  color: #38bdf8;
}

.phone-notch-island {
  background: #000000;
  color: #ffffff;
  border-radius: 9999px;
  padding: 2px 12px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
}

/* Brand Gradient Header (Sky Blue to Rich Teal) */
.phone-app-header {
  position: relative;
  z-index: 500;
  overflow: visible;
  background: linear-gradient(180deg, #bae6fd 0%, #ccfbf1 45%, #f8fafc 100%);
  padding: 4px 16px 14px 16px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

[data-theme="dark"] .phone-app-header {
  background: linear-gradient(180deg, #0c4a6e 0%, #134e4a 45%, #0f172a 100%);
}

.phone-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phone-brand-logo {
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0369a1;
  display: flex;
  align-items: baseline;
  text-decoration: none;
}

[data-theme="dark"] .phone-brand-logo {
  color: #f0f9ff;
}

.phone-brand-logo .brand-highlight {
  color: #0d9488;
}

[data-theme="dark"] .phone-brand-logo .brand-highlight {
  color: #2dd4bf;
}

.phone-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-header-btn {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0369a1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .phone-header-btn {
  background: rgba(30, 41, 59, 0.85);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
}

/* Rounded Pill Search Box */
.phone-search-wrapper {
  position: relative;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  overflow: visible;
}

.phone-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  overflow: visible;
}

[data-theme="dark"] .phone-search-box {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.phone-role-box.has-suggestions-open,
.phone-role-box:focus-within {
  z-index: 10050 !important;
  border-color: #0284c7;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.25);
}

.phone-location-box.has-suggestions-open,
.phone-location-box:focus-within {
  z-index: 10040 !important;
  border-color: #0d9488;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.25);
}

.phone-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.94rem;
  font-weight: 500;
  color: inherit;
  padding: 8px 0;
  font-family: inherit;
}

.phone-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.btn-phone-search-submit {
  width: 100%;
  padding: 11px 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.38);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.btn-phone-search-submit:hover,
.btn-phone-search-submit:active {
  transform: scale(0.985);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.48);
  background: linear-gradient(135deg, #0369a1 0%, #0f766e 100%);
}

[data-theme="dark"] .btn-phone-search-submit {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.phone-loc-clear-btn {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
}

.phone-loc-clear-btn:hover {
  color: #ef4444;
  transform: scale(1.15);
}

/* Custom Suggestions Panel for Phone Search Boxes */
.phone-role-box,
.phone-location-box {
  position: relative;
  overflow: visible;
}

.phone-suggestions-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  z-index: 10100 !important;
  max-height: 290px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  animation: suggestionsFadeIn 0.18s ease-out;
}

[data-theme="dark"] .phone-suggestions-panel {
  background: #1e293b;
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

@keyframes suggestionsFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.suggestions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 6px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

[data-theme="dark"] .suggestions-header {
  border-bottom-color: rgba(51, 65, 85, 0.8);
}

.suggestions-header-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0284c7;
}

[data-theme="dark"] .suggestions-header-title {
  color: #38bdf8;
}

.suggestions-header-hint {
  font-size: 0.72rem;
  color: #94a3b8;
}

.suggestions-list {
  display: flex;
  flex-direction: column;
  padding: 4px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.suggestion-item:hover,
.suggestion-item:active {
  background: rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .suggestion-item:hover,
[data-theme="dark"] .suggestion-item:active {
  background: rgba(2, 132, 199, 0.2);
}

.suggestion-icon {
  font-size: 1.15rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 132, 199, 0.08);
  border-radius: 8px;
  flex-shrink: 0;
}

[data-theme="dark"] .suggestion-icon {
  background: rgba(2, 132, 199, 0.2);
}

.suggestion-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.suggestion-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .suggestion-title {
  color: #f8fafc;
}

.suggestion-title mark {
  background: rgba(2, 132, 199, 0.2);
  color: #0284c7;
  padding: 0 2px;
  border-radius: 3px;
}

[data-theme="dark"] .suggestion-title mark {
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
}

.suggestion-desc {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

[data-theme="dark"] .suggestion-desc {
  color: #94a3b8;
}

.suggestion-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  white-space: nowrap;
  flex-shrink: 0;
}

[data-theme="dark"] .suggestion-badge {
  background: rgba(13, 148, 136, 0.25);
  color: #2dd4bf;
}

.suggestion-empty {
  padding: 16px;
  text-align: center;
  font-size: 0.84rem;
  color: #94a3b8;
}

/* Category Pills (Row 1) */
.phone-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 6px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-pills-row::-webkit-scrollbar {
  display: none;
}

.category-pill {
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  border: 1px solid transparent;
}

.category-pill.pill-active-profile {
  background: #ffffff;
  color: #0369a1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1.5px solid #7dd3fc;
  font-weight: 700;
}

[data-theme="dark"] .category-pill.pill-active-profile {
  background: #1e293b;
  color: #38bdf8;
  border-color: #0284c7;
}

.category-pill.pill-mint {
  background: rgba(255, 255, 255, 0.7);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

[data-theme="dark"] .category-pill.pill-mint {
  background: rgba(30, 41, 59, 0.6);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.25);
}

.category-pill.pill-mint:hover,
.category-pill.pill-mint.active {
  background: #ffffff;
  color: #0284c7;
  border-color: #0284c7;
}

[data-theme="dark"] .category-pill.pill-mint:hover,
[data-theme="dark"] .category-pill.pill-mint.active {
  background: #1e293b;
  color: #38bdf8;
  border-color: #38bdf8;
}

/* Quick Filter Chips (Row 2) */
.phone-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.phone-chips-row::-webkit-scrollbar {
  display: none;
}

.filter-chip-btn {
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #ffffff;
  color: #334155;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="dark"] .filter-chip-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

.filter-chip-btn:hover,
.filter-chip-btn.active {
  background: #f0f9ff;
  color: #0369a1;
  border-color: #0284c7;
}

[data-theme="dark"] .filter-chip-btn:hover,
[data-theme="dark"] .filter-chip-btn.active {
  background: #0c4a6e;
  color: #38bdf8;
  border-color: #0284c7;
}

/* Section Header */
.phone-section-header {
  padding: 10px 4px 8px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

[data-theme="dark"] .phone-section-title {
  color: #cbd5e1;
}

.phone-section-title .title-highlight {
  color: #0284c7;
  font-weight: 700;
  cursor: pointer;
}

[data-theme="dark"] .phone-section-title .title-highlight {
  color: #38bdf8;
}

.phone-section-title .edit-icon-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: #0284c7;
  cursor: pointer;
  padding: 2px 4px;
}

[data-theme="dark"] .phone-section-title .edit-icon-btn {
  color: #38bdf8;
}

.phone-filter-trigger-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .phone-filter-trigger-btn {
  background: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

/* Apna-Style Job Cards */
.apna-job-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 12px;
}

.apna-job-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.apna-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.apna-company-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
  overflow: hidden;
  flex-shrink: 0;
}

.apna-company-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apna-title-group {
  flex: 1;
  min-width: 0;
}

.apna-job-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0 0 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.apna-company-name {
  font-size: 0.84rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.apna-chevron-icon {
  color: #0284c7;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.apna-job-card:hover .apna-chevron-icon {
  transform: translateX(3px);
}

.apna-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.apna-meta-icon {
  font-size: 0.92rem;
  color: #94a3b8;
}

.apna-salary-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 12px;
}

[data-theme="dark"] .apna-salary-row {
  color: #2dd4bf;
}

.apna-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.apna-tag-badge {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.apna-recruiter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 10px;
  margin-top: 4px;
}

[data-theme="dark"] .apna-recruiter-bar {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}

.recruiter-pills-group {
  display: flex;
  gap: 6px;
}

.recruiter-action-pill {
  padding: 4px 9px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.recruiter-action-pill.pill-call {
  background: #10b981;
  color: #ffffff;
}

.recruiter-action-pill.pill-email {
  background: #3b82f6;
  color: #ffffff;
}

.recruiter-action-pill.pill-wa {
  background: #25d366;
  color: #ffffff;
}

.apna-job-card.card-locked {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(243, 244, 246, 0.8) 100%);
  border-style: dashed;
  border-color: #cbd5e1;
}

[data-theme="dark"] .apna-job-card.card-locked {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.8) 100%);
  border-color: #475569;
}

.apna-locked-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(239, 68, 68, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 8px 12px;
  margin-top: 6px;
}

.apna-locked-banner span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #b45309;
}

[data-theme="dark"] .apna-locked-banner span {
  color: #fcd34d;
}

.apna-locked-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

/* In-Feed Promotional Banner (apnaadvantage Style) */
.apna-advantage-banner {
  background: linear-gradient(135deg, #091322 0%, #0f243c 100%);
  border-radius: 18px;
  padding: 18px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  margin: 6px 0 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.advantage-brand-badge {
  font-size: 0.8rem;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.advantage-brand-badge span {
  color: #38bdf8;
}

.advantage-headline {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 6px 0;
  max-width: 68%;
}

.advantage-headline span {
  color: #2dd4bf;
}

.advantage-subtext {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin: 0 0 14px 0;
  max-width: 65%;
}

.advantage-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.advantage-cta-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.advantage-floating-badges {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.advantage-badge-pill {
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid #0284c7;
  color: #38bdf8;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
}

.advantage-badge-hike {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(6px);
}

/* Floating Sticky Application Tracker Bar */
.phone-floating-tracker {
  position: fixed;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 480px;
  z-index: 100;
  background: #f0f9ff;
  border: 1.5px solid #bae6fd;
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .phone-floating-tracker {
  background: rgba(12, 74, 110, 0.95);
  border-color: #0284c7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tracker-left-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0369a1;
}

[data-theme="dark"] .tracker-left-group {
  color: #bae6fd;
}

.tracker-icon {
  font-size: 1.05rem;
}

.tracker-dots {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}

.tracker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0284c7;
  opacity: 0.4;
}

.tracker-dot.active {
  opacity: 1;
  width: 14px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0284c7, #0d9488);
}

.tracker-action-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .tracker-action-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
}

/* Native 3-Tab Bottom Navigation Bar */
.phone-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 110;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .phone-bottom-nav {
  background: #0f172a;
  border-color: #1e293b;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.3);
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748b;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  height: 100%;
  position: relative;
  transition: color 0.2s ease;
}

[data-theme="dark"] .phone-nav-item {
  color: #94a3b8;
}

.phone-nav-item .nav-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.phone-nav-item.active {
  color: #0284c7;
  font-weight: 800;
}

[data-theme="dark"] .phone-nav-item.active {
  color: #38bdf8;
}

.phone-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30%;
  right: 30%;
  height: 3px;
  background: linear-gradient(90deg, #0284c7, #0d9488);
  border-radius: 0 0 3px 3px;
}

[data-theme="dark"] .phone-nav-item.active::before {
  background: linear-gradient(90deg, #38bdf8, #2dd4bf);
}

.phone-nav-item.highlight-pro {
  color: #d97706;
}

[data-theme="dark"] .phone-nav-item.highlight-pro {
  color: #f59e0b;
}


/* ===================================================================
   DESKTOP COMFORTABLE LANDING PAGE & BRAND STYLING
   =================================================================== */

/* Brand & Logo Styles (Desktop & Mobile) */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  text-decoration: none !important;
  color: var(--text-main) !important;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(2, 132, 199, 0.2));
  transition: transform 0.2s ease;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0369a1;
}

[data-theme="dark"] .brand-title {
  color: #38bdf8;
}

.brand-accent {
  color: #0d9488;
}

[data-theme="dark"] .brand-accent {
  color: #2dd4bf;
}

.brand-tagline {
  font-size: 0.68rem;
  color: #0d9488;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

[data-theme="dark"] .brand-tagline {
  color: #5eead4;
}

/* Mobile Brand Logo */
.phone-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  text-decoration: none !important;
}

.phone-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.phone-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.phone-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0369a1;
}

[data-theme="dark"] .phone-brand-name {
  color: #38bdf8;
}

.phone-brand-dot {
  color: #0d9488;
}

.phone-brand-tagline {
  font-size: 0.58rem;
  font-weight: 700;
  color: #0d9488;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   LANDING PAGE HERO & SEARCH STYLES (Desktop > 768px)
   ------------------------------------------------------------- */
.desktop-only-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem 3rem !important;
  background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.08) 0%, rgba(13, 148, 136, 0.04) 50%, transparent 80%) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

[data-theme="dark"] .desktop-only-hero {
  background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.15) 0%, rgba(13, 148, 136, 0.08) 50%, transparent 80%) !important;
  border-bottom: 1px solid #1e293b;
}

.hero-ambient-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.09);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .hero-badge-pill {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  color: var(--text-main) !important;
  position: relative;
  z-index: 1;
}

.hero-highlight {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem !important;
  color: var(--text-muted) !important;
  max-width: 720px !important;
  margin: 0 auto 2.25rem !important;
  line-height: 1.6 !important;
  position: relative;
  z-index: 1;
}

/* Dual Search Box Enhanced */
.search-box-container {
  background: var(--bg-card) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.04) !important;
  padding: 0.65rem 0.75rem !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  position: relative;
  z-index: 1;
  transition: all 0.25s ease !important;
}

[data-theme="dark"] .search-box-container {
  border-color: #334155 !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4) !important;
}

.search-box-container:focus-within {
  border-color: #0284c7 !important;
  box-shadow: 0 12px 35px -5px rgba(2, 132, 199, 0.2), 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

.btn-hero-search {
  padding: 0.85rem 1.85rem !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
  transition: all 0.2s ease !important;
}

.btn-hero-search:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45) !important;
}

/* -------------------------------------------------------------
   LANDING STATS STRIP
   ------------------------------------------------------------- */
.landing-stats-strip {
  padding: 2.25rem 1.5rem !important;
  background: var(--bg-card) !important;
  border-bottom: 1px solid var(--border) !important;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(2, 132, 199, 0.3);
}

.stat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-blue { background: rgba(2, 132, 199, 0.12); color: #0284c7; }
.stat-green { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.stat-amber { background: rgba(245, 158, 11, 0.12); color: #f59e0b; }
.stat-purple { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; }

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* -------------------------------------------------------------
   COMFORT & PEACE OF MIND SECTION
   ------------------------------------------------------------- */
.landing-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.comfort-section {
  padding: 4.5rem 0 3.5rem !important;
  background: var(--bg-main) !important;
}

.section-header-comfort {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.comfort-pill-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

[data-theme="dark"] .comfort-pill-badge {
  background: rgba(45, 212, 191, 0.15);
  color: #2dd4bf;
}

.comfort-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.comfort-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.comfort-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.85rem 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.comfort-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.08);
  border-color: rgba(2, 132, 199, 0.4);
}

.comfort-card-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.comfort-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.comfort-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------
   HOW IT WORKS (3 STEPS)
   ------------------------------------------------------------- */
.how-section {
  padding: 3.5rem 0 4.5rem !important;
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.step-box {
  flex: 1;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.65rem;
  position: relative;
  text-align: center;
  transition: all 0.25s ease;
}

.step-box:hover {
  transform: translateY(-3px);
  border-color: #0284c7;
  box-shadow: var(--shadow);
}

.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4);
}

.step-icon {
  font-size: 2.25rem;
  margin: 0.75rem 0 0.85rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.step-arrow-divider {
  font-size: 1.75rem;
  color: #0284c7;
  font-weight: 800;
  opacity: 0.4;
}

/* Explore Anchor Banner */
.explore-banner-wrapper {
  padding: 2.5rem 0 1rem;
  background: var(--bg-main);
}

.explore-banner-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

/* -------------------------------------------------------------
   DESKTOP JOB CARDS POLISH (> 768px)
   ------------------------------------------------------------- */
@media (min-width: 769px) {
  .apna-job-card {
    padding: 22px 26px !important;
    border-radius: 18px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  [data-theme="dark"] .apna-job-card {
    border-color: #334155 !important;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3) !important;
  }

  .apna-job-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.12) !important;
    border-color: #0284c7 !important;
  }

  .apna-job-title {
    font-size: 1.18rem !important;
  }

  .apna-company-name {
    font-size: 0.92rem !important;
  }

  .apna-actions-row {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px dashed var(--border) !important;
  }

  .recruiter-action-pill {
    padding: 7px 14px !important;
    font-size: 0.85rem !important;
    border-radius: 10px !important;
  }
}

/* -------------------------------------------------------------
   TESTIMONIALS SECTION
   ------------------------------------------------------------- */
.testimonials-section {
  padding: 4.5rem 0 !important;
  background: var(--bg-main) !important;
  border-top: 1px solid var(--border);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   LANDING FOOTER
   ------------------------------------------------------------- */
.landing-footer {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border) !important;
  padding: 4rem 0 0 !important;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0.85rem 0 1.25rem;
  max-width: 360px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-pill {
  font-size: 0.76rem;
  font-weight: 600;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  color: var(--text-muted);
}

.footer-links-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: #0284c7;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--text-main);
}

/* -------------------------------------------------------------
   VISIBILITY DISPATCHER: DESKTOP vs MOBILE
   ------------------------------------------------------------- */
@media (max-width: 768px) {
  .desktop-only-navbar,
  .desktop-only-hero,
  .desktop-only-stats,
  .desktop-only-comfort,
  .desktop-only-steps,
  .desktop-only-anchor,
  .desktop-only-testimonials,
  .desktop-only-footer {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .desktop-only-navbar {
    display: flex !important;
  }

  .desktop-only-hero,
  .desktop-only-stats,
  .desktop-only-comfort,
  .desktop-only-steps,
  .desktop-only-anchor,
  .desktop-only-testimonials,
  .desktop-only-footer {
    display: block !important;
  }
}

/* Hide simulated status bar as requested */
.phone-status-bar {
  display: none !important;
}

@media (max-width: 768px) {
  .phone-app-header {
    padding: 14px 16px 14px 16px !important;
  }
}


/* ==========================================================================
   ENHANCED JOBS FILTER & BRAND LOGO POLISH (HIGH VISIBILITY)
   ========================================================================== */

/* 1. Crisp Vector Brand Emblem Badge */
.brand-logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.nav-brand:hover .brand-logo-badge,
.phone-brand-logo:hover .brand-logo-badge {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.42);
}

.phone-brand-logo .brand-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

/* 2. Prominent Desktop & Responsive Quick Filter Bar */
.quick-filter-bar {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.quick-filter-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #0284c7, #0d9488, #10b981);
}

.quick-filter-bar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-filter-bar-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.quick-filter-icon {
  font-size: 1.05rem;
}

.quick-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.quick-filter-pills::-webkit-scrollbar {
  display: none;
}

.qf-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.qf-pill:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

.qf-pill.active {
  background: linear-gradient(135deg, #0284c7, #0d9488) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
}

/* 3. Real-Time Active Filters Strip */
.active-filters-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  animation: fadeIn 0.2s ease-in-out;
}

.active-filters-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.active-filter-tags {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.15s ease;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .active-filter-chip {
  background: rgba(30, 64, 175, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
  color: #93c5fd;
}

.btn-remove-chip {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.75;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn-remove-chip:hover {
  opacity: 1;
  transform: scale(1.15);
}

.btn-clear-all-filters {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: auto;
  transition: background 0.15s ease;
}
.btn-clear-all-filters:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* 4. Desktop Sidebar Polish & Visibility */
.filters-sidebar {
  position: relative;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 20px !important;
}

.filters-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #0284c7, #0d9488);
}

.active-count-badge {
  display: inline-block;
  background: #f0fdfa;
  color: #0d9488;
  border: 1px solid #99f6e4;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
[data-theme="dark"] .active-count-badge {
  background: rgba(13, 148, 136, 0.25);
  border-color: rgba(20, 184, 166, 0.4);
  color: #2dd4bf;
}

.btn-reset-filters-styled {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-reset-filters-styled:hover {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

.filter-group-title {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: 0.2px !important;
}

.filter-select {
  width: 100% !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 11px !important;
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.filter-select:hover {
  border-color: #0284c7 !important;
}

.filter-select:focus {
  outline: none !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

/* 5. Modern Segmented Work Mode Controls */
.segmented-workmode {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.swm-btn {
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.swm-btn:hover {
  border-color: #0284c7;
  color: var(--text-main);
}

.swm-btn.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
}

/* 6. High-Contrast Mobile Filter Trigger Button */
.phone-filter-trigger-btn {
  background: linear-gradient(135deg, #0284c7, #0d9488) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 7px 15px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.38) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.phone-filter-trigger-btn:active {
  transform: scale(0.96) !important;
}

#mobile-filter-count {
  background: #ffffff !important;
  color: #0369a1 !important;
  font-weight: 900 !important;
  border-radius: 9999px !important;
  padding: 2px 7px !important;
  font-size: 0.72rem !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}


/* ==========================================================================
   RESPONSIVE FILTER LAYOUT FIXES (PREVENTS SQUISHING & AWKWARD WRAPPING)
   ========================================================================== */

/* 2-Tier Clean Desktop Sidebar Header */
.filters-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--border) !important;
  margin-bottom: 1.25rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.filters-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  box-sizing: border-box !important;
  gap: 8px !important;
}

.filters-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
}

.filters-title-icon {
  font-size: 1.25rem !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.filters-title {
  font-size: 1.08rem !important;
  font-weight: 800 !important;
  color: var(--text-main) !important;
  letter-spacing: -0.015em !important;
  white-space: nowrap !important;
  margin: 0 !important;
}

.btn-reset-filters-styled {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: var(--bg-secondary) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: all 0.15s ease !important;
  line-height: 1.4 !important;
}

.btn-reset-filters-styled:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.filters-status-row {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.filters-status-text {
  font-size: 0.74rem !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.active-count-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #f0fdfa !important;
  color: #0d9488 !important;
  border: 1px solid #99f6e4 !important;
  padding: 2px 9px !important;
  border-radius: 9999px !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

[data-theme="dark"] .active-count-badge {
  background: rgba(13, 148, 136, 0.22) !important;
  border-color: rgba(20, 184, 166, 0.4) !important;
  color: #2dd4bf !important;
}

/* Sidebar Responsive Container */
.filters-sidebar {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 1.15rem 1.15rem 1.5rem 1.15rem !important;
  border-radius: 18px !important;
  border: 1.5px solid var(--border) !important;
  background: var(--bg-card) !important;
}

/* Responsive Main Grid Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-container {
    grid-template-columns: 270px 1fr !important;
    gap: 1.25rem !important;
    padding: 1rem !important;
  }
  .filters-sidebar {
    padding: 1rem 0.9rem 1.25rem 0.9rem !important;
  }
  .filters-title {
    font-size: 1rem !important;
  }
}

@media (min-width: 1025px) {
  .main-container {
    grid-template-columns: 300px 1fr !important;
    gap: 2rem !important;
    padding: 1.5rem !important;
  }
}

/* Mobile Bottom Sheet Clean-Up */
@media (max-width: 768px) {
  .filters-sidebar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 85vh !important;
    box-sizing: border-box !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 1rem 1.25rem 2.5rem 1.25rem !important;
  }
  .filters-header {
    display: none !important;
  }
}
