/* ===== Mobile App Showcase Section ===== */
.mobile-app-showcase {
    width: 114rem;
    max-width: 100%;
    margin: 0 auto 6rem;
    padding: 5rem 6rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 50%, #f5f0ff 100%);
    border-radius: 2.4rem;
    border: 0.1rem solid rgba(2, 123, 255, 0.1);
    overflow: visible;
    position: relative;
}

.mobile-app-showcase::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.3rem;
    background: linear-gradient(90deg, #027BFF, #7c3aed, #027BFF);
    background-size: 200% 100%;
    animation: mobileGradSlide 4s linear infinite;
    border-radius: 2.4rem 2.4rem 0 0;
}

@keyframes mobileGradSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.mobile-app-inner {
    display: flex;
    align-items: center;
    gap: 6rem;
}

/* Text side */
.mobile-app-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(2, 123, 255, 0.08);
    border: 0.1rem solid rgba(2, 123, 255, 0.15);
    color: #027BFF;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 1.4rem;
    border-radius: 10rem;
    width: fit-content;
}

.mobile-app-badge i {
    font-size: 1.1rem;
}

.mobile-app-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #101828;
    line-height: 1.3;
}

.mobile-app-desc {
    font-size: 1.5rem;
    color: #475467;
    line-height: 1.65;
    max-width: 48rem;
}

.mobile-app-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mobile-app-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: #344054;
    padding: 0.5rem 0;
    transition: transform 0.2s;
}

.mobile-app-features li:hover {
    transform: translateX(0.4rem);
}

.mobile-app-features li i {
    color: #12B76A;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Store buttons */
.mobile-app-cta {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.mobile-store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #101828;
    color: #fff;
    border-radius: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 0.1rem solid transparent;
}

.mobile-store-btn:hover {
    background: #1e293b;
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.15);
}

.mobile-store-btn i {
    font-size: 2.2rem;
}

.store-small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1;
}

.store-big {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Phone mockup */
.mobile-app-phone {
    flex-shrink: 0;
    position: relative;
}

.phone-mockup {
    width: 26rem;
    height: 52rem;
    background: #fff;
    border-radius: 3.6rem;
    border: 0.3rem solid #e2e8f0;
    box-shadow: 0 2.4rem 6rem rgba(0, 0, 0, 0.12), 0 0 0 0.1rem rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: phoneFloat 5s ease-in-out infinite;
    position: relative;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1rem); }
}

.phone-notch {
    width: 10rem;
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 0.4rem;
    margin: 1rem auto 0;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.phone-status-icons {
    display: flex;
    gap: 0.4rem;
    color: #1e293b;
}

.phone-app-header {
    background: linear-gradient(90deg, #027BFF, #0056D2);
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
}

.phone-app-logo {
    width: 2.4rem;
    height: 2.4rem;
    background: #fff;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: #027BFF;
}

.phone-chat-list {
    flex: 1;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow: hidden;
}

.phone-chat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 0.8rem;
    border-radius: 1rem;
    transition: all 0.3s;
    cursor: default;
}

.phone-chat-item.active {
    background: rgba(2, 123, 255, 0.06);
}

.phone-av {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.phone-chat-detail {
    flex: 1;
    min-width: 0;
}

.phone-chat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-chat-n {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.phone-chat-t {
    font-size: 0.85rem;
    color: #94a3b8;
}

.phone-chat-preview {
    font-size: 0.95rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.2rem;
}

.phone-unread {
    background: #027BFF;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-bottom-nav {
    display: flex;
    border-top: 0.1rem solid #f1f5f9;
    padding: 0.6rem 0.4rem 1.2rem;
    background: #fff;
}

.phone-nav-i {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.phone-nav-i.active {
    color: #027BFF;
}

.phone-nav-i i {
    font-size: 1.3rem;
}

/* Floating notification */
.phone-float-notif {
    position: absolute;
    top: 6rem;
    right: -8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.6rem;
    border-radius: 1.2rem;
    box-shadow: 0 0.8rem 3rem rgba(0, 0, 0, 0.12);
    border: 0.1rem solid rgba(2, 123, 255, 0.1);
    animation: notifBounce 3s ease-in-out infinite;
    z-index: 5;
    white-space: nowrap;
}

@keyframes notifBounce {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    15% { transform: translateY(-0.5rem) scale(1.02); }
    50% { opacity: 1; }
    85% { transform: translateY(0.2rem) scale(0.99); }
}

.notif-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #027BFF, #00c6ff);
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.notif-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.notif-msg {
    font-size: 0.9rem;
    color: #64748b;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .mobile-app-showcase {
        padding: 4rem 3rem;
    }

    .mobile-app-inner {
        gap: 4rem;
    }

    .phone-mockup {
        width: 22rem;
        height: 44rem;
    }

    .phone-float-notif {
        right: -4rem;
    }
}

@media (max-width: 768px) {
    .mobile-app-showcase {
        padding: 3rem 2rem;
        border-radius: 1.6rem;
        margin: 0 1.6rem 4rem;
    }

    .mobile-app-inner {
        flex-direction: column;
        text-align: center;
    }

    .mobile-app-text {
        align-items: center;
    }

    .mobile-app-text h2 {
        font-size: 2.4rem;
    }

    .mobile-app-desc {
        font-size: 1.4rem;
    }

    .mobile-app-features li {
        font-size: 1.3rem;
        text-align: left;
    }

    .mobile-app-cta {
        justify-content: center;
    }

    .phone-mockup {
        width: 24rem;
        height: 48rem;
    }

    .phone-float-notif {
        right: -2rem;
        top: 4rem;
    }
}
