/* ============ الموقع التعريفي — قِطاف (الهوية 1.3) ============
   النص الأبيض يوضع على درجات solid فقط (تباين ≥ 4.5). */
:root {
  --pink: #be185d; --pink-2: #d8b4fe; --violet: #9333ea; --violet-2: #c084fc; --peach: #c2410c; --mint: #0f766e; --sky: #2563eb; --sun: #a16207;
  --brand-ink: #7e22ce;
  --ink: #4a2341; --ink-2: #633052; --muted: #7c3b66; --line: #ecdff9; --bg: #fffafd; --soft: #faf5ff; --lav: #f7f2ff; --white: #fff;
  --wa: #15803d; --wa-2: #166534;
  --grad: linear-gradient(135deg, #9333ea 0%, #be185d 100%);
  --shadow-sm: 0 4px 14px rgba(74, 35, 65, .08); --shadow: 0 18px 50px rgba(74, 35, 65, .12); --shadow-lg: 0 30px 80px rgba(74, 35, 65, .2);
  --r: 22px; --r-lg: 32px;
  --head: "Baloo Bhaijaan 2", "Readex Pro", system-ui, sans-serif;
  --body: "Readex Pro", system-ui, "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.3; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }

/* ---------- الأزرار ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 4px 0 var(--brand-ink), 0 12px 26px rgba(147, 51, 234, .22); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--pink-2); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-2); }
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn-lg { padding: 16px 32px; font-size: 1.15rem; }
.wa-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- الرأس ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 253, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(91, 33, 82, .06); }
.nav-in { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--grad); box-shadow: 0 8px 20px rgba(147, 51, 234, .3); }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.3rem; }
.menu { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.menu a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 12px; font-size: .97rem; }
.menu a:not(.btn):hover { background: var(--soft); color: var(--brand-ink); }
.menu a.on { color: var(--brand-ink); background: var(--soft); }
.menu-sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.menu-login { font-size: .9rem !important; color: var(--muted) !important; }
.menu .btn { margin-inline-start: 6px; }
.menu-btn { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- الأقسام العامة ---------- */
.section { padding: 96px 0; position: relative; }
.section.tint { background: linear-gradient(180deg, var(--soft), var(--lav)); }
.section.tight { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brand-ink); font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.sec-head p { color: var(--muted); font-size: 1.12rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.2rem; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- البطل ---------- */
.hero { position: relative; padding: 70px 0 110px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: -1; }
.hero::before { width: 560px; height: 560px; background: #fbcfe8; top: -160px; inset-inline-end: -120px; }
.hero::after { width: 520px; height: 520px; background: #e9d5ff; bottom: -200px; inset-inline-start: -140px; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.2; margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: .97rem; }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-inline-end: 8px; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: .8rem; font-weight: 800; }
.hero-visual { position: relative; height: 620px; }
.hero-visual .phone { position: absolute; width: 270px; }
.hero-visual .phone.p1 { inset-inline-end: 6%; top: 0; transform: rotate(4deg); z-index: 2; }
.hero-visual .phone.p2 { inset-inline-start: 4%; top: 70px; transform: rotate(-6deg); z-index: 1; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); font-family: var(--head); font-weight: 700; animation: bob 5s ease-in-out infinite; }
.float-chip.c1 { top: 60px; inset-inline-start: 0; color: #15803d; }
.float-chip.c2 { bottom: 120px; inset-inline-end: 0; color: var(--violet); animation-delay: -2s; }
.float-chip.c3 { bottom: 30px; inset-inline-start: 18%; color: var(--peach); animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- إطارات الأجهزة ---------- */
.phone { background: #1f1020; padding: 10px; border-radius: 44px; box-shadow: var(--shadow-lg), inset 0 0 0 2px #3d2340; position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 14px; background: #1f1020; z-index: 2; }
.phone img { border-radius: 34px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff5fa; }
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #fbf1f7; border-bottom: 1px solid var(--line); direction: ltr; }
.browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #fda4af; }
.browser-bar i:nth-child(2) { background: #fcd34d; } .browser-bar i:nth-child(3) { background: #86efac; }
.browser-bar span { flex: 1; margin-left: 12px; padding: 4px 14px; border-radius: 8px; background: #fff; color: var(--muted); font-size: .85rem; font-family: var(--body); }
.browser img { width: 100%; }

/* ---------- شريط الأرقام ---------- */
.stats { margin-top: -54px; position: relative; z-index: 5; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 22px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { direction: ltr; unicode-bidi: isolate; display: block; font-family: var(--head); font-size: 2.3rem; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- البطاقات ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; margin-bottom: 18px; background: var(--soft); }
.card h3 { font-size: 1.4rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { padding: 6px 0; color: var(--ink-2); font-weight: 500; }
.card li::before { content: "🌸"; margin-inline-end: 8px; font-size: .85em; }
.ico.pink { background: #fce7f3; } .ico.violet { background: #f3e8ff; } .ico.peach { background: #ffedd5; } .ico.mint { background: #d1fae5; } .ico.sky { background: #dbeafe; } .ico.sun { background: #fef9c3; }
.card.audience { position: relative; overflow: hidden; }
.card.audience::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--soft); z-index: 0; }
.card.audience > * { position: relative; z-index: 1; }

/* ---------- عرض الألعاب ---------- */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-tile { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.game-tile .em { font-size: 34px; width: 58px; height: 58px; flex: none; display: grid; place-items: center; border-radius: 18px; background: var(--soft); }
.game-tile h3 { font-size: 1.2rem; margin-bottom: 2px; }
.game-tile p { color: var(--muted); font-size: .95rem; margin: 0; }
.gallery { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.gallery .phone { width: 300px; }
.gallery-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-tabs button { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; text-align: start; transition: border-color .2s, background .2s; }
.gallery-tabs button span { font-size: 1.5rem; }
.gallery-tabs button:hover { border-color: var(--pink-2); }
.gallery-tabs button[aria-pressed="true"] { border-color: var(--brand-ink); background: var(--soft); color: var(--brand-ink); }
.gallery-cap { margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: #fff; border: 1px dashed var(--pink-2); color: var(--ink-2); font-weight: 500; min-height: 64px; }

/* ---------- عرض جانبي (نص + صورة) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.split .phone { width: 290px; margin: 0 auto; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .8rem; font-weight: 800; }
.checks b { color: var(--ink); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--brand-ink); font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.phones-row { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.phones-row .phone { width: 250px; }
.phones-row figure { margin: 0; text-align: center; }
.phones-row figcaption { margin-top: 16px; font-family: var(--head); font-weight: 700; color: var(--ink-2); }

/* ---------- الخطوات ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: st; }
.step { position: relative; padding: 34px 28px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: -22px; inset-inline-start: 26px; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(147, 51, 234, .35); }
.step h3 { font-size: 1.25rem; margin-top: 8px; }
.step p { color: var(--muted); margin: 0; }
.steps.six { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }

/* ---------- صفحة الألعاب ---------- */
.game-row { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.game-row:last-child { border-bottom: 0; }
.game-row:nth-child(even) > .phone { order: 2; }
.game-row .phone { width: 280px; }
.game-row h2 { font-size: 2rem; display: flex; align-items: center; gap: 12px; }
.game-row h2 .em { font-size: 2.4rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.game-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.game-nav a { display: inline-flex; gap: 6px; align-items: center; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; }
.game-nav a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

/* ---------- الأسئلة الشائعة ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--head); font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-ink); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ---------- صفحة التواصل ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 36px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink-2); }
.contact-card .ico { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; font-size: 32px; background: var(--soft); margin-bottom: 8px; }
.contact-card.wa { background: linear-gradient(160deg, #effdf4, #fff); border-color: #bbf7d0; }
.contact-card.wa .ico { background: var(--wa); color: #fff; }
.contact-card.wa .ico svg { width: 38px; height: 38px; fill: #fff; }
.contact-card h3 { margin: 0; font-size: 1.3rem; }
.contact-card bdi { font-weight: 700; font-size: 1.1rem; color: var(--ink-2); }
.contact-card .go { margin-top: 10px; font-weight: 700; color: var(--brand-ink); }
.contact-card.wa .go { color: var(--wa-2); }
.page-hero { padding: 70px 0 50px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 700px; height: 380px; border-radius: 50%; background: radial-gradient(#fbcfe8, transparent 70%); top: -180px; left: 50%; transform: translateX(-50%); z-index: -1; opacity: .7; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero p { max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 1.15rem; }
.note { padding: 18px 22px; border-radius: 18px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ---------- شريط الدعوة والتذييل ---------- */
.cta-band { padding: 40px 0 90px; }
.cta-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 56px; border-radius: var(--r-lg); background: var(--grad); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-in::before { content: "⭐"; position: absolute; font-size: 160px; opacity: .12; top: -30px; inset-inline-start: -20px; transform: rotate(-15deg); }
.cta-in h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-in p { opacity: .92; margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: relative; }
.cta-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-links a { color: #fff; text-decoration: none; font-weight: 600; opacity: .95; }
.cta-links a:hover { text-decoration: underline; }
.foot { background: #2a1426; color: #e9d5e4; padding: 64px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot p { color: #c9adc2; font-size: .95rem; }
.foot h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.foot nav a, .foot-in > div a { display: block; color: #e9d5e4; text-decoration: none; padding: 4px 0; font-size: .95rem; }
.foot nav a:hover, .foot-in > div a:hover { color: #f9a8d4; }
.foot-bottom { border-top: 1px solid #452640; margin-top: 44px; padding-top: 20px; font-size: .88rem; color: #a98aa1; text-align: center; }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- الحركة عند الظهور ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .wa-float::after { animation: none; }
}

/* ---------- الاستجابة ---------- */
@media (max-width: 1080px) {
  .menu-btn { display: flex; }
  .menu { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 16px 20px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(91, 33, 82, .12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s; max-height: calc(100vh - 74px); overflow-y: auto; }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a:not(.btn) { padding: 12px 14px; font-size: 1.05rem; }
  .menu-sep { width: 100%; height: 1px; margin: 8px 0; }
  .menu .btn { margin: 10px 0 0; }
  .hero-in, .split, .gallery, .cta-in { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero { padding-top: 40px; }
  .hero-text { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
  .gallery .phone { margin: 0 auto; }
  .cards, .games-grid, .steps, .steps.six, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .cta-in { padding: 40px 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .hero-visual { height: 470px; }
  .hero-visual .phone { width: 210px; }
  .hero-visual .phone.p2 { top: 50px; }
  .float-chip { font-size: .85rem; padding: 8px 12px; }
  .float-chip.c1 { top: 10px; }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat b { font-size: 1.9rem; }
  .cards, .games-grid, .steps, .steps.six, .contact-grid, .gallery-tabs { grid-template-columns: 1fr; }
  .gallery-tabs { grid-template-columns: repeat(2, 1fr); }
  .game-row { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; text-align: center; }
  .game-row:nth-child(even) > .phone { order: 0; }
  .game-row .phone { margin: 0 auto; width: 250px; }
  .game-row h2 { justify-content: center; }
  .game-row .pills { justify-content: center; }
  .game-row .checks { text-align: start; }
  .split .phone, .gallery .phone { width: 250px; }
  .phones-row .phone { width: 230px; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .cta-in { padding: 34px 22px; }
  .btn-lg { width: 100%; }
  .cta-actions { align-items: stretch; }
  .wa-float { width: 56px; height: 56px; bottom: 16px; inset-inline-end: 16px; }
}
.center-cta { text-align: center; margin-top: 40px; }
.mt { margin-top: 24px; }

/* ===== التعديلان ٢ و٣: رموز أكبر بلا توهج أبيض، ورموز البطاقات بلا مربعات ملوّنة ===== */
.emo { font-size: 1.7em; line-height: 1; vertical-align: -0.18em; display: inline-block; }
.eyebrow { background: none; border: 0; box-shadow: none; padding: 0; font-size: 1.02rem; gap: 10px; }
.tag { background: none; padding: 0; font-size: .98rem; }
.tag .emo { font-size: 1.6em; }
.game-nav a { box-shadow: none; }
.game-nav a .emo { font-size: 1.45em; }
.btn-ghost, .card, .game-tile, .faq details, .contact-card, .step { box-shadow: none; }
.card:hover, .contact-card:hover { box-shadow: none; }
.float-chip { background: #fdf2f8; border: 2px solid var(--line); box-shadow: none; }
.float-chip.c1 { background: #ecfdf5; border-color: #a7f3d0; }
.float-chip.c2 { background: #f5f3ff; border-color: #ddd6fe; }
.float-chip.c3 { background: #fff7ed; border-color: #fed7aa; }
.stats-in { box-shadow: none; }
.card .ico, .card .ico.pink, .card .ico.violet, .card .ico.peach, .card .ico.mint, .card .ico.sky, .card .ico.sun { background: none; width: auto; height: auto; display: block; font-size: 52px; line-height: 1; margin-bottom: 16px; border-radius: 0; }
.game-tile .em { background: none; width: auto; height: auto; font-size: 44px; }
.contact-card .ico { background: none; width: auto; height: auto; font-size: 52px; border-radius: 0; }
.contact-card.wa .ico { background: var(--wa); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; }
.card.audience::after { display: none; }
.gallery-tabs button span { font-size: 1.8rem; }

/* ===== الدردشة ===== */
.chat-float { position: fixed; bottom: 96px; inset-inline-end: 22px; z-index: 61; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(168, 85, 247, .4); }
.chat-float svg { width: 30px; height: 30px; fill: #fff; }
.chat-float[hidden] { display: none; }
.chat-dot { position: absolute; top: 6px; inset-inline-end: 6px; width: 14px; height: 14px; border-radius: 50%; background: #ef4444; border: 2px solid #fff; }
.chat-panel { position: fixed; bottom: 170px; inset-inline-end: 22px; z-index: 70; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 200px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--grad); color: #fff; }
.chat-head b { display: block; font-family: var(--head); font-size: 1.1rem; }
.chat-head small { opacity: .92; font-size: .82rem; }
.chat-x { border: 0; background: rgba(255,255,255,.2); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); min-height: 180px; }
.chat-msg { max-width: 85%; padding: 9px 14px; border-radius: 16px; white-space: pre-wrap; word-wrap: break-word; font-size: .95rem; line-height: 1.6; }
.chat-msg.visitor { align-self: flex-start; background: var(--brand-ink); color: #fff; border-end-start-radius: 4px; }
.chat-msg.staff { align-self: flex-end; background: #fff; border: 1px solid var(--line); border-end-end-radius: 4px; }
.chat-msg.system { align-self: center; background: #f5f3ff; color: #5b21b6; font-size: .85rem; text-align: center; }
.chat-extra { padding: 6px 14px 0; font-size: .88rem; color: var(--muted); }
.chat-extra summary { cursor: pointer; }
.chat-extra input { width: 100%; margin-top: 6px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); font: inherit; }
.chat-extra p { margin: 4px 0 0; font-size: .78rem; }
.chat-form { display: flex; gap: 8px; padding: 10px 14px; align-items: flex-end; }
.chat-form textarea { flex: 1; resize: none; max-height: 120px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); font: inherit; }
.chat-privacy { margin: 0; padding: 0 14px 10px; font-size: .74rem; color: var(--muted); }
@media (max-width: 720px) {
  .chat-float { width: 56px; height: 56px; bottom: 82px; inset-inline-end: 16px; }
  .chat-panel { inset-inline: 16px; width: auto; bottom: 150px; max-height: calc(100vh - 180px); }
}

/* ===== التحكم من اللوحة: حجم الرموز، خلفية الأيقونات، التوهج، المعاينة، والصفحات القانونية ===== */
[hidden] { display: none !important; }
.emo-sm .emo { font-size: 1.25em; } .emo-lg .emo { font-size: 2.2em; }
.emo-sm .card .ico { font-size: 38px; } .emo-lg .card .ico { font-size: 64px; }
.card-ico-bg .card .ico { background: var(--soft) !important; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 18px; font-size: 32px; }
.glow .eyebrow { background: #fff; border: 1px solid var(--line); padding: 6px 16px; box-shadow: var(--shadow-sm); }
.glow .card, .glow .btn-ghost, .glow .float-chip { box-shadow: var(--shadow-sm); }
.preview-bar { position: sticky; top: 0; z-index: 100; background: #4a2341; color: #fff; text-align: center; padding: 8px; font-weight: 700; border-bottom: 3px solid #facc15; }
.legal-foot { margin-top: 10px; display: grid; gap: 6px; }
.legal-foot a { color: #e9d5e4; }
.legal-text { max-width: 860px; }
.legal-text p { color: var(--ink-2); }

/* ===== الهوية 1.3 — المرحلة الخامسة: أيقونات قِطاف بدل الإيموجي ===== */
img.mi, svg.mi { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.22em; flex: none; }
.ico img.mi, .ico svg.mi { width: 1em; height: 1em; vertical-align: 0; }
.card .ico img.mi, .card .ico svg.mi { margin: 0; }
.float-chip img.mi { width: 1.25em; height: 1.25em; }
.eyebrow img.mi, .tag img.mi { width: 1.2em; height: 1.2em; }
.gallery-tabs button img.mi { width: 1.3em; height: 1.3em; margin-inline-end: 4px; }
.cta-links img.mi, .cta-links svg.mi { width: 1.3em; height: 1.3em; vertical-align: -0.3em; }
.contact-card .ico svg.mi { width: 1em; height: 1em; fill: none; }
.chat-head img.mi { width: 1.2em; height: 1.2em; background: #fff; border-radius: 50%; padding: 2px; box-sizing: content-box; }

/* ===== اشتراك الأستاذة: بطاقة السعر ===== */
.price-card { position: relative; max-width: 560px; margin: 0 auto; padding: 44px 32px 36px; text-align: center; background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.price-badge { position: absolute; top: -18px; inset-inline-start: 28px; padding: 7px 18px; border-radius: 999px; background: #facc15; color: #713f12; font-family: var(--head); font-weight: 800; font-size: 1.05rem; transform: rotate(-4deg); box-shadow: 0 4px 0 #eab308; }
.price-line { display: flex; align-items: baseline; justify-content: center; gap: 14px; flex-wrap: wrap; direction: rtl; font-family: var(--head); }
.price-old { font-size: 2rem; font-weight: 700; color: var(--muted); text-decoration-thickness: 3px; text-decoration-color: var(--brand-ink); }
.price-now { font-size: clamp(4rem, 12vw, 6rem); font-weight: 800; line-height: 1; color: var(--brand-ink); }
.price-cur { font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.price-note { margin: 6px 0 22px; color: var(--muted); font-weight: 600; }
.price-list { text-align: start; max-width: 440px; margin: 0 auto 28px; }
.price-plan { margin: 0 0 6px; font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--ink); }

/* ===== التعديل 21: الواجهة التسويقية على الجوال ===== */
.m-cta { display: none; }
@media (max-width: 720px) {
  /* شريط سفلي بدل الزرين العائمين حتى لا يغطيا المحتوى */
  .wa-float, .chat-float { display: none !important; }
  .m-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 65; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(74, 35, 65, .08); }
  .m-cta a, .m-cta button { flex: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 0; font: 700 1rem var(--head); text-decoration: none; cursor: pointer; }
  .m-cta-wa { background: var(--wa); color: #fff; }
  .m-cta-chat { background: var(--violet); color: #fff; }
  .m-cta [hidden] { display: none !important; }
  body { padding-bottom: 76px; }
  .chat-panel { bottom: 84px; max-height: calc(100vh - 110px); }
}
@media (max-width: 1080px) {
  /* أهداف لمس لا تقل عن 44 بكسل على الجوال والآيباد */
  .foot a, .cta-links a, .menu a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
}
/* التسجيل المسبق */
.prereg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 36px 32px; box-shadow: var(--shadow-sm); max-width: 920px; margin: 0 auto; }
#prereg-form { display: grid; gap: 14px; margin-top: 18px; }
#prereg-form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
#prereg-form input:not([type=checkbox]), #prereg-form select, #prereg-form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; font: 500 1rem var(--body, "Readex Pro"), sans-serif; background: #fff; color: var(--ink); }
#prereg-form input:focus, #prereg-form select:focus, #prereg-form textarea:focus { outline: 3px solid rgba(147, 51, 234, .25); border-color: var(--violet); }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
#prereg-form .pr-check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.pr-check input { width: 22px; height: 22px; }
.pr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pr-files { margin: 0; padding: 0 18px; color: var(--ink-2); font-size: .92rem; }
.pr-files .bad, .pr-msg.bad { color: #b42318; }
.pr-msg { min-height: 1.4em; margin: 0; font-weight: 700; }
.pr-msg.ok { color: #067647; }
#prereg-form .btn { justify-self: start; }
.price-card .price-alt { margin-top: 12px; }
