/* Banner container */
.mobile_card_banner{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 345px;
  position: relative;
  overflow: hidden;
}

/* Two-column wrapper */
.mobile_card_content_wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;        /* text left, phone right */
  gap: 24px;                              /* breathing room between columns */
  padding-left: 50px;                     /* requested left padding */
  padding-right: 40px;
  position: relative;
  z-index: 2;
}

/* LEFT */
.mobile_card_text_content {
  flex: 1 1 50%;
  max-width: 560px;
  /* removed extra padding-left to avoid double 50px */
}

.mobile_card_banner_title {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.mobile_card_banner_description {
  font-size: clamp(0.95rem, 1.2vw + .6rem, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.mobile_card_download_buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.mobile_card_store_button {
  height: 54px;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.mobile_card_store_button:hover { transform: scale(1.05); }

.mobile_card_qr_code {
  width: 60px;
  height: 60px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
}

/* RIGHT */
.mobile_card_mobile_showcase {
  position: relative;
  width: 320px;         /* overall block width (desktop) */
  height: 360px;        /* overall block height (desktop) */
  flex: 0 0 320px;      /* fix the column width on desktop */
}

/* Wallpaper: smaller and behind */
.mobile_card_mobile_wallpaper {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 200px;
  height: 200px;
  z-index: 1;
  opacity: 0.9;
  object-fit: cover;
}

/* Screen: taller and in front */
.mobile_card_mobile_screen {
  position: absolute;
  right: 110px;         /* pulls screen left so wallpaper peeks on the right */
  bottom: -20px;
  width: 260px;
  height: 340px;
  z-index: 2;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  object-fit: cover;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 992px) {
  .mobile_card_banner { height: 420px; }
  .mobile_card_content_wrapper { padding-left: 36px; padding-right: 24px; }
  .mobile_card_mobile_showcase { width: 300px; height: 330px; flex-basis: 300px; }
  .mobile_card_mobile_screen { width: 240px; height: 310px; right: 90px; }
  .mobile_card_mobile_wallpaper { width: 180px; height: 180px; bottom: -18px; }
}

/* Mobile */
@media (max-width: 768px) {
  .mobile_card_banner { height: auto; padding: 32px 0; }

  .mobile_card_content_wrapper {
    flex-direction: column;     /* stack */
    align-items: center;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .mobile_card_text_content { max-width: 640px; }

  .mobile_card_download_buttons {
    justify-content: center;
    gap: 10px 14px;             /* rows/columns */
  }

  .mobile_card_store_button { height: 48px; }
  .mobile_card_qr_code { width: 56px; height: 56px; }

  /* Phone showcase centers and scales down */
  .mobile_card_mobile_showcase {
    width: 260px;
    height: 300px;
    flex: 0 0 auto;
    margin-top: 8px;
  }

  /* Center the stack: wallpaper behind, screen centered */
  .mobile_card_mobile_screen,
  .mobile_card_mobile_wallpaper {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .mobile_card_mobile_screen {
    width: 220px; height: 300px;
    bottom: 0;
  }

  .mobile_card_mobile_wallpaper {
    width: 160px; height: 160px;
    bottom: 14px;
    z-index: 1;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .mobile_card_banner_title { font-size: clamp(1.35rem, 4.5vw + .6rem, 1.75rem); }
  .mobile_card_store_button { height: 44px; }
  .mobile_card_qr_code { width: 52px; height: 52px; }

  .mobile_card_mobile_showcase { width: 220px; height: 260px; }
  .mobile_card_mobile_screen { width: 200px; height: 260px; }
  .mobile_card_mobile_wallpaper { width: 140px; height: 140px; bottom: 10px; }
}

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .mobile_card_store_button { transition: none; }
}
