/**
 * nav-shared.css — Single source of truth for the Share Smart AI navigation bar.
 *
 * ✏️  To change the nav colour everywhere, update --nav-bg below.
 *
 * Used by:
 *   landing/index.html      (via <link>)
 *   landing/privacy.html    (via <link>)
 *   landing/terms.html      (via <link>)
 *   landing/help.html       (via <link>)
 *   landing/about.html      (via <link> in <head>)
 *   landing/careers.html    (via <link> in <head>)
 */

/* ── Colour token — change this one value to restyle every nav ── */
:root {
  --nav-bg:     rgba(255, 255, 255, .96);
  --nav-border: rgba(0, 0, 0, .08);
}

/* ── Base nav shell ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .80);
  box-shadow: 0 1px 0 0 #e8620d;
}

/* ── Logo ────────────────────────────────────────────────────── */
.nav-logo,
.ssai-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.nav-logo svg,
.ssai-logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* text beside the hex icon — scoped to nav so footer logos keep their own colour */
nav .ssai-text,
.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.025em;
  color: #0f1923;
  line-height: 1;
}
nav .ssai-ai,
.nav-logo-text em {
  color: #0891b2;
  font-style: normal;
}

/* ── Nav links ───────────────────────────────────────────────── */
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  padding: 6px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, .55);
  text-decoration: none;
  transition: all .15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 0, 0, .05);
  color: #0f1923;
}

/* ── Nav right side ──────────────────────────────────────────── */
.nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ── Back link (privacy / terms / help pages) ────────────────── */
.back {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0, 0, 0, .5);
  text-decoration: none;
}
.back:hover { color: #0f1923; }

/* ── CTA buttons inside nav ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .18s;
  text-decoration: none;
  font-family: inherit;
}
nav .btn-ghost {
  background: rgba(0, 0, 0, .04);
  color: #0f1923;
  border: 1px solid rgba(0, 0, 0, .12);
}
nav .btn-ghost:hover {
  background: rgba(0, 0, 0, .08);
  color: #0f1923;
}
nav .btn-cyan {
  background: linear-gradient(135deg, #e8620d, #c7520a);
  color: #fff;
  box-shadow: 0 4px 18px rgba(232, 98, 13, .18);
}
nav .btn-cyan:hover {
  background: linear-gradient(135deg, #c7520a, #a84208);
  transform: translateY(-1px);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
}
