/* Wabup Workflow Journey V3 — static content; only dotted connector paths animate.
   Scoped to the existing Sastik story section. */
#wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30{
 display:grid;
 grid-template-columns:repeat(5,minmax(0,1fr));
 column-gap:20px;
 row-gap:22px;
 margin:0;
 align-items:stretch;
}
#wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30>.story-col{
 width:auto;
 max-width:none;
 flex:none;
 min-width:0;
 margin:0;
 padding:0;
}
#wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30>.wb-j-showcase-heading{
 grid-column:1/-1;
 min-width:0;
 margin:34px 0 0;
 padding:25px 12px 3px;
 border-top:1px solid #D8EAE1;
 text-align:center;
}
#wabup-workflow-journey .wb-j-showcase-eyebrow{
 display:flex;justify-content:center;align-items:center;gap:7px;
 font:750 10px/1.4 Inter,Arial,sans-serif;
 letter-spacing:.13em;color:#1B8B73;
}
#wabup-workflow-journey .wb-j-separator-dot{
 width:7px;height:7px;border-radius:50%;background:#19BD86;
}
#wabup-workflow-journey .wb-j-showcase-heading h3{
 font-size:clamp(24px,2.5vw,36px);
 line-height:1.2;letter-spacing:-.035em;color:#005A54;
 margin:9px 0 8px;
}
#wabup-workflow-journey .wb-j-showcase-heading p{
 font-size:14px;line-height:1.55;color:#5C797A;margin:0 auto;max-width:550px;
}
#wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30>.wb-j-showcase-col{
 grid-column:1/-1;
 margin-top:4px;
}
/* Original five pastel feature cards remain, evenly aligned in the upper grid. */
#wabup-workflow-journey .wb-journey-card{
 min-height:345px;
 padding:23px 18px;
}
#wabup-workflow-journey .wb-journey-card .xb-item--logo{min-height:36px;}
#wabup-workflow-journey .wb-journey-card .xb-item--holder{margin-top:48px;}
#wabup-workflow-journey .wb-journey-card .xb-item--number{
 font-size:clamp(48px,4.15vw,65px);line-height:1.1;
}
#wabup-workflow-journey .wb-j-card-title{
 font-size:clamp(14px,1.1vw,17px)!important;
}
#wabup-workflow-journey .wb-j-card-description{
 font-size:11.5px;line-height:1.52;max-width:210px;
}
#wabup-workflow-journey .wb-journey-card .xb-item--btn{left:18px;bottom:22px;}
#wabup-workflow-journey .wb-j-visual{
 right:0;top:70px;width:min(124px,59%);height:96px;
 transform:none!important;
 transition:none!important;
}
/* The previous one-shot CSS and per-icon GSAP are both superseded.
   Keep all icons, card content and demo states still. */
