/* ============================================
   FEATURES SECTION - Compact & Improved Design
   ============================================ */

.bg-dark {
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 100%);
    color: var(--white);
}

.features-with-image {
    padding: 70px 0;
    /* تقليل من 100px */
}

.features-grid-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    /* تحسين النسبة */
    gap: 60px;
    /* تقليل من 80px */
    align-items: center;
}

.features-image img {
    width: 100%;
    max-width: 500px;
    /* تحديد حد أقصى */
    height: auto;
    border-radius: 20px;
    /* تقليل من 24px */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.features-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.features-title {
    font-size: 2.2rem;
    /* تقليل من 2.5rem */
    font-weight: 900;
    color: var(--white);
    margin: 0 0 18px;
    /* تقليل من 25px */
    line-height: 1.25;
}

.features-description {
    font-size: 1.05rem;
    /* تقليل من 1.15rem */
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    /* تقليل من 40px */
    line-height: 1.7;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
    /* تقليل من 40px */
}

.features-list li {
    display: flex;
    gap: 16px;
    /* تقليل من 20px */
    margin-bottom: 18px;
    /* تقليل من 30px */
    align-items: flex-start;
    padding: 16px;
    /* تقليل من 20px */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    /* تقليل من 12px */
    border-right: 3px solid var(--primary-color);
    transition: all 0.3s;
}

.features-list li:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-5px);
}

.features-list i {
    font-size: 24px;
    /* تقليل من 28px */
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.features-list strong {
    display: block;
    font-size: 1.08rem;
    /* تقليل من 1.2rem */
    margin-bottom: 6px;
    /* تقليل من 8px */
    color: var(--white);
    font-weight: 700;
}

.features-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    font-size: 0.95rem;
    /* إضافة حجم أصغر */
}

/* Responsive for Features */
@media (max-width: 1024px) {
    .features-grid-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .features-image {
        order: -1;
    }

    .features-image img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .features-with-image {
        padding: 50px 0;
    }

    .features-title {
        font-size: 1.9rem;
    }

    .features-list li {
        padding: 14px;
        margin-bottom: 15px;
    }
}

/* ============================================
   DEVELOPERS LOGOS
   ============================================ */

.developers-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 35px;
}

.developer-logo-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.developer-logo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.developer-logo-item img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.developer-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.developer-logo-item span {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.stat-label {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-number {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}