.hero {
  background-color: #fff;

  padding-top: 230px;

  margin-top: -150px;

  text-align: center;

  overflow-y: hidden;
}

.hero-title {
  margin: 0 0 16px;
}

.hero-description {
  color: #666666;
  margin: 0 auto 40px;

  max-width: 818px;
}

.hero-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  margin-bottom: 251px;
}

.hero-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  padding: 14px 24px;

  color: #1c1c1c;
  background: #fff;

  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.05), 0px 2px 4px rgba(0, 0, 0, 0.04),
    0px 2px 4px -1px rgba(0, 0, 0, 0.08);
  border-radius: 12px;

  cursor: pointer;

  transition: all 0.15s ease-in-out !important;
}

.hero-button:hover,
.hero-button:focus {
  color: #1c1c1c;
  text-decoration: none;

  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06), 0px 12px 52px rgba(0, 0, 0, 0.16);

  cursor: pointer;

  transition: all 0.15s ease-in-out !important;
}

.pera-mobile-button--mobile {
  display: none !important;
}

.pera-mobile-button {
  background-color: #1c1c1c;
  color: #fff;
}

.pera-mobile-button:hover,
.pera-mobile-button:focus {
  background-color: #1c1c1c;
  color: #fff;

  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.06), 0px 12px 52px rgba(0, 0, 0, 0.16);
}

.hero-pattern {
  background-image: url("../images/hero-pattern.svg");
  background-color: #fcca44;

  height: 288px;
}

.hero-pattern-image-container {
  width: 100%;
  height: 100%;

  position: relative;
}

.hero-pera-web-image {
  position: absolute;
  bottom: 0;
  left: 10%;

  width: 897px;
  height: auto;
}

.hero-pera-mobile-image {
  position: absolute;
  bottom: 0;
  right: 10%;

  width: 310px;
  height: auto;
}

.hero-coin-image {
  position: absolute;
  bottom: 0;
  right: 32%;
  z-index: 2;
}

.feature-cards {
  margin-top: 100px;
}

.feature-cards__title {
  font-weight: 500;
  font-size: 60px;
  line-height: 68px;

  margin-bottom: 60px;
}

.feature-cards__layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 25px;
}

.swap-card {
  max-width: 768px !important;

  grid-column: 1/3;
}

.learn-more-card {
  overflow: visible !important;

  display: flex;
  flex-direction: unset !important;

  background: url("../images/cards/learn-more-background.png") #9e92f4 !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;

  margin-bottom: -100px;

  width: 100%;
  max-width: unset !important;
  height: 428px !important;

  grid-column: 1/-1;
}

.feature-cards__card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  max-width: 370px;

  color: #1c1c1c;

  background: #ffffff;
  border-radius: 30px;
  height: 489px;
}

.feature-cards__card h2 {
  font-weight: 500;
  font-size: 28px;
  line-height: 120%;

  margin: 0;
  padding: 0;

  /* or 34px */
  letter-spacing: -0.041em;
}

.feature-cards__card p {
  max-width: 446px;

  padding: 0 30px 30px;
  margin: 0;

  color: #666666;

  font-family: "Milan";
  font-size: 13px;
  line-height: 157%;
  /* or 20px */
  letter-spacing: -0.04px;
  font-feature-settings: "ss02" on, "salt" on, "ss01" on, "ss03" on, "liga" off,
    "calt" off;
}

.feature-cards__card img {
  max-width: unset;
}

.secure-card img {
  position: absolute;
  top: 97px;
  left: 24px;

  width: 346px;
}

.buy-card img {
  position: absolute;
  top: 108px;
  left: 30px;

  width: 340px;
}

.dapps-card img {
  position: absolute;
  top: 129px;
  left: 56px;

  width: 314px;
}

.feature-cards__card a {
  color: #1c1c1c;

  font-weight: 500;
}

.feature-cards__card__title {
  padding: 30px 30px 0 !important;
  margin: 0;
}

.feature-cards__card__title__new-label {
  width: max-content;

  padding: 5px 8px;
  margin-bottom: 17px;

  background: #4ceb9f;
  color: #1c1c1c;
  border-radius: 20px;

  font-weight: 500;
  font-size: 13px;
  line-height: 120%;

  /* identical to box height, or 16px */
  letter-spacing: 0.009em;
}

.feature-cards__coming-soon__feature-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.web-wallet-card {
  display: none;
}

.web-wallet-card a {
  color: #6b46fe;

  margin-top: 2px;
}

.web-wallet-card .feature-cards__card__title .h2 {
  margin: 0;
}

.secure-card p {
  max-width: 347px;
}

.buy-card p {
  max-width: 357px;
}

.nfts-card p {
  max-width: 347px;
}

.nfts-card img {
  position: absolute;
  top: 57px;
  left: 30px;

  width: 303px;
}

.swap-card img {
  position: absolute;
  top: 0;
  left: 36px;

  width: 673px;
}

.swap-card .mobile-image {
  display: none;
}

.portfolio-card img {
  position: absolute;
  top: 92px;
  left: 8px;

  width: 354px;
}

.ledger-card img {
  position: absolute;
  top: 107px;
  left: 0;

  width: 370px;
}

.onboarding-card img {
  position: absolute;
  top: 78px;
  right: 0;

  width: 312px;
}

.swap-card p {
  max-width: 489px;
}

.learn-more-card__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px;
}

