/* ==========================================================================
   Navigation bar: white translucent frosted-glass finish.
   Scoped to <header> only; all copy and brand names stay in the HTML.
   Loaded after main.css so these rules win without touching the source.
   ========================================================================== */

/* Light backdrop only for the strip above the hero (the pt-16 gap), so the
   glass capsule sits on the page background instead of a visible light box.
   Only background-image is set — the dark background-color below stays, so
   transparent sections further down keep their original dark backdrop. */
#root > div {
  background-image: linear-gradient(to bottom, #eef4ff 0, #eef4ff 68px, transparent 68px) !important;
}

#roota > div {
  background-image: linear-gradient(to bottom, #d7e5f3 0, #d7e5f3 68px, transparent 68px) !important;
}


header {
  background: none !important;
}

/* Base capsule: white translucent glass instead of dark solid. */
header nav {
  background: rgba(255, 255, 255, 0.72) !important;
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Kill the dark-purple glow overlay inside the capsule. */
header nav > div:first-child {
  background: none !important;
}

/* Desktop / drawer links and menu buttons: dark ink on glass. */
header nav a,
header nav button {
  color: #1f2937 !important;
}
header nav a:hover,
header nav button:hover {
  color: #1d4ed8 !important;
}

/* Hover surfaces on light glass. */
header nav a:hover,
header nav button:hover,
header nav .group:hover > button {
  background-color: rgba(15, 23, 42, 0.06) !important;
}

/* Dropdown panels: white frosted glass with dark text. */
header nav .beijingse {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-color: rgba(15, 23, 42, 0.08) !important;
}
header nav .beijingse a,
header nav .beijingse button {
  color: #1f2937 !important;
}
header nav .beijingse a:hover,
header nav .beijingse button:hover {
  color: #1d4ed8 !important;
  background-color: rgba(15, 23, 42, 0.06) !important;
}

/* Solid CTA (控制台登陆): deep blue on glass. */
header nav a[data-slot="button"] {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border-color: #1d4ed8 !important;
}
header nav a[data-slot="button"]:hover {
  background: #d38321 !important;
  border-color: #d38321 !important;
  color: #ffffff !important;
}



header nav a[data-slot="button1"] {
  background: #dee8ee !important;
  color: #333333 !important;
  border-color: #d3dde2 !important;
}
header nav a[data-slot="button1"]:hover {
  background: #d38321 !important;
   border-color: #d38321 !important;
  color: #ffffff !important;
}

/* Language menu: keep dark text, drop the dark chip highlight. */
header nav [data-language-option] {
  color: #1f2937 !important;
}

/* Hamburger button icon inherits dark ink from the button rule above. */
header nav [data-drawer-toggle] {
  color: #1f2937 !important;
}

/* Mobile drawer panel: white frosted glass. */
header #lia-drawer,
header .lia-drawer {
  background: rgba(255, 255, 255, 0.92) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-color: rgba(15, 23, 42, 0.08) !important;
}

/* Hero copy: dark ink on the now-light hero background. */
[data-hero-slide] h1 {
  color: #12213b !important;
}
[data-hero-slide] p {
  color: #3a4a63 !important;
}
/* Keep the gradient-accented spans inside the heading colourful. */
[data-hero-slide] h1 .bg-clip-text {
  -webkit-text-fill-color: transparent;
}
