/* ═══════════════════════════════════════════
   footer.css — الفوتر + الشعار في بلوك navy + السلوقن
   ═══════════════════════════════════════════ */

.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-2);
  padding: 0 0 32px;
  position: relative;
}

/* ── قسم الشعار الكبير في الفوتر ── */
.footer-hero {
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--line-2);
}

/* ══ بلوك الشعار navy في الفوتر ══ */
.footer-hero-logo {
  display: inline-flex;
  background: var(--logo-bg);   /* #0a1628 — ثابت */
  border-radius: 24px;
  padding: 36px 56px;
  margin-bottom: 48px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow:
    0 0 80px rgba(56, 189, 248, 0.18),
    0 0 120px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.footer-hero-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
}
.footer-hero-logo img {
  height: 96px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* ── السلوقن الكبير ── */
.footer-slogan {
  font-family: var(--font-ar);
  font-size: 96px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--text-0);
  margin-bottom: 0;
}
.footer-slogan em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -3px;
}
.footer-slogan-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 4px 18px;
  vertical-align: middle;
  box-shadow: 0 0 12px var(--accent);
}

/* ── منطقة الروابط ── */
.footer-main {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 56px;
  border-bottom: 1px solid var(--line-2);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--container-px);
}

/* ══ شعار العلامة في الفوتر الأسفل (صغير) ══ */
.footer-brand-logo {
  display: inline-flex;
  background: var(--logo-bg);   /* #0a1628 — ثابت */
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.1);
}
.footer-brand-logo img { height: 28px; width: auto; }

/* ── السلوقن الصغير تحت الشعار ── */
.footer-tagline {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 8px;
}

.footer-sub-slogan {
  font-size: 13px;
  color: var(--text-3);
  font-family: var(--font-ar);
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--bg-raised);
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
}
.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.footer-status-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 1px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-list li { font-size: 14px; color: var(--text-2); cursor: pointer; transition: color var(--t-fast); }
.footer-col-list li a { color: inherit; text-decoration: none; }
.footer-col-list li:hover { color: var(--text-0); }

/* ── الشريط السفلي ── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px var(--container-px) 0;
  max-width: var(--container-max);
  margin: 0 auto;
}
.footer-left { display: flex; align-items: center; gap: 24px; }
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
.footer-region {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: border-color var(--t-fast);
  background: none;
  font-family: var(--font-ar);
}
.footer-region:hover { border-color: var(--line-3); }

.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-fast);
  text-decoration: none;
}
.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-slogan { font-size: 72px; }
}
@media (max-width: 768px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; padding-inline: 20px; }
  .footer-slogan { font-size: 48px; letter-spacing: -2px; }
  .footer-hero-logo img { height: 64px; }
  .footer-hero-logo { padding: 24px 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding-inline: 20px; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-slogan { font-size: 36px; letter-spacing: -1.5px; }
}

/* ══════════════════════════════════════════════════
   الفوتر الموحد للصفحات الفرعية — .footer-inner
   يُستخدم في about, faq, privacy, terms, SSR pages
   ══════════════════════════════════════════════════ */

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 36px var(--container-px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* السلوقن الصغير في الفوتر الموحد — override للنسخة الكبيرة */
.footer-inner .footer-slogan {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-3);
  line-height: 1.5;
  font-family: var(--font-ar);
}
.footer-inner .footer-slogan em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.footer-inner .footer-slogan-dot { display: none; }

/* روابط الفوتر الموحد */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--t-fast);
  font-family: var(--font-ar);
  padding: 4px 0;
}
.footer-links a:hover { color: var(--text-1); }

/* حق النشر في الفوتر الموحد */
.footer-inner .footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line-1);
  margin-top: 4px;
}

/* زر اللغة في الفوتر */
.footer-lang-toggle {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 10px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--t-fast);
  min-width: 38px;
  text-align: center;
}
.footer-lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 20px;
  }
  .footer-links { gap: 4px 12px; }
}
