/* ================================================================
   HARSHIVERSE — Main Stylesheet
   Design System v1.0
   ================================================================ */

/* ---- CSS Variables ---- */
:root {
  --brand-blue: #1A56DB;
  --brand-blue-dark: #1447B0;
  --brand-blue-light: #EFF6FF;
  --deep-navy: #0F2557;
  --navy-mid: #1E3A8A;
  --sky-blue: #3B82F6;
  --indigo: #6366F1;

  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50:  #F9FAFB;
  --white:    #FFFFFF;

  --green:       #10B981;
  --green-light: #ECFDF5;
  --amber:       #F59E0B;
  --amber-light: #FFFBEB;
  --red:         #EF4444;
  --red-light:   #FEF2F2;

  --gradient-hero: linear-gradient(135deg, #0F2557 0%, #1A56DB 100%);
  --gradient-cta:  linear-gradient(90deg, #1A56DB 0%, #6366F1 100%);
  --gradient-card: linear-gradient(135deg, #EFF6FF 0%, #EDE9FE 100%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.10), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 0 4px rgba(26,86,219,0.15);
  --shadow-blue: 0 8px 24px rgba(26,86,219,0.30);

  --nav-height: 72px;
  --container: 1280px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ================================================================
   LAYOUT UTILITIES
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

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

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.hidden       { display: none !important; }
.sr-only      { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.display-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.display-l  { font-size: clamp(2rem, 4vw, 3.5rem);  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
.h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); font-weight: 700; line-height: 1.3; }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.4; }
.h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

.body-l { font-size: 1.125rem; line-height: 1.7; }
.body   { font-size: 1rem;     line-height: 1.6; }
.body-s { font-size: 0.875rem; line-height: 1.5; }
.caption { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.text-white   { color: var(--white); }
.text-blue    { color: var(--brand-blue); }
.text-navy    { color: var(--deep-navy); }
.text-gray-6  { color: var(--gray-600); }
.text-gray-4  { color: var(--gray-400); }
.text-green   { color: var(--green); }
.text-amber   { color: var(--amber); }
.text-red     { color: var(--red); }

.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.section-title { color: var(--gray-900); margin-bottom: 12px; }
.section-sub   { color: var(--gray-600); max-width: 560px; }
.section-header.center .section-sub { margin: 0 auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 24px;
  transition: all var(--transition, 200ms ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 14px rgba(26,86,219,0.25);
}
.btn-primary:hover {
  background: var(--brand-blue-dark);
  border-color: var(--brand-blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue);
}

.btn-gradient {
  background: var(--gradient-cta);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(26,86,219,0.30);
}
.btn-gradient:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,86,219,0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.btn-secondary:hover {
  background: var(--brand-blue-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: var(--gray-200);
}
.btn-ghost:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.btn-white {
  background: var(--white);
  color: var(--brand-blue);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 18px 40px; font-size: 1.0625rem; }
.btn-full { width: 100%; }

.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  color: var(--white);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 250ms ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.navbar.transparent { background: transparent; }
.navbar.solid {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -1px;
}
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: var(--brand-blue); }
.navbar.transparent .nav-logo-text { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: all 200ms ease;
  text-decoration: none;
}
.nav-link:hover { color: var(--gray-900); background: var(--gray-50); }
.nav-link.active { color: var(--brand-blue); background: var(--brand-blue-light); font-weight: 600; }
.navbar.transparent .nav-link { color: rgba(255,255,255,0.8); }
.navbar.transparent .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.navbar.transparent .nav-link.active { color: white; background: rgba(255,255,255,0.15); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 200ms;
}
.nav-hamburger:hover { background: var(--gray-100); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 300ms ease;
}
.navbar.transparent .nav-hamburger span { background: var(--white); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 350ms var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: all; }

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.nav-drawer-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--gray-600);
  transition: background 200ms;
}
.nav-drawer-close:hover { background: var(--gray-200); }

.nav-drawer-links { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-lg);
  transition: all 200ms;
  text-decoration: none;
}
.nav-drawer-link:hover { background: var(--gray-50); color: var(--gray-900); }
.nav-drawer-link.active { background: var(--brand-blue-light); color: var(--brand-blue); font-weight: 600; }
.nav-drawer-icon { font-size: 1.2rem; }

.nav-drawer-footer { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  background: var(--gradient-hero);
  min-height: 100vh;
  padding: calc(var(--nav-height) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99,102,241,0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(26,86,219,0.3) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(15,37,87,0.5) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: calc(var(--nav-height) + 60px) 0 60px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .accent {
  background: linear-gradient(135deg, #93C5FD 0%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero Search */
.hero-search {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  gap: 0;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .hero-search { flex-direction: column; padding: 12px; gap: 8px; }
}
.hero-search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid var(--gray-200);
}
@media (max-width: 640px) {
  .hero-search-input { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 10px 12px; }
  .hero-search-input:last-of-type { border-bottom: none; }
}
.hero-search-icon { color: var(--gray-400); flex-shrink: 0; }
.hero-search-input input {
  border: none;
  outline: none;
  font-size: 0.9375rem;
  color: var(--gray-900);
  width: 100%;
  background: transparent;
}
.hero-search-input input::placeholder { color: var(--gray-400); }
.hero-search-btn {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

.hero-popular {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-popular-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.hero-chip {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
}
.hero-chip:hover { background: rgba(255,255,255,0.2); color: white; }

/* Hero trust */
.hero-trust {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}
.hero-trust-check { color: var(--green); font-size: 1rem; }

/* Hero Visual (floating cards) */
.hero-visual {
  position: relative;
  height: 460px;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  position: absolute;
}
.hero-card-main {
  width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 4s ease-in-out infinite;
}
.hero-card-small {
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  position: absolute;
  animation: float 4s ease-in-out infinite;
}
.hero-card-1 { top: 10%; left: 5%; animation-delay: -1s; animation-duration: 5s; }
.hero-card-2 { top: 28%; left: 5%; animation-delay: -2s; animation-duration: 6s; }

.hero-card-company { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.hero-card-logo {
  width: 40px; height: 40px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.875rem;
}
.hero-card-company-name { font-size: 0.875rem; font-weight: 600; color: var(--gray-900); }
.hero-card-company-meta { font-size: 0.75rem; color: var(--gray-500); }
.hero-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.hero-card-meta { display: flex; gap: 12px; font-size: 0.75rem; color: var(--gray-500); margin-bottom: 14px; }
.hero-card-salary { font-size: 0.875rem; font-weight: 600; color: var(--green); }
.hero-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  background: var(--brand-blue);
  color: white;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 14px;
}
.hero-stats-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--gray-600);
  font-weight: 500;
}
.hero-stats-mini strong { color: var(--brand-blue); }

/* ================================================================
   TRUST BAR / LOGOS
   ================================================================ */
.trust-bar {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.trust-bar-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logos-track-wrap { overflow: hidden; }
.logos-track {
  display: flex;
  gap: 0;
  animation: marquee 35s linear infinite;
  width: max-content;
  align-items: center;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.3px;
  text-align: center;
  min-width: 72px;
  padding-right: 88px;
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
  background: var(--gradient-hero);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item {
  padding: 40px 32px;
  text-align: center;
  background: rgba(255,255,255,0.05);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 32px);
  right: calc(16.67% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--indigo) 100%);
  z-index: 0;
}
@media (max-width: 900px) { .steps-grid::before { display: none; } }

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 64px;
  height: 64px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(26,86,219,0.30);
}
.step-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step-desc  { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

/* ================================================================
   JOB CARDS
   ================================================================ */
.job-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all 250ms ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.job-card:hover {
  border-color: #93C5FD;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.job-card.featured {
  border-left: 3px solid var(--brand-blue);
  background: linear-gradient(135deg, rgba(239,246,255,0.5) 0%, white 100%);
}

.job-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.job-card-company { display: flex; align-items: center; gap: 10px; }
.company-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.company-logo img { width: 100%; height: 100%; object-fit: cover; }
.company-name { font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); }
.company-location { font-size: 0.75rem; color: var(--gray-500); margin-top: 1px; }

.job-save-btn {
  color: var(--gray-400);
  transition: color 200ms;
  padding: 4px;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
.job-save-btn:hover, .job-save-btn.saved { color: var(--brand-blue); }

.job-title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; line-height: 1.3; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 14px;
}
.job-meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.8125rem; color: var(--gray-500); }
.job-meta-icon { font-size: 0.875rem; }

.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-600);
}
.tag-blue  { background: var(--brand-blue-light); color: var(--brand-blue); }
.tag-green { background: var(--green-light);      color: var(--green); }
.tag-amber { background: var(--amber-light);      color: #92400E; }

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.job-salary { font-size: 0.9rem; font-weight: 700; color: var(--green); }
.job-date { font-size: 0.75rem; color: var(--gray-400); }

/* Job Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}
.badge-new    { background: var(--brand-blue-light); color: var(--brand-blue); }
.badge-hot    { background: #FEF2F2; color: var(--red); }
.badge-urgent { background: #FFFBEB; color: #92400E; }
.badge-remote { background: var(--green-light); color: var(--green); }

/* ================================================================
   JOBS LISTING PAGE
   ================================================================ */
.jobs-page-header {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1E3A8A 100%);
  padding: calc(var(--nav-height) + 48px) 0 48px;
}
.jobs-search-bar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 8px;
  display: flex;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  max-width: 800px;
}
@media (max-width: 640px) {
  .jobs-search-bar { flex-direction: column; padding: 10px; gap: 8px; }
}
.jobs-search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid var(--gray-200);
}
@media (max-width: 640px) {
  .jobs-search-field { border-right: none; border-bottom: 1px solid var(--gray-200); padding: 10px; }
  .jobs-search-field:last-of-type { border-bottom: none; }
}
.jobs-search-field input,
.jobs-search-field select {
  border: none;
  outline: none;
  font-size: 0.9375rem;
  color: var(--gray-900);
  width: 100%;
  background: transparent;
  -webkit-appearance: none;
}
.jobs-search-field input::placeholder { color: var(--gray-400); }

