/* قسم المقالات — نفس هوية صفحة الهبوط (styles.css :root) بلا اعتماد عليها،
   لأن صفحات المقالات مستقلة تمامًا وتُحمّل بلا أي JS. */

:root{
  --bg:#00050b; --surface:rgba(255,255,255,.035); --surface-2:rgba(255,255,255,.055);
  --line:rgba(255,255,255,.09); --line-2:rgba(255,255,255,.14);
  --text:#eef1f6; --muted:#98a1b3; --blue:#009cff; --blue-2:#0072e6;
  --green:#37d39b; --red:#ff6a6a;
  --wrap:1120px;   /* عرض الصفحة */
  --read:720px;    /* عرض عمود القراءة — أطول من كذا يتعب العين */
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"IBM Plex Sans Arabic","Segoe UI",system-ui,Tahoma,Arial,sans-serif;
  background:
    radial-gradient(700px 900px at 50% -5%, rgba(0,110,240,.10), rgba(0,110,240,0) 70%),
    var(--bg);
  color:var(--text);direction:rtl;line-height:1.6;
  -webkit-font-smoothing:antialiased;min-height:100vh;
  display:flex;flex-direction:column}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{max-width:var(--wrap);margin:0 auto;padding:0 22px;width:100%}

/* ===== الشريط العلوي (نفس شكل صفحة الهبوط) ===== */
.nav{position:sticky;top:24px;z-index:50;margin:24px auto 0;max-width:820px;width:calc(100% - 52px)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:9px 20px;border:1px solid rgba(255,255,255,.14);border-radius:999px;
  background:rgba(255,255,255,.055);
  backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
.nav-in .logo img{width:40px;height:40px;object-fit:contain}
.nav-links{display:flex;align-items:center;gap:4px;font-size:14.5px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);
  border-radius:999px;padding:5px 6px}
