:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #48D1A5;
    --accent: #FF8B8B;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
body.light-mode {
    --bg-color: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --primary: #4f46e5;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; transition: color 0.3s ease, background-color 0.3s ease; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: 'Outfit', 'Cairo', sans-serif; min-height: 100vh; overflow-x: hidden; }
body[dir="rtl"] { font-family: 'Cairo', sans-serif; }
.bg-blobs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.blob { position: absolute; filter: blur(100px); opacity: 0.4; border-radius: 50%; animation: float 15s infinite alternate ease-in-out; }
.blob-1 { width: 600px; height: 600px; background: var(--primary); top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; background: var(--accent); bottom: -10%; right: -10%; animation-delay: -7s; }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(100px, 100px) scale(1.2); } }
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }
header { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 2rem; background: var(--glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 20px; margin-bottom: 3rem; }
.logo { display: flex; align-items: center; gap: 1rem; font-size: 1.5rem; font-weight: 800; cursor: pointer; text-decoration: none; color: inherit; }
.logo img { width: 40px; height: 40px; }
.controls { display: flex; gap: 1rem; }
.icon-btn { background: transparent; border: none; color: var(--text-main); cursor: pointer; display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-radius: 12px; font-weight: 600; }
.icon-btn:hover { background: rgba(99, 102, 241, 0.15); color: var(--primary); }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 32px; padding: 3rem; box-shadow: var(--card-shadow); line-height: 1.8; }
h1 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--primary); }
h2 { margin: 2rem 0 1rem; color: var(--primary); font-size: 1.5rem; }
p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.1rem; }
.legal-meta { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.legal-cross { margin-top: 2rem; }
ul { margin: 0 0 1.5rem 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
body[dir="rtl"] ul { margin: 0 1.5rem 1.5rem 0; }
li { margin-bottom: 0.5rem; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--primary); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
a.inline { color: var(--primary); font-weight: 600; }
footer { margin-top: 4rem; text-align: center; color: var(--text-muted); padding-bottom: 2rem; }