.jobs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0 80px;
}
@media (max-width: 900px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .jobs-filters-sidebar { display: none; }
  .jobs-filters-sidebar.mobile-open { display: block; }
}

.jobs-filters-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.filter-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.filter-reset { font-size: 0.8125rem; color: var(--brand-blue); cursor: pointer; font-weight: 500; }
.filter-reset:hover { text-decoration: underline; }

.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-option { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-blue);
  cursor: pointer;
}
.filter-option label { font-size: 0.875rem; color: var(--gray-700); cursor: pointer; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 6px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 200ms;
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
}

/* Range Slider */
.range-input { width: 100%; accent-color: var(--brand-blue); }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--gray-500); margin-top: 4px; }

.jobs-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.results-count { font-size: 0.9375rem; color: var(--gray-600); }
.results-count strong { color: var(--gray-900); font-weight: 700; }
.results-sort select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 8px 32px 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: white;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .jobs-grid { grid-template-columns: 1fr; } }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}
.active-filter-remove { cursor: pointer; font-size: 1rem; line-height: 1; opacity: 0.7; }
.active-filter-remove:hover { opacity: 1; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 200ms;
  border: 1.5px solid var(--gray-200);
  background: white;
}
.page-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--brand-blue-light); }
.page-btn.active { background: var(--brand-blue); color: white; border-color: var(--brand-blue); }

