/* ============================================================
   عالم عصفورة — نظام التصميم المشترك
   Warm Eastern palette + playful Arabic typography
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rakkas&family=Cairo:wght@400;600;700;900&family=Lalezar&display=swap');

:root {
  /* الألوان الأساسية — دافئة شرقية */
  --sun:        #FFC93C;   /* أصفر شمس */
  --sun-deep:   #FF9F1C;   /* شروق */
  --sky:        #A0E7E5;   /* سماء صافية */
  --sky-deep:   #4D96FF;   /* أزرق ماوي */
  --sand:       #F5E6CA;   /* رمل */
  --sand-deep:  #E8C39E;   /* بيج */
  --palm:       #6BCB77;   /* نخيل */
  --palm-deep:  #2E8B57;   /* ظل نخيل */
  --pomegranate:#E94560;   /* رمان */
  --brick:      #C73E1D;   /* طابوق */
  --mauve:      #9B72CB;   /* بنفسجي — AI accent */
  --ink:        #2D3142;   /* لون النص الأساسي */
  --ink-soft:   #5C6079;
  --cream:      #FFF8E7;   /* خلفية */
  --cream-deep: #FAEDCD;

  /* ظلال دافئة (بدل الرمادي الميت) */
  --shadow-sm: 0 2px 6px rgba(201,140,60,.12);
  --shadow-md: 0 8px 24px rgba(201,140,60,.18);
  --shadow-lg: 0 20px 50px rgba(201,140,60,.22);
  --shadow-glow: 0 0 40px rgba(255,201,60,.5);

  /* زوايا مرحة */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 36px;
  --r-xl: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { direction: rtl; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-weight: 900;
  letter-spacing: 0 !important;     /* العربية تنكسر مع spacing موجب */
  word-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.brand-font { font-family: 'Lalezar', 'Cairo', serif; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   شريط التنقل العلوي
   ============================================================ */
.world-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255,248,231,.85);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 2px solid rgba(255,159,28,.15);
}
.world-nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Lalezar', sans-serif; font-size: 28px;
  color: var(--brick); letter-spacing: 1px;
}
.world-nav .brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  animation: gentle-bob 3s ease-in-out infinite;
}
.world-nav .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.world-nav .links { display: flex; gap: 4px; align-items: center; }
.world-nav .links a {
  padding: 8px 16px; border-radius: var(--r-md);
  font-weight: 700; font-size: 14px; color: var(--ink-soft);
  transition: all .25s ease;
}
.world-nav .links a:hover { background: var(--sun); color: var(--ink); transform: translateY(-2px); }
.world-nav .links a.active { background: var(--ink); color: var(--cream); }
.world-nav .cta {
  padding: 10px 22px; border-radius: var(--r-md);
  background: var(--pomegranate); color: white;
  font-weight: 900; font-size: 14px;
  box-shadow: 0 6px 18px rgba(233,69,96,.35);
  transition: all .25s ease;
}
.world-nav .cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 24px rgba(233,69,96,.45); }

.world-nav .try-link {
  color: var(--ink-soft);
  font-weight: 800; font-size: 13px;
  padding: 8px 10px;
  transition: color .2s ease;
}
.world-nav .try-link:hover { color: var(--pomegranate); }
@media (max-width: 600px) {
  .world-nav .try-link { display: none; }
}

