/* =========================================================
   Digital Profiles Page CSS (Separated Desktop & Mobile)
   ========================================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
}
/* --- Toggles for Devices (Desktop View) --- */
@media (min-width: 769px) {
    .mobile-layout-only { display: none !important; }
    /* الديسكتوب رح يظهر بشكل طبيعي (سواء كان Grid أو Flex) بدون ما نجبره على Block */
}

/* --- 1. Standard Product Layout (Desktop) --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.main-image-wrapper { 
    background: var(--surface-color); 
    border: 1px solid var(--border-color); 
    border-radius: 16px; 
    padding: 40px 20px; 
    text-align: center; 
}
.main-image-wrapper img {
    width: 90%; 
    max-width: 450px; 
    margin: 0 auto; 
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.1));
}
.price-display { margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.price-amount { font-size: 48px; font-weight: 700; color: var(--text-main); }
.price-currency { font-size: 24px; font-weight: 600; color: var(--text-main); }
.price-note { font-size: 15px; color: #25d366; font-weight: 600; margin-top: 5px; }

.trust-icons { text-align: center; margin-top: 15px; font-size: 13px; color: var(--text-muted); }
.trust-icons i { color: var(--primary-color); }

.corporate-box {
    margin-top: 25px; 
    background: rgba(0, 136, 204, 0.05); 
    padding: 15px; 
    border-radius: 8px; 
    border: 1px dashed var(--primary-color);
    text-align: center;
}
.corporate-box a { font-size: 14px; font-weight: 700; color: var(--primary-color); text-decoration: underline; }

/* --- 2. Logos Slider --- */
.logos-slider-wrapper { padding: 20px 0; overflow: hidden; }
.logosSwiper { padding: 20px 0; }
.logosSwiper .swiper-wrapper { transition-timing-function: linear !important; }
.logosSwiper .swiper-slide { display: flex; justify-content: center; align-items: center; }
.logosSwiper img { max-width: 140px; max-height: 50px; width: auto; object-fit: contain; opacity: 1; transition: transform 0.3s ease; }
.logosSwiper img:hover { transform: scale(1.15); }

/* --- 3. Visual Demo Phones (Desktop Grid) --- */
.desktop-phones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}
.phone-frame img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.phone-frame img:hover { transform: translateY(-10px); }

/* --- 4. Use Cases & Benefits --- */
.use-cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.feature-box { padding: 30px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-color); height: 100%; transition: 0.3s; }
.feature-box:hover { border-color: var(--primary-color); transform: translateY(-5px); }
.feature-box i { font-size: 35px; color: var(--primary-color); margin-bottom: 20px; display: block; }
.benefits-list { list-style: none; padding: 0; }
.benefits-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-muted); }
.benefits-list i { color: #25d366; font-size: 20px; }

/* --- 6. Who Is This For? (Desktop Grid) --- */
.who-for-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.who-for-box {
    padding: 30px 20px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.3s;
}
.who-for-box:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.who-for-box i { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }
.who-for-box h4 { font-size: 18px; margin: 0; }

/* --- 7. FAQ --- */
.faq-item { margin-bottom: 15px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--surface-color); transition: 0.3s; }
.faq-item summary { padding: 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 16px; color: var(--text-main);}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: '+'; color: var(--primary-color); font-size: 24px; transition: 0.3s; }
.faq-item[open] summary:after { content: '-'; }
.faq-content { padding: 0 20px 20px 20px; color: var(--text-muted); line-height: 1.6; font-size: 15px;}

/* =========================================================
   Mobile Responsiveness (Max Width: 768px)
   ========================================================= */
@media (max-width: 768px) {
    /* Hide Desktop elements on Mobile */
    .desktop-layout-only { display: none !important; }

    /* 1. Hero Section Setup */
    .standard-product-section { padding: 20px 0 40px 0 !important; }
    .product-grid { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important;
    }
    
    .main-image-wrapper { padding: 30px 20px !important; }
    .main-image-wrapper img { width: 85% !important; max-width: 250px !important; }
    
    .product-details { text-align: center !important; }
    .product-details h1 { font-size: 28px !important; margin-bottom: 10px !important; }
    .product-details p { font-size: 14px !important; margin-bottom: 20px !important; }
    
    .price-display { padding-bottom: 15px !important; }
    .price-display div { justify-content: center; } 
    .price-amount { font-size: 40px !important; }
    
    .corporate-box { padding: 12px !important; }

    /* 3. Visual Demo (Mobile Swiper Setup) */
    .phoneSwiper { max-width: 280px !important; margin: 0 auto !important; padding-bottom: 40px !important; overflow: visible !important;}
    .phoneSwiper .swiper-slide { 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        border-radius: 30px; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    }
    .phoneSwiper .swiper-slide img { width: 100%; border-radius: 30px; display: block; }
    .phoneSwiper .swiper-pagination { bottom: 0px !important; }

    /* 4 & 5. Use Cases & Customization */
    .use-cases-grid { grid-template-columns: 1fr !important; gap: 30px !important; text-align: center; }
    .customization-grid { display: flex !important; flex-direction: column !important; }
    .custom-image-wrapper { order: 1 !important; margin-bottom: 15px !important; }
    .custom-text-wrapper { order: 2 !important; text-align: center !important; }
    .benefits-list li { flex-direction: column; align-items: center; text-align: center; }

    /* 6. Who Is This For? (قائمة أفقية أنيقة الأيقونة بجانب النص) */
    .who-for-grid { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 12px !important; 
    }
    .who-for-box { 
        display: flex !important; 
        flex-direction: row !important; 
        align-items: center !important; 
        justify-content: flex-start !important;
        padding: 15px 20px !important; 
        text-align: left !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    }
    .who-for-box i { font-size: 24px !important; margin-bottom: 0 !important; margin-right: 20px !important; width: 30px; text-align: center;}
    .who-for-box h4 { margin-bottom: 0 !important; font-size: 16px !important; }

    /* General Text Adjustments */
    .visual-demo h2, .two-worlds h2, .customization h2, .who-for h2, .faq-section h2 { font-size: 28px !important; }
}