/* Mobile filter toggle */
.mobile-filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
}
@media (max-width: 900px) { .mobile-filter-toggle { display: flex; } }

/* ================================================================
   JOB DETAIL PAGE
   ================================================================ */
.job-detail-hero {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: calc(var(--nav-height) + 32px) 0 32px;
}
.job-detail-company { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.job-detail-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
}
.job-detail-company-info h2 { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); }
.job-detail-company-info span { font-size: 0.875rem; color: var(--gray-500); }
.job-detail-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--gray-900); margin-bottom: 16px; line-height: 1.2; }
.job-detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.job-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
}
.job-chip.salary { background: var(--green-light); border-color: transparent; color: var(--green); font-weight: 700; }
.job-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .job-detail-actions .btn { flex: 1; } }

.job-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  padding: 40px 0 80px;
}
@media (max-width: 1024px) { .job-detail-layout { grid-template-columns: 1fr; } }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 32px; }
.tab-btn {
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  transition: color 200ms;
  white-space: nowrap;
}
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--brand-blue);
  transform: scaleX(0);
  transition: transform 250ms ease;
}
.tab-btn.active { color: var(--brand-blue); font-weight: 600; }
.tab-btn.active::after { transform: scaleX(1); }
.tab-btn:hover:not(.active) { color: var(--gray-700); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Job Content Typography */
.job-content h3 { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); margin: 24px 0 12px; }
.job-content h3:first-child { margin-top: 0; }
.job-content p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.job-content ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.job-content ul li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}
.job-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-blue);
  font-weight: 600;
}

