.lb-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  z-index: 9999;
}

.lb-nav {
  position: relative;              /* anchor for the mega panels */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
}

.lb-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lb-logo img {
  width: auto;
  height: 44px;
}

/* ---------- menu ---------- */

.lb-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 24px;
}

.lb-menu-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* static so the mega resolves against .lb-nav */
.lb-item { position: static; }
.lb-item.has-drop { position: relative; }

.lb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  text-transform: capitalize;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.lb-link:hover,
.lb-item.is-open > .lb-link { color: #c084fc; }

.lb-caret { transition: transform 0.25s ease; }
.lb-item.is-open > .lb-link .lb-caret { transform: rotate(180deg); }

/* ---------- mega panel ---------- */

.lb-mega {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  right: auto;
  width: 810px;
  max-width: calc(100vw - 40px);
  padding: 30px 20px;
  background: #ffffff;
  color: #1a1024;
  border-radius: 13px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.lb-item.is-open > .lb-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lb-mega--sol,
.lb-mega--sm {
  right: 300px;
  width: auto;
  max-width: none;
}

.lb-mega-inner { width: 100%; }

/* invisible strip across the gap, keeps hover alive */
.lb-mega::before,
.lb-drop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 26px;
}

/* ---------- mega grids ---------- */

.lb-mega-grid { display: grid; gap: 24px; }
.lb-mega-grid--2 { grid-template-columns: 1fr 1fr; }
.lb-mega-grid--sol { grid-template-columns: minmax(230px, 285px) 1fr; }

.lb-mega-grid--2 > .lb-col + .lb-col,
.lb-mega-grid--sol > .lb-col + .lb-col {
  border-left: 1px dashed #d1d1d1;
  padding-left: 24px;
}

.lb-col-title {
   margin: 0 0 12px;
  padding-inline: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #373737;
}

/* ---------- Solutions mega, scoped ---------- */

.lb-mega--sol .lb-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #373737;
}
.lb-mega--sol .lb-txt b { font-weight: 600; }

.lb-col-title--brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  color: #373737;
}

.lb-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 0 0 auto;
  line-height: 1.25;
  order: 1;
}

.lb-powered {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #6b6868;
}

.lb-brand-logo {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
  order: 2;
}

/* ---------- link rows ---------- */

.lb-links li + li { margin-top: 4px; }

.lb-links a,
.lb-about-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.lb-links a:hover,
.lb-about-top:hover { background: #f5f1fa; }

.lb-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 6px;
  background: #f5f2f9;
}
.lb-mega--sol .lb-ico {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  margin-top: 2px;
  background: #F5F2F9;
}
.lb-col--data .lb-ico { background: #F5F2F9; }

.lb-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.lb-txt b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #000000;
}
.lb-txt small {
  font-size: 12px;
  font-weight: 400;
  line-height: 126%;
  color: #6b6868;
}

.lb-arrow {
  font-style: normal;
  color: #7c3aed;
  margin-left: 4px;
}

/* ---------- Solutions data pane ----------
   Pane itself is white. Two grey cards sit inside it,
   the second wraps its own nested sub-items.          */

.lb-col--pane {
  padding: 0;
  background: transparent;
}

