@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #070a12;
  --bg-secondary: #0d1322;
  --bg-tertiary: #131b2e;
  --bg-card: rgba(19, 27, 46, 0.7);
  --bg-card-hover: rgba(26, 37, 63, 0.85);
  
  --gold-primary: #d4af37;
  --gold-light: #f5d77f;
  --gold-dark: #a18120;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #f5d77f 0%, #d4af37 50%, #9e7d1b 100%);
  
  --cyan-accent: #00d2c4;
  --cyan-glow: rgba(0, 210, 196, 0.25);
  --emerald-accent: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --purple-accent: #8b5cf6;
  
  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(212, 175, 55, 0.15);
  --border-focus: rgba(212, 175, 55, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.18);
  
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  
  --gold-primary: #b8860b;
  --gold-light: #946c08;
  --gold-dark: #684b02;
  --gold-glow: rgba(184, 134, 11, 0.2);
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 60%, #8c6507 100%);
  
  --cyan-accent: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.2);
  --emerald-accent: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.15);
  --purple-accent: #7c3aed;
  
  --text-pure: #0f172a;
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-subtle: #64748b;
  
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(184, 134, 11, 0.25);
  --border-focus: rgba(184, 134, 11, 0.5);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 10px 25px rgba(184, 134, 11, 0.12);
}

[data-theme="light"] body {
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(184, 134, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(8, 145, 178, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.04) 0%, transparent 50%);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="light"] .brand-title {
  color: #0f172a;
}

[data-theme="light"] .hero-pill-badge {
  background: rgba(184, 134, 11, 0.08);
  border-color: rgba(184, 134, 11, 0.3);
  color: var(--gold-dark);
}