/* Apply Sidebar */
.apply-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.apply-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 16px;
}
.apply-card-salary { font-size: 1.5rem; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.apply-card-title { font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.apply-card-company { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 20px; }
.apply-card-divider { height: 1px; background: var(--gray-100); margin: 16px 0; }
.apply-card-stat { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; margin-bottom: 8px; }
.apply-card-stat-label { color: var(--gray-500); }
.apply-card-stat-value { font-weight: 600; color: var(--gray-900); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.page-hero {
  background: var(--gradient-hero);
  padding: calc(var(--nav-height) + 80px) 0 80px;
  text-align: center;
}
.page-hero-title { color: var(--white); margin-bottom: 16px; }
.page-hero-sub { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.about-visual {
  background: var(--gradient-card);
  border-radius: var(--radius-2xl);
  padding: 48px;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.about-icon { font-size: 5rem; margin-bottom: 20px; }
.about-visual-title { font-size: 1.5rem; font-weight: 800; color: var(--deep-navy); margin-bottom: 8px; }
.about-visual-sub { color: var(--gray-600); }

.about-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.about-list-item { display: flex; gap: 14px; }
.about-list-icon {
  width: 40px;
  height: 40px;
  background: var(--brand-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.about-list-text h4 { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.about-list-text p  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-align: center;
  transition: all 250ms ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #93C5FD; }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 14px;
}
.team-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-role { font-size: 0.8125rem; color: var(--brand-blue); font-weight: 500; margin-bottom: 12px; }
.team-bio  { font-size: 0.8125rem; color: var(--gray-600); line-height: 1.6; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 80px 0;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

.contact-info { }
.contact-info-title { margin-bottom: 12px; }
.contact-info-sub { color: var(--gray-600); margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--brand-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.875rem; font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.contact-item-text p  { font-size: 0.875rem; color: var(--gray-600); }
.contact-item-text a  { color: var(--brand-blue); }

.contact-form {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .contact-form { padding: 24px; } }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-label .req { color: var(--red); }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: all 200ms ease;
  font-family: var(--font);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--gray-400); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--brand-blue);
  background: var(--white);
  box-shadow: var(--shadow-glow);
}
.form-input.error { border-color: var(--red); background: var(--red-light); }
.form-input.success { border-color: var(--green); }

.form-textarea { height: auto; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.form-select { -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

.form-hint  { font-size: 0.8rem; color: var(--gray-400); margin-top: 5px; }
.form-error { font-size: 0.8rem; color: var(--red); margin-top: 5px; }
.form-success-msg { font-size: 0.8rem; color: var(--green); margin-top: 5px; }

.form-input-icon {
  position: relative;
}
.form-input-icon .form-input { padding-left: 44px; }
.form-input-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.1rem;
  pointer-events: none;
}
.form-input-icon .input-icon-right {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1.1rem;
  background: none;
  border: none;
  padding: 0;
}
.form-input-icon .input-icon-right:hover { color: var(--gray-600); }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-blue);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}
.form-check label { font-size: 0.875rem; color: var(--gray-700); cursor: pointer; line-height: 1.5; }
.form-check label a { color: var(--brand-blue); text-decoration: underline; }

.form-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.form-divider span { font-size: 0.8125rem; color: var(--gray-400); font-weight: 500; white-space: nowrap; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* Social Auth */
.social-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
}
.social-btn:hover { background: var(--gray-50); border-color: var(--gray-300); }
.social-btn-google  { }
.social-btn-linkedin { background: #0A66C2; color: white; border-color: #0A66C2; }
.social-btn-linkedin:hover { background: #085099; border-color: #085099; }
.social-icon { font-size: 1.125rem; }

/* File Upload */
.file-upload {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 200ms;
}
.file-upload:hover, .file-upload.dragover {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.file-upload input[type="file"] { display: none; }
.file-upload-icon { font-size: 2rem; margin-bottom: 10px; color: var(--gray-400); }
.file-upload:hover .file-upload-icon, .file-upload.dragover .file-upload-icon { color: var(--brand-blue); }
.file-upload-title { font-size: 0.9375rem; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.file-upload-sub  { font-size: 0.8125rem; color: var(--gray-400); }
.file-upload-sub span { color: var(--brand-blue); font-weight: 500; }

.file-uploaded {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
}
.file-uploaded-icon { font-size: 1.25rem; color: var(--green); }
.file-uploaded-name { font-size: 0.875rem; font-weight: 600; color: var(--gray-900); flex: 1; }
.file-uploaded-remove { color: var(--gray-400); cursor: pointer; font-size: 1.1rem; }
.file-uploaded-remove:hover { color: var(--red); }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, #EDE9FE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}
@media (max-width: 480px) { .auth-card { padding: 28px 20px; } }
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.auth-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1rem;
}
.auth-logo-text { font-size: 1.375rem; font-weight: 800; color: var(--gray-900); }
.auth-logo-text span { color: var(--brand-blue); }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-title { font-size: 1.625rem; font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.auth-sub { font-size: 0.9rem; color: var(--gray-600); }

.auth-footer { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--gray-600); }
.auth-footer a { color: var(--brand-blue); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* Role Toggle */
.role-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 24px; }
.role-option { display: none; }
.role-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 200ms;
  text-align: center;
}
.role-label-icon { font-size: 1.75rem; }
.role-label-title { font-size: 0.875rem; font-weight: 700; color: var(--gray-700); }
.role-label-sub { font-size: 0.75rem; color: var(--gray-500); }
.role-option:checked + .role-label {
  border-color: var(--brand-blue);
  background: var(--brand-blue-light);
}
.role-option:checked + .role-label .role-label-title { color: var(--brand-blue); }

/* Progress Steps */
.progress-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 0;
}
.progress-step-circle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-300);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: all 300ms;
  z-index: 1;
}
.progress-step-circle.active { border-color: var(--brand-blue); background: var(--brand-blue); color: white; }
.progress-step-circle.done { border-color: var(--green); background: var(--green); color: white; }
.progress-step-line {
  width: 64px;
  height: 2px;
  background: var(--gray-200);
  transition: background 300ms;
}
.progress-step-line.done { background: var(--green); }
@media (max-width: 400px) { .progress-step-line { width: 40px; } }

/* ================================================================
   DASHBOARD
   ================================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.dashboard-sidebar {
  width: 260px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  position: fixed;
  top: var(--nav-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
}
@media (max-width: 900px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
  }
  .dashboard-sidebar.open { transform: translateX(0); }
}

.sidebar-user {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--gray-100);
}
.sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  margin-bottom: 10px;
}
.sidebar-user-name { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); }
.sidebar-user-role { font-size: 0.8125rem; color: var(--gray-500); margin-bottom: 8px; }

.profile-progress { }
.profile-progress-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 4px;
}
.profile-progress-fill {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  transition: width 1s ease;
}
.profile-progress-label { font-size: 0.75rem; color: var(--brand-blue); font-weight: 500; }

.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
  margin-bottom: 2px;
}
.sidebar-nav-item:hover { background: var(--gray-50); color: var(--gray-900); }
.sidebar-nav-item.active { background: var(--brand-blue-light); color: var(--brand-blue); font-weight: 600; }
.sidebar-nav-icon { font-size: 1.125rem; flex-shrink: 0; }
.sidebar-nav-badge {
  margin-left: auto;
  background: var(--red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--gray-100);
}

.dashboard-main {
  flex: 1;
  margin-left: 260px;
  padding: 32px;
  background: var(--gray-50);
  min-height: calc(100vh - var(--nav-height));
}
@media (max-width: 900px) { .dashboard-main { margin-left: 0; padding: 20px 16px; } }

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.dashboard-greeting h1 { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }
.dashboard-greeting p  { font-size: 0.875rem; color: var(--gray-500); margin-top: 2px; }
.dashboard-topbar-actions { display: flex; gap: 10px; align-items: center; }

/* Dashboard Stats */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 1100px) { .dash-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .dash-stats { grid-template-columns: 1fr 1fr; } }

.stat-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 250ms;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.stat-card-icon.blue   { background: var(--brand-blue-light); }
.stat-card-icon.green  { background: var(--green-light); }
.stat-card-icon.amber  { background: var(--amber-light); }
.stat-card-icon.purple { background: #EDE9FE; }
.stat-card-number { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); line-height: 1; margin-bottom: 4px; }
.stat-card-label  { font-size: 0.8125rem; color: var(--gray-500); font-weight: 500; }
.stat-card-trend  { font-size: 0.75rem; margin-top: 6px; }
.stat-card-trend.up   { color: var(--green); }
.stat-card-trend.down { color: var(--red); }

/* Dashboard Grid */
.dash-grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }

.dash-widget {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.dash-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.dash-widget-title { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); }
.dash-widget-action { font-size: 0.8125rem; color: var(--brand-blue); font-weight: 500; text-decoration: none; cursor: pointer; }
.dash-widget-action:hover { text-decoration: underline; }

/* Application Rows */
.app-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-50);
  transition: background 200ms;
}
.app-row:last-child { border-bottom: none; }
.app-row:hover { background: var(--gray-50); }
.app-row-logo {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: white;
  flex-shrink: 0;
}
.app-row-info { flex: 1; min-width: 0; }
.app-row-title { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row-company { font-size: 0.8rem; color: var(--gray-500); }
.app-row-date { font-size: 0.75rem; color: var(--gray-400); white-space: nowrap; }

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; }
.status-applied    { background: var(--brand-blue-light); color: var(--brand-blue); }
.status-applied::before    { background: var(--brand-blue); }
.status-reviewing  { background: var(--amber-light);      color: #92400E; }
.status-reviewing::before  { background: var(--amber); }
.status-shortlisted{ background: var(--green-light);      color: #065F46; }
.status-shortlisted::before{ background: var(--green); }
.status-rejected   { background: var(--gray-100);         color: var(--gray-500); }
.status-rejected::before   { background: var(--gray-400); }
.status-hired      { background: var(--green-light);      color: #065F46; border: 1px solid var(--green); }
.status-hired::before      { background: var(--green); }

/* Activity Feed */
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-50);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.activity-dot.blue { background: var(--brand-blue); }
.activity-dot.green{ background: var(--green); }
.activity-dot.amber{ background: var(--amber); }
.activity-text { font-size: 0.875rem; color: var(--gray-700); line-height: 1.5; flex: 1; }
.activity-text strong { color: var(--gray-900); font-weight: 600; }
.activity-time { font-size: 0.75rem; color: var(--gray-400); white-space: nowrap; }

/* Mobile sidebar toggle */
.dash-mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
}
@media (max-width: 900px) { .dash-mobile-toggle { display: flex; } }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 250ms ease;
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #93C5FD; }
.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--brand-blue-light);
  font-family: Georgia, serif;
  font-weight: 700;
  margin-bottom: -8px;
}
.testimonial-text { font-size: 0.9375rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; color: white;
  flex-shrink: 0;
}
.testimonial-author-name { font-size: 0.875rem; font-weight: 700; color: var(--gray-900); }
.testimonial-author-role { font-size: 0.75rem; color: var(--gray-500); }
.testimonial-stars { display: flex; gap: 2px; color: var(--amber); font-size: 0.875rem; margin-bottom: 14px; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  background: var(--gradient-hero);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,0.2) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta-title { color: var(--white); margin-bottom: 16px; }
.cta-sub   { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1.125rem; }
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   COMPANY PARTNER SECTION
   ================================================================ */
