/* =========================
   SECTION MUTED
   ========================= */

.section-muted{
  background:linear-gradient(180deg,#f8f9fc,#fff);
  border-radius:40px;
  margin:20px auto;
  padding:120px 8%;
}

.section > :not(.tabs):not(.platforms-grid){
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}

@media(min-width:1700px){
  .section:not(.cta){
    max-width:75%;
    padding:120px 6%;
  }
}

/* =========================
   SPLIT SECTION
   ========================= */

.m2-split{
  align-items:center;
}

.m2-image img{
  width:100%;
  border-radius:20px;
  object-fit:cover;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  transition:.4s ease;
}

.m2-image:hover img{
  transform:scale(1.03);
}

.m2-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.m2-list{
  margin:25px 0 30px;
  padding:0;
  list-style:none;
}

.m2-list li{
  margin-bottom:18px;
  padding-left:28px;
  position:relative;
  color:var(--gray);
  line-height:1.7;
}

.m2-list li::before{
  content:"✔";
  position:absolute;
  left:0;
  top:2px;
  color:var(--primary);
  font-weight:bold;
}

.section .grid-2 img{
  transition:.6s cubic-bezier(.2,.8,.2,1);
  cursor:pointer;
}

.section .grid-2 img:hover{
  transform:scale(1.03);
}

@media(max-width:900px){
  .m2-content{
    text-align:center;
    align-items:center;
  }
  .m2-list li{
    text-align:left;
  }
}

/* =========================
   RESULTS SECTION
   ========================= */

.results-section{
  text-align:center;
}

.result-card{
  opacity:0;
  transform:translateY(30px);
  transition:all .6s ease;
}
.section.show .result-card{
  opacity:1;
  transform:translateY(0);
}
.section.show .result-card:nth-child(1){transition-delay:0.03s}
.section.show .result-card:nth-child(2){transition-delay:0.08s}
.section.show .result-card:nth-child(3){transition-delay:0.13s}
.section.show .result-card:nth-child(4){transition-delay:0.18s}
.section.show .result-card:nth-child(5){transition-delay:0.23s}
.section.show .result-card:nth-child(6){transition-delay:0.28s}

.results-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  margin-top:60px;
}

.result-card{
  position:relative;
  text-align:left;
  overflow:hidden;
}

.result-number{
  position:absolute;
  top:20px;
  right:20px;
  font-size:48px;
  font-weight:800;
  color:rgba(239,130,32,0.08);
  pointer-events:none;
  transition:.4s;
  line-height:1;
}

.result-card:hover .result-number{
  color:rgba(239,130,32,0.25);
  transform:scale(1.15);
}

.result-card h3{
  margin-bottom:10px;
  font-size:20px;
}

.result-card .text{
  line-height:1.7;
}

.result-card:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow:0 25px 60px rgba(250,94,58,0.12);
}

@media(max-width:1024px){
  .results-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .results-grid{
    grid-template-columns:1fr;
  }
}

.result-icon{
  width:50px;
  height:50px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  box-shadow:0 10px 20px rgba(239,130,32,0.25);
  transition:.3s ease;
}

.result-icon svg{
  width:22px;
  height:22px;
}

.result-card:hover .result-icon{
  transform:scale(1.1) rotate(6deg);
  box-shadow:0 15px 30px rgba(239,130,32,0.35);
}

.section-overline{
  display:inline-block;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  padding:5px 16px;
  border-radius:6px;
  font-weight:700;
  font-size:11px;
  letter-spacing:1.2px;
  text-transform:uppercase;
  margin-bottom:12px;
}

.section-title.left{
  text-align:left;
  margin-bottom:24px;
}

/* =========================
   TAGS
   ========================= */

.ai-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.ai-tag{
  display:inline-block;
  background:rgba(239,130,32,0.08);
  color:var(--primary);
  padding:6px 16px;
  border-radius:100px;
  font-weight:600;
  font-size:12px;
  border:1px solid rgba(239,130,32,0.15);
  transition:all .3s ease;
}

.ai-tag:hover{
  background:rgba(239,130,32,0.15);
  border-color:rgba(239,130,32,0.3);
  transform:translateY(-2px);
}

/* =========================
   VIDEO THUMBNAIL
   ========================= */

