/* مِرآب — ثيم الموقع مبني حرفيًا من docs/TOKENS.md (نفس ألوان وخطوط ومسافات التطبيق) */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Qahwa Arabic';
  src: url('/assets/fonts/Qahwa-Arabic.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Milan Display';
  src: url('/assets/fonts/MilanDisplay-Black.otf') format('opentype');
  font-display: swap;
}

:root {
  /* الأسطح */
  --bg: #0A0A0B;
  --surface: #141418;
  --surface-alt: #0F0F11;
  --elevated: #1D1D22;
  --icon-bg: #1B1B21;
  --nav-bg: #101013;

  /* العلامة */
  --red: #E11212;
  --red-light: #FF2B22;
  --red-dark: #B80808;
  --red-tint: #2A0505;
  --red-border: #731010;

  /* النص */
  --text: #FFFFFF;
  --text-sec: #9A9AA0;
  --text-muted: #5E5E66;

  /* الحدود */
  --line: #232327;
  --line-soft: #141419;

  /* الحالة */
  --ok: #2ED573;
  --warn: #FFB020;
  --due: #E11212;

  /* المسافات */
  --sp-screen: 24px;
  --sp-card: 16px;
  --sp-section: 18px;
  --sp-gap-card: 12px;
  --sp-gap-item: 8px;

  /* أنصاف الأقطار */
  --r-hero: 24px;
  --r-card: 20px;
  --r-grid: 16px;
  --r-button: 16px;
  --r-icon: 14px;
  --r-badge: 999px;

  --font: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-heading: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

/* خط الموقع بالعربي فقط — الإنجليزي يبقى IBM Plex Sans Arabic كما هو.
   نفس تقسيم التطبيق (docs/TOKENS.md): Qahwa Arabic للعناوين فقط،
   Milan Display للمحتوى والأرقام (هو الخط الافتراضي --font). */
html[lang="ar"] {
  --font: 'Milan Display', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-heading: 'Qahwa Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

h1, h2, h3,
.brand-name,
.mock-section-head .m-title,
.mock-name-block .m-title,
.mock-title-h2 {
  font-family: var(--font-heading);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-screen);
}

/* -------------------- شريط التنقل -------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 16, 19, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(225, 18, 18, 0.65);
}

.brand-mark img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.brand-name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--text-sec);
}

.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-button);
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 24px -10px rgba(225, 18, 18, 0.7);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-badge);
  border: 1px solid var(--line);
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 600;
  transition: color .15s ease, border-color .15s ease;
}

.lang-switch:hover { color: var(--text); border-color: var(--red-border); }

/* -------------------- الهيرو -------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 60px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(60% 60% at 50% 0%, rgba(225, 18, 18, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-badge);
  background: var(--red-tint);
  border: 1px solid var(--red-border);
  color: #ff8f86;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
}

.hero h1 span { color: var(--red-light); }

.hero p.lead {
  font-size: 17px;
  color: var(--text-sec);
  max-width: 460px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border-radius: var(--r-button);
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 18px 34px -14px rgba(225, 18, 18, 0.75);
  border: none;
  cursor: pointer;
}

.btn-primary small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  opacity: 0.85;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  border-radius: var(--r-button);
  background: var(--elevated);
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stats div strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
}

.hero-stats div span {
  font-size: 12px;
  color: var(--text-muted);
}

/* هاتف الهيرو */

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  inset: 6% 14%;
  background: radial-gradient(50% 50% at 50% 40%, rgba(225, 18, 18, 0.45), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(280px, 78vw);
  padding: 4px;
  border-radius: 46px;
  background: linear-gradient(160deg, #565660 0%, #232327 16%, #08080a 42%, #0b0b0d 58%, #26262b 84%, #5c5c66 100%);
  box-shadow:
    0 40px 70px -24px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 0 1.5px rgba(255, 255, 255, 0.18);
}

.frame-inner {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
}

.phone-frame img { width: 100%; display: block; }
.phone-frame .mock-viewport { width: 100%; }

.dynamic-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 25px;
  background: #000;
  border-radius: 999px;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dynamic-island::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2c2c3d, #050508 70%);
}

.side-btn {
  position: absolute;
  background: linear-gradient(90deg, #5c5c66, #232327);
}
.btn-action { left: -3px; top: 88px; width: 3px; height: 20px; border-radius: 2px 0 0 2px; }
.btn-vol-up { left: -3px; top: 122px; width: 3px; height: 32px; border-radius: 2px 0 0 2px; }
.btn-vol-down { left: -3px; top: 162px; width: 3px; height: 32px; border-radius: 2px 0 0 2px; }
.btn-power { right: -3px; top: 128px; width: 3px; height: 52px; border-radius: 0 2px 2px 0; }

/* -------------------- أقسام عامة -------------------- */

section { padding: 84px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head .eyebrow { margin-bottom: 16px; }

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--text-sec);
  font-size: 15px;
  margin: 0;
}

/* -------------------- المميزات -------------------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-gap-card);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 26px 22px;
  transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-icon);
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-sec);
  margin: 0;
  line-height: 1.7;
}

/* -------------------- لقطات الشاشة -------------------- */

.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.showcase-item { text-align: center; }

.showcase-item .phone-frame {
  width: min(280px, 70vw);
  margin: 0 auto 20px;
}

.showcase-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.showcase-item p {
  font-size: 13px;
  color: var(--text-sec);
  margin: 0;
}

/* -------------------- الخصوصية (شريط تعريفي بالصفحة الرئيسية) -------------------- */

.privacy-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-hero);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.privacy-band h2 { font-size: 26px; margin: 0 0 14px; }
.privacy-band p { color: var(--text-sec); font-size: 14px; margin: 0 0 20px; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}

