/*
  Navbar restore for Vocab Agent shell — loaded last so nav always matches landing.
  Higher specificity so bundle CSS cannot override.
*/
body.landing-masaba.vocab-agent-with-nav .landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  height: 60px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1208;
  border-bottom: 3px solid #e8195a;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fcc162;
  border: 2.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.2s;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo-mark .logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo:hover .logo-mark {
  transform: rotate(-15deg) scale(1.1);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo-name {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .logo-name span {
  color: #fcc162;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .ni {
  position: relative;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nl {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 6px 13px;
  border-radius: 4px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nl:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .v {
  font-size: 7px;
  transition: transform 0.18s;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .ni:hover .v {
  transform: rotate(180deg);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  background: #1a1208;
  border: 2px solid #fcc162;
  border-radius: 12px;
  padding: 14px 10px 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 300px;
  box-shadow: 4px 4px 0 #e8195a;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-sm {
  min-width: 230px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .ni:hover .dd {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fcc162;
  padding: 2px 8px 8px;
  border-bottom: 1px solid rgba(245, 166, 35, 0.2);
  margin-bottom: 4px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-1 {
  grid-template-columns: 1fr;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .di {
  display: block;
  text-decoration: none;
  padding: 7px 9px;
  border-radius: 7px;
  transition: background 0.12s;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .di:hover {
  background: rgba(255, 255, 255, 0.07);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .di-t {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .di-s {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
  margin-top: 1px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-teacher {
  grid-column: 1 / -1;
  margin-top: 5px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #e8195a;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.14s;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-teacher:hover {
  opacity: 0.88;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-teacher-t {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-teacher-s {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .dd-teacher-arr {
  color: #fff;
  font-size: 16px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-link {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  transition: background 0.15s;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #1a1208;
  background: #fcc162;
  border: none;
  padding: 9px 20px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-bottom: 3px solid #c07800;
  transition: all 0.18s;
  letter-spacing: 0.02em;
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta:hover {
  background: #ffc444;
  transform: translateY(-1px);
}

body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

/* Mobile: single navbar with logo + Login + Get Started */
@media (max-width: 940px) {
  body.landing-masaba.vocab-agent-with-nav .landing-nav {
    padding: 0 16px;
    height: 56px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-links {
    display: none;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-link,
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta {
    font-size: 12px;
    padding: 8px 14px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta {
    padding: 8px 14px;
    border-bottom-width: 2px;
  }
  /* Content below shorter mobile nav */
  body.landing-masaba.vocab-agent-with-nav .va-app {
    padding-top: 56px;
  }
}

@media (max-width: 380px) {
  body.landing-masaba.vocab-agent-with-nav .landing-nav {
    padding: 0 12px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .logo-name {
    font-size: 17px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-wrap {
    gap: 6px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta-link {
    padding: 6px 10px;
    font-size: 11px;
  }
  body.landing-masaba.vocab-agent-with-nav .landing-nav .nav-cta {
    padding: 6px 12px;
    font-size: 11px;
  }
}
