:root {
  --bg0: #071427;
  --bg1: #0b1f3e;
  --brand1: #1a6cb3;
  --brand2: #00a8b5;
  --white: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 10, 20, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.header .nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header .nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 10px;
  border-radius: 10px;
  transition: background 150ms ease, color 150ms ease;
}

.header .nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

.header .nav .nav-cta {
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: #062033;
  font-weight: 700;
}

.header .nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
}

.header .nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
}

.header .nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 6px 0;
}

@media (max-width: 780px) {
  .header .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .header .nav {
    position: fixed;
    top: 62px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(5, 10, 20, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header .nav.open {
    display: flex;
  }

  .header .nav a {
    padding: 12px 12px;
  }
}

