body {
  font-family: "Inter", sans-serif;
  color: #535353;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */

  background: #c6c7cb;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
.title {
  font-family: "Poppins", sans-serif;
  color: #1d1d1d;
}

main {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #c6c7cb;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

header {
  border-radius: 16px;
  background: #fff;
  padding: 16px 0;
}

header .container {
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.desk-menu ul {
  display: flex;
  gap: 20px;
}

.desk-menu ul li {
  padding: 12px;
}

.desk-menu ul li a,
.mobile-menu a {
  color: #1d1d1d;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.6;
  position: relative;
  transition: all 0.2s ease;
}

.desk-menu ul li a::after,
.mobile-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #1d1d1d;
  transition: width 0.2s ease;
}

.desk-menu ul li a:hover,
.mobile-menu a:hover {
  opacity: 1;
}

.desk-menu ul li a:hover::after,
.mobile-menu a:hover::after {
  width: 100%;
}

.blue-btn {
  display: inline-flex;
  padding: 14px 28px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #36f;

  color: #fff;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.68px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.blue-btn:hover {
  background: #091a7a;
}

.toggle-btn {
  display: none;
}

.mobile-popup {
  display: none;
}

@media (max-width: 1099px) {
  .desk-menu,
  .desk-btn {
    display: none;
  }

  .toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: #36f;
    border-radius: 8px;
    overflow: hidden;

    transition: all 0.2s ease;
  }

  .toggle-btn span {
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.2s ease;
  }

  .toggle-btn.toggled span:first-child {
    transform: rotate(-45deg);
    margin-bottom: -9px;
  }

  .toggle-btn.toggled span:nth-child(2) {
    transform: translateX(-40px);
  }

  .toggle-btn.toggled span:nth-child(3) {
    transform: rotate(45deg);
    margin-top: -5px;
  }

  body.no-scroll {
    overflow: hidden;
  }

  .mobile-popup {
    /* opacity: 0;
    visibility: hidden; */

    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 28px;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    height: 50%;

    transition: all 0.3s ease;
    transform: translateY(-1000px);
  }

  .mobile-popup.visible {
    transform: translateY(0);
    transition: all 0.3s ease;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
  }

  .mobile-menu a {
    text-align: center;
    font-size: 18px;
  }
}

section {
  border-radius: 20px;
  padding: 52px;
  overflow: hidden;
}

header,
footer,
section {
  max-width: 1392px;
  width: 100%;
  margin: 0 auto;
}

.hero {
  padding: 90px 52px;
  background: url("./img/bg-hero.png");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

h1 {
  color: #fff;
  font-size: 68px;
  font-style: normal;
  font-weight: 300;
  line-height: 80px; /* 117.647% */
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero p {
  color: #fff;
  max-width: 500px;
}

.subtitle {
  margin-bottom: 40px;
}

.link-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 72px;
}

.white-btn {
  display: flex;
  height: 48px;
  padding: 14px 28px;
  justify-content: center;
  align-items: center;

  border-radius: 8px;
  border: 1px solid #fff;

  color: #fff;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.68px;
  text-transform: uppercase;

  transition: all 0.3s ease;
}

.white-btn:hover {
  background: #fff;
  color: #3366ff;
}

.companies {
  margin-bottom: 14px;
  max-height: 48px;
}

.workflow {
  background:
    url("./img/section-bg.png") left top no-repeat,
    #f1f1f7;

  background-size: auto 100%;
  position: relative;
  overflow: visible;
}

.workflow .wrapper {
  display: flex;
  gap: 16px;
}

.workflow .col-text,
.workflow .steps {
  width: 50%;
  position: relative;
  z-index: 3;
}

.sticky-text {
  position: sticky;
  top: 0;
}

.workflow .label {
  color: #535353;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.68px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h2 {
  font-size: 52px;
  font-style: normal;
  font-weight: 300;
  line-height: 64px; /* 123.077% */
}

.workflow .steps {
  padding-left: 52px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.workflow .steps .item {
  padding-left: 30px;
  position: relative;
}

.workflow .steps .item::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;

  position: absolute;
  left: 0;
  top: 4px;

  opacity: 0.3;
  transition: opacity 0.4s ease;
}

.workflow .steps .item::after {
  content: "";
  width: 2px;
  height: 129%;
  background: #000;

  position: absolute;
  left: 9px;
  top: 20px;

  opacity: 0.3;
  transform: scaleY(0);
  transform-origin: top;
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
}

.workflow .steps .item:nth-child(2):after {
  content: "";
  width: 2px;
  height: 125%;
  background: #000;

  position: absolute;
  left: 9px;
  top: 20px;

  opacity: 0.3;
  transform: scaleY(0);
  transform-origin: top;
  transition:
    transform 0.6s ease,
    opacity 0.4s ease;
}

.workflow .steps .item.active::before {
  opacity: 1;
}

.workflow .steps .item.active::after {
  opacity: 1;
  transform: scaleY(1);
}
.workflow .steps .item:nth-child(3)::after {
  display: none;
}

.steps span {
  color: #535353;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.68px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.steps .title {
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px; /* 128.571% */
  letter-spacing: -0.72px;
  margin-bottom: 20px;
}

.why-us {
  background: #fff;
}

.why-us h2 {
  margin-bottom: 120px;
}

.why-us .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.why-us .card {
  width: 25%;
  padding: 40px;
  border-radius: 60px 16px;
  background: #f1f1f7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.card .title {
  color: #1d1d1d;
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px; /* 128.571% */
  letter-spacing: -0.72px;
  width: 100%;
}

.card .img-block {
  position: relative;
  width: 224px;
  height: 160px;
}

.card .img-block img {
  position: absolute;
}

.card_1 img,
.card_2 img,
.card_3 img,
.card_4 img {
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card 1 */

.card_1 .img-block img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card_1:hover .down {
  transform: translate(-50%, calc(-50% + 10px));
}

.card_1:hover .up {
  transform: translate(-50%, calc(-50% - 10px));
}

/* Card 2 */

.card_2 .bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card_2 .card-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-44%, -50%);
}

.card_2 .card-sm {
  position: absolute;
  bottom: 24px;
  left: 70px;
  transform: translate(0, 0);
}

.card_2 .element {
  position: absolute;
  bottom: 8px;
  left: 102px;
  transform: translate(0, 0);
}

.card_2:hover .card-img {
  transform: translate(-44%, -62%);
}

.card_2:hover .card-sm {
  transform: translate(0, 12px);
}

.card_2:hover .element {
  transform: translate(20px, 0);
}

/* Card 3 */

.card_3 .bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card_3 .el-1 {
  position: absolute;
  left: 56px;
  top: 40px;
  transform: translate(0, 0);
  z-index: 3;
}

.card_3 .el-2 {
  position: absolute;
  left: 96px;
  top: 40px;
  transform: translate(0, 0);
  z-index: 2;
}

.card_3 .el-3 {
  position: absolute;
  right: 34px;
  bottom: 22px;
  transform: translate(0, 0);
  z-index: 2;
}

.card_3:hover .el-1 {
  transform: translate(-12px, -20px);
}

.card_3:hover .el-2 {
  transform: translate(14px, 20px);
}

.card_3:hover .el-3 {
  transform: translate(20px, 0);
}

/* Card 4 */

.card_4 .el-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card_4 .el-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-20%, -50%);
}

