/* =================================
   FINAL CTA SECTION
================================= */

.cta-section {
  width: 100%;
  padding: 100px 6.5%;
  background: #ffffff;
  overflow: hidden;
}

.cta-container {
  width: 100%;
  max-width: 1250px;
  min-height: 512px;
  margin: 0 auto;
overflow: visible;
  position: relative;

  display: flex;
  align-items: center;

  background: linear-gradient(
    110deg,
    #4168f5 0%,
    #1745c1 55%,
    #06318f 100%
  );

  border-radius: 64px;
}

/* =================================
   ORANGE DECORATIVE BAR
================================= */

.cta-orange-bar {
  position: absolute;
  top: -8px;
  left: 52%;
  transform: translateX(-50%);

  width: 36%;
  height: 8px;

  background: #f58232;
  border-radius: 10px 10px 0 0;
}


/* =================================
   PHONE IMAGE
================================= */

.cta-phone {
    position: absolute;
    left: -21px;
    bottom: 6px;

    width: 38%;
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.cta-phone img {
    width: 100%;
    height: 600px;

    object-fit: contain;
    object-position: center bottom;

    display: block;
    transform: none;
}

/* =================================
   CTA CONTENT
================================= */

.cta-content {
  position: relative;
  z-index: 3;

  width: 62%;
  margin-left: 38%;

  padding: 60px 40px 60px 20px;
}

.cta-content h2 {
  font-size: 48px;
  line-height: 1.16;
  font-weight: 700;

  color: #ffffff;

  margin: 0 0 18px;
}

.cta-content p {
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;

  color: #ffffff;

  margin: 0 0 30px;
}


/* =================================
   APP STORE BUTTONS
================================= */

.cta-store-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-store-link {
  display: inline-flex;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.cta-store-link:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 6px 0 #ED8E2F);
}

.cta-store-link img {
  height: 48px;
  width: auto;
  display: block;
}


/* =================================
   QR CODE
================================= */

.cta-qr {
  position: absolute;
  right: 9%;
  bottom: 12%;

  width: 105px;
  height: 105px;

  z-index: 3;
}

.cta-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* =================================
   SCROLL REVEAL ANIMATION
================================= */

.cta-reveal {
  opacity: 0;
  transform: translateY(35px);

  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* =================================
   TABLET
================================= */

@media (max-width: 992px) {

  .cta-section {
    padding: 80px 5%;
  }

  .cta-container {
    min-height: 440px;
    border-radius: 45px;
  }

  .cta-content {
    width: 65%;
    margin-left: 35%;
    padding: 50px 30px;
  }

  .cta-content h2 {
    font-size: 36px;
  }

  .cta-content p {
    font-size: 13px;
  }

  .cta-phone {
    width: 35%;
  }

  .cta-qr {
    width: 75px;
    height: 75px;
    right: 6%;
    bottom: 8%;
  }

}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

  .cta-section {
    padding: 55px 5%;
  }

  .cta-container {
    min-height: auto;
    padding: 35px 24px 30px;

    border-radius: 32px;

    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-orange-bar {
    width: 40%;
  }

  .cta-phone {
    position: relative;

    width: 85%;
    height: 270px;

    left: auto;
    bottom: auto;

    margin-bottom: 20px;
  }

  .cta-phone img {
    width: 100%;
    height: 115%;

    transform: translateY(-10px);
  }

  .cta-content {
    width: 100%;
    margin: 0;
    padding: 0;

    text-align: center;
  }

  .cta-content h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .cta-content p {
    font-size: 13px;
    line-height: 1.7;
  }

  .cta-store-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cta-store-link img {
    height: 42px;
  }

  .cta-qr {
    position: relative;

    right: auto;
    bottom: auto;

    width: 75px;
    height: 75px;

    margin-top: 25px;
  }

}