/* ==========================================================================
   Nomad but Digital — Process Section Motion & Visual Upgrade
   Horizontal desktop / vertical mobile connecting line, SVG mini visuals, active state & pointer hover.
   ========================================================================== */

/* Compact Dark Process Promise Panel */
.nbd-process-promise {
  width: 100%;
  max-width: 470px;
  background: #1A1B17;
  color: #FFFEFE;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 254, 254, 0.08);
  box-shadow: 0 12px 30px rgba(26, 27, 23, 0.1);
}
.nbd-process-promise__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255, 254, 254, 0.76);
  margin-bottom: 8px;
}
.nbd-process-promise__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF0587;
  flex-shrink: 0;
}
.nbd-process-promise__title {
  margin: 0 0 12px;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  font-weight: 800;
  line-height: 1.28;
  color: #FFFEFE;
}
.nbd-process-promise__seq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(255, 254, 254, 0.06);
  border: 1px solid rgba(255, 254, 254, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
  color: #9DE8FF;
  margin-bottom: 10px;
}
.nbd-process-promise__seq i {
  font-style: normal;
  color: #FF0587;
}
.nbd-process-promise__sub {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 254, 254, 0.7);
}

@media (max-width: 960px) {
  .nbd-process-promise {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .nbd-process-promise {
    padding: 18px;
  }
  .nbd-process-promise__seq {
    font-size: 0.74rem;
    gap: 4px 6px;
    padding: 8px 10px;
  }
}

.nbd-process-stage {
  position: relative;
}

/* Connecting Line Behind Cards */
.nbd-process-track {
  position: absolute;
  top: 45px;
  left: 8%;
  right: 8%;
  height: 4px;
  background: rgba(26, 27, 23, 0.08);
  border-radius: 99px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.nbd-process-track__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #FF0587 0%, #FFBB02 52%, #9DE8FF 100%);
  transform-origin: left center;
}

.nbd-process-grid {
  position: relative;
  z-index: 1;
}

.nbd-process-card {
  position: relative;
  z-index: 1;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.nbd-process-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.nbd-process-card__top .nbd-process-card__num {
  margin-bottom: 0;
  flex-shrink: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.nbd-process-mini {
  position: relative;
  flex: 1;
  max-width: 172px;
  height: 64px;
  border-radius: 11px;
  background: rgba(157, 232, 255, 0.14);
  border: 1px solid rgba(26, 27, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.nbd-process-mini svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 01: Interactive Audit Scanner */
.nbd-pm-audit {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2px;
}
.nbd-pm-scanner {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FF0587 40%, #9DE8FF 80%, transparent 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.nbd-pm-audit__row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 1.5px 6px;
  border-radius: 5px;
  background: rgba(255, 254, 254, 0.85);
  font-size: 0.56rem;
  font-weight: 800;
  color: #1A1B17;
  line-height: 1.2;
}
.nbd-pm-audit__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nbd-pm-audit__dot--sky { background: #9DE8FF; }
.nbd-pm-audit__dot--yellow { background: #FFBB02; }
.nbd-pm-audit__dot--pink { background: #FF0587; }
.nbd-pm-audit__check,
.nbd-pm-audit__opp {
  margin-left: auto;
  font-style: normal;
  font-size: 0.54rem;
  font-weight: 800;
}
.nbd-pm-audit__check { color: #0d7a3e; }
.nbd-pm-audit__opp {
  padding: 0 4px;
  border-radius: 99px;
  background: #FFBB02;
  color: #1A1B17;
}

/* 02: Connected Strategy Nodes */
.nbd-pm-strategy {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 03: Live Website Builder */
.nbd-pm-browser {
  width: 100%;
  height: 100%;
  background: #FFFEFE;
  border-radius: 7px;
  border: 1px solid rgba(26, 27, 23, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.nbd-pm-browser__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 6px;
  background: #f2f5f8;
  border-bottom: 1px solid rgba(26, 27, 23, 0.08);
}
.nbd-pm-browser__dots {
  display: inline-flex;
  gap: 3px;
}
.nbd-pm-browser__dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1A1B17;
  opacity: 0.35;
}
.nbd-pm-browser__dots i:first-child { background: #FF0587; opacity: 1; }
.nbd-pm-browser__dots i:nth-child(2) { background: #FFBB02; opacity: 1; }
.nbd-pm-live {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.5rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 99px;
  background: #1A1B17;
  color: #9DE8FF;
  letter-spacing: 0.04em;
}
.nbd-pm-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FF0587;
}
.nbd-pm-browser__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 6px;
  padding: 5px 6px;
  align-items: center;
}
.nbd-pm-browser__col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nbd-pm-browser__h1 {
  height: 5px;
  width: 86%;
  border-radius: 3px;
  background: #1A1B17;
}
.nbd-pm-browser__sub {
  height: 3.5px;
  width: 65%;
  border-radius: 3px;
  background: rgba(26, 27, 23, 0.25);
}
.nbd-pm-browser__cta {
  height: 7px;
  width: 34px;
  border-radius: 99px;
  background: #FF0587;
  margin-top: 1px;
}
.nbd-pm-browser__media {
  height: 26px;
  border-radius: 5px;
  background: rgba(157, 232, 255, 0.45);
  border: 1px solid rgba(26, 27, 23, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nbd-pm-launch-arrow {
  font-size: 0.72rem;
  font-weight: 900;
  color: #1A1B17;
  line-height: 1;
}

/* 04: Animated Growth Analytics */
.nbd-pm-growth {
  width: 100%;
  height: 100%;
  background: #FFFEFE;
  border-radius: 7px;
  border: 1px solid rgba(26, 27, 23, 0.1);
  padding: 3px 6px 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nbd-pm-growth__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nbd-pm-growth__metric {
  font-size: 0.54rem;
  font-weight: 800;
  color: #1A1B17;
}
.nbd-pm-growth__opt {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.5rem;
  font-weight: 800;
  color: #FF0587;
}
.nbd-pm-growth__opt i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFBB02;
}
.nbd-pm-growth__svg {
  width: 100%;
  height: 36px;
}

/* Active Step Enhancement (restrained, non-flashing) */
.nbd-process-card.is-active {
  border-color: rgba(255, 5, 135, 0.32);
  box-shadow: 0 12px 28px rgba(26, 27, 23, 0.06);
}
.nbd-process-card.is-active .nbd-process-card__num {
  box-shadow: 0 0 0 3px rgba(255, 187, 2, 0.28);
}

/* Desktop Pointer-Only Hover */
@media (hover: hover) and (pointer: fine) {
  .nbd-process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 27, 23, 0.09);
    border-color: rgba(255, 5, 135, 0.38);
  }
  .nbd-process-card:hover .nbd-process-mini svg {
    transform: scale(1.08) translateY(-1px);
  }
}

/* Tablet & Mobile: Vertical Progress Line on Left */
@media (max-width: 960px) {
  .nbd-process-track {
    top: 24px;
    bottom: 24px;
    left: 6px;
    right: auto;
    width: 4px;
    height: auto;
  }
  .nbd-process-track__fill {
    background: linear-gradient(180deg, #FF0587 0%, #FFBB02 52%, #9DE8FF 100%);
    transform-origin: top center;
  }
  .nbd-process-grid {
    padding-left: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nbd-process-card,
  .nbd-process-card__num,
  .nbd-process-mini svg {
    transition: none !important;
  }
}
