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

:root {
  --bg: #f0f4f8;
  --bg-pattern: radial-gradient(circle at 10% 20%, rgba(20,184,166,.06) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(124,58,237,.05) 0%, transparent 40%);
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #14b8a6;
  --brand-dark: #0d9488;
  --accent: #7c3aed;
  --accent-2: #6366f1;
  --gold: #f59e0b;
  --border: rgba(148, 163, 184, 0.22);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
  --radius: 20px;
  --max: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

html.in-iframe,
body.in-iframe {
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

/* ── Category bar (أعلى الصفحة) ── */
.cat-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(90deg, #1e1b4b 0%, #134e4a 50%, #0f766e 100%);
  border-bottom: 2px solid rgba(94, 234, 212, .25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.cat-bar__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.cat-bar__scroll::-webkit-scrollbar { display: none; }

.cat-bar__inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 20px;
  min-width: min-content;
}

.cat-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #ecfdf5 !important;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  transition: all .15s;
  flex-shrink: 0;
}

.cat-bar__link:hover {
  background: rgba(255, 255, 255, .2);
  color: #fff !important;
  transform: translateY(-1px);
  border-color: rgba(153, 246, 228, .4);
}

.cat-bar__link--sections {
  background: linear-gradient(135deg, rgba(124, 58, 237, .5), rgba(20, 184, 166, .4));
  border-color: rgba(153, 246, 228, .35);
}

.cat-bar__icon { font-size: 1rem; line-height: 1; }

/* ── Sections hub ── */
.sections-hub-wrap {
  padding: 20px 0 8px;
}

.sections-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.section-card-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: all .2s;
  color: var(--text) !important;
}

.section-card-mini:hover {
  border-color: rgba(20, 184, 166, .35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text) !important;
}

.section-card-mini__icon { font-size: 1.8rem; line-height: 1; }

.section-card-mini strong {
  font-size: .95rem;
  font-weight: 900;
  color: var(--text);
}

.section-card-mini span:not(.section-card-mini__icon):not(.section-card-mini__cta) {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

.section-card-mini__cta {
  font-size: .78rem;
  font-weight: 800;
  color: var(--accent) !important;
  margin-top: 4px;
}

.sections-hub__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.sections-hub__anchors a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
}

.sections-hub__anchors a:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: rgba(20, 184, 166, .06);
}

