/* ==========================================
   PREMIUM DESIGN (same palette)
   bg: #0a1012 / accent: #d1ff45
========================================== */
:root {
  --bg: #0a1012;
  --ink: #e9eef0;
  --muted: rgba(233, 238, 240, 0.68);
  --lime: #c1d83c;
  --lime2: rgba(209, 255, 69, 0.18);
  --line: rgba(233, 238, 240, 0.1);
}

.neon-feature {
  position: relative;
  padding: 110px 17%;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.neon-inner {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
}

.neon-head {
  max-width: 68ch;
}
.neon-kicker {
  margin: 0 0 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(209, 255, 69, 0.82);
}
.neon-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: 0.6px;
}
.neon-sub {
  margin: 0;
  line-height: 1.8;
  color: var(--muted);
}

.neon-layout {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

/* ----- steps (left) ----- */
.neon-steps {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  position: relative;
}
.neon-steps::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: radial-gradient(
    700px 220px at 10% 10%,
    rgba(209, 255, 69, 0.14),
    transparent 55%
  );
  pointer-events: none;
}

.neon-step {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(233, 238, 240, 0.08);
  background: rgba(10, 16, 18, 0.35);
  color: rgba(233, 238, 240, 0.88);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
  margin-bottom: 10px;
  text-align: left;
}
.neon-step:last-child {
  margin-bottom: 0;
}

.neon-step .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(233, 238, 240, 0.22);
  box-shadow: 0 0 0 6px rgba(233, 238, 240, 0.06);
  flex: 0 0 10px;
}
.neon-step .txt {
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 12px;
}
.neon-step .chev {
  margin-left: auto;
  opacity: 0.55;
  transform: translateY(-1px);
}

.neon-step:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 255, 69, 0.22);
}
.neon-step.is-active {
  background: rgba(146, 199, 81, 0.08);
  border-color: rgba(146, 199, 81, 0.55);
  box-shadow: 0 0 0 8px rgba(146, 199, 81, 0.08);
}
.neon-step.is-active .dot {
  background: #c1d83c;
  box-shadow: 0 0 0 8px rgba(146, 199, 81, 0.12);
}

/* ===========================
   COST MANAGEMENT INFOGRAPHIC
=========================== */
:root {
  --bg: #0a1012;
  --lime: #c1d83c;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
}
.breather-img {
  position: relative;
  height: 380px;
  width: 100%;
}
.breather-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(209, 255, 69, 0.2);

  transition: transform 0.5s ease;
}
.breather-img img:hover {
  transform: scale(1.1);
}
/*--------------------DARK SECTION----------------------------*/

.cm-process {
  position: relative;
  padding: 70px 15%;
  background: var(--bg);
  overflow: hidden;
}
.cm-process2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 100px 15%;
  background: var(--bg);
  overflow: hidden;
}
.cm-inner {
  max-width: 1250px;
  margin: 0 auto;
}
.cm-inner2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1250px;
  margin: 0 auto;
}
.cm-title {
  margin: 0 0 26px;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: 0.6px;
  color: #e9eef0;
}
.cm-title2 {
  margin: 0 0 26px;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: 0.6px;
  color: var(--ink);
}

/* wrapper */
.cm-track {
  position: relative;

  padding: 26px 14px 18px;
  /*background: radial-gradient(
    700px 240px at 10% 10%,
    rgba(209, 255, 69, 0.1),
    transparent 55%
  );*/
}
.bbbee-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  gap: 100px;

  border-radius: 12px;

  /*background: rgba(255, 255, 255, 0.02);
  
  border: 1px solid rgba(255, 255, 255, 0.08);*/
  backdrop-filter: blur(10px);
}
.bbbee-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  color: white;
}
.bbbee-card-left p {
  margin: 16px 0 0;
}
.bbbee-card-right {
  width: 50%;
  height: auto;
}
.bbbee-card-right img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 17px;
}

/* steps row */
.cm-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  padding: 18px 10px 4px;
  z-index: 3;
}

/* svg overlay */
.cm-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none; /* line is driven by node hover/click */
  z-index: 2;
}

/* base path */
#cmBasePath {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* interactive segment connectors */
.cm-seg {
  fill: none;
  stroke: rgba(209, 255, 69, 0.18);
  stroke-width: 6;
  stroke-linecap: round;
  opacity: 0.85;
  transition:
    opacity 0.18s ease,
    stroke 0.18s ease,
    filter 0.18s ease;
}

/* energized (completed) */
.cm-seg.is-energized {
  stroke: #c1d83c;
  filter: url(#cmGlow);
  opacity: 1;
}

/* hover highlight (adjacent connectors) */
.cm-seg.is-hover {
  stroke: #c1d83c;
  filter: url(#cmGlow);
  opacity: 1;
}

/* optional: “next” segment slight hint */
.cm-seg.is-next {
  stroke: rgba(209, 255, 69, 0.4);
  opacity: 1;
}

/* traveling beam */
#cmBeamPath {
  fill: none;
  stroke: #c1d83c;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#cmGlow);
  opacity: 0.95;
}

/* glow dot */
.cm-dot-core {
  fill: #c1d83c;
  filter: url(#cmGlow);
}
.cm-dot-halo {
  fill: rgba(146, 199, 81, 0.14);
}

/* step */
.cm-step {
  width: min(170px, 16%);
  text-align: center;
  position: relative;
  transform: translateY(0);
  cursor: pointer;
}
.cm-circle {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 16, 18, 0.88);
  border: 3px solid rgba(146, 199, 81, 0.55);
  box-shadow: 0 0 0 10px rgba(146, 199, 81, 0.07);
  position: relative;
}
.cm-circle::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(209, 255, 69, 0.18),
    transparent 60%
  );
  opacity: 0.7;
  filter: blur(6px);
}
.cm-circle img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}
.cm-label {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #c1d83c;
}

