.sam-home-problem{
  position: relative;
  background: transparent;
  padding: 0 0 80px 0;
  overflow: visible;
  font-family: 'Inter', sans-serif;
}

.sam-home-problem *{
  box-sizing: border-box;
}

.sam-home-problem__inner{
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.sam-home-problem__top-line{
  position: relative;
  width: 100%;
  margin: 0 auto 24px;
  text-align: center;
  pointer-events: none;
    z-index:3;
}

.sam-home-problem__top-line img{
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
  margin-top:-54px;

}

.sam-home-problem__top-dot{
  display: none;
}

.sam-home-problem__grid{
  display: grid;
  grid-template-columns: 290px 290px 290px 290px;
  justify-content: center;
  align-items: end;
  column-gap: 58px;
  row-gap: 28px;
  position: relative;
  margin-top:-135px;
}

.sam-home-problem__card{
  position: relative;
}

.sam-home-problem__connector{
  display: none;
}

.sam-home-problem__connector::before{
  display: none;
}

.sam-home-problem__connector-dot{
  display: none;
}

.sam-home-problem__card-inner{
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  animation: samFadeInDown 0.75s cubic-bezier(.22, 1, .36, 1);
}

.sam-home-problem__card-inner--light{
  background: #FFFFFF;
}

.sam-home-problem__card-inner--purple{
  background: #7B5AFF;
  min-height: 290px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sam-home-problem__card-inner--dark{
  background: #132436;
  min-height: 366px;
  padding: 24px 24px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sam-home-problem__card-inner--tags{
  min-height: 394px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.sam-home-problem__card--1 .sam-home-problem__card-inner{
  min-height: 394px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 12px;
}

.sam-home-problem__badge{
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #FFFFFF;
  border-radius: 99px;
  box-shadow: 0 4px 16px rgba(24, 29, 39, 0.12);
  padding: 4px 12px 4px 4px;
}

.sam-home-problem__badge-icon{
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.sam-home-problem__badge-icon svg{
  display: block;
  width: 24px;
  height: 24px;
}

.sam-home-problem__badge-text{
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.32px;
  font-weight: 500;
  color: #181D27;
  white-space: nowrap;
}

.sam-home-problem__image-wrap{
  position: relative;
  overflow: hidden;
}

.sam-home-problem__image-wrap--1{
  border-radius: 16px;
}

.sam-home-problem__image-wrap--3{
  margin-top: 16px;
  border-radius: 18px;
}

.sam-home-problem__image{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.sam-home-problem__content--1{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.sam-home-problem__mini-title{
  display: inline-flex;
  padding: 7px 13px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #E9E9E9;
  border-radius: 99px;
  color: #132436;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.32px;
}

.sam-home-problem__mini-subtitle{
  display: inline-flex;
  padding: 2px 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 99px;
  color: #535862;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.28px;
}

.sam-home-problem__purple-shape{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.sam-home-problem__purple-shape::before,
.sam-home-problem__purple-shape::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(109, 78, 245, 0.42);
}

.sam-home-problem__purple-shape::before{
  width: 330px;
  height: 150px;
  right: -34px;
  top: 18px;
  transform: rotate(-14deg);
}

.sam-home-problem__purple-shape::after{
  width: 360px;
  height: 160px;
  right: -20px;
  bottom: 12px;
  transform: rotate(8deg);
}

.sam-home-problem__stat,
.sam-home-problem__stat-title{
  position: relative;
  z-index: 1;
}

.sam-home-problem__stat{
  color: #FFFFFF;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.sam-home-problem__stat-number,
.sam-home-problem__stat-suffix{
  color: #FFFFFF;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -2.4px;
  font-weight: 400;
}

.sam-home-problem__stat-title{
  margin: 0;
  color: #FFFFFF;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -1.28px;
  font-weight: 500;
  max-width: 190px;
}

.sam-home-problem__content--3{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sam-home-problem__quote{
  max-width: 210px;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.36px;
  font-weight: 500;
}

.sam-home-problem__quote-meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.sam-home-problem__quote-name{
  color: #FFFFFF;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.28px;
  font-weight: 500;
}

.sam-home-problem__quote-sub{
  color: #717680;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.28px;
  font-weight: 400;
}

.sam-home-problem__content--4{
  margin-bottom: 10px;
}

.sam-home-problem__split-title{
  max-width: 220px;
  color: #181D27;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.96px;
  font-weight: 500;
}

.sam-home-problem__split-title-main{
  color: #181D27;
}

.sam-home-problem__split-title-highlight{
  color: #A4A7AE;
}

.sam-home-problem__tags{
  position: relative;
  height: 235px;
  width: 100%;
}

.sam-home-problem__tag{
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 22px;
  border-radius: 999px;
  color: #000000;
  text-align: center;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  user-select: none;
  box-shadow: none;
}

.sam-home-problem__tag--1{
  top: 34px;
  left: 18px;
  transform: rotate(-24deg);
}

.sam-home-problem__tag--2{
  top: 78px;
  right: 8px;
  transform: rotate(4deg);
}

.sam-home-problem__tag--3{
  top: 144px;
  left: 22px;
  transform: rotate(-39deg);
}

.sam-home-problem__tag--4{
  top: 196px;
  right: 14px;
  transform: rotate(6deg);
}

.sam-home-problem__tag--5{
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: fit-content;
  transform: rotate(0deg);
}

@keyframes samFadeInDown{
  from{
    opacity: 0;
    transform: translate3d(0, -26px, 0);
  }
  to{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 1399px){
  .sam-home-problem__top-line{
    margin-bottom: 18px;
  }

  .sam-home-problem__top-line img{
    max-width: 80%;
  }

  .sam-home-problem__grid{
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 1199px){
  .sam-home-problem__top-line{
    display: none;
  }

  .sam-home-problem__grid{
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    align-items: stretch;
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 767px){
  .sam-home-problem{
    padding: 0;
  }

  .sam-home-problem__inner{
    padding: 0;
  }

  .sam-home-problem__grid{
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 100%;
    margin-top:30px;
    margin-bottom:30px;
  }

  .sam-home-problem__card--1 .sam-home-problem__card-inner{
    min-height: auto;
    gap: 32px;
  }

  .sam-home-problem__card-inner--purple{
    min-height: 290px;
  }

  .sam-home-problem__card-inner--dark{
    min-height: auto;
    padding: 24px 24px 24px;
  }

  .sam-home-problem__card-inner--tags{
    min-height: 394px;
  }

  .sam-home-problem__stat-number,
  .sam-home-problem__stat-suffix{
    font-size: 42px;
    letter-spacing: -2px;
  }

  .sam-home-problem__stat-title{
    font-size: 28px;
    line-height: 38px;
    letter-spacing: -1.1px;
    max-width: 100%;
  }

  .sam-home-problem__quote{
    max-width: 220px;
  }

  .sam-home-problem__split-title{
    font-size: 20px;
    letter-spacing: -0.8px;
    max-width: 100%;
  }

  .sam-home-problem__tags{
    height: 240px;
  }

  .sam-home-problem__tag{
    font-size: 13px;
    padding: 10px 18px;
  }

  .sam-home-problem__tag--1{
    top: 42px;
    left: 12px;
    transform: rotate(-27deg);
  }

  .sam-home-problem__tag--2{
    top: 84px;
    right: 4px;
    transform: rotate(5deg);
  }

  .sam-home-problem__tag--3{
    top: 146px;
    left: 18px;
    transform: rotate(-40deg);
  }

  .sam-home-problem__tag--4{
    top: 186px;
    right: 8px;
    transform: rotate(13deg);
  }
}

@media (max-width: 575px){
  .sam-home-problem__card--1 .sam-home-problem__card-inner{
    padding: 10px;
    border-radius: 22px;
  }

  .sam-home-problem__card-inner--purple,
  .sam-home-problem__card-inner--dark,
  .sam-home-problem__card-inner--tags{
    border-radius: 22px;
  }

  .sam-home-problem__image-wrap--1,
  .sam-home-problem__image-wrap--3{
    border-radius: 16px;
  }

  .sam-home-problem__mini-title{
    font-size: 15px;
  }

  .sam-home-problem__mini-subtitle{
    font-size: 16px;
    line-height:26px;
  }

  .sam-home-problem__card-inner--tags{
    padding: 20px;
    min-height: 360px;
  }
  
  .sam-home-problem__quote-sub{
    font-size: 16px;
    line-height:26px;  
  }

  .sam-home-problem__tags{
    height: 214px;
  }

  .sam-home-problem__tag{
    min-height: 38px;
    padding: 9px 16px;
  }

  .sam-home-problem__tag--1{
    top: 26px;
    left: 8px;
  }

  .sam-home-problem__tag--2{
    top: 72px;
    right: 0;
  }

  .sam-home-problem__tag--3{
    top: 132px;
    left: 14px;
  }

  .sam-home-problem__tag--4{
    top: 172px;
    right: 2px;
  }
}