/* ════════ زر السينما داخل hero CTA ════════ */
.asf-cinema-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px 14px 20px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(194,65,12,.3);
  border-radius: 99px;
  color: var(--ink);
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: .2px;
  box-shadow: 0 8px 22px rgba(194,65,12,.18), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.asf-cinema-btn:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(194,65,12,.32), inset 0 1px 0 rgba(255,255,255,.8);
}
.asf-cinema-btn:active { transform: translateY(-1px) scale(.99); }
.asf-cinema-btn .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #DC2626 0%, #C2410C 100%);
  color: #fff;
  padding: 6px 14px 6px 12px;
  border-radius: 99px;
  font-family: 'Rakkas', serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(194,65,12,.45);
  flex-shrink: 0;
  white-space: nowrap;
}
.asf-cinema-btn .pill::before {
  content: '▶';
  font-size: 9px;
  display: inline-block;
  transform: translateY(-1px);
}
.sky-hero.is-dark-phase .asf-cinema-btn {
  background: rgba(15,23,42,.5);
  border-color: rgba(255,201,60,.5);
  color: #FEF3C7;
  box-shadow: 0 8px 22px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
}
.sky-hero.is-dark-phase .asf-cinema-btn:hover {
  background: rgba(15,23,42,.7);
}
@media (max-width: 600px) {
  .asf-cinema-btn { font-size: 13px; padding: 12px 18px; gap: 10px; }
  .asf-cinema-btn .pill { font-size: 12px; padding: 5px 10px; }
}

/* زر قائمة الموبايل */
.mobile-menu-btn {
  display: none;
  width: 42px; height: 42px;
  background: var(--sun);
  border-radius: 12px;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.mobile-menu-btn span {
  display: block; width: 20px; height: 2.5px;
  background: var(--ink); border-radius: 3px;
  position: relative;
}
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  content:''; position:absolute; left:0; width:20px; height:2.5px;
  background: var(--ink); border-radius:3px;
}
.mobile-menu-btn span::before { top: -6px; }
.mobile-menu-btn span::after  { top: 6px; }

.mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: 82%; max-width: 320px; height: 100vh;
  background: var(--cream);
  padding: 80px 24px 24px;
  box-shadow: -20px 0 40px rgba(0,0,0,.2);
  transition: right .35s cubic-bezier(.4,0,.2,1);
  z-index: 99;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer a {
  display: block;
  padding: 14px 18px;
  margin-bottom: 8px;
  border-radius: var(--r-md);
  font-weight: 900; font-size: 16px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.mobile-drawer a:hover, .mobile-drawer a.active {
  background: var(--sun); transform: translateX(-4px);
}
.mobile-drawer a .emo { font-size: 22px; margin-left: 10px; }
.backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 98; opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(3px);
}
.backdrop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
  .world-nav { padding: 10px 14px; }
  .world-nav .links { display: none; }
  .world-nav .brand { font-size: 24px; }
  .mobile-menu-btn { display: flex; }
}
@media (max-width: 480px) {
  .world-nav .cta { padding: 8px 14px; font-size: 12px; }
  .world-nav .brand span:not(.brand-mark) { font-size: 20px; }
  .page-wrap { padding: 85px 16px 60px; }
  .tile { padding: 20px; border-radius: var(--r-md); }
  .btn-sun, .btn-sky { padding: 12px 22px; font-size: 14px; }
  .reveal-btn { padding: 12px 22px; font-size: 14px; }
}

/* ============================================================
   الأزرار العامة
   ============================================================ */
.btn-sun {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--sun), var(--sun-deep));
  color: var(--ink); font-weight: 900; font-size: 16px;
  box-shadow: 0 8px 22px rgba(255,159,28,.35);
  transition: all .25s ease;
}
.btn-sun:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 30px rgba(255,159,28,.5); }

.btn-sky {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-md);
  background: white; color: var(--sky-deep);
  border: 3px solid var(--sky-deep);
  font-weight: 900; font-size: 16px;
  transition: all .25s ease;
}
.btn-sky:hover { background: var(--sky-deep); color: white; transform: translateY(-3px); }

/* ============================================================
   البطاقات والحاويات
   ============================================================ */
