.gc-shared-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(23, 28, 57, 0.9),
    rgba(23, 28, 57, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(176, 179, 214, 0.15);
}

/* Reserve header space to prevent layout jump on nav injection */
.page {
  padding-top: 74px;
}

.gc-shared-header,
.gc-shared-header a,
.gc-shared-header button,
.gc-shared-header span {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-style: normal !important;
}

html { scroll-behavior: smooth; }

.gc-shared-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gc-shared-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.25rem;
  gap: 1.5rem;
}

.gc-shared-nav-left {
  display: flex;
  align-items: center;
}

.gc-shared-logo-link {
  display: block;
  text-decoration: none;
  color: inherit;
  line-height: 0;
}

.gc-shared-logo-img {
  height: 38px;
  width: auto;
  display: block;
  mix-blend-mode: lighten;
}

.gc-shared-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #b0b3d6;
}

.gc-shared-nav-link {
  position: relative;
  padding-bottom: 0.15rem;
  color: inherit;
  text-decoration: none;
}

.gc-shared-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9ea2ff, #454bdd);
  transition: width 0.2s ease;
}

.gc-shared-nav-link:hover::after {
  width: 100%;
}

.gc-shared-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  white-space: nowrap;
  color: #ffffff !important;
  text-decoration: none;
  background: linear-gradient(140deg, #5f66e8, #454bdd) !important;
  box-shadow: 0 8px 22px rgba(38, 44, 145, 0.3) !important;
  transition: all 0.18s ease !important;
}

.gc-shared-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px rgba(38, 44, 145, 0.38) !important;
}

.gc-shared-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(176, 179, 214, 0.35);
  border-radius: 999px;
  background: rgba(15, 19, 40, 0.55);
  color: #f9f9f9;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.gc-shared-menu-toggle span,
.gc-shared-menu-toggle span::before,
.gc-shared-menu-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
  content: "";
}

.gc-shared-menu-toggle span {
  position: relative;
}

.gc-shared-menu-toggle span::before {
  position: absolute;
  top: -5px;
  left: 0;
}

.gc-shared-menu-toggle span::after {
  position: absolute;
  top: 5px;
  left: 0;
}

.gc-shared-mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .gc-shared-nav {
    position: relative;
  }

  .gc-shared-nav-links {
    display: none;
  }

  .gc-shared-cta {
    display: none;
  }

  .gc-shared-menu-toggle {
    display: inline-flex;
  }

  .gc-shared-mobile-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(176, 179, 214, 0.22);
    border-radius: 14px;
    background: rgba(15, 19, 40, 0.98);
    box-shadow: 0 20px 36px rgba(7, 10, 24, 0.48);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .gc-shared-mobile-menu a {
    color: #f9f9f9;
    text-decoration: none;
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .gc-shared-mobile-menu .gc-shared-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .gc-shared-header.is-mobile-open .gc-shared-mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gc-shared-header.is-mobile-open .gc-shared-menu-toggle span {
    background: transparent;
  }

  .gc-shared-header.is-mobile-open .gc-shared-menu-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .gc-shared-header.is-mobile-open .gc-shared-menu-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}
