 /* ===== المتغيرات الأساسية (عناوين سوداء) ===== */
    :root {
        --terms-primary: #000000;  /* العناوين سوداء */
        --terms-primary-light: #f472b6;
        --terms-primary-dark: #111827;
        --terms-accent: #f59e0b;
        --terms-bg: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
        --terms-card-bg: #ffffff;
        --terms-text-dark: #000000;  /* النص الأساسي أسود */
        --terms-text-soft: #374151;
        --terms-text-light: #6b7280;
        --terms-border: #e5e7eb;
        --terms-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        --terms-border-radius: 2rem;
    }

    /* ===== الحاوية الرئيسية ===== */
    .terms-wrapper {
        background: var(--terms-bg);
        min-height: calc(100vh - 80px);
        padding: 4rem 1.5rem;
        font-family: 'Tajawal', 'Segoe UI', sans-serif;
    }

    /* ===== البطاقة الرئيسية ===== */
    .terms-card {
        max-width: 900px;
        margin: 0 auto;
        background: var(--terms-card-bg);
        border-radius: var(--terms-border-radius);
        box-shadow: var(--terms-shadow);
        padding: 3rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
    }

    .terms-card:hover {
        box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
    }

    /* ===== الهيدر ===== */
    .terms-header {
        text-align: center;
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 2px dashed var(--terms-border);
        position: relative;
    }

    .terms-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        animation: gentle-float 3s ease-in-out infinite;
    }

    @keyframes gentle-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    .terms-title {
        font-size: 2.8rem;
        font-weight: 800;
        color: #000000;  /* أسود صريح */
        margin-bottom: 1rem;
        letter-spacing: -0.5px;
    }

    .terms-subtitle {
        font-size: 1.2rem;
        color: var(--terms-text-soft);
        max-width: 700px;
        margin: 0 auto 1.5rem;
        line-height: 1.7;
        font-weight: 500;
    }

    .important-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: #fee2e2;
        color: #991b1b;
        padding: 0.6rem 1.8rem;
        border-radius: 100px;
        font-size: 0.95rem;
        font-weight: 600;
        border: 1px solid #fecaca;
    }

    /* ===== صندوق التنبيه ===== */
    .highlight-box {
        background: #f3f4f6;
        border-right: 6px solid #000000;
        padding: 1.2rem 2rem;
        border-radius: 1.5rem;
        margin-bottom: 2.5rem;
        font-size: 1.1rem;
        color: #000000;
        font-weight: 500;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    }

    /* ===== الأقسام ===== */
    .terms-section {
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: #ffffff;
        border-radius: 1.5rem;
        border: 1px solid var(--terms-border);
        transition: all 0.3s ease;
    }

    .terms-section:hover {
        transform: translateX(4px);
        border-color: #9ca3af;
        box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
    }

    .section-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .section-icon {
        font-size: 1.8rem;
        background: #f3f4f6;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 16px;
        color: #000000;
    }

    .section-title {
        font-size: 1.6rem;
        font-weight: 700;
        color: #000000;  /* عنوان القسم أسود */
        margin: 0;
        position: relative;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -6px;
        right: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #000000, #4b5563);
        border-radius: 3px;
    }

    .section-content {
        padding-right: 3.5rem;
        color: var(--terms-text-soft);
        line-height: 1.8;
        font-size: 1.05rem;
    }

    /* ===== القوائم ===== */
    .terms-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .terms-list li {
        margin-bottom: 0.8rem;
        padding-right: 2rem;
        position: relative;
        color: #374151;
    }

    .terms-list li::before {
        content: '•';
        position: absolute;
        right: 0;
        color: #000000;
        font-size: 1.5rem;
        font-weight: bold;
    }

    /* ===== ملاحظة التحديث ===== */
    .update-note {
        background: #f3f4f6;
        padding: 1.2rem 2rem;
        border-radius: 3rem;
        text-align: center;
        margin: 2.5rem 0;
        color: #000000;
        font-size: 1rem;
        border: 1px solid #d1d5db;
    }

    /* ===== الروابط السريعة ===== */
    .quick-links {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin: 2rem 0 1rem;
    }

    .quick-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #f9fafb;
        color: #000000;
        padding: 0.8rem 1.8rem;
        border-radius: 2rem;
        text-decoration: none;
        font-weight: 600;
        border: 1px solid #e5e7eb;
        transition: all 0.3s ease;
    }

    .quick-link:hover {
        background: #000000;
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.3);
        border-color: #000000;
    }

    .quick-link:hover span {
        color: #ffffff;
    }

    /* ===== تاريخ التحديث ===== */
    .update-date {
        text-align: center;
        margin-top: 2rem;
        color: #6b7280;
        font-size: 0.9rem;
        padding-top: 1.5rem;
        border-top: 1px dashed #e5e7eb;
    }

    /* ===== التجاوب ===== */
    @media (max-width: 768px) {
        .terms-wrapper {
            padding: 2rem 1rem;
        }
        .terms-card {
            padding: 1.8rem;
        }
        .terms-title {
            font-size: 2.2rem;
        }
        .section-content {
            padding-right: 0;
        }
        .section-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.5rem;
        }
        .quick-links {
            flex-direction: column;
            align-items: stretch;
        }
        .quick-link {
            justify-content: center;
        }
    }

    /* ===== لمسات بسيطة ===== */
    strong {
        color: #000000;
        font-weight: 700;
