/* Uzman ürün kartları — mockup üzerinde etkileşimli dock panel */

.mp-ds-expert-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.mp-ds-expert-products__card {
    position: relative;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 52px rgba(6, 40, 36, 0.18);
    outline: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mp-ds-expert-products__card:hover,
.mp-ds-expert-products__card:focus-within,
.mp-ds-expert-products__card.is-active {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(6, 40, 36, 0.26);
}

/* Görsel sahne */
.mp-ds-expert-products__scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.15rem 0.85rem 6.5rem;
    transition: transform 0.35s ease;
}

.mp-ds-expert-products__card--platform .mp-ds-expert-products__scene {
    background: linear-gradient(165deg, #e8f8f4 0%, #d4f0ea 42%, #f4fbf9 100%);
}

.mp-ds-expert-products__card--pen .mp-ds-expert-products__scene {
    background: linear-gradient(165deg, #f5efe8 0%, #ebe3d8 42%, #faf8f5 100%);
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__scene,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__scene,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__scene {
    transform: scale(1.02);
}

.mp-ds-expert-products__mockup {
    width: 100%;
    max-width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__mockup,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__mockup,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__mockup {
    transform: translateY(-6px);
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.12));
}

/* Dock — görselin üstünde yüzen bar */
.mp-ds-expert-products__dock {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 4;
    padding: 0.7rem 3.25rem 0.7rem 0.75rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__dock,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__dock,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__dock {
    padding: 1rem 3.5rem 1rem 0.95rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.mp-ds-expert-products__dock-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.mp-ds-expert-products__dock-bar--link {
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.mp-ds-expert-products__dock-bar--link:hover {
    background: rgba(15, 107, 95, 0.06);
}

.mp-ds-expert-products__card-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mp-ds-expert-products__card-title-link:hover {
    color: #0f6b5f;
}

.mp-ds-expert-products__dock-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ecfdf8;
    color: #0f6b5f;
    font-size: 0.72rem;
}

.mp-ds-expert-products__dock-teaser {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    color: #3f4254;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-ds-expert-products__dock-badge {
    flex: 0 0 auto;
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    background: #0f6b5f;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mp-ds-expert-products__dock-badge--new {
    background: #3b82f6;
}

/* Genişleyen içerik */
.mp-ds-expert-products__dock-expand {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.42s ease, opacity 0.32s ease, margin 0.32s ease;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__dock-expand,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__dock-expand,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__dock-expand {
    max-height: 320px;
    opacity: 1;
    margin-top: 0.75rem;
}

.mp-ds-expert-products__card-title {
    margin: 0 0 0.5rem;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #181c32;
}

.mp-ds-expert-products__card-text {
    margin: 0 0 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #5e6278;
}

.mp-ds-expert-products__highlight {
    display: block;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
    background: transparent;
    opacity: 0.55;
    transform: translateY(4px);
    transition: background 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__highlight--1,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__highlight--1,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlight--1 {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.04) 100%);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__highlight--2,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__highlight--2,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlight--2 {
    background: linear-gradient(90deg, rgba(15, 107, 95, 0.14) 0%, rgba(15, 107, 95, 0.03) 100%);
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.mp-ds-expert-products__highlights {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease 0.12s, transform 0.3s ease 0.12s;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__highlights,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__highlights,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlights {
    opacity: 1;
    transform: translateY(0);
}

.mp-ds-expert-products__highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    color: #3f4254;
}

.mp-ds-expert-products__highlights i {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ecfdf8;
    color: #0f6b5f;
    font-size: 0.48rem;
}

.mp-ds-expert-products__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    background: #0f6b5f;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: background 0.2s ease, opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__btn,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__btn,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__btn {
    opacity: 1;
    transform: translateY(0);
}

.mp-ds-expert-products__btn:hover {
    background: #0c5f55;
    color: #fff;
}

.mp-ds-expert-products__btn i {
    font-size: 0.74rem;
    transition: transform 0.15s ease;
}

.mp-ds-expert-products__btn:hover i {
    transform: translateX(3px);
}

/* Sağdaki yuvarlak aksiyon butonu */
.mp-ds-expert-products__dock-fab {
    position: absolute;
    top: 50%;
    right: -0.55rem;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #128a7c 0%, #0f6b5f 55%, #0b5f56 100%);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(15, 107, 95, 0.35);
    transform: translateY(-50%) scale(1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mp-ds-expert-products__card:hover .mp-ds-expert-products__dock-fab,
.mp-ds-expert-products__card:focus-within .mp-ds-expert-products__dock-fab,
.mp-ds-expert-products__card.is-active .mp-ds-expert-products__dock-fab {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 14px 34px rgba(15, 107, 95, 0.42);
}

.mp-ds-expert-products__dock-fab:hover {
    color: #fff;
}

/* —— Platform mockup —— */
.mp-ds-expert-products__window {
    width: 100%;
    padding: 0.85rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 107, 95, 0.1);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mp-ds-expert-products__window-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #eef2f6;
}

.mp-ds-expert-products__window-dots {
    display: inline-flex;
    gap: 0.3rem;
}

.mp-ds-expert-products__window-dots i {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mp-ds-expert-products__window-dots i:nth-child(1) { background: #fda4af; }
.mp-ds-expert-products__window-dots i:nth-child(2) { background: #fcd34d; }
.mp-ds-expert-products__window-dots i:nth-child(3) { background: #86efac; }

.mp-ds-expert-products__window-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mp-ds-expert-products__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

.mp-ds-expert-products__tabs span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e8edf3;
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
}

.mp-ds-expert-products__tabs span.is-active {
    background: #ecfdf8;
    border-color: #a7f3d0;
    color: #0f6b5f;
}

.mp-ds-expert-products__tabs span i {
    font-size: 0.62rem;
}

.mp-ds-expert-products__rows {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mp-ds-expert-products__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

.mp-ds-expert-products__row-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    color: #0f6b5f;
    font-size: 0.72rem;
    border: 1px solid #e2e8f0;
}

.mp-ds-expert-products__row-copy {
    min-width: 0;
}

.mp-ds-expert-products__row-copy strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.3;
}

.mp-ds-expert-products__row-copy span {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.64rem;
    color: #94a3b8;
    line-height: 1.3;
}

.mp-ds-expert-products__row-badge {
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: #d1fae5;
    color: #047857;
    font-size: 0.58rem;
    font-weight: 800;
    white-space: nowrap;
}

.mp-ds-expert-products__row-badge--muted {
    background: #f1f5f9;
    color: #64748b;
}

.mp-ds-expert-products__metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #ecfdf8 0%, #f0fdf9 100%);
    border: 1px solid #bbf7d0;
}

.mp-ds-expert-products__metric-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #0f6b5f;
    color: #fff;
    font-size: 0.68rem;
}

.mp-ds-expert-products__metric-copy {
    font-size: 0.68rem;
    color: #475569;
    line-height: 1.35;
}

.mp-ds-expert-products__metric-copy strong {
    color: #0f6b5f;
    font-weight: 800;
}

/* —— Akıllı Kalem mockup —— */
.mp-ds-expert-products__sync-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
}

.mp-ds-expert-products__paper,
.mp-ds-expert-products__digital {
    padding: 0.75rem 0.7rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.mp-ds-expert-products__panel-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mp-ds-expert-products__paper-lines {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    margin-bottom: 0.55rem;
}

.mp-ds-expert-products__paper-lines span {
    display: block;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #cbd5e1 0%, #e2e8f0 100%);
}

.mp-ds-expert-products__paper-lines span.is-short {
    width: 68%;
}

.mp-ds-expert-products__paper-foot {
    font-size: 0.62rem;
    font-weight: 600;
    color: #b45309;
    font-style: italic;
}

.mp-ds-expert-products__sync-bridge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
}

.mp-ds-expert-products__sync-line {
    display: block;
    width: 2px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, #0f6b5f, transparent);
    opacity: 0.45;
}

.mp-ds-expert-products__sync-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f6b5f;
    color: #fff;
    font-size: 0.78rem;
    box-shadow: 0 8px 20px rgba(15, 107, 95, 0.28);
}

.mp-ds-expert-products__digital p {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    line-height: 1.45;
    color: #475569;
}

.mp-ds-expert-products__digital-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    padding: 0.22rem 0.45rem;
    border-radius: 999px;
    background: #ecfdf8;
    color: #0f6b5f;
    font-size: 0.6rem;
    font-weight: 800;
}

.mp-ds-expert-products__digital-status i {
    font-size: 0.58rem;
}

@media (max-width: 991.98px) {
    .mp-ds-expert-products__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .mp-ds-expert-products__card {
        min-height: 400px;
    }

    .mp-ds-expert-products__scene {
        padding-bottom: 6rem;
    }

    .mp-ds-expert-products__dock-teaser {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .mp-ds-expert-products__sync-flow {
        grid-template-columns: 1fr;
    }

    .mp-ds-expert-products__sync-bridge {
        flex-direction: row;
        padding: 0.1rem 0;
    }

    .mp-ds-expert-products__sync-line {
        width: 24px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #0f6b5f, transparent);
    }
}

/* Dokunmatik: hover yoksa dock her zaman biraz açık */
@media (hover: none) {
    .mp-ds-expert-products__dock-expand {
        max-height: 0;
        opacity: 0;
    }

    .mp-ds-expert-products__card.is-active .mp-ds-expert-products__dock-expand {
        max-height: 320px;
        opacity: 1;
        margin-top: 0.75rem;
    }

    .mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlight--1,
    .mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlight--2 {
        opacity: 1;
        transform: translateY(0);
    }

    .mp-ds-expert-products__card.is-active .mp-ds-expert-products__highlights,
    .mp-ds-expert-products__card.is-active .mp-ds-expert-products__btn {
        opacity: 1;
        transform: translateY(0);
    }
}
