:root { --bg:#0b1020; --surface:#121a2c; --surface-2:#17223a; --text:#edf4ff; --muted:#9daac2; --line:rgba(255,255,255,.1); --accent:#65e6c4; --accent-2:#8aa7ff; --shadow:0 24px 70px rgba(0,0,0,.25); }
:root.light { --bg:#f4f7fb; --surface:#fff; --surface-2:#eef3fb; --text:#17213a; --muted:#64708a; --line:rgba(23,33,58,.12); --accent:#0aa882; --accent-2:#536ff1; --shadow:0 24px 70px rgba(30,50,90,.12); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:radial-gradient(circle at 10% 0%, rgba(101,230,196,.12), transparent 32rem), radial-gradient(circle at 90% 15%, rgba(138,167,255,.15), transparent 28rem), var(--bg); color:var(--text); font-family:'IBM Plex Sans Arabic',sans-serif; min-height:100vh; }
.noise { position:fixed; inset:0; pointer-events:none; opacity:.025; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.site-header { position:sticky; top:0; z-index:10; display:flex; align-items:center; justify-content:space-between; gap:1.2rem; padding:1rem clamp(1rem,4vw,4rem); background:color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter:blur(18px); border-bottom:1px solid var(--line); }
.brand { color:var(--text); text-decoration:none; font-weight:700; display:flex; align-items:center; gap:.7rem; white-space:nowrap; }
.brand-mark { display:inline-grid; place-items:center; width:2.2rem; height:2.2rem; border-radius:.8rem; color:#07121b; background:linear-gradient(135deg,var(--accent),var(--accent-2)); font-weight:700; font-size:1.2rem; }
.brand-mark.small { width:1.6rem; height:1.6rem; border-radius:.5rem; font-size:.9rem; }
.nav { display:flex; gap:.3rem; flex-wrap:wrap; justify-content:center; }
.nav a { color:var(--muted); text-decoration:none; padding:.55rem .85rem; border-radius:.7rem; font-size:.95rem; transition:.2s; }
.nav a:hover,.nav a.active { color:var(--text); background:var(--surface-2); }
.theme-toggle { border:1px solid var(--line); background:var(--surface); color:var(--text); border-radius:50%; width:2.5rem; height:2.5rem; cursor:pointer; font-size:1.1rem; }
main { width:min(1120px, calc(100% - 2rem)); margin:0 auto; padding:clamp(2.5rem,7vw,6rem) 0 5rem; }
.hero { display:grid; grid-template-columns:1.2fr .8fr; gap:3rem; align-items:center; min-height:65vh; }
.eyebrow { color:var(--accent); font-weight:600; letter-spacing:.03em; }
h1,h2,h3 { margin:0 0 1rem; line-height:1.2; letter-spacing:-.03em; }
h1 { font-size:clamp(2.7rem,7vw,6rem); max-width:10ch; }
h2 { font-size:clamp(2rem,4vw,3.3rem); }
h3 { font-size:1.25rem; }
p { color:var(--muted); line-height:1.9; margin:.5rem 0 1.2rem; }
.hero p { font-size:1.1rem; max-width:42rem; }
.actions { display:flex; gap:.8rem; flex-wrap:wrap; margin-top:1.7rem; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:.85rem 1.15rem; border-radius:.8rem; text-decoration:none; border:1px solid var(--line); color:var(--text); background:var(--surface); font-weight:600; cursor:pointer; }
.button.primary { color:#07121b; background:var(--accent); border-color:transparent; }
.button:hover { transform:translateY(-2px); box-shadow:var(--shadow); }
.hero-card { position:relative; min-height:320px; padding:1.5rem; border:1px solid var(--line); background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 95%, var(--accent)),var(--surface-2)); border-radius:2rem; box-shadow:var(--shadow); overflow:hidden; }
.hero-card:after { content:''; position:absolute; width:240px; height:240px; left:-70px; bottom:-90px; border-radius:50%; background:var(--accent-2); filter:blur(45px); opacity:.35; }
.orb { width:130px; height:130px; border-radius:40% 60% 55% 45%; background:linear-gradient(135deg,var(--accent),var(--accent-2)); transform:rotate(18deg); margin:1rem auto 2rem; box-shadow:0 0 70px color-mix(in srgb,var(--accent) 45%,transparent); }
.card-label { color:var(--muted); font-size:.9rem; }
.stat-row { display:flex; justify-content:space-between; gap:1rem; border-top:1px solid var(--line); padding-top:1rem; position:relative; z-index:1; }
.stat strong { display:block; font-size:1.4rem; }
.section-head { display:flex; align-items:end; justify-content:space-between; gap:1rem; margin:3rem 0 1.4rem; }
.section-head p { margin:0; }
.grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.card { border:1px solid var(--line); background:color-mix(in srgb,var(--surface) 92%, transparent); padding:1.4rem; border-radius:1.2rem; min-height:190px; transition:.2s; }
.card:hover { transform:translateY(-4px); border-color:color-mix(in srgb,var(--accent) 55%,var(--line)); }
.icon { display:grid; place-items:center; width:2.8rem; height:2.8rem; border-radius:.8rem; background:var(--surface-2); font-size:1.25rem; margin-bottom:1.1rem; }
.tag { display:inline-block; color:var(--accent); font-size:.82rem; margin-bottom:.6rem; }
.page-intro { max-width:700px; margin-bottom:2rem; }
.profile { display:grid; grid-template-columns:.8fr 1.2fr; gap:1rem; }
.profile-panel { border:1px solid var(--line); background:var(--surface); border-radius:1.2rem; padding:1.5rem; }
.facts { display:grid; grid-template-columns:repeat(2,1fr); gap:.7rem; margin-top:1.3rem; }
.fact { background:var(--surface-2); border-radius:.8rem; padding:.9rem; } .fact small { color:var(--muted); display:block; margin-bottom:.2rem; }
.timeline { border-right:2px solid var(--line); padding-right:1.3rem; } .timeline-item { position:relative; margin-bottom:1.5rem; } .timeline-item:before { content:''; position:absolute; right:-1.72rem; top:.4rem; width:.7rem; height:.7rem; background:var(--accent); border-radius:50%; box-shadow:0 0 0 5px var(--bg); }
.empty { padding:2rem; border:1px dashed var(--line); border-radius:1.2rem; text-align:center; color:var(--muted); }
.site-footer { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:1.5rem clamp(1rem,4vw,4rem); border-top:1px solid var(--line); color:var(--muted); font-size:.9rem; }
.site-footer>div:first-child { color:var(--text); font-weight:600; display:flex; gap:.5rem; align-items:center; }
@media (max-width:760px) { .site-header { flex-wrap:wrap; } .nav { order:3; width:100%; overflow:auto; justify-content:flex-start; } .hero,.profile { grid-template-columns:1fr; } .hero { min-height:auto; } .grid { grid-template-columns:1fr; } h1 { max-width:12ch; } .section-head { display:block; } }