[data-theme="light"] .btn-cta-nav,
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-apply-card,
[data-theme="light"] .btn-drawer-apply,
[data-theme="light"] .submit-btn-modal,
[data-theme="light"] .footer-submit-btn,
[data-theme="light"] .pill-btn.active {
  color: #ffffff;
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-pure);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .heritage-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .heritage-card::before {
  background: radial-gradient(circle, rgba(184, 134, 11, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .filter-bar-container {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select,
[data-theme="light"] .search-input {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .search-input:focus {
  background: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(184, 134, 11, 0.2);
}

[data-theme="light"] .pill-btn {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-main);
}

[data-theme="light"] .meta-badge {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .meta-badge.remote {
  background: rgba(8, 145, 178, 0.1);
  color: var(--cyan-accent);
  border-color: rgba(8, 145, 178, 0.2);
}

[data-theme="light"] .btn-details {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-pure);
}

[data-theme="light"] .btn-details:hover {
  background: #f1f5f9;
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .job-drawer,
[data-theme="light"] .apply-modal {
  background: #ffffff;
}

[data-theme="light"] .drawer-header,
[data-theme="light"] .drawer-footer,
[data-theme="light"] .modal-header {
  background: #f8fafc;
}

[data-theme="light"] .drawer-meta-grid {
  background: #f8fafc;
}

[data-theme="light"] .drawer-close-btn {
  background: rgba(0, 0, 0, 0.05);
  color: #475569;
}

[data-theme="light"] .drawer-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .file-dropzone {
  background: rgba(184, 134, 11, 0.03);
  border-color: rgba(184, 134, 11, 0.3);
}

[data-theme="light"] .site-footer {
  background: #0f172a;
  color: #f1f5f9;
}

[data-theme="light"] .site-footer .brand-title {
  color: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(0, 210, 196, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, .heritage-heading {
  font-family: var(--font-serif);
  letter-spacing: 0.03em;
  color: var(--text-pure);
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1b253b, #0d1322);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--gold-glow);
  position: relative;
  overflow: hidden;
}

.brand-emblem::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: rotate(35deg);
  animation: emblemShine 4s infinite linear;
}

@keyframes emblemShine {
  0% { transform: translateY(-100%) rotate(35deg); }
  25%, 100% { transform: translateY(100%) rotate(35deg); }
}

.brand-emblem span {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.saved-jobs-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.saved-jobs-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  color: var(--gold-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 0 16px var(--gold-glow);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(184, 134, 11, 0.45);
  color: var(--gold-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(184, 134, 11, 0.12);
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(184, 134, 11, 0.25);
}

.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}

[data-theme="light"] .icon-sun {
  display: block;
}
[data-theme="light"] .icon-moon {
  display: none;
}

.saved-badge {
  background: var(--gold-primary);
  color: #070a12;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-nav {
  background: var(--gold-gradient);
  color: #080c16;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--gold-glow);
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-glow-blob-1 {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 380px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-accent);
  box-shadow: 0 0 10px var(--emerald-accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px 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: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold-gradient);
  color: #080c16;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-pure);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.heritage-spotlight-section {
  padding: 4rem 0;
  position: relative;
}

.heritage-card {
  background: linear-gradient(135deg, rgba(27, 37, 60, 0.8), rgba(13, 19, 34, 0.95));
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.heritage-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.heritage-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.heritage-tag {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.heritage-headline {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.heritage-body {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.heritage-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 2px solid rgba(212, 175, 55, 0.25);
  padding-left: 1.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-pure);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.2rem;
}

.careers-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.filter-bar-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.filter-top-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.2rem 0.85rem 2.85rem;
  color: var(--text-pure);
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-pure);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-btn.active {
  background: var(--gold-gradient);
  color: #080c16;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
}

.results-count {
  font-weight: 700;
  color: var(--gold-light);
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.job-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-card);
  box-shadow: var(--shadow-md), 0 0 25px rgba(212, 175, 55, 0.1);
}

.job-card:hover::before {
  background: var(--gold-gradient);
}

.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.dept-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.dept-tag.customer-care { color: #38bdf8; background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.25); }
.dept-tag.sales-growth { color: #fbbf24; background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.25); }
.dept-tag.merchandising { color: #a78bfa; background: rgba(167, 139, 250, 0.1); border-color: rgba(167, 139, 250, 0.25); }
.dept-tag.marketing { color: #f472b6; background: rgba(244, 114, 182, 0.1); border-color: rgba(244, 114, 182, 0.25); }
.dept-tag.engineering { color: #34d399; background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.25); }
.dept-tag.operations { color: #fb923c; background: rgba(251, 146, 60, 0.1); border-color: rgba(251, 146, 60, 0.25); }

.bookmark-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.bookmark-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.bookmark-btn.saved {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.job-title {
  font-family: var(--font-sans);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.job-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.meta-badge.remote {
  color: var(--cyan-accent);
  background: rgba(0, 210, 196, 0.08);
  border-color: rgba(0, 210, 196, 0.2);
  font-weight: 600;
}

.job-snippet {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.job-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.salary-tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
}

.job-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-details {
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-details:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-pure);
}

.btn-apply-card {
  padding: 0.65rem 0.9rem;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-sm);
  color: #080c16;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn-apply-card:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px var(--gold-glow);
}

.no-results-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
}

.no-results-state h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.no-results-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.benefits-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 19, 34, 0.6) 50%, transparent 100%);
  position: relative;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-card);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

.benefit-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.benefit-title {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 0.65rem;
}

.benefit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-section {
  padding: 4rem 0 6rem;
}

.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--border-card);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  padding: 1.4rem 1.75rem;
  color: var(--text-pure);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-icon-arrow {
  color: var(--gold-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-card.open .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-card.open .faq-answer {
  max-height: 350px;
  padding-bottom: 1.5rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.job-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 680px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 205;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer-backdrop.active .job-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(13, 19, 34, 0.9);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
}

.drawer-body {
  padding: 2.2rem 2rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-dept-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.drawer-job-title {
  font-size: 1.85rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.drawer-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.drawer-meta-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.2rem;
}

.drawer-meta-item-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure);
}

.drawer-section {
  margin-bottom: 2rem;
}

.drawer-section-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
}

.drawer-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 0.8rem;
  top: 0.15rem;
}

.drawer-tools-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tool-tag {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  font-size: 0.82rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.drawer-heritage-quote {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(0, 0, 0, 0.2));
  border-left: 3px solid var(--gold-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
  font-style: italic;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.drawer-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(13, 19, 34, 0.95);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-drawer-apply {
  flex: 1;
  background: var(--gold-gradient);
  color: #080c16;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  text-align: center;
  transition: var(--transition);
}

.btn-drawer-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.apply-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(212, 175, 55, 0.15);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-backdrop.active .apply-modal {
  transform: scale(1);
}

.modal-header {
  padding: 1.75rem 2.25rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: rgba(13, 19, 34, 0.95);
  backdrop-filter: blur(8px);
  z-index: 5;
}

.modal-title {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.modal-role-name {
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-form {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-label span.req {
  color: #ef4444;
}

.form-input, .form-textarea, .form-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-pure);
  font-size: 0.94rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
}

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

.file-dropzone {
  border: 2px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: rgba(212, 175, 55, 0.02);
  cursor: pointer;
  transition: var(--transition);
}

.file-dropzone:hover, .file-dropzone.dragover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-light);
}

.dropzone-icon {
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.dropzone-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.dropzone-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.uploaded-file-pill {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--emerald-accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.submit-btn-modal {
  background: var(--gold-gradient);
  color: #080c16;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.submit-btn-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
}

.modal-success-state {
  display: none;
  text-align: center;
  padding: 3.5rem 2rem;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--emerald-accent);
  color: var(--emerald-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast-message {
  pointer-events: auto;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.4rem;
  color: var(--text-pure);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(120%);
  animation: slideInToast 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
  to { transform: translateX(0); }
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 7, 13, 0.95);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 360px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-newsletter-p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-input-wrap {
  display: flex;
  gap: 0.5rem;
}

.footer-email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem;
  color: var(--text-pure);
  font-size: 0.88rem;
}

.footer-submit-btn {
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #080c16;
  cursor: pointer;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
}

[data-theme="light"] .mobile-menu-btn {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(184, 134, 11, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: all 0.25s ease;
}

[data-theme="light"] .mobile-menu-btn span {
  background: var(--gold-primary);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: #0d1322 !important; 
  border-left: 1px solid var(--border-card);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 9999;
}

[data-theme="light"] .mobile-menu-drawer {
  background: #ffffff !important;
  border-left: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu-backdrop.active .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2rem 0;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: var(--text-pure);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.mobile-menu-link svg {
  color: var(--gold-primary);
  transition: transform 0.2s ease;
}

.mobile-menu-link:hover, .mobile-menu-link:active {
  background: rgba(212, 175, 55, 0.14);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateX(4px);
}

.mobile-menu-link:hover svg, .mobile-menu-link:active svg {
  transform: translateX(3px);
}

[data-theme="light"] .mobile-menu-link {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  color: #0f172a;
}

[data-theme="light"] .mobile-menu-link:hover,
[data-theme="light"] .mobile-menu-link:active {
  background: rgba(184, 134, 11, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.mobile-menu-footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-bottom-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: rgba(13, 19, 34, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 99;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 1rem;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .mobile-bottom-dock {
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
}

.dock-item:hover, .dock-item:active {
  color: var(--gold-light);
  transform: translateY(-2px);
}

[data-theme="light"] .dock-item:hover,
[data-theme="light"] .dock-item:active {
  color: var(--gold-primary);
}

.dock-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  width: 16px;
  height: 16px;
  font-size: 0.65rem;
}

button:active, .btn-primary:active, .btn-secondary:active, .btn-details:active, .btn-apply-card:active {
  transform: scale(0.97);
}

@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .heritage-card-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .nav-links, .btn-cta-nav, .saved-jobs-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .mobile-bottom-dock {
    display: flex;
  }

  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .stat-card {
    padding: 1.1rem 0.75rem;
  }
  .stat-value {
    font-size: 1.8rem;
  }

  .filter-bar-container {
    padding: 1rem;
  }
  .filter-pills-row {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    gap: 0.5rem;
  }
  .filter-pills-row::-webkit-scrollbar {
    display: none;
  }
  .pill-btn {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .job-card {
    padding: 1.5rem;
  }
  .job-title {
    font-size: 1.22rem;
  }

  .job-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 24px 24px 0 0;
    border-left: none;
    border-top: 1px solid var(--border-card);
    transform: translateY(100%);
  }

  .job-drawer::before {
    content: '';
    display: block;
    width: 44px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    margin: 10px auto 4px;
  }

  [data-theme="light"] .job-drawer::before {
    background: rgba(0, 0, 0, 0.2);
  }

  .drawer-backdrop.active .job-drawer {
    transform: translateY(0);
  }

  .drawer-header {
    padding: 1rem 1.5rem;
  }
  .drawer-body {
    padding: 1.5rem;
  }
  .drawer-footer {
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .apply-modal {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    transform: translateY(100%);
  }

  .apply-modal::before {
    content: '';
    display: block;
    width: 44px;
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    margin: 10px auto 4px;
  }

  [data-theme="light"] .apply-modal::before {
    background: rgba(0, 0, 0, 0.2);
  }

  .modal-backdrop.active .apply-modal {
    transform: translateY(0);
  }

  .modal-header {
    padding: 1.25rem 1.5rem 1rem;
  }
  .modal-form {
    padding: 1.25rem 1.5rem;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-input, .form-textarea, .form-select, .search-input {
    font-size: 16px;
  }

  .heritage-card {
    padding: 2rem 1.25rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .stat-card {
    padding: 1rem 0.5rem;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
}

