﻿/*=====================================
B2B
======================================*/

.mst-b2b {
    background: #fff;
    overflow: hidden;
}

    .mst-b2b .mst-description {
        color: var(--title);
    }

.mst-device-showcase {
    position: relative;
    min-height: 520px;
}

    .mst-device-showcase img {
        position: absolute;
        border-radius: 18px;
        box-shadow: 0 30px 70px rgba(0,0,0,.18);
        transition: .45s;
    }

.device-laptop {
    width: 100%;
    left: 0;
    top: 30px;
    z-index: 1;
}

.device-tablet {
    width: 42%;
    left: -20px;
    bottom: 10px;
    z-index: 2;
}

.device-phone {
    width: 24%;
    right: -10px;
    bottom: 20px;
    z-index: 3;
}

.mst-device-showcase:hover .device-laptop {
    transform: translateY(-8px);
}

.mst-device-showcase:hover .device-tablet {
    transform: translate(-10px,-10px) rotate(-4deg);
}

.mst-device-showcase:hover .device-phone {
    transform: translate(10px,-15px) rotate(6deg);
}

.mst-b2b-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ececec;
    transition: .30s;
    height: 100%;
}

    .mst-b2b-feature i {
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: #fff3e8;
        color: var(--primary);
        font-size: 22px;
        flex-shrink: 0;
    }

    .mst-b2b-feature span {
        font-weight: 600;
    }

    .mst-b2b-feature:hover {
        transform: translateY(-6px);
        border-color: var(--primary);
        box-shadow: 0 20px 45px rgba(245,130,32,.15);
    }

@media(max-width:991px) {

    /* Bu noktadan itibaren sütunlar zaten alt alta diziliyor (col-lg-6
       991px altında tam genişlik oluyor). Eskiden "güvenli" (üst üste
       binmeyen) düzen sadece 768px altında devreye giriyordu; 769-991px
       arasında laptop görseli position:absolute + sabit 380px yükseklik
       yüzünden container'ın dışına taşıp alttaki başlık yazısının
       üzerine biniyordu. Artık taşma hiçbir ara genişlikte olmuyor. */
    .mst-device-showcase {
        min-height: auto;
        margin-bottom: 40px;
    }

    .device-tablet,
    .device-phone {
        display: none;
    }

    .device-laptop {
        position: relative;
        width: 100%;
        top: 0;
    }
}

.b2b-app-download {
    margin-top: 25px;
}

    .b2b-app-download h4 {
        margin-bottom: 8px;
        font-weight: 700;
    }

    .b2b-app-download p {
        margin-bottom: 15px;
        font-size: 14px;
        opacity: .8;
    }

.b2b-app-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #111;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s ease;
}

    .app-store-link:hover {
        color: #fff;
        transform: translateY(-2px);
        text-decoration: none;
    }

.app-store-icon {
    font-size: 25px;
    line-height: 1;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .app-store-text small {
        font-size: 10px;
        opacity: .8;
    }

    .app-store-text strong {
        font-size: 16px;
        font-weight: 600;
    }

@media (max-width: 576px) {

    .b2b-app-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .app-store-link {
        width: 190px;
    }
}


.mst-app-section {
    padding: 70px 0;
}

.mst-app-box {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 55px 60px;
    background: #171717;
    color: #fff;
}

.mst-app-content {
    position: relative;
    z-index: 2;
}

.mst-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 30px;
    background: rgba(255, 193, 7, .12);
    color: #ffc107;
    font-size: 13px;
    font-weight: 600;
}

.mst-app-content h2 {
    margin: 18px 0 15px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.1;
    font-weight: 800;
}

    .mst-app-content h2 span {
        display: block;
        color: #ffc107;
    }

.mst-app-content p {
    max-width: 600px;
    margin-bottom: 25px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

.mst-app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mst-store-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 185px;
    padding: 11px 17px;
    border-radius: 10px;
    background: #fff;
    color: #111;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .mst-store-button:hover {
        color: #111;
        text-decoration: none;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,.25);
    }

    .mst-store-button > i {
        font-size: 28px;
        line-height: 1;
    }

    .mst-store-button span {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
    }

    .mst-store-button small {
        font-size: 10px;
        color: #666;
    }

    .mst-store-button strong {
        font-size: 17px;
        font-weight: 700;
    }

.mst-app-phone {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 330px;
}

    .mst-app-phone img {
        max-height: 390px;
        max-width: 240px;
        object-fit: contain;
        filter: drop-shadow(0 20px 30px rgba(0,0,0,.45));
        transform: translateY(40px);
    }

    .mst-app-content h2 {
    color: #fff;
}

.mst-app-content h2 span {
    color: #ffc107;
}

@media (max-width: 767.98px) {

    .mst-app-section {
        padding: 25px 0;
    }

    .mst-app-box {
        padding: 32px 20px;
        border-radius: 18px;
    }

    .mst-app-content {
        text-align: center;
    }

        .mst-app-content h2 {
            color: #fff;
            font-size: 29px;
            line-height: 1.15;
            margin-top: 18px;
        }

            .mst-app-content h2 span {
                display: block;
                color: #ffc107;
                margin-top: 4px;
            }

        .mst-app-content p {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 22px;
        }

    .mst-app-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .mst-store-button {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    /* Mobilde telefon görselini gizle */
    .mst-app-phone {
        display: none;
    }
}