.companies-section { background: var(--gray-50); }
.companies-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .companies-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .companies-grid { grid-template-columns: repeat(2, 1fr); } }

.company-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all 250ms;
  text-decoration: none;
}
.company-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #93C5FD; }
.company-card-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.125rem; color: white;
  margin: 0 auto 12px;
}
.company-card-name { font-size: 0.875rem; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.company-card-industry { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 8px; }
.company-card-jobs { font-size: 0.8rem; font-weight: 600; color: var(--brand-blue); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-logo-icon {
  width: 36px; height: 36px;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem;
}
.footer-brand-name { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }
.footer-brand-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 20px; line-height: 1.6; }

.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 200ms;
  text-decoration: none;
}
.footer-social:hover { background: rgba(255,255,255,0.15); color: white; }

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 200ms;
  cursor: pointer;
}
.footer-link:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 200ms; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 300px;
  max-width: 400px;
  pointer-events: all;
  animation: toast-in 350ms var(--ease-out) forwards;
}
.toast.hiding { animation: toast-out 250ms ease forwards; }
.toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-text { flex: 1; font-size: 0.875rem; font-weight: 500; color: var(--gray-800); line-height: 1.4; }
.toast-close { color: var(--gray-400); cursor: pointer; font-size: 1rem; padding: 2px; }
.toast-close:hover { color: var(--gray-600); }
.toast.success { border-left: 3px solid var(--green); }
.toast.error   { border-left: 3px solid var(--red); }
.toast.info    { border-left: 3px solid var(--brand-blue); }
.toast.warning { border-left: 3px solid var(--amber); }

