/* =========================================================
   Custom Enterprise NFC Cards Page CSS
   ========================================================= */

/* --- 1. General Styles (Desktop) --- */
.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-image-sticky { position: sticky; top: 100px; }

/* إيقاف حركة الصورة (Float Animation) بناءً على طلبك */
.product-image img {
    animation: none !important;
    transform: none !important;
}

/* Use Cases & Customization */
.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); 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: flex-start; gap: 10px; font-size: 16px; color: var(--text-muted); }
.benefits-list i { color: #25d366; font-size: 20px; margin-top: 3px; }

/* Power of NFC (3 Steps) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step-card { background-color: var(--surface-color); border: 1px solid var(--border-color); padding: 40px 30px; border-radius: 12px; text-align: left; transition: transform 0.3s, border-color 0.3s; }
.step-card:hover { transform: translateY(-5px); border-color: var(--primary-color); }
.step-icon { font-size: 35px; color: var(--primary-color); margin-bottom: 20px; display: block; }
.step-card h4 { font-size: 22px; margin-bottom: 15px; }
.step-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 0; }

/* 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) {
    /* 1. Hero Section Setup */
    .product-hero { padding: 30px 0 40px 0 !important; }
    .product-hero-grid { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 20px !important;
    }

    /* إصلاح تداخل الصورة مع النص وإلغاء التثبيت عالموبايل */
    .product-image-sticky { position: relative !important; top: 0 !important; }
    .product-image { order: 1 !important; max-width: 250px !important; margin: 0 auto 30px auto !important; display: block !important; }
    
    .product-info { order: 2 !important; text-align: center !important; width: 100%; }
    .product-info h1 { font-size: 30px !important; margin-bottom: 15px !important; }
    .trust-badges { text-align: left !important; width: 100% !important; }

    /* 2. Use Cases */
    .use-cases-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    .feature-box { padding: 25px 20px !important; text-align: left !important; }
    .feature-box i { font-size: 30px !important; margin-bottom: 15px !important; }
    .feature-box h3 { font-size: 20px !important; margin-bottom: 10px !important; }

    /* 3. Power of NFC (ترتيب عمودي: أيقونة عاليسار، النص عاليمين) */
    .steps-grid { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 15px !important; 
    }
    .step-card { 
        display: grid !important; 
        grid-template-columns: 50px 1fr !important; 
        grid-template-rows: auto auto !important;
        gap: 5px 15px !important; 
        text-align: left !important; 
        padding: 20px 15px !important;
        height: auto !important;
    }
    .step-card .step-icon { 
        grid-column: 1; 
        grid-row: 1 / 3; 
        font-size: 32px !important; 
        margin: 0 !important;
        align-self: center;
        justify-self: center;
    }
    .step-card h4 { 
        grid-column: 2; 
        grid-row: 1; 
        font-size: 18px !important; 
        margin: 0 !important; 
    }
    .step-card p { 
        grid-column: 2; 
        grid-row: 2; 
        font-size: 14px !important; 
        margin: 0 !important; 
        line-height: 1.4 !important;
    }

    /* 4. Customization Section */
    .customization-grid { display: flex !important; flex-direction: column !important; gap: 30px !important;}
    .custom-image-wrapper { order: 1 !important; margin-bottom: 15px !important; }
    .custom-text-wrapper { order: 2 !important; text-align: center !important; }
    .custom-text-wrapper .benefits-list li { flex-direction: column; align-items: center; text-align: center; }

    /* General Text Adjustments */
    .two-worlds h2, .product-features h2, .customization h2, .faq-section h2 { font-size: 28px !important; }
}