@charset "UTF-8";
/* صفحات الهبوط المستقلة — تنسيق مشترك خفيف */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --brand: #1a56db;
  --brand-dark: #1340a8;
  --ink: #16213a;
  --muted: #5a6b85;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #e4eaf3;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  direction: rtl;
}
h1, h2, h3 { font-family: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif; line-height: 1.4; }
a { color: var(--brand); text-decoration: none; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* الشريط العلوي */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 10;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Cairo', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.logo span { color: var(--brand); }
.btn {
  display: inline-block; background: var(--brand); color: #fff !important;
  padding: 10px 26px; border-radius: 10px; font-weight: 700;
  transition: background .2s; border: none; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--brand-dark); }
.btn.ghost { background: transparent; color: var(--brand) !important; border: 2px solid var(--brand); }

/* البطل */
.hero { padding: 64px 0 48px; text-align: center; }
.hero h1 { font-size: 2.3rem; font-weight: 800; margin-bottom: 16px; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* الأقسام */
section { padding: 48px 0; }
section h2 { font-size: 1.6rem; font-weight: 800; text-align: center; margin-bottom: 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(22,33,58,.08); }
.card .ic { font-size: 1.8rem; margin-bottom: 10px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* خطوات */
.steps { counter-reset: step; }
.step { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.step::before {
  counter-increment: step; content: counter(step);
  background: var(--brand); color: #fff; font-weight: 800;
  min-width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.step div h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step div p { color: var(--muted); font-size: .95rem; }

/* أسئلة شائعة */
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; padding: 16px 20px;
}
.faq summary { font-weight: 700; cursor: pointer; font-size: 1.05rem; list-style: none; }
.faq summary::before { content: '\FF0B  '; color: var(--brand); font-weight: 800; }
.faq details[open] summary::before { content: '\2212  '; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: .95rem; }

/* دعوة ختامية */
.cta {
  background: linear-gradient(135deg, var(--brand), #0e9f6e);
  border-radius: 20px; color: #fff; text-align: center; padding: 48px 24px;
}
.cta h2 { color: #fff; margin-bottom: 12px; }
.cta p { opacity: .9; margin-bottom: 24px; }
.cta .btn { background: #fff; color: var(--brand) !important; }

/* تذييل */
footer { border-top: 1px solid var(--line); padding: 24px 0; text-align: center; color: var(--muted); font-size: .9rem; background: var(--card); }
footer nav { margin-top: 8px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
footer nav a { color: var(--muted); }
footer nav a:hover { color: var(--brand); }
.imx5-footer { text-align: start; }
.imx5-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; max-width: 760px; margin: 0 auto; }
.imx5-cols strong { display: block; color: var(--ink, #1a2330); margin-bottom: 10px; font-size: .95rem; }
.imx5-cols nav { margin: 0; flex-direction: column; align-items: flex-start; gap: 8px; }
.imx5-bar { text-align: center; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; }
.imx5-bar a { color: var(--brand); font-weight: 600; }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.7rem; }
  .hero { padding: 40px 0 32px; }
}