.tile {
  background: white;
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255,159,28,.08);
  transition: all .3s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.tile-sun { background: linear-gradient(135deg, var(--sun) 0%, #FFE28A 100%); }
.tile-sky { background: linear-gradient(135deg, var(--sky) 0%, #D6F5F3 100%); }
.tile-palm { background: linear-gradient(135deg, var(--palm) 0%, #B4EDB5 100%); color: white; }
.tile-pom { background: linear-gradient(135deg, var(--pomegranate) 0%, #FF7F9E 100%); color: white; }
.tile-mauve { background: linear-gradient(135deg, var(--mauve) 0%, #C4A5E6 100%); color: white; }

/* ============================================================
   البابات (drawers) للتفاصيل
   ============================================================ */
.reveal-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: var(--ink); color: var(--sun);
  border-radius: var(--r-md);
  font-weight: 900; font-size: 15px;
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
}
.reveal-btn:hover { background: var(--mauve); color: white; transform: scale(1.03); }
.reveal-btn .sparkle { display: inline-block; animation: sparkle-spin 3s linear infinite; }

.secret-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height .6s cubic-bezier(.4,0,.2,1);
}
.secret-drawer.open { max-height: 4000px; }
.secret-drawer-inner {
  margin-top: 28px;
  padding: 32px;
  background: white;
  border-radius: var(--r-lg);
  border: 3px dashed var(--mauve);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   الحركات الأساسية
   ============================================================ */
@keyframes gentle-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-4px) rotate(2deg); }
}
@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes wing-flap {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(-20deg); }
}
@keyframes sparkle-spin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes sun-rays {
  0%, 100% { transform: rotate(0deg); }
  100%     { transform: rotate(360deg); }
}
@keyframes bubble-in {
  0%   { opacity: 0; transform: translateY(20px) scale(.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes palm-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
@keyframes cloud-drift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(40px); }
}

/* شخصية العصفورة — الأجنحة ترفرف */
.bird-char .wing { transform-origin: 60% 40%; animation: wing-flap .35s ease-in-out infinite; }
.bird-char .wing-bg { transform-origin: 60% 40%; animation: wing-flap .35s ease-in-out infinite reverse; }
.bird-char.calm .wing, .bird-char.calm .wing-bg { animation: wing-flap 1.5s ease-in-out infinite; }

/* ============================================================
   الحاوية الرئيسية للصفحات الداخلية
   ============================================================ */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
}
.page-title {
  font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--ink);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.1;
}
.page-subtitle {
  text-align: center;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 48px;
  font-weight: 600;
}

/* ============================================================
   فقاعات المحادثة
   ============================================================ */
.chat-bubble {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 22px;
  font-size: 14px; font-weight: 600;
  max-width: 85%;
  animation: bubble-in .4s cubic-bezier(.4,0,.2,1) both;
  line-height: 1.5;
}
.chat-bubble.customer {
  background: white; color: var(--ink);
  border-bottom-right-radius: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
}
.chat-bubble.ai {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border-bottom-left-radius: 6px;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}

/* ============================================================
   شاشة الهاتف (phone mockup)
   ============================================================ */
.phone-frame {
  width: 320px; max-width: 100%;
  background: var(--ink);
  border-radius: 44px;
  padding: 14px 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.25), 0 0 0 8px rgba(255,159,28,.15);
  position: relative;
}
.phone-frame::before {
  content: ''; position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #000; border-radius: 22px;
  z-index: 2;
}
.phone-screen {
  background: #ECE5DD;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.4) 0, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37,211,102,.08) 0, transparent 40%);
  border-radius: 32px;
  min-height: 520px;
  padding: 50px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.phone-header {
  position: absolute; top: 14px; left: 10px; right: 10px;
  padding: 8px 14px 8px 60px;
  background: #075E54; color: white;
  border-radius: 32px 32px 0 0;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  z-index: 1;
}

/* ============================================================
   Photo Hero — صورة حقيقية + طبقات فنّية فوقها
   بديل عن رسومات SVG اليدوية. كل نشاط له صورته الخاصة في
   /public/hero/{slug}.jpg أو رابط Unsplash مباشر.
   ============================================================ */
.photo-hero {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 10 / 9;
  margin: 0 auto;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.08);
  isolation: isolate;
}
.photo-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.photo-hero:hover .photo-hero__img { transform: scale(1.1); }

/* tint بلون النشاط + gradient للقراءة */
.photo-hero__tint {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08) 0%, transparent 35%, rgba(0,0,0,0.55) 100%),
    radial-gradient(ellipse at 75% 25%, transparent 0%, rgba(0,0,0,0.20) 70%);
  mix-blend-mode: multiply;
}
.photo-hero__accent {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
}
.photo-hero__grain {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

/* بطاقات عائمة فوق الصورة */
.photo-hero__card {
  position: absolute;
  z-index: 5;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  font-family: 'Cairo', 'Tajawal', sans-serif;
  animation: photoFloat 4s ease-in-out infinite;
}
.photo-hero__card--tl { top: 18px;  right: 18px; }
.photo-hero__card--br { bottom: 18px; left: 18px; animation-delay: -2s; }
.photo-hero__card--tr { top: 18px; left: 18px; animation-delay: -1s; }
.photo-hero__card--bl { bottom: 18px; right: 18px; animation-delay: -3s; }

.photo-hero__card-label {
  font-size: 10px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: 0;
}
.photo-hero__card-value {
  font-size: 18px; font-weight: 900; color: var(--ink);
  margin-top: 2px;
  letter-spacing: 0;
}
.photo-hero__card-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; color: var(--ink);
  letter-spacing: 0;
}
.photo-hero__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
  animation: photoDot 1.8s ease-in-out infinite;
}
@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes photoDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
  50%      { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
}

