        nav.navbar.navbar-expand-xl.navbar-dark.bg-dark {
            overflow: visible !important;
            overflow-x: visible !important;
            overflow-y: visible !important;
        }
        html {
            overflow-x: clip;
            scrollbar-gutter: stable;
        }
        body.bg-light {
            overflow-x: clip;
        }
        :root {
            --primary-color: #000000;
            --primary-dark: #333333;
            --primary-light: #666666;
        }
        /* عرض كامل بلا 100vw — كان يظهر سكرول فيضيّق الهيدر فجأة بعد الريفرش */
        .tools-section {
            width: 100%;
            max-width: 100%;
            margin-left: 0;
            margin-right: 0;
            margin-bottom: 2rem;
            padding: 24px 48px 64px;
            border-radius: 0;
            box-sizing: border-box;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        }
        @media (max-width: 90em) {
            .tools-section {
                padding: 20px 32px 40px;
            }
        }
        @media (max-width: 960px) {
            .tools-section {
                padding: 16px 24px 32px;
            }
        }
        .tool-card {
            border-radius: 16px;
            transition: all 0.3s ease;
            border: 2px solid #000000 !important;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
            /* ≈ 271×202 للبطاقة المرجعية + ارتفاع زر الاستخدام + أيقونات أكبر قليلاً */
            aspect-ratio: 271 / 265;
            height: auto;
            width: 100%;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            display: flex;
            flex-direction: column;
        }
        .tool-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
        }
        .tool-icon {
            width: 58px;
            height: 58px;
            margin: 0 auto 14px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        .tool-icon i.fa-2x {
            font-size: 1.85rem;
        }
        @media (max-width: 90em) {
            .tool-icon {
                width: 52px;
                height: 52px;
                margin-bottom: 12px;
            }
            .tool-icon i.fa-2x {
                font-size: 1.65rem;
            }
        }
        .tool-card:hover .tool-icon {
            background: linear-gradient(135deg, #000000, #333333);
            color: white !important;
        }
        /* عند تمرير الفأرة نُجبر الأيقونة على اللون الأبيض لتعلو فوق
           ألوان nth-child المخصّصة أدناه. */
        .tool-card:hover .tool-icon i { color: #ffffff !important; }
        .tool-card:hover .tool-icon .ms-science-icon__cell i { color: #ffffff !important; }
        .tools-section .row > [class*="col-"] .tool-card:hover .tool-icon i {
            color: #ffffff !important;
        }
        .tools-section .row > [class*="col-"] .tool-card:hover .tool-icon .ms-science-icon__cell i {
            color: #ffffff !important;
        }

        /*
         * شبكة أدوات متجاوبة: يقلّ عدد الأعمدة عند ضيق العرض
         * فيبقى عرض البطاقة تقريباً ثابتاً (6→5→4→3→2→1).
         */
        .tools-section .row.g-4 {
            display: grid;
            grid-template-columns: repeat(6, minmax(0, 1fr));
            gap: 16px;
            align-items: stretch;
            --bs-gutter-x: 0;
            --bs-gutter-y: 0;
        }
        .tools-section .row.g-4 > [class*="col-"] {
            flex: none;
            width: 100%;
            max-width: 100%;
            padding-left: 0;
            padding-right: 0;
            min-width: 0;
            display: flex;
            align-items: stretch;
        }
        .tools-section .row.g-4 > [class*="col-"] > .tool-card {
            width: 100%;
            flex: 1 1 auto;
        }
        @media (max-width: 98.75em) {
            .tools-section .row.g-4 {
                grid-template-columns: repeat(5, minmax(0, 1fr));
            }
        }
        @media (max-width: 1300px) {
            .tools-section .row.g-4 {
                grid-template-columns: repeat(5, minmax(0, 1fr));
            }
        }
        @media (max-width: 1280px) {
            .tools-section .row.g-4 {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }
        }
        @media (max-width: 960px) {
            .tools-section .row.g-4 {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        /* الجوال فقط: عمودان دائماً (مربعَين في كل صف) */
        @media (max-width: 767.98px) {
            .tools-section .row.g-4 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        /* ألوان مميّزة لكل أيقونة أداة لتفادي تشابه اللون بين الأدوات،
           دون الحاجة لتعديل أي علامة <i> في HTML. نكرّر الألوان كل 10
           بطاقات باستخدام nth-child لضمان تنوّع دائم. */
        .tools-section .row > [class*="col-"]:nth-child(10n+1) .tool-icon i { color: #e5322d !important; } /* أحمر */
        .tools-section .row > [class*="col-"]:nth-child(10n+2) .tool-icon i { color: #0d6efd !important; } /* أزرق */
        .tools-section .row > [class*="col-"]:nth-child(10n+3) .tool-icon i { color: #28a745 !important; } /* أخضر */
        .tools-section .row > [class*="col-"]:nth-child(10n+4) .tool-icon i { color: #ff9800 !important; } /* برتقالي */
        .tools-section .row > [class*="col-"]:nth-child(10n+5) .tool-icon i { color: #6f42c1 !important; } /* بنفسجي */
        .tools-section .row > [class*="col-"]:nth-child(10n+6) .tool-icon i { color: #17a2b8 !important; } /* تركوازي */
        .tools-section .row > [class*="col-"]:nth-child(10n+7) .tool-icon i { color: #e83e8c !important; } /* وردي */
        .tools-section .row > [class*="col-"]:nth-child(10n+8) .tool-icon i { color: #fd7e14 !important; } /* برتقالي غامق */
        .tools-section .row > [class*="col-"]:nth-child(10n+9) .tool-icon i { color: #20c997 !important; } /* أخضر نعناعي */
        .tools-section .row > [class*="col-"]:nth-child(10n)   .tool-icon i { color: #795548 !important; } /* بني */
        /* أداة حذف صفحات PDF: أحمر (يغلب تلوين nth-child لعمود البطاقة — م. 6 = تركواز) */
        .tools-section .row > [class*="col-"] .tool-card-delete-pdf .tool-icon i { color: #E03131 !important; }
        .tools-section .row .tool-card-ocr-pdf .tool-icon i { color: #e83e8c !important; }
        .tools-section .row > [class*="col-"] .tool-card-sign-pdf .tool-icon i {
            color: #000000 !important;
        }
        .tools-section .row > [class*="col-"] .tool-card-sign-pdf:hover .tool-icon i,
        .tools-section .row > [class*="col-"] .tool-card.tool-card-sign-pdf:hover .tool-icon i {
            color: #ffffff !important;
        }
        /* تدوير PDF: نفس لون أيقونة PDF في زر اختيار الملفات (#1abc9c) */
        .tools-section .row > [class*="col-"] .tool-card-rotate-pdf .tool-icon i { color: #1abc9c !important; }
        /* تدوير الصور */
        .tools-section .row > [class*="col-"] .tool-card-image-rotate .tool-icon i { color: #1abc9c !important; }
        /* طمس الوجه: أيقونة سوداء ثابتة، وبيضاء عند التمرير */
        .tools-section .row > [class*="col-"] .tool-card-face-blur .tool-icon i {
            color: #000000 !important;
        }
        .tools-section .row > [class*="col-"] .tool-card-face-blur:hover .tool-icon i {
            color: #ffffff !important;
        }

        /* تخطيط أيقونتين مع سهم بينهما — خاصّ بأدوات تحويل الصيغ فقط.
           نضع كل أيقونة داخل دائرة صغيرة ونترك السهم ظاهرًا بين الدائرتين. */
        .tool-icon-pair {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin: 0 auto 14px;
            height: 58px;
        }
        .tool-icon-item {
            width: 46px;
            height: 46px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        @media (max-width: 90em) {
            .tool-icon-pair {
                height: 52px;
                margin-bottom: 12px;
            }
            .tool-icon-item {
                width: 42px;
                height: 42px;
                font-size: 1.1rem;
            }
        }
        .tool-icon-pair .arrow-between {
            color: #6c757d;
            font-size: 1.1rem;
        }
        .tool-card:hover .tool-icon-item {
            background: linear-gradient(135deg, #000000, #333333);
        }
        .tool-card:hover .tool-icon-pair .tool-icon-item i {
            color: #ffffff !important;
        }

        /* تثبيت ظهور قسم نتائج البحث بدون إخفاء ناعم من سكربت التمرير. */
        #searchResults { opacity: 1 !important; transform: none !important; }
        #toolSearchClear { border-right: 0; }
        .itqan-home-search {
            max-width: 42rem;
            margin-left: auto;
            margin-right: auto;
            margin-top: 1.25rem;
        }
        .itqan-home-search .form-control {
            font-size: 1rem;
            padding: 0.7rem 1rem;
            min-height: 2.85rem;
        }
        .itqan-home-search .btn {
            padding: 0.55rem 1rem;
            font-size: 1rem;
            min-height: 2.85rem;
        }
        #searchSuggestions .chip {
            display: inline-block;
            background: #fff;
            border: 1px solid #dee2e6;
            border-radius: 14px;
            padding: 3px 11px;
            margin: 4px 4px 0 0;
            cursor: pointer;
            color: #333;
            font-size: 0.88rem;
            transition: all 0.2s ease;
        }
        #searchSuggestions .chip:hover {
            background: #000;
            color: #fff;
            border-color: #000;
        }

        .itqan-tool-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
            margin: 0 auto 1.5rem;
            max-width: 56rem;
        }
        .itqan-tool-filters__btn {
            appearance: none;
            display: inline-flex;
            align-items: center;
            flex-direction: row;
            gap: 0.25rem;
            border: 1.5px solid #dee2e6;
            background: #fff;
            color: #212529;
            border-radius: 999px;
            padding: 0.45rem 1rem;
            font-size: 0.92rem;
            font-weight: 600;
            font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
            cursor: pointer;
            line-height: 1.3;
            transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
            unicode-bidi: isolate;
        }
        html[lang="en"] .itqan-tool-filters__btn {
            font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
        }
        .itqan-tool-filters__btn:hover {
            border-color: #212529;
            color: #000;
        }
        .itqan-tool-filters__btn.is-active {
            background: #000;
            border-color: #000;
            color: #fff;
        }
        /* Isolate label vs count so LTR words (PDF) don't pull the number mid-label in RTL */
        .itqan-tool-filters__btn .itqan-tool-filters__label {
            unicode-bidi: isolate;
        }
        .itqan-tool-filters__btn .itqan-tool-filters__count {
            font-weight: 500;
            opacity: 0.75;
            unicode-bidi: isolate;
            white-space: nowrap;
        }
        .itqan-tool-source {
            display: none !important;
        }
        #toolCatalog .section-title {
            margin-bottom: 1.1rem;
        }
        #toolCatalogGrid > [class*="col-"][hidden] {
            display: none !important;
        }
        #searchResultsRow > [class*="col-"] {
            display: flex !important;
        }

        .section-title {
            color: #2c3e50;
            font-weight: 700;
            border-bottom: 3px solid #000000;
            padding-bottom: 10px;
            margin-bottom: 2rem;
        }
        .itqan-join-hero,
        .itqan-welcome-panel {
            display: grid;
            grid-template-columns: 0.95fr 1.05fr;
            gap: 1rem;
            align-items: center;
            overflow: visible;
            border-radius: 0;
            background: transparent;
            margin-bottom: 2rem;
            font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
        }
        html[lang="en"] .itqan-join-hero,
        html[lang="en"] .itqan-welcome-panel {
            font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
        }
        .itqan-join-hero__body,
        .itqan-welcome-panel__body {
            padding: 2.15rem 2.25rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.95rem;
            background: #f8f9fa;
            border-radius: 28px;
            align-self: stretch;
        }
        .itqan-join-hero__body {
            padding-block: 2.5rem;
        }
        .itqan-join-hero__eyebrow,
        .itqan-welcome-panel__eyebrow {
            font-size: clamp(1.05rem, 1.6vw, 1.2rem);
            letter-spacing: 0.01em;
            text-transform: none;
            color: #333;
            margin: 0;
            font-weight: 600;
        }
        .itqan-join-hero__title,
        .itqan-welcome-panel__title {
            font-size: clamp(1.4rem, 2.4vw, 1.95rem);
            font-weight: 700;
            color: #111;
            margin: 0;
            line-height: 1.35;
            letter-spacing: -0.01em;
        }
        .itqan-join-hero__lead,
        .itqan-welcome-panel__lead {
            margin: 0;
            color: #555;
            font-size: 1.05rem;
            line-height: 1.75;
            max-width: 42ch;
            font-weight: 400;
        }
        .itqan-join-hero__media {
            margin: 0;
            padding: 0;
            border-radius: 36px;
            overflow: hidden;
            background: transparent;
            line-height: 0;
            box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
        }
        .itqan-join-hero__media picture {
            display: block;
            line-height: 0;
        }
        .itqan-join-hero__media img {
            display: block;
            width: 100%;
            height: auto;
            vertical-align: top;
            border-radius: 0;
        }
        html[dir="rtl"] .itqan-join-hero,
        html[dir="rtl"] .itqan-welcome-panel {
            direction: rtl;
        }
        html[dir="rtl"] .itqan-join-hero__body,
        html[dir="rtl"] .itqan-welcome-panel__body {
            order: 1;
        }
        html[dir="rtl"] .itqan-join-hero__media {
            order: 2;
        }
        @media (max-width: 991.98px) {
            .itqan-join-hero,
            .itqan-welcome-panel {
                grid-template-columns: 1fr;
            }
            .itqan-join-hero__media {
                order: -1;
            }
            .itqan-join-hero__lead,
            .itqan-welcome-panel__lead {
                max-width: none;
            }
        }
        .itqan-home-intro {
            width: 100%;
            max-width: none;
            text-align: center;
            margin-bottom: 1.75rem;
            padding-top: 0.5rem;
            padding-bottom: 0.25rem;
        }
        .itqan-home-intro .display-5 {
            margin-bottom: 0.65rem;
        }
        .itqan-home-intro .lead {
            max-width: none;
            width: 100%;
            margin: 0 0 0.85rem;
        }
        .itqan-seo-intro {
            max-width: none;
            width: 100%;
            margin: 0;
            color: #6c757d;
            font-size: clamp(0.72rem, 0.88vw, 0.84rem);
            line-height: 1.5;
        }
        .itqan-seo-intro .itqan-seo-intro__line {
            margin: 0;
            font-weight: 700;
            white-space: nowrap;
        }
        .featured-tool {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
        }
        .itqan-featured-guides .itqan-featured-spotlight {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 0;
            align-items: stretch;
            overflow: hidden;
            border-radius: 18px;
            background: transparent;
            border: none;
            box-shadow: none;
            margin-bottom: 2rem;
            color: inherit;
            font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
        }
        html[lang="en"] .itqan-featured-guides .itqan-featured-spotlight {
            font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
        }
        .itqan-featured-guides .itqan-featured-spotlight__media {
            min-height: 280px;
            background: #e9ecef center / cover no-repeat;
            border-radius: 18px;
        }
        .itqan-featured-guides .itqan-featured-spotlight__body {
            padding: 2rem 2.1rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.85rem;
            background: #f8f9fa;
        }
        .itqan-featured-guides .itqan-featured-spotlight__eyebrow {
            font-size: 0.8rem;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #6c757d;
            margin: 0;
            font-weight: 600;
        }
        .itqan-featured-guides .itqan-featured-spotlight__title {
            font-size: clamp(1.35rem, 2.2vw, 1.85rem);
            font-weight: 700;
            color: #111;
            margin: 0;
            line-height: 1.35;
            letter-spacing: -0.01em;
        }
        .itqan-featured-guides .itqan-featured-spotlight__text {
            margin: 0;
            color: #555;
            font-size: 1.02rem;
            line-height: 1.75;
            max-width: 34ch;
            font-weight: 400;
        }
        .itqan-featured-guides .itqan-featured-spotlight__cta {
            align-self: flex-start;
            margin-top: 0.35rem;
            font-family: inherit;
            font-weight: 600;
        }
        @media (max-width: 991.98px) {
            .itqan-featured-guides .itqan-featured-spotlight {
                grid-template-columns: 1fr;
            }
            .itqan-featured-guides .itqan-featured-spotlight__media {
                min-height: 220px;
                order: -1;
            }
            .itqan-featured-guides .itqan-featured-spotlight__body {
                order: 1;
            }
            .itqan-featured-guides .itqan-featured-spotlight__text {
                max-width: none;
            }
        }
        /* عربي: نفس ترتيب وأحجام أول نسخة من الجيت */
        html[dir="rtl"] .itqan-featured-guides .itqan-featured-spotlight {
            direction: rtl;
        }
        html[dir="rtl"] .itqan-featured-guides .itqan-featured-spotlight__body {
            order: 1;
        }
        html[dir="rtl"] .itqan-featured-guides .itqan-featured-spotlight__media {
            order: 2;
        }
        /* إنجليزي: نفس نسب العربي (الصورة العمود الأصغر) مع قلب الجهة فقط */
        html[dir="ltr"] .itqan-featured-guides .itqan-featured-spotlight {
            grid-template-columns: 1.15fr 0.85fr;
        }
        html[dir="ltr"] .itqan-featured-guides .itqan-featured-spotlight__body {
            order: 1;
        }
        html[dir="ltr"] .itqan-featured-guides .itqan-featured-spotlight__media {
            order: 2;
        }
        .itqan-featured-guides .itqan-hub-chips {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 0.85rem;
            margin: 0 0 2rem;
            font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
        }
        html[lang="en"] .itqan-featured-guides .itqan-hub-chips {
            font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
        }
        .itqan-featured-guides .itqan-hub-chip {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.65rem;
            min-height: 118px;
            padding: 1rem 0.75rem;
            text-align: center;
            text-decoration: none;
            color: #111;
            background: rgba(255, 255, 255, 0.72);
            border: 1px solid rgba(17, 17, 17, 0.08);
            border-radius: 16px;
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }
        .itqan-featured-guides .itqan-hub-chip:hover {
            transform: translateY(-3px);
            background: #fff;
            border-color: rgba(17, 17, 17, 0.16);
            box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
            color: #111;
        }
        .itqan-featured-guides .itqan-hub-chip__icon {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #111;
            color: #fff;
            font-size: 1.05rem;
        }
        .itqan-featured-guides .itqan-hub-chip__label {
            margin: 0;
            font-size: 0.92rem;
            font-weight: 600;
            line-height: 1.35;
            max-width: 14ch;
        }
        @media (max-width: 991.98px) {
            .itqan-featured-guides .itqan-hub-chips {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
        @media (max-width: 575.98px) {
            .itqan-featured-guides .itqan-hub-chips {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .itqan-featured-guides .itqan-hub-chip {
                min-height: 108px;
            }
        }
        .itqan-plan-banners {
            width: 100%;
            max-width: none;
            margin: 2rem 0 0;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif;
        }
        html[lang="en"] .itqan-plan-banners {
            font-family: "IBM Plex Sans", "IBM Plex Sans Arabic", "Segoe UI", sans-serif;
        }
        /* نفس مبدأ الأدلة المميزة: صورة يسار كاملة + نص يمين */
        .itqan-plan-banner {
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
        }
        .itqan-plan-banner__container {
            direction: ltr;
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 0;
            align-items: stretch;
            width: 100%;
            overflow: hidden;
            border-radius: 18px;
        }
        .itqan-plan-banner__art {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 0;
            padding: 0;
            line-height: 0;
            overflow: hidden;
            background: #0a1628;
        }
        .itqan-plan-banner--enterprise .itqan-plan-banner__art {
            background: #1a1008;
        }
        .itqan-plan-banner__art-wrap,
        .itqan-plan-banner__art picture {
            display: block;
            width: 100%;
            line-height: 0;
        }
        .itqan-plan-banner__image {
            display: block;
            width: 100%;
            height: auto;
            max-width: 100%;
            object-fit: contain;
            object-position: center center;
        }
        .itqan-plan-banner__body {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 2rem 2.1rem;
            box-sizing: border-box;
            min-width: 0;
        }
        .itqan-plan-banner--pro .itqan-plan-banner__body {
            background: #e3f6fb;
        }
        .itqan-plan-banner--enterprise .itqan-plan-banner__body {
            background: #fef0e0;
        }
        .itqan-plan-banner__content {
            width: min(100%, 34rem);
            max-width: 100%;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        html[dir="rtl"] .itqan-plan-banner__content {
            direction: rtl;
            text-align: right;
        }
        html[dir="ltr"] .itqan-plan-banner__content {
            direction: ltr;
            text-align: left;
        }
        .itqan-plan-banner__title {
            margin: 0;
            font-size: clamp(1.2rem, 1.75vw, 1.75rem);
            font-weight: 700;
            line-height: 1.35;
            color: #111;
            letter-spacing: -0.01em;
        }
        .itqan-plan-banner__list {
            list-style: none;
            margin: 1.1rem 0 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .itqan-plan-banner__item {
            position: relative;
            margin: 0 0 0.85rem;
            padding-inline-start: 1.85rem;
            color: #47474f;
            font-size: clamp(0.88rem, 1.1vw, 1rem);
            line-height: 1.55;
        }
        .itqan-plan-banner__item:last-child {
            margin-bottom: 0;
        }
        .itqan-plan-banner__item::before {
            content: "";
            position: absolute;
            inset-inline-start: 0;
            top: 0.2em;
            width: 1.1rem;
            height: 1.1rem;
            border-radius: 50%;
            background: #22c55e;
            box-shadow: inset 0 0 0 2px #e3f6fb;
        }
        .itqan-plan-banner--enterprise .itqan-plan-banner__item::before {
            box-shadow: inset 0 0 0 2px #fef0e0;
        }
        .itqan-plan-banner__cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            align-self: flex-start;
            margin-top: 1.5rem;
            padding: 0.72rem 1.4rem;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.95rem;
            text-decoration: none;
            transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
        }
        .itqan-plan-banner--pro .itqan-plan-banner__cta {
            background: #00d4ff;
            color: #111;
            box-shadow: 0 6px 18px rgba(0, 212, 255, 0.28);
        }
        .itqan-plan-banner--pro .itqan-plan-banner__cta:hover {
            background: #00b8e0;
            color: #111;
            transform: translateY(-1px);
        }
        .itqan-plan-banner--enterprise .itqan-plan-banner__cta {
            background: #ff9600;
            color: #111;
            box-shadow: 0 6px 18px rgba(255, 150, 0, 0.28);
        }
        .itqan-plan-banner--enterprise .itqan-plan-banner__cta:hover {
            background: #e88700;
            color: #111;
            transform: translateY(-1px);
        }
        @media (max-width: 991.98px) {
            .itqan-plan-banner__container {
                grid-template-columns: 1fr;
            }
            .itqan-plan-banner__art {
                order: -1;
            }
            .itqan-plan-banner__body {
                order: 1;
                padding: 1.35rem 1.5rem 1.6rem;
            }
        }
        @media (max-width: 767.98px) {
            .itqan-plan-banner__body {
                padding: 1.15rem 1.25rem 1.4rem;
            }
        }
        .btn-primary {
            background-color: #000000;
            border-color: #000000;
            min-width: 120px;
        }
        .btn-primary:hover {
            background-color: #333333;
            border-color: #333333;
        }
        .btn-outline-primary {
            color: #000000;
            border-color: #000000;
        }
        .btn-outline-primary:hover {
            background-color: #000000;
            border-color: #000000;
            color: white;
        }
        .badge.bg-primary {
            background-color: #000000 !important;
        }
        .text-primary {
            color: #000000 !important;
        }
        .tool-card .card-body {
            display: flex;
            flex-direction: column;
            flex: 1 1 auto;
            height: 100%;
            min-height: 0;
            justify-content: flex-start;
            align-items: center;
            text-align: center;
            overflow: hidden;
            padding: 24px;
            gap: 0;
        }
        @media (max-width: 90em) {
            .tool-card .card-body {
                padding: 24px;
            }
        }
        .tool-card .card-title {
            flex-shrink: 0;
            font-size: 20px;
            line-height: 28px;
            font-weight: 500;
            margin-bottom: 8px;
            color: #33333b;
            /* حجز سطرين دائماً حتى يبقى الزر بمحاذاة واحدة */
            min-height: 56px;
            max-height: 56px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .tool-card .card-text {
            flex: 0 0 auto;
            margin-bottom: 0;
            font-size: 13px;
            line-height: 18px;
            font-weight: 400;
            color: #707078;
            /* حجز سطرين وصف دائماً */
            min-height: 36px;
            max-height: 36px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        @media (max-width: 991.98px) {
            .tool-card .card-title {
                font-size: 18px;
                line-height: 24px;
                min-height: 48px;
                max-height: 48px;
            }
            .tool-card .card-text {
                font-size: 12px;
                line-height: 16px;
                min-height: 32px;
                max-height: 32px;
            }
        }
        @media (max-width: 767.98px) {
            .tool-card .card-title {
                font-size: 16px;
                line-height: 20px;
                min-height: 40px;
                max-height: 40px;
            }
        }
        /* الزر مثبت أسفل البطاقة — كل الأزرار بمحاذاة أفقية واحدة */
        .tool-btn {
            margin-top: auto;
            margin-bottom: 0;
            min-width: 110px;
            width: auto;
            max-width: 100%;
            padding: 0.35rem 1rem;
            font-size: 0.875rem;
            align-self: center;
            flex-shrink: 0;
            position: static;
            white-space: nowrap;
        }
        .tool-card .tool-btn::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
        }
        @media (max-width: 640px) {
            .tool-card .card-body {
                padding: 20px 16px;
            }
        }
        @media (max-width: 440px) {
            .tool-card .card-body {
                padding: 16px 12px;
            }
        }
        @media (max-width: 768px) {
            .tool-card {
                margin-bottom: 0;
            }
            .display-5 {
                font-size: 2rem;
            }
            .itqan-hero-cta {
                flex-direction: column;
                width: 100%;
                max-width: 100%;
            }
            .itqan-hero-cta .btn {
                width: 100%;
            }

            /* الجوال فقط: مربّعان + رفع المحتوى للأعلى حتى لا يُقصّ زر الاستخدام */
            .tools-section .row.g-4 {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 12px;
                margin-left: 0;
                margin-right: 0;
            }
            .tools-section .row.g-4 > [class*="col-"] {
                width: 100%;
                max-width: 100%;
                padding-left: 0;
                padding-right: 0;
                margin-bottom: 0;
            }
            .tools-section {
                padding: 16px 16px 24px;
            }
            .tools-section .tool-card {
                padding: 0;
                border-radius: 12px;
                aspect-ratio: 271 / 285;
                height: auto;
            }
            .tools-section .tool-card .card-body {
                min-height: 0;
                justify-content: flex-start;
                padding: 10px 10px 8px;
            }
            .tools-section .tool-card .card-title {
                font-size: 15px;
                line-height: 20px;
                margin-bottom: 4px;
                min-height: 40px;
                max-height: 40px;
            }
            .tools-section .tool-card .card-text {
                font-size: 11px;
                line-height: 15px;
                min-height: 30px;
                max-height: 30px;
                -webkit-line-clamp: 2;
                margin-bottom: 0;
            }
            .tools-section .tool-card .tool-icon {
                width: 44px;
                height: 44px;
                margin: 0 auto 8px !important;
            }
            .tools-section .tool-card .tool-icon i.fa-2x {
                font-size: 1.35rem;
            }
            .tools-section .tool-card .tool-icon-pair {
                height: 44px;
                margin: 0 auto 8px !important;
                gap: 4px;
            }
            .tools-section .tool-card .tool-icon-pair .tool-icon-item {
                width: 34px;
                height: 34px;
                font-size: 0.95rem;
            }
            .tools-section .tool-card .tool-btn {
                font-size: 0.75rem;
                min-width: 88px;
                padding: 0.28rem 0.7rem;
                margin-top: auto;
            }
            .section-title {
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }

            .itqan-home-intro {
                padding-inline: 1rem;
                box-sizing: border-box;
            }
            .itqan-home-intro .lead {
                font-size: 1rem;
                line-height: 1.55;
            }
            .itqan-seo-intro {
                font-size: 0.82rem;
                line-height: 1.65;
            }
            .itqan-seo-intro .itqan-seo-intro__line {
                white-space: normal;
                overflow-wrap: break-word;
                word-wrap: break-word;
            }
            .itqan-seo-intro .itqan-seo-intro__line + .itqan-seo-intro__line {
                margin-top: 0.55rem;
            }

            .itqan-join-hero,
            .itqan-welcome-panel {
                margin-bottom: 1.25rem;
                border-radius: 0;
                gap: 0.75rem;
            }
            .itqan-join-hero__media {
                border-radius: 28px;
            }
            .itqan-join-hero__media img {
                border-radius: 0;
            }
            .itqan-join-hero__body,
            .itqan-welcome-panel__body {
                padding: 1.35rem 1.25rem;
                gap: 0.65rem;
                border-radius: 24px;
            }
            .itqan-join-hero__title,
            .itqan-welcome-panel__title {
                font-size: 1.2rem;
            }
            .itqan-join-hero__lead,
            .itqan-welcome-panel__lead {
                font-size: 0.92rem;
                line-height: 1.6;
            }
        }
        @media (min-width: 576px) {
            .itqan-hero-cta {
                flex-direction: row;
                flex-wrap: wrap;
            }
        }
    