:root {
  --m50:          #fde8f4;
  --m100:         #fbc4e6;
  --m200:         #f483cb;
  --m400:         #D40F7D;
  --m500:         #aa0c65;
  --m600:         #840950;
  --n50:          #f8f5f7;
  --n100:         #ede7eb;
  --n200:         #d4c8d0;
  --n400:         #9c8896;
  --n600:         #5e4f5a;
  --white:        #ffffff;
  --surface:      #fdf7fb;
  --border:       #e8c8de;
  --border-light: #f2dcea;
  --ink:          #1a0e17;
  --ink-mid:      #3d2238;
  --ink-light:    #7a5572;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 6px rgba(212,15,125,0.08);
  --shadow-md:    0 6px 28px rgba(212,15,125,0.14);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Outer container */
.workflow-main-con {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem 0;
}

/* ── Pipeline strip */
.workflow {
  display: flex;
  align-items: stretch;
  width: 80%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ── Individual step */
.workflow-step {
  flex: 1;
  padding: 1.25rem 0.85rem;
  background: var(--white);
  border-right: 1px solid var(--border-light);
  text-align: center;
  transition: background 0.15s;
  border-radius: 0;

  /* NEW */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-step:first-child {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.workflow-step:last-child {
  border-right: none;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.workflow-step:only-child {
  border-radius: var(--radius-lg);
}

/* ── Active / featured step */
.workflow-step.active {
  background: var(--m50);
}

/* ── Step number bubble */
.ws-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--n100);
  color: var(--n600);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.6rem;
  transition: background 0.15s, color 0.15s;
}

.workflow-step.active .ws-num {
  background: var(--m400);
  color: var(--white);
}

/* ── Text */
.ws-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.ws-sub {
  font-size: 11px;
  color: var(--ink-light);
  margin-top: 3px;
  margin-bottom: 8px;
}

/* ── Badge */
.ws-badge {
  display: inline-block;
  margin-top: auto; /* Push badge to bottom */
  font-size: 10px;
  font-weight: 700;
  background: var(--m400);
  color: var(--white);
  border-radius: 99px;
  padding: 2px 9px;
  letter-spacing: 0.03em;
}

/* ── Tablet */
@media (max-width: 900px) {
  .workflow-step {
    padding: 1rem 0.5rem;
  }

  .ws-title {
    font-size: 11px;
  }

  .ws-sub {
    font-size: 10px;
  }
}

/* ── Mobile: vertical stack */
@media (max-width: 640px) {
  .workflow {
    flex-direction: column;
    box-shadow: none;
  }

  .workflow-step {
    width: 100%;
    padding: 1.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
  }

  .workflow-step:first-child {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .workflow-step:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .workflow-step:only-child {
    border-radius: var(--radius-lg);
  }

  .ws-title {
    font-size: 14px;
  }

  .ws-sub {
    font-size: 12px;
  }
}
``