.lb-links--compact a {
  padding: 12px 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
/*.lb-links--compact a:hover { background: rgba(255, 255, 255, 0.85); }*/
.lb-links--compact .ib-hov a { background: #f5f1fa; }
.lb-card {
  padding: 6px;
  border-radius: 12px;
/*  background: #f5f5f5;*/
}
.lb-links--compact li + .lb-card { margin-top: 10px; }
/* Enrichment only, matches the Data Intelligence rows */
.lb-mega--sol .lb-plain .lb-ico {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  margin-top: 0;
  border-radius: 6px;
/*  background: #f5f2f9;*/
}

.lb-mega--sol .lb-plain a:hover { background: #f5f1fa; }
.lb-sub {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.lb-sub li + li { margin-top: 2px; }
.lb-sub a { padding-left: 34px; }

.lb-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- browse band, Data Intelligence footer ---------- */

.lb-browse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 26px -20px -30px;
  padding: 8px 10px;
  border-top: 1px solid #ece5f6;
  border-radius: 0 0 13px 13px;
  background: #fffaec;
}

.lb-browse-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.lb-browse-item:hover { background: #f5f1fa; }

/*.lb-browse-item + .lb-browse-item {
  border-left: 1px solid #ece5f6;
}
*/
.lb-browse .lb-ico { background: transparent; }

/* ---------- about mega ---------- */

.lb-about-top {
  border-bottom: 1px solid #ece5f6;
  border-radius: 12px 12px 0 0;
  padding-bottom: 18px;
  margin-bottom: 14px;
}
.lb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lb-about-grid > ul:first-child {
  border-right: 1px dashed #d1d1d1;
  padding-right: 24px;
}

/* ---------- simple dropdown ---------- */

.lb-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.lb-item.is-open > .lb-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.lb-drop a {
  display: block;
  padding: 12px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1024;
  transition: background 0.18s ease, color 0.18s ease;
}
.lb-drop a:hover {
  background: #f5f1fa;
  color: #7c3aed;
}
/* dropdown with icons */
.lb-drop--icons { min-width: 260px; }

.lb-drop--icons a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lb-drop-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  flex-shrink: 0;
  color: #1c1b1f;
  transition: color 0.18s ease, transform 0.18s ease;
  
}
.lb-drop--icons li + li {
  border-top: 1px dashed #ececec;
}
.lb-drop--icons li + li a {
  border-radius: 0;
}
.lb-drop--icons a:hover .lb-drop-ico { transform: translateX(2px); }
.lb-drop--icons a:hover .lb-drop-ico { color: #7c3aed; }
/* ---------- actions ---------- */

.lb-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lb-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-search:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #c084fc;
}

.lb-login {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.lb-login:hover { color: #c084fc; }

.lb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  white-space: nowrap;
  background: #ffffff;
  transition: background 0.2s ease;
}
.lb-cta:hover { background: #f3edfb; }

.lb-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(0deg, #6d28d9 0%, #8b5cf6 100%);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.lb-ai:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.55);
}
.lb-ai svg { transition: transform 0.35s ease; }
.lb-ai:hover svg { transform: rotate(15deg) scale(1.06); }
.lb-ai-wrap { position: relative; }

.lb-ai-pop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 300px;
  padding: 18px 20px;
  border-radius: 15px;
border: 1px solid #7445F7;
background: rgba(0, 0, 0, 0.70);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.lb-ai-wrap.is-open .lb-ai-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lb-ai-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 150%;
  color: #fff;
}

.lb-ai-icons {
  display: flex;
  gap: 15px;
}

.lb-ai-icons a {
  display: inline-flex;
 
  transition: border-color 0.2s ease, background 0.2s ease;
}
/*.lb-ai-icons a:hover {
  border-color: #6d08be;
  background: #faf7ff;
}*/

.lb-ai-icons img { width: 22px; height: 22px; }
/* ---------- burger, close, overlay ---------- */

.lb-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.lb-burger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.lb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lb-menu-head { display: none; }

.lb-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #c084fc;
}

.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb-overlay.is-visible { opacity: 1; }

/* list reset, Bootstrap does not clear these */
.lb-menu-list,
.lb-links,
.lb-item {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lb-menu-list li,
.lb-links li,
.lb-drop li { list-style: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1399.98px) {
  .lb-nav,
  .lb-menu { gap: 16px; }
  .lb-link { padding: 10px 11px; }

  .lb-mega--sol,
  .lb-mega--sm { right: 230px; }
}

@media (max-width: 1279.98px) {
  .lb-mega { width: 720px; }

  .lb-mega--sol,
  .lb-mega--sm { right: 200px; }
}

@media (max-width: 1199.98px) {
.lb-drop-ico { color: #ffffff; }
.lb-drop--icons a:hover .lb-drop-ico { color: #c084fc; }
  .lb-burger { display: flex; }

  .lb-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -20px -20px 8px;
    padding: 16px 20px;
    background: #0d0a17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .lb-menu-logo img {
    height: 34px;
    width: auto;
  }

  .lb-mega::before,
  .lb-drop::before { display: none; }

  .lb-logo img { height: 38px; }

  .lb-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(420px, 88vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 20px 40px;
    background: #0d0a17;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .lb-menu.is-open { transform: translateX(0); }

  .lb-menu-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .lb-item { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }

  .lb-link {
    width: 100%;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 16px;
    border-radius: 0;
  }
  .lb-link:hover,
  .lb-item.is-open > .lb-link { background: transparent; }

  /* mega and dropdown become accordions */
  .lb-mega,
  .lb-drop {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    width: 100%;
    max-width: none;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .lb-item.is-open > .lb-mega,
  .lb-item.is-open > .lb-drop {
    max-height: 1800px;
    padding-bottom: 12px;
  }

  .lb-mega--sol,
  .lb-mega--sm {
    width: 100%;
    right: auto;
  }

  .lb-mega-inner { width: 100%; }

  .lb-mega-grid,
  .lb-mega-grid--2,
  .lb-mega-grid--sol,
  .lb-two,
  .lb-about-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lb-mega-grid--2 > .lb-col + .lb-col,
  .lb-mega-grid--sol > .lb-col + .lb-col {
    border-left: 0;
    padding-left: 0;
  }

  /* flatten the card treatment in the drawer */
  .lb-col--pane {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 14px 6px;
  }
  .lb-card {
    padding: 0;
    background: transparent;
  }
  .lb-links--compact .lb-card + .lb-card { margin-top: 4px; }
  .lb-sub a { padding-left: 8px; }
  .lb-links--compact a:hover { background: rgba(255, 255, 255, 0.06); }

  .lb-col-title,
  .lb-mega--sol .lb-col-title {
    margin-bottom: 8px;
    padding-inline: 8px;
    color: #a396b3;
  }
  .lb-col-title--brand { color: #ffffff; }
  .lb-powered { color: #a396b3; }
  .lb-brand-logo { height: 24px; }

  .lb-links a,
  .lb-about-top,
  .lb-browse-item { padding: 11px 8px; }
  .lb-links a:hover,
  .lb-about-top:hover,
  .lb-browse-item:hover { background: rgba(255, 255, 255, 0.06); }

  .lb-txt b { color: #ffffff; }
  .lb-txt small { color: #a396b3; }

  .lb-ico,
  .lb-col--data .lb-ico,
  .lb-mega--sol .lb-ico,
  .lb-browse .lb-ico {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-top: 0;
    background: rgba(255, 255, 255, 0.9);
  }

  /* browse band in the drawer */
  .lb-browse {
    grid-template-columns: 1fr;
    margin: 14px 0 0;
    padding: 6px;
    border-top: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }
  .lb-browse-item + .lb-browse-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lb-about-top { border-bottom-color: rgba(255, 255, 255, 0.1); }
  .lb-about-grid > ul:first-child {
    border-right: 0;
    padding-right: 0;
  }

  .lb-drop a {
    padding: 12px 8px;
    color: #ffffff;
  }
  .lb-drop a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #c084fc;
  }

  .lb-actions {
    width: 100%;
    margin-top: 26px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .lb-search { border: 1px solid rgba(255, 255, 255, 0.16); }
  .lb-login {
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }
  .lb-cta {
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 575.98px) {
  .lb-logo img { height: 32px; }

  .lb-menu {
    width: 100%;
    padding: 16px 16px 32px;
  }
  .lb-menu-head {
    margin: -16px -16px 8px;
    padding: 14px 16px;
  }
  .lb-menu-logo img { height: 30px; }

  .lb-actions {
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    grid-template-areas:
      "login login login"
      "search cta ai";
    align-items: center;
    gap: 12px;
  }
  .lb-login {
    grid-area: login;
    width: 100%;
    text-align: center;
  }
  .lb-search { grid-area: search; }
  .lb-cta    { grid-area: cta; width: 100%; }
  .lb-ai     { grid-area: ai; }
}

@media (prefers-reduced-motion: reduce) {
  .lb-header,
  .lb-header * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}