:root{
  --bg:#0f1724;
  --card:#1a2332;
  --accent:#d7da34;
  --muted:#b3c0d4;
  --glass: rgba(255,255,255,0.04);
  --radius:12px;
  --container:1200px;
  --primary-gradient: linear-gradient(90deg,var(--accent),#4dd0e1);
  --card-gradient: linear-gradient(180deg, rgba(176, 98, 192, 0.02), rgba(163, 4, 4, 0.116));
}

/* Light mode variables */
body.light-mode {
  --bg: #f8f9fa;
  --card: #ffffff;
  --accent: #0066cc;
  --muted: #495057;
  --glass: rgba(0,0,0,0.02);
  --primary-gradient: linear-gradient(90deg, #0066cc, #00bcd4);
  --card-gradient: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,240,240,0.95));
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #212529;
}

body.light-mode .link-card,
body.light-mode .feature,
body.light-mode .job,
body.light-mode .whyfast-point,
body.light-mode .trend-card,
body.light-mode .salary-card,
body.light-mode .testimonial-card,
body.light-mode .application-card,
body.light-mode .analytics-card,
body.light-mode .resume-analysis-panel,
body.light-mode .resume-metric-card,
body.light-mode .resume-cert-card,
body.light-mode .resume-history-card,
body.light-mode .resume-history-item,
body.light-mode .search-alert-card,
body.light-mode .resume-match-card,
body.light-mode .resume-builder-section,
body.light-mode .resume-builder-preview,
body.light-mode .resume-builder-form,
body.light-mode .application-source,
body.light-mode .board-stat,
body.light-mode .resume-match-cert {
  background: var(--card-gradient);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  color: #212529;
}

body.light-mode .resume-match-section-title {
  color: #0f62fe;
}

body.light-mode .resume-gap-summary {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
}

body.light-mode .resume-match-chip.is-match {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.18);
}

body.light-mode .resume-match-chip.is-gap {
  background: rgba(250, 204, 21, 0.14);
  color: #8a6d00;
  border-color: rgba(250, 204, 21, 0.22);
}

body.light-mode .resume-gap-chip {
  background: rgba(250, 204, 21, 0.16);
  border-color: rgba(250, 204, 21, 0.28);
  color: #8a6d00;
}

body.light-mode .resume-gap-chip-track {
  background: rgba(250, 204, 21, 0.18);
}

body.light-mode .resume-gap-chip-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

body.light-mode .resume-match-meta-pill {
  background: rgba(15, 98, 254, 0.1);
  border-color: rgba(15, 98, 254, 0.18);
  color: #0f62fe;
}

body.light-mode .resume-match-cert strong {
  color: #0f172a;
}

body.light-mode .resume-cert-search {
  background: rgba(15, 98, 254, 0.08);
  border-color: rgba(15, 98, 254, 0.18);
  color: #0f62fe;
}

body.light-mode .search-alert-banner {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.08);
  color: #495057;
}

body.light-mode .search-alert-banner.is-due {
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.35);
  color: #8a6d00;
}

body.light-mode .search-alert-email input {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: #212529;
}

body.light-mode .resume-builder-form input,
body.light-mode .resume-builder-form textarea {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: #212529;
}

body.light-mode .curated-search select,
body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #212529;
}

body.light-mode h1, body.light-mode h2, body.light-mode h3 {
  color: #212529;
}

body.light-mode .hero-content h1 {
  background: linear-gradient(60deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .hero-content .lead {
  background: linear-gradient(45deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .home-hero-copy,
body.light-mode .home-hero-panel-v2,
body.light-mode .home-continue-card,
body.light-mode .home-workflows .module-card-v2 {
  color: #f8fafc;
}

body.light-mode .home-hero-copy h1,
body.light-mode .home-hero-panel-v2 h3,
body.light-mode .home-continue-card h3,
body.light-mode .home-workflows .module-card-v2 h3 {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  background: none !important;
}

body.light-mode .home-hero-copy .page-lead,
body.light-mode .home-hero-panel-v2 p,
body.light-mode .home-plan-step strong,
body.light-mode .home-plan-step p,
body.light-mode .home-proof-item strong,
body.light-mode .home-proof-item span,
body.light-mode .home-continue-card p,
body.light-mode .home-continue-pill,
body.light-mode .home-workflows .module-card-v2 p {
  color: #dbeafe !important;
}

body.light-mode .home-hero-copy .page-kicker,
body.light-mode .home-continue .page-kicker,
body.light-mode .home-workflows .page-kicker {
  color: #7dd3fc;
}

body.light-mode .home-hero-copy .page-lead,
body.light-mode .home-hero-panel-v2 p,
body.light-mode .home-plan-step p,
body.light-mode .home-continue-card p,
body.light-mode .home-workflows .module-card-v2 p {
  color: #dbeafe;
}

body.light-mode .home-workflows .module-card-v2 {
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .home-hero-copy,
body.light-mode .home-hero-panel-v2,
body.light-mode .home-continue-card,
body.light-mode .home-workflows .module-card-v2 {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.76));
  border-color: rgba(125, 211, 252, 0.22);
}

body.light-mode .home-workflows .module-card-v2 .module-link {
  color: #7dd3fc;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(124,92,255,0.08), transparent 8%),
    var(--bg);
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  line-height:1.45;
  transition: background 0.3s ease, color 0.3s ease;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: #0f1724;
  border: 2px solid #0f1724;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: top 0.2s ease, transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

body.light-mode .skip-link {
  background: #ffffff;
  color: #0f1724;
  border-color: #0f1724;
}

.container{max-width:var(--container);margin:0 auto;padding:0 2rem}
.site-header{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position:sticky;
  top:0;
  z-index:30;
  background: rgba(8, 14, 24, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding:0.9rem 0;
}
.logo{font-weight:700;color:white;text-decoration:none;font-size:1.1rem}
.nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.nav a{color:var(--muted);text-decoration:none;padding:0.35rem 0.5rem;border-radius:8px}
.nav a:hover{color:white;background:var(--glass)}
.nav a:focus-visible {
  color: white;
  background: rgba(255,255,255,0.12);
}

body.light-mode .nav a {
  color: #334155;
}

body.light-mode .nav a:hover,
body.light-mode .nav a:focus-visible {
  color: #0f1724;
  background: rgba(15, 23, 36, 0.08);
}

/* ── Hamburger button (hidden on desktop) ─────────────────────────────────── */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  order: 3;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.nav-ham-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease,
              width 0.2s ease;
  transform-origin: center;
}

body.nav-open .nav-ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-ham-bar:nth-child(2) { opacity: 0; width: 0; }
body.nav-open .nav-ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.light-mode .nav-ham-bar { background: #1e293b; }
body.light-mode .nav-hamburger {
  border-color: rgba(15, 23, 36, 0.2);
  background: rgba(15, 23, 36, 0.05);
}
body.light-mode .nav-hamburger:hover {
  background: rgba(15, 23, 36, 0.1);
}

/* ── Nav backdrop ─────────────────────────────────────────────────────────── */

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 20, 0.72);
  backdrop-filter: blur(3px);
  z-index: 28;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* ── Mobile nav overlay (≤ 719px) ─────────────────────────────────────────── */

@media (max-width: 719px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-backdrop {
    display: block;
  }

  /* Nav slides down from below the sticky header */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 29;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4.5rem 1.25rem 1.5rem;
    background: rgba(10, 16, 28, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    scrollbar-width: none;
    overflow-x: visible;
  }

  .nav::-webkit-scrollbar { display: none; }

  body.nav-open .nav {
    transform: translateY(0);
  }

  .nav a {
    font-size: 1.05rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a.active {
    background: rgba(125, 211, 252, 0.1);
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.18);
  }

  body.light-mode .nav {
    background: rgba(248, 249, 250, 0.97);
    border-bottom-color: rgba(0, 0, 0, 0.1);
  }

  body.light-mode .nav a.active {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
  }
}

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0, 102, 204, 0.25);
}

body.light-mode .btn-primary:focus-visible,
body.light-mode .btn-secondary:focus-visible,
body.light-mode .btn-ghost:focus-visible,
body.light-mode button:focus-visible,
body.light-mode input:focus-visible,
body.light-mode select:focus-visible,
body.light-mode textarea:focus-visible,
body.light-mode a:focus-visible,
body.light-mode [role="button"]:focus-visible {
  outline-color: #0f1724;
  box-shadow: 0 0 0 5px rgba(15, 23, 36, 0.16);
}

.btn-primary{
  background:var(--primary-gradient);
  color:#081025;border:0;padding:0.6rem 1rem;border-radius:10px;font-weight:600;cursor:pointer;text-decoration:none;
  box-shadow:0 6px 18px rgba(124,92,255,0.14);transition:transform .12s ease, box-shadow .12s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(124,92,255,0.18)}

.btn-secondary {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);padding:0.55rem 0.9rem;border-radius:10px;color:var(--muted);text-decoration:none}

/* Modern Workspace Theme (Home/Resume/Tracker/Resources) */
.modern-page {
  position: relative;
  --page-accent: #7dd3fc;
  --page-accent-soft: rgba(125, 211, 252, 0.16);
}

.page-resume {
  --page-accent: #22d3ee;
  --page-accent-soft: rgba(34, 211, 238, 0.18);
}

.page-tracker {
  --page-accent: #f59e0b;
  --page-accent-soft: rgba(245, 158, 11, 0.2);
}

.page-resources {
  --page-accent: #34d399;
  --page-accent-soft: rgba(52, 211, 153, 0.2);
}

.page-news {
  --page-accent: #a78bfa;
  --page-accent-soft: rgba(167, 139, 250, 0.22);
}

.page-dashboard {
  --page-accent: #22c55e;
  --page-accent-soft: rgba(34, 197, 94, 0.18);
}

.page-search {
  --page-accent: #60a5fa;
  --page-accent-soft: rgba(96, 165, 250, 0.22);
}

.page-search::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  border-radius: 0;
  filter: none;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.6), rgba(2, 6, 23, 0.72)),
    url("image/search-page-bg.svg") center / cover no-repeat;
  opacity: 0.52;
  transform: scale(1.03);
  animation: searchBackdropDrift 20s ease-in-out infinite alternate;
}

.modern-page::before,
.modern-page::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
}

.modern-page::before {
  width: 520px;
  height: 520px;
  left: -180px;
  top: 18%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0));
}

.modern-page::after {
  width: 560px;
  height: 560px;
  right: -220px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0));
}

.modern-page main {
  position: relative;
  z-index: 1;
}

.modern-page .page-intro {
  margin-top: 0.55rem;
  margin-bottom: 0.65rem;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.62));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.24);
}

.modern-page .page-intro .section-desc {
  margin-bottom: 0;
}

.page-intro--compact {
  padding: 0.5rem 0.8rem !important;
}

.page-intro--compact h1 {
  font-size: 1.4rem !important;
  margin: 0.15rem 0 !important;
}

.page-intro--compact .section-desc {
  font-size: 0.9rem !important;
  opacity: 0.75;
}

.page-resume .page-kicker,
.page-tracker .page-kicker,
.page-resources .page-kicker,
.page-news .page-kicker {
  color: var(--page-accent);
}

.page-resume .page-intro h1,
.page-tracker .page-intro h1,
.page-resources .page-intro h1,
.page-news .page-intro h1 {
  background: linear-gradient(60deg, #f8fafc, var(--page-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 0.15rem;
  margin-bottom: 0.22rem;
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2.35rem);
}

.page-resume .page-intro h1,
.page-tracker .page-intro h1,
.page-resources .page-intro h1,
.page-news .page-intro h1 {
  margin-top: 0.15rem;
  margin-bottom: 0.25rem;
}

.page-resume h2 i,
.page-tracker h2 i,
.page-resources h2 i,
.page-news h2 i,
.page-resume .resource-card i,
.page-resources .stat-number {
  color: var(--page-accent);
}

.page-resume .btn-primary,
.page-tracker .btn-primary,
.page-resources .btn-primary,
.page-news .btn-primary {
  box-shadow: 0 8px 24px var(--page-accent-soft);
}

.page-resume .page-intro,
.page-tracker .page-intro,
.page-resources .page-intro,
.page-news .page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.85rem;
  align-items: center;
  text-align: left;
}

.page-resume .page-intro .page-kicker,
.page-tracker .page-intro .page-kicker,
.page-resources .page-intro .page-kicker,
.page-news .page-intro .page-kicker,
.page-resume .page-intro h1,
.page-tracker .page-intro h1,
.page-resources .page-intro h1,
.page-news .page-intro h1,
.page-resume .page-intro .section-desc,
.page-tracker .page-intro .section-desc,
.page-resources .page-intro .section-desc,
.page-news .page-intro .section-desc {
  grid-column: 1;
  justify-self: start;
}

.page-resume .page-intro .page-hero-media,
.page-tracker .page-intro .page-hero-media,
.page-resources .page-intro .page-hero-media,
.page-news .page-intro .page-hero-media {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 3;
}

.page-resume .page-intro .workspace-visual,
.page-tracker .page-intro .workspace-visual,
.page-resources .page-intro .workspace-visual,
.page-news .page-intro .workspace-visual {
  display: none;
}

.page-hero-media {
  position: relative;
  min-height: 78px;
  max-width: 180px;
  width: 180px;
  justify-self: end;
  align-self: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.7));
  box-shadow: 0 8px 18px rgba(2, 6, 23, 0.26);
  isolation: isolate;
}

.page-hero-media::before {
  content: "";
  position: absolute;
  inset: -30% -12%;
  z-index: 1;
  opacity: 0.8;
  animation: pageHeroAura 10s ease-in-out infinite alternate;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 42%, transparent 74%);
  transform: translateX(-120%);
  animation: pageHeroSweep 8s ease-in-out infinite;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  min-height: 78px;
  max-height: 102px;
  display: block;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  filter: saturate(1.04) contrast(1.02);
}

.resume-hero-media::before {
  background: radial-gradient(circle at 28% 20%, rgba(34, 211, 238, 0.34), transparent 46%),
              radial-gradient(circle at 78% 75%, rgba(14, 165, 233, 0.28), transparent 48%);
}

.tracker-hero-media::before {
  background: radial-gradient(circle at 35% 25%, rgba(245, 158, 11, 0.34), transparent 44%),
              radial-gradient(circle at 76% 72%, rgba(249, 115, 22, 0.28), transparent 48%);
}

.resources-hero-media::before {
  background: radial-gradient(circle at 30% 22%, rgba(52, 211, 153, 0.34), transparent 46%),
              radial-gradient(circle at 78% 72%, rgba(16, 185, 129, 0.28), transparent 48%);
}

.news-hero-media::before {
  background: radial-gradient(circle at 30% 22%, rgba(167, 139, 250, 0.34), transparent 46%),
              radial-gradient(circle at 78% 72%, rgba(192, 132, 252, 0.28), transparent 48%);
}

.news-hero-media {
  max-width: 390px;
  justify-self: end;
}

.news-hero-img {
  min-height: 118px;
  max-height: 160px;
}

@keyframes pageHeroFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.02) translateY(-6px); }
}

@keyframes pageHeroAura {
  0% { transform: translate3d(-2%, -2%, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.06); opacity: 0.62; }
}

@keyframes pageHeroSweep {
  0% { transform: translateX(-120%); opacity: 0; }
  18% { opacity: 0.75; }
  52% { transform: translateX(120%); opacity: 0.35; }
  100% { transform: translateX(120%); opacity: 0; }
}

.workspace-visual {
  min-height: 160px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(155deg, rgba(15,23,42,0.9), rgba(30,41,59,0.8));
  padding: 0.8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  align-content: center;
}

.workspace-visual .visual-chip {
  display: block;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
}

.visual-resume .visual-chip:nth-child(1) {
  width: 92%;
  background: linear-gradient(90deg, rgba(34,211,238,0.5), rgba(34,211,238,0.12));
}
.visual-resume .visual-chip:nth-child(2) {
  width: 70%;
  background: linear-gradient(90deg, rgba(34,211,238,0.35), rgba(34,211,238,0.1));
}
.visual-resume .visual-chip:nth-child(3) {
  width: 84%;
  background: linear-gradient(90deg, rgba(34,211,238,0.25), rgba(34,211,238,0.08));
}

