/* Extracted runtime style block 1 */

/* ==========================================================
   SOF Brain Pipeline Design V3
   Official SOF AI spectrum only
   ========================================================== */

.pipeline-steps {
  overflow: visible;
}

.pipeline-step {
  --step-color: #7B2CFF;
  position: relative;
  overflow: visible;
  border-color: color-mix(
    in srgb,
    var(--step-color) 72%,
    transparent
  );
  background:
    radial-gradient(
      circle at 50% 20%,
      color-mix(in srgb, var(--step-color) 13%, transparent),
      transparent 48%
    ),
    rgba(10, 24, 46, 0.68);
  box-shadow:
    inset 0 0 22px rgba(255,255,255,0.025),
    0 0 18px color-mix(
      in srgb,
      var(--step-color) 11%,
      transparent
    );
}

#pipelinePreparing {
  --step-color: #FF2D8A;
}

#pipelineArticle {
  --step-color: #7B2CFF;
}

#pipelineQa {
  --step-color: #00D4FF;
}

#pipelineCta {
  --step-color: #2B7CFF;
}

#pipelineLinking {
  --step-color: #7B2CFF;
}

#pipelineDelivery {
  --step-color: #FF2D8A;
}

.pipeline-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--step-color);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow:
    0 0 12px var(--step-color),
    0 0 24px color-mix(
      in srgb,
      var(--step-color) 48%,
      transparent
    );
  z-index: 5;
}

.pipeline-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--step-color) 16%, transparent),
      rgba(13,15,28,0.96) 70%
    );
  border: 2px solid var(--step-color);
  color: #fff;
  box-shadow:
    inset 0 0 18px rgba(255,255,255,0.035),
    0 0 18px color-mix(
      in srgb,
      var(--step-color) 24%,
      transparent
    );
}

.pipeline-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pipeline-title {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline-status {
  color: var(--step-color);
  font-weight: 800;
}

/* Neon connector between cards */
.pipeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: 12px;
  height: 3px;
  transform: translateY(-50%);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--step-color),
      #00D4FF,
      #7B2CFF
    );
  box-shadow:
    0 0 8px var(--step-color),
    0 0 13px rgba(0,212,255,0.52);
  z-index: 4;
}

.pipeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--step-color);
  box-shadow:
    0 0 9px var(--step-color),
    0 0 15px var(--step-color);
  z-index: 5;
}

@keyframes sofPipelineLivePulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.07);
    filter: brightness(1.3);
  }
}


/* Extracted runtime style block 2 */

/* ==========================================================
   SOF Live Output Customer View V1
   ========================================================== */

.customer-output-article {
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background:
    radial-gradient(circle at top right, rgba(123,44,255,.12), transparent 44%),
    rgba(10,24,46,.60);
  border: 1px solid rgba(123,44,255,.22);
}

.customer-output-article h3 {
  margin: 7px 0 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.25;
}

.customer-output-label {
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.customer-output-section {
  margin-top: 18px;
}

.customer-progress-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.customer-progress-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.74);
  font-size: 13px;
  font-weight: 800;
}

.customer-progress-symbol {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
}

.customer-progress-item.completed {
  border-color: rgba(0,212,255,.20);
  color: rgba(255,255,255,.92);
}

.customer-progress-item.completed .customer-progress-symbol {
  color: #00D4FF;
  background: rgba(0,212,255,.11);
  box-shadow: 0 0 14px rgba(0,212,255,.16);
}

.customer-progress-item.active {
  border-color: rgba(255,45,138,.34);
  background:
    linear-gradient(135deg, rgba(255,45,138,.10), rgba(123,44,255,.10));
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255,45,138,.08),
    0 0 18px rgba(255,45,138,.10);
}

.customer-progress-item.active .customer-progress-symbol {
  color: #FF2D8A;
  background: rgba(255,45,138,.12);
  box-shadow: 0 0 16px rgba(255,45,138,.24);
  animation: customerOutputPulse 1.45s ease-in-out infinite;
}

.customer-progress-item.waiting .customer-progress-symbol {
  color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.05);
}

.customer-output-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.customer-output-metrics > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}

.customer-output-metrics strong {
  color: #fff;
  font-size: 18px;
}

.customer-output-metrics span {
  color: rgba(255,255,255,.50);
  font-size: 12px;
  font-weight: 800;
}

.customer-output-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.06);
}

.customer-output-footer span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 800;
}

.customer-output-footer strong {
  color: #00D4FF;
  font-size: 13px;
}

@keyframes customerOutputPulse {
  0%, 100% {
    transform: rotate(0deg) scale(1);
    filter: brightness(1);
  }

  50% {
    transform: rotate(180deg) scale(1.08);
    filter: brightness(1.35);
  }
}

@media (max-width: 620px) {
  .customer-output-metrics {
    grid-template-columns: 1fr;
  }
}


/* Extracted runtime style block 3 */