.card_4 .el-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-86%, -30%);
}

.card_4:hover .el-2 {
  transform: translate(0%, -40%);
}

.card_4:hover .el-3 {
  transform: translate(-110%, -20%);
}

.blended {
  background: #f1f1f7;
}

.blended .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.blended .info {
  max-width: 564px;
}

.blended .img-wrap img {
  border-radius: 12px;
}

section .label {
  color: #535353;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.68px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.blended h2 {
  margin-bottom: 120px;
}

.blended .info p {
  margin-bottom: 20px;
}

.blended ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 56px;
}

.blended ul li {
  color: #535353;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  line-height: 20px; /* 142.857% */
  position: relative;
}

.blended ul li::before {
  content: url("./img/icon-1.svg");
  position: absolute;
  left: -56px;
}

.blended ul li:nth-child(2)::before {
  content: url("./img/icon-2.svg");
}

.blended ul li:nth-child(3)::before {
  content: url("./img/icon-3.svg");
}

.security {
  background: #fff;
}

.security .container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.security .info {
  max-width: 534px;
}

.security h2 {
  margin-bottom: 24px;
}

.security .subtitle {
  color: #36f;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  line-height: 36px; /* 128.571% */
  letter-spacing: -0.72px;
  margin-bottom: 120px;
}

.security img {
  border-radius: 12px;
}

.join {
  background: #f1f1f7;
  position: relative;
}