.visual-tracker .visual-chip:nth-child(1) {
  width: 82%;
  background: linear-gradient(90deg, rgba(245,158,11,0.5), rgba(245,158,11,0.12));
}
.visual-tracker .visual-chip:nth-child(2) {
  width: 96%;
  background: linear-gradient(90deg, rgba(245,158,11,0.35), rgba(245,158,11,0.1));
}
.visual-tracker .visual-chip:nth-child(3) {
  width: 68%;
  background: linear-gradient(90deg, rgba(245,158,11,0.25), rgba(245,158,11,0.08));
}

.visual-resources .visual-chip:nth-child(1) {
  width: 88%;
  background: linear-gradient(90deg, rgba(52,211,153,0.5), rgba(52,211,153,0.12));
}
.visual-resources .visual-chip:nth-child(2) {
  width: 74%;
  background: linear-gradient(90deg, rgba(52,211,153,0.35), rgba(52,211,153,0.1));
}
.visual-resources .visual-chip:nth-child(3) {
  width: 90%;
  background: linear-gradient(90deg, rgba(52,211,153,0.25), rgba(52,211,153,0.08));
}

.visual-news .visual-chip:nth-child(1) {
  width: 90%;
  background: linear-gradient(90deg, rgba(167,139,250,0.5), rgba(167,139,250,0.12));
}
.visual-news .visual-chip:nth-child(2) {
  width: 74%;
  background: linear-gradient(90deg, rgba(192,132,252,0.35), rgba(192,132,252,0.1));
}
.visual-news .visual-chip:nth-child(3) {
  width: 86%;
  background: linear-gradient(90deg, rgba(216,180,254,0.25), rgba(216,180,254,0.08));
}

.visual-search .visual-chip:nth-child(1) {
  width: 94%;
  background: linear-gradient(90deg, rgba(96,165,250,0.5), rgba(96,165,250,0.12));
}
.visual-search .visual-chip:nth-child(2) {
  width: 72%;
  background: linear-gradient(90deg, rgba(96,165,250,0.35), rgba(96,165,250,0.1));
}
.visual-search .visual-chip:nth-child(3) {
  width: 86%;
  background: linear-gradient(90deg, rgba(96,165,250,0.25), rgba(96,165,250,0.08));
}

.page-search .page-kicker,
.page-search .page-intro h1 {
  color: var(--page-accent);
}

.page-search .page-intro {
  border-color: rgba(96, 165, 250, 0.25);
}

.search-hero-head {
  margin-bottom: 1rem;
  text-align: center;
}

.search-hero-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 1.4vw + 1rem, 2.4rem);
  background: linear-gradient(65deg, #f8fafc, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-hero-head .section-desc {
  margin: 0.55rem auto 0;
  max-width: 720px;
  color: #cbd5e1;
}

.search-hero-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin: 1rem auto 0;
  max-width: 860px;
}

.search-hero-summary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-hero-summary-kicker i {
  font-size: 0.78rem;
}

.search-hero-summary-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
}

.search-hero-badge {
  flex: 1 1 220px;
  max-width: 320px;
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem 0.95rem;
  border-radius: 18px;
  background:
    radial-gradient(120px 60px at 12% 0%, rgba(96,165,250,0.16), transparent 72%),
    linear-gradient(160deg, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
  border: 1px solid rgba(96, 165, 250, 0.22);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
  text-align: left;
}

.search-hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.search-hero-badge-top i {
  color: #93c5fd;
  font-size: 0.92rem;
  width: 1rem;
  text-align: center;
}

.search-hero-badge-label {
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-hero-badge strong {
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.35;
}

.search-hero-badge small {
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.4;
}

.search-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem auto 0;
  max-width: 980px;
}

.search-signal-card {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background:
    radial-gradient(180px 80px at 10% 0%, rgba(96,165,250,0.16), transparent 70%),
    linear-gradient(160deg, rgba(15,23,42,0.88), rgba(15,23,42,0.68));
  border: 1px solid rgba(96,165,250,0.24);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.28);
  text-align: left;
  overflow: hidden;
}

.search-signal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.16) 40%, transparent 70%);
  transform: translateX(-120%);
  animation: searchShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.search-signal-card i {
  color: #93c5fd;
  font-size: 1rem;
}

.search-signal-card strong {
  color: #f8fafc;
  font-size: 0.95rem;
}

.search-signal-card span {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.45;
}

.page-search #search {
  margin-top: 0.4rem;
}

.page-search .curated-search {
  position: relative;
  background:
    radial-gradient(500px 160px at 5% 0%, rgba(96,165,250,0.18), transparent 65%),
    radial-gradient(500px 160px at 95% 0%, rgba(56,189,248,0.18), transparent 65%),
    linear-gradient(180deg, rgba(15,23,42,0.9), rgba(15,23,42,0.74));
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow: 0 18px 52px rgba(2, 6, 23, 0.56);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.page-search .curated-search::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(148, 163, 184, 0.06), transparent 35%, rgba(148, 163, 184, 0.06));
}

.page-search .curated-search::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(96,165,250,0.12), transparent 42%);
  filter: blur(18px);
  z-index: -1;
}

.page-search .curated-search > * {
  position: relative;
  z-index: 1;
}

.page-search .curated-search::marker {
  content: none;
}

.page-search .curated-search {
  isolation: isolate;
}

.page-search .curated-search .search-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(96,165,250,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,0.08) 1px, transparent 1px),
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.14), transparent 28%),
    radial-gradient(circle at 80% 75%, rgba(96,165,250,0.12), transparent 26%);
  background-size: 42px 42px, 42px 42px, 320px 320px, 360px 360px;
  background-position: 0 0, 0 0, 0 0, 100% 100%;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.95), rgba(0,0,0,0.5));
  animation: searchMeshDrift 22s linear infinite;
}

@keyframes searchMeshDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(42px, 28px, 0); }
}

.page-search .curated-search label {
  color: #e2e8f0;
}

.page-search .curated-search select {
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(2, 6, 23, 0.42);
}

.page-search .curated-search select:hover:not(:disabled) {
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.22);
}

.search-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.search-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.4;
  animation: searchPulse 10s ease-in-out infinite;
}

.search-atmosphere .glow-a {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 20%;
  background: radial-gradient(circle, rgba(59,130,246,0.55), rgba(59,130,246,0));
}

.search-atmosphere .glow-b {
  width: 420px;
  height: 420px;
  right: -150px;
  top: 8%;
  background: radial-gradient(circle, rgba(56,189,248,0.5), rgba(56,189,248,0));
  animation-delay: 1.5s;
}

.search-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.6), transparent 72%);
  opacity: 0.22;
  animation: searchGridDrift 14s linear infinite;
}


.search-hero-media {
  margin: 1.15rem auto 0;
  max-width: min(1080px, 96vw);
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.34);
  background:
    radial-gradient(800px 260px at 20% 18%, rgba(96,165,250,0.2), transparent 50%),
    linear-gradient(135deg, rgba(15,23,42,0.72), rgba(2,6,23,0.4));
  box-shadow:
    0 24px 60px rgba(2, 6, 23, 0.55),
    0 0 0 1px rgba(125, 211, 252, 0.12) inset;
  isolation: isolate;
}

.search-hero-media::before {
  content: "";
  position: absolute;
  inset: -28% -16%;
  background:
    radial-gradient(circle at 30% 25%, rgba(56, 189, 248, 0.42), transparent 42%),
    radial-gradient(circle at 75% 75%, rgba(96, 165, 250, 0.36), transparent 46%),
    radial-gradient(circle at 55% 55%, rgba(255,255,255,0.08), transparent 22%);
  z-index: 1;
  animation: searchAura 11s ease-in-out infinite alternate;
}

.search-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.24) 42%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 28%, transparent 72%, rgba(255,255,255,0.06));
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation: searchShimmer 7.5s ease-in-out infinite;
}

.search-hero-img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 2;
  filter: saturate(1.1) contrast(1.08);
  transform-origin: center;
  animation: searchImageFloat 7s ease-in-out infinite;
}

@keyframes searchImageFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.025) translateY(-8px); }
}

@keyframes searchAura {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.9; }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: 0.65; }
}

@keyframes searchShimmer {
  0% { transform: translateX(-120%); opacity: 0; }
  20% { opacity: 0.8; }
  50% { transform: translateX(120%); opacity: 0.45; }
  100% { transform: translateX(120%); opacity: 0; }
}
@keyframes searchPulse {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(16px, -12px) scale(1.06); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes searchGridDrift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(46px, 46px, 0); }
}

@keyframes searchBackdropDrift {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.06) translate3d(-14px, -10px, 0); }
}

.news-section {
  background: linear-gradient(180deg, rgba(15,23,42,0.8), rgba(15,23,42,0.62));
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  margin-top: 1.1rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.34);
}

.news-section.is-loading .news-grid {
  display: none;
}

.news-skeletons {
  display: none;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-section.is-loading .news-skeletons {
  display: grid;
}

.news-skeleton-card,
.tracker-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.news-skeleton-card {
  min-height: 250px;
}

.news-skeleton-card::after,
.tracker-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: skeletonShimmer 1.35s infinite;
}

body.light-mode .news-skeleton-card,
body.light-mode .tracker-skeleton {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .news-skeleton-card::after,
body.light-mode .tracker-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent);
}

.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.news-status {
  margin: 0;
  color: #c4b5fd;
  font-size: 0.92rem;
}

.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-column {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.62));
  border: 1px solid rgba(167, 139, 250, 0.24);
  border-radius: 14px;
  padding: 0.85rem;
}

.news-column h2 {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  color: #f5f3ff;
}

.news-list {
  display: grid;
  gap: 0.7rem;
}

.news-card {
  border: 1px solid rgba(196, 181, 253, 0.22);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  background: rgba(15, 23, 42, 0.78);
}

@keyframes skeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

.news-card h3 {
  margin: 0.28rem 0 0.55rem;
  font-size: 0.94rem;
  line-height: 1.35;
}

.news-meta {
  margin: 0;
  color: #c4b5fd;
  font-size: 0.78rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #c084fc;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}

.news-link:hover {
  color: #ddd6fe;
}

.news-loading,
.news-error,
.news-empty {
  margin: 0;
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
}

.news-loading {
  color: #ddd6fe;
  background: rgba(76, 29, 149, 0.25);
}

.news-error {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.36);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.news-empty {
  color: #e2e8f0;
  background: rgba(51, 65, 85, 0.36);
}


@media (max-width: 900px) {
  .search-hero-media {
    max-width: 100%;
    border-radius: 15px;
  }

  .search-hero-img {
    aspect-ratio: 16 / 9;
    animation-duration: 8s;
  }
}

@media (max-width: 560px) {
  .search-hero-head {
    margin-bottom: 0.7rem;
  }

  .search-hero-media {
    margin-top: 0.85rem;
    border-radius: 13px;
  }

  .search-hero-img {
    aspect-ratio: 4 / 3;
  }
}
.modern-page .resume-section,
.modern-page .tracker-section,
.modern-page .insights-section {
  background: linear-gradient(180deg, rgba(15,23,42,0.76), rgba(15,23,42,0.54));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.35rem 1.1rem;
  margin-top: 1.1rem;
  box-shadow: 0 14px 34px rgba(2,6,23,0.3);
}

.modern-page .resume-section:hover,
.modern-page .tracker-section:hover,
.modern-page .insights-section:hover {
  border-color: rgba(125, 211, 252, 0.25);
  box-shadow: 0 16px 36px rgba(2,6,23,0.4);
}

.modern-page .trend-card,
.modern-page .salary-card,
.modern-page .application-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.modern-page .trend-card:hover,
.modern-page .salary-card:hover,
.modern-page .application-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 208, 225, 0.35);
  box-shadow: 0 12px 28px rgba(2,6,23,0.42);
}

.page-dashboard .page-intro {
  grid-template-columns: minmax(0, 1fr) 170px;
}

.page-dashboard .insights-section {
  margin-top: 1.1rem;
}

.page-dashboard .insights-dashboard {
  grid-template-columns: 1fr;
}

.page-dashboard .insights-hero,
.page-dashboard .insights-summary-grid,
.page-dashboard .insights-grid {
  width: 100%;
}

/* Multi-page Layout */
.page-hero {
  padding: 4.5rem 0 3.2rem;
  background:
    radial-gradient(600px 240px at 15% 20%, rgba(77, 208, 225, 0.15), transparent 60%),
    radial-gradient(800px 260px at 85% 10%, rgba(215, 218, 52, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.home-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.home-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.35;
  animation: orbFloat 14s ease-in-out infinite;
}

.home-atmosphere .orb-a {
  width: 280px;
  height: 280px;
  left: -60px;
  top: 90px;
  background: radial-gradient(circle, rgba(34,211,238,0.75), rgba(34,211,238,0));
}

.home-atmosphere .orb-b {
  width: 340px;
  height: 340px;
  right: -80px;
  top: 120px;
  background: radial-gradient(circle, rgba(250,204,21,0.7), rgba(250,204,21,0));
  animation-delay: 1.6s;
}

.home-atmosphere .orb-c {
  width: 260px;
  height: 260px;
  right: 24%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(168,85,247,0.55), rgba(168,85,247,0));
  animation-delay: 0.8s;
}

.home-toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: min(360px, calc(100vw - 2rem));
  display: grid;
  gap: 0.55rem;
}

.home-toast {
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.5);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.home-toast-title {
  margin: 0 0 0.2rem;
  font-size: 0.86rem;
  color: #e2e8f0;
}

.home-toast-msg {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Utility toast (all pages) */
.util-toast-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.util-toast {
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  max-width: 340px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.util-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.util-toast-success { border-left: 3px solid #22c55e; }
.util-toast-error   { border-left: 3px solid #ef4444; }
.util-toast-warning { border-left: 3px solid #f59e0b; }
.util-toast-info    { border-left: 3px solid #6366f1; }

body.light-mode .util-toast {
  background: rgba(255, 255, 255, 0.97);
  color: #1e293b;
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* Utility confirm/prompt dialog */
.util-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.util-dialog-overlay.show {
  opacity: 1;
}

.util-dialog {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.util-dialog-overlay.show .util-dialog {
  transform: translateY(0);
}

.util-dialog-msg {
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
  line-height: 1.5;
  white-space: pre-line;
}

.util-dialog-input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.85rem;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
}

.util-dialog-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.util-dialog-cancel {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 0.5rem 1.1rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.15s;
}

.util-dialog-cancel:hover { border-color: rgba(255,255,255,0.35); }

.util-dialog-ok {
  background: var(--accent);
  border: 0;
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: opacity 0.15s;
}

.util-dialog-ok:hover { opacity: 0.88; }

body.light-mode .util-dialog-input {
  border-color: rgba(0,0,0,0.15);
  background: #f8fafc;
}

body.light-mode .util-dialog-cancel {
  border-color: rgba(0,0,0,0.2);
  color: #475569;
}

/* Edit application modal */
.edit-app-select,
.edit-app-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.85rem;
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.edit-app-textarea {
  height: 100px;
  resize: vertical;
  font-family: inherit;
}

body.light-mode .edit-app-select,
body.light-mode .edit-app-textarea {
  border-color: rgba(0,0,0,0.15);
  background: #f8fafc;
}

@keyframes orbFloat {
  0% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-14px) translateX(12px) scale(1.05); }
  100% { transform: translateY(0) translateX(0) scale(1); }
}

.page-kicker {
  margin: 0 0 0.6rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-hero h1,
.page-intro h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.2vw + 1rem, 3rem);
  line-height: 1.12;
}

.page-lead {
  color: var(--muted);
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

.page-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.growth-share-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1rem 1.15rem;
  align-items: center;
  margin: 1.75rem auto 0;
  padding: 1.25rem 1.35rem;
  border-radius: 18px;
  background:
    radial-gradient(240px 120px at 8% 0%, rgba(125, 211, 252, 0.12), transparent 70%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.62));
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.32);
}

.growth-share-copy {
  display: grid;
  gap: 0.35rem;
}

.growth-share-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1vw + 0.95rem, 1.7rem);
  line-height: 1.15;
  color: #f8fafc;
  max-width: 24ch;
}

.growth-share-summary {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.6;
}

.growth-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  align-self: stretch;
}

.growth-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.78rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #e6eef8;
  font: inherit;
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.growth-share-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.growth-share-btn i {
  color: var(--page-accent);
  font-size: 0.94rem;
}

