/* Final CTA Section Styles */

.rand-final-cta {
  background-color: #000628;
  padding: 60px 16px 0;
}


@media (min-width: 992px) {
  .rand-final-cta {
    padding: 0 60px;
  }
}

/* Container */
.rand-final-cta__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

@media (min-width: 992px) {
  .rand-final-cta__container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 174px;
    min-height: 659px;
  }
}

/* Content */
.rand-final-cta__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  order: 1;
}

@media (min-width: 992px) {
  .rand-final-cta__content {
    align-items: flex-start;
    text-align: left;
    order: 2;
    max-width: 573px;
    margin-left: 747px;
  }
}

/* App Icon */
.rand-final-cta__icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .rand-final-cta__icon {
    margin-bottom: 52px;
  }
}

/* Headline */
.rand-final-cta__headline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: normal;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0 0 16px;
}

@media (min-width: 992px) {
  .rand-final-cta__headline {
    font-size: 50px;
    margin-bottom: 24px;
  }
}

/* Description */
.rand-final-cta__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #bec7d5;
  margin: 0;
}

@media (min-width: 992px) {
  .rand-final-cta__description {
    font-size: 20px;
    line-height: normal;
  }
}

/* CTA Button - Desktop only */
.rand-final-cta__button {
  display: none;
}

@media (min-width: 768px) {
  .rand-final-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2c52f5;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    height: 52px;
    padding: 8px 24px;
    border-radius: 999px;
    text-decoration: none;
    margin-top: 52px;
    transition: background-color 0.2s ease;
  }

  .rand-final-cta__button:hover {
    background-color: #1e3ed6;
  }
}

/* Image Container */
.rand-final-cta__image-container {
  width: 100%;
  max-width: 343px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  order: 2;
}

@media (min-width: 992px) {
  .rand-final-cta__image-container {
    order: 1;
    max-width: none;
    width: 573px;
    aspect-ratio: auto;
    height: 100%;
    overflow: visible;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

/* Mockup Image */
.rand-final-cta__mockup {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

@media (min-width: 992px) {
  .rand-final-cta__mockup {
    width: auto;
    height: 100%;
    max-height: 659px;
    position: absolute;
    bottom: 0;
  }
}
