/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');


.navbar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 10px 35px;
  background: var(--bg);
  border-bottom: 1px solid #2a2f3a;
  box-shadow: var(--shadow);
  font-family: 'Roboto', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* reset default link styles inside navbar */
.navbar a { text-decoration: none; color: #cdd3db; }

/* brand (logo + text) */
.navbar .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.navbar .brand span { color: #cdd3db; }
.navbar .brand:hover span { color: var(--accent); }
.navbar .brand img { width: 22px; height: 22px; border-radius: 4px; }

/* right-side links */
.navbar .links {
  display: flex; align-items: center;
  gap: 40px;                 /* spacing between words */
  white-space: nowrap;       /* keep on one line */
  flex-wrap: nowrap;
}

.navbar .links a {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px; font-weight: 250; letter-spacing: .6px;
  color: #b8c0cc;
  text-decoration: none;
  position: relative;
  padding: 5px 0px;
  transition: color .2s ease;
}
.navbar .links a:hover { color: var(--accent); }

.navbar .links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .2s ease;
}

.navbar .links a:hover::after { width: 100%; }

.navbar .links a.active {
  color: #fff;
}
.navbar .links a.active::after {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 2px;
    background: var(--accent);
}
