/* Nanovate Marketing landing page (/marketing, /ar/marketing). Loads after nv.css. Mobile first. */
.mk{ --mk-card:#0b0d0d; --mk-card2:#101414; --mk-ink:#0B0D1C; }

/* header lockup + CTA */
.mk .nav .brand img.mk-logo{ height:28px; width:auto; }
.mk .nav .brand{ flex:none; }
.mk .nav .brand img.mk-logo{ max-width:none; }
.mk .nav .nav-act .btn.mk-navcta{ display:none; }
@media (min-width:640px){ .mk .nav .nav-act .btn.mk-navcta{ display:inline-flex; } }
.mk .menu a[aria-current="page"]{ color:#fff; }

/* shared */
.mk-sec{ padding:72px 0; }
.mk .sec-head{ margin-bottom:36px; }
.mk .h-l{ font-size:clamp(30px,4.4vw,56px); }
html[lang="ar"] .mk .h-l{ line-height:1.35; }
.mk-btn svg{ width:18px; height:18px; }
.mk-mid{ display:flex; justify-content:center; margin-top:48px; }
.mk-sample{ font-size:12.5px; color:var(--dim); }
.mk-note{ display:block; font-size:12.5px; color:var(--dim); margin-top:2px; }
figcaption{ margin-top:10px; line-height:1.5; }

/* browser window frame */
.mk-win{ position:relative; border-radius:14px; overflow:hidden; border:1px solid var(--line-2); background:#0b0d0d; box-shadow:0 30px 80px -30px rgba(0,0,0,.8), 0 0 0 5px rgba(219,222,227,.03); direction:ltr; }
.mk-bar{ display:flex; align-items:center; gap:6px; height:30px; padding:0 12px; border-bottom:1px solid var(--line); background:#0d1010; }
.mk-bar i{ width:9px; height:9px; border-radius:50%; background:#2b2f2f; flex:none; }
.mk-bar span{ margin:0 auto; font-size:12px; color:#c9d6d2; background:#151a1a; border:1px solid var(--line); border-radius:99px; padding:2px 12px; font-family:var(--body); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:70%; }
.mk-bar span b{ font-weight:400; color:var(--dim); }
.mk-win img, .mk-win video{ width:100%; height:auto; display:block; }

/* ---------- hero ---------- */
.mk-hero{ position:relative; padding:96px 0 40px; overflow:clip; isolation:isolate; }
.mk-hero .aurora{ opacity:.75; }
.mk-hero-grid{ display:grid; gap:32px; }
.mk-hero .lbl{ margin-bottom:12px; }
.mk-h1{ font-size:clamp(34px,4.4vw,64px); letter-spacing:-.04em; line-height:1.02; }
html[lang="ar"] .mk-h1{ letter-spacing:0; line-height:1.3; font-size:clamp(32px,5.2vw,64px); }
.mk-hero .lead{ margin-top:16px; font-size:clamp(16px,1.35vw,19px); }
.mk-hero .btn-row{ margin-top:22px; }
.mk-hero .btn-row .btn{ width:100%; }
.mk-works{ display:flex; align-items:center; gap:12px; margin-top:20px; flex-wrap:wrap; }
.mk-works > span{ font-size:13px; color:var(--dim); }
.mk-chs{ list-style:none; margin:0; padding:0; display:flex; gap:8px; }
.mk-ch > span:first-child{ display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:10px; }
.mk-ch svg{ width:22px; height:22px; }
.mk-hero-media{ margin:0; }
.mk-vid{ position:relative; aspect-ratio:1280/678; background:#0b0d0d; overflow:hidden; }
.mk-vid video{ position:absolute; inset:-42px 0 auto; height:auto !important; aspect-ratio:16/9; top:-6.2%; }
.mk-vid img{ position:absolute; inset:0; }
.mk-vid video, .mk-vid img{ width:100%; height:100%; object-fit:cover; }

@media (min-width:640px){ .mk-hero .btn-row .btn{ width:auto; } }
@media (min-width:1000px){
  .mk-hero{ padding:170px 0 80px; }
  .mk-hero-grid{ grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); align-items:center; gap:56px; }
  .mk-hero-media{ margin-inline-end:-24px; }
}

/* ---------- problem ---------- */
.mk-stats{ display:grid; gap:14px; }
.mk-stat{ border:1px solid var(--line); border-radius:var(--r); background:var(--mk-card); padding:24px 22px; display:flex; flex-direction:column; gap:10px; }
.mk-stat b{ font-family:var(--display); font-size:clamp(44px,5vw,64px); line-height:1; color:var(--green); letter-spacing:-.03em; text-align:start; }
html[lang="ar"] .mk-stat b{ font-family:var(--display); }
.mk-stat p{ margin:0; color:var(--text); font-size:16px; line-height:1.55; }
.mk-stat small{ margin-top:auto; padding-top:10px; border-top:1px solid var(--line); font-size:12px; color:var(--dim); line-height:1.45; text-align:start; }
html[lang="ar"] .mk-stat small{ text-align:right; direction:ltr; unicode-bidi:plaintext; }
.mk-srcnote{ margin:12px 0 0; font-size:12.5px; color:var(--dim); }
.mk-fast, .mk-result{ display:flex; gap:16px; align-items:flex-start; margin-top:28px; padding:22px; border-radius:var(--r); border:1px solid rgba(var(--green-rgb),.35); background:linear-gradient(180deg, rgba(var(--green-rgb),.10), rgba(var(--green-rgb),.03)); }
.mk-fast p{ margin:0; font-family:var(--display); font-size:clamp(19px,2vw,26px); font-weight:600; line-height:1.3; }
html[lang="ar"] .mk-fast p{ font-family:var(--ar); font-weight:700; line-height:1.5; }
.mk-fast small{ display:block; margin-top:6px; font-size:12.5px; color:var(--dim); }
.mk-fast-ic{ flex:none; display:inline-flex; width:44px; height:44px; border-radius:12px; align-items:center; justify-content:center; background:rgba(var(--green-rgb),.16); color:var(--green); }
.mk-fast-ic svg{ width:22px; height:22px; }
@media (min-width:800px){ .mk-stats{ grid-template-columns:repeat(3,1fr); gap:18px; } }

/* ---------- features ---------- */
.mk-feat{ display:grid; gap:24px; padding:36px 0; border-top:1px solid var(--line); }
.mk-feat:first-of-type{ border-top:0; padding-top:0; }
.mk-num{ font-family:var(--mono); font-size:13px; color:var(--green); }
.mk-feat-copy h3{ margin:8px 0 10px; }
.mk-feat-copy > p{ color:var(--muted); margin:0; }
.mk-ticks{ list-style:none; padding:0; margin:18px 0 0; display:grid; gap:10px; }
.mk-ticks li{ display:flex; gap:10px; align-items:flex-start; font-size:15.5px; line-height:1.5; }
.mk-ticks svg{ flex:none; width:18px; height:18px; margin-top:3px; color:var(--green); }
.mk-shot{ margin:0; }
.mk-pair{ display:grid; grid-auto-flow:column; grid-auto-columns:88%; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; margin-inline:calc(var(--gut) * -1); padding-inline:var(--gut); scrollbar-width:thin; }
.mk-pair > *{ scroll-snap-align:start; }
@media (min-width:1000px){
  .mk-feat{ grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; align-items:center; padding:64px 0; }
  .mk-feat.rev .mk-feat-copy{ order:2; }
  .mk-pair{ grid-auto-flow:row; grid-auto-columns:auto; overflow:visible; margin:0; padding:0; gap:20px; }
}

/* ---------- watch ---------- */
.mk-watch .sec-head.center{ margin-inline:auto; text-align:center; }
.mk-watch .sec-head .lead{ margin-inline:auto; }
.mk-demo{ margin:0 auto; max-width:1040px; }
.mk-demo-box{ aspect-ratio:16/9; border-radius:16px; overflow:hidden; border:1px solid var(--line-2); background:#000; }
.mk-demo-box video{ width:100%; height:100%; object-fit:contain; background:#000; }
.mk-demo figcaption{ text-align:center; }

/* ---------- media buyer ---------- */
.mk-bgrid{ display:grid; gap:14px; }
.mk-bcard{ padding:22px; }
.mk-bcard h3{ margin:14px 0 6px; }
.mk-bcard p{ margin:0; color:var(--muted); font-size:15px; }
.mk-copilot{ margin:22px 0 0; font-size:15px; color:var(--text); padding-inline-start:14px; border-inline-start:3px solid var(--green); }
@media (min-width:640px){ .mk-bgrid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .mk-bgrid{ grid-template-columns:repeat(5,1fr); } }

/* ---------- who (tabs) ---------- */
.mk-tablist{ display:flex; gap:6px; padding:5px; border:1px solid var(--line); border-radius:999px; background:var(--mk-card); width:max-content; max-width:100%; overflow-x:auto; }
.mk-tablist button{ border:0; background:transparent; color:var(--muted); padding:10px 16px; border-radius:999px; cursor:pointer; font-size:15px; font-weight:600; white-space:nowrap; }
.mk-tablist button[aria-selected="true"]{ background:var(--green); color:var(--navy); }
.mk-panel{ margin-top:22px; border:1px solid var(--line); border-radius:var(--r); background:var(--mk-card); padding:26px 22px; }
.mk-panel-h{ margin:0; font-family:var(--display); font-size:clamp(21px,2.2vw,30px); font-weight:600; line-height:1.3; letter-spacing:-.01em; }
html[lang="ar"] .mk-panel-h{ font-family:var(--ar); font-weight:800; line-height:1.55; }
.mk-inds{ display:grid; gap:10px; margin-top:20px; }
.mk-ind{ display:flex; flex-direction:column; gap:2px; padding:14px 16px; border-radius:14px; background:var(--mk-card2); border:1px solid var(--line); }
.mk-ind b{ font-size:16px; }
.mk-ind span{ color:var(--muted); font-size:14.5px; }
@media (min-width:800px){ .mk-inds{ grid-template-columns:1fr 1fr; } .mk-panel{ padding:36px; } }

/* ---------- steps ---------- */
.mk-steps{ list-style:none; padding:0; margin:0; display:grid; gap:14px; }
.mk-steps .card{ padding:24px 22px; }
.mk-step{ display:inline-flex; width:36px; height:36px; border-radius:50%; align-items:center; justify-content:center; background:rgba(var(--green-rgb),.14); color:var(--green); font-weight:700; font-family:var(--display); margin-bottom:14px; }
.mk-steps h3{ margin-bottom:6px; }
.mk-steps p{ margin:0; color:var(--muted); font-size:15px; }
@media (min-width:640px){ .mk-steps{ grid-template-columns:1fr 1fr; } }
@media (min-width:1000px){ .mk-steps{ grid-template-columns:repeat(4,1fr); } }

/* ---------- case study ---------- */
.mk-case-card{ border:1px solid var(--line-2); border-radius:24px; padding:28px 22px; background:radial-gradient(70% 90% at 100% 0%, rgba(102,45,145,.28), transparent 60%), var(--mk-card); }
.mk-case-h{ max-width:820px; }
.mk-case-cols{ display:grid; gap:20px; margin-top:26px; }
.mk-case-cols h3, .mk-result h3{ font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--dim); font-family:var(--body); font-weight:600; margin-bottom:8px; }
html[lang="ar"] .mk-case-cols h3, html[lang="ar"] .mk-result h3{ letter-spacing:0; font-size:15px; font-family:var(--ar); }
.mk-case-cols p{ margin:0; color:var(--muted); font-size:15.5px; }
.mk-result p{ margin:0; font-family:var(--display); font-size:clamp(19px,2vw,25px); font-weight:600; line-height:1.35; }
html[lang="ar"] .mk-result p{ font-family:var(--ar); font-weight:700; line-height:1.55; }
.mk-figs{ display:grid; gap:12px; margin-top:20px; }
.mk-figs[hidden]{ display:none; }
.mk-fig{ padding:18px; border-radius:14px; border:1px solid var(--line); background:var(--mk-card2); display:flex; flex-direction:column; gap:4px; }
.mk-fig b{ font-family:var(--display); font-size:34px; color:var(--green); line-height:1; }
.mk-fig small{ color:var(--dim); font-size:12.5px; }
@media (min-width:800px){ .mk-case-card{ padding:48px; } .mk-case-cols{ grid-template-columns:1fr 1fr; gap:36px; } .mk-figs{ grid-template-columns:repeat(4,1fr); } }

/* ---------- before/after table ---------- */
.mk-cmp{ width:100%; border-collapse:separate; border-spacing:0; }
.mk-cmp thead{ display:none; }
.mk-cmp tr{ display:block; border:1px solid var(--line); border-radius:16px; background:var(--mk-card); padding:16px 18px; margin-bottom:12px; }
.mk-cmp th[scope="row"]{ display:block; text-align:start; font-family:var(--display); font-size:18px; font-weight:700; margin-bottom:8px; }
html[lang="ar"] .mk-cmp th[scope="row"]{ font-family:var(--ar); font-weight:800; }
.mk-cmp td{ display:block; font-size:15px; padding:6px 0; color:var(--muted); }
.mk-cmp td::before{ content:attr(data-l); display:block; font-size:12px; color:var(--dim); letter-spacing:.06em; text-transform:uppercase; margin-bottom:2px; }
html[lang="ar"] .mk-cmp td::before{ letter-spacing:0; text-transform:none; }
.mk-cmp td:last-child{ color:var(--text); display:flex; flex-wrap:wrap; gap:4px 8px; align-items:flex-start; }
.mk-cmp td:last-child::before{ flex-basis:100%; color:var(--green); }
.mk-cmp td svg{ width:18px; height:18px; color:var(--green); flex:none; margin-top:2px; }
.mk-cmp td:last-child span{ flex:1; }
@media (min-width:800px){
  .mk-cmp{ border:1px solid var(--line); border-radius:var(--r); overflow:hidden; background:var(--mk-card); }
  .mk-cmp thead{ display:table-header-group; }
  .mk-cmp tr{ display:table-row; border:0; border-radius:0; background:none; padding:0; margin:0; }
  .mk-cmp th, .mk-cmp td{ display:table-cell; padding:18px 22px; border-bottom:1px solid var(--line); text-align:start; vertical-align:top; }
  .mk-cmp tbody tr:last-child > *{ border-bottom:0; }
  .mk-cmp thead th{ font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--dim); font-weight:600; font-family:var(--body); }
  .mk-cmp thead th:last-child{ color:var(--green); }
  html[lang="ar"] .mk-cmp thead th{ letter-spacing:0; font-size:15px; font-family:var(--ar); }
  .mk-cmp th[scope="row"]{ font-size:17px; margin:0; width:18%; }
  .mk-cmp td::before{ display:none; }
  .mk-cmp td:last-child{ display:table-cell; background:rgba(var(--green-rgb),.05); }
  .mk-cmp td:last-child svg{ display:inline-block; vertical-align:-3px; margin-inline-end:8px; }
}

/* ---------- licence ---------- */
.mk-lic{ border:1px solid var(--line-2); border-radius:24px; padding:30px 22px; text-align:center; background:radial-gradient(60% 80% at 50% 0%, rgba(var(--green-rgb),.16), transparent 70%), var(--mk-card); }
.mk-lic .lbl{ justify-content:center; }
.mk-url{ margin:22px auto 26px; font-family:var(--display); font-size:clamp(23px,5vw,58px); font-weight:700; letter-spacing:-.03em; line-height:1.1; white-space:nowrap; }
@media (max-width:639px){ .mk-url span{ display:none; } }
.mk-url span{ color:var(--dim); font-weight:500; }
.mk-url b{ color:var(--green); }
.mk-lpts{ display:grid; gap:12px; text-align:start; }
.mk-lpt{ display:flex; gap:14px; align-items:flex-start; padding:18px; border-radius:16px; border:1px solid var(--line); background:var(--mk-card2); }
.mk-lpt h3{ margin-bottom:4px; }
.mk-lpt p{ margin:0; color:var(--muted); font-size:15px; }
.mk-price{ margin:24px auto 0; max-width:640px; color:var(--muted); }
.mk-lic .btn-row{ justify-content:center; }
@media (min-width:800px){ .mk-lic{ padding:56px 48px; } .mk-lpts{ grid-template-columns:1fr 1fr; } }
@media (min-width:1100px){ .mk-lpts{ grid-template-columns:repeat(4,1fr); } }

/* ---------- trust strip ---------- */
.mk-trust{ border-block:1px solid var(--line); background:#050707; padding:22px 0; }
.mk-trust ul{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:center; align-items:center; }
.mk-trust li{ display:flex; align-items:center; gap:10px; font-size:14.5px; color:#c9d6d2; }
.mk-trust img{ height:28px; width:auto; opacity:.9; }
.mk-tic{ display:inline-flex; color:var(--green); }
.mk-tic svg{ width:20px; height:20px; }
@media (max-width:639px){ .mk-trust ul{ flex-direction:column; align-items:flex-start; gap:12px; } .mk-trust li{ min-height:28px; } }

/* ---------- demo form ---------- */
.mk-formsec{ scroll-margin-top:70px; }
.mk-formcard{ border:1px solid var(--line-2); border-radius:24px; background:var(--mk-card); padding:26px 18px; display:grid; gap:24px; }
.mk-form-intro .lead{ margin-top:12px; }
.mk-row{ display:grid; gap:0 16px; }
.f{ border:0; margin:0 0 16px; padding:0; min-width:0; }
.f label, .f legend{ display:block; font-size:14px; font-weight:600; margin-bottom:7px; color:#e6ecea; padding:0; }
.f legend small{ font-weight:400; color:var(--dim); margin-inline-start:6px; font-size:12.5px; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f select{ width:100%; height:50px; border-radius:12px; border:1px solid var(--line-2); background:#050707; color:var(--text); padding:0 14px; font:inherit; font-size:16px; outline:none; transition:border-color .2s, box-shadow .2s; }
.f input:focus, .f select:focus{ border-color:var(--green); box-shadow:0 0 0 3px rgba(var(--green-rgb),.18); }
.f input::placeholder{ color:#5d6464; }
.tel{ display:flex; gap:8px; }
.tel select{ width:auto; flex:none; padding:0 8px; }
.tel input{ flex:1; min-width:0; }
.f .err{ display:none; color:#ff8a8a; font-size:13px; margin-top:6px; }
.f.bad .err{ display:block; }
.f.bad input, .f.bad select{ border-color:#ff8a8a; }
.mk-opts{ display:flex; flex-wrap:wrap; gap:8px; }
.mk-opt{ position:relative; margin:0 !important; font-weight:500 !important; cursor:pointer; }
.mk-opt input{ position:absolute; opacity:0; inset:0; margin:0; cursor:pointer; }
.mk-opt span{ display:inline-flex; align-items:center; min-height:44px; padding:8px 16px; border-radius:999px; border:1px solid var(--line-2); background:#050707; font-size:15px; transition:all .15s; }
.mk-opt input:checked + span{ border-color:var(--green); background:rgba(var(--green-rgb),.14); color:#fff; }
.mk-opt input:focus-visible + span{ outline:2px solid var(--green); outline-offset:2px; }
.f.bad .mk-opt span{ border-color:rgba(255,138,138,.6); }
.hp{ position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.mk-terms{ font-size:12.5px; color:var(--dim); margin:4px 0 14px; }
.mk-terms a{ text-decoration:underline; text-underline-offset:2px; }
.formerr{ color:#ff8a8a; font-size:14px; margin:0 0 12px; min-height:0; }
.formerr:empty{ display:none; }
.mk-submit{ width:100%; min-height:54px; font-size:17px; }
.mk-submit .spin{ display:none; width:18px; height:18px; border-radius:50%; border:2px solid rgba(5,6,38,.3); border-top-color:var(--navy); animation:mkspin .8s linear infinite; }
.mk-submit.busy .spin{ display:inline-block; }
.mk-submit.busy{ pointer-events:none; opacity:.85; }
@keyframes mkspin{ to{ transform:rotate(360deg); } }
.mk-done{ text-align:center; padding:12px 0; }
.mk-done .ok{ width:64px; height:64px; margin:0 auto 18px; border-radius:50%; background:rgba(var(--green-rgb),.15); color:var(--green); display:flex; align-items:center; justify-content:center; }
.mk-done .ok svg{ width:30px; height:30px; }
.mk-done h3{ font-size:clamp(24px,3vw,32px); margin-bottom:10px; }
.mk-done p{ color:var(--muted); margin:0 auto 8px; max-width:460px; }
.mk-done-cat{ margin-top:22px !important; color:var(--text) !important; }
.mk-catbtn{ margin-top:10px; border:1px solid var(--line-2); background:#050707; color:#fff; }
@media (min-width:640px){ .mk-row{ grid-template-columns:1fr 1fr; } .mk-formcard{ padding:36px; } .mk-submit{ width:auto; padding-inline:36px; } }
@media (min-width:1000px){ .mk-formcard{ grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:56px; padding:56px; } }

/* ---------- end CTA ---------- */
.mk-end{ padding:20px 0 90px; }
.mk-endcard{ position:relative; isolation:isolate; overflow:hidden; border-radius:28px; border:1px solid var(--line-2); padding:44px 22px; text-align:center; background:#0b0d0d; }
.mk-endcard .lead{ margin-inline:auto; }
.mk-endcard .btn-row{ justify-content:center; }
.mk-endlogo{ height:36px; width:auto; margin:0 auto 22px; }
.mk-mail{ margin:18px 0 0; color:var(--muted); }
.mk-mail a{ text-decoration:underline; text-underline-offset:3px; }
@media (min-width:800px){ .mk-endcard{ padding:80px 48px; } }

/* ---------- sticky mobile CTA ---------- */
.mk-sticky{ position:fixed; z-index:55; inset-inline:12px; bottom:calc(12px + env(safe-area-inset-bottom)); width:auto; min-height:52px; box-shadow:0 12px 40px rgba(0,0,0,.6); transform:translateY(140%); transition:transform .3s var(--ease); }
.mk-sticky.on{ transform:none; }
@media (min-width:900px){ .mk-sticky{ display:none; } }
@media (max-width:899px){ .mk .foot{ padding-bottom:72px; } }

@media (prefers-reduced-motion:reduce){ .mk-sticky{ transition:none; } }
.mk-feat > *, .mk-hero-grid > *, .mk-formcard > *{ min-width:0; }
@media (min-width:1081px) and (max-width:1440px){ html[lang="en"] .mk .menu > li > a{ padding:0 9px; } }
@media (min-width:1081px) and (max-width:1300px){ html[lang="en"] .mk .menu > li > a{ padding:0 7px; font-size:14.5px; } }
@media (min-width:1081px) and (max-width:1240px){ html[lang="en"] .mk .nav .nav-act .btn.mk-navcta{ display:none; } html[lang="ar"] .mk .menu > li > a{ padding:0 8px; } }
