:root {
  --blue: #1B2E6B;
  --blue-dark: #0F1C45;
  --blue-mid: #243d8f;
  --yellow: #F5C200;
  --gray-50: #F8F9FC;
  --gray-100: #EEF0F6;
}

.topbar {
  background: var(--yellow);
  color: var(--blue-dark);
  text-align: center;
  padding: 9px 24px;
  font-size: .82rem;
  font-weight: 600;
}
.topbar a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(27, 46, 107, .35);
}
.topbar a:hover {
  text-decoration-color: var(--blue-dark);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--blue);
  transition: box-shadow .3s ease, background .3s ease;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 700;
}
.nav-logo-link img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .25s ease, background .25s ease;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(15, 28, 69, .25);
  padding: 6px 0;
  flex-direction: column;
  z-index: 200;
  border: 1px solid rgba(15, 28, 69, .15);
  color: var(--blue-dark);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex;
}
.nav-dropdown-link {
  display: block;
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue-dark);
  transition: background .2s ease, color .2s ease;
  line-height: 1.4;
}
.nav-dropdown-link:hover {
  background: var(--gray-50);
  color: var(--blue);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: var(--yellow);
  color: var(--blue-dark);
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
}
.nav-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
}
.nav-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blue-dark);
  z-index: 400;
  flex-direction: column;
  padding-top: 20px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 16px 28px;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  text-decoration: none;
}
.mobile-menu a:hover {
  color: var(--yellow);
  background: rgba(255, 255, 255, .04);
}

.demo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.demo-popup {
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(15, 28, 69, .25);
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2a40;
}
.demo-popup strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--blue);
}
.demo-popup button {
  margin-top: 18px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 700;
  cursor: pointer;
  font-size: .95rem;
  transition: background .2s ease;
}
.demo-popup button:hover {
  background: #0b1c3d;
}

.mob-dropdown {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 6px;
}
.mob-dropdown-main {
  padding: 12px 28px 6px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mob-dropdown-item {
  padding-left: 42px;
  font-size: .95rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-wrap {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
