/* ============================================================
   SHIFT Ai — shared stylesheet for the Arabic (/ar/) pages.
   Arabic-first: RTL and Cairo are the defaults here, not a toggle.
   Colours and type scale match the English pages exactly.
   ============================================================ */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --red: #E5524A;
  --red-dark: #C43F38;
  --red-glow: rgba(229,82,74,0.25);
  --bg: #0A0A0A;
  --bg2: #111111;
  --card: rgba(255,255,255,0.04);
  --card-h: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-h: rgba(229,82,74,0.35);
  --text: #F0EDE8;
  --muted: #9A9A9A;
  --dim: #555555;
  --fn-ar: 'Cairo', sans-serif;
  --ease: 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--fn-ar); line-height: 1.85;
  overflow-x: hidden; overflow-x: clip; max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 900px; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; padding: 16px 0; transition: all var(--ease); border-bottom: 1px solid transparent; }
.nav.on { background: rgba(10,10,10,.92); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { height: 34px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-back { font-size: 13px; color: var(--muted); transition: color var(--ease); }
.nav-back:hover { color: var(--text); }
.nav-cta { background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 100px; transition: all var(--ease); white-space: nowrap; }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }
@media (max-width: 640px) { .nav-back { display: none; } }

/* ===== HERO ===== */
.hero { padding: 150px 0 60px; position: relative; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 50% 0%, rgba(229,82,74,.10), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--red); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--red); }
h1 { font-family: var(--fn-ar); font-weight: 900; font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1.3; margin-bottom: 20px; }
h1 .accent { color: var(--red); }
.lede { font-size: clamp(1rem, 2vw, 1.16rem); color: var(--muted); max-width: 720px; }
.lede strong { color: var(--text); font-weight: 700; }

/* ===== SECTION ===== */
.section { padding: 62px 0; border-top: 1px solid var(--border); }
.section-alt { background: var(--bg2); }
h2 { font-family: var(--fn-ar); font-weight: 800; font-size: clamp(1.45rem, 3.2vw, 2.05rem); line-height: 1.4; margin-bottom: 18px; }
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.section p { color: var(--muted); max-width: 760px; }
.section p + p { margin-top: 14px; }
.section p strong { color: var(--text); font-weight: 700; }

/* ===== CARDS / GRIDS ===== */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 22px; transition: all var(--ease); }
.card:hover { background: var(--card-h); border-color: var(--border-h); }
.card-n { font-weight: 800; font-size: .95rem; color: var(--red); letter-spacing: .1em; margin-bottom: 10px; }
.card p { font-size: .94rem; color: var(--muted); }

/* ===== STATS ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 24px 18px; }
.stat-n { font-weight: 900; font-size: 2.3rem; line-height: 1; margin-bottom: 6px; }
.stat-n span { color: var(--red); }
.stat-l { font-size: .78rem; color: var(--muted); }

/* ===== CHIPS ===== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { background: var(--card); border: 1px solid var(--border); border-radius: 100px; padding: 9px 18px; font-size: .87rem; }

/* ===== FACT LIST ===== */
.facts { list-style: none; margin-top: 20px; display: grid; gap: 12px; max-width: 760px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .96rem; }
.facts li::before { content: '—'; color: var(--red); flex: none; }
.facts b { color: var(--text); font-weight: 700; }

/* ===== FAQ ===== */
.qa { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; transition: all var(--ease); }
.qa:hover, .qa[open] { background: var(--card-h); border-color: var(--border-h); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 1.02rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; color: var(--red); font-size: 1.5rem; line-height: 1; flex: none; transition: transform var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 24px 22px; color: var(--muted); font-size: .97rem; }
.qa .a a { color: var(--red); }
.qa .a strong { color: var(--text); font-weight: 700; }
.faq-group-t { font-size: .76rem; letter-spacing: .1em; color: var(--red); font-weight: 800; margin: 40px 0 16px; }

/* ===== VIDEO ===== */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 24px; }
.vcard { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: all var(--ease); }
.vcard:hover { background: var(--card-h); border-color: var(--border-h); transform: translateY(-2px); }
.vfacade { position: relative; width: 100%; aspect-ratio: 16/9; display: block; cursor: pointer; }
.vfacade img { width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: rgba(229,82,74,.92); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform var(--ease); }
.vfacade:hover .vplay { transform: scale(1.12); }
.vcard iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.vtitle { padding: 14px 16px; font-size: .93rem; font-weight: 700; }
.vclient { padding: 0 16px 14px; font-size: .78rem; color: var(--muted); }

/* ===== CTA ===== */
.cta-box { background: linear-gradient(140deg, rgba(229,82,74,.14), rgba(229,82,74,.03)); border: 1px solid var(--border-h); border-radius: 20px; padding: 46px 32px; text-align: center; }
.btn-red { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: 1rem; padding: 16px 34px; border-radius: 100px; margin-top: 20px; transition: all var(--ease); box-shadow: 0 6px 26px var(--red-glow); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-ghost { display: inline-block; border: 1px solid var(--border); padding: 16px 30px; border-radius: 100px; margin: 20px 10px 0 0; font-weight: 700; transition: all var(--ease); }
.btn-ghost:hover { border-color: var(--border-h); background: var(--card); }

/* ===== PRICE ===== */
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.price-big { font-weight: 900; font-size: 3rem; line-height: 1; }
.price-cur { color: var(--muted); font-weight: 700; }

/* ===== FOOTER ===== */
.footer { padding: 52px 0; border-top: 1px solid var(--border); text-align: center; }
.footer-logo { height: 30px; width: auto; margin: 0 auto 18px; opacity: .8; }
.footer-copy { font-size: .82rem; color: var(--dim); margin-bottom: 14px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; font-size: .87rem; }
.footer-links a { color: var(--muted); transition: color var(--ease); }
.footer-links a:hover { color: var(--red); }

/* ===== FLOATING ===== */
.wa-float { position: fixed; bottom: 24px; left: 24px; z-index: 1000; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,.45); transition: transform .3s ease; }
.wa-float:hover { transform: scale(1.1); }
.lang-btn { position: fixed; bottom: 96px; left: 24px; z-index: 1000; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 100px; transition: all var(--ease); box-shadow: 0 4px 24px var(--red-glow); }
.lang-btn:hover { background: var(--red-dark); transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
