/* RobotsShop — shared full nav bar (homepage parity)
   Same nav as index.html on every surface page.
   Brand colors come from each page's :root via CSS variables. */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line, #1a2230);
}
nav .inner {
  max-width: 960px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text, #e6edf3); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand svg { width: 32px; height: 32px; }
.brand .lockup-img { height: 34px; width: auto; display: block; }
.brand span { color: var(--green, #10b981); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--dim, #8b98a9); text-decoration: none; font-size: 0.85rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text, #e6edf3); }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop .chev { font-size: 0.6rem; opacity: 0.7; }
.drop-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--bg3, #10161f); border: 1px solid var(--line, #1a2230); border-radius: 10px;
  min-width: 260px; padding: 8px; display: none; z-index: 200;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
  margin-top: 10px;
}
/* invisible bridge over the gap so cursor travel never leaves the hover zone */
.drop-menu::before {
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
/* grace period: menu lingers briefly after the cursor leaves (hover-intent) */
.nav-drop::after {
  content: ""; position: absolute; top: 100%; left: -20px; right: -20px; height: 14px;
  display: none;
}
.nav-drop:hover::after { display: block; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu, .nav-drop.open .drop-menu { display: block; }
.nav-drop > a { cursor: pointer; }
.drop-menu a {
  display: flex; flex-direction: column; gap: 1px;
  padding: 10px 12px; border-radius: 7px; text-decoration: none;
}
.drop-menu a:hover { background: var(--green-dim, rgba(16,185,129,0.12)); }
.drop-menu a strong { color: var(--text, #e6edf3); font-size: 0.85rem; font-weight: 600; }
.drop-menu a span { color: var(--dim, #8b98a9); font-size: 0.74rem; }
.drop-menu a:hover strong { color: var(--green, #10b981); }
@media(max-width:600px) { .nav-links { display: none; } }