.growth-share-primary {
  grid-column: 1 / -1;
  background: var(--primary-gradient);
  color: #081025;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.16);
}

.growth-share-primary:hover {
  background: linear-gradient(90deg, #9ddcff, #7dd3fc);
  color: #081025;
}

.growth-share-primary i {
  color: #081025;
}

.growth-share-status {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  min-height: 1.1rem;
  color: var(--muted);
  font-size: 0.86rem;
}

body.light-mode .growth-share-panel {
  background:
    radial-gradient(240px 120px at 8% 0%, rgba(15, 98, 254, 0.1), transparent 70%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(243, 244, 246, 0.96));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
}

body.light-mode .growth-share-copy h2 {
  color: #0f1724;
}

body.light-mode .growth-share-summary,
body.light-mode .growth-share-status {
  color: #64748b;
}

body.light-mode .growth-share-btn {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
  color: #0f1724;
}

body.light-mode .growth-share-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.16);
  color: #0f1724;
}

body.light-mode .growth-share-btn i {
  color: var(--page-accent);
}

body.light-mode .growth-share-primary {
  color: #ffffff;
}

body.light-mode .growth-share-primary i {
  color: #081025;
}

body.light-mode .growth-share-primary:hover {
  color: #081025;
}

@media (max-width: 900px) {
  .growth-share-panel {
    grid-template-columns: 1fr;
  }

  .growth-share-copy h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .growth-share-grid {
    grid-template-columns: 1fr;
  }

  .growth-share-btn {
    width: 100%;
    white-space: normal;
  }
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: stretch;
}

.home-hero-panel {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.62));
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.35);
}

.home-hero-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.home-hero-panel p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.home-focus-list {
  margin: 0;
  padding-left: 1rem;
}

.home-focus-list li {
  margin: 0.4rem 0;
  color: #cbd5e1;
}

.home-badges {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.home-badge {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.1);
}

.page-section {
  padding: 1.1rem 0;
}

.page-intro {
  text-align: center;
}

.module-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.module-card {
  text-decoration: none;
  color: inherit;
  background: var(--card-gradient);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-card i {
  color: var(--accent);
  font-size: 1.2rem;
}

.module-card h3 {
  margin: 0.7rem 0 0.5rem;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  min-height: 3.4rem;
}

.module-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: #7dd3fc;
  font-weight: 600;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2,6,23,0.35);
  border-color: rgba(77, 208, 225, 0.35);
}

.home-hero-v2 {
  padding-top: 5rem;
  padding-bottom: 3.6rem;
  background:
    radial-gradient(560px 220px at 8% 6%, rgba(34, 211, 238, 0.16), transparent 62%),
    radial-gradient(760px 300px at 92% 0%, rgba(167, 139, 250, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.38), rgba(15, 23, 42, 0.02));
}

.home-hero-grid-v2 {
  align-items: stretch;
  gap: 1.2rem;
}

.home-hero-copy {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 16px 34px rgba(2, 6, 23, 0.34);
}

.home-hero-copy .page-lead {
  max-width: 620px;
}

.home-hero-v2 .page-actions a {
  min-width: 190px;
  justify-content: center;
}

.home-proof-strip {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.home-proof-item {
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(15, 23, 42, 0.54);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  text-align: center;
}

.home-proof-item strong {
  display: block;
  font-size: 1.16rem;
  line-height: 1.1;
  color: #7dd3fc;
}

.home-proof-item span {
  color: #cbd5e1;
  font-size: 0.78rem;
}

.home-hero-panel-v2 {
  padding: 1.15rem 1.05rem;
  border-radius: 18px;
  background:
    radial-gradient(420px 190px at 10% 10%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.68));
  border: 1px solid rgba(125, 211, 252, 0.22);
}

.home-continue {
  margin-top: 0.25rem;
}

.section-header-inline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.section-header-inline h2 {
  margin: 0.15rem 0 0;
}

.section-header-inline .section-desc {
  max-width: 720px;
  margin: 0;
  text-align: right;
  line-height: 1.45;
}

.home-continue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.home-continue-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  background:
    radial-gradient(240px 100px at 10% 0%, rgba(125, 211, 252, 0.1), transparent 65%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.58));
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.26);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-continue-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.home-continue-card p {
  margin: 0;
  color: var(--muted);
}

body.light-mode .home-continue .section-header-inline h2,
body.light-mode .home-continue .section-header-inline .section-desc,
body.light-mode .home-continue .page-kicker {
  color: #f8fafc !important;
}

body.light-mode .home-continue .section-header-inline .section-desc {
  max-width: 760px;
  text-align: right;
  line-height: 1.45;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.28);
}

body.light-mode .home-continue .section-header-inline h2 {
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: 0 1px 2px rgba(2, 6, 23, 0.24);
}

.home-continue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-continue-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  background: rgba(255,255,255,0.06);
  color: #dbeafe;
  font-size: 0.8rem;
}

.home-continue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.home-continue-actions a,
.home-continue-actions button {
  min-width: 0;
}

/* ── Continue card: icon + nudge badge ───────────────────────────────────── */

.home-continue-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.home-continue-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.home-continue-card--nudge .home-continue-icon-wrap {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.home-nudge-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.73rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-continue-card--nudge {
  border-color: rgba(251, 191, 36, 0.28);
  background:
    radial-gradient(240px 100px at 10% 0%, rgba(251, 191, 36, 0.07), transparent 65%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.58));
}

.home-continue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.38);
  border-color: rgba(125, 211, 252, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-continue-card--nudge:hover {
  border-color: rgba(251, 191, 36, 0.44);
}

/* ── Card entrance fade-up animation ─────────────────────────────────────── */

.module-card,
.module-card-v2,
.insights-summary-card,
.insights-panel,
.resource-article-card,
.home-continue-card,
.insight-role-card,
.insight-action-card {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.module-card.card-entered,
.module-card-v2.card-entered,
.insights-summary-card.card-entered,
.insights-panel.card-entered,
.resource-article-card.card-entered,
.home-continue-card.card-entered,
.insight-role-card.card-entered,
.insight-action-card.card-entered {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings inside grids */
.module-grid .module-card:nth-child(2),
.module-grid-v2 .module-card-v2:nth-child(2),
.insights-summary-grid .insights-summary-card:nth-child(2),
.home-continue-grid .home-continue-card:nth-child(2) { transition-delay: 0.06s; }

.module-grid .module-card:nth-child(3),
.module-grid-v2 .module-card-v2:nth-child(3),
.insights-summary-grid .insights-summary-card:nth-child(3),
.home-continue-grid .home-continue-card:nth-child(3) { transition-delay: 0.12s; }

.module-grid .module-card:nth-child(4),
.module-grid-v2 .module-card-v2:nth-child(4),
.insights-summary-grid .insights-summary-card:nth-child(4),
.home-continue-grid .home-continue-card:nth-child(4) { transition-delay: 0.18s; }

.module-grid .module-card:nth-child(5),
.module-grid-v2 .module-card-v2:nth-child(5) { transition-delay: 0.24s; }

/* ── prefers-reduced-motion: kill all motion ─────────────────────────────── */
/* Placed here so it cascades AFTER all animation declarations above.        */
/* This satisfies WCAG 2.1 SC 2.3.3 (Animation from Interactions).          */

@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;
  }

  /* Keep the card opacity at 1 so they don't stay invisible for users
     whose browsers report reduced motion but IntersectionObserver still fires */
  .module-card,
  .module-card-v2,
  .insights-summary-card,
  .insights-panel,
  .resource-article-card,
  .home-continue-card,
  .insight-role-card,
  .insight-action-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

.home-plan-steps {
  display: grid;
  gap: 0.62rem;
  margin-top: 0.9rem;
}

.home-plan-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.56);
  border-radius: 12px;
  padding: 0.6rem;
}

.home-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f8fafc;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.86), rgba(99, 102, 241, 0.78));
}

.home-plan-step strong {
  display: block;
  font-size: 0.9rem;
}

.home-plan-step p {
  margin: 0.2rem 0 0;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.home-workflows .module-grid-v2 {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1.1rem;
}

.home-workflows .module-card-v2 {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  background:
    radial-gradient(340px 130px at 5% 0, rgba(125, 211, 252, 0.12), transparent 65%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.6));
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.34);
}

.home-workflows .module-card-v2::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(34,211,238,0.82), rgba(192,132,252,0.82));
  opacity: 0.75;
}

.home-workflows .module-card-v2 i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e0f2fe;
  background: rgba(14, 165, 233, 0.2);
}

.home-workflows .module-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(125, 211, 252, 0.44);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.5);
}

.split-band {
  margin: 0.8rem auto 3rem;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.2rem;
}

.momentum-strip {
  grid-column: 1 / -1;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.momentum-item {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 0.85rem;
}

.momentum-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.split-copy h2 {
  margin: 0 0 0.6rem;
  text-align: left;
}

.split-copy p {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.split-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.stat-chip {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.stat-chip strong {
  display: block;
  color: var(--accent);
  font-size: 1.25rem;
}

.stat-chip span {
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-resume .page-intro,
  .page-tracker .page-intro,
  .page-resources .page-intro,
  .page-news .page-intro,
  .page-dashboard .page-intro {
    grid-template-columns: 1fr;
  }

  .page-resume .page-intro .page-hero-media,
  .page-tracker .page-intro .page-hero-media,
  .page-resources .page-intro .page-hero-media,
  .page-news .page-intro .page-hero-media,
  .page-dashboard .page-intro .page-hero-media,
  .page-resume .page-intro .workspace-visual,
  .page-tracker .page-intro .workspace-visual,
  .page-resources .page-intro .workspace-visual,
  .page-news .page-intro .workspace-visual,
  .page-dashboard .page-intro .workspace-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .page-hero-media,
  .page-hero-img {
    min-height: 72px;
    max-height: 96px;
  }

  .page-resume .page-intro .page-hero-media,
  .page-tracker .page-intro .page-hero-media,
  .page-resources .page-intro .page-hero-media,
  .page-news .page-intro .page-hero-media,
  .page-dashboard .page-intro .page-hero-media {
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .news-hero-media {
    max-width: 100%;
    justify-self: stretch;
  }

  .news-hero-img {
    max-height: 146px;
  }

  .split-band {
    grid-template-columns: 1fr;
  }

  .split-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .home-proof-strip {
    grid-template-columns: 1fr;
  }

  .section-header-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header-inline .section-desc {
    text-align: left;
  }

  .insights-hero {
    flex-direction: column;
  }

  .insights-hero h3 {
    font-size: 1.25rem;
  }

  .insights-summary-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    gap: 0.4rem;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nav a {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .split-stats {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    padding: 1rem 0.9rem;
  }

  .home-hero-panel-v2 {
    padding: 0.95rem 0.85rem;
  }

  .home-plan-step {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .home-hero-grid-v2 {
    gap: 1rem;
  }

  .home-proof-strip {
    grid-template-columns: 1fr;
  }

  .page-dashboard .page-intro {
    grid-template-columns: 1fr;
  }

  .page-dashboard .page-intro .page-hero-media,
  .page-dashboard .page-intro .workspace-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-actions a,
  .page-actions button {
    width: 100%;
    justify-content: center;
  }

  .search-signal-row {
    grid-template-columns: 1fr;
  }

  .search-signal-card {
    min-height: 0;
  }
}

/* Hero */
.hero{padding:4rem 0}
.hero-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:start}

@media (min-width: 1024px) {
  .hero {
    padding: 5rem 0;
  }
  .hero-grid {
    align-items: center;
  }
}
.hero h1{font-size:2rem;margin:0 0 .5rem}
.lead{color:var(--muted);margin-bottom:1rem}
.quick-search{display:flex;gap:.5rem;margin-top:1rem;align-items:center}
.quick-search input, .quick-search select{flex:1;padding:.6rem;border-radius:10px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:inherit}
.quick-search button{padding:.6rem 1rem;border-radius:10px}
.hero-media .mockup{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.15));border-radius:14px;overflow:hidden;box-shadow:0 12px 40px rgba(2,6,23,0.7)}
.hero-media img{display:block;width:100%;height:320px;object-fit:cover;transform:scale(1.03)}

/* New Hero Content Styles */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  padding: 1.2rem 0;
  justify-content: center;
}

.hero-content h1 {
  margin-bottom: .4rem;
  font-size: 3.2rem;
  line-height: 1.18;
  background: linear-gradient(60deg, #eaee11dc, #cf0e0e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: 1 1px 50px rgba(183, 185, 21, 0.452);
  position: relative;
}

.hero-content .lead {
  margin-bottom: .5rem;
  font-size: 1.20rem;
  color: var(--muted);
  background: linear-gradient(45deg, #fdff92, #7ce1ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  font-weight: bold;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: .5rem;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .hero-content {
    gap: 1rem;
    padding: .7rem 0;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .hero-actions {
    gap: .6rem;
  }
}

.hero {
  background: url('image/teamwork.png') center/cover no-repeat;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}


/* Features */
.features{padding:2.25rem 0}
.features h2{margin-bottom:1rem}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.feature{background:var(--card);padding:1rem;border-radius:12px;box-shadow:0 6px 24px rgba(2,6,23,0.6)}
.feature h3{margin:0 0 .5rem;color:white}

/* Listings */
.listings{padding:3rem 0}
.listings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.job{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:1rem;border-radius:12px;box-shadow:0 8px 28px rgba(2,6,23,0.6)}
.job h3{margin:0 0 .35rem}
.meta{color:var(--muted);font-size:.9rem;margin-bottom:.5rem}
.excerpt{color:var(--muted);font-size:.95rem;margin-bottom:.75rem}
.job-actions{display:flex;gap:.5rem;justify-content:flex-end}

/* Contact */
.contact{padding:4rem 0}
.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

@media (min-width: 1024px) {
  .contact h2 {
    font-size: 2.5rem;
  }
}

.contact-form{
  display:grid;
  gap:1rem;
  grid-template-columns:1fr 1fr;
  align-items:start;
  max-width: 800px;
  margin: 0 auto;
}
.contact-form label{display:flex;flex-direction:column;gap:.5rem}
.contact-form label span{color:var(--muted);font-size:.95rem;font-weight:600}
.contact-form input, .contact-form textarea{
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  padding:.8rem 1rem;
  border-radius:8px;
  color:inherit;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea{grid-column:1/3}
.contact-form button{grid-column:1/3;justify-self:start}

/* Footer */
.site-footer{padding:1.25rem 0;border-top:1px solid rgba(255,255,255,0.03)}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;color:var(--muted);font-size:.9rem}
.footer-copy{display:flex;flex-direction:column;gap:.45rem}
.footer-copy p{margin:0}
.footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.footer-links a{color:var(--muted);text-decoration:none;transition:color .2s ease}
.footer-links a:hover{color:var(--accent)}
.footer-hire-cta{padding:.6rem 1.2rem;background:rgba(255,255,255,0.03);border-top:1px solid rgba(255,255,255,0.06);text-align:center;font-size:.82rem;color:var(--muted)}
.footer-hire-cta a{color:var(--accent);text-decoration:none;font-weight:600;margin-left:.3rem}
.footer-hire-cta a:hover{text-decoration:underline}
.resources-jump-nav{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem 0 1.5rem}
.resources-jump-nav a{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.1);color:var(--muted);text-decoration:none;padding:.35rem .85rem;border-radius:999px;font-size:.82rem;transition:all .2s}
.resources-jump-nav a:hover{background:rgba(255,255,255,0.12);color:var(--text,#e2e8f0);border-color:rgba(255,255,255,0.25)}
.faq-section{padding:2.5rem 0 3rem}
.faq-list{display:flex;flex-direction:column;gap:.6rem;margin-top:1.2rem}
.faq-item{border:1px solid rgba(255,255,255,0.08);border-radius:10px;overflow:hidden;background:rgba(255,255,255,0.02)}
.faq-item summary{padding:.9rem 1.1rem;cursor:pointer;font-weight:600;font-size:.95rem;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:.5rem;color:var(--text,#e2e8f0)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:1.2rem;color:var(--muted);flex-shrink:0;transition:transform .2s}
.faq-item[open] summary::after{content:'−'}
.faq-item[open]{border-color:rgba(255,255,255,0.15)}
.faq-answer{padding:.1rem 1.1rem 1rem;font-size:.9rem;color:var(--muted);line-height:1.65}
.faq-answer p{margin:0}
.faq-answer a{color:var(--accent);text-decoration:none}
.faq-answer a:hover{text-decoration:underline}
.social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Search results / link cards */
.search-link-results, #results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .search-link-results, #results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-link-results, #results {
    grid-template-columns: repeat(3, 1fr);
  }
}

#results {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  align-items: stretch;
}

.link-card{
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(260px 120px at 10% 0%, rgba(96,165,250,0.12), transparent 70%),
    linear-gradient(170deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.84));
  padding: 1.1rem;
  border-radius: 18px;
  border:1px solid rgba(125, 211, 252, 0.14);
  box-shadow:0 16px 34px rgba(2,6,23,0.46);
  transition:transform .25s ease, box-shadow .18s ease, border-color .18s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle at 20% 20%, rgba(56,189,248,0.12), transparent 30%);
  pointer-events: none;
}

.link-card:hover{
  transform:translateY(-6px);
  box-shadow:0 22px 46px rgba(2,6,23,0.6);
  border-color: rgba(125, 211, 252, 0.32);
}

.job-link{
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  gap:0.8rem;
  color:inherit;
  text-decoration:none;
  font-weight:600;
  padding:.15rem 0;
  font-size: 1rem;
  line-height: 1.4;
}

.job-link:hover{ color:#f8fafc; }

.board-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(2, 6, 23, 0.22);
}

.board-strip-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.34), rgba(96, 165, 250, 0.18));
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow: 0 8px 16px rgba(2, 6, 23, 0.18);
}