.join::before {
  content: url("./img/section-bg-2.png");
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.join .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.join .start {
  display: flex;
  gap: 50px;
}

.join .start p {
  font-family: "Poppins", sans-serif;
}

footer {
  padding: 52px;
  border-radius: 20px;
  background: #1d1d1d;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .nav {
  display: flex;
  gap: 20px;
}

footer .nav li {
  padding: 12px;
}

footer .nav li a {
  color: #c6c7cb;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.6;

  position: relative;
  transition: all 0.2s ease;
}

footer .nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background-color: #c6c7cb;
  transition: width 0.2s ease;
}

footer .nav li a:hover {
  opacity: 1;
}

footer .nav li a:hover::after {
  width: 100%;
}

footer .rights {
  color: #bfbebe;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
}

@media (max-width: 768px) {
  main {
    padding: 20px 16px;
  }
  header .logo {
    max-width: 200px;
  }

  header .container {
    padding: 0 16px;
  }

  .hero {
    padding: 16px;
    background: url("./img/bg-hero-mob.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    position: relative;
  }

  h1 {
    font-size: 40px;
    font-style: normal;
    font-weight: 300;
    line-height: 52px; /* 130% */
    letter-spacing: -2px;
    margin-bottom: 24px;
  }

  .link-wrap {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 90px;
  }

  .companies {
    height: 44px;
    width: auto;
    margin-bottom: 14px;
  }

  .mobile-popup {
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 16px;
    position: absolute;
    left: 0;
    top: 0;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    height: 54%;
    transition: all 0.3s ease;
    transform: translateY(-1000px);
    z-index: 99;
  }

  section {
    padding: 16px;
  }

  .workflow {
    background: #f1f1f7;

    background-size: auto 100%;
    position: relative;
    overflow: visible;
  }

  .workflow::before {
    content: url("./img/section-bg-mobile.png");
    position: absolute;
    left: auto;
    right: 0;
    top: 16px;
  }

  .workflow .wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .workflow .col-text,
  .workflow .steps {
    width: 100%;
  }

  .workflow .label {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    letter-spacing: 1.68px;
    text-transform: uppercase;

    margin-bottom: 8px;
  }

  h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: 44px; /* 122.222% */
  }

  .workflow .steps {
    padding-left: 0;
    padding-top: 16px;
    gap: 20px;
  }

  .steps span {
    font-size: 12px;
    line-height: 16px;
  }

  .steps .title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 10px;
  }

  .steps .text {
    font-size: 14px;
    line-height: 20px;
  }

  .workflow .steps .item {
    padding-left: 26px;
    position: relative;
  }

  .item::before {
    top: 0px;
  }

  .workflow .steps .item::after {
    content: "";
    width: 2px;
    height: 104%;
    background: #000;
    position: absolute;
    left: 9px;
    top: 20px;
    opacity: 0.3;
    transform: scaleY(0);
    transform-origin: top;
    transition:
      transform 0.6s ease,
      opacity 0.4s ease;
  }

  .workflow .steps .item:nth-child(2)::after {
    height: 102%;
  }

  section .label {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 8px;
  }

  .why-us h2 {
    margin-bottom: 20px;
  }

  .why-us .wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .why-us .card {
    width: 100%;
    padding: 20px;
    border-radius: 40px 16px;
    gap: 20px;
  }

  .card .title {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }

  .card br {
    display: none;
  }

  .card .text {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
  }

  .blended .container {
    flex-direction: column;
    gap: 20px;
  }

  .blended .info .label {
    margin-bottom: 8px;
  }

  .blended h2 {
    margin-bottom: 20px;
  }

  .security .container {
    flex-direction: column;
    gap: 20px;
  }

  .security h2 {
    margin-bottom: 20px;
  }

  .security .subtitle {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 20px;
  }

  .join .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .join .start {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .join .start br {
    display: none;
  }

  .join .info {
    width: 100%;
    text-align: center;
  }

  .join {
    position: relative;
    background: #f1f1f7;
    overflow: hidden;
  }

  .join::before {
    content: "";
    position: absolute;
    left: 0;
    top: auto;
    bottom: -90px;
    width: 100%;
    height: 100%;

    background-image: url("./img/section-bg-mobile-2.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;

    z-index: 0;
    pointer-events: none;
  }

  footer {
    padding: 24px 16px;
  }

  footer .container {
    flex-direction: column;
    gap: 20px;
  }

  footer .nav {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  footer .nav li a {
    text-align: center;
  }
}
