.testeto-interactive-panel-container { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; direction: rtl; }

.testeto-features-list { flex: 1 1 350px; display: flex; flex-direction: column; gap: 15px; }
.testeto-feature-item { border-radius: 12px; border-right: 4px solid transparent; cursor: pointer; transition: all 0.3s ease; padding: 15px; }
.testeto-feature-item:hover { background-color: #f0f0f0; }
.testeto-feature-item.active { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.testeto-feature-title { margin: 0 0 10px; font-size: 1.1rem; font-weight: 700; color: #333; transition: color 0.3s ease; }
.testeto-feature-description { font-size: 0.9rem; color: #666; line-height: 1.6; margin-bottom: 0; }

/* Wrapper کنترل کننده مقیاس دستگاه */
.testeto-laptop-mockup {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* فریم مانیتور - ضدگلوله شده */
.device-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #222 !important; /* فیکس مشکل غیب شدن رنگ */
    border-radius: 16px 16px 0 0;
    padding: 2.5% 2.5% 0 2.5%; /* استفاده از درصد برای حفظ تناسب در بزرگنمایی */
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

.device-screen {
    width: 100%; height: 100%;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testeto-panel-image {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    transition: opacity 0.4s ease-in-out;
}

/* پایه لپ‌تاپ */
.laptop-base {
    width: 112%; /* کمی پهن‌تر از فریم */
    height: 20px;
    background: #d0d0d0;
    border-radius: 0 0 16px 16px;
    position: relative;
    top: -1px;
    z-index: 1;
    box-shadow: inset 0 -3px 8px rgba(0,0,0,0.1);
}
.laptop-base::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 15%; height: 6px; background: #bbb; border-radius: 0 0 6px 6px;
}

/* استایل All-in-One */
.is-aio .device-frame { border-radius: 16px; padding: 3% 3% 5% 3%; background: #111827 !important; }
.is-aio .device-screen { border-radius: 4px; }
.aio-stand { width: 25%; height: 60px; background: linear-gradient(to bottom, #d1d5db, #9ca3af); margin: -5px auto 0; clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%); position: relative; z-index: 0; }
.aio-base { width: 40%; height: 12px; background: #9ca3af; border-radius: 4px 4px 0 0; margin: 0 auto; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* فلش‌های اسلایدر */
.testeto-slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px;
    background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; opacity: 0; transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.testeto-slider-arrow svg { stroke: #333; }
.device-screen:hover .testeto-slider-arrow { opacity: 1; }
.testeto-slider-arrow:hover { background: #FFC107; border-color: #FFC107; }
.testeto-arrow-prev { left: 8px; }
.testeto-arrow-next { right: 8px; }

/* فیکس قطعی باگ ریسپانسیو موبایل */
@media (max-width: 768px) {
    .testeto-interactive-panel-container { flex-direction: column-reverse; gap: 30px; }
    .testeto-features-list { flex: 1 1 100%; width: 100%; }
    
    .testeto-laptop-mockup {
        flex: 1 1 100%;
        width: 100%;
        max-width: 90vw !important; /* فیکس مشکل بیرون زدن از صفحه گوشی */
    }
    
    .laptop-base {
        width: 104%; /* پایه در موبایل کمتر بیرون میزند */
        border-radius: 0 0 10px 10px;
    }
    
    .testeto-feature-item { border-right: none; border-bottom: 4px solid transparent; }
    .testeto-feature-item.active { border-bottom-color: #FFC107; }
    .testeto-slider-arrow { opacity: 1; background: rgba(255, 255, 255, 0.8); }
}