/* Hero *************************************************************/

.HERO {
  height: 100vh;
  max-height: 1000px;
  min-height: 800px;
  display: flex;
  align-items: center;
  background: #ffffff;
  position: relative;
  padding: 120px 0 0 0;
  overflow: hidden;
}

.HERO .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.HERO .container .hero-left {
  width: 38%;
  height: 100%;
  padding-top: 7%;
}

.hero-left h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.2;
}

.HERO .container .hero-right {
  width: 60%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.HERO .container .hero-right .img-wrapper {
  width: 115%;
  margin-right: -15%;
  margin-top: -15%;
  flex-shrink: 0;
  position: relative;
  display: block;
  z-index: 0;
}

.HERO .container .hero-right .img-wrapper .main-img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 10;
}

.HERO .container .hero-right .img-wrapper .decor-img {
  position: absolute;
  z-index: 1;
  width: 90%;
  height: auto;
}

.blur-top {
  top: -25%;
  left: -20%;
}

.blur-bottom {
  bottom: -30%;
  right: -10%;
}

.HERO .container .hero-right .img-wrapper .main-motion {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 550px;
  display: block;
  border: none;
  background: transparent;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.08));
  transition: opacity 0.6s ease-in-out;
  opacity: 1;
}

.HERO .container .hero-right .img-wrapper .main-motion.fade-out {
  opacity: 0;
}

@media (max-width: 768px) {
  .HERO .container .hero-right .img-wrapper .main-motion {
    height: 520px;
  }
}


/* Hero 📱 **************************/

@media (max-width: 768px) {
  .HERO {
    justify-content: center;
    padding: 100px 10px 20px 10px;
    height: auto;
    min-height: auto;
  }

  .HERO .container {
    flex-direction: column;
  }

  .HERO .container .hero-left {
    width: 100%;
    height: auto;
    padding-top: 0;
  }

  .HERO .container .hero-right {
    width: 100%;
    height: auto;
    margin-top: 2rem;
    justify-content: center;
  }

  .HERO .container .hero-right .img-wrapper {
    transform: none;
    width: 110%;
    height: auto;
    margin-right: 0;
    margin-top: 0;
  }

  .HERO .container .hero-right .img-wrapper .main-motion {
    height: 260px;
  }

  .blur-top {
  top: -15%;
  left: -20%;
}

.blur-bottom {
  bottom: -15%;
  right: -10%;
}
}



/* Clients *********************************************************/
.CLIENTS {
  padding: 3rem 0;
}

.CLIENTS .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.CLIENTS .container p {
  text-align: center;
  font-size: 18px;
  color: #A5A5A7;
  margin: 0;
}

/* Statistics *********************************************************/
.STATISTICS {
  padding: 5rem 1rem;
}

.STATISTICS .container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.STATISTICS .container .stat-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  width: calc((100% - 120px) / 3);
  height: 264px;
  padding: 0 30px;
  box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.STATISTICS .container .stat-card .image {
  width: 80px;
  height: 80px;
}

.STATISTICS .container .stat-card .image img {
  transform: none;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.STATISTICS .container .stat-card p {
  text-align: center;
  margin-top: 1rem;
  font-size: 20px;
  line-height: 26px;
}


/* Statistics 📱 **************************/

@media (max-width: 900px) {
  .STATISTICS .container .stat-card {
    width: 100%;
  }

  .STATISTICS .container {
    gap: 30px;
  }
}


/* Features *********************************************************/

.FEATURES {
  padding: 3rem 0;
}

.FEATURES .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.FEATURES .container h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 2rem;
}

.FEATURES .container li {
  font-weight: 500;
}

.features-container {
  border: none;
}

.features-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #F4F4F5;
  padding: 5px;
  gap: 5px;
  border-radius: 100px;
  width: fit-content;
  margin: 0 auto 40px auto;
  border-bottom: none;
}

.tab-btn {
  height: 40px;
  padding: 0 20px;
  width: auto;
  font-size: 14px;
  font-weight: 500;
  color: #717174;
  background: transparent;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn:hover {
  background-color: #f0f0f0;
  color: #333;
}

.tab-btn.active {
  background-color: #ffffff;
  color: #444447;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 1;
}

.tab-btn:hover:not(.active) {
  background-color: #E9E9E9;
}

.feature-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.feature-panel.active {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  justify-content: space-between;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.feature-text {
  width: 35%;
}

.feature-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.feature-image {
  width: 60%;
}

.feature-image img {
  width: 100%;
  height: auto;
}

/* Features 📱 **************************/

@media (max-width: 768px) {
  .feature-panel.active {
    flex-direction: column;
  }

  .feature-text,
  .feature-image {
    width: 100%;
  }

  .feature-image {
    order: -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 1000px) {

  .tab-btn.mobile-hidden {
    display: none !important;
  }

  .features-nav {
    width: 95%;
    justify-content: space-between;
    padding: 5px;
  }

  .tab-btn {
    padding: 0 10px;
    font-size: 13px;
    flex: 1;
  }
}


/* Ecosystem *********************************************************/

.ECOSYSTEM {
  padding: 3rem 0;
}

.ECOSYSTEM .container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
}

.ECOSYSTEM .container h2 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 2rem;
}

.ECOSYSTEM .container .grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 30px;
}