.nav-links a{color:#e7ebf3;padding:7px 15px;border-radius:999px;transition:background .18s ease,color .18s ease}
.nav-links a:hover,.nav-links a[aria-current]{color:#fff;background:rgba(255,255,255,.09)}

.btn{display:inline-flex;align-items:center;gap:8px;border:none;cursor:pointer;font-family:inherit;
  font-weight:700;color:#fff;background:var(--blue);padding:12px 22px;border-radius:999px;font-size:15px;
  transition:transform .22s cubic-bezier(.2,.7,.3,1),filter .22s ease;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25)}
.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.btn.lg{padding:16px 30px;font-size:17px}

/* ===== فتات الطريق ===== */
.crumbs{font-size:13.5px;color:var(--muted);margin-bottom:18px}
.crumbs a:hover{color:#33b4ff}
.crumbs span{opacity:.5;margin:0 7px}

/* ===== رأس الصفحة ===== */
.page-head{padding:64px 0 8px;text-align:center}
.eyebrow{display:flex;align-items:center;justify-content:center;gap:13px;color:#4ab0ee;
  font-size:12px;font-weight:800;letter-spacing:3px;text-transform:uppercase;margin-bottom:16px}
.eyebrow::before,.eyebrow::after{content:"";height:1px;width:38px;background:rgba(0,156,255,.5)}
.page-head h1{font-size:clamp(28px,4vw,44px);font-weight:700;letter-spacing:-.5px;text-wrap:balance}
.page-head p{color:var(--muted);font-size:16px;margin:14px auto 0;max-width:520px}

/* ===== قائمة المقالات ===== */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;
  margin:44px 0 88px}
.card{border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:26px 24px;
  display:flex;flex-direction:column;gap:12px;
  transition:transform .28s cubic-bezier(.2,.7,.3,1),border-color .28s ease,background .28s ease}
.card:hover{transform:translateY(-3px);border-color:var(--line-2);background:var(--surface-2)}
.card .tag{align-self:flex-start;font-size:12px;font-weight:700;color:#4ab0ee;
  background:rgba(0,156,255,.10);border:1px solid rgba(0,156,255,.22);
  padding:4px 12px;border-radius:999px}
.card h2{font-size:19px;font-weight:700;line-height:1.45;letter-spacing:-.2px}
.card p{color:var(--muted);font-size:14.5px;line-height:1.75}
.card .meta{margin-top:auto;padding-top:8px;color:#6d7688;font-size:12.5px;
  display:flex;align-items:center;gap:9px}
.card .meta i{width:3px;height:3px;border-radius:50%;background:#48505f;font-style:normal}

/* ===== المقالة ===== */
.article{padding:52px 0 40px}
.article-head{max-width:var(--read);margin:0 auto 40px}
.article-head h1{font-size:clamp(27px,4.2vw,40px);font-weight:700;line-height:1.35;
  letter-spacing:-.6px;text-wrap:balance}
.article-head .lede{color:var(--muted);font-size:17.5px;line-height:1.8;margin-top:18px}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px;
  padding-top:20px;border-top:1px solid var(--line);color:#6d7688;font-size:13px}
.article-meta i{width:3px;height:3px;border-radius:50%;background:#48505f;font-style:normal}

.prose{max-width:var(--read);margin:0 auto;font-size:16.5px;line-height:1.95}
.prose h2{font-size:clamp(22px,3vw,27px);font-weight:700;letter-spacing:-.3px;
  margin:52px 0 16px;scroll-margin-top:110px}
.prose h3{font-size:19px;font-weight:700;margin:34px 0 12px;color:#dbe2ee}
.prose p{margin:0 0 18px;color:#d4dae5}
.prose strong{color:#fff;font-weight:700}
.prose a:not(.btn){color:#33b4ff;border-bottom:1px solid rgba(51,180,255,.32)}
.prose a:not(.btn):hover{border-bottom-color:#33b4ff}
.prose ul,.prose ol{margin:0 0 20px;padding-inline-start:22px;color:#d4dae5}
.prose li{margin-bottom:10px}
.prose li::marker{color:#4ab0ee}

/* جدول الأسعار — يتمرّر أفقيًا بالجوال بدل ما يكسر الصفحة */
.table-wrap{overflow-x:auto;margin:0 0 24px;border:1px solid var(--line);border-radius:14px}
table{width:100%;border-collapse:collapse;font-size:15px;min-width:460px}
thead th{background:rgba(255,255,255,.04);color:#fff;font-weight:700;text-align:start;
  padding:14px 16px;white-space:nowrap;border-bottom:1px solid var(--line)}
tbody td{padding:13px 16px;color:#d4dae5;border-bottom:1px solid rgba(255,255,255,.05)}
tbody tr:last-child td{border-bottom:none}
tbody td:first-child{color:#fff;font-weight:600}

/* صندوق النقطة المهمة */
.note{border:1px solid rgba(0,156,255,.22);background:rgba(0,156,255,.06);
  border-radius:16px;padding:20px 22px;margin:0 0 26px}
.note .note-h{font-weight:700;color:#5cc0ff;font-size:14px;margin-bottom:8px;
  display:flex;align-items:center;gap:8px}
.note p:last-child{margin-bottom:0}

/* الأسئلة الشائعة */
.faq{display:flex;flex-direction:column;gap:12px;margin:0 0 26px}
.faq details{border:1px solid var(--line);border-radius:16px;background:var(--surface);overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:17px 20px;font-weight:600;font-size:16px;
  display:flex;align-items:center;justify-content:space-between;gap:14px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--blue);font-size:20px;font-weight:400;flex:none;
  transition:transform .28s cubic-bezier(.2,.7,.3,1)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq .a{padding:0 20px 18px;color:var(--muted);font-size:15px;line-height:1.85}

/* دعوة الإجراء بنهاية المقالة */
.cta{max-width:var(--read);margin:60px auto 0;text-align:center;
  border:1px solid var(--line-2);border-radius:22px;padding:44px 28px;
  background:linear-gradient(180deg,rgba(0,110,240,.10),rgba(0,110,240,.02))}
.cta h2{font-size:clamp(22px,3vw,29px);font-weight:700;letter-spacing:-.4px;margin-bottom:12px}
.cta p{color:var(--muted);font-size:15.5px;margin:0 auto 24px;max-width:440px}

/* التالي/السابق */
.more{max-width:var(--read);margin:56px auto 0}
.more h2{font-size:18px;font-weight:700;margin-bottom:16px;color:#dbe2ee}

.footer{margin-top:auto;border-top:1px solid var(--line);padding:26px 0;text-align:center;
  color:#6d7688;font-size:13.5px}
.footer a:hover{color:#98a1b3}

@media (max-width:640px){
  .nav{top:14px;margin-top:14px;width:calc(100% - 28px)}
  .nav-links{display:none}
  .page-head{padding:44px 0 4px}
  .article{padding:34px 0 30px}
  .prose{font-size:16px;line-height:1.9}
  .prose h2{margin:40px 0 14px}
  .cards{gap:14px;margin:32px 0 60px}
  .cta{padding:34px 22px;margin-top:46px}
}
