/* نفس هوية قرآن ستوديو: كحلي مخضر، وزمردي، وذهبي */
:root {
  --bg: #071a22;
  --deep: #04121a;
  --card: #0c2630;
  --line: #1d3d45;
  --emerald: #1f8a62;
  --gold: #e4b75c;
  --gold-light: #f8de92;
  --gold-deep: #a8741f;
  --fg: #f6f0df;
  --muted: #b9c7bd;
  --gold-grad: linear-gradient(180deg, #f8de92 0%, #e4b75c 55%, #a8741f 100%);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23e4b75c' stroke-opacity='.09' stroke-width='1'%3E%3Cpath d='M32 10l6.4 15.6L54 32l-15.6 6.4L32 54l-6.4-15.6L10 32l15.6-6.4z'/%3E%3Crect x='17' y='17' width='30' height='30' transform='rotate(45 32 32)'/%3E%3Crect x='17' y='17' width='30' height='30'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { color-scheme: dark; height: 100%; overflow: hidden; }
/* السكرول على الـ body مش على نافذة المتصفح: كده بيتبع اتجاه الصفحة (على الشمال في العربي)،
   و stable بيحجزله مكانه فاللاي اوت مبيتحركش بين صفحة قصيرة وطويلة */
body {
  margin: 0;
  height: 100%;
  overflow-y: auto;
  scrollbar-gutter: stable;
  background: var(--bg);
  color: var(--fg);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
[lang="en"], .en { font-family: "Inter", "IBM Plex Sans Arabic", "Segoe UI", sans-serif; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
.shell { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* الهيدر */
.header { border-bottom: 1px solid var(--line); background: rgba(4, 18, 26, .85); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 10; }
.header .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: "Amiri", serif; font-weight: 700; font-size: 1.35rem; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-deep); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-light); background: var(--card); }

/* الصفحة الرئيسية */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; background: var(--pattern), radial-gradient(ellipse at 50% 0%, rgba(31, 138, 98, .28), transparent 65%); }
.hero .logo { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 22px; border: 2px solid var(--gold); box-shadow: 0 0 0 8px rgba(228, 183, 92, .08), 0 18px 50px rgba(0, 0, 0, .45); }
.hero h1 { margin: 0; font-family: "Amiri", serif; font-size: clamp(2.6rem, 8vw, 4.4rem); line-height: 1.3; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { margin: 14px auto 0; max-width: 40rem; color: var(--muted); font-size: 1.15rem; }
.hero .en-line { margin-top: 6px; font-size: 1rem; }
.cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 26px; border-radius: 999px; background: var(--gold-grad); color: #1d1404; font-weight: 700; text-decoration: none; }
.cta:hover { color: #1d1404; filter: brightness(1.06); }

.section { padding: 56px 0; }
.section h2 { font-family: "Amiri", serif; font-size: 2rem; margin: 0 0 22px; color: var(--gold-light); text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.card h3 { margin: 0 0 6px; color: var(--gold); font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.slots { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.slot { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--gold-deep); color: var(--gold-light); background: rgba(228, 183, 92, .06); }
.banner { width: 100%; aspect-ratio: 2560 / 820; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); } /* الكوفر 16:9 معمول ليوتيوب؛ هنا بنعرض الشريط اللي في النص بس */

/* صفحات الخصوصية والشروط */
.doc { padding: 48px 0 64px; }
.doc .shell { max-width: 760px; }
.doc .label { color: var(--emerald); font-weight: 600; letter-spacing: .04em; }
.doc h1 { margin: 6px 0 4px; font-size: 2.2rem; line-height: 1.3; }
.doc h2 { margin: 34px 0 8px; color: var(--gold); font-size: 1.3rem; }
.doc .meta { color: var(--muted); margin: 0 0 24px; }
.doc li { margin-bottom: 6px; }
.doc code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }

/* الفوتر */
.footer { border-top: 1px solid var(--line); background: var(--deep); padding: 22px 0; color: var(--muted); font-size: .95rem; }
.footer .shell { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold-light); }

@media (max-width: 560px) {
  .header .shell { flex-direction: column; justify-content: center; padding: 10px 0; gap: 6px; }
  .hero { padding: 48px 0 40px; }
}