/* ================================================================
   MODALS
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: all 350ms var(--ease-out);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.modal-title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); }
.modal-close {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--gray-600);
  transition: background 200ms;
  border: none;
}
.modal-close:hover { background: var(--gray-200); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--gray-100); display: flex; gap: 10px; justify-content: flex-end; }

/* ================================================================
   EMPTY STATES
   ================================================================ */
.empty-state {
  text-align: center;
  padding: 64px 24px;
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-700); margin-bottom: 8px; }
.empty-state-sub { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 24px; }

/* ================================================================
   SKELETON LOADING
   ================================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 20px; margin-bottom: 12px; }
.skeleton-card { height: 180px; border-radius: var(--radius-lg); }

/* ================================================================
   PROFILE PAGE
   ================================================================ */
.profile-hero {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #1E3A8A 100%);
  padding: 32px 0 64px;
  position: relative;
}
.profile-avatar-wrap {
  width: 100px;
  height: 100px;
  position: relative;
  margin-bottom: 16px;
}
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-full);
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 2rem; color: white;
  border: 4px solid rgba(255,255,255,0.3);
}
.profile-avatar-edit {
  position: absolute;
  bottom: 0; right: 0;
  width: 28px; height: 28px;
  background: var(--brand-blue);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: white;
  cursor: pointer;
  border: 2px solid white;
}
.profile-name { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 4px; }
.profile-headline { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.profile-location { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.open-to-work {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--green-light);
  color: var(--green);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(16,185,129,0.3);
  margin-top: 10px;
}

.profile-content { padding: 32px 0 64px; }
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } }

.profile-section {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
}
.profile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.profile-section-title { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); }
.profile-section-edit { font-size: 0.8125rem; color: var(--brand-blue); cursor: pointer; font-weight: 500; }
.profile-section-body { padding: 20px; }

.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
}

.exp-item { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.exp-item:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: none; }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.exp-title { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); }
.exp-dates { font-size: 0.8125rem; color: var(--gray-400); white-space: nowrap; }
.exp-company { font-size: 0.875rem; color: var(--brand-blue); font-weight: 500; margin-bottom: 6px; }
.exp-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ================================================================
   ABOUT PAGE ADDITIONS
   ================================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .values-grid { grid-template-columns: 1fr; } }

.value-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all 250ms;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #93C5FD; }
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.value-desc  { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* ================================================================
   NOTIFICATIONS BADGE
   ================================================================ */
.notif-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 200ms;
  border: none;
  text-decoration: none;
  color: var(--gray-700);
}
.notif-btn:hover { background: var(--gray-200); }
.notif-count {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }

.w-full { width: 100%; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 640px; }
.max-w-lg  { max-width: 800px; }
.max-w-xl  { max-width: 1024px; }

