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


:root {
  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --bg-3: #eaeaea;
  --surface: rgba(0,0,0,0.04);
  --surface-2: rgba(198, 55, 55, 0.07);
  --border: rgba(0,0,0,0.1);
  --border-2: rgba(0,51,102,0.3);

  --accent: #00386B;
  --accent-dim: #002244;
  --accent-glow: rgba(0,51,102,0.1);
  --lime: #f5a623;
  --lime-dim: #e09510;

  --text: #1a1a1a;
  --text-2: #4a4a4a;
  --text-3: #888888;
  --text-4: #ffffff;

  --danger: #cc0000;
  --warning: #f5a623;
  --success: #007a33;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(0,51,102,0.08);

  --font-display: 'Roboto', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  
  --nav-h: 63px;
}

/* Dark mode (optional override)
[data-theme="dark"] {
  --bg: #0a1a2e;
  --bg-2: #0f2040;
  --bg-3: #142a52;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(245,166,35,0.3);

  --accent: #f5a623;
  --accent-dim: #e09510;
  --accent-glow: rgba(245,166,35,0.15);

  --text: #f0f4f8;
  --text-2: #a0b0c0;
  --text-3: #607080;
  --text-4: #000000;

  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(245,166,35,0.08);
} */


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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
input, textarea { font-family: var(--font-body); }


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,250,245,0.9);
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--accent); }

.nav-btn {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
  transition: all var(--transition) !important;
}
.nav-btn:hover { background: var(--accent-dim) !important; transform: translateY(-1px); }

/* Dark mode toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-2);
  flex-shrink: 0;

}
.theme-toggle:hover { border-color: var(--border-2); color: var(--accent); }

/* ── Hamburger (mobile only) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
  flex-shrink: 0;
}
.nav-hamburger:hover { border-color: var(--border-2); }
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ── */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 12px 5% 20px;
  gap: 4px;
  backdrop-filter: blur(12px);
  animation: drawerIn 0.2s ease;
}
@keyframes drawerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-drawer.open { display: flex; }
.nav-drawer a, .nav-drawer .nav-drawer-btn {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.nav-drawer a:hover, .nav-drawer .nav-drawer-btn:hover {
  background: var(--surface);
  color: var(--text);
}
.nav-drawer a.active { color: var(--accent); }
.nav-drawer .nav-drawer-cta {
  margin-top: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-display);
}
.nav-drawer .nav-drawer-cta:hover { background: var(--accent-dim); color: #000; }


.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
}

/* Ambient background blobs */
.auth-main::before,
.auth-main::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.auth-main::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,255,170,0.08), transparent 70%);
  top: -100px; right: -100px;
}
.auth-main::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(191,255,79,0.05), transparent 70%);
  bottom: -100px; left: -100px;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow), var(--shadow-glow);
  animation: cardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}
.auth-brand .logo { font-size: 28px; margin-bottom: 6px; display: block; }
.auth-brand p { color: var(--text-2); font-size: 14px; }

.auth-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.auth-subtitle {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 28px;
}

/* Form fields */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: 0.3px;
}
.field-input {
  position: relative;
}
.field-input .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-3);
  font-size: 16px;
  pointer-events: none;
}
.field input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: all var(--transition);
  outline: none;
  
  font-size: max(16px, 15px);
}
.field input:focus {
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.field input::placeholder { color: var(--text-3); }

/* Password toggle */
.toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}
.toggle-pw:hover { color: var(--accent); }

/* Field error */
.field-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
.field.has-error input { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

/* Forgot password */
.forgot-link {
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--text-3);
  margin-top: -10px;
  margin-bottom: 20px;
  transition: color var(--transition);
}
.forgot-link:hover { color: var(--accent); }

/* Auth button */
.auth-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--text-4);
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-display);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;

  min-height: 48px;
}
.auth-btn:hover:not(:disabled) {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,255,170,0.25);
}
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-btn .btn-loader {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}
.auth-btn.loading .btn-text { display: none; }
.auth-btn.loading .btn-loader { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--text-3);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Google button */
.google-btn {
  width: 100%;
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 48px;
}
.google-btn:hover { border-color: var(--border-2); background: var(--surface-2); }
.google-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Auth footer */
.auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-2);
}
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* Auth toast */
.auth-toast {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
  align-items: center;
  gap: 10px;
}
.auth-toast.error { background: rgba(255,77,109,0.12); border: 1px solid rgba(255,77,109,0.3); color: #ff8fa3; }
.auth-toast.success { background: rgba(0,255,170,0.1); border: 1px solid rgba(0,255,170,0.2); color: var(--accent); }
.auth-toast.show { display: flex; }


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%;
  max-width: 400px;
  transform: scale(0.92);
  transition: transform var(--transition);
  box-shadow: var(--shadow);
}
.modal-overlay.open .modal { transform: scale(1); }

