:root {
  /* delete these if unused */
  --text-color: #99999;
  --primary-color: #333;
  --secondary-color: #666;
  --hover-color: #0066cc;
  --bg-color: #f8f8f8;
  --border-color: #e7e7e7;
  /* ^^^ */

  /*  */
  --black: #000000;
  --blue: #4A69F3;
  --blue-dark: #1F379E;
  --green: #1ad270;
  --green-dark: #187B46;
  --yellow: #f2c32a;
  --yellow-dark: #C97F18;
  --white: #ffffff;
  --card-bg-color: #f2f2f2;
  /*  */
}

@font-face {
  font-family: "DenimINK";
  src: url("../fonts/denim/DenimINK-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --text-color: #99999;
  --primary-color: #333;
  --secondary-color: #999;
  --hover-color: #0066cc;
  --bg-color: #f8f8f8;
  --border-color: #e7e7e7;
}

body {
  font-family: "DenimINK", "Open Sans", "Helvetica Neue", sans-serif;
}

.nav {
  position: fixed;
  top: 10.5vw;
  right: 12vw;
  left: 9vw;
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__logo {
  width: 6vw;
  height: 6vw;
}

.nav__link_logo {
  margin-right: auto;
}

.nav__link {
  font-size: 1.33333333vw;
  padding: 1.27777777vw 2.5vw;
  color: #000;
  text-decoration: none;
}

.nav__link:hover {
  opacity: 0.5;
  transition: 0.3s opacity;
}

.header {
  padding-top: 28.16666666vw;
  padding-right: 4.11111111vw;
  padding-left: 12.88vw;
  position: relative;
  margin-bottom: 10vw;
}

.header__lines,
.header__lines_right {
  display: none;
}

.header__lines path {
  stroke-dasharray: 4000;
  animation: dash 4s ease-out forwards;
}

@keyframes dash {
  from {
    stroke-dashoffset: 4000;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.header__logo-top {
  background-image: url("../images/front-landing/header-logo-top-mobile.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  animation: 0.5s ease fadeIn;
  height: 55.8333333vw;
}

.header__logo-bottom {
  background-image: url("../images/front-landing/header-logo-bottom-mobile.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  animation-duration: 1s;
  height: 55.8333333vw;
}

.header__title {
  font-weight: 400;
  font-size: 6.05vw;
  line-height: 1;
  padding: 3.94vw 0;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  text-align: center;
  animation: 0.5s ease fadeIn;
  margin-bottom: 5vw;
}

.first-second-screens {
  background-image: url("../images/front-landing/mobile-first-second-screens-waves.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  min-height: 580vw;
}

.what-we-do {
  padding-right: 4.11111111vw;
  padding-left: 13.88vw;
  margin-top: 150vw;
  margin-bottom: 7.77777777vw;
}

.section-title-mobile {
  font-size: 7.33vw;
  font-weight: 400;
}

.what-we-do__title {
  margin-bottom: 5.44444444vw;
}

.what-we-do__text {
  width: 76.55vw;
  font-size: 4.6vw;
  line-height: 1;
  margin-bottom: 4.5vw;
}

.what-we-do__text:last-child {
  margin-bottom: 0;
}

.new-stroke__desktop {
  display: none;
}

@keyframes fadeIn {
  from {
    transform: scale(0.97) translateY(0.22222222vw);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* WHY SECTION - START */

.why-section {
  position: relative;
  padding-top: 40vw;
  margin-top: -163vw;
  padding-right: 4vw;
  padding-left: 15vw;
}

.why-container {
  /*width: 76.55vw;*/
  margin: 0 auto;
}

.why-mobile-decor {
  position: absolute;
  right: 0;
  top: 5vw;
  width: 100%;
  height: auto;
}

.why-desktop-decor {
  display: none;
}

.why-sectionTitle {
  font-size: 7.33vw;
  font-weight: 400;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.why-mobile-title-logo {
  /*width: 30vw;*/
  /*max-width: 120px;*/
  height: auto;
  margin-left: 6px;
  margin-top: 7px;
}

.why-desktop-title-logo {
  display: none;
}

.whyItem {
  background-color: #f2f2f2;
  margin-bottom: 10px;
  padding: 5vw;
}

.whyItem__title {
  font-size: 5vw;
  line-height: 1.32;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 4vw;
}

.whyItem__description {
  font-size: 4.8vw;
  line-height: 1.15;
}

/* WHY SECTION - END */
/* >>> */

/* OUR PRODUCTS SECTION - START */

.rest-screens {
  background-image: url("../images/front-landing/mobile-rest-screens-waves.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top left;
  min-height: 1080vw;
}

.our-product-section {
  padding-top: 160.8888888vw;
}

.bankify-winner-section {

}

.appreciated {
  padding-left: 15.6111111vw;
  padding-right: 7.8333333vw;
  margin-bottom: 70vw;
}

.appreciated__title {
  margin-bottom: 6.05555555vw;
}

.appreciated__text {
  font-size: 4.6vw;
  line-height: 1;
  margin-bottom: 6.05555555vw;
}

.appreciated__text + .appreciated__text {
  margin-top: 3.27777777vw;
}

/* OUR PRODUCTS - START */
.product-family__title {
  font-size: max(8.66666666vw, 28px);
  line-height: 1;
  text-align: center;
  font-weight: 400;
  color: #000000;
  margin-bottom: 50vw;
  white-space: nowrap;
}

.product-card {
  margin-top: 1.66666666vw;
  margin-right: 13vw;
  margin-left: 14.5vw;
  display: flex;
  flex-direction: column;
}

.product-card_otc {
  margin-bottom: 60vw;
}

.product-card.product-card_invoicer {
  margin-bottom: 57vw;
}

.product-card_wallet {
  margin-bottom: 57.5vw;
}

.product-card.product-card_bankify {
  margin-bottom: 53vw;
}

.product-card_winner-pay {
  margin-bottom: 30vw;
}

.product-card__header {
  padding-top: max(0.3889vw, 2px);
  padding-right: max(0.8889vw, 4px);
  padding-bottom: max(0.3889vw, 2px);
  padding-left: max(1.7778vw, 4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.product-card__header.bg__green {
  background-color: var(--green);
  color: var(--white);
}

.product-card__header.bg__yellow {
  background-color: var(--yellow);
  color: var(--black);
}

.product-card__header.bg__blue {
  background-color: var(--blue);
  color: var(--black);
}

.product-card__title {
  margin: 0;
  padding: 1.5vw 2vw;
  min-width: 0;
  line-height: 1.3;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 2.7778vw;
}

.product-card__title.color__green {
  color: var(--green);
}

.product-card__title.color__yellow {
  color: var(--yellow);
}

.product-card__title.color__blue {
  color: var(--blue);
}

.product-card__title-text {
  color: #fff;
  font-size: 4.5vw;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__link {
  text-decoration: none;
}

.product-card__linkInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /*height: 4.55555555vw;*/
  padding: 1vw 3vw;
}

.product-card__linkInner--green {
  background-color: var(--green-dark);
}

.product-card__linkInner--yellow {
  background-color: var(--yellow-dark);
}

.product-card__linkInner--blue {
  background-color: var(--blue-dark);
}

.learn-more {
  display: block;
  text-transform: uppercase;
  color: #fff;
  font-size: 4vw;
  text-decoration: none;
}

.product-card__linkArrow {
  /*width: 3.5vw;*/
  /*height: auto;*/
}

.product-card__body {
  background-color: var(--card-bg-color);
  padding: 4vw 4vw;
}

.product-card__description {
  color: #000000;
  font-weight: 400;
  line-height: 1.15;
  font-size: 4.3vw;
  margin-bottom: 4vw;
}

/*.product-card__header > .product-card__title {*/
/*  visibility: hidden;*/
/*}*/

.product-card__body > .product-card__title {
  padding-bottom: max(2.7778vw, 16px);
}
/* OUR PRODUCTS - END */
/* <<< */

/* ====================
          FOOTER
   ==================== */

footer {
  background-color: var(--bg-color);
  color: var(--primary-color);
  padding: 2.5rem 0;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.brand-title {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-size: 15.5vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -4.12px;
  text-align: start;
}

.brand-logo {
  margin-left: 1rem;
  margin-top: 1.8vw;
  width: max(60vw, 260px);
  max-width: max(60vw, 260px);
}

.footer-main {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 7vw;
}

.footer-nav {
  display: grid;
  gap: 1rem;
}

.nav-column {
  display: flex;
  flex-direction: column;
  /*gap: 0.75rem;*/
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 5vw;
  line-height: 1.3;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--hover-color);
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
}

.address {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  color: var(--text-color);
  gap: 3px;
  font-size: 5vw;
  font-style: normal;
  font-weight: 400;
  line-height: 100%; /* 12px */
  letter-spacing: -0.24px;
}

.copyright {
  color: var(--primary-color);
  font-size: 5vw;
  align-self: start;
}

/* ========================================================================================================
   MOBILE MENU STYLES
   ==================== */

/* Mobile menu button (hamburger) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000;
  border-radius: 3px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.1s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile menu container */
.mobile-menu {
  position: absolute;
  top: 28px;
  left: 19px;
  right: 19px;
  height: 335px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(37px);
  border-radius: 0;
  padding: 18px 23px 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*transform: translateY(-20px);*/
  transition: all 0.1s ease;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateY(0);
}

/* Background decorative lines */
.mobile-menu__bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* Mobile menu content */
.mobile-menu__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

/* Mobile menu header */
.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
}

.mobile-menu__logo svg {
  width: 33vw;
  height: 11vw;
}

.mobile-menu__close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8vw;
  height: 8vw;
  margin-top: -15px;
}

/* Mobile menu navigation */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  gap: 21px;
}

.mobile-menu__link {
  font-family: "DenimINK", sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #000;
  text-decoration: none;
  padding: 0;
  transition: opacity 1s ease;
}

.mobile-menu__link:hover {
  opacity: 0.7;
}

.mobile-menu__divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
}

/* Mobile menu tagline */
.mobile-menu__tagline {
  text-align: center;
  margin-top: auto;
}

.mobile-menu__tagline h1 {
  font-family: "DenimINK", sans-serif;
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: #000;
  margin: 0;
  padding: 25px;
  border: 1px solid #000;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(33px);
}

/* Hide mobile menu on desktop by default */
@media screen and (min-width: 600px) {
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-menu-overlay {
    display: none;
  }
}

/* Show mobile menu button and hide desktop nav on mobile */
@media screen and (max-width: 599px) {
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav__link:not(.nav__link_logo) {
    display: none;
  }
  
  .nav {
    justify-content: space-between;
  }
}

/* ========================================================================================================
   TABLET MEDIA QUERIES
   ==================== */

@media screen and (min-width: 600px) {

  .nav {
    backdrop-filter: blur(35px);
    top: 2vw;
    right: 10.11111111vw;
    left: 22vw;
  }

  .nav__logo {
    width: 2vw;
    height: 2vw;
  }

  .header {
    padding-top: 8.16666666vw;
    padding-right: 10.11111111vw;
    padding-left: 21.88vw;
    margin-bottom: 18vw;
  }

  .header__title {
    font-size: 3.05vw;
    padding: 1.94vw 0;
    border-top-width: 2px;
    border-bottom-width: 2px;
    margin-bottom: 0;
  }

  .header__logo-top,
  .header__logo-bottom {
    background-image: url("../images/front-landing/header-logo-top.svg");
    height: 27.8333333vw;
  }

  .header__logo-bottom {
    background-image: url("../images/front-landing/header-logo-bottom.svg");
  }

  .header__lines,
  .header__lines_right {
    display: block;
    position: absolute;
  }

  .header__lines {
    left: 0;
    top: 0;
    right: 0;
    height: 170.33vw;
    z-index: -1;
  }

  .header__lines_right {
    height: 35.6666666vw;
    left: unset;
    width: auto;
  }

  .first-second-screens {
    background-image: none;
    min-height: auto;
  }

  .new-stroke__mobile {
    display: none;
  }


  .new-stroke__desktop {
    display: block;
  }

  /* WHAT WE DO - START */
  .what-we-do {
    margin-top: 0;
    padding-right: 8vw;
    padding-left: 22vw;
  }

  .what-we-do__title {
    font-size: 3.33vw;
    color: #fff;
    margin-bottom: 15.44444444vw;
  }

  .what-we-do__text {
    width: 62.55vw;
    font-size: max(3.05555555vw, 16px);
    margin-bottom: 3.05555555vw;
  }

  /* WHAT WE DO - END */
  /* WHY SECTION - START */
  .why-section {
    margin-top: 0;
    margin-bottom: max(2vw, 40px);
    padding-top: 20vw;
  }

  .why-mobile-title-logo {
    display: none;
  }

  .why-desktop-title-logo {
    display: block;
    z-index: 10;
    width: 15vw;
    height: auto;
    margin-left: 3px;
    margin-top: 5px;
  }

  .why-container {
    max-width: 70vw;
    margin: 0 auto;
  }

  .why-mobile-decor {
    display: none;
  }

  .why-desktop-decor {
    display: block;
    z-index: -1;
    position: absolute;
    right: 0;
    left: auto;
    top: 15px;
    min-width: 100%;
    height: auto;
  }

  .why-sectionTitle {
    color: #fff;
    font-size: 3vw;
    margin-top: 3vw;
    margin-bottom: 15vw;
    z-index: 10;
  }

  .whyItem {
    display: flex;
    justify-content: space-between;
    padding: 40px 33px;
    margin-bottom: 30px;
  }

  .appreciated {
    padding-left: 20vw;
    padding-right: 23vw;
    margin-bottom: 37vw;
  }

  .appreciated__title {
    color: #fff;
    font-size: 3vw;
    margin-top: 0.3vw;
    margin-bottom: 15vw;
    z-index: 10;
  }

  .appreciated__text {
    font-size: 2.5vw;
    margin-bottom: 3vw;
  }

  .rest-screens {
    background-image: none;
    min-height: auto;
  }

  /* OUR PRODUCTS SECTION - START */
  .our-product-section {
    padding-top: 60.8888888vw;
    background: url("../images/front-landing/grey-green-path.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 297.222222vw;
  }

  .product-family__title {
    font-size: 6vw;
    text-align: left;
    margin-bottom: 5.4vw;
    padding-left: 20vw;
  }

  .product-card_bordered {
    outline: 1vw solid #fff;
  }


  /* OUR PRODUCTS SECTION - END */
  /* WINNER SECTION - START */
  .bankify-winner-section {
    padding-top: 46.2222222vw;
    background: url("../images/front-landing/yellow-blue-path.svg") no-repeat top center;
    background-size: contain;
    margin-top: -25vw;
    margin-bottom: 14.6666666vw;
  }

  /* WINNER SECTION - END */
  /* WHY SECTION - END */
  .footer-top {
    flex-direction: column;
    /*justify-content: space-between;*/
  }

  .footer-main {
    flex-direction: column;
    justify-content: space-between;
    padding: 2vw 0;
  }

  .whyItem__title {
    font-size: 2.5vw;
    min-width: 20vw;
    margin-bottom: 0;
  }

  .whyItem__description {
    font-size: 2.5vw;
    text-align: left;
  }

  .footer-nav {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .nav-column {
    display: flex;
    flex-direction: row;
    /*gap: 0.75rem;*/
    justify-content: space-between;
    width: 100%;
  }

  /* >>> */
  /* OUR PRODUCTS - START */
  /*.our-product-section {*/
  /*  padding-top: 60.8888888vw;*/
  /*}*/
  .product-card {
    gap: 0;
    margin-left: 19vw;
    margin-right: 19vw;
  }

  .product-card__title-text {
    font-size: 2.7vw;
  }

  .product-card__header > .product-card__title {
    visibility: visible;
    padding: 0.5vw 2vw;
  }

  .product-card__body > .product-card__title {
    display: none;
  }

  .product-card__body {
    padding: 2vw;
  }

  .product-card__description {
    font-size: 2.3vw;
    margin-bottom: 3vw;
  }

  .product-card__linkInner {
    padding: 1vw 1.3vw;
  }

  .learn-more {
    font-size: 2.3vw;
  }

  .product-card__linkArrow {
    width: 4vw;
    height: 1.7vw;
  }

  .product-card_otc {
    margin-bottom: 23.8vw;
  }

  .product-card.product-card_invoicer {
    margin-bottom: 24.5vw;
  }

  .product-card_wallet {
    margin-bottom: -1.5vw;
  }

  .product-card.product-card_bankify {
    margin-bottom: 24.6vw;
  }

  .product-card_winner-pay {
    margin-bottom: 0;
  }

  /* OUR PRODUCTS - END */
  /* <<< */

  /* WHY SECTION - START */

  .why-section {
    padding-top: 19.2vw;
    margin-bottom: 2vw;
  }

  .why-desktop-title-logo {
    width: 13.2vw;
    margin-left: 8px;
    margin-top: 8px;
  }

  .whyItem__title {
    font-size: 2.3vw;
    min-width: 25vw;
  }

  .why-section {
    /*padding-top: 28vw;*/
    margin-bottom: 2vw;
    background: url("../images/front-landing/why-yellow-desktop-decor-new.svg") no-repeat top center;
    background-size: contain;
  }

  .whyItem {
    min-width: 370px;
  }


  /* WHY SECTION - END */


  /* FOOTER - START */
  .brand-title {
    font-size: 13vw;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: start;
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-main,
  .nav-column {
    flex-direction: column;
  }

  .copyright {
    text-align: start;
  }

  .address,
  .copyright {
    font-size: 20px;
  }

  .nav-link {
    font-size: max(1.111vw, 12px);
  }

  .address {
    font-size: max(1.111vw, 12px);
  }

  .copyright {
    font-size: max(1.111vw, 12px);
  }

}
