@media (min-width: 1600px) {
.container, .container-xxl {
        max-width: 1524px;
    }
}
@media(min-width:992px){
  .stat-card{display:flex;}
  .stat-users{display:block;}
}
@media(min-width:992px) and (max-width:1024px){
  .stat-card{display:none;}
  .stat-users img{display:none;}
  .hero-media-backdrop{display:none;}
}
@media(min-width:1600px){
  .features-grid{grid-template-columns:clamp(480px,37vw,620px) clamp(320px,25vw,412px) clamp(320px,25vw,412px);justify-content:center;}
}
@media(max-width:1600px){
.features-grid {
        grid-template-columns: clamp(480px, 37vw, 620px) clamp(320px, 25vw, 412px) clamp(320px, 25vw, 412px);
        justify-content: center;
}

.device-mockup.grid--2 {
      width: 87%;
}
.device-mockup.grid--2 img{
  width: 100%;
}
.cta-inner{
      padding-left: 20px;
}
}
@media(min-width:768px) and (max-width:1400px){
  .features-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:1400px){
  .device-mockup img ,.device-mockup.grid--2 img{height:16rem;} 
  .features-grid>*:nth-child(3){grid-column:1/-1;  min-height: 300px;}
  .features-grid>*:nth-child(6){grid-column:1/-1;}
  .device-mockup.grid--3{left:auto;right:0;}
  .device-mockup.grid--3  img{height: 16rem;}
  .highlight-card .phone-mockup{right: 33px;}
 .stat-speed{    left: 0;}
 .stat-accuracy {right: 0;}
 .stat-entry{bottom: 0;}
 .cta-media-small{display: none;}

}
@media(max-width:1200px){
.device-mockup img, .device-mockup.grid--2 img {
        height: 13rem;
    }
  .feature-card p{
    max-width: 600px;
  }
  .step-line{
    display: none;
  }
      .highlight-card .phone-mockup {
        right: -17px;
    }
    .phone-mockup img{    width: auto;}
    .hero-media-backdrop{    transform: scale(1) translateY(clamp(10rem, 19vw, 17.25rem));}
  #technology::after{display:none;}
  }
@media(max-width:1024px){
  .device-mockup ,.phone-mockup-band-wrap::before{
    display: none;
  }
  .feature-card-special{
    min-height:auto;
  }
  .feature-card p{
    margin-bottom:0!important;
  }
  .feature-card-head{
    margin-bottom: 0;
  }
  /* .features-grid>*:nth-child(3){
    min-height: auto;
  } */
  .device-mockup.grid--3 img{
            height: 11rem;
        object-fit: contain;
  }
    .how-it-works-steps{display:grid!important;grid-template-columns:1fr 1fr;row-gap:2rem!important;column-gap:1rem;}
 .hero-media-wrap .device-mockup{display:block;}
  .hero-section{padding-bottom:0;}

  /* ===== Features section as a continuous marquee slider (<=1024px) ===== */
  .features-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow:hidden;
    gap:16px;
    padding:4px 4px 20px;
    width:max-content;
    animation:featuresMarquee 30s linear infinite;
    will-change:transform;
  }
  .features-grid:hover{animation-play-state:paused;}
  .features-grid>*{
    flex:0 0 clamp(260px,80vw,420px);
    max-width:clamp(260px,80vw,420px);
    height:auto;
    align-self:stretch;
  }
  .features-grid .feature-card-special{
    display:flex;
    flex-direction:column;
  }
  .features-grid .device-mockup{
    display:block;
    
  }
  .features-grid .device-mockup img{
    width:100%;
    /* height:auto; */
  }
  @keyframes featuresMarquee{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  @media(prefers-reduced-motion:reduce){
    .features-grid{animation:none;overflow-x:auto;}
  }
  .device-mockup img, .device-mockup.grid--2 img{
            height: 10rem;
  }

  /* ===== How It Works section as a continuous marquee slider (<=1024px) ===== */
  .how-it-works-steps{
    display:flex!important;
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow:hidden;
    gap:24px;
    width:max-content;
    animation:howItWorksMarquee 22s linear infinite;
    will-change:transform;
  }
  .how-it-works-steps:hover{animation-play-state:paused;}
  .how-it-works-steps>.step{
    flex:0 0 clamp(200px,60vw,280px);
    max-width:clamp(200px,60vw,280px);
    height:auto;
    align-self:stretch;
  }
  .how-it-works-steps .step-clone{display:flex;}
  .how-it-works-steps .step-line{display:none;}
  @keyframes howItWorksMarquee{
    from{transform:translateX(0);}
    to{transform:translateX(-50%);}
  }
  @media(prefers-reduced-motion:reduce){
    .how-it-works-steps{animation:none;overflow-x:auto;}
  }
}
@media(max-width:992px){
 .highlight-card .phone-mockup{
    position: static;
    top: auto;
    right: auto;
    margin: 0 auto 2rem;
  }
  .phone-mockup img{
        height: 400px;
    margin-bottom: 20px;
  }
  .cta-card img{
        border-radius: 12px;
    margin-top: 20px;
  }
    .hero-media-wrap{display:flex;justify-content:center;}
  .hero-media-backdrop{display:none;}
  .hero-media-wrap .device-mockup{max-width:100%;}
  .stat-card,.stat-users{display:none!important;}
  .phone-mockup-band-wrap.phone-mockup-reverse::before{display:none;}
    .phone-mockup-band-wrap .row{justify-content:center;}
  .phone-mockup-band-wrap .phone-mockup img{margin-left:auto;margin-right:auto;}
  /* .phone-mockup-band-wrap h3.section-title{text-align:center!important;} */
  /* .phone-mockup-band-wrap .small_text{margin-left:auto;margin-right:auto;text-align:center;} */
  /* .phone-mockup-band-wrap .check-items-grid{justify-items:center;} */
  .cta-inner{padding-left:0;margin:0 auto;text-align:center;}
  .cta-inner .section-title{text-align:center;}
  .navbar-ai .nav-links-ai{display:none!important;}
  .navbar-ai .schedule-call-btn{display:inline-flex!important;}
}
@media(max-width:767px){
  /* section{padding:3.5rem 1.25rem;} */
   .features-grid{grid-template-columns:1fr;}
   .site-footer{padding: clamp(40px, 3vw, 200px) 0 clamp(20px, 2vw, 28px) 0;}
 .phone-mockup-band-wrap::before{display:none;}
   .footer-top{justify-content:center!important;}
  }
@media(max-width:576px){
.before-after{
  flex-wrap: wrap;

}
.how-it-works-steps{grid-template-columns:1fr;row-gap: 1rem !important;}
.step{
  border: 1px solid #fff;
    padding: 16px;
    border-radius: 16px;
}
.btn-main{
  flex-wrap: wrap;
}
#application::before ,#application::after ,#contact::before{
  display:none
}
.phone-mockup img{
          height: 200px;
          margin-bottom: 16px;
}
.highlight-card .phone-mockup{
          margin: 0 auto 0;
}
.section-title br{
  display:none;
}
.phone-mockup-band-wrap .phone-mockup img{
  border-radius:0;
}
}
@media(max-width:480px){
.check-items-grid{
      grid-template-columns: 1fr ;
}
}