.learn-more-card h2 {
  font-size: 40px;
  line-height: 120%;

  /* or 48px */
  letter-spacing: -1.16px;
}

.learn-more-card p {
  max-width: 485px;
  margin-bottom: 24px;

  padding: 0;

  font-weight: 400;
  font-size: 18px;
  line-height: 160%;

  color: #1c1c1c;

  /* or 29px */
  letter-spacing: -0.26px;
}

.learn-more-card a {
  display: inline-block;
  background: #1c1c1c;
  border-radius: 12px;
  color: #fff;
  padding: 14px 40px;
  width: fit-content;
}

.learn-more-card img {
  width: 484px;
  margin-top: 38px;
  margin-right: 139px;
}

.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  color: #fff;
  background-color: #1c1c1c;

  height: 52px;

  overflow: hidden;
}

.hero-banner p {
  margin: 0;
}

@media only screen and (max-width: 1120px) {
  .hero-pera-web-image {
    left: 5%;
  }

  .hero-pera-mobile-image {
    right: 5%;
  }
}

@media only screen and (max-width: 992px) {
  .feature-cards {
    margin-top: 60px;
  }

  .feature-cards__layout {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }

  .feature-cards__title {
    font-size: 40px;
    line-height: 120%;

    /* or 48px */
    letter-spacing: -1.16px;

    margin-bottom: 44px;
  }

  .feature-cards__card {
    position: relative;

    color: #1c1c1c;

    border-radius: 24px;
    max-width: 342px;
    width: 100%;
    height: 480px;
  }

  .feature-cards__card__title {
    padding: 24px 24px 0 !important;
  }

  .feature-cards__card__title__new-label {
    position: absolute;
    top: 16px;
    right: 16px;

    margin-bottom: 0;
  }

  .feature-cards__card h2 {
    font-size: 28px;
    line-height: 120%;

    /* or 34px */
    letter-spacing: -0.041em;
  }

  .feature-cards__card p {
    padding: 0 24px 24px 24px;
  }

  .dapps-card .feature-cards__card__title {
    max-width: 221px;
  }

  .learn-more-card {
    display: flex;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    gap: 16px;

    max-width: 342px !important;
    height: 585px !important;

    background: #9e92f4 !important;
  }

  .learn-more-card__content {
    padding: 40px 24px 12px;
  }

  .learn-more-card h2 {
    margin-bottom: 16px;

    font-size: 28px;
    line-height: 120%;

    /* or 34px */
    text-align: center;
    letter-spacing: -0.041em;
  }

  .learn-more-card p {
    font-size: 14px;
    line-height: 24px;

    padding: 0;
    margin-bottom: 28px;

    /* or 171% */
    text-align: center;
    letter-spacing: -0.09px;
  }

  .learn-more-card a {
    display: block;
    margin: 0 auto;
  }

  .learn-more-card img {
    width: 392px;
    margin: 0;
    margin-left: 5px;
    margin-bottom: -70px;
  }

  .web-wallet-card {
    display: flex;

    overflow: hidden;
  }

  .web-wallet-card p {
    padding: 0;
    max-width: 294px;

    margin-bottom: 12px;
  }

  .web-wallet-card__footer {
    padding: 0 24px 24px 24px;
  }

  .web-wallet-card .mobile-img {
    width: 70%;

    margin-left: 30%;
  }

  .pera-web-button {
    display: none;
  }

  .pera-mobile-button {
    display: none;
  }

  .pera-mobile-button--mobile {
    display: flex !important;

    width: 100%;
    max-width: 319px;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-title {
    margin-bottom: 24px;
  }

  .hero-description {
    margin-bottom: 32px;
  }

  .hero-pera-web-image {
    display: none;
  }

  .hero-pera-mobile-image {
    position: absolute;
    bottom: 0;
    right: calc(50% - 155px);

    width: 310px;
    height: auto;
  }

  .hero-banner-hide-medium {
    display: none;
  }

  .hero-coin-image {
    display: none;
  }

  .buy-card img {
    top: 88px;
    left: 30px;
  }

  .nfts-card img {
    top: 57px;
    left: 12px;
  }

  .swap-card {
    max-width: 342px !important;
  }

  .swap-card .desktop-image {
    display: none !important;
    position: static;
  }

  .swap-card .mobile-image {
    position: absolute;
    top: 66px;
    left: 0;

    width: 342px;

    display: block;
  }

  .dapps-card img {
    top: 113px;
    left: 30px;

    width: 313px;
  }

  .portfolio-card img {
    top: 92px;
    left: 0;

    width: 342px;
  }
}

@media only screen and (max-width: 779px) {
  .hero {
    padding-top: 220px;
  }

  .hero-banner-hide-small {
    display: none;
  }

  .hero-banner-small-line {
    width: 48px;
  }

  .rating.subtitle,
  .reviews.subtitle {
    font-size: 14px;
    line-height: 24px;

    /* identical to box height, or 171% */
    letter-spacing: -0.09px;
  }

  .time h4 {
    font-size: 18px;
    line-height: 160%;

    /* identical to box height, or 29px */
    letter-spacing: -0.26px;
  }

  .roadmap .card-holder {
    padding-bottom: 28px;
  }

  .community .card-holder {
    margin-top: 0;
  }
}

@media only screen and (max-width: 475px) {
  .hero-description {
    margin-bottom: 32px;

    max-width: 320px;
  }
}
