.mobile-app-download-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    font-family: 'Public Sans', sans-serif;
}

.mobile-app-download-modal.is-open {
    display: block;
}

.mobile-app-download-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 27, 48, 0.84);
}

.mobile-app-download-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    padding: 12px 20px 24px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
    animation: mobileAppDownloadSlideUp 0.3s ease-out;
}

@keyframes mobileAppDownloadSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-app-download-handle {
    width: 40px;
    height: 4px;
    background: #cfd2d8;
    border-radius: 8px;
    margin: 0 auto 16px;
    cursor: grab;
    touch-action: none;
    position: relative;
    flex-shrink: 0;
}

.mobile-app-download-handle::before {
    content: '';
    position: absolute;
    inset: -16px -40px;
}

.mobile-app-download-handle:active {
    cursor: grabbing;
    background: #888d98;
}

.mobile-app-download-hero {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.mobile-app-download-phone {
    flex: 0 0 110px;
    max-width: 110px;
}

.mobile-app-download-phone img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
}

.mobile-app-download-hero-content {
    flex: 1;
    min-width: 0;
}

.mobile-app-download-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F6D5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mobile-app-download-badge img {
    width: 20px;
    height: 20px;
}

.mobile-app-download-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: #101b30;
    margin: 0 0 10px;
}

.mobile-app-download-title-accent {
    color: #d42b65;
}

.mobile-app-download-desc {
    font-size: 12px;
    font-weight: 400;
    line-height: 19.5px;
    color: #4A5565;
    margin: 0;
}

.mobile-app-download-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-app-download-features li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-app-download-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fdf2f8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-app-download-feature-icon img {
    width: 16px;
    height: 16px;
}

.mobile-app-download-feature-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
    color: #101b30;
    margin: 0;
}

.mobile-app-download-feature-sub {
    font-size: 13px;
    line-height: 20px;
    color: #707683;
    margin: 0;
}

.mobile-app-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.mobile-app-download-store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #283245;
    border: 1px solid #404959;
    border-radius: 16px;
    height: 56px;
    text-decoration: none;
    color: #ffffff;
    padding: 0 16px;
}

.mobile-app-download-store-btn:hover {
    color: #ffffff;
    text-decoration: none;
}

.mobile-app-download-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.mobile-app-download-store-small {
    font-size: 9px;
    font-weight: 500;
    margin-bottom: 2px;
}

.mobile-app-download-store-big {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.47px;
}

.mobile-app-download-continue {
    background: #ffffff;
    border: none;
    color: #d42b65;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
}

.mobile-app-download-continue:active {
    background: #fdf2f8;
}

.mobile-app-download-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 0.625px solid #e7e8ea;
    font-size: 12px;
    color: #888d98;
}

.mobile-app-download-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mobile-app-download-footer svg {
    flex-shrink: 0;
}

.mobile-app-download-dot {
    color: #888d98;
}

@media (min-width: 769px) {
    .mobile-app-download-modal {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .mobile-app-download-sheet {
        padding: 12px 16px 24px;
    }
    .mobile-app-download-phone {
        flex: 0 0 110px;
        max-width: 110px;
    }
}
