/* ===========================
   Success Ramp – Connected Flow Section
   Unique classes only
=========================== */

.sr-line {
    position: absolute;
    z-index: 2;
    background: #dcb557;
    opacity: .92;
}
.sr-line {
    position: absolute;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, #86ff2f 0%, #53e45e 100%);
    box-shadow: 0 0 12px rgba(124, 255, 25, 0.28);
    transform-origin: left center;
    animation: srLineGrow 1.2s ease forwards;
    opacity: 0;
}

.sr-flow-section{
  padding: 50px 0 ;
  background: #fff;
}

.sr-flow-card{
  padding: 34px;
  margin-bottom: 50px;
}

.sr-flow-copy{
  max-width: 500px;
}

.sr-flow-meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}

.sr-flow-meta span{
  color: #a0a8b6;
}

.sr-flow-copy h2{
  font-size: 38px;
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 16px;
}

.sr-flow-copy p{
  font-size: 16px;
  line-height: 1.9;
  color: #5a6780;
  margin-bottom: 28px;
}

.sr-flow-list-wrap{
  margin-bottom: 24px;
}

.sr-flow-list-wrap h4{
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.sr-flow-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.sr-flow-list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #56657d;
}

.sr-flow-list li:last-child{
  margin-bottom: 0;
}

.sr-flow-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.sr-flow-kpis{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sr-flow-kpis span{
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  background: #edf5f1;
  border: 1px solid #dbe8e1;
  border-radius: 999px;
  color: #35556d;
  font-size: 14px;
  font-weight: 600;
}

/* Visual board */
.sr-workflow-board{
  position: relative;
  min-height: 540px;
  border-radius: 34px;
  background: #f6f6f6;
  overflow: hidden;
  isolation: isolate;
}

.sr-board-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35,36,52,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,36,52,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 1;
}

.sr-board-glow{
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(250,154,0,.10) 0%, rgba(250,154,0,0) 68%);
  z-index: 1;
}

.sr-board-lines{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.sr-line{
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: srDashMove 14s linear infinite;
  opacity: .9;
}

.sr-line-orange{ stroke: var(--orange); }
.sr-line-blue{ stroke: #1e88f2; }
.sr-line-green{ stroke: var(--green); }

@keyframes srDashMove{
  to{ stroke-dashoffset: -180; }
}

/* center cluster */
.sr-center-cluster{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 240px;
  transform: translate(-50%, -50%);
  z-index: 4;
}

.sr-center-ring{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(250,154,0,.22);
  background: rgba(250,154,0,.05);
}

.sr-center-ring-1{
  transform: scale(1);
  animation: srCenterPulse 3s ease-in-out infinite;
}

.sr-center-ring-2{
  transform: scale(.88);
  animation: srCenterPulse 3s ease-in-out infinite .4s;
}

.sr-center-ring-3{
  transform: scale(.76);
  animation: srCenterPulse 3s ease-in-out infinite .8s;
}

@keyframes srCenterPulse{
  0%,100%{ opacity: .8; transform: scale(1); }
  50%{ opacity: 1; transform: scale(1.04); }
}

.sr-center-card{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 40px;
  padding: 24px 22px 20px;
  text-align: center;
  box-shadow: 0 18px 35px rgba(35,36,52,.14);
}


.sr-center-card h3{
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 18px;
}



/* Node cards */
.sr-node-card{
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 14px 16px;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(35,36,52,.10);
  backdrop-filter: blur(6px);
}

.sr-node-card strong{
  display: block;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 3px;
}

.sr-node-card span{
  display: block;
  font-size: 12px;
  line-height: 1.45;
  opacity: .85;
}

.sr-node-icon{
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  background: rgba(255,255,255,.18);
}

.sr-node-orange{
  background: linear-gradient(135deg, #fa9a00 0%, #f0a400 100%);
  color: #fff;
}

.sr-node-blue{
  background: linear-gradient(135deg, #1f8cff 0%, #2b7de9 100%);
  color: #fff;
}

.sr-node-green{
  background: linear-gradient(135deg, #008060 0%, #0b8e6e 100%);
  color: #fff;
}

.sr-node-tl{
  left: 34px;
  top: 52px;
  animation: srFloatSoft 4s ease-in-out infinite;
}

.sr-node-tr{
  right: 30px;
  top: 120px;
  animation: srFloatSoft 4.3s ease-in-out infinite;
}

.sr-node-bl{
  left: 46px;
  bottom: 52px;
  animation: srFloatSoft 3.9s ease-in-out infinite;
}

@keyframes srFloatSoft{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}

/* signal dots moving on paths feel */
.sr-signal{
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(255,255,255,.5);
}

.sr-signal-1{
  background: var(--orange);
  left: 280px;
  top: 152px;
  animation: srBlink 1.8s infinite ease-in-out;
}

.sr-signal-2{
  background: #1f8cff;
  right: 248px;
  top: 214px;
  animation: srBlink 2.2s infinite ease-in-out;
}

.sr-signal-3{
  background: var(--green);
  left: 286px;
  bottom: 170px;
  animation: srBlink 2s infinite ease-in-out;
}

@keyframes srBlink{
  0%,100%{ transform: scale(1); opacity: .7; }
  50%{ transform: scale(1.35); opacity: 1; }
}

/* Responsive */
@media (max-width: 1199.98px){
  .sr-flow-copy h2{
    font-size: 34px;
  }

  .sr-workflow-board{
    min-height: 500px;
  }

  .sr-node-card{
    min-width: 200px;
  }
}

@media (max-width: 991.98px){
  .sr-flow-section{
    padding: 70px 0;
  }

  .sr-flow-card{
    padding: 24px;
    border-radius: 24px;
  }

  .sr-workflow-board{
    min-height: 500px;
  }
}

@media (max-width: 767.98px){
  .sr-flow-section{
    padding: 60px 0;
  }

  .sr-flow-copy h2{
    font-size: 28px;
  }

  .sr-flow-copy p{
    font-size: 15px;
  }

  .sr-workflow-board{
    min-height: 460px;
    border-radius: 24px;
  }

  .sr-center-cluster{
    width: 250px;
    height: 190px;
  }

  .sr-center-card{
    width: 215px;
    border-radius: 28px;
    padding: 18px 14px;
  }

  .sr-center-card h3{
    font-size: 22px;
    margin-bottom: 14px;
  }

  .sr-node-card{
    min-width: 150px;
    max-width: 160px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 18px;
  }

  .sr-node-card strong{
    font-size: 13px;
  }

  .sr-node-card span{
    font-size: 11px;
  }

  .sr-node-icon{
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 13px;
  }

  .sr-node-tl{
    left: 14px;
    top: 20px;
  }

  .sr-node-tr{
    right: 12px;
    top: 84px;
  }

  .sr-node-bl{
    left: 18px;
    bottom: 20px;
  }

  .sr-signal-1,
  .sr-signal-2,
  .sr-signal-3{
    display: none;
  }
}