/* ════════════════════════════════════════════════════════════
   PadhloBro — Nav (site-wide)
   Extends existing .nav styles from app.css
   ════════════════════════════════════════════════════════════ */

/* Nav inner: more breathable spacing */
.nav__inner { gap: 20px; }

/* Hide the old hot pills — they now live in "My Study" dropdown */
.nav__link--hot,
.nav__link--forge,
.nav__link--crm,
.nav__link--tests { display: none !important; }

/* Right side: keep search a bit tighter */
.nav__right { gap: 8px; }

/* ── Dropdown ────────────────────────────────────────────── */
.nav__dd {
  position: relative;
  display: inline-block;
}
.nav__dd-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-family: inherit;
}
.nav__dd-trigger svg { transition: transform .15s ease; }
.nav__dd.is-open .nav__dd-trigger svg { transform: rotate(180deg); }

.nav__dd-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #FFFFFF;
  border: 1px solid var(--line, #E6E8F0);
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(15,23,41,.10), 0 2px 8px rgba(15,23,41,.05);
  padding: 8px;
  display: none;
  z-index: 60;
}
.nav__dd.is-open .nav__dd-panel { display: block; }
.nav__dd-panel--right {
  left: auto;
  right: 0;
}
.nav__dd-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink, #0F1729);
  text-decoration: none;
  white-space: nowrap;
}
.nav__dd-panel a:hover {
  background: var(--bg, #F7F8FC);
  text-decoration: none;
}

/* ── Start free CTA ──────────────────────────────────────── */
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--pb-primary, #5B4BE0);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.nav__cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(91,75,224,.28);
  color: #FFFFFF;
}

/* Sign in link — subtle */
.nav__right > .nav__link { font-weight: 600; }

/* ── Mobile: hide dropdown triggers, show drawer ─────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__search { display: none; }
  .nav__cta,
  .nav__right > .nav__link { display: none; }
  .nav__burger { display: inline-flex; }
}

/* ── Drawer section separator ────────────────────────────── */
.nav__drawer-sep {
  padding: 16px 14px 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #64748B);
}