/* بطاقات علوية موزّعة side-by-side بدل التكدّس */
.photo-hero__strip--top {
  position: absolute;
  top: 14px; right: 14px; left: 14px;
  z-index: 5;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}
.photo-hero__strip--top > .photo-hero__card {
  position: static;
  animation: none;
  pointer-events: auto;
}

/* شريط الاسم — صفّ مستقل فوق CTA القنوات */
.photo-hero__title {
  position: absolute;
  bottom: 68px;   /* فوق شريط القنوات */
  right: 0; left: 0;
  z-index: 4;
  padding: 0 20px;
  color: #fff;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  letter-spacing: 0;
  text-align: center;
}

/* شريط قنوات التواصل — CTA فعلي */
.photo-hero__channels {
  position: absolute;
  bottom: 14px; right: 14px; left: 14px;
  z-index: 6;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}
.photo-hero__channels-label {
  flex: 1; min-width: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-hero__channels-icons {
  display: flex; align-items: center; gap: 6px;
}
.photo-hero__ch {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform .2s ease;
}
.photo-hero__ch:hover { transform: scale(1.12) rotate(-4deg); }
.photo-hero__ch svg { display: block; width: 18px; height: 18px; }

@media (max-width: 420px) {
  .photo-hero__channels-label { font-size: 11px; }
  .photo-hero__ch { width: 28px; height: 28px; }
  .photo-hero__ch svg { width: 16px; height: 16px; }
}
.photo-hero__title-sub {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.85;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.photo-hero__title-main {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.photo-hero__title-pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 800;
}

/* ============================================================
   إشعار الأدمن — يظهر بعد نهاية محادثة الديمو
   "بنفس اللحظة — إشعار يوصل لرقم المدير"
   ============================================================ */
.admin-notice-wrap {
  margin: 24px auto 10px;
  width: 320px;          /* نفس عرض .phone-frame — يحافظ على محاذاة تحته */
  max-width: 100%;       /* يتقلص لو الـ viewport أضيق */
  display: flex; flex-direction: column; align-items: stretch; gap: 14px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.admin-notice-wrap .admin-notice-arrow { align-self: center; }
.admin-notice-wrap .admin-notice-title { text-align: center; }
.admin-notice-wrap.revealed { opacity: 1; transform: translateY(0); }
.admin-notice-arrow {
  font-size: 28px; line-height: 1;
  color: var(--brick);
  animation: admin-arrow-bounce 1.4s ease-in-out infinite;
}
@keyframes admin-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
.admin-notice-title {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-weight: 900; font-size: 16px;
  color: var(--ink);
  text-align: center; line-height: 1.55;
}
.admin-notice-title small {
  display: block; margin-top: 4px;
  font-weight: 600; font-size: 12.5px; color: var(--ink-soft);
}
.admin-notice-card {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}
.admin-notice-topbar {
  background: #075E54; color: #fff;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800;
}
.admin-notice-topbar .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.admin-notice-topbar .sub {
  font-size: 10.5px; font-weight: 600; opacity: .85;
  display: block; margin-top: 1px;
}
.admin-notice-body {
  padding: 14px;
  background: #ECE5DD;
  background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,.4) 0, transparent 50%);
  min-height: 40px;
}
.admin-notice-bubble {
  background: #DCF8C6;
  border-radius: 14px 14px 3px 14px;
  padding: 10px 12px;
  font-size: 13px; color: var(--ink); line-height: 1.8;
  box-shadow: 0 1px 1px rgba(0,0,0,.08);
  animation: admin-pop .5s ease-out both;
}
.admin-notice-bubble b { font-weight: 900; }
.admin-notice-bubble .time {
  font-size: 10px; color: #7c7c7c;
  margin-top: 6px; text-align: left;
  direction: ltr;
}
@keyframes admin-pop {
  from { opacity: 0; transform: scale(.94) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ============================================================
   الفقرات والشبكات
   ============================================================ */
.grid {
  display: grid; gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ============================================================
   الفوتر
   ============================================================ */
.world-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 24px 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.world-footer::before {
  content: ''; position: absolute; top: -40px; left: 0; right: 0; height: 60px;
  background: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.world-footer a { color: var(--sun); font-weight: 700; }
.world-footer .cols {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; margin-bottom: 40px;
}
.world-footer .col h4 { color: var(--sun); font-size: 18px; margin-bottom: 12px; }
.world-footer .col a { display: block; padding: 4px 0; opacity: .85; }
.world-footer .col a:hover { opacity: 1; }
.world-footer .base {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  opacity: .6; font-size: 13px;
}

/* ============================================================
   أدوات مساعدة
   ============================================================ */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: 8px; } .gap-md { gap: 16px; } .gap-lg { gap: 24px; }
.mb-md { margin-bottom: 16px; } .mb-lg { margin-bottom: 32px; } .mb-xl { margin-bottom: 56px; }
.hidden { display: none; }

/* transition for entire page on navigation */
.page-fade { animation: bubble-in .5s ease-out both; }

/* ============================================================
   مشهد البطل لصفحات الأقسام
   ============================================================ */
.scene-hero {
  position: relative;
  padding: 100px 24px 40px;
  background: var(--sceneBg, linear-gradient(180deg,#FFD89B 0%,#FFB28B 100%));
  overflow: hidden;
}
.scene-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.4), transparent 60%);
  pointer-events: none;
}
.scene-hero-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 800px) { .scene-hero-grid { grid-template-columns: 1fr; gap: 30px; } }
.scene-hero h1 {
  font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0;
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.25; margin-bottom: 14px;
  color: var(--ink);
  /* تحسين تصيير العربي على الموبايل */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-spacing: 1px;
}
.scene-hero .lead {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--ink-soft); font-weight: 700;
  margin-bottom: 26px;
}
.scene-illus { display: grid; place-items: center; }
.scene-illus svg { max-width: 100%; width: 100%; height: auto; }

/* صفحات المشاهد — الشريط التفاعلي لتشغيل المحادثة */
.play-strip {
  max-width: 980px; margin: 0 auto;
  padding: 70px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 800px) { .play-strip { grid-template-columns: 1fr; text-align: center; } .play-strip .phone-col { order: -1; } }
.play-strip h2 { font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0; font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 14px; }
.play-strip p { color: var(--ink-soft); font-weight: 600; margin-bottom: 20px; }
.play-strip ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin: 18px 0 22px; }
.play-strip ul li { padding: 10px 16px; background: white; border-radius: var(--r-md); box-shadow: var(--shadow-sm); font-weight: 700; font-size: 14px; }
.play-strip ul li .num {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  background: var(--sceneAccent, var(--pomegranate)); color: white;
  border-radius: 50%; font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0;
  margin-left: 10px; font-size: 14px;
}