.board-strip-mark i {
  font-size: 0.95rem;
}

.board-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.board-strip-copy strong {
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.board-strip-copy span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.75rem;
  font-weight: 600;
}

.board-strip-arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.job-link:hover .board-strip {
  border-color: rgba(125, 211, 252, 0.35);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 1), rgba(30, 41, 59, 0.82));
}

.job-link:hover .board-strip-arrow {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

.job-title {
  font-size: 1.12rem;
  color: #f8fafc;
  line-height: 1.45;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.job-link .badge{
  background: rgba(96, 165, 250, 0.1);
  color: #e0f2fe;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius:999px;
  padding:.24rem .58rem;
  font-size:.74rem;
  font-weight:700;
  letter-spacing: 0.02em;
}

.source-name {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.05rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(191, 219, 254, 0.72);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-left: 0.1rem;
}

.source-name i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.job-link:hover .source-name i {
  transform: translateX(3px);
}

.no-results{
  grid-column: 1 / -1;
  background: linear-gradient(160deg, rgba(30, 58, 138, 0.55), rgba(14, 116, 144, 0.45));
  color: #e0f2fe;
  border: 1px solid rgba(125, 211, 252, 0.3);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.32);
}

.page-search .search-link-results,
.page-search #results {
  position: relative;
  z-index: 2;
}

.page-search .link-card {
  background:
    radial-gradient(420px 160px at 8% 0%, rgba(96, 165, 250, 0.16), transparent 65%),
    linear-gradient(170deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.84));
  border: 1px solid rgba(96, 165, 250, 0.3);
  box-shadow: 0 18px 38px rgba(2, 6, 23, 0.5);
}

.page-search .link-card:hover {
  transform: translateY(-7px);
  border-color: rgba(125, 211, 252, 0.6);
  box-shadow: 0 24px 44px rgba(2, 6, 23, 0.62);
}

.page-search .board-strip {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.76));
}

.page-search .board-strip-mark {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.42), rgba(99, 102, 241, 0.22));
}

.page-search .board-linkedin {
  border-left: 4px solid #60a5fa;
}

.page-search .board-indeed {
  border-left: 4px solid #38bdf8;
}

.page-search .board-naukri {
  border-left: 4px solid #0ea5e9;
}

.page-search .link-card.is-primary {
  border-color: rgba(125, 211, 252, 0.44);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.58);
}

.board-reason {
  margin: 0.1rem 0 0;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.8rem;
  line-height: 1.45;
}

.search-strategy-panel {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background:
    radial-gradient(240px 120px at 12% 0%, rgba(96, 165, 250, 0.12), transparent 72%),
    linear-gradient(165deg, rgba(8, 15, 33, 0.94), rgba(15, 23, 42, 0.82));
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.38);
}

.search-strategy-panel::before {
  content: "";
  position: absolute;
  inset: -15% -10% auto;
  height: 120px;
  background: radial-gradient(circle at 20% 20%, rgba(96, 165, 250, 0.12), transparent 65%);
  pointer-events: none;
}

.search-strategy-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.search-strategy-header h2 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.5rem;
}

.search-strategy-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.search-strategy-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 700;
}

.search-strategy-pill.has-profile {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.2);
  color: #dbeafe;
}

.search-strategy-pill.is-muted {
  color: var(--muted);
}

.search-strategy-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.95rem;
}

.search-strategy-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-strategy-card.is-highlight {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.9));
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.24);
}