.video-thumbnail.improved{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 8px 30px rgba(0,0,0,0.06);
  transition:box-shadow .4s ease;
}

.video-thumbnail.improved:hover{
  box-shadow:0 16px 50px rgba(239,130,32,0.15);
}

.video-thumbnail.improved img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s cubic-bezier(.25,.46,.45,.94);
}

.video-thumbnail.improved:hover img{
  transform:scale(1.06);
}

.vt-glow{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(239,130,32,0),rgba(239,130,32,0.08));
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
  z-index:1;
}

.video-thumbnail.improved:hover .vt-glow{
  opacity:1;
}

/* =========================
   CAPABILITIES IMAGE
   ========================= */

.cap-img-wrap{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 8px 30px rgba(0,0,0,0.06);
  transition:box-shadow .4s ease;
}

.cap-img-wrap:hover{
  box-shadow:0 16px 50px rgba(239,130,32,0.15);
}

.cap-img-wrap img{
  display:block;
  width:100%;
  transition:transform .6s cubic-bezier(.25,.46,.45,.94);
}

.cap-img-wrap:hover img{
  transform:scale(1.05);
}

.cap-img-glow{
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(239,130,32,0),rgba(239,130,32,0.06));
  opacity:0;
  transition:opacity .5s ease;
  pointer-events:none;
}

.cap-img-wrap:hover .cap-img-glow{
  opacity:1;
}

/* =========================
   LIST ICONS
   ========================= */

.m2-list-icon{
  width:18px;
  height:18px;
  color:var(--primary);
  flex-shrink:0;
  position:absolute;
  left:0;
  top:3px;
}

.m2-list li{
  position:relative;
  padding-left:32px;
  margin-bottom:18px;
  color:var(--gray);
  line-height:1.7;
  list-style:none;
}

.m2-list li::before{
  display:none;
}

@media(max-width:900px){
  .ai-tags{
    justify-content:center;
  }
  .section-title.left{
    text-align:center;
  }
}

/* =========================
   TABS SYSTEM (copied from sortation)
   ========================= */

.ai-workforce-tabs .tabs{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:50px;
  position:relative;
  z-index:1;
}

.ai-workforce-tabs .tab{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 22px;
  border-radius:100px;
  border:1.5px solid transparent;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  background:rgba(255,255,255,0.7);
  color:var(--gray);
  transition:all .35s ease;
  position:relative;
}

.ai-workforce-tabs .tab svg{
  width:16px;
  height:16px;
  transition:all .35s ease;
}

.ai-workforce-tabs .tab:hover{
  color:var(--text);
  background:#fff;
  border-color:rgba(239,130,32,0.15);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
}

.ai-workforce-tabs .tab.active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
  box-shadow:0 10px 25px rgba(239,130,32,0.3);
}

.ai-workforce-tabs .tab.active svg{
  color:#fff;
}

.ai-workforce-tabs .tab-content{
  display:none;
}

.ai-workforce-tabs .tab-content.active{
  display:block;
  animation:fadeTab .5s cubic-bezier(.2,.8,.2,1);
}

@keyframes fadeTab{
  from{opacity:0; transform:translateY(16px) scale(0.98);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

.ai-workforce-tabs .tab-panel{
  background:#fff;
  border-radius:24px;
  padding:48px;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.04);
  text-align:left;
  position:relative;
}

.ai-workforce-tabs .tab-overline{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--primary);
  background:rgba(239,130,32,0.08);
  padding:4px 12px;
  border-radius:100px;
  margin-bottom:14px;
}

.ai-workforce-tabs .tab-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  margin-bottom:16px;
}

.ai-workforce-tabs .tab-title svg{
  color:var(--primary);
  width:24px;
  height:24px;
}

.ai-workforce-tabs .tab-description{
  font-size:15px;
  color:#555;
  line-height:1.7;
  margin-bottom:24px;
  max-width:600px;
}

.ai-workforce-tabs .tab-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.ai-workforce-tabs .feature{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  padding:8px 14px;
  background:rgba(239,130,32,0.04);
  border-radius:10px;
  transition:all .3s ease;
}

.ai-workforce-tabs .feature:hover{
  background:rgba(239,130,32,0.1);
  transform:translateX(4px);
}