.check-dot {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-tint);
  border: 1px solid var(--red-border);
  color: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* -------------------- الدعوة الختامية -------------------- */

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, var(--red-dark) 0%, #2a0402 100%);
  border-radius: var(--r-hero);
  padding: 64px 32px;
}

.cta-band h2 { font-size: 30px; margin: 0 0 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0 0 30px; font-size: 15px; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--red-dark);
  box-shadow: 0 18px 34px -14px rgba(0,0,0,0.5);
}

/* -------------------- تذييل -------------------- */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 13px;
  color: var(--text-sec);
}

.footer-note {
  font-size: 12px;
  color: var(--text-muted);
  max-width: 340px;
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* -------------------- صفحات داخلية (سياسة الخصوصية / تواصل) -------------------- */

.page-header {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-header h1 { font-size: 34px; margin: 0 0 10px; }
.page-header p { color: var(--text-sec); font-size: 14px; margin: 0; }

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px var(--sp-screen) 100px;
}

.doc h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 40px 0 14px;
  padding-top: 6px;
}

.doc h2:first-child { margin-top: 0; }

.doc p, .doc li {
  font-size: 14.5px;
  color: var(--text-sec);
  line-height: 1.9;
}

.doc ul { padding-inline-start: 20px; margin: 10px 0; }
.doc li { margin-bottom: 8px; }

.doc strong { color: var(--text); font-weight: 600; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 20px 22px;
  margin: 18px 0;
}

.info-card .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-card .value { font-size: 15px; font-weight: 600; }

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
  margin-bottom: 8px;
}

.toc .label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.toc ol { margin: 0; padding-inline-start: 18px; display: grid; gap: 8px; }
.toc a { font-size: 13.5px; color: var(--text-sec); }
.toc a:hover { color: var(--red-light); }

/* بطاقات التواصل */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-gap-card);
  margin-top: 8px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-card .feature-icon { margin-bottom: 0; }

.contact-card h3 { font-size: 14px; margin: 0 0 6px; }
.contact-card a, .contact-card span.placeholder {
  font-size: 13.5px;
  color: var(--text-sec);
}

.contact-card a:hover { color: var(--red-light); }

span.placeholder {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 2px 8px;
  color: var(--text-muted);
}

/* -------------------- محاكاة شاشات التطبيق (بدل الصور الثابتة) -------------------- */
/* مقاسات مصغّرة بنفس نسبة docs/TOKENS.md (~×0.64) لعرض محتوى ٢٨٠px بدل ٤٣٠pt الحقيقي */

.mock-viewport {
  --m-display: 22px;
  --m-h2: 15px;
  --m-h3: 11px;
  --m-body: 9px;
  --m-sm: 8px;
  --m-xs: 7px;
  --m-pad: 14px;
  --m-gap-section: 11px;
  --m-gap-card: 8px;
  --m-gap-item: 5px;
  --m-r-hero: 16px;
  --m-r-card: 13px;
  --m-r-grid: 10px;
  --m-r-icon: 9px;
  --m-icon-btn: 26px;
  --m-icon-row: 22px;

  width: 280px;
  min-height: 560px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  direction: rtl;
  padding: var(--m-gap-section) var(--m-pad) 70px;
  display: flex;
  flex-direction: column;
  gap: var(--m-gap-section);
}

.mock-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 2px 4px;
}

.mock-statusbar .m-dots { display: flex; gap: 3px; align-items: center; }

.mock-header {
  display: flex;
  align-items: center;
  gap: var(--m-gap-card);
}

.mock-icon-btn {
  flex: none;
  width: var(--m-icon-btn);
  height: var(--m-icon-btn);
  border-radius: var(--m-r-icon);
  background: var(--elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  position: relative;
}

.mock-icon-btn.m-brand {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
}

.mock-icon-btn .m-dot-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--due);
  border: 1.5px solid var(--bg);
}