.modal-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.modal-desc { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  /* Larger tap target */
  padding: 4px 8px;
  min-width: 36px;
  min-height: 36px;
}
.modal { position: relative; }


.dashboard-header {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 40px 5% 0;
  text-align: center;
}

.dashboard-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
}
.dashboard-header h1 span { color: var(--accent); }
.dashboard-header p { color: var(--text-2); font-size: 15px; margin-bottom: 36px; }

/* Search box */
.search-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0 32px;
}
.search-box {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color var(--transition);
}
.search-box:focus-within { border-color: var(--border-2); }

.search-input-group {
  display: flex;
  align-items: center;
  padding: 0 16px;
  flex: 1;
  gap: 10px;
  color: var(--text-3);
}
.search-input-group input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: max(16px, 15px); 
  padding: 16px 0;
  min-width: 0;
}
.search-input-group input::placeholder { color: var(--text-3); }
.search-divider { width: 1px; height: 26px; background: var(--border); flex-shrink: 0; }
.search-btn {
  background: var(--accent);
  color: var(--text-4);
  border: none;
  padding: 0 28px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
  min-height: 48px;
}
.search-btn:hover { background: var(--accent-dim); }

.filter-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 8px;
  margin-top: 25px;
}
.tag {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-4);
  transition: all var(--transition);
  background: var(--surface);
  
  min-height: 34px;
  display: flex;
  align-items: center;
}
.tag:hover, .tag.active {
  background: var(--accent);
  color: var(--text-4);
  border-color: var(--accent);
}


.dashboard-body {
  max-width: 900px;
  margin: 36px auto;
  padding: 0 20px 60px;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.results-count {
  font-size: 14px;
  color: var(--text-2);
}
.results-count strong { color: var(--text); }

.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13px;
  padding: 7px 12px;
  cursor: pointer;
  outline: none;
  font-family: var(--font-body);
  min-height: 36px;
}

.job-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition);
  animation: jobIn 0.3s ease both;
}
.job-item:hover {
  border-color: var(--border-2);
  background: var(--bg-3);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

@keyframes jobIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.job-main { display: flex; align-items: center; gap: 14px; min-width: 0; flex: 1; }

.company-logo {
  width: 46px; height: 46px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.job-info { min-width: 0; flex: 1; }
.company-name { font-size: 12px; color: var(--text-3); font-weight: 500; margin-bottom: 2px; }
.job-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.job-pills { display: flex; gap: 6px; flex-wrap: wrap; }

.pill {
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.pill-loc { background: rgba(0,255,170,0.1); color: var(--accent); }
.pill-sal { background: rgba(191,255,79,0.1); color: var(--lime); }
.pill-cat { background: var(--surface-2); color: var(--text-2); }

.job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.job-time { font-size: 11px; color: var(--text-3); }
.apply-btn {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 36px;
}
.apply-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.skeleton-job {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Empty / error states */
.state-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-2);
}
.state-empty .state-icon { font-size: 48px; margin-bottom: 16px; }
.state-empty h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.state-empty p { font-size: 14px; color: var(--text-3); }

/* User menu */
.user-menu {
  position: relative;
}
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
}
.user-avatar:hover { border-color: var(--accent); }

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 200px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 200;
}
.user-menu.open .user-dropdown { display: block; animation: dropIn 0.2s ease; }
@keyframes dropIn { from { opacity:0; transform: translateY(-6px); } }

.user-dropdown .ud-info {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.ud-info .ud-email { font-size: 12px; color: var(--text-3); }
.ud-info .ud-name { font-size: 14px; font-weight: 600; color: var(--text); }

.user-dropdown a, .user-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-2);
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--surface); color: var(--text); }
.user-dropdown .logout-btn { color: var(--danger); }
.user-dropdown .logout-btn:hover { background: rgba(255,77,109,0.08); }


.hero {
  min-height: calc(100vh - 63px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
}
.blob-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,255,170,0.12), transparent 70%); top: -200px; left: -100px; animation: float1 8s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(191,255,79,0.07), transparent 70%); bottom: -100px; right: -100px; animation: float2 10s ease-in-out infinite; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,204,136,0.06), transparent 70%); top: 50%; right: 10%; animation: float3 12s ease-in-out infinite; }

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,-30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,20px)} }
@keyframes float3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,255,170,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 40%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .lime { color: var(--lime); }

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.cta-primary {
  padding: 16px 36px;
  background: var(--accent);
  color: var(--text-4);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
}
.cta-primary:hover { background: var(--accent-dim); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,255,170,0.25); }

.cta-secondary {
  padding: 16px 36px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: var(--font-display);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
}
.cta-secondary:hover { border-color: var(--border-2); background: var(--surface-2); transform: translateY(-3px); }

