/* ======================================
   HOW IT WORKS – OVERVIEW MENUS ONLY
   ====================================== */

/* Shared typography */
.lnm-cmenu,
.lnm-cmenu-mobile {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e1e1e;
}

/* =====================
   DESKTOP CIRCULAR MENU
   ===================== */

.lnm-cmenu {
  position: relative;
  width: 700px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.lnm-cmenu__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.lnm-cmenu__center-icon svg {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Items wrapper */
.lnm-cmenu__items {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Card base */
.lnm-cmenu__item {
  position: absolute;
  width: 270px;
}

.lnm-cmenu__link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.lnm-cmenu__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Icon */
.lnm-cmenu__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #0446f2;
  stroke: #0446f2;
}

/* Text */
.lnm-cmenu__text {
  display: flex;
  flex-direction: column;
}

.lnm-cmenu__title {
  font-size: 15px;
  font-weight: 600;
  color: #0446f2;
  margin-bottom: 2px;
}

.lnm-cmenu__desc {
  font-size: 13px;
  line-height: 1.4;
  color: #1e1e1e;
  opacity: 0.8;
}

/* Active state */
.lnm-cmenu__item--active .lnm-cmenu__link {
  background: #0446f2;
  border-color: #0446f2;
  box-shadow: 0 8px 26px rgba(4,70,242,0.35);
}

.lnm-cmenu__item--active .lnm-cmenu__title,
.lnm-cmenu__item--active .lnm-cmenu__desc {
  color: #ffffff;
}

.lnm-cmenu__item--active .lnm-cmenu__icon svg {
  fill: #ffffff;
  stroke: #ffffff;
}

/* Fine-tuned positions (adjust if needed) */
.lnm-cmenu__item--benefits {
  top: 22%;
  left: -5%;
}

.lnm-cmenu__item--model {
  top: 8%;
  left: 58%;
}

.lnm-cmenu__item--features {
  top: 45%;
  left: 65%;
}

.lnm-cmenu__item--balanced-scorecard {
  top: 68%;
  left: 55%;
}

.lnm-cmenu__item--esg {
  top: 60%;
  left: -10%;
}

/* Hide circular on small screens (we'll show mobile menu instead) */
@media (max-width: 767px) {
  .lnm-cmenu {
    display: none;
  }
}

/* =====================
   MOBILE STACKED MENU
   ===================== */

.lnm-cmenu-mobile {
  max-width: 480px;
  margin: 0 auto;
}

.lnm-cmenu-mobile__center-icon svg {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: block;
}

.lnm-cmenu-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lnm-cmenu-mobile__link {
  display: flex;
  gap: 12px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.lnm-cmenu-mobile__link:hover {
  transform: translateY(-2px);
}

/* Mobile icons */
.lnm-cmenu-mobile__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: #0446f2;
  stroke: #0446f2;
}

/* Mobile text */
.lnm-cmenu-mobile__title {
  font-size: 15px;
  font-weight: 600;
  color: #0446f2;
  margin-bottom: 2px;
}

.lnm-cmenu-mobile__desc {
  font-size: 13px;
  line-height: 1.4;
  color: #1e1e1e;
  opacity: 0.8;
}

/* Active (mobile) */
.lnm-cmenu-mobile__item--active .lnm-cmenu-mobile__link {
  background: #0446f2;
  border-color: #0446f2;
  box-shadow: 0 8px 26px rgba(4,70,242,0.35);
}

.lnm-cmenu-mobile__item--active .lnm-cmenu-mobile__icon svg {
  fill: #ffffff;
  stroke: #ffffff;
}

.lnm-cmenu-mobile__item--active .lnm-cmenu-mobile__title,
.lnm-cmenu-mobile__item--active .lnm-cmenu-mobile__desc {
  color: #ffffff;
}

/* Hide mobile menu on larger screens (safety) */
@media (min-width: 768px) {
  .lnm-cmenu-mobile {
    display: none;
  }
}

/* MOBILE – Enhanced center logo background + glow */
.lnm-cmenu-mobile__center-icon {
    position: relative;
    width: fit-content;
    margin: 0 auto 20px;
}

/* Same white rectangle + blue glow for BOTH desktop and mobile center logos */
.lnm-cmenu__center-icon svg,
.lnm-cmenu-mobile__center-icon svg {
  width: 64px;
  height: 64px;
  padding: 12px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(4, 70, 242, 0.25); /* blue glow */
}



.lnm-cmenu__items,
.lnm-cmenu__items li {
    list-style: none !important;
}


.lnm-cmenu__link:hover {
    text-decoration: none !important;
}

.lnm-cmenu-mobile__link:hover {
    text-decoration: none !important;
}


/* Connecting lines behind cards – Figma-style pipes */
.lnm-cmenu__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.lnm-cmenu__lines path {
  stroke: rgba(4, 70, 242, 0.35); /* soft blue */
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}



/* Remove bullets / theme dots from mobile menu */
.lnm-cmenu-mobile__list,
.lnm-cmenu-mobile__item {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* Kill any BeTheme "dot" pseudo-elements */
.lnm-cmenu-mobile__item::before,
.lnm-cmenu-mobile__item::marker {
  content: none !important;
}
