.mobile-app-page {
    --app-orange: #ee5622;
    --app-ink: #172033;
    --app-muted: #5f6b80;
    --app-surface: #f3f4f6;
}

.mobile-app-page .crm-hero-bg {
    background: radial-gradient(ellipse at 80% 60%, #573023 0, transparent 52%), #181e2a;
}

.mobile-app-page .crm-hero .section-title {
    font-size: clamp(44px, 5.2vw, 76px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.mobile-app-page .crm-hero .section-title span {
    color: #ff9769;
}

.mobile-app-page .crm-hero-art {
    max-width: 720px;
    transform: none;
}

.mobile-app-page .crm-hero-tags {
    gap: 8px;
}

.mobile-app-page .crm-hero-tags span {
    font-weight: 500;
}

.mobile-app-page .crm-outcomes {
    margin-top: 0;
    background: var(--app-surface);
}

.mobile-app-page .crm-outcomes .section-container {
    padding-top: 32px;
    padding-bottom: 32px;
}

.mobile-app-page .crm-outcome {
    height: 100%;
}

.mobile-app-screens {
    background: #fff;
    scroll-margin-top: 100px;
}

.mobile-app-screens-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 36px;
}

.mobile-app-screens-heading .section-title {
    max-width: 600px;
    margin-bottom: 0;
}

.mobile-app-screens-heading > p {
    max-width: 350px;
    margin: 0;
}

.mobile-app-screen-rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #ee5622 #f3f4f6;
    padding: 4px 4px 24px;
}

.mobile-app-screen {
    flex: 0 0 240px;
    min-width: 0;
    scroll-snap-align: start;
}

.mobile-app-screen-link {
    position: relative;
    display: block;
    padding: 18px 12px;
    border-radius: 24px;
    background: linear-gradient(145deg, #f4f5f7, #ffeadf);
    transition: transform 0.2s ease;
}

.mobile-app-screen-link:hover {
    transform: translateY(-4px);
}

.mobile-app-screen-link:focus-visible,
.mobile-app-screen-rail:focus-visible,
.mobile-app-screen-close:focus-visible {
    outline: 3px solid #ee5622;
    outline-offset: 4px;
}

.mobile-app-screen img {
    display: block;
    width: 100%;
    height: auto;
}

.mobile-app-screen-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: var(--app-ink);
    box-shadow: 0 2px 12px #17203314;
}

.mobile-app-screen h3 {
    margin: 20px 0 8px;
    color: var(--app-ink);
    font-size: 19px;
    line-height: 1.3;
}

.mobile-app-screen p,
.mobile-app-page .mobile-app-gallery-note {
    font-size: 14px;
    line-height: 1.6;
}

.mobile-app-page .mobile-app-gallery-note {
    margin-top: 18px;
    margin-bottom: 0;
    color: var(--app-muted);
}

.mobile-app-page .crm-product-art,
.mobile-app-page .section.bg-none .crm-product-art {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 0;
    border-radius: 32px;
    background: radial-gradient(ellipse at 35% 35%, #ffded0, transparent 65%), #edeef1;
    box-shadow: none;
}

.mobile-app-page .crm-product-art img {
    width: auto;
    max-width: 100%;
    height: 540px;
    object-fit: contain;
}

.mobile-app-page .mobile-app-showcase-link {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.mobile-app-page .crm-showcase .section-title {
    max-width: 540px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.15;
}

.mobile-app-screen-dialog {
    width: min(94vw, 580px);
    max-height: 94dvh;
    padding: 16px;
    border: 0;
    border-radius: 24px;
    background: #f3f4f6;
    color: #172033;
    overflow-y: auto;
}

.mobile-app-screen-dialog::backdrop {
    background: #111722c9;
    backdrop-filter: blur(5px);
}

.mobile-app-screen-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.mobile-app-screen-dialog-header h2 {
    margin: 0;
    font-size: 18px;
}

.mobile-app-screen-close {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    font-size: 20px;
    cursor: pointer;
}

.mobile-app-screen-preview {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(94dvh - 104px);
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .mobile-app-page .crm-hero-art {
        max-width: 620px;
        margin: 0 auto;
    }

    .mobile-app-screens-heading {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-app-screens-heading > p {
        max-width: 600px;
    }
}

@media (max-width: 575px) {
    .mobile-app-page .section-container {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .mobile-app-page .crm-hero .section-title {
        font-size: clamp(38px, 10vw, 44px);
        letter-spacing: -1px;
    }

    .mobile-app-page .crm-hero-row {
        padding-top: 38px;
        padding-bottom: 52px;
    }

    .mobile-app-page .app-store-badges,
    .mobile-app-page .app-store-badges.is-large {
        display: flex;
        gap: 10px;
    }

    .mobile-app-page .app-store-badges img,
    .mobile-app-page .app-store-badges.is-large img {
        height: 40px;
    }

    .mobile-app-screen {
        flex-basis: 220px;
    }

    .mobile-app-screen-rail {
        gap: 16px;
    }

    .mobile-app-page .crm-product-art,
    .mobile-app-page .section.bg-none .crm-product-art {
        padding: 24px;
        border-radius: 24px;
    }

    .mobile-app-page .crm-product-art img {
        height: 440px;
    }

    .mobile-app-page .mobile-app-download-panel {
        padding: 24px;
        border-radius: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-app-screen-link {
        transition: none;
    }
}
