/* ═══ Mudarabah Plans ═══
   Extracted from the template so browsers cache it instead of re-sending it
   with every page view. Page-local .m-* classes only. */

    :root {
        --m-primary: #10b981;
        --m-primary-dark: #059669;
        --m-secondary: #064e3b;
        --m-text-dark: #1f2937;
        --m-text-light: #6b7280;
        --m-bg-light: #f8f9fa;
        --m-white: #ffffff;
        --m-danger: #dc2626;
        --m-warning: #f59e0b;
        --m-warning-light: #fffbeb;
        --m-mint: #ecfdf5;
    }

    body {
        background: var(--m-white) !important;
        color: var(--m-text-dark) !important;
        font-family: 'Poppins', sans-serif !important;
        scroll-behavior: smooth;
    }

    .m-section {
        padding: 80px 0;
    }

    .m-heading {
        font-weight: 700;
        color: var(--m-text-dark);
        margin-bottom: 1.5rem;
    }

    .m-subheading {
        color: var(--m-text-light);
        font-size: 1.1rem;
        line-height: 1.6;
    }

    /* Hero & Cards Refined */
    .m-hero {
        background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
        padding: 100px 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .m-plan-card {
        background: var(--m-white);
        border-radius: 20px;
        overflow: hidden;
        border: 1px solid #f1f5f9;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        transition: transform 0.3s ease;
    }

    .m-plan-card:hover {
        transform: translateY(-5px);
    }

    .m-card-header {
        background: var(--m-primary);
        padding: 30px 20px;
        text-align: center;
        color: white;
    }

    .m-card-body {
        padding: 24px 22px;
    }

    .m-profit-box {
        background: var(--m-mint);
        border: 1px solid #d1fae5;
        border-radius: 12px;
        padding: 15px;
        text-align: center;
        margin-bottom: 20px;
    }

    .m-plan-meta li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
    }

    .m-plan-card .btn {
        margin-top: 4px;
    }

    /* Comparison Table */
    .table-halal th {
        background: #f8fafc;
        color: var(--m-text-dark);
        font-weight: 700;
    }

    .td-halal {
        color: var(--m-primary-dark);
        font-weight: 600;
    }

    .td-haram {
        color: var(--m-danger);
        text-decoration: line-through;
        opacity: 0.6;
    }

    /* Islamic Quotes */
    .islamic-card {
        background: white;
        border-radius: 20px;
        padding: 30px;
        border: 1px solid #e2e8f0;
        margin-bottom: 2rem;
        position: relative;
    }

    .arabic-text {
        font-family: 'Amiri', serif;
        font-size: 1.5rem;
        direction: rtl;
        color: var(--m-primary-dark);
        line-height: 2;
        margin-bottom: 1.2rem;
    }

    .scholarly-box {
        background: var(--m-mint);
        border-left: 5px solid var(--m-primary);
        padding: 30px;
        border-radius: 15px;
    }

    /* Journey Steps */
    .journey-step {
        position: relative;
        text-align: center;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        background: white;
        border: 2px solid var(--m-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: var(--m-primary);
        font-size: 1.5rem;
        transition: all 0.3s ease;
    }

    .journey-step:hover .step-icon {
        background: var(--m-primary);
        color: white;
    }

    /* Risk Box */
    .risk-alert-box {
        border: 2px solid var(--m-danger);
        background: #fef2f2;
        border-radius: 25px;
        padding: 40px;
    }

    .check-item {
        display: flex;
        gap: 15px;
        margin-bottom: 15px;
        background: white;
        padding: 15px;
        border-radius: 10px;
        border: 1px solid #fee2e2;
    }

    /* Pillar Cards (Section 9) */
    .m-pillar-card {
        background: #111827 !important;
        /* Dark Navy/Slate 900 */
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .m-pillar-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    }

    .m-pillar-card h5 {
        color: white !important;
        font-weight: 700;
        margin-bottom: 0.75rem;
    }

    .m-pillar-card p {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .m-pillar-card i {
        color: var(--m-primary) !important;
    }

    /* Scenario Cards (Section 7) */
    .m-scenario-card {
        background: #111827 !important;
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .m-scenario-card span {
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .m-scenario-card strong {
        color: white !important;
    }

    .m-scenario-card .border-top {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }
