/* Home page */

.hero{
  background:linear-gradient(150deg,#081327 0%,#0f2c58 45%,#1c4f9c 100%);
  padding:52px 0 72px;
}
.hero__inner{
  display:flex;
  flex-direction:column;
  gap:32px;
}
.hero__content{color:var(--white);}
.hero h1{
  margin:0;
  font-size:52px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
}
.hero h1 span{
  display:block;
  font-size:22px;
  font-weight:700;
  letter-spacing:.06em;
  margin-top:8px;
}
.hero__buttons{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:12px;
  /* Reserve room for one expanded card so siblings shift inside, hero height stays put */
  min-height:268px;
}
.hero-btn{
  text-align:left;
  background:transparent;
  border:1.5px solid rgba(255,255,255,.55);
  border-radius:var(--radius-md);
  color:var(--white);
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-size:15px;
  font-weight:600;
  transition:border-color .2s ease, background .2s ease;
  width:100%;
}
.hero-btn__text{display:flex;flex-direction:column;gap:6px;}
.hero-btn__desc{
  display:none;
  font-size:13px;
  font-weight:400;
  color:var(--muted);
  max-width:34ch;
  line-height:1.45;
}
.hero-btn__arrow{
  position:relative;
  flex:0 0 auto;
  align-self:center;
  width:34px;height:34px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1.5px solid rgba(255,255,255,.55);
  transition:transform .2s ease, border-color .2s ease;
}
.hero-btn__arrow-icon{
  position:absolute;
  top:50%;left:50%;
  transform:translate(-50%,-50%);
  stroke:var(--white);
  transition:opacity .2s ease;
}
.hero-btn__arrow-icon--default{width:16px;height:16px;}
.hero-btn__arrow-icon--hover{width:26px;height:18px;stroke-width:2.5;opacity:0;}
.hero-btn:hover{
  border-color:var(--white);
  background:rgba(255,255,255,.06);
}
.hero-btn:hover .hero-btn__desc{display:block;}
.hero-btn:hover .hero-btn__arrow{transform:translateX(4px);border-color:transparent;}
.hero-btn:hover .hero-btn__arrow-icon--default{opacity:0;}
.hero-btn:hover .hero-btn__arrow-icon--hover{opacity:1;}
.hero__media{width:100%;}

.stats{padding:44px 0 30px;}
.stats__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  row-gap:24px;
  column-gap:16px;
}
.stat{display:flex;align-items:center;gap:10px;}
.stats__grid .stat:nth-child(3){order:1;}
.stat b{
  font-size:34px;
  font-weight:800;
  color:var(--blue-600);
  line-height:1;
}
.stat span{
  font-size:13px;
  color:var(--muted-dark);
  line-height:1.3;
}

.marquee{
  overflow:hidden;
  border-top:1px solid #eef1f6;
  border-bottom:1px solid #eef1f6;
  padding:18px 0;
  margin:10px 0 40px;
}
.marquee__track{
  display:flex;
  gap:56px;
  width:max-content;
  animation:scroll 22s linear infinite;
}
.marquee__track span{
  font-style:italic;
  font-size:15px;
  color:var(--navy-900);
  white-space:nowrap;
}
@keyframes scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-50%);}
}

.features{padding:10px 0 60px;}
.features h2{
  font-size:24px;
  font-weight:800;
  text-align:center;
  color:var(--navy-900);
  margin:0 0 40px;
}
.features__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:44px;
}
.feature{cursor:pointer;color:inherit;}
.feature__icon{
  width:56px;height:56px;
  color:var(--blue-600);
  margin-bottom:22px;
}
.feature__icon svg{width:100%;height:100%;}
.feature__icon-outline{transition:opacity .2s ease;}
.feature__icon-solid{opacity:0;transition:opacity .2s ease;}
.feature h3{
  font-size:20px;
  font-weight:800;
  color:var(--navy-900);
  margin:0 0 10px;
  line-height:1.25;
}
.feature p{
  font-size:14px;
  color:var(--muted-dark);
  line-height:1.5;
  margin:0 0 18px;
  max-width:38ch;
}
.feature__arrow{
  width:38px;height:20px;
  color:var(--blue-600);
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease;
}
.feature__arrow svg{width:100%;height:100%;stroke-width:2;transition:stroke-width .2s ease;}
.feature:hover .feature__icon-outline{opacity:0;}
.feature:hover .feature__icon-solid{opacity:1;}
.feature:hover .feature__arrow{transform:translateX(6px);}
.feature:hover .feature__arrow svg{stroke-width:3;}

.logos{padding:32px 0 56px;}
.logos--trust{padding-top:16px;}
.logos__title{
  font-size:20px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:var(--blue-600);
  margin:0 0 28px;
}
.logos__marquee{
  overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.logos__track{
  display:flex;
  align-items:center;
  gap:40px;
  width:max-content;
  animation:scroll 32s linear infinite;
}
.logos__track--reverse{animation-direction:reverse;animation-duration:38s;}
.logos__marquee:hover .logos__track{animation-play-state:paused;}
.logos__track img{
  height:36px;
  width:auto;
  max-width:130px;
  object-fit:contain;
  filter:grayscale(1);
  opacity:.65;
  transition:filter .2s ease, opacity .2s ease;
}
.logos__track img:hover{filter:grayscale(0);opacity:1;}

@media (min-width:560px){
  .hero{padding:64px 0 84px;}
  .hero h1{font-size:64px;}
  .hero h1 span{font-size:26px;}
  .stats__grid{grid-template-columns:repeat(2,1fr);column-gap:20px;}
  .stats__grid .stat:nth-child(3){order:initial;}
}

@media (min-width:1024px){
  .hero__inner{
    flex-direction:row;
    align-items:flex-start;
    gap:60px;
  }
  .hero__content{flex:0 0 46%;}
  .hero__media{flex:1;padding-top:8px;}
  .hero h1{font-size:80px;}
  .hero h1 span{font-size:30px;}
  .hero__buttons{min-height:280px;}
  .stats__grid{grid-template-columns:repeat(4,1fr);}
  .features__grid{grid-template-columns:repeat(3,1fr);gap:50px;}
  .features h2{font-size:30px;margin-bottom:56px;}
  .logos{padding:48px 0 80px;}
  .logos--trust{padding-top:24px;}
  .logos__title{font-size:26px;margin-bottom:32px;}
  .logos__track{gap:64px;}
  .logos__track img{height:44px;max-width:160px;}
}