.replay-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: var(--sceneAccent, var(--pomegranate));
  color: white; border-radius: var(--r-md);
  font-weight: 900; font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
}
.replay-btn:hover { transform: translateY(-2px); }

.phone-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; }

/* شبكة الميزات في صفحات المشاهد */
.feat-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feat-card {
  background: white; padding: 24px;
  border-radius: var(--r-md);
  border-right: 5px solid var(--sceneAccent, var(--pomegranate));
  box-shadow: var(--shadow-sm);
  transition: all .25s ease;
}
.feat-card:hover { transform: translateX(-4px); box-shadow: var(--shadow-md); }
.feat-card .ico {
  font-size: 32px; margin-bottom: 10px; display: block;
}
.feat-card h4 { font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0; font-size: 22px; margin-bottom: 6px; }
.feat-card p { font-size: 13px; color: var(--ink-soft); font-weight: 600; line-height: 1.6; }

/* دعوة للعمل في صفحات المشاهد */
.scene-cta {
  max-width: 1000px; margin: 20px auto 60px;
  background: var(--sceneAccent, var(--pomegranate));
  color: white;
  border-radius: var(--r-xl);
  padding: 50px 30px; text-align: center;
  position: relative; overflow: hidden;
}
.scene-cta::before {
  content: ''; position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  top: -110px; right: -60px;
}
.scene-cta h3 { font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0; font-size: clamp(26px, 4vw, 40px); margin-bottom: 10px; position: relative; }
.scene-cta p { font-weight: 700; opacity: .95; margin-bottom: 22px; position: relative; }
.scene-cta .btn-sun { background: white; color: var(--ink); }

