/* ==========================================================================
   Ezoran AI Solutions — landing page v2
   Dark-first, navy #020e1e + gold. One stylesheet for EN (LTR) and AR (RTL),
   written with logical properties so both directions work.
   Latin: Readex Pro (variable). Arabic: IBM Plex Sans Arabic (sturdier strokes).
   ========================================================================== */

@font-face { font-family: "Readex Pro"; font-style: normal; font-display: swap; font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-display: swap; font-weight: 160 700;
  src: url(../fonts/readex-pro-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 400;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 600;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Plex Arabic"; font-style: normal; font-display: swap; font-weight: 700;
  src: url(../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); }

:root {
  --navy: #020E1E;          /* brand navy */
  --navy-2: #071A33;        /* raised surfaces */
  --navy-3: #0D2747;        /* tiles, inputs on dark */
  --line: rgba(200, 214, 232, .12);
  --line-strong: rgba(200, 214, 232, .22);
  --gold: #D9AE52;          /* actions on dark (from the E's highlight) */
  --gold-deep: #B8960C;     /* the logo tagline gold */
  --gold-soft: #F0D594;
  --silver: #C3CCD8;        /* the silver Z */
  --white: #FFFFFF;
  --paper: #F5F7FA;         /* light sections */
  --ink: #0B1A2E;           /* text on light */
  --muted: #8C9AAE;         /* secondary text on dark */
  --muted-ink: #4E5D72;     /* secondary text on light */

  --font: "Readex Pro", "Segoe UI", system-ui, sans-serif;
  --font-ar: "Plex Arabic", "Readex Pro", "Geeza Pro", "Segoe UI", system-ui, sans-serif;

  --w-body: 330; --w-strong: 500; --w-head: 500;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 8px; --r-m: 16px; --r-l: 24px;
}

/* Arabic: sturdier face, heavier weights, a touch larger, no tracking */
:root[lang="ar"] {
  --font: var(--font-ar);
  --w-body: 400; --w-strong: 600; --w-head: 700;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; font-family: var(--font); font-weight: var(--w-body);
  font-size: 1.0625rem; line-height: 1.65; color: var(--silver);
  background: var(--navy); overflow-x: hidden;
}
:root[lang="ar"] body { font-size: 1.125rem; line-height: 1.9; }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--white); font-weight: var(--w-head); line-height: 1.12; letter-spacing: -0.02em; }
:root[lang="ar"] :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.4; }
p { margin: 0; }
strong { font-weight: var(--w-strong); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 12px; z-index: 100; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: var(--r-s); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: var(--w-strong); font-size: 1rem; line-height: 1.2;
  padding: .95em 1.5em; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn-gold { background: linear-gradient(180deg, #E8C26A, var(--gold) 55%, #C4913A); color: var(--navy); box-shadow: 0 8px 24px -10px rgba(217, 174, 82, .7); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: var(--line-strong); color: var(--white); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-3); }
.btn svg { width: 1em; height: 1em; flex: none; }
[dir="rtl"] .btn svg.flip { transform: scaleX(-1); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(2, 14, 30, .82); backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 28px; margin-inline-start: auto; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--silver); }
.nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { text-decoration: none; color: var(--gold-soft); font-size: .95rem; }
.lang:hover { color: var(--white); }
.site-header .btn { padding: .65em 1.15em; font-size: .92rem; }
@media (max-width: 960px) { .nav { display: none; } .header-actions { margin-inline-start: auto; } }
@media (max-width: 480px) { .brand img { height: 44px; } .site-header .btn { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 84px) clamp(48px, 6vw, 80px); isolation: isolate; }
.hero::before { /* fine grid, fading out — the "engineered" texture */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero::after { /* gold glow behind the check */
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; border-radius: 50%;
  inset-inline-end: -120px; top: -80px;
  background: radial-gradient(circle, rgba(217, 174, 82, .22), rgba(217, 174, 82, 0) 62%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; color: var(--silver); background: rgba(255,255,255,.03); }
[dir="rtl"] .pill { padding: 6px 8px 6px 14px; }
.pill b { background: var(--gold); color: var(--navy); font-weight: var(--w-strong); font-size: .78rem; padding: 2px 9px; border-radius: 999px; }
.hero h1 { margin-top: 22px; font-size: clamp(2.1rem, 3.7vw, 3.15rem); font-weight: var(--w-head); }
.hero h1 .glow { display: block; background: linear-gradient(92deg, #F6DFA4, var(--gold) 45%, #C08A35); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[lang="ar"] .hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.3rem); }
.hero-lead { margin-top: 24px; font-size: 1.2rem; max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-cta-line { margin-top: 26px; color: var(--gold-soft); font-weight: var(--w-strong); }
.hero-cta-line + .hero-actions { margin-top: 14px; }
@media (min-width: 1090px), (min-width: 700px) and (max-width: 980px) {
  .hero-copy .hero-actions { flex-wrap: nowrap; gap: 10px; }
  .hero-copy .hero-actions .btn { padding: .9em 1.1em; font-size: clamp(.86rem, 1.05vw, .95rem); }
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* Trust strip */
.trust-strip { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-m); background: rgba(7, 26, 51, .6); }
.trust-strip > div { padding: 20px 24px; }
.trust-strip > div + div { border-inline-start: 1px solid var(--line); }
.trust-strip .big { display: block; color: var(--white); font-size: 1.35rem; font-weight: var(--w-strong); line-height: 1.3; }
.trust-strip .small { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip > div:nth-child(3) { border-inline-start: 0; }
  .trust-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Readiness check card ---------- */
.check {
  position: relative; background: var(--white); color: var(--ink);
  border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); min-height: 500px;
  display: flex; flex-direction: column;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(217, 174, 82, .5), 0 0 0 8px rgba(217, 174, 82, .07);
}
.check h2, .check h3, .check strong { color: var(--ink); letter-spacing: -0.01em; }
:root[lang="ar"] .check :is(h2, h3) { letter-spacing: 0; }
.check-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.check-title { font-size: 1.3rem; font-weight: var(--w-strong); }
.check-count { font-size: .9rem; color: var(--muted-ink); white-space: nowrap; }
.check-bar { height: 4px; background: #E9EDF2; border-radius: 4px; margin-block: 16px 22px; overflow: hidden; }
.check-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #E8C26A, var(--gold-deep)); transition: width .3s ease; }
[dir="rtl"] .check-bar span { margin-inline-start: auto; }
.check-intro { color: var(--muted-ink); }
.check-q { font-size: 1.14rem; font-weight: var(--w-strong); margin-bottom: 16px; color: var(--ink); }
.check-options { display: grid; gap: 9px; }
.opt {
  display: block; width: 100%; text-align: start; font: inherit; font-size: .98rem; font-weight: var(--w-body); color: var(--ink);
  background: var(--white); border: 1px solid #D3DBE5; border-radius: 12px; padding: .8em 1em; cursor: pointer;
  transition: border-color .12s, background-color .12s;
}
.opt:hover { border-color: var(--gold); background: #FDF8EC; }
.opt[aria-pressed="true"] { border-color: var(--gold-deep); background: #F9EED3; font-weight: var(--w-strong); }
.check-foot { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted-ink); }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.result-top { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
.result-compass { display: block; max-width: 100%; height: auto; }
.result-score { font-size: 3.4rem; font-weight: 300; line-height: 1; color: var(--ink); }
:root[lang="ar"] .result-score { font-weight: 500; }
.result-score small { font-size: 1rem; color: var(--muted-ink); margin-inline-start: 4px; }
.result-level { font-weight: var(--w-strong); font-size: 1.12rem; margin-top: 6px; color: #946A12; }
.result-text { margin-top: 14px; }
.result-fix { margin-top: 14px; padding: 14px 16px; background: #F7F1E2; border-radius: 12px; border-inline-start: 3px solid var(--gold-deep); }
.result-fix h3 { font-size: 1rem; font-weight: var(--w-strong); margin-bottom: 6px; }
.result-fix ul { margin: 0; padding-inline-start: 1.1em; }
.result-fix li + li { margin-top: 4px; }
.result-ideas-title { margin-top: 14px; font-weight: var(--w-strong); }
.result-ideas { margin: 6px 0 0; padding-inline-start: 1.1em; color: var(--muted-ink); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 20px; }
@media (max-width: 440px) { .result-top { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 130px); position: relative; }
.section-alt { background: var(--navy-2); }
.section-light { background: var(--paper); color: var(--muted-ink); }
.section-light :is(h2, h3, h4, strong) { color: var(--ink); }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; color: var(--gold); font-size: .95rem; font-weight: var(--w-strong); margin-bottom: 14px; }
.section-light .kicker { color: #946A12; }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.section-head p { margin-top: 18px; font-size: 1.15rem; }

/* Bento grid of use cases */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tile { grid-column: span 2; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--navy-3), var(--navy-2)); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; display: flex; flex-direction: column; gap: 10px; min-height: 280px; }
.tile.wide { grid-column: span 3; }
.tile h3 { font-size: 1.22rem; }
.tile p { font-size: .98rem; color: var(--muted); }
.tile .viz { margin-top: auto; padding-top: 18px; }
@media (max-width: 980px) { .bento { grid-template-columns: 1fr 1fr; } .tile, .tile.wide { grid-column: span 1; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* tile visuals (pure HTML/CSS) */
.chat { display: grid; gap: 8px; font-size: .9rem; }
.bubble { max-width: 82%; padding: 9px 13px; border-radius: 14px; line-height: 1.45; }
.bubble.in { background: rgba(255,255,255,.07); color: var(--silver); border-end-start-radius: 4px; }
.bubble.out { background: #1F6E4A; color: #EAFBF1; margin-inline-start: auto; border-end-end-radius: 4px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--gold), rgba(217,174,82,.25)); }
.doc { display: grid; gap: 7px; }
.doc i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.1); }
.doc i.hl { background: rgba(217,174,82,.55); }
.spark { width: 100%; height: 96px; }
.search { display: grid; gap: 10px; }
.search .q { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: .92rem; color: var(--silver); }
.search .q::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--gold); border-radius: 50%; flex: none; }
.search .a { font-size: .9rem; padding: 12px 14px; border-radius: 12px; background: rgba(217,174,82,.1); border: 1px solid rgba(217,174,82,.3); color: var(--gold-soft); }
.leads { display: grid; gap: 8px; font-size: .9rem; }
.leads div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.leads b { font-weight: var(--w-strong); color: var(--gold-soft); }

/* Process — a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { background: var(--white); border: 1px solid #DCE3EC; border-radius: var(--r-m); padding: 26px 24px; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: var(--w-strong); margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step .when { display: block; font-size: .88rem; color: #946A12; font-weight: var(--w-strong); margin-bottom: 10px; }
.step p { font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
[dir="rtl"] .service { padding: 30px 0 34px 28px; }
.service .ico { width: 40px; height: 40px; color: var(--gold); margin-bottom: 18px; }
.service h3 { font-size: 1.2rem; }
.service .tag { display: inline-block; margin-top: 8px; font-size: .84rem; color: var(--gold-soft); border: 1px solid rgba(217,174,82,.35); padding: 1px 10px; border-radius: 999px; }
.service p { margin-top: 12px; font-size: .98rem; color: var(--muted); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service, [dir="rtl"] .service { padding-inline: 0; } }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--silver); }
.compare thead th { color: var(--muted); font-weight: var(--w-strong); font-size: .95rem; }
.compare thead th.us { color: var(--navy); background: var(--gold); border-radius: 14px 14px 0 0; }
.compare td.us { background: rgba(217,174,82,.08); border-inline: 1px solid rgba(217,174,82,.35); }
.compare tbody tr:last-child td.us { border-bottom: 1px solid rgba(217,174,82,.35); border-radius: 0 0 14px 14px; }
.yes, .no, .part { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: .9rem; }
.yes { background: var(--gold); color: var(--navy); }
.part { background: rgba(255,255,255,.08); color: var(--silver); }
.no { color: var(--muted); }
.compare-wrap { overflow-x: auto; }
.compare { min-width: 620px; }

/* Service lines */
.lines { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.line { grid-column: span 2; display: flex; flex-direction: column; background: var(--navy-2); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 26px; }
.line.lg { grid-column: span 3; }
.line.featured { border-color: rgba(217,174,82,.5); background: radial-gradient(120% 100% at 100% 0%, rgba(217,174,82,.16), transparent 60%), var(--navy-2); }
[dir="rtl"] .line.featured { background: radial-gradient(120% 100% at 0% 0%, rgba(217,174,82,.16), transparent 60%), var(--navy-2); }
.line-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.line .ico { width: 40px; height: 40px; color: var(--gold); }
.badge { font-size: .82rem; font-weight: var(--w-strong); color: var(--navy); background: var(--gold); padding: 3px 12px; border-radius: 999px; }
.line-verb { color: var(--gold); font-weight: var(--w-strong); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
:root[lang="ar"] .line-verb { letter-spacing: 0; font-size: 1rem; }
.line h3 { font-size: 1.3rem; margin-top: 4px; }
.line-lead { margin-top: 10px; color: var(--silver); }
.line ul { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 8px; font-size: .96rem; color: var(--muted); }
.line li { position: relative; padding-inline-start: 22px; }
.line li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--gold); }
.line-tag { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--gold-soft); }
@media (max-width: 980px) { .lines { grid-template-columns: 1fr 1fr; } .line, .line.lg { grid-column: span 1; } .line.featured { grid-column: 1 / -1; } }
@media (max-width: 620px) { .lines { grid-template-columns: 1fr; } }

/* Engagement principles */
.section-head.center p { margin-inline: auto; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.principle { border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; background: rgba(255,255,255,.025); }
.principle .ico { width: 36px; height: 36px; color: var(--gold); margin-bottom: 16px; }
.principle h3 { font-size: 1.15rem; }
.principle p { margin-top: 10px; font-size: .97rem; color: var(--muted); }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* New tile visuals: booking + workflow */
.booking { display: grid; gap: 10px; font-size: .9rem; }
.slots { display: flex; gap: 8px; }
.slots span { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--silver); }
.slots .on { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: var(--w-strong); }
.pay { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(31,110,74,.22); border: 1px solid rgba(80,190,130,.35); color: #CFF3DE; }
.pay b { color: #7FE0A8; font-weight: var(--w-strong); }
.flow { display: grid; gap: 7px; font-size: .88rem; }
.flow div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.05); }
.flow b { color: var(--gold); font-weight: var(--w-strong); }

/* Founder + client */
.founder-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.founder h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.founder p { margin-top: 18px; }
.sig { margin-top: 26px; color: var(--white); font-weight: var(--w-strong); }
.sig span { display: block; color: var(--gold-soft); font-weight: var(--w-body); font-size: .95rem; }
.client-card { border: 1px solid rgba(217,174,82,.35); border-radius: var(--r-l); padding: 30px; background: radial-gradient(120% 120% at 100% 0%, rgba(217,174,82,.14), transparent 55%), var(--navy-2); }
.client-card .label { color: var(--gold); font-weight: var(--w-strong); font-size: .95rem; }
.client-card .client { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; margin-top: 12px; font-weight: var(--w-strong); }
.client-card .what { margin-top: 12px; }
@media (max-width: 860px) { .founder-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 52rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid #D8E0EA; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 1.12rem; font-weight: var(--w-strong); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: #946A12; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 44rem; }

/* Final CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: clamp(48px, 7vw, 88px) var(--gutter); border: 1px solid rgba(217,174,82,.35);
  background: radial-gradient(60% 120% at 50% 0%, rgba(217,174,82,.28), transparent 70%), linear-gradient(180deg, var(--navy-3), var(--navy)); }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 18ch; margin-inline: auto; }
:root[lang="ar"] .cta-band h2 { max-width: 22ch; }
.cta-band p { margin: 20px auto 0; max-width: 38rem; font-size: 1.15rem; }
.cta-band .hero-actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 88px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; position: relative; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: var(--w-strong); color: var(--ink); }
.field label .opt-note { color: var(--muted-ink); font-weight: var(--w-body); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #BCC8D6; border-radius: 12px; padding: .75em .9em; width: 100%; }
.field textarea { min-height: 140px; resize: vertical; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(217,174,82,.3); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form-note { font-size: .88rem; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; }
.form-status.ok { color: #1D6B3A; }
.form-status.err { color: #A3261B; }
.hp { position: absolute; inset-inline-start: -9999px; }
.direct { align-self: start; display: grid; gap: 22px; align-content: start; padding: 28px; border-radius: var(--r-l); background: var(--navy); color: var(--silver); }
.direct h3 { font-size: .9rem; font-weight: var(--w-body); color: var(--muted); margin-bottom: 2px; }
.direct a, .direct address { font-style: normal; font-size: 1.08rem; text-decoration: none; color: var(--white); }
.direct a:hover { color: var(--gold-soft); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px 40px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 220px 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 190px; height: auto; }
.footer-col h4 { font-size: .95rem; color: var(--white); margin-bottom: 14px; font-weight: var(--w-strong); }
.footer-col a { display: block; text-decoration: none; color: var(--muted); padding-block: 3px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-col p { color: var(--muted); }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* WhatsApp quick button */
.wa { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1FAF5A; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* Simple content pages */
.doc { max-width: 46rem; }
.doc h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.25rem; margin-top: 36px; margin-bottom: 10px; }
.doc p + p { margin-top: 12px; }

/* One orchestrated load moment: headline then the check card */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .06s; }
  .hero-copy > *:nth-child(3) { animation-delay: .12s; }
  .hero-copy > *:nth-child(4) { animation-delay: .18s; }
  .hero-copy > *:nth-child(5) { animation-delay: .22s; }
  .check { animation: rise .8s cubic-bezier(.2,.7,.2,1) .25s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Readiness results pop-up (wide screens only) ---------- */
.result-ready { margin-top: 18px; color: var(--muted-ink); }
.result-modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; min-height: 0; margin: auto; border: 0; padding: clamp(24px, 3vw, 36px); }
.result-modal::backdrop { background: rgba(2, 14, 30, .72); backdrop-filter: blur(4px); }
.result-modal .check-head { align-items: center; margin-bottom: 18px; }
.rm-close { font: inherit; font-size: 1.6rem; line-height: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #D3DBE5; background: var(--white); color: var(--ink); cursor: pointer; flex: none; }
.rm-close:hover { border-color: var(--gold); background: #FDF8EC; }
@media (prefers-reduced-motion: no-preference) {
  .result-modal[open] { animation: rise .35s cubic-bezier(.2,.7,.2,1) both; }
}

/* ---------- Full-width tile: social media agents ---------- */
.tile.full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px 40px; align-items: center; min-height: 0; }
.tile.full h3, .tile.full > p { grid-column: 1; }
.tile.full .viz { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; padding-top: 0; }
.social { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; font-size: .88rem; }
.post { border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.post-img { height: 118px; background: radial-gradient(60% 70% at 30% 30%, rgba(240,213,148,.9), transparent 70%), linear-gradient(135deg, #D9AE52, #7A5418 60%, #0D2747); }
.post-meta { padding: 9px 11px; display: grid; gap: 2px; }
.post-meta b { color: var(--gold-soft); font-weight: var(--w-strong); font-size: .8rem; }
.post-meta span { color: var(--muted); font-size: .8rem; }
.social-side { display: grid; gap: 10px; align-content: start; }
.reply { display: grid; gap: 6px; }
.reply span { padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.07); color: var(--silver); justify-self: start; }
.reply em { font-style: normal; padding: 8px 12px; border-radius: 12px; background: rgba(217,174,82,.14); border: 1px solid rgba(217,174,82,.32); color: var(--gold-soft); justify-self: end; }
.kpis { display: flex; flex-wrap: wrap; gap: 8px; }
.kpis span { padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); }
.kpis b { color: var(--white); font-weight: var(--w-strong); }
@media (max-width: 980px) {
  .tile.full { grid-column: 1 / -1; display: flex; }
  .tile.full .viz { margin-top: auto; padding-top: 18px; }
}
@media (max-width: 520px) { .social { grid-template-columns: 1fr; } .post { display: grid; grid-template-columns: 96px 1fr; } .post-img { height: auto; min-height: 76px; } }

/* ---------- Final CTA: reminder to take the check ---------- */
.cta-check { margin-top: 26px !important; font-size: 1rem !important; color: var(--silver); }
.cta-check a { color: var(--gold); font-weight: var(--w-strong); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.cta-check a:hover { color: var(--gold-soft); }
[dir="rtl"] .cta-check .flip { display: inline-block; transform: scaleX(-1); }

/* ---------- Comparison table: stacked cards on small screens ---------- */
@media (max-width: 720px) {
  .compare { min-width: 0; }
  .compare-wrap { overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: rgba(255,255,255,.02); }
  .compare td { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 12px; border: 0 !important; border-radius: 0 !important; font-size: .82rem; }
  .compare td[data-label]::before { content: attr(data-label); color: var(--muted); line-height: 1.3; text-align: center; }
  .compare td.us { background: rgba(217,174,82,.1); }
  .compare td.us::before { color: var(--gold); font-weight: var(--w-strong); }
  .compare td:first-child { grid-column: 1 / -1; align-items: flex-start; text-align: start; padding: 14px 16px 10px; font-size: 1rem; color: var(--white); border-bottom: 1px solid var(--line) !important; }
}

/* ---------- Lighter containers for clearer separation from the page background ---------- */
:root { --card: #163A66; --card-2: #10305A; --card-line: rgba(200, 214, 232, .24); }
.trust-strip { background: linear-gradient(180deg, var(--card), var(--card-2)); border-color: var(--card-line); box-shadow: 0 22px 44px -26px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.trust-strip > div + div, .trust-strip > div:nth-child(n+3) { border-color: var(--card-line); }
.tile, .line, .principle { background: linear-gradient(180deg, var(--card), var(--card-2)); border-color: var(--card-line); box-shadow: 0 24px 50px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.line.featured { border-color: rgba(217,174,82,.6); background: radial-gradient(120% 100% at 100% 0%, rgba(217,174,82,.2), transparent 60%), linear-gradient(180deg, var(--card), var(--card-2)); }
[dir="rtl"] .line.featured { background: radial-gradient(120% 100% at 0% 0%, rgba(217,174,82,.2), transparent 60%), linear-gradient(180deg, var(--card), var(--card-2)); }
.tile p, .line ul, .principle p { color: #A9B6C8; }
@media (min-width: 981px) {
  .tile.full { grid-template-rows: auto auto; align-content: center; row-gap: 12px; }
  .tile.full h3 { align-self: end; }
  .tile.full > p { align-self: start; }
  .social { grid-template-columns: 200px minmax(0, 1fr); }
}

/* Results pop-up: wide two-column layout, sized to fit one screen */
.result-modal { width: min(1080px, calc(100vw - 48px)); max-height: calc(100vh - 32px); padding: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 40px); }
.rm-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0 clamp(24px, 3vw, 44px); }
.rm-summary { padding-inline-end: clamp(24px, 3vw, 44px); border-inline-end: 1px solid #E3E8EF; }
.rm-summary .result-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; }
.rm-summary .result-text { margin-top: 16px; }
.rm-details > .result-fix:first-child { margin-top: 0; }
.rm-details .result-fix p, .rm-details .result-ideas { font-size: .96rem; }
.rm-details .result-actions { margin-top: 16px; }
:root[lang="ar"] .result-modal { line-height: 1.75; }

/* ---------- Mobile menu (≤960px) ---------- */
.menu-btn { display: none; }
@media (max-width: 960px) {
  .site-header .wrap { position: relative; gap: 14px; }
  .menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); cursor: pointer; order: 3; }
  .menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--silver); position: relative; transition: transform .2s, opacity .2s; }
  .menu-ico::before, .menu-ico::after { content: ""; position: absolute; inset-inline-start: 0; }
  .menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }
  .nav.open { display: grid; position: absolute; top: 100%; inset-inline: 0; margin: 0; padding: 8px var(--gutter) 16px; gap: 0; background: rgba(2,14,30,.97); border-bottom: 1px solid var(--line); }
  .nav.open a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav.open a:last-child { border-bottom: 0; }
}
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Audit details (under the service lines) ---------- */
.audit-box { margin-top: 18px; border: 1px solid rgba(217,174,82,.45); border-radius: var(--r-l); padding: clamp(24px, 3vw, 34px); background: radial-gradient(80% 140% at 0% 0%, rgba(217,174,82,.1), transparent 60%), linear-gradient(180deg, var(--card), var(--card-2)); }
[dir="rtl"] .audit-box { background: radial-gradient(80% 140% at 100% 0%, rgba(217,174,82,.1), transparent 60%), linear-gradient(180deg, var(--card), var(--card-2)); }
.audit-box h3 { font-size: 1.3rem; }
.audit-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
.audit-col h4 { color: var(--gold); font-size: 1rem; font-weight: var(--w-strong); padding-bottom: 10px; border-bottom: 1px solid var(--card-line); }
.audit-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; color: #A9B6C8; }
.audit-col li { position: relative; padding-inline-start: 22px; }
.audit-col li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 10px; height: 2px; border-radius: 2px; background: var(--gold); }
@media (max-width: 860px) { .audit-cols { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Our commitments (replaces the comparison table) ---------- */
.commitments { border: 1px solid var(--card-line); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); background: linear-gradient(180deg, var(--card), var(--card-2)); box-shadow: 0 24px 50px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.commitments h3 { font-size: 1.3rem; text-align: center; }
.commitments ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; }
.commitments li { display: flex; gap: 14px; align-items: flex-start; color: var(--silver); }
.commitments li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .9rem; margin-top: .1em; }
@media (max-width: 760px) { .commitments ul { grid-template-columns: 1fr; } }
