/* Original pipeline visual and 12 second animation sequence from the supplied Manus reference. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
.live-pipeline {
  --accent: #009cfd;
  --accent-bright: #8fd2ff;
  --accent-deep: #0073c7;
  --accent-glow: #009cfd1f;
  --bg-dark: #060d18;
  --border-dark: #ffffff0f;
  --glass-border: #ffffff12;
  --radius: 12px;
  --radius-lg: 20px;
  --text-light: #9eb0c7;
  --text-white: #e8edf4;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.live-pipeline .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}
.live-pipeline .eyebrow > span {
  width: 34px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}
.demo-section {
  padding-top: 0;
  border: 0;
}
.live-pipeline {
  isolation: isolate;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 39% 48%, #009cfd17, #0000 23%),
    linear-gradient(145deg, #081322, #060d18 72%);
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.75rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 34px 90px #00000042;
}
.pipeline-grid {
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(#009cfd07 1px, #0000 1px),
    linear-gradient(90deg, #009cfd07 1px, #0000 1px);
  background-size: 48px 48px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#000, #0000 86%);
  mask-image: linear-gradient(#000, #0000 86%);
}
.pipeline-showcase-head {
  border-bottom: 1px solid var(--border-dark);
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2.5rem;
  display: flex;
}
.pipeline-showcase-head > div:first-child {
  max-width: 760px;
}
.pipeline-showcase-head .eyebrow {
  margin-bottom: 0.75rem;
}
.pipeline-showcase-head h2 {
  color: var(--text-white);
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
}
.pipeline-showcase-head > div:first-child > p:last-child {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
.pipeline-trust {
  color: var(--text-light);
  flex: none;
  align-items: center;
  gap: 8px;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
}
.pipeline-trust i {
  background: var(--accent);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 16px #009cfdcc;
}
.pipeline-flow {
  grid-template-columns: minmax(190px, 1fr) 64px minmax(
      240px,
      1.16fr
    ) 64px minmax(245px, 1.13fr) 64px minmax(210px, 1fr);
  align-items: center;
  padding: 4rem 0 3.5rem;
  display: grid;
}
.pipeline-stage {
  min-width: 0;
  transition: var(--transition);
  position: relative;
}
.pipeline-stage:hover {
  transform: translateY(-4px);
}
.pipeline-stage-heading {
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
}
.pipeline-stage-heading > span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}
.pipeline-stage-heading > div {
  flex-direction: column;
  display: flex;
}
.pipeline-stage-heading small {
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.62rem;
  font-weight: 700;
}
.pipeline-stage-heading strong {
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1rem;
  font-weight: 700;
}
.pipeline-stage-heading > svg {
  color: var(--accent);
  margin-left: auto;
}
.stage-detail {
  max-width: 240px;
  color: var(--text-light);
  opacity: 0.66;
  transition: var(--transition);
  margin: 1.2rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  transform: translateY(3px);
}
.pipeline-stage:hover .stage-detail {
  opacity: 1;
  transform: translateY(0);
}
.input-source-list {
  gap: 0.55rem;
  display: grid;
}
.input-source {
  width: calc(100% - var(--offset));
  color: var(--text-light);
  animation: 12s linear infinite input-source-cycle;
  animation-delay: var(--delay);
  background: linear-gradient(90deg, #009cfd17, #ffffff05);
  border-left: 1px solid #009cfd61;
  border-radius: 0 9px 9px 0;
  grid-template-columns: 24px 1fr 8px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  display: grid;
  position: relative;
}
.input-source svg {
  color: var(--accent);
}
.input-source i {
  background: var(--accent);
  opacity: 0.35;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px var(--accent);
  border-radius: 50%;
}
.pipeline-connector {
  height: 2px;
  margin-inline: 8px;
  position: relative;
}
.connector-line {
  background: linear-gradient(90deg, #009cfd24, #009cfd94);
  height: 1px;
  margin-block: auto;
  position: absolute;
  inset: 0;
}
.connector-line:after {
  content: "";
  border-top: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
  width: 7px;
  height: 7px;
  position: absolute;
  top: -3px;
  right: 0;
  transform: rotate(45deg);
}
.data-pulse {
  background: var(--accent-bright);
  opacity: 0;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: -3px;
  left: 0;
  box-shadow: 0 0 13px 3px #009cfd99;
}
.connector-input .pulse-one {
  animation: 12s linear infinite pulse-to-ai;
}
.connector-input .pulse-two {
  animation: 12s linear 0.75s infinite pulse-to-ai;
}
.connector-review .data-pulse {
  animation: 12s linear infinite pulse-to-review;
}
.connector-action .data-pulse {
  animation: 12s linear infinite pulse-to-action;
}
.pipeline-ai {
  align-content: center;
  place-items: center;
  min-height: 330px;
  display: grid;
}
.ai-orbit {
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
}
.orbit-one {
  border: 1px solid #009cfd29;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  animation: 12s linear infinite orbit-spin;
}
.orbit-one:before,
.orbit-one:after,
.orbit-two:before {
  content: "";
  background: var(--accent);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 12px var(--accent);
  border-radius: 50%;
  position: absolute;
}
.orbit-one:before {
  top: 24px;
  right: 54px;
}
.orbit-one:after {
  top: 50%;
  left: -4px;
}
.orbit-two {
  border: 1px dashed #8fd2ff21;
  width: 230px;
  height: 230px;
  margin: -115px 0 0 -115px;
  animation: 9s linear infinite orbit-spin-reverse;
}
.orbit-two:before {
  background: var(--accent-bright);
  bottom: 42px;
  right: 18px;
}
.ai-core {
  z-index: 2;
  text-align: center;
  background: radial-gradient(circle at 50% 35%, #009cfd29, #060d18f2 68%);
  border: 1px solid #009cfd52;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 220px;
  min-height: 220px;
  padding: 1.5rem;
  animation: 12s ease-in-out infinite ai-processing;
  display: flex;
  position: relative;
  box-shadow: 0 0 0 12px #009cfd06;
}
.ai-core > svg {
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.ai-core > span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
}
.ai-core > strong {
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
}
.ai-core > p {
  color: var(--text-light);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.32rem;
  margin: 0.55rem 0 0.7rem;
  font-size: 0.62rem;
  line-height: 1.45;
  display: flex;
}
.ai-core > p i {
  background: var(--accent);
  border-radius: 50%;
  width: 3px;
  height: 3px;
}
.processing-bars {
  align-items: end;
  gap: 3px;
  height: 16px;
  margin-bottom: 0.4rem;
  display: flex;
}
.processing-bars b {
  background: var(--accent);
  transform-origin: bottom;
  border-radius: 2px;
  width: 3px;
  height: 6px;
  animation: 12s ease-in-out infinite processing-data;
}
.processing-bars b:nth-child(2) {
  animation-delay: 80ms;
}
.processing-bars b:nth-child(3) {
  animation-delay: 0.16s;
}
.processing-bars b:nth-child(4) {
  animation-delay: 0.24s;
}
.processing-bars b:nth-child(5) {
  animation-delay: 0.32s;
}
.ai-core > small {
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.57rem;
  font-weight: 700;
}
.pipeline-ai .stage-detail {
  text-align: center;
}
.review-state {
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff0b, #ffffff04);
  border: 1px solid #009cfd2e;
  padding: 1.2rem;
  animation: 12s ease-in-out infinite review-state-cycle;
  box-shadow: inset 0 1px #ffffff06;
}
.review-state > span {
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 700;
  display: block;
}
.confidence {
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.9rem;
  display: flex;
}
.confidence small,
.review-state > small {
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
}
.confidence strong {
  color: var(--accent-bright);
  font-size: 0.85rem;
}
.confidence-track {
  background: #ffffff14;
  border-radius: 2px;
  height: 3px;
  margin: 0.35rem 0 1rem;
  overflow: hidden;
}
.confidence-track i {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
  transform-origin: 0;
  width: 94%;
  height: 100%;
  animation: 12s ease-in-out infinite confidence-fill;
  display: block;
}
.recommendation {
  color: var(--text-white);
  margin-top: 0.25rem;
  font-size: 0.86rem;
  display: block;
}
.review-controls {
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
  display: grid;
}
.review-controls span {
  border: 1px solid var(--glass-border);
  color: var(--text-light);
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
}
.review-controls .approve-control {
  color: var(--bg-dark);
  background: var(--accent);
  border-color: #009cfd59;
  animation: 12s ease-in-out infinite approve-selection;
}
.action-list {
  gap: 0.55rem;
  display: grid;
}
.action-item {
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
  animation: 12s ease-in-out infinite action-row-cycle;
  animation-delay: var(--delay);
  grid-template-columns: 22px 1fr 16px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  display: grid;
}
.action-item > svg:first-child {
  color: var(--accent);
}
.action-check {
  color: var(--accent-bright);
  opacity: 0;
  animation: 12s ease-in-out infinite action-check-cycle;
  animation-delay: var(--delay);
}
.pipeline-complete {
  border-radius: var(--radius);
  background: var(--accent-glow);
  opacity: 0;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
  padding: 0.85rem;
  animation: 12s ease-in-out infinite completion-cycle;
  display: flex;
  transform: translateY(6px);
}
.pipeline-complete > i {
  background: var(--accent);
  width: 31px;
  height: 31px;
  color: var(--bg-dark);
  border-radius: 50%;
  place-items: center;
  font-style: normal;
  display: grid;
}
.pipeline-complete > div {
  flex-direction: column;
  display: flex;
}
.pipeline-complete small {
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.6rem;
  font-weight: 800;
}
.pipeline-complete strong {
  color: var(--text-white);
  font-size: 0.78rem;
}
.pipeline-timeline {
  grid-template-columns: repeat(4, 1fr);
  padding-top: 1rem;
  display: grid;
  position: relative;
}
.pipeline-timeline > span {
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform-origin: 0;
  height: 2px;
  animation: 12s linear infinite pipeline-progress;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: scaleX(0);
}
.pipeline-timeline i {
  color: #627892;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 700;
}
.pipeline-timeline i:nth-of-type(2),
.pipeline-timeline i:nth-of-type(3) {
  text-align: center;
}
.pipeline-timeline i:last-child {
  text-align: right;
}
.live-pipeline.is-paused *,
.live-pipeline.is-paused :before,
.live-pipeline.is-paused :after {
  animation-play-state: paused !important;
}
.live-pipeline.is-running *,
.live-pipeline.is-running :before,
.live-pipeline.is-running :after {
  animation-play-state: running !important;
}
@keyframes input-source-cycle {
  0%,
  2% {
    color: var(--text-light);
    background: linear-gradient(90deg, #009cfd0d, #ffffff03);
    transform: translate(0);
  }
  5%,
  15% {
    color: var(--text-white);
    background: linear-gradient(90deg, #009cfd30, #ffffff06);
    transform: translate(5px);
  }
  20%,
  to {
    color: var(--text-light);
    background: linear-gradient(90deg, #009cfd17, #ffffff05);
    transform: translate(0);
  }
}
@keyframes pulse-to-ai {
  0%,
  10% {
    opacity: 0;
    transform: translate(0);
  }
  14% {
    opacity: 1;
  }
  30% {
    opacity: 1;
    transform: translate(55px);
  }
  32%,
  to {
    opacity: 0;
    transform: translate(55px);
  }
}
@keyframes pulse-to-review {
  0%,
  31% {
    opacity: 0;
    transform: translate(0);
  }
  35% {
    opacity: 1;
  }
  48% {
    opacity: 1;
    transform: translate(55px);
  }
  50%,
  to {
    opacity: 0;
    transform: translate(55px);
  }
}
@keyframes pulse-to-action {
  0%,
  63% {
    opacity: 0;
    transform: translate(0);
  }
  67% {
    opacity: 1;
  }
  78% {
    opacity: 1;
    transform: translate(55px);
  }
  80%,
  to {
    opacity: 0;
    transform: translate(55px);
  }
}
@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes orbit-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}
@keyframes ai-processing {
  0%,
  18%,
  55%,
  to {
    filter: brightness();
    transform: scale(1);
  }
  27%,
  46% {
    filter: brightness(1.18);
    transform: scale(1.025);
  }
}
@keyframes processing-data {
  0%,
  18%,
  52%,
  to {
    opacity: 0.45;
    transform: scaleY(0.35);
  }
  24%,
  48% {
    opacity: 1;
    transform: scaleY(2);
  }
}
@keyframes review-state-cycle {
  0%,
  43%,
  73%,
  to {
    border-color: #009cfd2e;
    transform: translateY(0);
  }
  49%,
  69% {
    border-color: #8fd2ff8c;
    transform: translateY(-3px);
  }
}
@keyframes confidence-fill {
  0%,
  42% {
    transform: scaleX(0);
  }
  53%,
  to {
    transform: scaleX(1);
  }
}
@keyframes approve-selection {
  0%,
  54% {
    filter: saturate(0.4);
    box-shadow: none;
  }
  60%,
  72% {
    filter: saturate();
    box-shadow: 0 0 22px #009cfd40;
  }
  78%,
  to {
    filter: saturate(0.65);
    box-shadow: none;
  }
}
@keyframes action-row-cycle {
  0%,
  66% {
    color: var(--text-light);
    transform: translate(0);
  }
  72%,
  84% {
    color: var(--text-white);
    transform: translate(4px);
  }
  91%,
  to {
    color: var(--text-light);
    transform: translate(0);
  }
}
@keyframes action-check-cycle {
  0%,
  68% {
    opacity: 0;
    transform: scale(0.85);
  }
  76%,
  94% {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}
@keyframes completion-cycle {
  0%,
  82% {
    opacity: 0;
    transform: translateY(6px);
  }
  88%,
  97% {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes pipeline-progress {
  0% {
    opacity: 0.25;
    transform: scaleX(0);
  }
  92% {
    opacity: 1;
    transform: scaleX(1);
  }
  98% {
    opacity: 1;
    transform: scaleX(1);
  }
  to {
    opacity: 0;
    transform: scaleX(0);
  }
}
@media (max-width: 1260px) and (min-width: 901px) {
  .live-pipeline {
    padding: 2.5rem 2rem;
  }
  .pipeline-flow {
    grid-template-columns: minmax(0, 0.9fr) 28px minmax(0, 1.16fr) 28px minmax(
        0,
        1.13fr
      ) 28px minmax(0, 0.9fr);
  }
  .pipeline-connector {
    margin-inline: 3px;
  }
  .input-source {
    font-size: 0.68rem;
  }
  .ai-core {
    width: 195px;
    min-height: 195px;
  }
  .orbit-one {
    width: 245px;
    height: 245px;
    margin: -122px 0 0 -122px;
  }
  .orbit-two {
    width: 210px;
    height: 210px;
    margin: -105px 0 0 -105px;
  }
  .review-state {
    padding: 1rem;
  }
  .stage-detail {
    font-size: 0.7rem;
  }
  @keyframes pulse-to-ai {
    0%,
    10% {
      opacity: 0;
      transform: translate(0);
    }
    14% {
      opacity: 1;
    }
    30% {
      opacity: 1;
      transform: translate(24px);
    }
    32%,
    to {
      opacity: 0;
      transform: translate(24px);
    }
  }
  @keyframes pulse-to-review {
    0%,
    31% {
      opacity: 0;
      transform: translate(0);
    }
    35% {
      opacity: 1;
    }
    48% {
      opacity: 1;
      transform: translate(24px);
    }
    50%,
    to {
      opacity: 0;
      transform: translate(24px);
    }
  }
  @keyframes pulse-to-action {
    0%,
    63% {
      opacity: 0;
      transform: translate(0);
    }
    67% {
      opacity: 1;
    }
    78% {
      opacity: 1;
      transform: translate(24px);
    }
    80%,
    to {
      opacity: 0;
      transform: translate(24px);
    }
  }
}
@media (max-width: 900px) {
  .live-pipeline {
    padding: 2rem;
  }
  .pipeline-showcase-head {
    gap: 1rem;
    display: grid;
  }
  .pipeline-trust {
    margin-top: 0;
  }
  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    margin-inline: auto;
    padding: 3rem 0 2.5rem;
    display: grid;
  }
  .pipeline-stage {
    width: 100%;
  }
  .pipeline-stage:hover {
    transform: none;
  }
  .pipeline-inputs,
  .pipeline-review,
  .pipeline-actions {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: #ffffff05;
    padding: 1.5rem;
  }
  .input-source-list {
    grid-template-columns: 1fr 1fr;
  }
  .input-source {
    width: 100%;
  }
  .pipeline-connector {
    width: 2px;
    height: 64px;
    margin: 0 0 0 50%;
    transform: translate(-50%);
  }
  .connector-line {
    background: linear-gradient(#009cfd24, #009cfd94);
    width: 1px;
    height: 100%;
  }
  .connector-line:after {
    top: auto;
    bottom: 0;
    right: -3px;
    transform: rotate(135deg);
  }
  .data-pulse {
    top: 0;
    left: -3px;
  }
  .connector-input .pulse-one,
  .connector-input .pulse-two {
    animation-name: pulse-down-ai;
  }
  .connector-review .data-pulse {
    animation-name: pulse-down-review;
  }
  .connector-action .data-pulse {
    animation-name: pulse-down-action;
  }
  .pipeline-ai {
    min-height: 330px;
  }
  .stage-detail {
    text-align: left;
    max-width: none;
  }
  .pipeline-ai .stage-detail {
    text-align: center;
    max-width: 260px;
  }
  .pipeline-timeline {
    max-width: 620px;
    margin-inline: auto;
  }
  @keyframes pulse-down-ai {
    0%,
    10% {
      opacity: 0;
      transform: translateY(0);
    }
    14% {
      opacity: 1;
    }
    30% {
      opacity: 1;
      transform: translateY(60px);
    }
    32%,
    to {
      opacity: 0;
      transform: translateY(60px);
    }
  }
  @keyframes pulse-down-review {
    0%,
    31% {
      opacity: 0;
      transform: translateY(0);
    }
    35% {
      opacity: 1;
    }
    48% {
      opacity: 1;
      transform: translateY(60px);
    }
    50%,
    to {
      opacity: 0;
      transform: translateY(60px);
    }
  }
  @keyframes pulse-down-action {
    0%,
    63% {
      opacity: 0;
      transform: translateY(0);
    }
    67% {
      opacity: 1;
    }
    78% {
      opacity: 1;
      transform: translateY(60px);
    }
    80%,
    to {
      opacity: 0;
      transform: translateY(60px);
    }
  }
}
@media (max-width: 560px) {
  .live-pipeline {
    border-radius: 16px;
    padding: 1.5rem 1rem;
  }
  .pipeline-showcase-head h2 {
    font-size: 2rem;
  }
  .pipeline-showcase-head > div:first-child > p:last-child {
    font-size: 0.92rem;
  }
  .pipeline-inputs,
  .pipeline-review,
  .pipeline-actions {
    border-radius: 16px;
    padding: 1.1rem;
  }
  .input-source-list {
    grid-template-columns: 1fr;
  }
  .input-source {
    padding: 0.7rem;
  }
  .pipeline-ai {
    min-height: 310px;
  }
  .ai-core {
    width: 205px;
    min-height: 205px;
  }
  .orbit-one {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
  }
  .orbit-two {
    width: 225px;
    height: 225px;
    margin: -112px 0 0 -112px;
  }
  .pipeline-timeline i {
    font-size: 0.49rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-pipeline *,
  .live-pipeline :before,
  .live-pipeline :after {
    animation: none !important;
  }
  .input-source,
  .review-state,
  .action-item,
  .pipeline-complete {
    opacity: 1;
    transform: none;
  }
  .confidence-track i,
  .pipeline-timeline > span {
    transform: scaleX(1);
  }
  .action-check {
    opacity: 1;
    transform: none;
  }
  .processing-bars b {
    opacity: 1;
    height: 10px;
    transform: none;
  }
}
.pipeline-stage {
  isolation: isolate;
  will-change: transform, filter;
}
.pipeline-stage:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  border: 1px solid #009cfd5c;
  border-radius: 18px;
  position: absolute;
  inset: -14px;
  box-shadow:
    0 0 0 1px #009cfd09,
    0 0 34px #009cfd1c;
}
.pipeline-inputs {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-input-motion;
}
.pipeline-inputs:before {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-input-focus;
}
.pipeline-ai {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-ai-motion;
}
.pipeline-ai:before {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-ai-focus;
}
.pipeline-review {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-review-motion;
}
.pipeline-review:before {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-review-focus;
}
.pipeline-actions {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-action-motion;
}
.pipeline-actions:before {
  animation: 12s cubic-bezier(0.4, 0, 0.2, 1) infinite stage-action-focus;
}

.pipeline-connector .connector-line {
  background: linear-gradient(
    90deg,
    #009cfd1a,
    var(--accent),
    var(--accent-bright),
    #009cfd24
  );
  background-size: 220% 100%;
}
.connector-input .connector-line {
  animation: 12s ease-in-out infinite connector-input-energy;
}
.connector-review .connector-line {
  animation: 12s ease-in-out infinite connector-review-energy;
}
.connector-action .connector-line {
  animation: 12s ease-in-out infinite connector-action-energy;
}
.data-pulse {
  width: 8px;
  height: 8px;
  box-shadow:
    0 0 8px 2px #8fd2ffb8,
    -10px 0 16px #009cfd5c;
}
.pipeline-timeline i {
  transition:
    color 0.3s,
    text-shadow 0.3s;
}
.pipeline-timeline i:first-of-type {
  animation: 12s ease-in-out infinite timeline-input-focus;
}
.pipeline-timeline i:nth-of-type(2) {
  animation: 12s ease-in-out infinite timeline-process-focus;
}
.pipeline-timeline i:nth-of-type(3) {
  animation: 12s ease-in-out infinite timeline-review-focus;
}
.pipeline-timeline i:nth-of-type(4) {
  animation: 12s ease-in-out infinite timeline-complete-focus;
}
.pipeline-complete {
  position: relative;
  overflow: visible;
}
.pipeline-complete:after {
  content: "";
  pointer-events: none;
  border: 1px solid var(--accent-bright);
  border-radius: inherit;
  opacity: 0;
  animation: 12s cubic-bezier(0.23, 1, 0.32, 1) infinite completion-ring;
  position: absolute;
  inset: -1px;
}
.pipeline-complete > i {
  animation: 12s cubic-bezier(0.23, 1, 0.32, 1) infinite completion-icon;
}
.pipeline-actions .pipeline-stage-heading > svg {
  animation: 12s cubic-bezier(0.23, 1, 0.32, 1) infinite approved-icon;
}
@keyframes stage-input-motion {
  0%,
  3%,
  17% {
    filter: brightness(1.09);
    transform: translateY(-3px) scale(1.018);
  }
  22%,
  to {
    filter: brightness();
    transform: translateY(0) scale(1);
  }
}
@keyframes stage-input-focus {
  0%,
  3%,
  17% {
    opacity: 1;
    box-shadow:
      0 0 0 1px #009cfd0a,
      0 0 38px #009cfd24;
  }
  22%,
  to {
    opacity: 0;
  }
}
@keyframes stage-ai-motion {
  0%,
  18%,
  52%,
  to {
    filter: brightness();
    transform: translateY(0) scale(1);
  }
  25%,
  46% {
    filter: brightness(1.12);
    transform: translateY(-3px) scale(1.022);
  }
}
@keyframes stage-ai-focus {
  0%,
  18%,
  52%,
  to {
    opacity: 0;
  }
  25%,
  46% {
    opacity: 1;
    box-shadow: 0 0 42px #009cfd29;
  }
}
@keyframes stage-review-motion {
  0%,
  43%,
  75%,
  to {
    filter: brightness();
    transform: translateY(0) scale(1);
  }
  51%,
  69% {
    filter: brightness(1.1);
    transform: translateY(-3px) scale(1.018);
  }
}
@keyframes stage-review-focus {
  0%,
  43%,
  75%,
  to {
    opacity: 0;
  }
  51%,
  69% {
    opacity: 1;
    box-shadow: 0 0 38px #8fd2ff21;
  }
}
@keyframes stage-action-motion {
  0%,
  65%,
  to {
    filter: brightness();
    transform: translateY(0) scale(1);
  }
  73%,
  96% {
    filter: brightness(1.11);
    transform: translateY(-3px) scale(1.018);
  }
}
@keyframes stage-action-focus {
  0%,
  65%,
  to {
    opacity: 0;
  }
  73%,
  96% {
    opacity: 1;
    box-shadow: 0 0 44px #009cfd2b;
  }
}
@keyframes connector-input-energy {
  0%,
  8%,
  32%,
  to {
    opacity: 0.34;
    filter: none;
    background-position: 100% 0;
  }
  13%,
  29% {
    opacity: 1;
    filter: drop-shadow(0 0 5px #009cfdb3);
    background-position: 0 0;
  }
}
@keyframes connector-review-energy {
  0%,
  30%,
  52%,
  to {
    opacity: 0.34;
    filter: none;
    background-position: 100% 0;
  }
  35%,
  49% {
    opacity: 1;
    filter: drop-shadow(0 0 5px #009cfdb3);
    background-position: 0 0;
  }
}
@keyframes connector-action-energy {
  0%,
  62%,
  81%,
  to {
    opacity: 0.34;
    filter: none;
    background-position: 100% 0;
  }
  67%,
  78% {
    opacity: 1;
    filter: drop-shadow(0 0 5px #009cfdb3);
    background-position: 0 0;
  }
}
@keyframes timeline-input-focus {
  0%,
  18% {
    color: var(--accent-bright);
    text-shadow: 0 0 12px #009cfd80;
  }
  23%,
  to {
    color: #627892;
    text-shadow: none;
  }
}
@keyframes timeline-process-focus {
  0%,
  19%,
  52%,
  to {
    color: #627892;
    text-shadow: none;
  }
  26%,
  48% {
    color: var(--accent-bright);
    text-shadow: 0 0 12px #009cfd80;
  }
}
@keyframes timeline-review-focus {
  0%,
  45%,
  74%,
  to {
    color: #627892;
    text-shadow: none;
  }
  52%,
  70% {
    color: var(--accent-bright);
    text-shadow: 0 0 12px #009cfd80;
  }
}
@keyframes timeline-complete-focus {
  0%,
  68%,
  to {
    color: #627892;
    text-shadow: none;
  }
  77%,
  97% {
    color: var(--accent-bright);
    text-shadow: 0 0 12px #009cfd80;
  }
}
@keyframes completion-ring {
  0%,
  83% {
    opacity: 0;
    transform: scale(1);
  }
  88% {
    opacity: 0.75;
    transform: scale(1);
  }
  94% {
    opacity: 0;
    transform: scale(1.055);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}
@keyframes completion-icon {
  0%,
  83% {
    box-shadow: none;
    transform: scale(0.94);
  }
  88% {
    transform: scale(1.1);
    box-shadow:
      0 0 0 7px #009cfd1c,
      0 0 22px #009cfd59;
  }
  94%,
  to {
    box-shadow: none;
    transform: scale(1);
  }
}
@keyframes approved-icon {
  0%,
  67% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  74% {
    opacity: 1;
    filter: drop-shadow(0 0 7px #009cfdcc);
    transform: scale(1.12);
  }
  84%,
  96% {
    opacity: 1;
    filter: drop-shadow(0 0 3px #009cfd73);
    transform: scale(1);
  }
  to {
    opacity: 0.5;
    filter: none;
    transform: scale(0.9);
  }
}
@media (max-width: 900px) {
  .pipeline-stage:before {
    border-radius: 20px;
    inset: -6px;
  }
  .pipeline-connector .connector-line {
    background: linear-gradient(
      180deg,
      #009cfd1a,
      var(--accent),
      var(--accent-bright),
      #009cfd24
    );
    background-size: 100% 220%;
  }
  .data-pulse {
    box-shadow:
      0 0 8px 2px #8fd2ffb8,
      0 -10px 16px #009cfd5c;
  }
}

.live-pipeline .pipeline-showcase-head h2 {
  text-wrap: initial;
}
.pipeline-animation-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.pipeline-animation-footer p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.65rem;
  line-height: 1.6;
}
.pipeline-animation-footer button {
  flex-shrink: 0;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 7px;
  color: var(--text-light);
  padding: 9px 12px;
  font-size: 0.7rem;
}
.pipeline-animation-footer button:hover {
  border-color: var(--accent);
  color: var(--text-white);
}
@media (max-width: 560px) {
  .pipeline-animation-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

#automation-demo { scroll-margin-top: 110px; }