.search-strategy-eyebrow {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.search-strategy-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.search-strategy-card p {
  margin: 0;
  color: var(--muted);
}

.search-strategy-chip-row,
.search-board-rank {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.search-strategy-chip,
.search-board-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
}

.search-strategy-chip {
  background: rgba(96, 165, 250, 0.1);
  border-color: rgba(96, 165, 250, 0.18);
  color: #dbeafe;
}

.search-board-pill.is-primary {
  background: rgba(96, 165, 250, 0.16);
  border-color: rgba(96, 165, 250, 0.28);
  color: #dbeafe;
}

.search-strategy-button,
.search-strategy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.search-strategy-button {
  border: 0;
  background: var(--primary-gradient);
  color: #081025;
}

.search-strategy-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.search-strategy-button:hover,
.search-strategy-link:hover {
  transform: translateY(-1px);
}

.search-preset-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.search-preset-button {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: inherit;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-preset-button:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
}

.search-preset-button i {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(96, 165, 250, 0.12);
  color: #bfdbfe;
  flex-shrink: 0;
}

.search-preset-button span {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.search-preset-button strong {
  font-size: 0.95rem;
}

.search-preset-button small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

body.light-mode .search-strategy-panel {
  background:
    radial-gradient(240px 120px at 12% 0%, rgba(96, 165, 250, 0.1), transparent 72%),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .search-hero-badge {
  background:
    radial-gradient(120px 60px at 12% 0%, rgba(96,165,250,0.1), transparent 72%),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(96, 165, 250, 0.18);
}

body.light-mode .search-hero-summary-kicker {
  background: rgba(96, 165, 250, 0.1);
  color: #0f62fe;
  border-color: rgba(96, 165, 250, 0.18);
}

body.light-mode .search-hero-badge-label {
  color: #0f62fe;
}

body.light-mode .search-hero-badge-top i {
  color: #0f62fe;
}

body.light-mode .search-hero-badge strong {
  color: #0f172a;
}

body.light-mode .search-hero-badge small {
  color: #475569;
}

body.light-mode .search-strategy-pill {
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .search-strategy-pill.has-profile {
  background: rgba(96, 165, 250, 0.12);
  color: #0f62fe;
  border-color: rgba(96, 165, 250, 0.18);
}

body.light-mode .search-strategy-card {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .search-strategy-card.is-highlight {
  background: linear-gradient(145deg, rgba(14, 165, 233, 0.12), rgba(255, 255, 255, 0.96));
  border-color: rgba(96, 165, 250, 0.24);
}

body.light-mode .search-strategy-link {
  background: rgba(15, 23, 42, 0.04);
  color: #334155;
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .search-strategy-chip {
  background: rgba(96, 165, 250, 0.1);
  color: #0f62fe;
}

body.light-mode .search-board-pill {
  background: rgba(15, 23, 42, 0.05);
  color: #334155;
}

body.light-mode .search-preset-button {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .search-preset-button i {
  background: rgba(96, 165, 250, 0.12);
  color: #0f62fe;
}

body.light-mode .board-reason {
  color: #475569;
}

/* curated search controls */
.curated-search {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: start;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  background: rgba(15, 23, 36, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(2, 6, 23, 0.28);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop: Full 4-column layout */
@media (min-width: 1024px) {
  .curated-search {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.5rem;
  }
}

body.light-mode .curated-search {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.curated-search label{
  display:block;
  color: #ffffff;
  font-weight:600;
  font-size:.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom:0.4rem;
}

body.light-mode .curated-search label {
  color: #212529;
  text-shadow: none;
}

.curated-search select{
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  min-height: 44px;
  height: auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.01);
  width: 100%;
  color-scheme: dark;
}

.curated-search select option{
  background-color: #0f1724;
  color: #ffffff;
  padding: 8px;
}

.curated-search select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.curated-search select:hover:not(:disabled) {
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.1);
}

.search-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: flex-start;
}

.resume-match-section {
  grid-column: 1 / -1;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.55));
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.28);
}

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

.resume-match-header h2 {
  margin: 0.1rem 0 0;
  font-size: 1.35rem;
}

.resume-match-meta {
  margin: 0;
  color: var(--muted);
  max-width: 320px;
  text-align: right;
}

.resume-match-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.resume-gap-summary {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.resume-gap-section {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.resume-gap-section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.resume-gap-section-head {
  display: flex;
  justify-content: space-between;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.resume-gap-section-note {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.resume-gap-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.resume-gap-title {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-gap-title.is-secondary {
  margin-top: 0.9rem;
}

.resume-gap-empty {
  margin: 0;
  color: var(--muted);
}

.resume-gap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resume-gap-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  border: 1px solid rgba(250, 204, 21, 0.22);
  border-radius: 999px;
  padding: 0.7rem 0.8rem 0.65rem;
  background: rgba(250, 204, 21, 0.1);
  color: #fde68a;
  font-weight: 700;
  cursor: pointer;
  appearance: none;
  font: inherit;
  min-width: 170px;
  text-align: left;
}

.resume-gap-chip.is-bonus {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
  color: #bfdbfe;
}

.resume-gap-chip.is-strong-stretch {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
  color: #bfdbfe;
}

.resume-gap-chip.is-nice-to-have {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
}

.resume-gap-chip.is-strong-stretch .resume-gap-chip-track {
  background: rgba(96, 165, 250, 0.14);
}

.resume-gap-chip.is-strong-stretch .resume-gap-chip-fill {
  background: linear-gradient(90deg, #60a5fa, #bfdbfe);
}

.resume-gap-chip.is-nice-to-have .resume-gap-chip-track {
  background: rgba(34, 197, 94, 0.14);
}

.resume-gap-chip.is-nice-to-have .resume-gap-chip-fill {
  background: linear-gradient(90deg, #22c55e, #bbf7d0);
}

.resume-gap-chip-line {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

.resume-gap-chip-line strong {
  font-size: 0.88rem;
}

.resume-gap-chip-line span {
  color: inherit;
  font-size: 0.76rem;
  opacity: 0.9;
  white-space: nowrap;
}

.resume-gap-chip-track {
  display: block;
  width: 100%;
  height: 0.38rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(250, 204, 21, 0.14);
}

.resume-gap-chip-fill {
  display: inline-flex;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b, #fde68a);
}

.resume-match-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.15rem 0 0.8rem;
}

.resume-match-meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #bfdbfe;
  font-size: 0.8rem;
  font-weight: 700;
}

.resume-match-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1rem;
}

.resume-match-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.resume-match-card-top h3 {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.resume-match-card-top strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.resume-match-industry {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resume-match-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.resume-match-section-title {
  margin: 0.85rem 0 0.45rem;
  color: #dbeafe;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resume-match-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.resume-match-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.resume-match-chip.is-match {
  background: rgba(34, 197, 94, 0.14);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.24);
}

.resume-match-chip.is-gap {
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.22);
}

.resume-match-chip.is-core {
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.18);
}

.resume-match-chip.is-bonus {
  background: rgba(96, 165, 250, 0.1);
  color: #bfdbfe;
  border-color: rgba(96, 165, 250, 0.18);
}

.resume-gap-link {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.resume-match-empty {
  color: var(--muted);
  font-size: 0.88rem;
}

.resume-match-cert-list {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.resume-match-cert-item {
  display: grid;
  gap: 0.35rem;
}

.resume-match-cert {
  display: grid;
  gap: 0.18rem;
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.resume-match-cert:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(255,255,255,0.05);
}

.resume-match-cert strong {
  color: #fff;
  font-size: 0.9rem;
}

.resume-match-cert span,
.resume-match-cert small {
  color: var(--muted);
  font-size: 0.84rem;
}

.resume-cert-search {
  appearance: none;
  font: inherit;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(96, 165, 250, 0.08);
  color: #bfdbfe;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.resume-cert-search:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.14);
}

body.light-mode .resume-gap-chip.is-strong-stretch {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(96, 165, 250, 0.22);
  color: #0f62fe;
}

body.light-mode .resume-gap-chip.is-strong-stretch .resume-gap-chip-track {
  background: rgba(96, 165, 250, 0.16);
}

body.light-mode .resume-gap-chip.is-strong-stretch .resume-gap-chip-fill {
  background: linear-gradient(90deg, #0f62fe, #60a5fa);
}

body.light-mode .resume-gap-chip.is-nice-to-have {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.18);
  color: #166534;
}

body.light-mode .resume-gap-chip.is-nice-to-have .resume-gap-chip-track {
  background: rgba(34, 197, 94, 0.16);
}

body.light-mode .resume-gap-chip.is-nice-to-have .resume-gap-chip-fill {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

body.light-mode .resume-match-chip.is-core {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.18);
}

body.light-mode .resume-match-chip.is-bonus {
  background: rgba(96, 165, 250, 0.12);
  color: #0f62fe;
  border-color: rgba(96, 165, 250, 0.18);
}

.resume-match-score {
  margin-top: -0.45rem;
  font-size: 0.82rem;
  color: #93c5fd;
}

.resume-match-actions {
  display: flex;
  justify-content: flex-end;
}

.resume-match-actions button {
  background: var(--primary-gradient);
  color: #081025;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.resume-match-actions button:hover {
  transform: translateY(-1px);
}

.search-alerts {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.search-alerts h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.search-alerts-note {
  margin: 0 0 1rem;
  color: var(--muted);
}

.search-alert-email {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.search-alert-email span {
  font-size: 0.92rem;
  color: var(--muted);
}

.search-alert-email input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: inherit;
}

.search-alert-controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.search-alert-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
}

.search-alert-banner.is-due {
  color: #fde68a;
  border-color: rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
}

.search-alert-card {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.search-alert-card.is-due {
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.08);
}

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

.search-alert-card-header h4 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

.search-alert-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.search-alert-meta {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.search-alert-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-alert-footer span {
  color: var(--muted);
  font-size: 0.9rem;
}

.search-alert-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.search-alert-actions button {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-alert-actions button:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}

@media (min-width: 768px) {
  .search-actions {
    justify-content: flex-end;
  }
}

.search-link-results {
  background:
    linear-gradient(165deg, rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.56));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.25);
  box-shadow: 0 10px 26px rgba(2, 6, 23, 0.34);
  margin-top: 1rem;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.nav a.active {
  font-weight: bold;
  border-bottom: 2px solid #0073b1;
}

#search {
  padding-top: 80px;
  margin-top: -80px;
}

/* Recent & Saved Searches */
.recent-searches, .saved-searches {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--card-gradient);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.recent-searches h3, .saved-searches h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#recentSearchList, #savedSearchList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-item {
  padding: 0.75rem;
  background: var(--glass);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(5px);
}

.search-item-details {
  flex: 1;
}

.search-item-actions {
  display: flex;
  gap: 0.5rem;
}

.search-item-actions button {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.search-item-actions button:hover {
  color: var(--accent);
  background: var(--glass);
}

/* Why Fast Section */
/* Why Fast Section */
.whyfast-section {
  padding: 4rem 0;
}
.whyfast-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: #fff;
}

@media (min-width: 1024px) {
  .whyfast-section h2 {
    font-size: 2.5rem;
  }
}
.whyfast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .whyfast-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .whyfast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.whyfast-point {
  background: linear-gradient(180deg, rgba(124,92,255,0.07), rgba(77,208,225,0.04));
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 18px rgba(2,6,23,0.13);
  color: #e6eef8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whyfast-point:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(2,6,23,0.2);
}

.whyfast-point h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.3rem;
}
.whyfast-point p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Application Tracker */
.tracker-section {
  padding: 4rem 0;
}

.tracker-prep-section {
  margin: 2rem 0 2.5rem;
}

.tracker-prep-header {
  text-align: center;
  margin-bottom: 1rem;
}

.tracker-prep-header h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.5rem;
}

.prep-plans-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.prep-plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.prep-plan-card .workspace-output-header {
  margin-bottom: 0;
}

.prep-plan-card .profile-note {
  margin-bottom: 0;
}

.prep-plan-checklist {
  margin: 0;
}

.prep-gap-row {
  margin-top: 0.35rem;
}

.tracker-empty-state {
  background: var(--card-gradient);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 24px rgba(2,6,23,0.18);
}

.tracker-empty-state h3 {
  margin: 0 0 0.45rem 0;
}

.tracker-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.tracker-section.is-loading .tracker-analytics,
.tracker-section.is-loading .applications-list {
  display: none;
}

.tracker-skeletons {
  display: none;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.tracker-section.is-loading .tracker-skeletons {
  display: grid;
}

.tracker-skeleton-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tracker-skeleton {
  min-height: 86px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.tracker-skeleton-wide {
  min-height: 44px;
}

.tracker-skeleton-card {
  min-height: 260px;
}

.tracker-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

@media (min-width: 1024px) {
  .tracker-section h2 {
    font-size: 2.5rem;
  }
}

.section-desc {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tracker-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.tracker-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tracker-actions .btn-secondary {
  white-space: nowrap;
}

.tracker-analytics {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.analytics-card {
  grid-column: span 12;
  background: var(--card-gradient);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(2,6,23,0.22);
}

.analytics-heading {
  margin-bottom: 1.25rem;
}

.analytics-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.analytics-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.analytics-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.analytics-metric {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.analytics-metric strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  color: #fff;
}

.analytics-metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.analytics-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.analytics-highlight + .analytics-highlight {
  margin-top: 0.85rem;
}

.analytics-highlight strong {
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
}

.analytics-highlight span {
  color: var(--muted);
  font-size: 0.92rem;
}

.analytics-empty {
  margin: 0;
  color: var(--muted);
}

.status-bars {
  display: grid;
  gap: 1rem;
}

.status-bar-row {
  display: grid;
  gap: 0.5rem;
}

.status-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
}

.status-bar-label span {
  color: var(--muted);
}

.status-bar-track {
  width: 100%;
  height: 0.75rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.status-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.analytics-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.analytics-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.analytics-list span {
  color: var(--muted);
}

.analytics-list strong {
  color: inherit;
  font-size: 1rem;
}

.board-stats {
  display: grid;
  gap: 0.9rem;
}

.board-stat {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.board-stat-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.board-stat-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
}

.board-stat-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.board-stat-head strong {
  font-size: 0.98rem;
}

.board-stat-head span {
  color: var(--accent);
  font-weight: 700;
}

.board-stat-track {
  height: 0.72rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.board-stat-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--primary-gradient);
}

.board-stat p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.weekly-trend-chart {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
  min-height: 220px;
}

.weekly-trend-bar {
  display: grid;
  gap: 0.45rem;
  align-items: end;
  justify-items: center;
}

.weekly-trend-value {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.weekly-trend-column {
  width: 100%;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.35rem 0.2rem 0;
  border-radius: 999px 999px 0 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.weekly-trend-fill {
  display: block;
  width: 100%;
  max-width: 34px;
  border-radius: 999px 999px 0 0;
  background: var(--primary-gradient);
  min-height: 12px;
}

.weekly-trend-label {
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.application-source {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.application-source-label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-source-value {
  font-weight: 700;
}

.tracker-filter {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.1);
  color: inherit;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.applications-list {
  display: grid;
  gap: 1rem;
}

.application-card {
  background: var(--card-gradient);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(2,6,23,0.3);
  transition: all 0.3s ease;
}

.application-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,6,23,0.4);
}

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

.application-info h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.application-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.application-status {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-applied { background: rgba(124,92,255,0.2); color: #a78bfa; }
.status-interviewing { background: rgba(251,191,36,0.2); color: #fbbf24; }
.status-offered { background: rgba(34,197,94,0.2); color: #22c55e; }
.status-rejected { background: rgba(239,68,68,0.2); color: #ef4444; }

.status-bar-fill.status-applied { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.status-bar-fill.status-interviewing { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.status-bar-fill.status-offered { background: linear-gradient(90deg, #22c55e, #86efac); }
.status-bar-fill.status-rejected { background: linear-gradient(90deg, #ef4444, #f87171); }

.application-notes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.9rem;
}

.application-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.application-actions button {
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.application-actions button:hover {
  background: var(--glass);
  color: white;
  border-color: var(--accent);
}

@media (min-width: 1024px) {
  .tracker-analytics .analytics-card:nth-child(1) {
    grid-column: span 12;
  }

  .tracker-analytics .analytics-card:nth-child(2),
  .tracker-analytics .analytics-card:nth-child(3),
  .tracker-analytics .analytics-card:nth-child(4),
  .tracker-analytics .analytics-card:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 767px) {
  .analytics-metrics {
    grid-template-columns: 1fr;
  }

  .weekly-trend-chart {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .analytics-list li,
  .status-bar-label {
    flex-direction: column;
    align-items: flex-start;
  }

  .tracker-actions {
    width: 100%;
  }

  .tracker-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .tracker-filter {
    width: 100%;
  }
}

/* General Section Improvements */
section {
  scroll-margin-top: 80px;
}

section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

section h2 + p {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Resume Builder */
.resume-section {
  padding: 4rem 0;
  text-align: center;
}

.resume-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .resume-section h2 {
    font-size: 2.5rem;
  }
}

.resume-builder {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.resume-analysis-panel {
  margin-top: 1.5rem;
  display: none;
  text-align: left;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.25rem;
}

.resume-analysis-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.resume-builder-section {
  margin-top: 1.75rem;
  padding: 1.25rem;
  text-align: left;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.resume-builder-section.builder-focus {
  box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.25), 0 16px 40px rgba(2, 6, 23, 0.35);
}

.resume-builder-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.resume-builder-header h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.3rem;
}

.resume-builder-header p {
  margin: 0;
  color: var(--muted);
}

.resume-builder-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.resume-builder-actions .btn-primary,
.resume-builder-actions .btn-secondary {
  flex: 1 1 auto;
  min-width: 120px;
  justify-content: center;
  text-align: center;
}

.resume-builder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

@media (max-width: 900px) {
  .resume-builder-grid {
    grid-template-columns: 1fr;
  }
  .resume-builder-preview {
    max-height: 60vh;
    overflow-y: auto;
  }
}

.resume-builder-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

.resume-builder-form label {
  display: grid;
  gap: 0.4rem;
}

.resume-builder-form span {
  color: var(--muted);
  font-size: 0.9rem;
}

.resume-builder-form input,
.resume-builder-form textarea,
.resume-builder-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: inherit;
  resize: vertical;
}

.resume-builder-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 2.35rem;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    calc(100% - 2.15rem) 50%;
  background-size: 6px 6px, 6px 6px, 1px 1.5rem;
  background-repeat: no-repeat;
}

.resume-builder-form select option {
  color: #e6eef8;
  background: #0f1724;
}

.resume-builder-preview {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
}

.resume-preview-title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.resume-preview-headline {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.resume-preview-contact,
.resume-preview-summary,
.resume-preview-section p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.resume-preview-section {
  margin-top: 1rem;
}

.resume-preview-section h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.resume-preview-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
}

.cover-letter-section {
  margin-top: 1.75rem;
}

.cover-letter-preview .cover-letter-draft {
  display: grid;
  gap: 0.8rem;
}

.cover-letter-preview .cover-letter-draft p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cover-letter-grid .resume-builder-form {
  gap: 0.9rem;
}

body.light-mode .cover-letter-preview .cover-letter-draft p {
  color: var(--text);
}

/* ── Resume Builder: structured entry form ── */
.rb-fieldset {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1rem 0.85rem;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.rb-legend {
  padding: 0 0.4rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
}

.rb-hint {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.rb-optional {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted);
}

.rb-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.rb-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.65rem;
}

.rb-entries {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rb-entry {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
  display: grid;
  gap: 0.6rem;
  background: rgba(255,255,255,0.03);
}

.rb-entry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rb-entry-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rb-entry-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}

.rb-entry-remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.rb-add-btn {
  background: none;
  border: 1.5px dashed var(--border);
  color: var(--muted);
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  width: 100%;
  text-align: center;
  transition: border-color 0.15s, color 0.15s;
}

.rb-add-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

body.light-mode .rb-entry {
  background: #f8fafc;
}

/* ── ATS Resume Preview ── */
.rb-readiness-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.rb-readiness-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rb-readiness-score {
  font-weight: 700;
  font-size: 0.9rem;
}
.ats-resume {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #111;
  line-height: 1.42;
}

.ats-page {
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: 2px;
  border: 1px solid #dde3ea;
  color: #111;
}

.ats-page-break-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.7rem 0;
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ats-page-break-bar::before,
.ats-page-break-bar::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

.ats-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 2px;
  color: #000;
  font-family: Arial, sans-serif;
}

.ats-headline {
  font-size: 0.82rem;
  margin: 0 0 3px;
  color: #333;
}

.ats-contact {
  font-size: 0.72rem;
  color: #555;
  margin: 0 0 6px;
}

.ats-rule {
  border: none;
  border-top: 1.5px solid #111;
  margin: 5px 0 8px;
}

.ats-section {
  margin-bottom: 9px;
}

.ats-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid #111;
  margin: 0 0 5px;
  padding-bottom: 2px;
  color: #000;
}

.ats-summary {
  margin: 0;
  color: #111;
}

.ats-exp-entry,
.ats-edu-entry {
  margin-bottom: 7px;
}

.ats-exp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px;
}

.ats-exp-row strong {
  font-size: 0.78rem;
}

.ats-exp-row em {
  font-size: 0.75rem;
}

.ats-date {
  font-size: 0.72rem;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

.ats-tech {
  font-size: 0.7rem;
  color: #555;
  white-space: nowrap;
  flex-shrink: 0;
}

.ats-bullets {
  margin: 3px 0 0;
  padding-left: 13px;
}

.ats-bullets li {
  margin-bottom: 2px;
  color: #111;
}

.ats-skills-line {
  margin: 0 0 3px;
}

@media (max-width: 680px) {
  .rb-row-2,
  .rb-row-3 {
    grid-template-columns: 1fr;
  }
}

body.light-mode .resume-builder-form select {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f1724;
  color-scheme: light;
}

body.light-mode .resume-builder-form select option {
  color: #0f1724;
  background: #ffffff;
}

.resume-analysis-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resume-analysis-title {
  margin: 0;
  font-size: 1.2rem;
}

/* ── Career Intelligence Panel ── */
.si-panel{background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.08);border-radius:12px;padding:1.1rem 1.2rem;margin:.8rem 0}
.si-header{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin-bottom:.9rem}
.si-title{font-size:.9rem;font-weight:700;color:var(--text,#e2e8f0);letter-spacing:.03em}
.si-badges{display:flex;flex-wrap:wrap;gap:.4rem}
.si-badge{font-size:.75rem;font-weight:600;padding:.2rem .6rem;border-radius:999px;border:1px solid}
.si-tone-passive{color:#f87171;border-color:rgba(248,113,113,.35);background:rgba(248,113,113,.1)}
.si-tone-mixed{color:#facc15;border-color:rgba(250,204,21,.35);background:rgba(250,204,21,.08)}
.si-tone-good{color:#4ade80;border-color:rgba(74,222,128,.35);background:rgba(74,222,128,.08)}
.si-seniority-alert{display:flex;gap:.6rem;align-items:flex-start;background:rgba(250,204,21,.07);border:1px solid rgba(250,204,21,.2);border-radius:8px;padding:.65rem .85rem;font-size:.84rem;color:#fde68a;line-height:1.5;margin-bottom:.85rem}
.si-alert-icon{flex-shrink:0;font-size:1rem;margin-top:.05rem}
.si-recs{display:flex;flex-direction:column;gap:.65rem}
.si-rec{border-radius:8px;padding:.7rem .9rem;border:1px solid}
.si-rec-high{background:rgba(248,113,113,.06);border-color:rgba(248,113,113,.2)}
.si-rec-medium{background:rgba(250,204,21,.04);border-color:rgba(250,204,21,.15)}
.si-rec-positive{background:rgba(74,222,128,.05);border-color:rgba(74,222,128,.2)}
.si-rec-title{font-size:.85rem;font-weight:600;color:var(--text,#e2e8f0);margin-bottom:.45rem}
.si-example{display:grid;grid-template-columns:1fr auto 1fr;align-items:start;gap:.4rem;margin-top:.35rem;font-size:.8rem}
.si-weak{color:#f87171;font-style:italic;line-height:1.4}
.si-arrow{color:var(--muted);padding-top:.1rem}
.si-strong{color:#4ade80;line-height:1.4}
@media(max-width:600px){.si-example{grid-template-columns:1fr;gap:.2rem}.si-arrow{display:none}}
/* ── end Career Intelligence ── */

.resume-score-pill {
  background: rgba(14, 165, 233, 0.18);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  position: relative;
  overflow: visible;
  transform-origin: center;
}

.resume-score-actions{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}
.btn-share-score{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.15);color:rgba(255,255,255,0.7);border-radius:999px;padding:.28rem .75rem;font-size:.78rem;cursor:pointer;transition:all .2s ease;white-space:nowrap}
.btn-share-score:hover{background:rgba(255,255,255,0.12);color:#fff;border-color:rgba(255,255,255,0.3)}
/* ── Resume PDF Overlay ── */
#resumePdfOverlay{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,0.85);display:flex;align-items:stretch;justify-content:center}
.rpdf-inner{display:flex;flex-direction:column;width:100%;max-width:900px;margin:0 auto}
.rpdf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.7rem 1rem;background:#1a2535;flex-wrap:wrap}
.rpdf-title{font-weight:700;font-size:.95rem;color:#e2e8f0;display:flex;align-items:center;gap:.5rem}
.rpdf-btns{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.rpdf-close-btn{background:none;border:none;color:rgba(255,255,255,.5);font-size:1.3rem;cursor:pointer;padding:.2rem .4rem;line-height:1}
.rpdf-hint{background:#1b3a5c;color:#b8cfe8;font-size:.8rem;text-align:center;padding:.4rem 1rem}
.rpdf-frame{flex:1;border:none;background:#fff;width:100%}
/* ── end Resume PDF Overlay ── */

#scoreBadgeOverlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center}
.sbo-backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.75)}
.sbo-box{position:relative;z-index:1;background:#1a2535;border-radius:14px;padding:1.2rem;max-width:92vw;display:flex;flex-direction:column;align-items:center;gap:.9rem;box-shadow:0 8px 40px rgba(0,0,0,.6)}
.sbo-close{position:absolute;top:.6rem;right:.8rem;background:none;border:none;color:rgba(255,255,255,.5);font-size:1.4rem;cursor:pointer;line-height:1}
.sbo-hint{color:rgba(255,255,255,.6);font-size:.82rem;text-align:center;margin:0}
.sbo-img{width:100%;max-width:540px;border-radius:10px;display:block}
.resume-score-pill.spark-animate {
  animation: scorePop 0.45s ease;
}

.resume-spark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--spark-size, 4px);
  height: var(--spark-size, 4px);
  margin-left: calc(var(--spark-size, 4px) * -0.5);
  margin-top: calc(var(--spark-size, 4px) * -0.5);
  border-radius: 999px;
  background: radial-gradient(circle, #fff7b8 0%, #fde047 65%, #f59e0b 100%);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.75);
  pointer-events: none;
  opacity: 0;
  animation: sparkBurst 0.7s ease-out var(--spark-delay, 0s) forwards;
}

@keyframes scorePop {
  0% { transform: scale(0.85); filter: brightness(1); }
  45% { transform: scale(1.12); filter: brightness(1.2); }
  100% { transform: scale(1); filter: brightness(1); }
}

@keyframes sparkBurst {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.7);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--spark-x), var(--spark-y)) scale(0.2);
  }
}

.resume-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

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

.resume-analysis-title {
  margin: 0;
}

.resume-analysis-name {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
}

.resume-analysis-contact {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.resume-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.profile-card-wide { grid-column: 1 / -1; }
.profile-card-count { font-size:.78rem; font-weight:400; color:var(--muted); margin-left:.4rem; }
.exp-analysis-entry { padding:.7rem 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.exp-analysis-entry:last-child { border-bottom:none; padding-bottom:0; }
.exp-analysis-entry:first-child { padding-top:0; }
.exp-analysis-header { display:flex; justify-content:space-between; align-items:baseline; gap:.5rem; flex-wrap:wrap; }
.exp-analysis-role { font-weight:600; font-size:.92rem; color:var(--text,#e2e8f0); }
.exp-analysis-date { font-size:.8rem; color:var(--muted); white-space:nowrap; font-style:italic; }
.exp-analysis-company { font-size:.82rem; color:var(--muted); margin:.15rem 0 .4rem; }
.exp-analysis-bullets { margin:.3rem 0 0 1rem; padding:0; list-style:disc; }
.exp-analysis-bullets li { font-size:.82rem; color:var(--muted); margin-bottom:.2rem; line-height:1.45; }

.resume-detail-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.resume-detail-list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.resume-job-match-section {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.5));
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.2);
}

.resume-job-match-header h3 {
  margin: 0.3rem 0 0.45rem;
  font-size: 1.4rem;
}

.resume-job-match-header p {
  margin: 0;
  color: var(--muted);
}

.resume-job-match-panel {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.resume-job-match-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.resume-job-match-form textarea {
  min-height: 260px;
  resize: vertical;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  padding: 0.95rem 1rem;
  font: inherit;
  line-height: 1.5;
  box-sizing: border-box;
}

.resume-job-match-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.resume-job-match-form textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

.resume-job-match-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.resume-job-match-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.resume-job-match-output {
  min-height: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.55);
}

.resume-job-match-output.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.resume-job-match-empty {
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.resume-job-match-summary {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.resume-job-match-score {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.16), rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(52, 211, 153, 0.18);
  text-align: center;
}

.resume-job-match-score-value {
  font-size: 2.35rem;
  font-weight: 800;
  color: #6ee7b7;
  line-height: 1;
}

.resume-job-match-score-label {
  margin-top: 0.45rem;
  color: #dbeafe;
  font-weight: 700;
}

.resume-job-match-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.resume-job-match-breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.resume-job-match-breakdown-row strong {
  color: var(--text);
}

.resume-job-match-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.resume-job-match-next {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(148, 163, 184, 0.06);
}

.resume-job-match-next h4 {
  margin: 0 0 0.65rem;
}

.resume-metric-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem;
}

.resume-metric-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.resume-metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.resume-block {
  margin-top: 1rem;
}

.resume-block h4 {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
}

.resume-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resume-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.84rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.resume-pill.skill {
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.resume-pill.role {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fcd34d;
}

.resume-pill.org {
  border-color: rgba(96, 165, 250, 0.45);
  color: #93c5fd;
}

.resume-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.resume-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
}

.resume-cert-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem;
}

.resume-cert-card-detected {
  background: rgba(255, 255, 255, 0.96);
}

.resume-cert-card-detected .resume-cert-name {
  color: #10203a;
}

.resume-cert-card-detected .resume-cert-meta {
  color: #5b6577;
}

.resume-cert-name {
  font-weight: 700;
  margin: 0 0 0.35rem 0;
}

.resume-cert-name a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.45);
}

.resume-cert-name a:hover {
  color: #7dd3fc;
  border-bottom-color: rgba(125, 211, 252, 0.7);
}

.resume-cert-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.5rem 0;
}

.resume-cert-platform {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(125, 211, 252, 0.3);
  vertical-align: middle;
  margin-left: 0.3rem;
}

.resume-cert-india-note {
  font-size: 0.8rem;
  color: #86efac;
  margin: 0 0 0.5rem 0;
  padding: 0.25rem 0.5rem;
  background: rgba(134, 239, 172, 0.07);
  border-left: 2px solid rgba(134, 239, 172, 0.4);
  border-radius: 0 4px 4px 0;
}

.resume-level {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.resume-level.foundation {
  background: rgba(250, 204, 21, 0.14);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.resume-level.advanced {
  background: rgba(52, 211, 153, 0.14);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.resume-level.intermediate {
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.resume-level.expert {
  background: rgba(168, 85, 247, 0.14);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.resume-loading,
.resume-error {
  color: var(--muted);
  font-size: 0.95rem;
}

.resume-error {
  color: #fda4af;
}

@media (max-width: 720px) {
  .resume-analysis-header,
  .resume-detail-grid,
  .resume-job-match-panel,
  .resume-job-match-summary,
  .resume-job-match-detail-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .resume-match-list {
    grid-template-columns: 1fr;
  }

  .resume-analysis-header {
    gap: 0.65rem;
  }

  .resume-job-match-output {
    padding: 0.9rem;
  }

  .resume-job-match-breakdown {
    grid-template-columns: 1fr;
  }

  .resume-job-match-score {
    align-items: flex-start;
  }
}

@media (min-width: 721px) and (max-width: 1199px) {
  .resume-match-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.resume-history-section {
  margin-top: 1.75rem;
  text-align: left;
}

.resume-history-header {
  margin-bottom: 1rem;
}

.resume-history-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.resume-history-header p {
  margin: 0;
  color: var(--muted);
}

.resume-history-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.resume-history-card,
.resume-history-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.9rem;
}

.resume-history-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.resume-history-card strong,
.resume-history-item strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.resume-history-card p {
  margin: 0;
  color: var(--muted);
}

.resume-history-list {
  display: grid;
  gap: 0.8rem;
}

.resume-history-item-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.resume-history-item-top h4 {
  margin: 0;
  font-size: 0.98rem;
}

.resume-history-stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.resume-history-stats span {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.8rem;
}

.resume-history-item.is-latest {
  border-color: rgba(125, 211, 252, 0.45);
}

.insights-section {
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.insights-section h2 {
  margin-bottom: 0.45rem;
}

.insights-dashboard {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.insights-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(30, 41, 59, 0.78));
}

.insights-hero h3 {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.55rem;
}

.insights-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.85rem;
}

.insights-summary-card,
.insights-panel {
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  min-width: 0;
}

.insights-summary-card strong {
  display: block;
  margin: 0.25rem 0 0.45rem;
  font-size: 1.7rem;
  color: var(--accent);
}

.insights-summary-card p,
.insights-panel p {
  margin: 0;
  color: var(--muted);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.95rem;
}

.insights-panel h4 {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
}

.insights-panel-wide {
  grid-column: 1 / -1;
}

.insight-role-list,
.insight-gap-list,
.insight-action-list {
  display: grid;
  gap: 0.75rem;
}

.insight-action-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.insight-role-card,
.insight-action-card {
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.insight-action-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}

.insight-role-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.insight-role-card-top h4 {
  margin: 0.2rem 0 0;
  font-size: 1rem;
}

.insight-role-card-top strong {
  color: var(--accent);
  font-size: 1.35rem;
}

.insight-role-card p,
.insight-action-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.insight-gap-chip {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(148, 163, 184, 0.09);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.insight-gap-chip strong {
  display: block;
}

.insight-gap-chip small {
  color: var(--muted);
}

.insight-action-button,
.insight-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
}

.insight-inline-link {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.insight-inline-link:hover {
  color: #9ae6ff;
}

body.light-mode .insight-inline-link {
  color: #0f62fe;
}

.insights-empty {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(148, 163, 184, 0.05);
}

.insights-empty h4 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.insights-empty p {
  margin: 0;
  color: var(--muted);
}

/* ── Dashboard progress bars ──────────────────────────────────────────────── */

.dash-progress-wrap {
  margin-top: 0.65rem;
}

.dash-progress-wrap.dash-progress-sm {
  margin-top: 0.5rem;
}

.dash-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.dash-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dash-progress-wrap.dash-progress-sm .dash-progress-track {
  height: 5px;
}

.dash-progress-fill {
  height: 100%;
  border-radius: 999px;
  width: var(--dash-pct, 0%);
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.dash-progress-fill--green {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.dash-progress-fill--blue {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.dash-progress-fill--amber {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* ── Milestone strip ──────────────────────────────────────────────────────── */

.dash-milestone-strip {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem;
}

.dash-milestone-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.dash-milestone-strip-title {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.dash-milestone-strip-title i {
  color: #fbbf24;
  margin-right: 0.4rem;
}

.dash-milestone-strip-count {
  font-size: 0.8rem;
  color: var(--muted);
}

.dash-milestone-list {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dash-milestone-list::-webkit-scrollbar {
  display: none;
}

.dash-milestone {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 88px;
  padding: 0.7rem 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(148, 163, 184, 0.06);
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
}

.dash-milestone:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.dash-milestone--earned {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(52, 211, 153, 0.35);
}

.dash-milestone--locked {
  opacity: 0.45;
  filter: grayscale(0.6);
}

.dash-milestone-icon {
  font-size: 1.3rem;
}

.dash-milestone--earned .dash-milestone-icon {
  color: #34d399;
}

.dash-milestone--locked .dash-milestone-icon {
  color: var(--muted);
}

.dash-milestone-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}

.dash-milestone-desc {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
  text-align: center;
}

.dash-milestone-mini-bar {
  width: 56px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.dash-milestone-mini-fill {
  height: 100%;
  border-radius: 999px;
  width: var(--dash-pct, 0%);
  background: #34d399;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Card micro-interactions ──────────────────────────────────────────────── */

.insights-summary-card,
.insights-panel {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.insights-summary-card:hover,
.insights-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.18);
}

.insight-role-card,
.insight-action-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.insight-role-card:hover,
.insight-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.14);
}

.insight-gap-chip {
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.insight-gap-chip:hover {
  transform: translateX(4px);
  background: rgba(148, 163, 184, 0.14);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.insight-action-button,
.insight-action-link {
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.insight-action-button:hover,
.insight-action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ── Mobile-first layout improvements ───────────────────────────────────────
   Base (≤479px): everything single-column, full-width, generous touch targets
   Tablet (480–767px): 2-col summary grid, cards side by side
   Desktop (≥768px): existing 3-col+ layouts
   ───────────────────────────────────────────────────────────────────────── */

.insights-summary-grid {
  grid-template-columns: 1fr 1fr;
}

.insights-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .insights-summary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .insights-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Touch-friendly action buttons on small screens */
@media (max-width: 479px) {
  .insight-action-button,
  .insight-action-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }

  .insight-gap-chip {
    min-height: 48px;
  }

  .dash-milestone {
    width: 80px;
    padding: 0.6rem 0.4rem 0.55rem;
  }

  .insights-summary-card strong {
    font-size: 1.45rem;
  }
}

.profile-note {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 700px) {
  .resume-analysis-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resume-history-item-top {
    flex-direction: column;
  }

  .rb-row-2,
  .rb-row-3 {
    grid-template-columns: 1fr;
  }

  .workspace-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .workspace-form,
  .workspace-output {
    width: 100%;
    min-width: 0;
  }

  .workspace-output {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
    padding-top: 1rem;
  }

  .workspace-output-header {
    flex-direction: column;
  }

  .profile-grid,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .insights-hero {
    flex-direction: column;
  }

  .insights-summary-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .prep-tiles {
    grid-template-columns: 1fr;
  }

  .workspace-section {
    padding: 1.1rem 0 2.8rem;
  }

  .workspace-section-header {
    margin-bottom: 1rem;
  }

  .workspace-section-header h2 {
    font-size: 1.55rem;
  }

  .workspace-panel {
    padding: 1rem;
    gap: 1rem;
    border-radius: 16px;
  }

  .workspace-form {
    gap: 0.85rem;
  }

  .workspace-field input,
  .workspace-field select {
    padding: 0.9rem 0.95rem;
    font-size: 0.92rem;
  }

  .quick-guides-section {
    padding: 0.8rem 0 2.2rem;
  }

  .quick-guides-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .resource-article-card {
    padding: 1rem;
    border-radius: 14px;
  }
}

.quick-guides-section {
  padding: 1rem 0 3rem;
}

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

.resource-article-card {
  background: var(--card-gradient);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 24px rgba(2,6,23,0.18);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-article-card h3 {
  margin: 0 0 0.75rem 0;
  font-size: 1.15rem;
}

.resource-article-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.resource-article-card .btn-secondary {
  align-self: flex-start;
  margin-top: auto;
}

body.light-mode .resource-article-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}

@media (max-width: 980px) {
  .quick-guides-grid {
    grid-template-columns: 1fr;
  }

  .prep-plans-list {
    grid-template-columns: 1fr;
  }
}

/* Workspace Sections */
.workspace-section {
  padding: 1.5rem 0 4rem;
}

.workspace-section-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.workspace-section-header h2 {
  margin: 0.35rem 0 0.6rem;
  font-size: 2rem;
}

.workspace-panel {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 1.25rem;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(30, 41, 59, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.22);
}

.workspace-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workspace-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.workspace-help {
  display: block;
  margin-top: -0.05rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.workspace-field span {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.workspace-field input,
.workspace-field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
}

.workspace-field select {
  color-scheme: dark;
}

.workspace-field select option {
  background: #0f1724;
  color: #e6eef8;
}

.workspace-field input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.workspace-field input:focus,
.workspace-field select:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.workspace-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.workspace-actions .btn-primary {
  grid-column: 1 / -1;
}

.btn-role-questions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.15;
  min-width: 0;
  max-width: 100%;
  padding: 0.8rem 1rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(168, 85, 247, 0.2)),
    rgba(15, 23, 42, 0.82);
  color: #e2f1ff;
  box-shadow:
    0 12px 28px rgba(2, 6, 23, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-resume-fill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.15;
  min-width: 0;
  max-width: 100%;
  padding: 0.8rem 1rem;
  width: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(14, 165, 233, 0.18)),
    rgba(15, 23, 42, 0.82);
  color: #e9fff0;
  box-shadow:
    0 12px 28px rgba(2, 6, 23, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-resume-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.16) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-resume-fill:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow:
    0 16px 34px rgba(2, 6, 23, 0.38),
    0 0 0 1px rgba(34, 197, 94, 0.14);
}

.btn-resume-fill:hover::after {
  transform: translateX(120%);
}

.btn-resume-fill:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(34, 197, 94, 0.2),
    0 16px 34px rgba(2, 6, 23, 0.38);
}

.btn-role-questions::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-role-questions:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow:
    0 16px 34px rgba(2, 6, 23, 0.4),
    0 0 0 1px rgba(56, 189, 248, 0.15);
}

.btn-role-questions:hover::after {
  transform: translateX(120%);
}

.btn-role-questions:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(56, 189, 248, 0.22),
    0 16px 34px rgba(2, 6, 23, 0.4);
}

@media (max-width: 640px) {
  .workspace-actions {
    grid-template-columns: 1fr;
  }

  .workspace-actions .btn-role-questions,
  .workspace-actions .btn-resume-fill,
  .workspace-actions .btn-primary {
    width: 100%;
  }
}

.workspace-output {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 1.25rem;
}

.workspace-output-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.workspace-eyebrow {
  display: inline-block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.workspace-output h3 {
  margin: 0;
  font-size: 1.45rem;
}

.workspace-output p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.workspace-placeholder {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
}

.workspace-placeholder h3 {
  margin: 0;
}

.profile-badge-row,
.profile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.profile-badge,
.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.38rem 0.65rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1;
}

.profile-badge-link {
  text-decoration: none;
}

.profile-badge-link:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.32);
}

.profile-chip.is-match {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.profile-chip.is-gap {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  background: rgba(15, 23, 42, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem;
  min-height: auto;
  box-sizing: border-box;
  overflow: hidden;
}

.profile-grid .profile-card {
  height: 100%;
}

.profile-card h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.profile-main {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.profile-list {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.profile-list li {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.45;
}

.profile-list a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-fact-stack {
  display: grid;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.profile-fact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
  overflow: hidden;
}

.profile-fact span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.profile-fact strong,
.profile-fact a,
.profile-fact small,
.profile-fact p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-fact strong {
  font-size: 0.95rem;
  color: var(--text);
}

.profile-fact small {
  color: var(--muted);
  line-height: 1.45;
}

.profile-fact a,
.profile-fact p {
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.profile-fact-summary {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.profile-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.profile-source-row a {
  color: var(--accent);
  text-decoration: none;
}

.profile-source-row a:hover {
  text-decoration: underline;
}

.profile-range-row {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.prep-question-list {
  display: grid;
  gap: 0.75rem;
}

.prep-question-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(148, 163, 184, 0.08);
  padding: 0.85rem 0.95rem;
}

.prep-question-index {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.prep-question-card p {
  margin: 0;
  color: var(--text);
}

.prep-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.prep-tiles .profile-card {
  padding: 0.9rem;
}

.prep-tiles .profile-card {
  min-height: auto;
}

.prep-tiles .profile-card .profile-list {
  display: grid;
  gap: 0.45rem;
}

.prep-tiles .profile-card h4 {
  margin-bottom: 0.55rem;
}

.prep-tiles .profile-card p {
  color: var(--muted);
  margin-top: 0;
}

body.light-mode .workspace-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.95));
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-mode .workspace-field input,
body.light-mode .workspace-field select,
body.light-mode .profile-card,
body.light-mode .prep-question-card {
  background: rgba(255, 255, 255, 0.9);
}

body.light-mode .workspace-field select,
body.light-mode .curated-search select,
body.light-mode .resume-builder-form select {
  color-scheme: light;
}

body.light-mode .workspace-field select option,
body.light-mode .curated-search select option,
body.light-mode .resume-builder-form select option {
  background: #ffffff;
  color: #212529;
}

@media (max-width: 920px) {
  .search-signal-row {
    grid-template-columns: 1fr;
  }
}

body.light-mode .workspace-output,
body.light-mode .workspace-panel {
  border-color: rgba(15, 23, 42, 0.1);
}

body.light-mode .profile-badge,
body.light-mode .profile-chip {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

body.light-mode .profile-chip.is-match {
  color: #166534;
}

body.light-mode .profile-chip.is-gap {
  color: #92400e;
}

body.light-mode .workspace-field span,
body.light-mode .prep-question-card p,
body.light-mode .profile-card h4,
body.light-mode .prep-tiles .profile-card p {
  color: var(--text);
}

body.light-mode .profile-card {
  overflow: hidden;
}

/* Insights Section */
.insights-section {
  padding: 4rem 0;
}

.insights-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

@media (min-width: 1024px) {
  .insights-section h2 {
    font-size: 2.5rem;
  }
}

.insights-tabs {
  display: flex;
  gap: 0.5rem;
  margin: 2rem 0;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.insight-tab {
  background: none;
  border: none;
  color: var(--muted);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.insight-tab:hover {
  color: white;
}

.insight-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.insight-content {
  display: none;
  padding: 2rem 0;
  animation: fadeIn 0.4s ease;
}

.insight-content.active {
  display: block;
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.trend-card {
  background: var(--card-gradient);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.trend-card h4 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.trend-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.salary-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.salary-card {
  background: var(--card-gradient);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.salary-card h4 {
  margin: 0 0 1rem 0;
  color: var(--accent);
}

.salary-range {
  margin: 0.5rem 0;
  padding: 0.5rem;
  background: var(--glass);
  border-radius: 6px;
  font-size: 0.9rem;
}

.skills-list {
  max-width: 600px;
  margin: 0 auto;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-name {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.skill-bar {
  background: rgba(255,255,255,0.1);
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress {
  background: var(--primary-gradient);
  height: 100%;
  border-radius: 10px;
  transition: width 1s ease;
}

/* Community/Testimonials */
.community-section {
  padding: 4rem 0;
}

.community-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
}

@media (min-width: 1024px) {
  .community-section h2 {
    font-size: 2.5rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.testimonial-card {
  background: var(--card-gradient);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(2,6,23,0.3);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

.testimonial-author strong {
  display: block;
  margin-bottom: 0.25rem;
  color: white;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

.referral-section {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--card-gradient);
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.referral-section h3 {
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.referral-section p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--card);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  background: transparent;
  border: 0;
  float: right;
  font-size: 2rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.modal-close:hover {
  color: white;
}

.modal-close:focus-visible {
  color: white;
  background: rgba(255,255,255,0.08);
}

body.light-mode .modal-close {
  color: #334155;
}

body.light-mode .modal-close:focus-visible {
  color: #0f1724;
  background: rgba(15, 23, 36, 0.08);
}

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-content label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-content label span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem;
  border-radius: 8px;
  color: inherit;
  font-family: inherit;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
}

.social-icons a {
  color: var(--muted);
  font-size: 1.15rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.trust-page .page-intro,
.trust-page .trust-panel {
  margin-bottom: 1.5rem;
}

.trust-page .page-intro {
  padding-bottom: 1rem;
}

.trust-page .trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.trust-page .trust-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  text-align: left;
}

.trust-page .trust-card h2,
.trust-page .trust-card h3 {
  margin-top: 0;
}

.trust-page .trust-card p,
.trust-page .trust-card li {
  color: var(--muted);
  line-height: 1.7;
}

.trust-page .trust-list {
  margin: 0;
  padding-left: 1.15rem;
}

.trust-page .trust-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}

.trust-page .trust-contact a {
  color: inherit;
  word-break: break-word;
}

.trust-page .trust-contact p {
  margin: 0;
}

body.light-mode .footer-links a,
body.light-mode .social-icons a {
  color: #495057;
}

body.light-mode .trust-page .trust-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}

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

/* Responsive Breakpoints */

/* Desktop Large (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding: 0 3rem;
  }
}

/* Tablet - Large (980px - 1199px) */
@media (max-width:1199px) and (min-width: 980px){
  .curated-search { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet (768px - 979px) */
@media (max-width:979px){
  .curated-search { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-media img { height: 220px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form textarea { grid-column: auto; }
  .container { padding: 0 1.5rem; }
}

/* Mobile Large (521px - 767px) */
@media (max-width:767px){
  .whyfast-section h2 { font-size: 1.5rem; }
  .whyfast-point { padding: 1.5rem; }
  section h2 { font-size: 1.75rem !important; }
  .container { padding: 0 1rem; }
}

/* Mobile (max 520px) */
@media (max-width:520px){
  .curated-search { 
    grid-template-columns: 1fr; 
    padding: 1.5rem;
  }
  .header-inner {
    gap: .5rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .logo {
    font-size: 1rem;
  }
  .nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }
  .hero h1 { font-size: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .search-actions {
    flex-direction: column;
  }
  .resume-match-header {
    flex-direction: column;
  }
  .resume-match-meta {
    text-align: left;
    max-width: none;
  }
  .tracker-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-alert-card-header,
  .search-alert-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  section h2 { font-size: 1.5rem !important; }
  .whyfast-section h2 { font-size: 1.3rem !important; }
  .whyfast-point { padding: 1rem; }
  .container { padding: 0 1rem; }
}

@media (max-width: 760px) {
  .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .momentum-strip {
    grid-template-columns: 1fr;
  }

  .home-continue-grid,
  .module-grid-v2 {
    grid-template-columns: 1fr;
  }

  .search-link-results,
  #results {
    grid-template-columns: 1fr;
  }
}

.search-link-results { 
  grid-column: 1 / -1; 
}

/* ============================================
   CUSTOM SELECT — Android dark dropdown
   ============================================ */
.cs-wrapper {
  position: relative;
  width: 100%;
  display: block;
}
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 0.95rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 44px;
  width: 100%;
  box-sizing: border-box;
  user-select: none;
}
.cs-wrapper.cs-disabled .cs-trigger {
  opacity: 0.5;
  cursor: not-allowed;
}
.cs-wrapper.cs-open .cs-trigger {
  border-color: rgba(124, 92, 255, 0.5);
}
.cs-arrow {
  font-size: 0.75rem;
  opacity: 0.6;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
}
.cs-wrapper.cs-open .cs-arrow {
  transform: rotate(180deg);
}
.cs-trigger-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-dropdown {
  display: none;
  position: fixed;
  background: #1a1f2e;
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: 8px;
  z-index: 99999;
  max-height: 260px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.cs-dropdown.cs-portal-open {
  display: block;
}
.cs-item {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  color: #e0e6f0;
  cursor: pointer;
}
.cs-item:hover {
  background: rgba(124, 92, 255, 0.15);
  color: #ffffff;
}
.cs-item.cs-selected {
  color: #a78bfa;
  font-weight: 600;
}
.cs-item.cs-placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}
.cs-group-label {
  padding: 0.4rem 1rem 0.2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}

/* ── Subscribe bar ── */
#sw-subscribe-bar {
  background: linear-gradient(135deg, #1a2332 0%, #1e2d42 100%);
  border-top: 1px solid rgba(215,218,52,0.18);
  border-bottom: 1px solid rgba(215,218,52,0.08);
  padding: 2rem 1.5rem;
}
.sw-subscribe-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.sw-subscribe-copy {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.sw-subscribe-copy strong {
  font-size: 1.05rem;
  color: #d7da34;
}
.sw-subscribe-copy span {
  font-size: 0.875rem;
  color: #b3c0d4;
}
.sw-subscribe-form {
  display: flex;
  gap: 0.5rem;
  flex: 1 1 300px;
}
.sw-subscribe-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #e8edf5;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.sw-subscribe-input:focus {
  border-color: #d7da34;
}
.sw-subscribe-btn {
  padding: 0.6rem 1.2rem;
  background: #d7da34;
  color: #0f1724;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.sw-subscribe-btn:disabled { opacity: 0.6; cursor: default; }
.sw-subscribe-btn:hover:not(:disabled) { opacity: 0.88; }
.sw-subscribe-msg {
  flex-basis: 100%;
  font-size: 0.85rem;
  min-height: 1.2em;
  margin: 0;
}
.sw-subscribe-msg.success { color: #4ade80; }
.sw-subscribe-msg.error   { color: #f87171; }
@media (max-width: 600px) {
  .sw-subscribe-form { flex-direction: column; }
  .sw-subscribe-btn  { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS — animated scanner + snake connector + goal picker
   ═══════════════════════════════════════════════════════════════ */
.hiw-section {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 700px 280px at 50% 0%, rgba(215,218,52,0.07), transparent 70%),
    radial-gradient(ellipse 500px 200px at 80% 100%, rgba(77,208,225,0.06), transparent 70%);
  position: relative;
  overflow: hidden;
}

/* Header */
.hiw-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.hiw-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0.4rem 0 0.75rem;
  background: linear-gradient(90deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hiw-sub {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* ── SCANNER STAGE ─────────────────────────────────────────── */
.hiw-scanner-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 4rem;
  min-height: 180px;
}

/* Ghost resume */
.hiw-resume-ghost {
  position: relative;
  width: 180px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
  flex-shrink: 0;
}
.hiw-ghost-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  animation: ghostPulse 2.4s ease-in-out infinite;
}
.hiw-bar-header  { height: 14px; width: 70%; background: rgba(215,218,52,0.25); animation-delay: 0s; }
.hiw-bar-short   { width: 45%; animation-delay: 0.2s; }
.hiw-bar-medium  { width: 75%; animation-delay: 0.4s; }
@keyframes ghostPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* Scan beam */
.hiw-scan-beam {
  position: absolute;
  left: calc(50% - 90px);   /* centred on the ghost resume */
  width: 180px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 18px 6px rgba(215,218,52,0.35);
  animation: scanDown 2.4s cubic-bezier(0.4,0,0.6,1) infinite;
  top: 1.2rem;
  pointer-events: none;
}
@keyframes scanDown {
  0%   { transform: translateY(0);    opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(148px); opacity: 0; }
}

/* Tag cloud */
.hiw-tag-cloud {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}
.hiw-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: rgba(215,218,52,0.12);
  border: 1px solid rgba(215,218,52,0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-16px) scale(0.85);
  animation: tagAppear 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
  animation-delay: var(--d, 0.5s);
  animation-iteration-count: infinite;
  animation-duration: 2.4s;
}
.hiw-tag-score {
  background: rgba(77,208,225,0.12);
  border-color: rgba(77,208,225,0.35);
  color: #4dd0e1;
}
@keyframes tagAppear {
  0%   { opacity: 0; transform: translateX(-16px) scale(0.85); }
  40%  { opacity: 1; transform: translateX(0) scale(1.05); }
  60%  { transform: translateX(0) scale(1); }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(0) scale(1); }
}

/* ── SNAKE CONNECTOR + STEPS ───────────────────────────────── */
.hiw-steps-wrap {
  position: relative;
  margin-bottom: 3.5rem;
}

.hiw-snake {
  position: absolute;
  top: 52px;
  left: 0; right: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  overflow: visible;
}
.hiw-snake-path {
  stroke: rgba(215,218,52,0.25);
  stroke-width: 2;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
  filter: drop-shadow(0 0 6px rgba(215,218,52,0.3));
}
.hiw-snake-path.hiw-drawn {
  stroke-dashoffset: 0;
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hiw-step.hiw-visible {
  opacity: 1;
  transform: translateY(0);
}
.hiw-step:nth-child(2) { transition-delay: 0.18s; }
.hiw-step:nth-child(3) { transition-delay: 0.36s; }

.hiw-step-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(215,218,52,0.15), rgba(77,208,225,0.08));
  border: 1.5px solid rgba(215,218,52,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.1rem;
  z-index: 1;
}
.hiw-step-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(215,218,52,0.25);
  animation: stepPulse 2s ease-out infinite;
}
@keyframes stepPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
.hiw-step:nth-child(2) .hiw-step-pulse { animation-delay: 0.66s; }
.hiw-step:nth-child(3) .hiw-step-pulse { animation-delay: 1.33s; }

.hiw-step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 0.4rem;
}
.hiw-step-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 0.8rem;
}
.hiw-step-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.hiw-step-link:hover { gap: 0.55rem; }

/* ── GOAL PICKER ───────────────────────────────────────────── */
.hiw-goal-wrap {
  text-align: center;
  padding: 2.2rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}
.hiw-goal-wrap.hiw-visible {
  opacity: 1;
  transform: translateY(0);
}
.hiw-goal-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.hiw-goal-label i { color: var(--accent); }
.hiw-goal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.hiw-goal-card {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.35rem;
  background: rgba(215,218,52,0.07);
  border: 1.5px solid rgba(215,218,52,0.2);
  border-radius: 40px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.hiw-goal-card i { color: var(--accent); font-size: 0.95rem; }
.hiw-goal-card:hover {
  background: rgba(215,218,52,0.14);
  border-color: rgba(215,218,52,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(215,218,52,0.12);
}

/* ── COMPACT SCANNER (inside hero panel) ───────────────────── */
.hiw-panel-scanner {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hiw-scanner-compact {
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 0;
  min-height: unset;
}
.hiw-scanner-compact .hiw-resume-ghost {
  width: 140px;
}
.hiw-scanner-compact .hiw-scan-beam {
  left: calc(50% - 70px);
  width: 140px;
}
.hiw-scanner-compact .hiw-tag-cloud {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.hiw-scanner-compact .hiw-tag {
  font-size: 0.72rem;
  padding: 0.22rem 0.6rem;
}

/* ── INLINE HOW IT WORKS (inside hero section) ─────────────── */
.hiw-inline-section {
  margin-top: 4rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hiw-header-inline {
  margin-bottom: 3rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  .hiw-steps { grid-template-columns: 1fr; }
  .hiw-snake { display: none; }
  .hiw-scanner-wrap { flex-direction: column; gap: 1.5rem; }
  .hiw-scan-beam { left: calc(50% - 90px); }
  .hiw-goal-grid { flex-direction: column; align-items: stretch; }
  .hiw-goal-card { justify-content: center; }
  .hiw-panel-scanner { display: none; } /* scanner hides on mobile — hero panel not shown */
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO ANIMATIONS — intent-matched per-page panels
   ═══════════════════════════════════════════════════════════════ */

/* Base: extends .page-hero-media box (already has border/shadow/bg) */
.page-hero-media.page-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.6rem;
  min-height: 150px;
  gap: 0.55rem;
}

/* ── Dashboard grid (mirrors resume/tracker/news layout) ─────── */
.page-dashboard .page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0.85rem;
  align-items: center;
  text-align: left;
}
.page-dashboard .page-intro .page-kicker,
.page-dashboard .page-intro h1,
.page-dashboard .page-intro .section-desc { grid-column: 1; justify-self: start; }
.page-dashboard .page-intro .page-hero-media { display: block; grid-column: 2; grid-row: 1 / span 3; }
.page-dashboard .page-intro h1 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2.35rem);
  margin: 0.15rem 0 0.25rem;
  background: linear-gradient(60deg, #f8fafc, var(--page-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── RESUME: ATS score ring + skill tags ─────────────────────── */
.phanim-ring-wrap {
  position: relative;
  width: 68px; height: 68px;
  flex-shrink: 0;
}
.phanim-ring-svg {
  width: 68px; height: 68px;
  transform: rotate(-90deg);
}
.phanim-ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 5; }
.phanim-ring-fg {
  fill: none;
  stroke: var(--page-accent);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 175.9;
  stroke-dashoffset: 175.9;
  filter: drop-shadow(0 0 5px var(--page-accent));
  animation: phRingFill 3s cubic-bezier(0.4,0,0.2,1) 0.2s infinite;
}
@keyframes phRingFill {
  0%  { stroke-dashoffset: 175.9; }
  55% { stroke-dashoffset: 28.1; }
  78% { stroke-dashoffset: 28.1; }
  100%{ stroke-dashoffset: 175.9; }
}
.phanim-ring-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  line-height: 1;
}
.phanim-ring-pct { font-size: 0.95rem; font-weight: 800; color: #f8fafc; }
.phanim-ring-sub { font-size: 0.58rem; font-weight: 600; color: var(--muted); letter-spacing: 0.05em; margin-top: 2px; }

.phanim-tag-row { display: flex; flex-wrap: wrap; gap: 0.28rem; justify-content: center; }
.phanim-tag {
  display: inline-block;
  padding: 0.16rem 0.45rem;
  font-size: 0.66rem; font-weight: 600;
  border-radius: 20px;
  background: rgba(215,218,52,0.11);
  border: 1px solid rgba(215,218,52,0.28);
  color: var(--accent);
  opacity: 0;
  animation: phTagPop 2.8s cubic-bezier(0.34,1.56,0.64,1) var(--td, 0.5s) infinite;
}
.phanim-tag-hi {
  background: rgba(77,208,225,0.1);
  border-color: rgba(77,208,225,0.28);
  color: #4dd0e1;
}
@keyframes phTagPop {
  0%  { opacity: 0; transform: scale(0.75); }
  18% { opacity: 1; transform: scale(1.05); }
  30% { transform: scale(1); }
  75% { opacity: 1; }
  100%{ opacity: 0; }
}

/* ── TRACKER: Kanban pipeline ───────────────────────────────── */
.phanim-kanban { display: flex; gap: 0.3rem; width: 100%; }
.phanim-col { flex: 1; display: flex; flex-direction: column; gap: 0.22rem; }
.phanim-col-lbl {
  font-size: 0.52rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 0.12rem;
}
.phanim-kcard {
  padding: 0.22rem 0.28rem;
  font-size: 0.6rem; font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 4px;
  opacity: 0; transform: translateY(5px);
  animation: phCardIn 3.5s ease var(--td, 0.2s) infinite;
}
@keyframes phCardIn {
  0%  { opacity: 0; transform: translateY(5px); }
  15% { opacity: 1; transform: translateY(0); }
  70% { opacity: 1; }
  100%{ opacity: 0; }
}
.phanim-kcard-active {
  border-color: rgba(215,218,52,0.45);
  color: var(--accent);
  animation: phCardActive 3.5s ease var(--td, 0.9s) infinite;
}
@keyframes phCardActive {
  0%  { opacity: 0; transform: translateY(5px); }
  20% { opacity: 1; transform: translateY(0); border-color: rgba(215,218,52,0.6); }
  55% { box-shadow: 0 0 8px rgba(215,218,52,0.2); }
  70% { opacity: 1; }
  100%{ opacity: 0; }
}
.phanim-kcard-offer {
  border-color: rgba(74,222,128,0.4);
  color: #4ade80;
  animation: phCardOffer 3.5s ease var(--td, 1.5s) infinite;
}
@keyframes phCardOffer {
  0%  { opacity: 0; transform: translateY(5px); }
  25% { opacity: 1; transform: translateY(0); box-shadow: 0 0 10px rgba(74,222,128,0.25); }
  70% { opacity: 1; }
  100%{ opacity: 0; }
}

/* ── NEWS: Headline ticker ──────────────────────────────────── */
.phanim-nrow {
  display: flex; align-items: flex-start;
  gap: 0.38rem; width: 100%;
  font-size: 0.63rem; color: #cbd5e1;
  opacity: 0; transform: translateX(-8px);
  animation: phNrowIn 3.5s ease var(--td, 0.3s) infinite;
}
.phanim-nrow i { flex-shrink: 0; font-size: 0.63rem; margin-top: 1px; }
.phanim-nrow:nth-child(1) i { color: #60a5fa; }
.phanim-nrow:nth-child(2) i { color: #4ade80; }
.phanim-nrow:nth-child(3) i { color: #f87171; }
.phanim-nrow span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes phNrowIn {
  0%  { opacity: 0; transform: translateX(-8px); }
  15% { opacity: 1; transform: translateX(0); }
  70% { opacity: 1; }
  100%{ opacity: 0; }
}

/* ── SEARCH: Animated results (full-width panel) ────────────── */
.phanim-search-wrap {
  width: 100%;
  padding: 1.4rem min(3rem, 4vw);
  display: flex; flex-direction: column;
  gap: 0.8rem;
  position: relative; z-index: 2;
  min-height: 180px;
}
.phanim-sbar {
  display: flex; align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  color: #e2e8f0;
}
.phanim-sbar i { color: #60a5fa; flex-shrink: 0; }
.phanim-squery {
  flex: 1;
  font-size: 0.88rem; font-weight: 500;
  color: #e2e8f0;
  overflow: hidden; white-space: nowrap;
  width: 0;
  animation: phTypeOut 5s steps(38, end) 0.4s infinite;
}
@keyframes phTypeOut {
  0%  { width: 0; }
  55% { width: 100%; }
  80% { width: 100%; }
  100%{ width: 0; }
}
.phanim-scursor { color: #60a5fa; animation: phBlink 0.8s step-end infinite; }
@keyframes phBlink { 0%,100%{opacity:1} 50%{opacity:0} }

.phanim-sresult {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  opacity: 0; transform: translateY(8px);
  animation: phResultIn 5s ease var(--td, 0.6s) infinite;
}
.phanim-sresult > div { display: flex; flex-direction: column; gap: 0.12rem; }
.phanim-sresult strong { font-size: 0.86rem; color: #e2e8f0; font-weight: 600; }
.phanim-sresult span  { font-size: 0.73rem; color: var(--muted); }
@keyframes phResultIn {
  0%  { opacity: 0; transform: translateY(8px); }
  15% { opacity: 1; transform: translateY(0); }
  75% { opacity: 1; }
  100%{ opacity: 0; }
}
.phanim-smatch {
  font-size: 0.76rem; font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  white-space: nowrap; flex-shrink: 0;
}
.phanim-smatch-hi {
  background: rgba(74,222,128,0.1);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.22);
}

/* ── DASHBOARD: Stat counters + animated bars ───────────────── */
.phanim-stats { display: flex; flex-direction: column; gap: 0.48rem; width: 100%; }
.phanim-stat  { display: flex; flex-direction: column; gap: 0.18rem; }
.phanim-stat-num   { font-size: 1.05rem; font-weight: 800; color: #f8fafc; line-height: 1; }
.phanim-stat-label { font-size: 0.58rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.phanim-bar-wrap   { height: 3px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.phanim-bar-fill {
  height: 100%;
  background: var(--page-accent, var(--accent));
  border-radius: 3px; width: 0;
  animation: phBarGrow 4s cubic-bezier(0.4,0,0.2,1) infinite;
}
.phanim-bar-teal  { background: #4dd0e1; }
.phanim-bar-green { background: #4ade80; }
@keyframes phBarGrow {
  0%  { width: 0; }
  45% { width: var(--pct, 60%); }
  75% { width: var(--pct, 60%); }
  100%{ width: 0; }
}
.phanim-next-action {
  font-size: 0.66rem; font-weight: 600;
  color: var(--page-accent);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 20px;
  padding: 0.23rem 0.6rem;
  display: flex; align-items: center; gap: 0.3rem;
  animation: phFadeIn 0.5s ease 1s both;
}
@keyframes phFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  .page-dashboard .page-intro { grid-template-columns: 1fr; }
  .page-dashboard .page-intro .page-hero-media { display: none; }
  .phanim-search-wrap { padding: 1rem 0.75rem; }
}

/* =====================================================
   USER MODE — Fresher / Experienced
   Adaptive visibility, header pill, quick-switch,
   onboarding gate.
   ===================================================== */

/* ── Adaptive content visibility ── */
/* When no mode set: show [data-usermode="default"], hide mode-specific */
body:not(.mode-fresher):not(.mode-experienced) [data-usermode="fresher"],
body:not(.mode-fresher):not(.mode-experienced) [data-usermode="experienced"] { display: none !important; }

/* When mode is set: hide default content */
body.mode-fresher    [data-usermode="default"],
body.mode-experienced [data-usermode="default"] { display: none !important; }

/* When mode is set: hide opposite mode */
body.mode-fresher    [data-usermode="experienced"] { display: none !important; }
body.mode-experienced [data-usermode="fresher"]    { display: none !important; }

/* non-fresher: visible in no-mode and experienced, hidden when fresher is active */
body.mode-fresher [data-usermode="non-fresher"] { display: none !important; }

/* ── Header toggle pill ── */
.mode-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.65rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #c8d6e8;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 0.75rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  flex-shrink: 0;
}
.mode-toggle-pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  color: #f0f6ff;
}
.mode-toggle-pill:focus-visible {
  outline: 2px solid var(--accent, #d7da34);
  outline-offset: 2px;
}
.mode-toggle-pill[data-mode="fresher"] {
  border-color: rgba(74, 222, 128, 0.35);
  color: #4ade80;
  background: rgba(74,222,128,0.07);
}
.mode-toggle-pill[data-mode="experienced"] {
  border-color: rgba(125,211,252,0.35);
  color: #7dd3fc;
  background: rgba(125,211,252,0.07);
}
.mode-pill-icon { font-size: 0.75rem; }
.mode-pill-caret { font-size: 0.55rem; opacity: 0.6; margin-left: 0.1rem; }

/* ── Quick-switch dropdown ── */
.mode-qs {
  z-index: 9999;
  background: #0f1828;
  border: 1px solid rgba(125,211,252,0.2);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  min-width: 220px;
  opacity: 0;
  transform: translateY(-5px) scale(0.97);
  transition: opacity 0.15s, transform 0.15s;
  pointer-events: none;
}
.mode-qs.mode-qs-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mode-qs-heading {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted, #b3c0d4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.45rem;
  padding: 0 0.25rem;
}
.mode-qs-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  color: #e6eef8;
  text-align: left;
  transition: background 0.12s, border-color 0.12s;
  margin-bottom: 0.3rem;
}
.mode-qs-btn:last-child { margin-bottom: 0; }
.mode-qs-btn:hover,
.mode-qs-btn:focus {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  outline: none;
}
.mode-qs-btn:focus-visible { outline: 2px solid var(--accent, #d7da34); outline-offset: 1px; }
.mode-qs-btn.is-active {
  background: rgba(125,211,252,0.08);
  border-color: rgba(125,211,252,0.25);
}
.mode-qs-btn[data-mode="fresher"].is-active {
  background: rgba(74,222,128,0.08);
  border-color: rgba(74,222,128,0.25);
}
.mode-qs-btn i { font-size: 0.95rem; margin-top: 0.15rem; color: #7dd3fc; flex-shrink: 0; }
.mode-qs-btn[data-mode="fresher"] i { color: #4ade80; }
.mode-qs-name { display: block; font-size: 0.85rem; font-weight: 600; line-height: 1.3; }
.mode-qs-sub  { display: block; font-size: 0.72rem; color: var(--muted,#b3c0d4); margin-top: 0.1rem; line-height: 1.4; }

/* ── Onboarding gate overlay ── */
.mode-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(5,8,18,0.88);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.mode-gate.mode-gate-open  { opacity: 1; pointer-events: auto; }
.mode-gate.mode-gate-exit  { opacity: 0; pointer-events: none; }

.mode-gate-inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  background: linear-gradient(160deg, #0c1527 0%, #162240 100%);
  border: 1px solid rgba(125,211,252,0.16);
  border-radius: 22px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 28px 72px rgba(0,0,0,0.6);
}

.mode-gate-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #b3c0d4;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.mode-gate-close:hover { background: rgba(255,255,255,0.12); }
.mode-gate-close:focus-visible { outline: 2px solid var(--accent,#d7da34); outline-offset: 2px; }

.mode-gate-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0.2rem 0 0.5rem;
}
.mode-gate-sub {
  font-size: 0.88rem;
  color: #b3c0d4;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.mode-gate-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
@media (max-width: 500px) {
  .mode-gate-cards { grid-template-columns: 1fr; }
  .mode-gate-inner { padding: 1.5rem 1.25rem 1.25rem; }
}

.mode-gate-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  cursor: pointer;
  text-align: left;
  color: #e6eef8;
  transition: border-color 0.18s, background 0.18s, transform 0.15s, box-shadow 0.18s;
}
.mode-gate-card:hover,
.mode-gate-card:focus {
  border-color: rgba(125,211,252,0.5);
  background: rgba(125,211,252,0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  outline: none;
}
.mode-gate-card:focus-visible {
  outline: 2px solid var(--accent,#d7da34);
  outline-offset: 2px;
}
.mode-gate-card[data-mode="fresher"]:hover,
.mode-gate-card[data-mode="fresher"]:focus {
  border-color: rgba(74,222,128,0.5);
  background: rgba(74,222,128,0.05);
}

.mode-gate-icon { font-size: 1.65rem; margin-bottom: 0.2rem; }
.mode-gate-card[data-mode="fresher"]    .mode-gate-icon { color: #4ade80; }
.mode-gate-card[data-mode="experienced"] .mode-gate-icon { color: #7dd3fc; }

.mode-gate-card-title { font-size: 1rem; font-weight: 700; color: #f8fafc; }
.mode-gate-card-sub   { font-size: 0.76rem; color: #b3c0d4; line-height: 1.45; }

.mode-gate-benefits {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0.3rem;
}
.mode-gate-benefits li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: #b3c0d4;
  margin-bottom: 0.25rem;
}
.mode-gate-benefits .fa-check { color: #4ade80; font-size: 0.6rem; flex-shrink: 0; }

.mode-gate-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-top: 0.25rem;
}
.mode-gate-card[data-mode="fresher"] .mode-gate-cta { color: #4ade80; }

.mode-gate-footer {
  text-align: center;
  font-size: 0.76rem;
  color: rgba(179,192,212,0.5);
  margin: 0;
}

/* ── Light mode overrides ── */
body.light-mode .mode-toggle-pill {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.14);
  color: #374151;
}
body.light-mode .mode-toggle-pill:hover {
  background: rgba(0,0,0,0.09);
  color: #111827;
}
body.light-mode .mode-toggle-pill[data-mode="fresher"] {
  border-color: rgba(21,128,61,0.35);
  color: #15803d;
  background: rgba(21,128,61,0.06);
}
body.light-mode .mode-toggle-pill[data-mode="experienced"] {
  border-color: rgba(15,98,254,0.35);
  color: #0f62fe;
  background: rgba(15,98,254,0.06);
}
body.light-mode .mode-qs {
  background: #ffffff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
body.light-mode .mode-qs-btn { color: #1f2937; }
body.light-mode .mode-qs-btn:hover { background: rgba(0,0,0,0.04); }
body.light-mode .mode-gate { background: rgba(0,0,0,0.65); }
body.light-mode .mode-gate-inner {
  background: #ffffff;
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .mode-gate-title { color: #0f1724; }
body.light-mode .mode-gate-sub   { color: #4b5563; }
body.light-mode .mode-gate-card  { color: #1f2937; border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.02); }
body.light-mode .mode-gate-card:hover { border-color: rgba(15,98,254,0.4); background: rgba(15,98,254,0.04); transform: translateY(-2px); }
body.light-mode .mode-gate-card[data-mode="fresher"]:hover { border-color: rgba(21,128,61,0.4); background: rgba(21,128,61,0.04); }
body.light-mode .mode-gate-card-title { color: #0f1724; }
body.light-mode .mode-gate-card-sub   { color: #6b7280; }
body.light-mode .mode-gate-benefits li { color: #6b7280; }
body.light-mode .mode-gate-footer { color: rgba(107,114,128,0.7); }
