/* NAQSH site: the app's green and gold, IBM Plex Sans Arabic (OFL, /fonts). */

@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap;
  src: url(/fonts/plex-arabic-Regular.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap;
  src: url(/fonts/plex-arabic-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap;
  src: url(/fonts/plex-arabic-Bold.woff2) format("woff2"); }

:root {
  --green: #0b6b3e;
  --green-bright: #13894f;
  --green-deep: #064a2a;
  --night: #03200f;
  --gold: #c9962e;
  --gold-light: #f3ce62;
  --paper: #f7f2e6;
  --card: #fffcf5;
  --ink: #1c1b18;
  --muted: #5d5a52;
  --line: rgb(201 150 46 / 0.28);
  --radius: 22px;
  /* An eight-pointed star lattice, as on the app's headers. */
  --stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23c9962e' stroke-opacity='.22' stroke-width='1'%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Crect x='18' y='18' width='20' height='20' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 28h8M48 28h8M28 0v8M28 48v8'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plex Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* ---- Top bar ------------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: linear-gradient(90deg, var(--green-deep), var(--green));
  border-bottom: 1px solid rgb(243 206 98 / 0.25);
  box-shadow: 0 6px 24px rgb(3 32 15 / 0.25);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand b { display: block; font-size: 26px; line-height: 1.1; color: var(--paper); }
.brand small { display: block; font-size: 12.5px; color: var(--gold-light); }
.topbar nav { margin-inline-start: auto; display: flex; gap: 6px; }
.topbar nav a {
  color: rgb(247 242 230 / 0.86); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 12px;
}
.topbar nav a:hover, .topbar nav a.on { color: var(--gold-light); background: rgb(255 255 255 / 0.07); }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  background: var(--stars), radial-gradient(900px 500px at 15% -10%, rgb(243 206 98 / 0.28), transparent 60%),
    linear-gradient(160deg, var(--green) 0%, var(--green-deep) 55%, var(--night) 100%);
  padding: 70px 0 90px;
}
.hero::after { /* a soft paper curve into the next section */
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 60px;
  background: var(--paper); clip-path: ellipse(70% 100% at 50% 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--gold-light); font-weight: 600; letter-spacing: 0.3px; margin: 0 0 6px; }
.hero h1 { font-size: clamp(56px, 9vw, 104px); line-height: 1.3; margin: 8px 0 0; color: #fff; }
.hero h1 span { color: var(--gold-light); }
.hero .lead { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; margin: 14px 0 8px; }
.hero p.text { color: rgb(247 242 230 / 0.85); max-width: 560px; margin: 0 0 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 15.5px;
}
.badge.gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--green-deep);
  box-shadow: 0 8px 22px rgb(201 150 46 / 0.35); }
.badge.glass { border: 1.5px solid rgb(243 206 98 / 0.6); color: var(--paper); background: rgb(255 255 255 / 0.06); }
.badge svg { width: 20px; height: 20px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: rgb(247 242 230 / 0.8); font-size: 14.5px; }
.pills span::before { content: "✦"; color: var(--gold-light); margin-inline-end: 6px; }

/* ---- Phone frame -------------------------------------------------------- */
.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto; padding: 12px;
  border-radius: 46px; background: linear-gradient(145deg, #2a2a2a, #0d0d0d);
  box-shadow: 0 30px 60px rgb(0 0 0 / 0.35), inset 0 0 0 2px #444;
}
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 516 / 1000; object-fit: cover; background: var(--card); }
.phone::before { /* the camera island */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 22px; border-radius: 12px; background: #0d0d0d; z-index: 1;
}
.hero .phone { transform: rotate(-3deg); }
.hero .glow { position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(rgb(243 206 98 / 0.35), transparent 70%); filter: blur(10px); }

/* ---- Sections ----------------------------------------------------------- */
section.block { padding: 72px 0 24px; }
.title { text-align: center; margin-bottom: 34px; }
.title h2 { font-size: clamp(28px, 3.6vw, 38px); color: var(--green-deep); margin: 0; line-height: 1.4; }
.title p { color: var(--muted); margin: 6px auto 0; max-width: 640px; }
.ornament { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--gold); margin: 10px 0 0; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.6; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: 0 10px 30px rgb(6 74 42 / 0.06);
}
.cards .card { text-align: center; }
.icon {
  width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 20px;
  background: linear-gradient(145deg, rgb(19 137 79 / 0.14), rgb(201 150 46 / 0.14)); color: var(--green);
}
.icon svg { width: 32px; height: 32px; }
.cards h3 { margin: 0 0 6px; font-size: 19px; color: var(--green-deep); }
.cards p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 34px; }
.step .num {
  position: absolute; top: -26px; inset-inline-start: 22px; width: 54px; height: 54px; display: grid; place-items: center;
  color: var(--green-deep); font-weight: 700; font-size: 20px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  clip-path: polygon(50% 0, 64% 15%, 85% 15%, 85% 36%, 100% 50%, 85% 64%, 85% 85%, 64% 85%, 50% 100%, 36% 85%, 15% 85%, 15% 64%, 0 50%, 15% 36%, 15% 15%, 36% 15%);
}
.step h3 { margin: 0 0 4px; color: var(--green-deep); font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.screens figure { margin: 0; text-align: center; }
.screens .phone { width: min(250px, 70vw); }
.screens figcaption { margin-top: 14px; font-weight: 600; color: var(--green-deep); }
.screens figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

.banner {
  margin: 72px 0 0; color: var(--paper); text-align: center;
  background: var(--stars), linear-gradient(160deg, var(--green), var(--night));
  padding: 56px 0;
}
.banner h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.banner h2 em { font-style: normal; color: var(--gold-light); }
.banner p { margin: 10px auto 24px; max-width: 640px; color: rgb(247 242 230 / 0.85); }

/* ---- Footer ------------------------------------------------------------- */
footer.site {
  background: var(--night); color: rgb(247 242 230 / 0.7); font-size: 14.5px; padding: 30px 0 34px;
}
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer.site a { color: rgb(247 242 230 / 0.85); text-decoration: none; }
footer.site a:hover { color: var(--gold-light); }
footer.site .note { flex-basis: 100%; font-size: 13px; color: rgb(247 242 230 / 0.55); }

/* ---- Text pages (privacy, delete account) ------------------------------- */
.doc main { max-width: 760px; margin: 0 auto; padding: 40px 22px 56px; }
.doc h1 { color: var(--green-deep); font-size: clamp(28px, 4vw, 36px); line-height: 1.35; margin: 0 0 6px; }
.doc h2 { color: var(--green); font-size: 21px; margin: 30px 0 6px; }
.doc p, .doc li { margin: 0 0 10px; }
.doc ul { padding-inline-start: 22px; margin: 0 0 10px; }
.doc .card { margin: 20px 0; }
.doc .card > h2:first-child { margin-top: 0; }
.muted { color: var(--muted); font-size: 15px; }

/* ---- Small screens ------------------------------------------------------ */
@media (max-width: 900px) {
  .hero { padding: 44px 0 80px; text-align: center; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero p.text { margin-inline: auto; }
  .badges, .pills { justify-content: center; }
  .hero .phone { transform: none; width: min(260px, 70vw); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 42px; }
  .screens { grid-template-columns: 1fr; }
  .topbar nav a:not(.keep) { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