#wabup-workflow-journey .wb-j-icon-stage,
#wabup-workflow-journey .wb-j-motion-a,
#wabup-workflow-journey .wb-j-motion-b,
#wabup-workflow-journey .wb-j-motion-c,
#wabup-workflow-journey .wb-j-flow-path,
#wabup-workflow-journey .wb-j-stage-one,
#wabup-workflow-journey .wb-j-stage-two,
#wabup-workflow-journey .wb-j-stage-three,
#wabup-workflow-journey .wb-j-kanban-moving,
#wabup-workflow-journey .wb-j-campaign-progress span{
 animation:none!important;
 opacity:1!important;
 transition:none!important;
 transform:none!important;
}
#wabup-workflow-journey .wb-journey-card:hover .wb-j-icon{
 transform:none!important;
}
/* Dotted paths are the only continuously animated elements. */
#wabup-workflow-journey .wb-j-dot-visual{
 position:absolute;inset:0;width:100%;height:100%;
 display:block;pointer-events:none;overflow:visible;
}
#wabup-workflow-journey .wb-j-dot-visual path{
 stroke:#069C7B;stroke-width:2.7;fill:none;
 stroke-linecap:round;stroke-linejoin:round;
 stroke-dasharray:2.5 8;
 vector-effect:non-scaling-stroke;
}
#wabup-workflow-journey .wb-j-dot-story{
 position:absolute;
 top:28px;left:12px;right:12px;
 height:58px;width:calc(100% - 24px);
 overflow:visible;
 z-index:0;pointer-events:none;
}
#wabup-workflow-journey .wb-j-dot-story path{
 fill:none;stroke:#0DA783;stroke-width:1.9;
 stroke-linecap:round;stroke-dasharray:2 9;opacity:.68;
 vector-effect:non-scaling-stroke;
}
#wabup-workflow-journey .wb-j-story-visual>:not(.wb-j-dot-story){
 position:relative;z-index:1;
}
#wabup-workflow-journey .wb-j-story-visual>.wb-j-scene-assignee,
#wabup-workflow-journey .wb-j-story-visual>.wb-j-kanban-moving,
#wabup-workflow-journey .wb-j-story-visual>.wb-j-kanban-note,
#wabup-workflow-journey .wb-j-story-visual>.wb-j-campaign-progress,
#wabup-workflow-journey .wb-j-story-visual>.wb-j-campaign-states,
#wabup-workflow-journey .wb-j-story-visual>.wb-j-scene-caption{
 position:absolute;
}
@keyframes wb-journey-dots-travel{
 to{stroke-dashoffset:-63;}
}
#wabup-workflow-journey.wb-j-dots-playing .wb-j-dot-visual path,
#wabup-workflow-journey.wb-j-dots-playing .swiper-slide-active .wb-j-dot-story path{
 animation:wb-journey-dots-travel 3s linear infinite;
}
#wabup-workflow-journey .wb-j-showcase-col .xb-story-slider-wrap{
 background:linear-gradient(117deg,#F7FCFA 0%,#FFFFFF 48%,#F5FBF9 100%);
 border:1px solid #CDE8DB;
 border-radius:21px;
 padding:14px!important;
 box-shadow:0 9px 30px rgba(12,98,78,.045);
}
#wabup-workflow-journey .xb-story-slider-wrap::before{
 content:none!important;
}
#wabup-workflow-journey .wb-j-slide-lead{
 background:radial-gradient(circle at 80% 19%,rgba(28,168,132,.36),transparent 49%),linear-gradient(140deg,#06665D,#034C50);
}
#wabup-workflow-journey .wb-j-slide-content{
 justify-content:center;
 padding-top:18px;
 padding-bottom:18px;
}
#wabup-workflow-journey .wb-j-story-visual{
 min-height:160px;max-height:165px;
 border-radius:16px;
 border:1px solid #D9E9E3;
 background:linear-gradient(135deg,#F9FFFB,#F0F9F7);
 box-shadow:0 4px 14px rgba(0,96,74,.045);
}
#wabup-workflow-journey .wb-j-scene-caption{
 position:absolute!important;
 left:12px;bottom:7px;
}
@media(max-width:1250px){
 #wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30{
  grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;
 }
 #wabup-workflow-journey .wb-journey-card{min-height:330px;}
 #wabup-workflow-journey .wb-j-card-title{font-size:16px!important;}
 #wabup-workflow-journey .wb-j-visual{width:150px;right:6px;}
}
@media(max-width:767px){
 #wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;
 }
 #wabup-workflow-journey .wb-journey-card{min-height:307px;padding:17px 13px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--holder{margin-top:39px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--number{font-size:51px;}
 #wabup-workflow-journey .wb-j-visual{width:118px;right:0;top:67px;height:90px;}
 #wabup-workflow-journey .wb-j-card-title{font-size:15px!important;}
 #wabup-workflow-journey .wb-j-card-description{font-size:11px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--btn{left:13px;bottom:16px;}
 #wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30>.wb-j-showcase-heading{margin-top:16px;padding-top:22px;}
 #wabup-workflow-journey .wb-j-showcase-heading h3{font-size:25px;}
 #wabup-workflow-journey .wb-j-showcase-heading p{font-size:12px;}
 #wabup-workflow-journey .wb-j-showcase-col .xb-story-slider-wrap{padding:10px!important;}
 #wabup-workflow-journey .wb-j-story-visual{min-height:155px;max-height:none;}
}
@media(max-width:525px){
 #wabup-workflow-journey .xb-story-wrapper>.row.mt-none-30{grid-template-columns:minmax(0,1fr);gap:17px;}
 #wabup-workflow-journey .wb-journey-card{min-height:252px;padding:19px 21px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--holder{margin-top:19px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--number{font-size:60px;}
 #wabup-workflow-journey .wb-j-visual{right:12px;top:67px;width:152px;height:94px;}
 #wabup-workflow-journey .wb-j-card-description{max-width:270px;}
 #wabup-workflow-journey .wb-journey-card .xb-item--btn{left:21px;bottom:18px;}
}
@media(prefers-reduced-motion:reduce){
 #wabup-workflow-journey .wb-j-dot-visual path,
 #wabup-workflow-journey .wb-j-dot-story path{animation:none!important;}
}
/* Final visual QA: protect the conversation sample caption from its reply bubble. */
#wabup-workflow-journey .wb-j-story-visual.wb-j-scene-chat{
 min-height:190px;
 max-height:none;
}
#wabup-workflow-journey .wb-j-scene-chat .wb-j-scene-reply{
 margin-top:5px;
}
@media(max-width:525px){
 #wabup-workflow-journey .wb-journey-card{
  min-height:280px;
 }
}
