:root {
  --bg: #ffffff;
  --soft: #f7f8fb;
  --soft-2: #eef5ff;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --blue: #0071e3;
  --green: #16a34a;
  --radius: 8px;
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  font-family: var(--font);
  background: linear-gradient(180deg, #f8fbff 0, #fff 360px);
  color: var(--text);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav,
.wrap {
  width: min(1080px, calc(100% - 36px));
  margin-inline: auto;
}

.nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  transition: color .18s ease, transform .18s ease;
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  padding: 82px 0 54px;
  background:
    linear-gradient(135deg, rgba(0, 113, 227, .08), rgba(22, 163, 74, .08)),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(29, 78, 216, .08);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.45;
}

h1 {
  max-width: 860px;
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 0 0 26px;
  color: #4b5563;
  font-size: 19px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(17, 24, 39, .18);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.content {
  padding: 48px 0 72px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

article {
  min-width: 0;
}

.article-section {
  margin-bottom: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 36px rgba(17, 24, 39, .05);
}

.article-section:first-child {
  padding-top: 26px;
}

.article-section h2 {
  margin: 0 0 12px;
  font-size: 26px;
}

.article-section p {
  margin: 0 0 14px;
}

.article-section ul {
  margin: 12px 0 0;
  padding: 0 22px 0 0;
}

.article-section li {
  margin: 6px 0;
}

.note {
  padding: 16px;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  background: #f0fdf4;
  color: #14532d;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.side-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 24, 39, .06);
}

.side-box h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.side-box a {
  display: block;
  padding: 8px 0;
  color: var(--blue);
  font-weight: 800;
}

.side-box a:hover {
  color: #0059b3;
}

.faq {
  padding-top: 20px;
}

.faq-item {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  margin-top: 12px;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
}

.footer {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
}

.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}