/* active */
.cm-step.is-active .cm-circle {
  border-color: #c1d83c;
  box-shadow:
    0 0 0 12px rgba(82, 184, 72, 0.12),
    0 0 35px rgba(82, 184, 72, 0.15);
}
.cm-step.is-active .cm-label {
  color: #c1d83c;
}

/* caption */
.cm-caption {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.cm-caption-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(209, 255, 69, 0.1);
  border: 1px solid rgba(209, 255, 69, 0.2);
  color: #c1d83c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cm-caption-text {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* responsive */
@media (max-width: 980px) {
  .cm-process {
    padding: 60px 24px;
  }
  .cm-steps {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }
  .cm-step {
    width: 160px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}
.separator-line {
  position: relative; /* ADD THIS */
  width: 5%;
  height: 3px;
  background: #c1d83c;
  margin: 4.5% 0;
}
.separator-line::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 100%;
  background: radial-gradient(circle, rgba(82, 184, 72, 0.4), transparent 10%);
  filter: blur(4px);
  opacity: 0.7;
}
.separator-line:hover {
  background: #c1d83c;
}
.cm-process {
  position: relative;
  overflow: hidden;
  background: #0a1012; /* keeps it consistent */
}

/* ensure content stays above bg */
.cm-inner,
.cm-track,
.cm-title,
.cm-caption {
  position: relative;
  z-index: 2;
}

/* BG wrapper */
.cm-bg {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  filter: saturate(1.1);
}

/* blobs */
.cm-blob {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  opacity: 0.28;
  filter: blur(90px);
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: background-position, transform;
}

/* your palette */
.cm-blob.b1 {
  top: 10%;
  left: 8%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(209, 255, 69, 0.95),
    transparent 60%
  );
}
.cm-blob.b2 {
  top: 45%;
  left: 55%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(82, 184, 72, 0.85),
    transparent 62%
  );
  opacity: 0.22;
}
.cm-blob.b3 {
  top: 65%;
  left: 15%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(209, 255, 69, 0.55),
    transparent 65%
  );
  opacity: 0.16;
}

/* subtle grid overlay */
.cm-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(209, 255, 69, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 255, 69, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    circle at 30% 20%,
    rgba(0, 0, 0, 1),
    transparent 68%
  );
  mix-blend-mode: screen;
}

/* simple noise (no external image) */
.cm-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0.08) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
}

/* Mobile: tone it down */
@media (max-width: 980px) {
  .cm-blob {
    opacity: 0.18;
    filter: blur(60px);
  }
  .cm-grid {
    opacity: 0.07;
  }
  .cm-noise {
    opacity: 0.06;
  }
}
@media (max-width: 430px) {
  .cm-process2 {
    padding: 100px 8%;
  }
}

/* -------------------------------------------Glow Effect------------------------------------ */

/* default: slightly dim so the sequence feels clear */
.cm-step {
  opacity: 0.45;
  filter: saturate(0.9);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.separator-line {
  opacity: 0.18;
  transition:
    opacity 0.35s ease,
    box-shadow 0.35s ease;
}

/* LIT step (current) */
.cm-step.is-lit {
  opacity: 1;
  filter: saturate(1.1);
  transform: translateY(-2px);
}

.cm-step.is-lit .cm-circle {
  border-color: #c1d83c;
  box-shadow:
    0 0 0 12px rgba(82, 184, 72, 0.12),
    0 0 40px rgba(82, 184, 72, 0.22);
}

/* LIT separator (between current and next) */
.separator-line.is-lit {
  opacity: 1;
  box-shadow:
    0 0 14px rgba(146, 199, 81, 0.55),
    0 0 28px rgba(146, 199, 81, 0.25);
}

/* --------------------------- */
/* Force-lit wins over any earlier styles */
.cm-step.is-lit {
  opacity: 1 !important;
  filter: saturate(1.15) !important;
}

.cm-step.is-lit .cm-circle {
  border-color: #c1d83c !important;
  box-shadow:
    0 0 0 12px rgba(82, 184, 72, 0.18),
    0 0 55px rgba(82, 184, 72, 0.35) !important;
}

.cm-step.is-lit .cm-circle::after {
  opacity: 1 !important;
  filter: blur(8px) !important;
}

.separator-line.is-lit {
  opacity: 1 !important;
  box-shadow:
    0 0 16px rgba(146, 199, 81, 0.75),
    0 0 34px rgba(146, 199, 81, 0.35) !important;
}