.ai-workforce-tabs .feature svg{
  color:var(--primary);
  width:18px;
  flex-shrink:0;
}

@media(max-width:900px){
  .ai-workforce-tabs .tab-panel{
    padding:28px 20px;
  }
  .ai-workforce-tabs .tab-features{
    grid-template-columns:1fr;
  }
  .ai-workforce-tabs .tab-title{
    justify-content:center;
    text-align:center;
  }
  .ai-workforce-tabs .tab-description{
    margin:0 auto 24px;
    text-align:center;
  }
  .ai-workforce-tabs .feature{
    justify-content:center;
  }
}

/* =========================
   PLATFORMS SECTION
   ========================= */

.platforms-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:40px;
}

.platform-card{
  text-align:center;
  padding:36px 28px;
}

.platform-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  font-size:20px;
  box-shadow:0 10px 20px rgba(239,130,32,0.2);
  transition:all .3s ease;
}

.platform-card:hover .platform-icon{
  transform:scale(1.1) rotate(4deg);
  box-shadow:0 15px 30px rgba(239,130,32,0.35);
}

.platform-card h4{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1.2px;
  color:var(--text);
  margin-bottom:16px;
  font-weight:700;
}

.platform-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}

.platform-badge{
  display:inline-block;
  background:rgba(239,130,32,0.06);
  color:var(--text);
  padding:5px 12px;
  border-radius:8px;
  font-size:12px;
  font-weight:500;
  border:1px solid rgba(239,130,32,0.1);
  transition:all .3s ease;
}

.platform-badge:hover{
  background:rgba(239,130,32,0.12);
  transform:translateY(-2px);
}

.and-more{
  background:transparent;
  border-color:transparent;
  color:var(--primary);
  font-weight:600;
  font-style:italic;
}

.and-more:hover{
  background:rgba(239,130,32,0.08);
  border-color:rgba(239,130,32,0.15);
}

@media(max-width:900px){
  .platforms-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   PHASES SECTION
   ========================= */

.phases-grid{
  display:flex;
  gap:0;
  position:relative;
  margin-top:50px;
}

/* ---- connector line between phase-number circles ---- */
.phases-connector{
  position:absolute;
  pointer-events:none;
  z-index:0;
  top:22px;                     /* vertical center of phase-number circle */
  left:calc(12.5% - 9px);       /* center of first column in 4-col flex */
  right:calc(12.5% - 9px);     /* center of last column */
  height:3px;
  border-radius:2px;
}

.phases-connector-track{
  position:absolute;
  inset:0;
  background:rgba(239,130,32,0.08);
  border-radius:2px;
}

.phases-connector-fill{
  position:absolute;
  inset:0;
  border-radius:2px;
  background:linear-gradient(90deg,var(--primary),#ff9a3c);
  width:0%;
  transition:width 1.4s cubic-bezier(0.22,1,0.36,1) 0.3s;
}

.section.reveal.active .phases-connector-fill{
  width:100%;
}

/* ---- phase cards ---- */
.phase-card{
  position:relative;
  z-index:1;
  flex:1;
  background:#fff;
  border-radius:20px;
  padding:32px 20px 28px;
  margin-right:24px;
  text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.04);
  transition:all .4s ease;
}

.phase-card.reveal.active{
  transition-delay:calc(var(--i) * 0.15s);
}

.phase-card:last-child{
  margin-right:0;
}

.phase-card:hover{
  transition-delay:0ms !important;
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(239,130,32,0.1);
  border-color:rgba(239,130,32,0.15);
}

.phase-number{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),#ff9a3c);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:16px;
  margin:0 auto;
  position:relative;
  z-index:2;
  transition:transform .4s ease,box-shadow .4s ease;
}

.phase-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:12px auto 14px;
  background:rgba(239,130,32,0.08);
  color:var(--primary);
  font-size:16px;
  transition:all .3s ease;
}

.phase-card:hover .phase-icon{
  background:rgba(239,130,32,0.15);
  transform:scale(1.1) rotate(-4deg);
}

.section.reveal.active .phase-number{
  transition-delay:calc(var(--i) * 0.15s + 0.5s);
  box-shadow:0 0 0 6px rgba(239,130,32,0.1),0 8px 20px rgba(239,130,32,0.2);
}

