:root {
  --plum-900: #2b1034;
  --plum-800: #3d1749;
  --plum-700: #5a2668;
  --plum-600: #6f3380;
  --plum-500: #8b4a9c;
  --plum-100: #f3e9f5;
  --plum-50: #faf6fb;
  --amber: #f5a623;
  --amber-600: #e0901a;
  --ink: #1f1726;
  --muted: #5f566a;
  --line: #e7dfec;
  --white: #ffffff;
  --ok: #1f9d55;
  --radius: 16px;
  --shadow: 0 18px 50px -20px rgba(43, 16, 52, .35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--plum-600); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { direction: ltr; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--plum-700); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { color: var(--amber-600); font-weight: 700; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15.5px; }
.nav a:hover { color: var(--plum-600); text-decoration: none; }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px !important; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease;
  font-family: inherit; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--plum-900); }
.btn-amber:hover { background: #ffb53a; }
.btn-plum { background: var(--plum-600); color: #fff; }
.btn-plum:hover { background: var(--plum-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-line { border-color: var(--plum-600); color: var(--plum-600); background: #fff; }
.btn-sm { padding: 8px 16px; font-size: 14.5px; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(245, 166, 35, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(139, 74, 156, .45), transparent 60%),
    linear-gradient(160deg, var(--plum-900), var(--plum-700));
  color: #fff; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.eyebrow { display: inline-block; background: rgba(245, 166, 35, .16); color: #ffd187; border: 1px solid rgba(245, 166, 35, .35); padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.3; margin: 18px 0 16px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: 19px; color: #e9dcef; margin: 0 0 28px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; color: #e9dcef; font-size: 15px; }
.hero .facts li::before { content: "✓"; color: var(--amber); font-weight: 700; margin-inline-end: 8px; }
.frame { background: #fff; border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); }
.frame .bar { height: 30px; background: #f1eef4; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d1df; display: block; }
.hero .frame { transform: perspective(1400px) rotateY(-6deg); }
[dir="ltr"] .hero .frame { transform: perspective(1400px) rotateY(6deg); }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.alt { background: var(--plum-50); }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 12px; line-height: 1.35; color: var(--plum-800); }
.head p { color: var(--muted); margin: 0; font-size: 18px; }
.kicker { color: var(--amber-600); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; display: block; margin-bottom: 8px; }

.trust { padding: 26px 0; border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.trust b { display: block; font-size: 26px; color: var(--plum-600); }
.trust span { color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 14px 0 8px; font-size: 19px; color: var(--plum-800); }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--plum-100); color: var(--plum-600); }
.ico svg { width: 26px; height: 26px; }
.card ul { margin: 10px 0 0; padding-inline-start: 18px; color: var(--muted); font-size: 15px; }

/* egypt */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--plum-800); }

/* screens */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-family: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--plum-600); border-color: var(--plum-600); color: #fff; }
.shot { display: none; }
.shot.on { display: block; }
.shot figcaption { text-align: center; color: var(--muted); margin-top: 14px; font-size: 15.5px; }
.shots .frame { max-width: 1040px; margin: 0 auto; box-shadow: var(--shadow); border-color: var(--line); }

/* pricing */
.plans { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 24px 18px; position: relative; overflow-wrap: anywhere; hyphens: auto; }
.plan h3 { margin: 0; font-size: 19px; }
.plan .aud { color: var(--muted); font-size: 14px; min-height: 66px; margin: 6px 0 12px; }
.price { font-size: 26px; font-weight: 700; color: var(--plum-700); line-height: 1.2; }
.price small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.annual { font-size: 14px; color: var(--muted); margin: 4px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14.5px; color: var(--ink); display: grid; gap: 8px; flex: 1; }
.plan ul li { padding-inline-start: 22px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }
.plan .users { font-size: 14px; color: var(--plum-600); font-weight: 600; margin-bottom: 10px; }
.plan.pop { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.badge { position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%); background: var(--amber); color: var(--plum-900); font-size: 13px; font-weight: 700; padding: 2px 12px; border-radius: 999px; white-space: nowrap; }
[dir="ltr"] .badge { transform: translateX(-50%); }
.note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }

/* steps */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 34px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; inset-inline-start: 24px; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--plum-900); font-weight: 700; display: grid; place-items: center; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--plum-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--plum-500); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* contact */
.contact { background: linear-gradient(160deg, var(--plum-900), var(--plum-700)); color: #fff; }
.contact .head h2 { color: #fff; }
.contact .head p { color: #e2d2ea; }
.contact .split { align-items: start; }
.ways { display: grid; gap: 14px; }
.way { display: flex; gap: 16px; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 16px 18px; color: #fff; }
.way:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.way .ico { background: rgba(245, 166, 35, .18); color: var(--amber); flex: none; }
.way b { display: block; font-size: 17px; }
.way span { color: #e2d2ea; font-size: 15px; direction: ltr; unicode-bidi: isolate; }
form.box { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14.5px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #d6cbdc; border-radius: 10px; width: 100%; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(139, 74, 156, .25); border-color: var(--plum-500); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.msg { border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-weight: 600; display: none; }
.msg.ok { display: block; background: #e7f7ee; color: #156c3b; }
.msg.err { display: block; background: #fdecec; color: #a12727; }
.small { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

/* footer */
footer { background: #1b0a21; color: #cdbdd6; padding: 48px 0 28px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer h4 { color: #fff; margin: 0 0 12px; font-size: 16px; }
footer a { color: #cdbdd6; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer .brand { color: #fff; margin-bottom: 10px; }
footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* whatsapp float */
.wa { position: fixed; bottom: 22px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .4); z-index: 60; }
.wa svg { width: 30px; height: 30px; }
.wa:hover { transform: scale(1.05); }

/* legal page */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { color: var(--plum-800); }
.legal h2 { color: var(--plum-700); font-size: 21px; margin-top: 32px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .frame, [dir="ltr"] .hero .frame { transform: none; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; position: absolute; top: 70px; inset-inline: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .2); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .lang { text-align: center; }
  .menu-btn { display: block; }
  footer .cols { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g3, .g4, .plans, .row2 { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 44px; padding-bottom: 56px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .plan .aud { min-height: 0; }
  form.box { padding: 20px; }
  .top .wrap { gap: 12px; }
  .brand { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