/* عنوان القسم */
.section-head { text-align: center; padding: 20px 24px 10px; max-width: 700px; margin: 0 auto; }
.section-head h2 { font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 900; letter-spacing: 0; font-size: clamp(28px, 4.5vw, 44px); margin-bottom: 10px; }
.section-head p { color: var(--ink-soft); font-weight: 600; }

/* انيميشن ظهور */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* لوكو عصفورة — inline داخل النصوص */
.bird-logo-inline {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}

/* ═══════════════════════════════════════════════════════
   🦅 Bird Poses System — wave/idea/message/success
   ════════════════════════════════════════════════════════ */
.pose-art {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(15, 23, 42, .12));
  animation: pose-float 4s ease-in-out infinite;
}
.pose-art--sm { width: 80px; height: 80px; }
.pose-art--md { width: 140px; height: 140px; }
.pose-art--lg { width: 240px; height: 240px; }
.pose-art--xl { width: 320px; height: 320px; }
.pose-art--inline { display: inline-block; vertical-align: middle; width: 40px; height: 40px; filter: none; animation: none; }

@keyframes pose-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}

/* مشهد شامل: العصفور + عناصر سياقية صغيرة تطفو حواليه */
.pose-scene {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}
.pose-scene .pose-art {
  width: 75%;
  height: 75%;
  z-index: 2;
}
.pose-orb {
  position: absolute;
  font-size: 36px;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
  animation: pose-orb-bounce 3s ease-in-out infinite;
}
.pose-orb--1 { top: 8%;  right: 10%; animation-delay: 0s; }
.pose-orb--2 { top: 20%; left:  8%; animation-delay: .8s; font-size: 32px; }
.pose-orb--3 { bottom: 14%; right: 14%; animation-delay: 1.4s; font-size: 28px; }
.pose-orb--4 { bottom: 22%; left: 12%; animation-delay: 2s; font-size: 24px; }

@keyframes pose-orb-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.08); }
}

/* صبغة ضوئية تحت العصفور */
.pose-scene::before {
  content: '';
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: 60%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,.12), transparent 70%);
  transform: translateX(-50%);
  z-index: 1;
}

/* تباين خفيف بحسب الموضوع */
.pose-scene--idea    .pose-art { filter: drop-shadow(0 8px 24px rgba(251, 191, 36, .35)); }
.pose-scene--success .pose-art { filter: drop-shadow(0 8px 24px rgba(34, 197, 94, .35)); }
.pose-scene--wave    .pose-art { filter: drop-shadow(0 8px 24px rgba(59, 130, 246, .35)); }
.pose-scene--message .pose-art { filter: drop-shadow(0 8px 24px rgba(168, 85, 247, .35)); }