@keyframes fadeUp {
  from { opacity:0; transform: translateY(20px); }
  to { opacity:1; transform: translateY(0); }
}

/* Stats strip */
.stats-strip {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 70px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.45s ease both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  display: block;
}
.stat-num em { color: var(--accent); font-style: normal; }
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* Features section */
.features {
  padding: 100px 5%;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-desc { color: var(--text-2); font-size: 16px; max-width: 480px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  cursor: default;
}
.feature-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* CTA banner */
.cta-banner {
  margin: 0 5% 100px;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at center, rgba(0,255,170,0.06), transparent);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-banner p { color: var(--text-2); font-size: 16px; margin-bottom: 36px; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-3); font-size: 13px; transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
footer p { font-size: 13px; color: var(--text-3); }


.about-hero {
  padding: 100px 5% 80px;
  text-align: center;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,255,170,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.about-hero > * { position: relative; z-index: 1; }

.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 5%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px 0;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-text p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}
.about-text p + p { margin-top: 12px; }

.tech-stack {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.tech-pill {
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
}
.tech-pill:hover { border-color: var(--border-2); color: var(--accent); }

.team-section { margin-top: 60px; }
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  transition: all var(--transition);
}
.team-card:hover { border-color: var(--border-2); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.team-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.team-info .team-role { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.team-info p { color: var(--text-2); font-size: 14px; line-height: 1.7; }

.team-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.team-name-row h3 {
  margin-bottom: 0; /* Overrides the default h3 margin so the icon centers properly */
}
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  opacity: 0.8;
  transition: all var(--transition);
}
.linkedin-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}


@media (max-width: 900px) {
  .features {
    padding: 70px 5%;
  }
  .cta-banner {
    padding: 50px 40px;
  }
}


@media (max-width: 700px) {

  .hero-bg,
  .auth-main::before,
  .auth-main::after {
    display: none !important;
  }

  /* Optional: Remove the blur on the navbar to save even more memory */
  .navbar, 
  .nav-drawer {
    backdrop-filter: none;
    background: #f0faf5; /* Solid fallback color */
  }

  /* ── Navbar: show hamburger, hide desktop links ── */
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .navbar {
    padding: 14px 5%;
  }

  /* ── Hero ── */
  .hero {
    padding: 60px 5% 50px;
    min-height: auto;
  }
  .stats-strip {
    gap: 30px;
    margin-top: 48px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .cta-primary, .cta-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ── Features ── */
  .features {
    padding: 60px 5%;
  }
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  /* ── CTA banner ── */
  .cta-banner {
    padding: 44px 24px;
    margin: 0 4% 60px;
    border-radius: var(--radius);
  }
  .cta-banner h2 br { display: none; }

  /* ── Footer ── */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 32px 5%;
  }
  .footer-links { gap: 16px; }

  /* ── Search box ── */
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }
  .search-divider { display: none; }
  .search-input-group {
    border-bottom: 1px solid var(--border);
    padding: 0 14px;
    min-width: 0;
  }
  .search-input-group:last-of-type {
    border-bottom: none;
  }
  .search-btn {
    padding: 16px;
    width: 100%;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 15px;
  }

  /* ── Dashboard header ── */
  .dashboard-header {
    padding: 28px 5% 0;
  }

  /* ── Filter tags: allow horizontal scroll ── */
  .filter-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    /* hide scrollbar but keep scroll */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .filter-tags::-webkit-scrollbar { display: none; }
  .tag { flex-shrink: 0; }

  /* ── Job items ── */
  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .job-main { width: 100%; }
  .job-right {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .job-title {
    line-clamp: 3;
    -webkit-line-clamp: 3;
  }
  .apply-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* ── Auth card ── */
  .auth-card {
    padding: 32px 22px;
    border-radius: var(--radius);
  }
  .auth-main {
    padding: 24px 12px 40px;
  }

  /* ── Modal ── */
  .modal {
    padding: 28px 20px;
    border-radius: var(--radius);
  }

  /* ── About page ── */
  .about-hero {
    padding: 60px 5% 50px;
  }
  .about-content {
    padding: 50px 5%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 36px 0;
  }
  .team-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
  }
  .team-info .team-role { margin-bottom: 8px; }

  /* ── Dashboard body ── */
  .dashboard-body {
    padding: 0 12px 48px;
    margin-top: 24px;
  }

  /* ── Skeleton ── */
  .skeleton-job {
    padding: 16px 14px;
  }

  .team-name-row {
    justify-content: center;
  }
}


@media (max-width: 400px) {
  .logo {
    font-size: 19px;
  }
  .auth-card {
    padding: 28px 16px;
  }
  .job-pills {
    gap: 4px;
  }
  .pill {
    font-size: 10px;
    padding: 2px 7px;
  }
  .stats-strip {
    gap: 20px;
  }
}