.ECOSYSTEM .container .grid .card {
  background-color: #f9f9f9;
  height: 250px;
  width: 100%;
  border-radius: 25px;
  padding: 1rem;
  box-sizing: border-box;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.ECOSYSTEM .container .grid .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.ECOSYSTEM .container .grid .card:hover {
  background-color: #eaeaea;
  color: white;
  cursor: pointer;
}

.ECOSYSTEM .container .grid .card:hover::before {
  opacity: 1;
}

.ECOSYSTEM .container .grid .card img {
  position: relative;
  z-index: 2;
  max-width: 90%;
  transform: translateY(25px);
  transition: transform 0.4s ease;
}

.ECOSYSTEM .container .grid .card:hover img {
  transform: translateY(10px);
  filter: brightness(0) invert(1);
}

.ECOSYSTEM .container .grid .card p {
  text-align: center;
  position: relative;
  z-index: 2;
  font-weight: 500;
  margin-top: 10px;
  transform: translateY(20px);
  opacity: 0;
  color: white;
  transition: opacity 0.4s ease;
}

.ECOSYSTEM .container .grid .card:hover p {
  opacity: 1;
}

/* Ecosystem 📱 **************************/

@media (max-width: 900px) {
  .ECOSYSTEM .container .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ECOSYSTEM .container .grid {
    grid-template-columns: 1fr;
  }

  .ECOSYSTEM .container .grid .card {
    height: 250px;
    padding: 2rem 1rem;
  }

  .ECOSYSTEM .container .grid .card img {
  transform: translateY(-10px);
}

  .ECOSYSTEM .container .grid .card p {
    opacity: 1;
    color:rgb(161, 161, 161);
  }

}

#touchysale::before {
  background-image: url('../img/ecosystem/bg-touchysale.webp');
}

#yes::before {
  background-image: url('../img/ecosystem/bg-yes.webp');
}

#ftcheq::before {
  background-image: url('../img/ecosystem/bg-ftcheq.webp');
}

#gollmann::before {
  background-image: url('../img/ecosystem/bg-gollmann.webp');
}

#susventas::before {
  background-image: url('../img/ecosystem/bg-susventas.webp');
}

#appsmobile::before {
  background-image: url('../img/ecosystem/bg-appsmobile.webp');
}

#farmatronic::before {
  background-image: url('../img/ecosystem/bg-farmatronic.webp');
}

#zturnos::before {
  background-image: url('../img/ecosystem/bg-zturnos.webp');
}

/* Technologies *********************************************************/

.TECHNOLOGIES {
  background: #ffffff;
  padding: 3rem 0;
}

.TECHNOLOGIES .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.TECHNOLOGIES .container p {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.TECHNOLOGIES .container img {
  width: 100%;
  height: auto;
}


/* Highlights *********************************************************/

.HIGHLIGHTS {
  padding: 3rem 0;
}

.HIGHLIGHTS .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.HIGHLIGHTS .container h2 {
  font-size: 30px;
  text-align: center;
  margin: 2rem auto;
  max-width: 600px;
}

.bento-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
}

.bento-card {
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bento-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 500;
  margin: 0;
  max-width: 60%;
  position: relative;
  z-index: 2;
}

.card-security,
.card-strategy {
  background-color: #F5F5F5;
  min-height: 250px;
}

.card-security:hover,
.card-strategy:hover {
  background-color: #ededed;
}

