/* Heimdall Studio v0.18.4
   Align future-card typography with OdoBuddy and keep the OdoBuddy
   logo visibly above the phone mockup. No generated images. */

/* --- OdoBuddy visual side ------------------------------------------------ */

/* Older styles position the phone very aggressively. Keep the visual
   column as the positioning context and force the logo in front. */
.software-tile-odobuddy .software-tile-visual {
    position: relative !important;
    overflow: hidden !important;
}

/* Put the existing OdoBuddy logo clearly above the phone. */
.software-tile-odobuddy .software-tile-visual-logo {
    position: absolute !important;
    top: clamp(2.5rem, 5vw, 4.5rem) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    z-index: 20 !important;
    pointer-events: none !important;
}

.software-tile-odobuddy .software-tile-visual-logo img {
    display: block !important;
    width: clamp(105px, 10vw, 145px) !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* Keep the phone below the logo in the stacking order. */
.software-tile-odobuddy .catalog-device-shell {
    position: relative !important;
    z-index: 2 !important;
}

/* Keep the OdoBuddy copy at the level that already looked good. */
.software-tile-odobuddy .software-tile-copy {
    transform: translateY(-24px) !important;
}

/* --- Future software card ------------------------------------------------ */

/* Match the OdoBuddy copy treatment instead of using a centered poster style. */
.software-tile-future-minimal .software-tile-future-inner {
    width: 100% !important;
    min-height: 100% !important;
    padding: clamp(2.5rem, 4vw, 3.75rem) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    text-align: left !important;
    transform: translateY(-24px) !important;
}

/* Give both card headings the same visual scale. */
.software-tile-odobuddy .software-tile-copy h3,
.software-tile-future-minimal h3 {
    font-size: clamp(2.6rem, 4vw, 4rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
}

.software-tile-future-minimal h3 {
    width: 100% !important;
    max-width: 9.5ch !important;
    margin: 0 0 1.25rem !important;
    text-align: left !important;
    text-wrap: balance;
}

/* Match the OdoBuddy descriptive copy: left aligned, same readable rhythm. */
.software-tile-future-minimal p:last-child {
    width: 100% !important;
    max-width: 25ch !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.65 !important;
    color: inherit !important;
}

/* On stacked layouts, remove the lifts and keep the logo in normal flow
   above the phone so the mobile layout stays predictable. */
@media (max-width: 980px) {
    .software-tile-odobuddy .software-tile-copy,
    .software-tile-future-minimal .software-tile-future-inner {
        transform: none !important;
    }

    .software-tile-odobuddy .software-tile-visual {
        padding-top: 2rem !important;
    }

    .software-tile-odobuddy .software-tile-visual-logo {
        position: static !important;
        margin: 0 0 1.5rem !important;
        pointer-events: auto !important;
    }
}
