/* =========================================================
   Zboon (زبون) — zboon.net
   Brand tokens + landing page styles
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("../assets/fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-display: swap; src: url("../assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("../assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AA, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AA, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AA, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AA, U+20AC, U+2122, U+2190-2199, U+2212; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 400; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 500; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 600; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-weight: 700; font-display: swap; src: url("../assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* ---------- Brand tokens ---------- */
:root {
  --green: #0B4A37;        /* Za'atar green — primary */
  --green-2: #0E5841;      /* cards on green */
  --green-3: #172A22;      /* highlight on ink */
  --saffron: #F2A33A;      /* accent — stamps, highlights, CTAs on dark */
  --ink: #0F1E18;          /* text, dark surfaces */
  --paper: #F4F7F4;        /* page background */
  --mint: #E3EEE7;         /* soft surfaces */
  --white: #FFFFFF;
  --line: #DCE5DF;
  --line-strong: #B9C9BF;
  --muted: #44544C;        /* body secondary text (AA on paper) */
  --muted-2: #55655D;
  --on-green-muted: #D3E3D9;
  --on-ink-muted: #C4D2CA;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: #08382A; }
h1, h2, h3, p, ul { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.ar { font-family: var(--font-body); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius-pill);
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: #08382A; color: var(--white); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--outline:hover { color: var(--ink); background: var(--white); }
.btn--accent { background: var(--saffron); color: var(--ink); font-weight: 700; }
.btn--accent:hover { color: var(--ink); background: #F5B256; }
.btn--ghost-light { border-color: #5E8F7A; color: var(--white); }
.btn--ghost-light:hover { color: var(--white); background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .ar { font-weight: 700; font-size: 18px; color: var(--green); }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-weight: 500; }
.nav a { color: #2E3E37; text-decoration: none; }
.nav a:hover { color: var(--green); }
.header-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--mint); color: var(--green); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.hero__ar { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--green); line-height: 1.4; }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero__meta { font-size: 14px; color: var(--muted-2); }

/* Phone mockup */
.hero__visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.phone-wrap { position: relative; width: 320px; max-width: 100%; }
.phone-wrap::before { content: ""; position: absolute; top: 40px; left: -28px; width: 120px; height: 120px; border-radius: 50%; background: var(--saffron); }
.phone { position: relative; height: 640px; padding: 14px; border-radius: 48px; background: var(--ink); }
.phone__screen { height: 100%; border-radius: 36px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; }
.card-head { background: var(--green); color: var(--white); padding: 32px 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.card-head small { font-size: 13px; opacity: .85; }
.card-head strong { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.card-head .progress { font-size: 14px; color: var(--saffron); font-weight: 600; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.stamps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #9DB3A6; display: flex; align-items: center; justify-content: center; padding: 0; background: transparent; cursor: pointer; transition: background .2s; }
.stamp.is-filled { background: var(--saffron); border: 0; }
.stamp svg { width: 20px; height: 20px; opacity: 0; }
.stamp.is-filled svg { opacity: 1; }
.reward-note { padding: 14px 16px; border-radius: 16px; background: var(--mint); font-size: 15px; font-weight: 600; color: var(--green); }
.qr-row { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.qr-row b { display: block; font-size: 14px; }
.qr-row span { font-size: 13px; color: var(--muted-2); }
.points { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted-2); }
.points strong { font-family: var(--font-display); font-size: 20px; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--green { background: var(--green); color: var(--white); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section__head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section h2 { font-size: clamp(34px, 4vw, 52px); }
.section__sub { font-size: 18px; line-height: 1.6; color: var(--muted); }
.section--green .accent-ar { font-size: 22px; font-weight: 600; color: var(--saffron); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step { padding: 32px; border-radius: 24px; background: var(--green-2); display: flex; flex-direction: column; gap: 14px; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; color: var(--saffron); line-height: 1; }
.step h3 { font-size: 22px; }
.step p { color: var(--on-green-muted); line-height: 1.6; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.feature__icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--mint); display: flex; align-items: center; justify-content: center; color: var(--green); }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); line-height: 1.6; }

/* Bilingual band */
.band { border-radius: 32px; background: var(--mint); padding: 56px 40px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.band > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band h2 { font-size: clamp(30px, 3.4vw, 44px); }
.band p { font-size: 17px; line-height: 1.6; color: #2E3E37; }
.band [dir="rtl"] h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.35; color: var(--green); letter-spacing: 0; }
.band [dir="rtl"] p { font-size: 18px; line-height: 1.8; }

/* Pricing */
.price-card { max-width: 860px; margin: 0 auto; padding: 40px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 28px; }
.price-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.price-card__head h3 { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.price-card__head span { color: var(--on-ink-muted); font-size: 15px; }
.price-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price-option { padding: 24px; border-radius: var(--radius); border: 1px solid #3A5247; display: flex; flex-direction: column; gap: 8px; }
.price-option--best { border: 2px solid var(--saffron); background: var(--green-3); }
.price-option__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price-option__label { font-size: 15px; font-weight: 600; color: var(--on-ink-muted); }
.price-option--best .price-option__label { color: var(--white); }
.badge { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--saffron); color: var(--ink); font-size: 13px; font-weight: 700; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.price small { font-family: var(--font-body); font-size: 17px; font-weight: 500; color: var(--on-ink-muted); }
.price-option__note { font-size: 14px; color: var(--on-ink-muted); }
.price-option--best .price-option__note { color: var(--saffron); font-weight: 600; }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px 24px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: center; }
.checklist svg { color: var(--saffron); flex: none; }
.pricing-foot { margin-top: 32px; text-align: center; color: var(--muted); }

/* CTA */
.cta { border-radius: 32px; background: var(--green); color: var(--white); padding: 64px 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: clamp(32px, 4vw, 48px); }
.cta__ar { font-size: 22px; font-weight: 600; color: var(--saffron); }
.cta__contact { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.cta form { flex: 1 1 380px; min-width: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.cta input { flex: 1 1 220px; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: var(--radius-pill); border: 0; font: 16px var(--font-body); color: var(--ink); }
.form-msg { flex-basis: 100%; font-size: 15px; color: var(--saffron); min-height: 1.5em; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; font-size: 15px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.site-footer .loc { display: inline-flex; align-items: center; gap: 6px; }
.footer-logo { height: 30px; width: auto; }

/* WhatsApp floating button */
.wa-glyph { width: 18px; height: 18px; display: block; flex: none; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 20; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.wa-float img { width: 32px; height: 32px; display: block; }
.wa-float:hover { transform: scale(1.05); }

/* Legal pages (terms / privacy) */
.legal { padding: 48px 0 96px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-weight: 600; color: var(--muted); text-decoration: none; }
.legal__back:hover { color: var(--green); }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.legal__updated { color: var(--muted); margin-bottom: 36px; font-size: 15px; }
.legal__body { max-width: 720px; display: flex; flex-direction: column; gap: 28px; }
.legal__body h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.legal__body p, .legal__body li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.legal__body ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.legal__body a { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav { order: 3; width: 100%; gap: 18px; overflow-x: auto; }
  .section { padding: 72px 0; }
  .band, .cta, .price-card { padding: 32px 22px; }
  .phone { height: 600px; }
  .legal { padding: 32px 0 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .stamp { transition: none; }
}