/* SOF Live Output Customer View - row hover */
.customer-progress-item {
  cursor: default;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.customer-progress-item:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(
      135deg,
      rgba(255,45,138,.09),
      rgba(123,44,255,.11),
      rgba(0,212,255,.07)
    );
  border-color: rgba(123,44,255,.42);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 10px 24px rgba(0,0,0,.16),
    0 0 18px rgba(123,44,255,.10);
}

.customer-progress-item.completed:hover {
  border-color: rgba(0,212,255,.44);
  box-shadow:
    inset 0 0 0 1px rgba(0,212,255,.06),
    0 10px 24px rgba(0,0,0,.16),
    0 0 18px rgba(0,212,255,.12);
}

.customer-progress-item.active:hover {
  border-color: rgba(255,45,138,.62);
  box-shadow:
    inset 0 0 0 1px rgba(255,45,138,.10),
    0 10px 24px rgba(0,0,0,.18),
    0 0 24px rgba(255,45,138,.18);
}

.customer-progress-item.waiting:hover {
  border-color: rgba(123,44,255,.36);
}


/* Extracted runtime style block 4 */

/* ==========================================================
   SOF Event-Driven Pipeline Visual States V2
   ========================================================== */

.progress-fill {
  width: 0;
  transition: width .55s ease;
}

/* Waiting remains calm and dark */
.pipeline-step.waiting {
  opacity: .56;
  filter: saturate(.62);
  box-shadow:
    inset 0 0 18px rgba(255,255,255,.018),
    0 0 10px rgba(0,0,0,.12);
}

.pipeline-step.waiting .pipeline-icon {
  opacity: .62;
  filter: grayscale(.18) brightness(.78);
}

/* Completed is clearly visible, but calmer than active */
.pipeline-step.completed {
  opacity: 1;
  border-color: rgba(0,212,255,.42) !important;
  background:
    radial-gradient(
      circle at 50% 22%,
      rgba(0,212,255,.045),
      transparent 55%
    ),
    rgba(10,24,46,.76) !important;
  box-shadow:
    inset 0 0 10px rgba(0,212,255,.018),
    0 0 10px rgba(0,212,255,.08) !important;
}

.pipeline-step.completed .pipeline-icon {
  animation: none !important;
  opacity: .90;
  filter: saturate(.90) brightness(.98);
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(
        in srgb,
        var(--step-color) 14%,
        transparent
      ),
      rgba(13,15,28,.94) 70%
    ) !important;
  border-color:
    color-mix(
      in srgb,
      var(--step-color) 68%,
      transparent
    ) !important;
  color: rgba(255,255,255,.92);
  box-shadow:
    inset 0 0 14px rgba(255,255,255,.05),
    0 0 14px
      color-mix(
        in srgb,
        var(--step-color) 18%,
        transparent
      ) !important;
}

.pipeline-step.completed .pipeline-number {
  opacity: .90;
  filter: saturate(.88) brightness(.98);
  background:
    color-mix(
      in srgb,
      var(--step-color) 86%,
      #111827
    ) !important;
  border-color: rgba(255,255,255,.30) !important;
  box-shadow:
    0 0 11px
      color-mix(
        in srgb,
        var(--step-color) 48%,
        transparent
      ) !important;
}

.pipeline-step.completed .pipeline-status {
  color: rgba(0,212,255,.92) !important;
}

/* Active is the strongest visual state */
.pipeline-step.active {
  opacity: 1;
  filter: none;
  border-color: var(--step-color) !important;
  box-shadow:
    inset 0 0 30px
      color-mix(
        in srgb,
        var(--step-color) 12%,
        transparent
      ),
    0 0 28px
      color-mix(
        in srgb,
        var(--step-color) 38%,
        transparent
      ) !important;
}

.pipeline-step.active .pipeline-icon {
  animation: sofPipelineLivePulse 1.45s ease-in-out infinite !important;
  box-shadow:
    inset 0 0 20px rgba(255,255,255,.16),
    0 0 34px
      color-mix(
        in srgb,
        var(--step-color) 58%,
        transparent
      ),
    0 0 54px
      color-mix(
        in srgb,
        var(--step-color) 30%,
        transparent
      ) !important;
}

/* Connector waiting state */
.pipeline-step:not(:last-child)::after {
  opacity: .26;
  filter: saturate(.55);
  transition:
    opacity .25s ease,
    filter .25s ease,
    box-shadow .25s ease;
}

.pipeline-step:not(:last-child)::before {
  opacity: .35;
  transition:
    opacity .25s ease,
    box-shadow .25s ease;
}

/* Connector completed state */
.pipeline-step.connector-complete:not(:last-child)::after {
  opacity: 1;
  filter: saturate(1.25) brightness(1.2);
  box-shadow:
    0 0 10px #00D4FF,
    0 0 18px rgba(0,212,255,.52);
}

.pipeline-step.connector-complete:not(:last-child)::before {
  opacity: 1;
  background: #00D4FF;
  box-shadow:
    0 0 9px #00D4FF,
    0 0 17px rgba(0,212,255,.72);
}