.rounded-full { border-radius: var(--radius-full); }
.overflow-hidden { overflow: hidden; }

.bg-white    { background: var(--white); }
.bg-gray-50  { background: var(--gray-50); }
.bg-blue     { background: var(--brand-blue-light); }
.border      { border: 1.5px solid var(--gray-200); }

/* ================================================================
   ANIMATIONS & KEYFRAMES
   ================================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-8px) rotate(0.5deg); }
  66%       { transform: translateY(4px) rotate(-0.3deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-in-up 600ms var(--ease-out) both; }
.animate-fade-up-delay-1 { animation: fade-in-up 600ms 100ms var(--ease-out) both; }
.animate-fade-up-delay-2 { animation: fade-in-up 600ms 200ms var(--ease-out) both; }
.animate-fade-up-delay-3 { animation: fade-in-up 600ms 300ms var(--ease-out) both; }

/* ================================================================
   BACK TO TOP
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--brand-blue);
  color: white;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease;
  z-index: 500;
  font-size: 1.25rem;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-blue); }

/* ================================================================
   RESPONSIVE HELPERS
   ================================================================ */
@media (max-width: 640px) {
  .hide-mobile { display: none !important; }
  .section-header { margin-bottom: 32px; }
}
@media (min-width: 641px) {
  .show-mobile-only { display: none !important; }
}

/* ================================================================
   MOBILE & TABLET — Additional Responsive Overrides
   ================================================================ */

/* Tab bars: horizontal scroll without wrapping */
.tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex-wrap: nowrap !important;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* HR dashboard inline tab bar */
.hr-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hr-tabs::-webkit-scrollbar { display: none; }

/* Modals: bottom-sheet on mobile */
@media (max-width: 600px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    max-width: 100% !important;
    width: 100% !important;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-body { overflow-y: auto; }
}

/* Dashboard topbar: smaller heading on mobile */
@media (max-width: 640px) {
  .dashboard-greeting h1 { font-size: 1.2rem; }
  .dashboard-greeting p  { font-size: 0.8rem; }
  .dashboard-topbar { margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
  .dash-topbar-actions { width: 100%; justify-content: flex-start; }
}

/* Toolbar rows (search + filter selects): wrap on mobile */
@media (max-width: 640px) {
  .hr-toolbar,
  .ess-toolbar,
  .filter-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hr-toolbar input[type="text"],
  .hr-toolbar input[type="search"],
  .ess-toolbar input[type="text"],
  .ess-toolbar input[type="search"],
  .filter-row input { flex: 1 1 100%; max-width: 100%; }
  .hr-toolbar select,
  .ess-toolbar select,
  .filter-row select { flex: 1 1 calc(50% - 5px); min-width: 0; }
}

/* Jobs.html filter sidebar: stack on mobile */
@media (max-width: 768px) {
  .jobs-layout {
    flex-direction: column;
  }
  .jobs-filters {
    width: 100%;
    position: static;
  }
}

/* Contact layout: single column on mobile */
@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
  }
}

/* Job detail tabs: horizontal scroll */
@media (max-width: 600px) {
  .job-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .job-tabs::-webkit-scrollbar { display: none; }
  .job-tab-btn { white-space: nowrap; flex-shrink: 0; }
}

/* Apply form: full width inputs on mobile */
@media (max-width: 640px) {
  .apply-layout { flex-direction: column; }
  .apply-sidebar { width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .form-group { width: 100%; }
}

/* Dashboard sidebar: ensure overlay behind sidebar on mobile */
@media (max-width: 900px) {
  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 149;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms;
  }
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  .dashboard-sidebar.open ~ .sidebar-overlay,
  .dashboard-sidebar.open + .sidebar-overlay {
    opacity: 1;
    pointer-events: all;
  }
}

/* ================================================================
   ACCESSIBILITY — FOCUS STATES (WCAG 2.1 AA)
   ================================================================ */

/* Global focus ring for keyboard navigation */
:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Remove default outline only when not keyboard navigating */
:focus:not(:focus-visible) {
  outline: none;
}

/* Specific focus styles for buttons */
.btn:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(26,86,219,0.2);
}

.btn-primary:focus-visible {
  outline-color: var(--brand-blue-dark);
  box-shadow: 0 0 0 4px rgba(26,86,219,0.3);
}

/* Focus for form inputs */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-glow), 0 0 0 3px rgba(26,86,219,0.12);
}

/* Focus for nav links */
.nav-link:focus-visible,
.nav-drawer-link:focus-visible,
.footer-link:focus-visible,
.footer-social:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

/* Focus for cards/links */
.job-card:focus-visible,
.company-card:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}

/* Focus for sidebar nav */
.sidebar-nav-item:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
}

