:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --muted: #6b7280;
    --text: #0f172a;
    --accent: #2563eb;
    --accent-2: #06b6d4;
    --success: #10b981;
    --danger: #ef4444;
    --glass: rgba(255, 255, 255, 0.6);
    --radius: 12px;
    --container-width: 1160px; /* Wider container */
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12); /* Enhanced shadow */
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
}

/* Base & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    /* Assume 'Tajawal' font is imported (RTL support) */
    font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5; /* Improved readability */
    direction: rtl; /* Set default direction */
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text);
    font-weight: 700;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }

.p-muted {
    color: var(--muted);
}