.phase-card h4{
  font-size:16px;
  margin-bottom:8px;
}

.phase-card .text{
  font-size:12px;
  color:#888;
  line-height:1.5;
  margin-bottom:14px;
}

/* ---- phase sub-bullets ---- */
.phase-details{
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
}

.phase-details li{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:#666;
  padding:5px 0;
  border-top:1px solid rgba(0,0,0,0.04);
}

.phase-details li:first-child{
  border-top:none;
}

.phase-details li svg,
.phase-details li .fa-circle-check{
  width:14px;
  height:14px;
  font-size:12px;
  color:var(--primary);
  flex-shrink:0;
}

/* ---- glow dots on connector ---- */
.phases-connector-dots{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0;
}

.phases-connector-dots span{
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--primary);
  opacity:0;
  transform:scale(0);
  transition:all .5s cubic-bezier(0.34,1.56,0.64,1);
}

.section.reveal.active .phases-connector-dots span:nth-child(1){ transition-delay:0.4s; opacity:1; transform:scale(1); }
.section.reveal.active .phases-connector-dots span:nth-child(2){ transition-delay:0.6s; opacity:1; transform:scale(1); }
.section.reveal.active .phases-connector-dots span:nth-child(3){ transition-delay:0.8s; opacity:1; transform:scale(1); }
.section.reveal.active .phases-connector-dots span:nth-child(4){ transition-delay:1.0s; opacity:1; transform:scale(1); }

@media(max-width:900px){
  .phases-grid{
    flex-wrap:wrap;
  }
  .phase-card{
    flex:1 1 calc(50% - 12px);
    margin-right:0;
  }
  .phase-card:nth-child(odd){
    margin-right:12px;
  }
  .phase-card:nth-child(even){
    margin-left:12px;
  }
  .phases-connector{
    display:none;
  }
  .phases-connector-dots{
    display:none;
  }
}

@media(max-width:600px){
  .phase-card{
    flex:1 1 100%;
    margin-right:0 !important;
    margin-left:0 !important;
  }
}

/* =========================
   SPLIT PROVIDE / RESPONSIBILITY
   ========================= */

.provide-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:40px;
}

.provide-col{
  padding:36px;
}

.provide-col h4{
  font-size:18px;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  gap:10px;
}

.provide-col ul{
  list-style:none;
  padding:0;
}

.provide-col li{
  padding:12px 0;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--gray);
  font-size:14px;
  border-bottom:1px solid rgba(0,0,0,0.04);
}

.provide-col li:last-child{
  border-bottom:none;
}

.provide-col li svg,
.provide-col li .fa-circle-check{
  width:18px;
  height:18px;
  flex-shrink:0;
  color:var(--primary);
}

@media(max-width:768px){
  .provide-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   COMMERCIAL SECTION
   ========================= */

.commercial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:40px;
}

.commercial-card{
  background:#fff;
  border-radius:20px;
  padding:36px 24px;
  text-align:center;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.04);
  transition:all .4s ease;
}

.commercial-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(239,130,32,0.1);
}

.commercial-card .result-icon{
  margin:0 auto 18px;
}

.commercial-card h4{
  font-size:16px;
  margin-bottom:8px;
}

.commercial-card .text{
  font-size:13px;
  color:#666;
  line-height:1.6;
}

@media(max-width:768px){
  .commercial-grid{
    grid-template-columns:1fr;
  }
}

/* =========================
   CONTACT CARD
   ========================= */

.contact-card{
  background:#fff;
  border-radius:20px;
  padding:36px;
  margin-top:30px;
  box-shadow:0 4px 20px rgba(0,0,0,0.04);
  border:1px solid rgba(0,0,0,0.04);
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  justify-content:center;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--gray);
  font-size:14px;
}

.contact-item i{
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(239,130,32,0.08);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}

.contact-item a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
}

.contact-item a:hover{
  color:var(--primary);
}

/* =========================
   RESPONSIVE
   ========================= */

@media(max-width:900px){
  .results-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .results-grid{
    grid-template-columns:1fr;
  }
  .commercial-grid{
    grid-template-columns:1fr;
  }
}