.card-security .bento-img,
.card-strategy .bento-img {
  height: 140px;
  width: auto;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.card-payments {
  background: linear-gradient(135deg, #0DDBE4 0%, #08B1EF 100%);
  min-height: 530px;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.card-payments:hover {
  background: linear-gradient(135deg, #0dd2dc 0%, #07a9e4 100%);
}

.card-payments h3 {
  color: #ffffff;
}

.card-payments .bento-img {
  height: 220px;
  width: auto;
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 1;
}

.card-mobile {
  width: 100%;
  height: 350px;
  margin-top: 30px;
  background:
    linear-gradient(281.5deg, rgba(0, 0, 0, 0) 59.27%, #000000d2 100%),
    url('../img/highlights/mobile.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  opacity:0.96;
}

.card-mobile:hover {
  opacity:1;
}

.card-mobile h3 {
  max-width: 40%;
}

/* Highlights 📱 **************************/

@media (max-width: 1199px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .card-payments {
    grid-column: auto;
    grid-row: auto;
    min-height: 350px;
  }
}

@media (max-width: 600px) {
  .bento-card h3 {
    max-width: 100%;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
  }

  .card-security .bento-img,
  .card-strategy .bento-img,
  .card-payments .bento-img {
    position: static;
    transform: none;
    align-self: flex-end;
    margin-top: auto;
  }

  .card-security .bento-img,
  .card-strategy .bento-img {
    height: 100px;
  }

  .card-payments .bento-img {
    height: 160px;
  }

  .card-mobile {
    height: 320px;
    background:
      linear-gradient(281.5deg, rgba(0, 0, 0, 0) 30%, #000000 100%),
      url('../img/highlights/mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: calc(25% - 10px) center;
    opacity:1;
  }

  .card-mobile h3 {
    max-width: 70%;
    font-size: 20px;
  }

}

/* Testimonials *********************************************************/

.TESTIMONIALS {
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  width: 930px;
  height: 300px;
  background: #ffffff;
  border: 1px solid #E5E5E5;
  border-radius: 30px;
  box-shadow: 0px 10px 45px 0px rgba(0, 0, 0, 0.07);
  display: flex;
  overflow: hidden;
  position: absolute;
  top: 50%;
  margin-top: -150px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  z-index: 0;
  transform: translateX(-50%) scale(0.5);
  left: 50%;
  pointer-events: none;
}

.card-image {
  flex: 0 0 250px;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  flex: 1;
  padding: 40px 30px 30px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content .quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  line-height: 34px;
  font-weight: 400;
  color: #333;
  margin-bottom: 20px;
}

.card-content .signature {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #000;
}

.card-content .signature .role {
  font-weight: 400;
  color: #666;
}

.card-nav {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #E5E5E5;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
}

.nav-arrow .icon {
  color: #C9C9C9;
}

.testimonial-card.is-active {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
}

.testimonial-card.is-prev {
  left: calc(50% - 960px);
  transform: translateX(-50%);
  opacity: 0.5;
  z-index: 5;
  cursor: pointer;
}

.testimonial-card.is-next {
  left: calc(50% + 960px);
  transform: translateX(-50%);
  opacity: 0.5;
  z-index: 5;
  cursor: pointer;
}

.testimonial-card.is-hidden {
  opacity: 0;
  z-index: 0;
  transform: translateX(-50%) scale(0.9);
  pointer-events: none;
}

/* Testimonials 📱 **************************/

@media (max-width: 1100px) {
  .testimonial-card {
    width: 90%;
    max-width: 700px;
  }

  .testimonial-card.is-prev {
    left: 5%;
  }

  .testimonial-card.is-next {
    left: 95%;
  }
}

@media (max-width: 768px) {
  .testimonials-container {
    height: 750px;
    align-items: flex-start;
  }

  .testimonial-card {
    width: 90%;
    height: auto;
    flex-direction: column;
    margin-top: 0;
    top: 20px;
  }

  .card-image {
    flex: 0 0 200px;
    width: 100%;
  }

  .card-content {
    padding: 20px;
  }

  .card-content .quote {
    font-size: 18px;
    line-height: 28px;
  }

  .card-nav {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: flex-end;
  }

  .testimonial-card.is-prev,
  .testimonial-card.is-next {
    opacity: 0;
    pointer-events: none;
  }
}

/* Contact *********************************************************/

.CONTACT {
  padding: 5rem 0 5rem 0;
}

.CONTACT .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-rectangle {
  background-image:
    linear-gradient(rgba(0, 173, 238, 0.1), rgba(0, 173, 238, 0.1)),
    url('../img/contact-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  border-radius: 30px;
  min-height: 400px;
  padding: 40px 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.contact-rectangle h2 {
  max-width: 600px;
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
}

.contact-rectangle p {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  opacity: 0.9;
}

/* Contact 📱 **************************/

@media (max-width: 768px) {
  .contact-rectangle {
    border-radius: 20px;
    padding: 40px 20px;
    min-height: auto;
  }

  .contact-content {
    gap: 20px;
  }

  .contact-rectangle h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .contact-rectangle p {
    font-size: 16px;
    line-height: 24px;
    max-width: 90%;
  }

}