/* صفحة شخصية سودا بسيطة: صورة واسم، أرقام، نبذة، تواصل. لون مميز واحد: نحاسي الهوية */
:root {
  --bg: #060606;
  --card: #1b1b1b;
  --card-line: #2a2a2a;
  --fg: #f3f3f1;
  --muted: #a7a7a2;
  --accent: #d0904f;
  --accent-ink: #120c05;
  --font: "Tajawal", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --gutter: clamp(16px, 5vw, 48px);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f6f6f3;
  --card: #ffffff;
  --card-line: #e3e3de;
  --fg: #121212;
  --muted: #5d5d58;
  --accent: #a8652a;
  --accent-ink: #ffffff;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.18rem); line-height: 1.9; -webkit-font-smoothing: antialiased; transition: background-color .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: var(--gutter); }

/* الرأس */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; text-decoration: none; border: 1.5px solid var(--fg); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.menu { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); font-size: .95rem; font-weight: 500; }
.menu a { text-decoration: none; opacity: .8; }
.menu a:hover, .menu a[aria-current="page"] { opacity: 1; color: var(--accent); }
.theme-btn { background: none; border: 0; color: var(--fg); cursor: pointer; padding: 6px; display: grid; place-items: center; }
.theme-btn svg { width: 22px; height: 22px; }
.lang-btn { text-decoration: none; display: inline-block; background: none; border: 1px solid var(--card-line); color: var(--fg); cursor: pointer; border-radius: 999px; padding: 3px 12px; font: inherit; font-size: .85rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* الواجهة */
.hero { text-align: center; padding-block: clamp(28px, 6vw, 64px) clamp(24px, 5vw, 48px); display: grid; justify-items: center; gap: 10px; }
.photo { width: clamp(160px, 34vw, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 45%, var(--card)), var(--card) 70%); border: 1px solid var(--card-line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .mono { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(4rem, 12vw, 6.5rem); font-weight: 700; color: color-mix(in srgb, var(--fg) 85%, transparent); }
.name { margin: 18px 0 0; font-size: clamp(2.2rem, 1.6rem + 3.2vw, 4rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.role { margin: 0; color: var(--accent); font-weight: 500; font-size: clamp(1rem, .95rem + .4vw, 1.25rem); }
.tagline { margin: 6px 0 0; max-width: 34ch; color: var(--muted); text-wrap: balance; }

/* بطاقات الأرقام */
.stats { max-width: 640px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; padding-block: clamp(16px, 4vw, 40px); }
.stat { background: var(--card); border: 1px solid var(--card-line); border-radius: 12px; padding: 34px 16px 30px; display: grid; justify-items: center; gap: 14px; text-decoration: none; transition: transform .2s, border-color .2s; }
a.stat:hover { transform: translateY(-3px); border-color: var(--accent); }
.stat-num { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 700; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; direction: ltr; }
.stat-icon { width: 26px; height: 26px; color: var(--accent); }
.stat-label { font-size: .9rem; color: var(--muted); line-height: 1.5; text-align: center; }

/* عني */
.about { padding-block: clamp(48px, 9vw, 110px) clamp(40px, 7vw, 90px); }
.about-title { text-align: center; margin: 0 0 clamp(28px, 5vw, 56px); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); font-weight: 700; }
.block { max-width: 68ch; margin-bottom: clamp(32px, 6vw, 64px); }
.block h3 { margin: 0 0 12px; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); font-weight: 500; }
.block p { margin: 0 0 12px; color: var(--muted); }
.block p b { color: var(--fg); font-weight: 500; }

/* الحسابات: شعارات بس */
.accounts { padding-block: 4px 0; }
.account-list { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(10px, 2.5vw, 14px); }
.account { width: clamp(50px, 13vw, 58px); height: clamp(50px, 13vw, 58px); border-radius: 50%; background: var(--card); border: 1px solid var(--card-line); display: grid; place-items: center; color: var(--accent); transition: transform .2s, border-color .2s; }
.account:hover { transform: translateY(-3px); border-color: var(--accent); }
.account svg { width: 26px; height: 26px; }

/* التواصل */
.contact { padding-block: clamp(28px, 6vw, 64px) clamp(56px, 9vw, 110px); }
.contact h1 { text-align: center; margin: 0; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); font-weight: 700; }
.contact .intro { text-align: center; color: var(--muted); margin: 10px auto 36px; max-width: 46ch; }
form { max-width: 620px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: .92rem; font-weight: 500; }
label.full, .form-foot { grid-column: 1 / -1; }
input, textarea { font: inherit; font-size: 1rem; color: var(--fg); background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
textarea { min-height: 150px; resize: vertical; }
.req { color: var(--accent); }
.form-foot { display: grid; justify-items: center; gap: 10px; margin-top: 6px; }
.btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 12px 40px; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.form-note { margin: 0; color: var(--muted); font-size: .92rem; min-height: 1.6em; text-align: center; }

/* التذييل */
.site-foot { border-top: 1px solid var(--card-line); padding-block: 40px 32px; text-align: center; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 20px; }
.socials a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; opacity: .85; font-size: .95rem; }
.socials a:hover { opacity: 1; color: var(--accent); }
.socials svg { width: 22px; height: 22px; }
.copy { color: var(--muted); font-size: .88rem; margin: 0; }

/* ظهور خفيف أول ما يبان القسم (بس لو JavaScript شغال، والمحتوى ظاهر بدونه) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