@media (max-width: 640px) {
  .cat-bar__link { padding: 8px 13px; font-size: .78rem; }
  .sections-hub { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section-card-mini { padding: 14px; }
}

/* ── Popular mod-apps block (20) ── */
.popular-mod-box {
  background: linear-gradient(165deg, #fff 0%, #faf5ff 45%, #f0fdfa 100%);
  border: 1px solid rgba(124, 58, 237, .15);
}

.popular-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.popular-app {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  transition: all .2s;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}

.popular-app:hover {
  border-color: rgba(124, 58, 237, .25);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.popular-app__rank {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
  border-radius: 10px;
}

.popular-app:nth-child(-n+3) .popular-app__rank {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.popular-app__body { flex: 1; min-width: 0; }

.popular-app__title {
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 4px;
}

.popular-app__title a { color: var(--text); }
.popular-app__title a:hover { color: var(--accent); }

.popular-app__desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.popular-app__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.popular-app__actions .btn-content,
.popular-app__actions .btn-download {
  padding: 5px 10px;
  font-size: .72rem;
}

@media (max-width: 640px) {
  .popular-apps-grid { grid-template-columns: 1fr; }
}


body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg);
  background-image: var(--bg-pattern);
  color: var(--text);
  line-height: 1.9;
  min-height: 100vh;
}

a { text-decoration: none; transition: all .2s ease; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Top 40 picks ── */
.top-section { padding-top: 28px; }

.top40-box {
  background: linear-gradient(165deg, #fff 0%, #f0fdfa 40%, #faf5ff 100%);
  border: 1px solid rgba(20, 184, 166, .18);
}

.top-picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}

.top-pick {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 10px 12px;
  text-align: center;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
}

.top-pick:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 58, 237, .25);
}

.top-pick__num {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  display: grid;
  place-items: center;
  z-index: 3;
  line-height: 1;
}

.top-pick:nth-child(-n+3) .top-pick__num {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.top-pick__box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f8fafc, #eef2ff);
  border: 1px solid rgba(148, 163, 184, .2);
  transition: background .18s, border-color .18s;
  text-decoration: none;
}

.top-pick:hover .top-pick__box {
  background: linear-gradient(145deg, rgba(20,184,166,.08), rgba(124,58,237,.06));
  border-color: rgba(20, 184, 166, .35);
}

.top-pick__icon {
  font-size: 1.75rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.top-pick__title {
  margin: 0;
  font-size: inherit;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

.top-pick__name {
  font-size: .82rem;
  font-weight: 800;
  color: var(--text);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  display: inline-block;
  padding: 2px 4px;
}

.top-pick__name:hover {
  color: var(--accent);
  border-bottom-color: rgba(124, 58, 237, .35);
}

@media (max-width: 640px) {
  .top-picks-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .top-pick { min-height: 118px; padding: 8px; }
  .top-pick__name { font-size: .74rem; }
  .top-pick__icon { font-size: 1.45rem; }
}

@media (min-width: 900px) {
  .top-picks-grid { grid-template-columns: repeat(8, 1fr); }
}

/* ── Header ── */
.site-header {
  background: linear-gradient(145deg, #0b1220 0%, #0f3d3a 50%, #134e4a 100%);
  color: #f0fdfa;
  padding: 32px 0 40px;
  position: relative;
  overflow: visible;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(45,212,191,.2), transparent),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(124,58,237,.15), transparent);
  pointer-events: none;
}

.header-inner { position: relative; z-index: 1; }

.logo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }

.logo-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2dd4bf, #0f766e);
  display: grid; place-items: center;
  font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(13,148,136,.45);
  border: 1px solid rgba(255,255,255,.15);
}

.site-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; letter-spacing: -.03em; }
.site-title span { color: #5eead4; }
.site-subtitle { color: rgba(240,253,250,.85); font-size: 1.02rem; max-width: 720px; margin-top: 4px; }

.header-top10 {
  margin-top: 20px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(153, 246, 228, .22);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  overflow: visible;
  width: 100%;
}

.header-top10__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.header-top10__label {
  font-size: .88rem;
  font-weight: 900;
  color: #5eead4;
}

.header-top10__hint {
  font-size: .75rem;
  color: rgba(240, 253, 250, .55);
  font-weight: 600;
}

.header-top10__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  overflow: visible;
}

.top10-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  color: #ecfdf5 !important;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.35;
  transition: all .15s;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.top10-chip:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(153, 246, 228, .4);
  color: #fff !important;
  transform: translateY(-1px);
}

.top10-chip__num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  border-radius: 7px;
}

.top10-chip:nth-child(-n+3) .top10-chip__num {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

@media (max-width: 900px) {
  .header-top10__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .header-top10__grid { grid-template-columns: minmax(0, 1fr); }
  .top10-chip { font-size: .8rem; padding: 10px 12px; }
}

.nav-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.nav-pill {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(153,246,228,.22);
  color: #ecfdf5;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
}
.nav-pill:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-1px); }

/* ── Sections ── */
section { padding: 36px 0; }

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--accent-2));
}

.section-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}

.section-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, rgba(20,184,166,.1), rgba(124,58,237,.08));
  color: var(--brand-dark);
  font-size: .76rem; font-weight: 800;
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 10px; letter-spacing: .02em;
}

