/* ============================================================
   eqarak — marketing site stylesheet
   Navy + Gold. Space Grotesk (display) / Hanken Grotesk (UI).
   Arabic: IBM Plex Sans Arabic. Full RTL via logical properties.
   ============================================================ */

:root {
  --navy-900:#0B1623; --navy-800:#0F1D2E; --navy-700:#16263a; --navy-600:#21364f;
  --gold:#C8A04B; --gold-bright:#D9B45F; --gold-deep:#A9842F; --gold-soft:#F4ECD8;
  --paper:#FBFAF7; --cream:#EDEBE6; --white:#fff;
  --ink:#14202E; --ink-muted:#5C6B7A; --ink-faint:#8A97A4;
  --line:#E7E3DA; --line-soft:#F0EDE6; --field-line:#D9D5CB;
  --green:#1F8A5B; --green-soft:#E3F3EA; --red:#C0392B;

  --font-display:'Space Grotesk',system-ui,sans-serif;
  --font-ui:'Hanken Grotesk',system-ui,sans-serif;

  --maxw:1200px;
  --gutter:clamp(20px,5vw,48px);
  --section-y:clamp(84px,10.5vw,148px);
  --radius:18px;
  --radius-lg:24px;
  --shadow-card:0 1px 2px rgba(15,29,46,.04),0 18px 40px -28px rgba(15,29,46,.28);
  --shadow-float:0 30px 70px -30px rgba(15,29,46,.5);
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* density tweak */
body.density-compact { --section-y:clamp(56px,7vw,100px); }

/* arabic typography */
html[lang="ar"] {
  --font-display:'IBM Plex Sans Arabic','Space Grotesk',sans-serif;
  --font-ui:'IBM Plex Sans Arabic','Hanken Grotesk',sans-serif;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--font-ui); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
html[lang="ar"] body { letter-spacing:0; }
svg { display:block; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button { font-family:inherit; cursor:pointer; }
::selection { background:var(--gold-soft); color:var(--navy-800); }

::-webkit-scrollbar{ width:12px; height:12px; }
::-webkit-scrollbar-thumb{ background:#d7d3c9; border-radius:8px; border:3px solid var(--paper); }

/* ---------- layout primitives ---------- */
.wrap { max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section { padding-block:var(--section-y); position:relative; }
.section--navy { background:var(--navy-800); color:#fff; }
.section--navy-deep { background:var(--navy-900); color:#fff; }
.section--cream { background:var(--cream); }

.eyebrow {
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--font-ui); font-weight:700; font-size:13px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--gold-deep);
}
html[lang="ar"] .eyebrow { letter-spacing:.06em; }
.section--navy .eyebrow, .section--navy-deep .eyebrow { color:var(--gold-bright); }
.eyebrow::before { content:""; width:22px; height:2px; background:currentColor; opacity:.65; border-radius:2px; }

h1,h2,h3 { font-family:var(--font-display); font-weight:700; letter-spacing:-.02em; line-height:1.05; margin:0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing:0; line-height:1.25; }
.h-sec { font-size:clamp(30px,4.4vw,52px); }
.lead { font-size:clamp(17px,1.5vw,20px); color:var(--ink-muted); line-height:1.62; max-width:56ch; }
.section--navy .lead, .section--navy-deep .lead { color:rgba(255,255,255,.72); }
.sec-head { max-width:64ch; margin-bottom:clamp(40px,5vw,68px); }
.sec-head .h-sec { margin-top:18px; }
.center { text-align:center; margin-inline:auto; }
.center .lead { margin-inline:auto; }

/* ---------- buttons ---------- */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:52px; padding-inline:26px; border-radius:13px; border:1.5px solid transparent;
  font-family:var(--font-ui); font-weight:700; font-size:15.5px; white-space:nowrap;
  transition:transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
}
.btn svg { width:18px; height:18px; }
.btn-gold { background:var(--gold); color:var(--navy-900); box-shadow:0 12px 28px -12px rgba(200,160,75,.85); }
.btn-gold:hover { background:var(--gold-bright); transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(200,160,75,.95); }
.btn-ghost { background:transparent; border-color:var(--field-line); color:var(--ink); }
.btn-ghost:hover { background:var(--white); border-color:var(--ink-faint); transform:translateY(-2px); }
.section--navy .btn-ghost, .section--navy-deep .btn-ghost, .hero .btn-ghost { color:#fff; border-color:rgba(255,255,255,.28); }
.section--navy .btn-ghost:hover, .hero .btn-ghost:hover { background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.5); }
.btn-sm { height:44px; padding-inline:18px; font-size:14.5px; border-radius:11px; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position:sticky; top:0; z-index:100;
  background:rgba(251,250,247,.78); backdrop-filter:blur(16px) saturate(140%);
  border-bottom:1px solid transparent; transition:border-color .25s, box-shadow .25s, background .25s;
}
.header.scrolled { border-bottom-color:var(--line); box-shadow:0 10px 30px -22px rgba(15,29,46,.4); }
.header-in { display:flex; align-items:center; gap:28px; height:74px; }
.nav { display:flex; align-items:center; gap:4px; margin-inline-start:18px; }
.nav a {
  padding:9px 14px; border-radius:9px; font-weight:600; font-size:15px; color:var(--ink-muted);
  transition:background .15s, color .15s;
}
.nav a:hover { background:rgba(15,29,46,.05); color:var(--ink); }
.header-right { margin-inline-start:auto; display:flex; align-items:center; gap:12px; }

/* wordmark */
.wm { font-family:var(--font-display); font-weight:700; letter-spacing:-.035em; color:var(--ink); line-height:1; white-space:nowrap; display:inline-block; }
.wm .k { color:var(--gold); }
.wm-lg { font-size:30px; }
.on-navy .wm, .section--navy .wm, .section--navy-deep .wm, .footer .wm { color:#fff; }
.on-navy .wm .k, .section--navy .wm .k, .footer .wm .k { color:var(--gold-bright); }
.brand { display:inline-flex; align-items:center; gap:0; }

/* language toggle */
.lang {
  display:inline-flex; align-items:center; height:42px; padding:4px; gap:2px;
  border:1.5px solid var(--field-line); border-radius:11px; background:var(--white);
}
.lang button {
  border:0; background:transparent; height:100%; padding:0 13px; border-radius:8px;
  font-family:var(--font-ui); font-weight:700; font-size:14px; color:var(--ink-muted); transition:.15s;
}
.lang button.on { background:var(--navy-800); color:#fff; }
.lang button .ar-g { font-family:'IBM Plex Sans Arabic',sans-serif; }
.on-navy .lang { background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.2); }
.on-navy .lang button { color:rgba(255,255,255,.7); }
.on-navy .lang button.on { background:var(--gold); color:var(--navy-900); }

.burger { display:none; width:44px; height:44px; border-radius:11px; border:1.5px solid var(--field-line); background:var(--white); place-items:center; color:var(--ink); }
.burger svg { width:22px; height:22px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position:relative; overflow:hidden;
  background:radial-gradient(120% 90% at 80% -10%, #16263a 0%, var(--navy-800) 42%, var(--navy-900) 100%);
  color:#fff; padding-top:clamp(48px,7vw,92px); padding-bottom:clamp(64px,8vw,120px);
}
.hero-grid {
  display:grid; grid-template-columns:1.04fr 1.16fr; gap:clamp(32px,5vw,72px); align-items:center;
}
.hero-copy { max-width:600px; position:relative; z-index:3; }
.hero h1 {
  font-size:clamp(38px,5.4vw,68px); line-height:1.02; margin-top:22px; color:#fff;
  text-wrap:balance;
}
html[lang="ar"] .hero h1 { line-height:1.2; }
.hero h1 .accent { color:var(--gold-bright); }
.hero .lead { color:rgba(255,255,255,.74); margin-top:24px; font-size:clamp(17px,1.45vw,20px); }
.hero-cta { display:flex; flex-wrap:wrap; gap:14px; margin-top:36px; }
.hero-meta { display:flex; align-items:center; gap:18px; margin-top:30px; color:rgba(255,255,255,.62); font-size:14px; flex-wrap:wrap; }
.hero-meta .stars { display:inline-flex; gap:3px; color:var(--gold-bright); }
.hero-meta .stars svg { width:16px; height:16px; }
.hero-meta .sep { width:1px; height:18px; background:rgba(255,255,255,.2); }

/* hero visual — browser frame */
.hero-visual { position:relative; z-index:2; }
.device {
  border-radius:16px; overflow:hidden; background:#0c1826;
  box-shadow:var(--shadow-float); border:1px solid rgba(255,255,255,.1);
  transform:perspective(1800px) rotateY(-9deg) rotateX(3deg) translateZ(0);
  transition:transform .5s var(--ease);
}
.hero-visual:hover .device { transform:perspective(1800px) rotateY(-5deg) rotateX(2deg); }
.device-bar { display:flex; align-items:center; gap:7px; padding:11px 15px; background:#0f1d2e; border-bottom:1px solid rgba(255,255,255,.07); }
.device-bar .dot { width:11px; height:11px; border-radius:50%; }
.device-bar .url {
  margin-inline-start:14px; flex:1; height:26px; border-radius:7px; background:rgba(255,255,255,.06);
  display:flex; align-items:center; padding-inline:12px; gap:8px; color:rgba(255,255,255,.55); font-size:12.5px;
}
.device-bar .url svg { width:13px; height:13px; }
.device img { width:100%; display:block; }
body.hero-float .device { transform:perspective(1800px) rotateY(-13deg) rotateX(5deg) scale(1.02); border-radius:14px; }
body.hero-float .device-bar { display:none; }

/* floating chips on hero */
.chip {
  position:absolute; z-index:5; background:rgba(255,255,255,.96); color:var(--ink);
  border-radius:14px; padding:12px 15px; box-shadow:0 20px 44px -18px rgba(0,0,0,.55);
  display:flex; align-items:center; gap:11px; backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.7); animation:floaty 6s ease-in-out infinite;
}
.chip .ci { width:38px; height:38px; border-radius:10px; display:grid; place-items:center; flex:0 0 auto; }
.chip .ci svg { width:20px; height:20px; }
.chip .ct { font-size:12px; color:var(--ink-faint); font-weight:600; line-height:1.2; }
.chip .cv { font-size:15px; font-weight:800; font-family:var(--font-display); color:var(--ink); letter-spacing:-.01em; }
.chip-1 { top:7%; inset-inline-start:-7%; animation-delay:0s; }
.chip-2 { bottom:13%; inset-inline-end:-6%; animation-delay:-2s; }
.chip-3 { bottom:-5%; inset-inline-start:8%; animation-delay:-4s; }
@keyframes floaty { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
@media (prefers-reduced-motion:reduce){ .chip{ animation:none; } }

/* gold decals */
.decal { position:absolute; pointer-events:none; opacity:.5; }
.decal-arcs { inset-inline-end:-120px; top:-120px; width:460px; height:460px; opacity:.4; }
.decal-dots { inset-inline-start:-40px; bottom:40px; width:200px; height:140px; opacity:.5; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust { background:var(--navy-900); color:#fff; padding-block:38px; }
.trust-in { display:flex; align-items:center; gap:clamp(24px,5vw,60px); flex-wrap:wrap; justify-content:center; }
.trust-rate { display:flex; flex-direction:column; gap:5px; align-items:flex-start; flex:0 0 auto; }
html[dir="rtl"] .trust-rate { align-items:flex-end; }
.trust-rate .stars { display:inline-flex; gap:3px; color:var(--gold-bright); }
.trust-rate .stars svg { width:18px; height:18px; }
.trust-rate small { color:rgba(255,255,255,.6); font-size:13.5px; font-weight:600; }
.trust-rate small b { color:#fff; }
.logo-wall { display:flex; align-items:center; gap:clamp(22px,3.4vw,46px); flex-wrap:wrap; justify-content:center; }
.agency-logo { display:inline-flex; align-items:center; gap:10px; color:rgba(255,255,255,.82); opacity:.78; transition:opacity .2s; }
.agency-logo:hover { opacity:1; }
.agency-logo .am {
  width:34px; height:34px; border-radius:9px; display:grid; place-items:center; flex:0 0 auto;
  font-family:var(--font-display); font-weight:700; font-size:13px; color:var(--gold-bright);
  border:1.5px solid rgba(255,255,255,.22);
}
.agency-logo .an { font-family:var(--font-display); font-weight:600; font-size:15.5px; letter-spacing:-.01em; white-space:nowrap; }

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.prod-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.prod-card {
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 28px 32px; transition:transform .25s var(--ease), box-shadow .25s, border-color .25s;
  position:relative; overflow:hidden;
}
.prod-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-card); border-color:var(--gold-soft); }
.prod-card .pi {
  width:54px; height:54px; border-radius:14px; display:grid; place-items:center; margin-bottom:20px;
  background:linear-gradient(145deg,var(--navy-700),var(--navy-800)); color:var(--gold-bright);
  box-shadow:0 12px 24px -14px rgba(15,29,46,.7);
}
.prod-card .pi svg { width:26px; height:26px; }
.prod-card h3 { font-size:21px; letter-spacing:-.01em; }
.prod-card p { margin:9px 0 0; color:var(--ink-muted); font-size:15px; line-height:1.55; }
.prod-card .tags { display:flex; flex-wrap:wrap; gap:7px; margin-top:16px; }
.tag { font-size:12px; font-weight:600; color:var(--gold-deep); background:var(--gold-soft); padding:4px 10px; border-radius:999px; }

/* ============================================================
   OLD WAY vs eqarak
   ============================================================ */
.versus { display:grid; grid-template-columns:1fr auto 1fr; gap:clamp(18px,3vw,40px); align-items:stretch; }
.vs-col { border-radius:var(--radius-lg); padding:clamp(26px,3vw,40px); }
.vs-old { background:var(--white); border:1px solid var(--line); }
.vs-new { background:linear-gradient(160deg,var(--navy-700),var(--navy-900)); color:#fff; position:relative; overflow:hidden; box-shadow:var(--shadow-card); }
.vs-new::after { content:""; position:absolute; inset-inline-end:-80px; top:-80px; width:240px; height:240px; background:radial-gradient(circle,rgba(200,160,75,.22),transparent 70%); }
.vs-tag { display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:13px; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; }
html[lang="ar"] .vs-tag { letter-spacing:0; }
.vs-old .vs-tag { color:var(--ink-faint); }
.vs-new .vs-tag { color:var(--gold-bright); }
.vs-col h3 { font-size:clamp(22px,2.4vw,30px); margin:14px 0 22px; }
.vs-new h3 { color:#fff; }
.vs-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; position:relative; z-index:2; }
.vs-list li { display:flex; align-items:flex-start; gap:13px; font-size:15.5px; line-height:1.45; }
.vs-list li .ic { width:24px; height:24px; border-radius:7px; flex:0 0 auto; display:grid; place-items:center; margin-top:1px; }
.vs-list li .ic svg { width:14px; height:14px; }
.vs-old .ic { background:#FBE9E5; color:var(--red); }
.vs-old li { color:var(--ink-muted); }
.vs-new .ic { background:rgba(200,160,75,.18); color:var(--gold-bright); }
.vs-new li { color:rgba(255,255,255,.9); }
.vs-mid { display:grid; place-items:center; }
.vs-arrow { width:56px; height:56px; border-radius:50%; background:var(--gold); color:var(--navy-900); display:grid; place-items:center; box-shadow:0 16px 30px -12px rgba(200,160,75,.8); }
.vs-arrow svg { width:26px; height:26px; }
html[dir="rtl"] .vs-arrow svg { transform:scaleX(-1); }

/* ============================================================
   FEATURE SPOTLIGHTS
   ============================================================ */
.spot { display:grid; grid-template-columns:1fr 1.12fr; gap:clamp(36px,5vw,80px); align-items:center; }
.spot + .spot { margin-top:clamp(72px,9vw,128px); }
.spot.flip .spot-media { order:-1; }
.spot-copy h2 { font-size:clamp(26px,3.2vw,40px); margin-top:18px; }
.spot-copy .lead { margin-top:18px; }
.spot-points { list-style:none; padding:0; margin:26px 0 0; display:flex; flex-direction:column; gap:15px; }
.spot-points li { display:flex; align-items:flex-start; gap:13px; font-size:15.5px; color:var(--ink); }
.spot-points li .ic { width:26px; height:26px; border-radius:8px; background:var(--gold-soft); color:var(--gold-deep); display:grid; place-items:center; flex:0 0 auto; margin-top:1px; }
.spot-points li .ic svg { width:15px; height:15px; }
.spot-points li b { font-weight:700; }
.spot-points li span { color:var(--ink-muted); }

.media-frame {
  border-radius:16px; overflow:hidden; background:#0c1826; box-shadow:var(--shadow-card);
  border:1px solid var(--line); position:relative;
}
.media-frame.shot img { width:100%; display:block; }
.media-frame .device-bar { background:#0f1d2e; border-color:rgba(255,255,255,.07); }
.spot-media { position:relative; }
.media-badge {
  position:absolute; z-index:4; bottom:-16px; inset-inline-start:-14px;
  background:var(--white); border:1px solid var(--line); border-radius:13px; padding:12px 15px;
  box-shadow:var(--shadow-card); display:flex; align-items:center; gap:11px;
}
.media-badge .mi { width:38px; height:38px; border-radius:10px; background:var(--gold-soft); color:var(--gold-deep); display:grid; place-items:center; flex:0 0 auto; }
.media-badge .mi svg { width:20px; height:20px; }
.media-badge .mt { font-size:12px; color:var(--ink-faint); font-weight:600; }
.media-badge .mv { font-size:15px; font-weight:800; font-family:var(--font-display); }

/* in-app mock (used for AI / cover studio / intake / deals / analytics) */
.mock { background:var(--paper); font-family:var(--font-ui); color:var(--ink); }
.mock-top { display:flex; align-items:center; gap:10px; padding:14px 18px; background:var(--white); border-bottom:1px solid var(--line); }
.mock-top .mdot { width:30px; height:30px; border-radius:9px; background:var(--navy-800); color:var(--gold-bright); display:grid; place-items:center; font-family:var(--font-display); font-weight:700; font-size:13px; }
.mock-top .mtitle { font-weight:700; font-size:14.5px; }
.mock-top .mtitle small { display:block; font-weight:500; font-size:12px; color:var(--ink-faint); }
.mock-body { padding:20px; }

/* AI compose mock */
.ai-tabs { display:flex; gap:8px; margin-bottom:16px; }
.ai-tab { display:inline-flex; align-items:center; gap:7px; padding:8px 13px; border-radius:10px; font-size:13px; font-weight:600; color:var(--ink-muted); background:var(--white); border:1px solid var(--line); }
.ai-tab svg { width:15px; height:15px; }
.ai-tab.on { background:var(--navy-800); color:#fff; border-color:var(--navy-800); }
.ai-tab.on svg { color:var(--gold-bright); }
.ai-prompt { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:14px 16px; color:var(--ink-muted); font-size:13.5px; line-height:1.5; position:relative; }
.ai-prompt .wave { display:inline-flex; gap:3px; align-items:flex-end; height:16px; margin-inline-start:6px; vertical-align:middle; }
.ai-prompt .wave i { width:3px; background:var(--gold); border-radius:2px; animation:eq 1.1s ease-in-out infinite; }
@keyframes eq { 0%,100%{ height:5px; } 50%{ height:15px; } }
.ai-fields { display:grid; grid-template-columns:1fr 1fr; gap:11px; margin-top:14px; }
.ai-field { background:var(--white); border:1px solid var(--line); border-radius:11px; padding:11px 13px; }
.ai-field.full { grid-column:1/-1; }
.ai-field .fl { font-size:11px; color:var(--ink-faint); font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.ai-field .fv { font-weight:700; font-size:14.5px; margin-top:4px; color:var(--ink); }
.ai-field .fv.fill { color:var(--gold-deep); }
.ai-spark { position:absolute; inset-inline-end:13px; top:13px; color:var(--gold); }
.ai-spark svg { width:18px; height:18px; }

/* cover studio mock */
.cover {
  border-radius:14px; overflow:hidden; position:relative; aspect-ratio:4/3;
  background:linear-gradient(150deg,#2a3f57,#0f1d2e);
}
.cover .ph { position:absolute; inset:0; display:grid; place-items:center; color:rgba(255,255,255,.15); }
.cover .ph svg { width:64px; height:64px; }
.cover .ov-top { position:absolute; top:14px; inset-inline-start:14px; display:flex; align-items:center; gap:8px; }
.cover .ov-badge { background:var(--gold); color:var(--navy-900); font-weight:800; font-size:11px; padding:5px 11px; border-radius:7px; font-family:var(--font-display); }
.cover .ov-bottom { position:absolute; inset-inline:0; bottom:0; padding:18px; background:linear-gradient(transparent,rgba(11,22,35,.85)); }
.cover .ov-price { font-family:var(--font-display); font-weight:700; font-size:24px; color:#fff; }
.cover .ov-loc { color:rgba(255,255,255,.78); font-size:13px; margin-top:2px; display:flex; align-items:center; gap:6px; }
.cover .ov-loc svg { width:14px; height:14px; color:var(--gold-bright); }
.cover .ov-brand { position:absolute; bottom:18px; inset-inline-end:18px; }
.cover-controls { display:flex; gap:9px; margin-top:14px; }
.cover-sw { width:30px; height:30px; border-radius:8px; border:2px solid var(--white); box-shadow:0 0 0 1px var(--line); }
.cover-chip { margin-inline-start:auto; display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:600; color:var(--ink-muted); }

/* intake mock */
.intake-head { text-align:center; padding:6px 0 16px; }
.intake-head .wm { font-size:22px; }
.intake-head p { color:var(--ink-faint); font-size:12.5px; margin:4px 0 0; }
.intake-row { display:flex; gap:10px; margin-bottom:11px; }
.intake-cell { flex:1; background:var(--white); border:1px solid var(--line); border-radius:11px; padding:10px 13px; }
.intake-cell .il { font-size:11px; color:var(--ink-faint); font-weight:700; }
.intake-cell .iv { font-weight:700; font-size:14px; margin-top:3px; }
.intake-opts { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:13px; }
.intake-opt { padding:7px 13px; border-radius:9px; font-size:13px; font-weight:600; border:1.5px solid var(--line); color:var(--ink-muted); }
.intake-opt.on { background:var(--gold-soft); border-color:var(--gold); color:var(--gold-deep); }
.intake-match { background:var(--green-soft); border:1px solid #BFE3CD; border-radius:12px; padding:12px 14px; display:flex; align-items:center; gap:11px; }
.intake-match .mm { width:34px; height:34px; border-radius:9px; background:var(--green); color:#fff; display:grid; place-items:center; flex:0 0 auto; }
.intake-match .mm svg { width:18px; height:18px; }
.intake-match b { color:#15633f; }
.intake-match small { display:block; color:#2f7a55; font-size:12.5px; }

/* deals mock */
.deals-rows { display:flex; flex-direction:column; gap:10px; }
.deal { display:flex; align-items:center; gap:12px; background:var(--white); border:1px solid var(--line); border-radius:12px; padding:13px 15px; }
.deal .dav { width:36px; height:36px; border-radius:9px; background:linear-gradient(135deg,#23405f,#16263a); color:#fff; display:grid; place-items:center; font-weight:700; font-size:12px; flex:0 0 auto; }
.deal .dn { font-weight:700; font-size:14px; }
.deal .ds { font-size:12px; color:var(--ink-faint); }
.deal .dstage { margin-inline-start:auto; font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:999px; }
.deal .damt { font-family:var(--font-display); font-weight:700; font-size:14.5px; min-width:84px; text-align:end; }
.stage-won { background:var(--green-soft); color:#15633f; }
.stage-neg { background:#FBEFD2; color:#8A5A12; }
.stage-new { background:#E2ECFB; color:#22569f; }

/* analytics mock */
.kpi-row { display:grid; grid-template-columns:repeat(3,1fr); gap:11px; margin-bottom:16px; }
.kpi { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:13px 15px; }
.kpi .kl { font-size:11.5px; color:var(--ink-faint); font-weight:700; }
.kpi .kv { font-family:var(--font-display); font-weight:700; font-size:22px; margin-top:3px; }
.kpi .kd { font-size:11.5px; font-weight:700; color:var(--green); margin-top:2px; }
.bars { background:var(--white); border:1px solid var(--line); border-radius:12px; padding:16px; display:flex; align-items:flex-end; gap:9px; height:128px; }
.bars .bar { flex:1; border-radius:6px 6px 0 0; background:var(--navy-700); }
.bars .bar.hot { background:linear-gradient(var(--gold-bright),var(--gold)); }

/* ============================================================
   TABBED EXPLORER
   ============================================================ */
.tabs-nav { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; margin-bottom:36px; }
.tab-btn {
  padding:11px 20px; border-radius:11px; border:1.5px solid var(--line); background:var(--white);
  font-weight:700; font-size:15px; color:var(--ink-muted); transition:.16s;
}
.tab-btn:hover { color:var(--ink); border-color:var(--field-line); }
.tab-btn.on { background:var(--navy-800); color:#fff; border-color:var(--navy-800); }
.tab-stage { display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(24px,3.5vw,48px); align-items:center; background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(20px,2.6vw,34px); box-shadow:var(--shadow-card); }
.tab-panel { display:none; }
.tab-panel.on { display:contents; }
.tab-visual { border-radius:14px; overflow:hidden; border:1px solid var(--line); box-shadow:0 18px 40px -28px rgba(15,29,46,.4); background:#0c1826; }
.tab-visual img { width:100%; display:block; }
.tab-info h3 { font-size:clamp(22px,2.4vw,30px); }
.tab-info .lead { margin-top:14px; font-size:16px; }
.tab-info ul { list-style:none; padding:0; margin:22px 0 0; display:flex; flex-direction:column; gap:13px; }
.tab-info li { display:flex; align-items:flex-start; gap:11px; font-size:15px; color:var(--ink); }
.tab-info li .ic { width:22px; height:22px; border-radius:7px; background:var(--gold-soft); color:var(--gold-deep); display:grid; place-items:center; flex:0 0 auto; margin-top:1px; }
.tab-info li .ic svg { width:13px; height:13px; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(20px,3vw,44px); text-align:center; }
.stat .sv { font-family:var(--font-display); font-weight:700; font-size:clamp(40px,5.4vw,68px); color:var(--gold-bright); letter-spacing:-.03em; line-height:1; }
.stat .sl { color:rgba(255,255,255,.66); font-size:15px; margin-top:12px; font-weight:500; }
.stats-divider { height:1px; background:rgba(255,255,255,.12); margin-block:clamp(40px,5vw,60px); }

/* ============================================================
   SOCIAL + ANALYTICS HIGHLIGHT
   ============================================================ */
.social { display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(36px,5vw,72px); align-items:center; }
.ig-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-card); max-width:380px; }
.ig-head { display:flex; align-items:center; gap:11px; padding:13px 15px; }
.ig-head .iga { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--gold),var(--gold-deep)); display:grid; place-items:center; color:var(--navy-900); font-family:var(--font-display); font-weight:700; }
.ig-head .ign { font-weight:700; font-size:14px; }
.ig-head .igs { font-size:12px; color:var(--ink-faint); }
.ig-img { aspect-ratio:1; background:linear-gradient(150deg,#2a3f57,#0f1d2e); position:relative; display:grid; place-items:center; color:rgba(255,255,255,.15); }
.ig-img svg { width:60px; height:60px; }
.ig-img .igprice { position:absolute; bottom:14px; inset-inline-start:14px; background:var(--gold); color:var(--navy-900); font-family:var(--font-display); font-weight:700; font-size:15px; padding:5px 11px; border-radius:8px; }
.ig-actions { display:flex; gap:14px; padding:12px 15px 6px; color:var(--ink); }
.ig-actions svg { width:22px; height:22px; }
.ig-cap { padding:2px 15px 16px; font-size:13.5px; color:var(--ink-muted); }
.ig-cap b { color:var(--ink); }
.social-grid { display:grid; gap:14px; margin-top:26px; }
.an-card { background:var(--white); border:1px solid var(--line); border-radius:14px; padding:18px 20px; }
.an-card .anl { font-size:13px; color:var(--ink-faint); font-weight:600; }
.an-card .anv { font-family:var(--font-display); font-weight:700; font-size:26px; margin-top:4px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tnl { position:relative; }
.tnl-track { overflow:hidden; }
.tnl-row { display:flex; transition:transform .5s var(--ease); }
.tnl-card { flex:0 0 100%; padding:clamp(8px,2vw,24px); }
.tnl-inner { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(32px,4vw,56px); box-shadow:var(--shadow-card); text-align:center; max-width:840px; margin-inline:auto; }
.tnl-quote { font-family:var(--font-display); font-weight:500; font-size:clamp(20px,2.6vw,30px); line-height:1.4; letter-spacing:-.01em; color:var(--ink); }
html[lang="ar"] .tnl-quote { line-height:1.7; }
.tnl-stars { display:inline-flex; gap:3px; color:var(--gold); margin-bottom:22px; }
.tnl-stars svg { width:20px; height:20px; }
.tnl-author { display:flex; align-items:center; justify-content:center; gap:13px; margin-top:30px; }
.tnl-av { width:50px; height:50px; border-radius:50%; background:linear-gradient(135deg,#23405f,#16263a); color:#fff; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; font-size:16px; }
.tnl-meta { text-align:start; }
.tnl-meta .nm { font-weight:700; font-size:15.5px; }
.tnl-meta .rl { color:var(--ink-faint); font-size:13.5px; }
.tnl-ctrl { display:flex; align-items:center; justify-content:center; gap:14px; margin-top:30px; }
.tnl-arrow { width:48px; height:48px; border-radius:50%; border:1.5px solid var(--field-line); background:var(--white); display:grid; place-items:center; color:var(--ink); transition:.16s; }
.tnl-arrow:hover { background:var(--navy-800); color:#fff; border-color:var(--navy-800); }
.tnl-arrow svg { width:20px; height:20px; }
html[dir="rtl"] .tnl-arrow svg { transform:scaleX(-1); }
.tnl-dots { display:flex; gap:8px; }
.tnl-dot { width:9px; height:9px; border-radius:50%; background:var(--field-line); border:0; padding:0; transition:.2s; }
.tnl-dot.on { background:var(--gold); width:26px; border-radius:5px; }

/* ============================================================
   PERSONAS
   ============================================================ */
.persona-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.persona { background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:30px 28px; }
.persona .pic { width:50px; height:50px; border-radius:13px; background:var(--gold-soft); color:var(--gold-deep); display:grid; place-items:center; margin-bottom:18px; }
.persona .pic svg { width:26px; height:26px; }
.persona h3 { font-size:21px; }
.persona p { color:var(--ink-muted); font-size:15px; margin:8px 0 0; line-height:1.55; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { background:radial-gradient(120% 120% at 50% -20%, #16263a 0%, var(--navy-800) 45%, var(--navy-900) 100%); color:#fff; text-align:center; position:relative; overflow:hidden; }
.final h2 { font-size:clamp(34px,5vw,64px); color:#fff; }
.final h2 .accent { color:var(--gold-bright); }
.final .lead { color:rgba(255,255,255,.74); margin:22px auto 0; }
.final-cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:38px; }
.final-note { margin-top:22px; color:rgba(255,255,255,.5); font-size:14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background:var(--navy-900); color:#fff; padding-block:clamp(56px,7vw,84px) 36px; }
.footer-top { display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:clamp(28px,4vw,56px); }
.footer-brand .wm { font-size:28px; }
.footer-brand p { color:rgba(255,255,255,.55); font-size:14.5px; margin:16px 0 22px; max-width:30ch; line-height:1.6; }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:40px; height:40px; border-radius:11px; border:1px solid rgba(255,255,255,.16); display:grid; place-items:center; color:rgba(255,255,255,.7); transition:.16s; }
.footer-social a:hover { background:var(--gold); color:var(--navy-900); border-color:var(--gold); }
.footer-social svg { width:19px; height:19px; }
.footer-col h4 { font-family:var(--font-ui); font-size:13px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-bright); margin:0 0 16px; }
.footer-col a { display:block; color:rgba(255,255,255,.62); font-size:14.5px; padding:6px 0; transition:.15s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-top:clamp(40px,5vw,60px); padding-top:28px; border-top:1px solid rgba(255,255,255,.1); }
.footer-bottom small { color:rgba(255,255,255,.5); font-size:13.5px; }
.footer-bottom .lang { margin-inline-start:auto; }

/* ============================================================
   MOBILE SHOWCASE — CSS phone frames
   ============================================================ */
.mobile { display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,5vw,72px); align-items:center; }
.phones { display:flex; justify-content:center; align-items:center; gap:0; }
.phone {
  width:248px; flex:0 0 248px; border-radius:42px; padding:10px;
  background:linear-gradient(155deg,#26405d,#0b1623);
  box-shadow:0 40px 80px -32px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  position:relative;
}
.phone::before { content:""; position:absolute; top:20px; left:50%; transform:translateX(-50%); width:78px; height:7px; border-radius:5px; background:rgba(0,0,0,.55); z-index:5; }
.phone-1 { transform:rotate(-5deg) translateX(14px); z-index:1; }
.phone-2 { transform:rotate(5deg) translateX(-14px); margin-inline-start:-58px; z-index:2; }
.phone-screen { border-radius:33px; overflow:hidden; background:var(--paper); height:500px; display:flex; flex-direction:column; }
.mapp-top { padding:30px 16px 14px; background:var(--white); border-bottom:1px solid var(--line); }
.mapp-top .mt-title { font-family:var(--font-display); font-weight:700; font-size:19px; }
.mapp-top .mt-sub { font-size:12px; color:var(--ink-faint); margin-top:1px; }
.mapp-body { padding:14px; display:flex; flex-direction:column; gap:10px; overflow:hidden; flex:1; }
.mday-head { display:flex; align-items:center; gap:9px; font-weight:700; font-size:14px; }
.mday-head .mc { width:30px; height:30px; border-radius:9px; background:var(--gold-soft); color:var(--gold-deep); display:grid; place-items:center; }
.mday-head .mc svg { width:16px; height:16px; }
.mday-head .cnt { margin-inline-start:auto; font-size:12px; font-weight:700; color:var(--ink-faint); background:var(--line-soft); padding:3px 9px; border-radius:999px; }
.mview { display:flex; align-items:center; gap:11px; padding:12px; border-radius:13px; border:1px solid var(--line); background:var(--white); border-inline-start:3px solid var(--gold); }
.mview .mtime { text-align:center; flex:0 0 auto; }
.mview .mtime b { display:block; font-family:var(--font-display); font-weight:700; font-size:14px; }
.mview .mtime small { font-size:10px; color:var(--ink-faint); }
.mview .mvn { font-weight:700; font-size:13.5px; }
.mview .mva { font-size:12px; color:var(--ink-faint); }
.mview .chev { margin-inline-start:auto; color:var(--ink-faint); }
.mlist-img { aspect-ratio:16/11; background:linear-gradient(150deg,#2a3f57,#0f1d2e); position:relative; display:grid; place-items:center; color:rgba(255,255,255,.16); }
.mlist-img svg { width:46px; height:46px; }
.mlist-img .for { position:absolute; top:11px; inset-inline-start:11px; background:var(--gold); color:var(--navy-900); font-family:var(--font-display); font-weight:700; font-size:10px; padding:3px 9px; border-radius:6px; }
.mlist-img .heart { position:absolute; top:9px; inset-inline-end:9px; width:30px; height:30px; border-radius:50%; background:rgba(255,255,255,.92); display:grid; place-items:center; color:var(--ink); }
.mlist-img .heart svg { width:15px; height:15px; }
.mlist-info { padding:12px 14px 14px; }
.mlist-info .mprice { font-family:var(--font-display); font-weight:700; font-size:18px; }
.mlist-info .mtitle2 { font-weight:700; font-size:13.5px; margin-top:2px; }
.mlist-info .mloc { font-size:11.5px; color:var(--ink-faint); display:flex; align-items:center; gap:5px; margin-top:3px; }
.mlist-info .mloc svg { width:12px; height:12px; color:var(--gold-deep); }
.mlist-spec { display:flex; gap:12px; margin-top:10px; font-size:12px; color:var(--ink-muted); font-weight:600; }
.mwa { margin-top:12px; height:40px; border-radius:11px; background:var(--green); color:#fff; display:flex; align-items:center; justify-content:center; gap:8px; font-weight:700; font-size:13px; }
.mwa svg { width:16px; height:16px; }

.section--navy-deep .spot-points li { color:rgba(255,255,255,.86); }
.section--navy-deep .spot-points li b { color:#fff; }
.section--navy-deep .spot-points li .ic { color:var(--gold-deep); }

/* reveal animation */
.reveal { opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){ .reveal{ opacity:1; transform:none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1080px){
  .hero-grid { grid-template-columns:1fr; gap:48px; }
  .hero-copy { max-width:none; }
  .hero-visual { max-width:620px; }
  .spot, .spot.flip { grid-template-columns:1fr; gap:36px; }
  .spot.flip .spot-media { order:0; }
  .tab-stage { grid-template-columns:1fr; }
  .social { grid-template-columns:1fr; }
  .mobile { grid-template-columns:1fr; gap:44px; }
  .prod-grid { grid-template-columns:repeat(2,1fr); }
  .persona-grid { grid-template-columns:1fr; }
  .stats { grid-template-columns:repeat(2,1fr); gap:36px 20px; }
  .versus { grid-template-columns:1fr; }
  .vs-mid { padding:6px 0; }
  html[dir="rtl"] .vs-arrow svg, .vs-arrow svg { transform:rotate(90deg); }
  html[dir="rtl"] .vs-arrow svg { transform:rotate(90deg) scaleX(1); }
  .footer-top { grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .nav, .header-right .btn-demo, .header-right .lang.desk { display:none; }
  .burger { display:grid; }
  .header-right { gap:10px; }
  .prod-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .hero h1 { font-size:clamp(34px,9vw,46px); }
  .chip { display:none; }
  .tnl-meta { text-align:center; }
  .phone { width:210px; flex-basis:210px; }
  .phone-screen { height:430px; }
  .phone-2 { margin-inline-start:-46px; }
}

/* mobile nav drawer */
.mnav { position:fixed; inset:0; z-index:200; background:rgba(11,22,35,.5); backdrop-filter:blur(4px); opacity:0; pointer-events:none; transition:.25s; }
.mnav.open { opacity:1; pointer-events:auto; }
.mnav-panel { position:absolute; inset-block:0; inset-inline-end:0; width:min(82vw,340px); background:var(--paper); padding:24px; display:flex; flex-direction:column; gap:6px; transform:translateX(100%); transition:transform .3s var(--ease); }
html[dir="rtl"] .mnav-panel { transform:translateX(-100%); }
.mnav.open .mnav-panel { transform:none; }
.mnav-panel a { padding:14px 12px; border-radius:11px; font-weight:600; font-size:18px; color:var(--ink); }
.mnav-panel a:hover { background:rgba(15,29,46,.05); }
.mnav-top { display:flex; align-items:center; margin-bottom:14px; }
.mnav-top .x { margin-inline-start:auto; width:44px; height:44px; border-radius:11px; border:1.5px solid var(--field-line); background:var(--white); display:grid; place-items:center; }
.mnav-cta { margin-top:14px; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks { position:fixed; inset-block-end:18px; inset-inline-end:18px; z-index:2147483646; width:288px;
  background:rgba(251,250,247,.86); -webkit-backdrop-filter:blur(22px) saturate(150%); backdrop-filter:blur(22px) saturate(150%);
  border:1px solid rgba(255,255,255,.6); border-radius:16px; box-shadow:0 20px 50px -18px rgba(15,29,46,.5);
  font-family:var(--font-ui); color:var(--ink); display:none; overflow:hidden; }
.tweaks.show { display:block; }
.tweaks-hd { display:flex; align-items:center; justify-content:space-between; padding:14px 12px 14px 18px; border-bottom:1px solid var(--line); }
.tweaks-hd b { font-family:var(--font-display); font-size:15px; }
.tweaks-x { width:28px; height:28px; border-radius:8px; border:0; background:transparent; color:var(--ink-faint); font-size:18px; }
.tweaks-x:hover { background:rgba(15,29,46,.06); color:var(--ink); }
.tweaks-body { padding:16px 18px 20px; display:flex; flex-direction:column; gap:18px; max-height:min(70vh,560px); overflow-y:auto; }
.twk-sec { font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); }
.twk-field { display:flex; flex-direction:column; gap:8px; }
.twk-field > span { font-weight:600; font-size:13.5px; }
.seg { display:flex; gap:4px; background:rgba(15,29,46,.05); padding:4px; border-radius:10px; }
.seg button { flex:1; border:0; background:transparent; padding:8px 6px; border-radius:7px; font-family:var(--font-ui); font-weight:600; font-size:12.5px; color:var(--ink-muted); }
.seg button.on { background:var(--white); color:var(--ink); box-shadow:0 1px 3px rgba(15,29,46,.12); }
.swatches { display:flex; gap:8px; }
.swatch { width:34px; height:34px; border-radius:9px; border:2px solid transparent; box-shadow:0 0 0 1px var(--line); cursor:pointer; }
.swatch.on { border-color:var(--ink); }
.twk-select { width:100%; height:40px; border-radius:10px; border:1.5px solid var(--field-line); background:var(--white); padding:0 12px; font-family:var(--font-ui); font-size:13.5px; color:var(--ink); }
