:root {
  --bg: #0a0f17;
  --surface: #0e1420;
  --muted: #0b1320;
  --text: #e5ecff;
  --text-dim: #a7b7d9;
  --border: #202a3b;
  /* Accents tuned to screenshot */
  --blue: #2f7bff;   /* "AI" */
  --cyan: #0a67ff;   /* "Recruiter" deeper blue */
  --green: #25d38c;  /* "inbox" mint-green */
  --primary: #3b82f6; /* CTA */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1100px 620px at 72% -12%, rgba(48,64,120,0.55) 0%, rgba(12,18,27,0) 60%),
              radial-gradient(900px 520px at -8% 0%, rgba(16,60,85,0.45) 0%, rgba(12,18,27,0) 62%),
              var(--bg);
}

.bg-blur {
  position: fixed;
  inset: -30vh -20vw auto -20vw;
  height: 60vh;
  background: radial-gradient(50% 50% at 50% 50%, rgba(100,140,255,0.25) 0%, rgba(0,0,0,0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11,15,20,0.8), rgba(11,15,20,0.6));
  backdrop-filter: blur(10px);
  width: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

@media (min-width: 640px) {
  .nav-inner {
    padding: 14px 0;
  }
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #7aa7ff, #76f0ff);
  color: #08101a; font-weight: 800;
}
.brand-name { font-weight: 700; }

.nav-links { 
  display: none; 
  gap: 26px; 
}
.nav-links a { 
  color: var(--text-dim); 
  text-decoration: none; 
  font-weight: 500; 
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { 
  display: flex; 
  gap: 10px; 
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 899px) {
  .menu-toggle {
    display: flex;
    z-index: 1200; /* keep the toggle above the overlay so the close button remains clickable */
  }
  
  .nav-links {
    position: fixed;
    inset: 0; /* cover the full viewport */
    background: rgba(6,10,14,0.995); /* make overlay effectively opaque to prevent underlying content bleeding through */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1150; /* sits below the toggle but above page content */
    transform: translateX(100%);
    transition: transform 0.28s ease, opacity 0.2s ease;
    padding: 80px 20px 20px;
    pointer-events: none;
    isolation: isolate;
  }
  
  .nav-links.active {
    transform: translateX(0);
    display: flex;
    pointer-events: auto;
    opacity: 1;
  }
  
  /* Make each link clearly readable by putting it on a pill with slight contrast */
  .nav-links a {
    font-size: 20px;
    padding: 12px 22px;
    width: auto;
    text-align: center;
    color: var(--text); /* full contrast */
    font-weight: 700;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.035);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);
    text-shadow: 0 1px 0 rgba(0,0,0,0.6);
    transition: transform 0.12s ease, background 0.12s ease;
  }
  .nav-links a:active, .nav-links a:focus, .nav-links a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
  }

  /* Ensure any badges inside the nav are muted but readable */
  .nav-links .badge {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    color: var(--text-dim);
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-cta.mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }
  
  .nav-cta.mobile .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  min-height: 44px; 
  height: 44px;
  padding: 0 18px; 
  border-radius: 10px; 
  text-decoration: none; 
  font-weight: 600; 
  border: 1px solid transparent;
  font-size: 15px;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 6px 16px rgba(59,130,246,0.35); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary { background: #2b3447; color: white; border-color: #39445c; }
.btn-dark { background: #121a27; color: var(--text); border-color: #223049; }
.btn:hover { filter: brightness(1.06); }

@media (min-width: 900px) {
  .nav-links { 
    display: flex; 
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    flex-direction: row;
    padding: 0;
    pointer-events: auto;
  }
  
  .nav-cta {
    display: flex;
  }
}

/* Hero */
.hero { 
  position: relative; 
  z-index: 1; 
  padding: 40px 0 32px; 
  margin-top: 0;
  overflow: visible;
}

.hero-text {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.hero-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 32px; 
  align-items: center; 
}

@media (min-width: 768px) {
  .hero { 
    padding: 60px 0 48px; 
  }
  .hero-grid { 
    gap: 40px; 
  }
}

@media (min-width: 980px) {
  .hero { 
    padding: 92px 0 64px; 
  }
  .hero-grid { 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 36px; 
  }
}

.badge {
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  padding: 8px 14px; 
  border-radius: 999px;
  background: #0f172a; 
  color: var(--text-dim); 
  border: 1px solid var(--border); 
  font-size: 12px; 
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  width: fit-content;
}

.headline { 
  font-size: clamp(32px, 8vw, 68px); 
  line-height: 1.05; 
  letter-spacing: -0.02em; 
  margin: 0 0 20px; 
  font-weight: 800; 
}
.accent-blue { color: var(--blue); }
.accent-cyan { color: var(--cyan); }
.accent-green { color: var(--green); }

.subhead { 
  color: var(--text-dim); 
  font-size: clamp(15px, 2vw, 16px); 
  line-height: 1.7; 
  max-width: 640px; 
  margin-bottom: 8px;
}

.hero-actions { 
  display: flex; 
  gap: 12px; 
  margin: 24px 0 12px; 
  flex-wrap: wrap; 
}
.hero-actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
}
.hero-note { 
  color: #7f94b8; 
  font-size: 13px; 
  line-height: 1.5;
}

.hero-visual { 
  position: relative; 
  margin-top: 8px;
}
.mock-window { 
  background: #0b121c; 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 12px; 
  box-shadow: 0 20px 80px rgba(0,0,0,0.6) inset; 
}
.mock-topbar { 
  display: flex; 
  gap: 6px; 
  padding-bottom: 10px; 
}
.mock-topbar span { 
  width: 52px; 
  height: 8px; 
  border-radius: 8px; 
  background: #1a2433; 
  display: inline-block; 
}
.mock-stats { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 8px; 
  padding: 10px 0 12px; 
}
.stat { 
  background: #0f1624; 
  border: 1px solid #1b2a43; 
  border-radius: 12px; 
  padding: 10px 8px; 
  text-align: left; 
}
.stat .label { 
  color: #8ba3c8; 
  font-size: 11px; 
  line-height: 1.3;
}
.stat .value { 
  margin-top: 6px; 
  font-size: 18px; 
  font-weight: 800; 
  color: #dfe9ff; 
}
.mock-panels { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 8px; 
  margin-top: 12px; 
}
.panel { 
  height: 70px; 
  border-radius: 12px; 
  background: #10192a; 
  border: 1px solid #1b2a43; 
}
.panel.muted { opacity: 0.5; }

.chips { 
  display: flex; 
  flex-direction: column;
  gap: 10px; 
  margin-top: 12px; 
}
.chip { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background: #0f1629; 
  color: #d6e5ff; 
  border: 1px solid #1b2a43; 
  border-radius: 999px; 
  padding: 10px 14px; 
  font-size: 12px; 
  width: 100%;
  justify-content: center;
}
.chip.alt { background: #0f1a2a; }
.chip .dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 999px; 
  background: var(--blue); 
  display: inline-block; 
  flex-shrink: 0;
}
.chip.alt .dot { background: var(--green); }

@media (min-width: 480px) {
  .mock-window {
    padding: 14px;
  }
  .mock-stats {
    gap: 12px;
  }
  .stat {
    padding: 12px;
  }
  .stat .label {
    font-size: 12px;
  }
  .stat .value {
    font-size: 22px;
  }
  .mock-panels {
    gap: 12px;
  }
  .panel {
    height: 86px;
  }
  .chips {
    flex-direction: row;
  }
  .chip {
    width: auto;
  }
}

/* Sections */
.section { 
  padding: 40px 0 32px; 
}
.section h2 { 
  font-size: clamp(26px, 4vw, 30px); 
  margin: 8px 0 28px; 
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section {
    padding: 48px 0 40px;
  }
  .section h2 {
    margin: 8px 0 32px;
  }
}

.cards.three { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}
.card { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 20px; 
}
.card .icon { 
  font-size: 24px; 
  margin-bottom: 12px; 
}
.card h3 { 
  margin: 6px 0 10px; 
  font-size: 18px; 
  line-height: 1.3;
}
.card p { 
  margin: 0; 
  color: var(--text-dim); 
  line-height: 1.7; 
  font-size: 15px;
}

@media (min-width: 640px) {
  .cards.three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .cards.three { 
    grid-template-columns: repeat(3, 1fr); 
    gap: 18px; 
  }
}

.steps { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 16px; 
}
.step { 
  display: grid; 
  grid-template-columns: auto 1fr; 
  gap: 16px; 
  align-items: start; 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 20px; 
}
.step-num { 
  width: 40px; 
  height: 40px; 
  border-radius: 10px; 
  display: grid; 
  place-items: center; 
  font-weight: 800; 
  font-size: 18px;
  color: #08101a; 
  background: var(--surface);
  border: 1px solid var(--border); 
  flex-shrink: 0;
}
.step-num svg {
  stroke: #ffffff;
  stroke-width: 2.5;
  width: 20px;
  height: 20px;
}
.step-num i[data-lucide] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.step h3 { 
  margin: 2px 0 8px; 
  font-size: 18px; 
  line-height: 1.3;
}
.step p { 
  margin: 0; 
  color: var(--text-dim); 
  line-height: 1.7;
  font-size: 15px;
}
.step a {
  word-break: break-all;
}

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { display: block; }
  .step-num { margin-bottom: 10px; }
}

/* Footer */
.footer { 
  border-top: 1px solid var(--border); 
  padding: 24px 0; 
  color: var(--text-dim); 
}
.footer .container { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: space-between; 
  gap: 20px; 
  text-align: center;
}
.foot-links { 
  display: flex; 
  flex-wrap: wrap;
  gap: 16px; 
  justify-content: center;
}
.foot a { 
  color: var(--text); 
  text-decoration: none; 
}
.foot-links a { 
  color: var(--text-dim); 
  text-decoration: none; 
  font-size: 14px;
  padding: 8px 0;
  transition: color 0.2s;
}
.foot-links a:hover { 
  color: var(--text); 
}

@media (min-width: 640px) {
  .footer .container {
    flex-direction: row;
    text-align: left;
  }
  .foot-links {
    justify-content: flex-end;
  }
}

a { color: var(--blue); }