.mock-name-block { flex: 1; text-align: center; }
.mock-name-block .m-title { font-size: var(--m-h3); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.mock-name-block .m-plate { display: block; font-size: var(--m-xs); color: var(--text-sec); margin-top: 2px; }

.mock-icon { width: 13px; height: 13px; }
.mock-icon.m-sm { width: 10px; height: 10px; }

.mock-health-card {
  background: linear-gradient(to bottom left, #FF3128 0%, #C50707 55%, #4C0202 100%);
  border-radius: var(--m-r-hero);
  padding: var(--m-pad) 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 14px 26px -12px rgba(225, 18, 18, 0.55);
}

.mock-health-top { display: flex; align-items: center; gap: 10px; }
.mock-health-text { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.mock-health-text .m-label { font-size: var(--m-sm); color: rgba(255,255,255,0.85); }
.mock-health-text .m-score { font-size: var(--m-display); font-weight: 700; letter-spacing: 0.4px; }

.mock-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: var(--m-xs);
  font-weight: 700;
}
.mock-chip.m-ok { background: rgba(46, 213, 115, 0.18); color: var(--ok); }
.mock-chip.m-warn { background: rgba(255, 176, 32, 0.18); color: var(--warn); }
.mock-chip.m-due { background: rgba(225, 18, 18, 0.18); color: #ff8f86; }

.mock-ring { flex: none; width: 58px; height: 58px; }
.mock-ring text { font-size: 15px; font-weight: 700; fill: #fff; font-family: var(--font); }

.mock-health-divider { height: 1px; background: rgba(255,255,255,0.2); }

.mock-health-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--m-sm); color: rgba(255,255,255,0.9); }
.mock-health-bottom .m-odo-label { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.85); }

.mock-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mock-section-head .m-title { font-size: var(--m-h3); font-weight: 700; }
.mock-section-head .m-action { font-size: var(--m-sm); color: var(--red-light); font-weight: 600; }

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.mock-grid-card {
  background: var(--surface);
  border-radius: var(--m-r-grid);
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-grid-card .m-row-top { display: flex; justify-content: space-between; align-items: center; }

.mock-dot { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.mock-dot.m-ok { background: var(--ok); }
.mock-dot.m-warn { background: var(--warn); }
.mock-dot.m-due { background: var(--due); }

.mock-mini-icon {
  width: var(--m-icon-row);
  height: var(--m-icon-row);
  border-radius: 7px;
  background: var(--icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
}

.mock-grid-card .m-name { font-size: var(--m-sm); font-weight: 700; display: block; }
.mock-grid-card .m-sub { font-size: var(--m-xs); margin-top: 2px; display: block; }
.mock-grid-card .m-sub.m-ok { color: var(--ok); }
.mock-grid-card .m-sub.m-warn { color: var(--warn); }
.mock-grid-card .m-sub.m-due { color: var(--due); }

.mock-card-list {
  background: var(--surface);
  border-radius: var(--m-r-card);
  overflow: hidden;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
}

.mock-row + .mock-row { border-top: 1px solid var(--line-soft); }

.mock-row .m-text { flex: 1; }
.mock-row .m-name { font-size: var(--m-sm); font-weight: 700; }
.mock-row .m-sub { font-size: var(--m-xs); color: var(--text-sec); margin-top: 2px; display: block; }
.mock-row .m-sub.m-ok { color: var(--ok); }
.mock-row .m-sub.m-warn { color: var(--warn); }
.mock-row .m-sub.m-due { color: var(--due); }
.mock-row .m-amount { font-size: var(--m-h3); font-weight: 700; }
.mock-row .m-chevron { color: var(--text-muted); flex: none; }

.mock-filters {
  display: flex;
  gap: 6px;
  overflow: hidden;
}
.mock-filter {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--elevated);
  font-size: var(--m-xs);
  font-weight: 600;
  color: var(--text-sec);
  white-space: nowrap;
}
.mock-filter.m-active {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  color: #fff;
}

.mock-alert-list { display: flex; flex-direction: column; gap: 8px; }

.mock-alert-card {
  background: var(--surface);
  border-radius: var(--m-r-card);
  padding: 10px 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.mock-alert-card.m-urgent { border: 1px solid var(--red-border); }

.mock-alert-card .m-body { flex: 1; }
.mock-alert-card .m-top-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.mock-alert-card .m-name { font-size: var(--m-sm); font-weight: 700; }
.mock-alert-card .m-desc { font-size: var(--m-xs); color: var(--text-sec); line-height: 1.6; }
.mock-alert-card .m-desc.m-urgent-text { color: #ff8f86; }

.mock-badge {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 6.5px;
  font-weight: 700;
}
.mock-badge.m-due { background: var(--red-tint); color: #ff8f86; border: 1px solid var(--red-border); }
.mock-badge.m-warn { background: rgba(255,176,32,0.15); color: var(--warn); }

.mock-bottom-nav {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 58px;
  background: var(--nav-bg);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}
.mock-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 6.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.mock-nav-item.m-active { color: var(--text); font-weight: 700; }
.mock-nav-fab {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: -22px;
  border: 3px solid var(--nav-bg);
  box-shadow: 0 10px 18px -8px rgba(225, 18, 18, 0.7);
}

/* -------------------- استجابة الشاشات الصغيرة -------------------- */

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    inset-inline: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-strip { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; padding: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}
