:root {
  --bg: #f4f5f2;
  --paper: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #44505e;
  --line: #dfe2dc;
  --blue: #1f5fd6;
  --blue-ink: #1650b8;
  --blue-soft: #e7eefc;
  --amber: #f2b705;
  --green: #128c4b;
  --red: #c8352b;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(13 27 42 / .06), 0 12px 32px -12px rgb(13 27 42 / .18);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
html[dir="rtl"] {
  --display: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 50; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(244 245 242 / .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.logo b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--amber); font-size: 15px; letter-spacing: 0; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.lang { font-size: 15px; font-weight: 600; text-decoration: none; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; transition: transform .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { background: var(--paper); border: 1px solid var(--line); }
.btn-wa { background: #15803d; color: #fff; }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 600; color: var(--blue-ink); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
h1 { font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; margin: 18px 0 18px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
h3 { font-size: 22px; font-weight: 700; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.stage { position: relative; padding-bottom: 40px; }
.frame { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dcd5; }
.phone { position: absolute; bottom: 0; inset-inline-start: -36px; width: 30%; border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }

/* Facts strip */
.facts { margin-top: 56px; border-block: 1px solid var(--line); background: var(--paper); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 22px 20px; border-inline-start: 1px solid var(--line); }
.fact:first-child { border-inline-start: 0; }
.fact strong { display: block; font: 800 24px/1.2 var(--display); }
.fact span { font-size: 15px; color: var(--ink-2); }

/* Sections */
section { padding: 96px 0; }
.head { max-width: 760px; margin-bottom: 48px; }
.head p { color: var(--ink-2); font-size: 18px; margin: 14px 0 0; }
.tour { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: .9fr 1.3fr; gap: 56px; align-items: center; }
.row.flip > :first-child { order: 2; }
.row h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.row p { color: var(--ink-2); margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231f5fd6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Arabic band */
.band { background: var(--ink); color: #fff; }
.band .head p, .band .row p { color: #b9c3cf; }
.band .frame { border-color: #24364b; }
.band .eyebrow { background: #1b2d44; color: var(--amber); }

/* Website section */
.designs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.design { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.design img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.design div { padding: 14px 16px 16px; }
.design strong { display: block; font-size: 17px; }
.design span { font-size: 14px; color: var(--ink-2); }
.site-row { display: grid; grid-template-columns: 1.6fr .55fr; gap: 24px; align-items: end; margin-top: 40px; }
.site-row .phone-static { border: 6px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cell { background: var(--paper); padding: 26px 24px; }
.cell h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.01em; }
.cell p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; }
.plan.pop { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .tag { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.plan h3 { font-size: 20px; }
.price { font: 800 44px/1 var(--display); margin: 18px 0 4px; letter-spacing: -.03em; }
.price small { font: 600 16px/1 var(--body); color: var(--ink-2); letter-spacing: 0; }
.permonth { font-size: 14px; color: var(--ink-2); margin-bottom: 22px; }
.plan .ticks { margin-bottom: 26px; font-size: 15px; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--ink-2); font-size: 15px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 860px; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 22px; color: var(--ink-2); }

/* Final CTA + footer */
.final { background: var(--blue); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.final p { color: #dbe6fb; margin: 12px 0 0; }
.final .actions { justify-content: flex-end; }
.final .btn-ghost { background: #fff; border: 0; color: var(--ink); }
footer { padding: 40px 0 48px; color: var(--ink-2); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top .wrap { gap: 12px; }
  .lang { margin-inline-start: auto; }
  .hero { padding-top: 48px; }
  .hero-grid, .row, .final, .site-row { grid-template-columns: 1fr; }
  .row.flip > :first-child { order: 0; }
  .phone { inset-inline-start: auto; inset-inline-end: 8px; width: 34%; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .designs { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .final { padding: 36px 28px; }
  .final .actions { justify-content: flex-start; }
  .site-row .phone-static { max-width: 260px; }
  section { padding: 72px 0; }
  .tour { gap: 72px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .top .btn { display: none; }
  .grid, .pair { grid-template-columns: 1fr; }
  .designs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .design div { padding: 10px 12px 12px; }
  .design span { display: none; }
  .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
