/* Mega-menu for the homepage nav. All rules are scoped under .lsx-nav /
   .lsx-mega so nothing here can reach the compiled Tailwind markup.
   Rollback: remove this file, lsx-nav.js and the two tags in index.html. */

.lsx-navbar { position: relative; }

/* ---- trigger row (replaces the flat link list) ---- */
.lsx-nav {
  display: none;
  align-items: center;
  gap: 34px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #71717a;
}
@media (min-width: 1024px) { .lsx-nav { display: flex; } }

/* the panel spans the whole nav container, so only the trigger itself is a
   positioning context (for its underline) — not the group */
.lsx-nav .lsx-trig { position: relative; }
.lsx-nav a,
.lsx-nav button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: color .2s ease;
}
.lsx-nav a:hover,
.lsx-nav button:hover,
.lsx-nav .lsx-open > button { color: #18181b; }

.lsx-nav .lsx-caret {
  width: 9px; height: 9px;
  opacity: .55;
  transition: transform .22s ease, opacity .22s ease;
}
.lsx-nav .lsx-open .lsx-caret { transform: rotate(180deg); opacity: 1; }

/* the active trigger gets a lime underline that grows from the centre */
.lsx-nav .lsx-trig::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -9px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #d9f64b, transparent);
  transform: scaleX(0);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.lsx-nav .lsx-open .lsx-trig::after { transform: scaleX(1); }

/* ---- the panel ---- */
.lsx-mega {
  position: absolute;
  top: calc(100% + 20px);
  left: 0; right: 0;
  z-index: 60;
  padding: 26px;
  border-radius: 26px;
  background:
    linear-gradient(#0d0d0f, #0d0d0f) padding-box,
    linear-gradient(135deg, rgba(217,246,75,.34), rgba(255,255,255,.08) 38%, rgba(255,255,255,.05)) border-box;
  border: 1px solid transparent;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 30px 70px -20px rgba(0,0,0,.55),
    0 8px 24px -12px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.995);
  transform-origin: top center;
  transition: opacity .2s ease, transform .26s cubic-bezier(.2,.8,.2,1), visibility .2s;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.lsx-mega::before {
  /* soft lime bloom behind the first column, echoes the hero radar */
  content: '';
  position: absolute;
  left: 8%; top: -30%;
  width: 420px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217,246,75,.13), transparent);
  pointer-events: none;
}
.lsx-open .lsx-mega { opacity: 1; visibility: visible; transform: none; }

.lsx-mega-grid { position: relative; display: grid; gap: 26px; }
.lsx-mega-grid.c3 { grid-template-columns: 1fr 1fr 300px; }
.lsx-mega-grid.c4 { grid-template-columns: 1fr 1fr 1fr 290px; }

.lsx-col-h {
  display: block;
  margin: 0 0 12px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #6c6c74;
}

.lsx-mi {
  /* !important because the compiled bundle styles `nav a` as inline-flex, and
     the mega panel lives inside <nav> */
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 13px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.lsx-mi:hover { background: rgba(217,246,75,.07); transform: translateX(2px); }

.lsx-mi-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  color: #d9f64b;
  transition: background .18s ease, border-color .18s ease;
}
.lsx-mi-ic svg { width: 15px; height: 15px; }
.lsx-mi-ic img { width: 17px; height: 17px; object-fit: contain; border-radius: 3px; }
.lsx-mi:hover .lsx-mi-ic { background: rgba(217,246,75,.14); border-color: rgba(217,246,75,.3); }

.lsx-mi-t { display: block; font-size: 13px; font-weight: 700; color: #f4f4f5; line-height: 1.35; }
.lsx-mi-d { display: block; margin-top: 2px; font-size: 11.5px; color: #8b8b95; line-height: 1.45; }

/* compact rows for the round-up list */
.lsx-mi.slim { padding: 7px 10px; align-items: center; }
.lsx-mi.slim .lsx-mi-ic { width: 24px; height: 24px; border-radius: 7px; }
.lsx-mi.slim .lsx-mi-ic svg { width: 12px; height: 12px; }
.lsx-mi.slim .lsx-mi-t { font-size: 12.5px; font-weight: 600; }

.lsx-all {
  /* block-level, so it drops onto its own line under the list instead of
     trailing the last item */
  display: flex !important;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin: 14px 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d9f64b;
  text-decoration: none;
}
.lsx-all svg { width: 12px; height: 12px; transition: transform .2s ease; }
.lsx-all:hover svg { transform: translateX(3px); }

/* ---- promo card ---- */
.lsx-promo {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 18px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(217,246,75,.14), rgba(255,255,255,.03) 55%);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
}
.lsx-promo::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(217,246,75,.16);
  box-shadow: 0 0 0 26px rgba(217,246,75,.05);
  pointer-events: none;
}
.lsx-promo-k {
  font-size: 10px; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: #d9f64b;
}
.lsx-promo-t { margin-top: 10px; font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }
.lsx-promo-d { margin-top: 7px; font-size: 12px; color: #9a9aa4; line-height: 1.5; }
.lsx-promo-b {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #d9f64b;
}
.lsx-promo-b svg { width: 13px; height: 13px; transition: transform .2s ease; }
.lsx-promo:hover .lsx-promo-b svg { transform: translateX(3px); }

.lsx-promo-logos { display: flex; gap: 6px; margin-top: 14px; }
.lsx-promo-logos img {
  width: 26px; height: 26px; object-fit: contain;
  padding: 4px; border-radius: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.07);
}
.lsx-promo-logos span {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  font-size: 9.5px; font-weight: 800; color: #9a9aa4;
}

@media (prefers-reduced-motion: reduce) {
  .lsx-mega, .lsx-mi, .lsx-nav .lsx-caret, .lsx-nav .lsx-trig::after { transition: none; }
}