.section-kicker::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 900; color: var(--text); line-height: 1.35; }
p { margin-bottom: 16px; color: #334155; font-size: 1.02rem; }

.section-lead { color: var(--muted); font-size: .95rem; margin-bottom: 24px; max-width: 680px; }

.head-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 10px 20px; border-radius: 12px;
  font-weight: 700; font-size: .88rem;
  white-space: nowrap;
}
.head-link:hover { opacity: .9; transform: translateY(-1px); color: #fff; }

/* ── Content links in articles ── */
.content-link {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 2px solid rgba(124,58,237,.2);
  padding-bottom: 1px;
}
.content-link:hover { color: var(--brand-dark); border-bottom-color: var(--brand); }

.highlight-box {
  background: linear-gradient(135deg, rgba(20,184,166,.07), rgba(124,58,237,.05));
  border: 1px solid rgba(20,184,166,.2);
  border-right: 4px solid var(--brand);
  padding: 20px 24px;
  border-radius: 16px;
  margin: 24px 0;
  font-size: 1.05rem;
}

/* ── PRO TABLE ── */
.pro-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.pro-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .93rem;
  min-width: 680px;
}

.pro-table thead th {
  background: linear-gradient(135deg, #0b1220 0%, #1e3a5f 100%);
  color: #f1f5f9;
  font-weight: 800;
  padding: 16px 18px;
  text-align: right;
  font-size: .82rem;
  letter-spacing: .03em;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}

.pro-table thead th:first-child { border-radius: 0 16px 0 0; width: 52px; text-align: center; }
.pro-table thead th:last-child { border-radius: 16px 0 0 0; }

.pro-table tbody tr {
  transition: background .15s;
  border-bottom: 1px solid var(--border);
}

.pro-table tbody tr:nth-child(even) { background: rgba(248,250,252,.8); }
.pro-table tbody tr:hover { background: rgba(20,184,166,.06); }
.pro-table tbody tr:last-child td:first-child { border-radius: 0 0 16px 0; }
.pro-table tbody tr:last-child td:last-child { border-radius: 0 0 0 16px; }

.pro-table td {
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.pro-table tbody tr:last-child td { border-bottom: none; }

.td-rank {
  text-align: center;
  font-weight: 900;
  color: var(--muted);
  font-size: .88rem;
}

.td-rank .rank-badge {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .82rem;
}

.pro-table tbody tr:nth-child(-n+3) .rank-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(124,58,237,.3);
}

.td-name a.app-name-link {
  font-weight: 800;
  color: var(--text);
  font-size: .95rem;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.td-name a.app-name-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-light, #a78bfa);
}

.td-desc { color: var(--muted); font-size: .86rem; line-height: 1.6; max-width: 280px; }

.td-cat .cat-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
}
.cat-apps { background: rgba(124,58,237,.1); color: #6d28d9; }
.cat-tv { background: rgba(239,68,68,.1); color: #dc2626; }
.cat-games { background: rgba(20,184,166,.1); color: #0d9488; }
.cat-tools { background: rgba(245,158,11,.12); color: #d97706; }

.td-actions { white-space: nowrap; }

.btn-content, .btn-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
  margin-left: 6px;
}

.btn-content {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text) !important;
}
.btn-content:hover { border-color: var(--brand); color: var(--brand-dark) !important; background: rgba(20,184,166,.06); }

.btn-download {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(124,58,237,.25);
}
.btn-download:hover { opacity: .92; color: #fff !important; transform: translateY(-1px); }

/* ── Apps showcase table variant ── */
.apps-box {
  background: linear-gradient(165deg, #fff 0%, #faf5ff 50%, #f0fdfa 100%);
  border: 1px solid rgba(124,58,237,.12);
}

/* ── Article prose ── */
.prose { max-width: 900px; }
.prose h2 { margin-bottom: 16px; }

/* ── Article / Content sub-pages ── */
body.content-page { background: #eef1f6; background-image: var(--bg-pattern); }

.article { padding-bottom: 40px; }

.article-hero {
  background: linear-gradient(145deg, #0b1220 0%, #134e4a 55%, #1e1b4b 100%);
  color: #f0fdfa;
  padding: 28px 0 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(124,58,237,.2), transparent 50%);
  pointer-events: none;
}

.article-hero .container { position: relative; z-index: 1; }

.article-hero .breadcrumb { margin-bottom: 16px; }
.article-hero .breadcrumb,
.article-hero .breadcrumb a { color: rgba(240,253,250,.75); }
.article-hero .breadcrumb a:hover { color: #5eead4; }

.article-hero__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.article-hero__icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

.article-hero__badge {
  display: inline-block;
  background: rgba(45,212,191,.2);
  border: 1px solid rgba(153,246,228,.35);
  color: #99f6e4;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.article-hero__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 8px;
}

.article-hero__desc { color: rgba(240,253,250,.82); font-size: 1rem; max-width: 640px; }

.article-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hero-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

.article-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.article-block h2 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(20,184,166,.15);
  color: var(--text);
}

.article-block h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin: 20px 0 10px;
}

.article-block p { margin-bottom: 14px; line-height: 1.95; color: #334155; }

.article-block ul {
  margin: 12px 0 16px;
  padding-right: 22px;
  color: #334155;
}

.article-block li { margin-bottom: 8px; line-height: 1.8; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.feature-item {
  background: linear-gradient(135deg, rgba(20,184,166,.06), rgba(124,58,237,.04));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}

.feature-item strong {
  display: block;
  font-size: .88rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.feature-item span { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* Link hub — روابط kitabnews */
.link-hub {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  position: sticky;
  top: 16px;
}

.link-hub__title {
  font-size: .95rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-hub__title::before {
  content: '';
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 4px;
}

.link-hub__list { list-style: none; }

.link-hub__list li { margin-bottom: 6px; }

.link-hub__list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: .86rem;
  transition: all .15s;
}

.link-hub__list a:hover {
  background: rgba(124,58,237,.06);
  border-color: rgba(124,58,237,.25);
  color: var(--accent);
  transform: translateX(-3px);
}

.link-hub__list a.link-hub__primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 16px rgba(124,58,237,.3);
}

.link-hub__list a.link-hub__primary:hover {
  color: #fff !important;
  opacity: .93;
}

.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.link-chip-alt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  transition: all .15s;
}

.link-chip-alt:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: rgba(20,184,166,.06);
  transform: translateY(-1px);
}

.article-cta {
  background: linear-gradient(135deg, #1e1b4b, #134e4a);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  color: #f0fdfa;
  margin-top: 8px;
}

.article-cta h2 { color: #fff; border: none; margin-bottom: 10px; padding: 0; font-size: 1.3rem; }

.article-cta p { color: rgba(240,253,250,.8); margin-bottom: 20px; }

.article-cta .actions { justify-content: center; margin-top: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 14px;
  font-weight: 700;
}

.btn-ghost:hover { background: rgba(255,255,255,.18); color: #fff !important; }

.tip-box {
  background: linear-gradient(135deg, rgba(245,158,11,.08), rgba(234,88,12,.04));
  border: 1px solid rgba(245,158,11,.25);
  border-right: 4px solid #f59e0b;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0;
}

.tip-box strong { color: #b45309; display: block; margin-bottom: 6px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .link-hub { position: static; }
  .article-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .article-hero__icon { margin: 0 auto; }
  .article-hero__stats { justify-content: center; }
}

.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--brand-dark); font-weight: 700; }
.breadcrumb a:hover { color: var(--accent); }


.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 13px 26px; border-radius: 14px;
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 20px rgba(124,58,237,.3);
}
.btn-primary:hover { opacity: .93; color: #fff !important; transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text) !important;
  padding: 13px 26px; border-radius: 14px;
  font-weight: 700; font-size: .95rem;
}
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-dark) !important; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.info-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.info-card strong { display: block; font-size: 1.1rem; color: var(--accent); margin-bottom: 4px; }
.info-card span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ── Footer ── */
.site-footer {
  background: linear-gradient(180deg, #0b1220, #0f172a);
  color: rgba(226,232,240,.85);
  padding: 36px 0;
  margin-top: 24px;
  text-align: center;
  font-size: .92rem;
}
.site-footer a { color: #5eead4; font-weight: 700; }

@media (max-width: 768px) {
  .pro-table { min-width: 600px; font-size: .85rem; }
  .td-desc { display: none; }
  .btn-content, .btn-download { padding: 6px 10px; font-size: .72rem; }
}