/* Skip to main content link — hidden until focused */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 10000;
  background: var(--brand-blue);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ================================================================
   FORM VALIDATION STATES (VISUAL FEEDBACK)
   ================================================================ */

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: var(--red);
  background: var(--red-light);
}
.form-group.has-error .form-label { color: var(--red); }
.form-group.has-error .form-error { display: block; }

.form-group.has-success .form-input,
.form-group.has-success .form-select,
.form-group.has-success .form-textarea {
  border-color: var(--green);
  background: var(--green-light);
}
.form-group.has-success .form-success-msg { display: block; }

/* Error/success icons inside input */
.form-input-icon.has-error .input-icon,
.form-input-icon.has-error .input-icon-right { color: var(--red); }
.form-input-icon.has-success .input-icon,
.form-input-icon.has-success .input-icon-right { color: var(--green); }

/* Required field marker */
.form-label .req {
  color: var(--red);
  margin-left: 2px;
  font-weight: 700;
}

/* ================================================================
   EMPTY STATES — EXTENDED
   ================================================================ */
.empty-state-widget {
  text-align: center;
  padding: 48px 24px;
}
.empty-state-widget .empty-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  display: block;
  opacity: 0.35;
}
.empty-state-widget .empty-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.empty-state-widget .empty-sub {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ================================================================
   CONFIRMATION DIALOG
   ================================================================ */
.confirm-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.confirm-dialog-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.confirm-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(12px);
  transition: transform 300ms var(--ease-out);
  text-align: center;
}
.confirm-dialog-overlay.open .confirm-dialog {
  transform: scale(1) translateY(0);
}
.confirm-dialog-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.confirm-dialog-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.confirm-dialog-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 28px;
}
.confirm-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
@media (max-width: 480px) {
  .confirm-dialog-actions { flex-direction: column; }
}

/* ================================================================
   STATUS BADGES — WITH TEXT LABELS (for screen readers)
   ================================================================ */
.status-badge .status-text { font-size: inherit; }

/* ================================================================
   ACTIVITY DOTS — ACCESSIBLE LABELS
   ================================================================ */
.activity-dot[aria-label] { cursor: default; }

/* ================================================================
   NOTIFICATION BADGE ACCESSIBILITY
   ================================================================ */
.notif-count[aria-label] { /* ensure aria-label is set in HTML */ }

/* ================================================================
   DEMO CREDENTIALS BOX — Hide for Production
   ================================================================ */
.demo-box-subtle {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: var(--gray-500);
  text-align: center;
}
.demo-box-subtle a {
  color: var(--brand-blue);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .navbar,
  .nav-drawer,
  .nav-drawer-overlay,
  .back-to-top,
  .toast-container,
  .footer-socials,
  .hero-visual,
  .cta-section,
  .dashboard-sidebar,
  .dash-mobile-toggle {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
  .container { max-width: 100%; padding: 0; }
}

/* ================================================================
   REDUCED MOTION — Respect user OS preference
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-card-main,
  .hero-card-small,
  .hero-eyebrow-dot,
  .logos-track {
    animation: none !important;
  }
}

/* ================================================================
   HIGH CONTRAST MODE SUPPORT
   ================================================================ */
@media (forced-colors: active) {
  .btn-primary,
  .btn-gradient {
    forced-color-adjust: none;
    background: ButtonText;
    color: ButtonFace;
  }
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    outline: 3px solid Highlight;
  }
}

/* ================================================================
   LAZY LOAD — Images fade in
   ================================================================ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 400ms ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* ================================================================
   BACK TO TOP — improved accessibility
   ================================================================ */
.back-to-top:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}


/* Stat cards: 2-col on tablet, 1-col on phone */
@media (max-width: 480px) {
  .dash-stats { grid-template-columns: 1fr !important; }
  .dash-widget { padding: 16px; }
}

/* Hero section tweaks on very small screens */
@media (max-width: 400px) {
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: 0.875rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
}

/* Job cards: compact 2-col layout on mobile */
@media (max-width: 640px) {
  .job-card { padding: 12px; }
  .job-title { font-size: 0.875rem; margin-bottom: 6px; }
  .company-name { font-size: 0.75rem; }
  .company-location { font-size: 0.7rem; }
  .company-logo { width: 34px; height: 34px; font-size: 0.75rem; }
  .job-meta { gap: 4px 8px; margin-bottom: 8px; }
  .job-meta-item { font-size: 0.7rem; gap: 3px; }
  .job-tags { gap: 4px; margin-bottom: 10px; }
  .tag { font-size: 0.65rem; padding: 2px 7px; }
  .job-card-footer { padding-top: 10px; flex-wrap: wrap; gap: 6px; }
  .job-salary { font-size: 0.8rem; }
  .job-date { font-size: 0.65rem; }
  .job-card-footer .btn { font-size: 0.7rem; padding: 6px 10px; }
}

/* Ensure all tables in public pages scroll */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Footer: 2-col grid on tablet */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr; }
}
