/* ═══════════════════════════════════════════════
   ModeerCOD — Landing page
   Brand: deep navy #16222F  ·  green #22B455 → #3FD168
   ═══════════════════════════════════════════════ */

/* ---------- tokens ---------- */
:root{
  --ink:        #070C12;
  --navy-900:   #0B1219;
  --navy-800:   #0F1A24;
  --navy-700:   #16222F;
  --navy-600:   #1D2C3B;

  --green-600:  #189347;
  --green-500:  #22B455;
  --green-400:  #2ECC63;
  --green-300:  #4ADE80;
  --green-soft: rgba(46,204,99,.12);

  --amber:      #F2B441;
  --red:        #F0605C;

  --text:       #EAF1F7;
  --text-dim:   #A7B8C7;
  --text-mute:  #6E8394;

  --line:       rgba(255,255,255,.08);
  --line-2:     rgba(255,255,255,.14);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow:    0 24px 60px -20px rgba(0,0,0,.65);
  --shadow-lg: 0 40px 120px -30px rgba(0,0,0,.85);

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Space Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif;

  --maxw: 1200px;
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:90px; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:var(--font);
  font-weight:400;
  line-height:1.75;
  color:var(--text);
  background:var(--navy-900);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0; line-height:1.28; font-weight:700; letter-spacing:-.01em; }
p{ margin:0; }
ul,ol{ margin:0; padding:0; list-style:none; }
svg{ flex-shrink:0; }
::selection{ background:var(--green-500); color:#04120A; }

.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:24px; }
.container--narrow{ max-width:860px; }

/* ambient page glow */
.page-glow{
  position:fixed; inset:0; pointer-events:none; z-index:0;
  background:
    radial-gradient(680px 480px at 78% -6%, rgba(34,180,85,.20), transparent 62%),
    radial-gradient(560px 420px at 8% 22%, rgba(34,180,85,.09), transparent 60%);
}

/* ---------- utilities ---------- */
.grad{
  background:linear-gradient(100deg,var(--green-300),var(--green-500) 65%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.ghosted{ color:var(--text-mute); }
.num-bad{ color:var(--text-mute); text-decoration:line-through; text-decoration-thickness:2px; text-decoration-color:rgba(240,96,92,.6); }

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s cubic-bezier(.2,.7,.3,1) var(--d,0s), transform .7s cubic-bezier(.2,.7,.3,1) var(--d,0s); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1 !important; transform:none !important; }
  html{ scroll-behavior:auto; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font); font-size:15px; font-weight:600; line-height:1;
  padding:14px 24px; border:1px solid transparent; border-radius:999px;
  cursor:pointer; white-space:nowrap;
  transition:transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .2s ease;
}
.btn--primary{
  color:#04120A;
  background:linear-gradient(135deg,var(--green-300),var(--green-500));
  box-shadow:0 10px 30px -10px rgba(34,180,85,.65), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 18px 44px -12px rgba(34,180,85,.8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--ghost{ color:var(--text); background:rgba(255,255,255,.04); border-color:var(--line-2); backdrop-filter:blur(6px); }
.btn--ghost:hover{ transform:translateY(-2px); border-color:rgba(46,204,99,.55); background:rgba(46,204,99,.08); }
.btn--lg{ padding:17px 32px; font-size:16px; }
.btn--sm{ padding:10px 18px; font-size:14px; }
.btn--block{ display:flex; width:100%; }

/* ---------- brand ---------- */
.brand{ display:inline-flex; align-items:center; gap:10px; }
/* the source logo is a full lockup on white — crop to the M monogram
   and present it as a rounded app-icon tile */
.brand__mark{
  width:38px; height:38px; flex-shrink:0; border-radius:11px;
  background:#fff url("../logo.jpeg") no-repeat 62% 25%;
  background-size:179%;
  box-shadow:0 0 0 1px var(--line-2), 0 6px 18px -8px rgba(0,0,0,.9);
}
.brand__text{ font-family:var(--font-num); font-weight:700; font-size:19px; letter-spacing:-.02em; direction:ltr; }
.brand__text span{ color:var(--green-400); }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:60;
  border-bottom:1px solid transparent;
  transition:background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.is-stuck{
  background:rgba(11,18,25,.82);
  backdrop-filter:blur(16px) saturate(140%);
  border-bottom-color:var(--line);
}
.nav__inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; height:74px; }
.nav__links{ display:flex; align-items:center; gap:30px; }
.nav__links a{ font-size:15px; color:var(--text-dim); transition:color .2s ease; }
.nav__links a:hover{ color:var(--text); }
.nav__cta{ color:#04120A !important; }
.nav__side{ display:flex; align-items:center; gap:10px; }

/* language toggle */
.lang{
  display:inline-flex; align-items:center; gap:2px; padding:3px;
  background:rgba(255,255,255,.05); border:1px solid var(--line-2);
  border-radius:999px; cursor:pointer; font-family:var(--font);
}
.lang__opt{
  min-width:34px; padding:5px 9px; border-radius:999px;
  font-size:12.5px; font-weight:600; line-height:1.2; text-align:center;
  color:var(--text-mute); transition:color .2s ease, background .2s ease;
}
.lang__opt.is-on{ color:#04120A; background:linear-gradient(135deg,var(--green-300),var(--green-500)); }
.lang:hover .lang__opt:not(.is-on){ color:var(--text); }

.nav__toggle{
  display:none; flex-direction:column; gap:5px; width:42px; height:42px;
  align-items:center; justify-content:center;
  background:rgba(255,255,255,.05); border:1px solid var(--line-2); border-radius:12px; cursor:pointer;
}
.nav__toggle span{ display:block; width:18px; height:2px; border-radius:2px; background:var(--text); transition:transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero{ position:relative; z-index:1; padding:74px 0 40px; overflow:hidden; }
.hero__grid-bg{
  position:absolute; inset:-10% -10% auto; height:120%;
  background-image:linear-gradient(var(--line) 1px,transparent 1px), linear-gradient(90deg,var(--line) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(60% 55% at 50% 25%,#000,transparent 80%);
  -webkit-mask-image:radial-gradient(60% 55% at 50% 25%,#000,transparent 80%);
  opacity:.6;
}
.hero__inner{
  position:relative;
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.hero__copy h1{ font-size:clamp(38px,5.2vw,64px); font-weight:700; letter-spacing:-.03em; margin:20px 0 22px; }
.hero__copy h1 .num-bad,.hero__copy h1 .grad{ font-family:var(--font-num); }
.hero__sub{ font-size:clamp(16px,1.4vw,18.5px); color:var(--text-dim); max-width:56ch; }
.hero__sub strong{ color:var(--text); font-weight:600; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hero__ticks{ display:flex; flex-wrap:wrap; gap:22px; margin-top:26px; font-size:14px; color:var(--text-mute); }
.hero__ticks li{ display:flex; align-items:center; gap:8px; }
.hero__ticks li::before{
  content:""; width:16px; height:16px; border-radius:50%;
  background:var(--green-soft);
  box-shadow:inset 0 0 0 1px rgba(46,204,99,.45);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' stroke='%232ECC63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size:contain;
}

.pill{
  display:inline-flex; align-items:center; gap:9px;
  padding:7px 16px 7px 14px; border-radius:999px;
  font-size:13.5px; color:var(--green-300);
  background:var(--green-soft); border:1px solid rgba(46,204,99,.24);
}
.pill__dot{ width:7px; height:7px; border-radius:50%; background:var(--green-400); box-shadow:0 0 0 0 rgba(46,204,99,.55); animation:ping 2.4s ease-out infinite; }
@keyframes ping{ 0%{box-shadow:0 0 0 0 rgba(46,204,99,.55)} 70%{box-shadow:0 0 0 9px rgba(46,204,99,0)} 100%{box-shadow:0 0 0 0 rgba(46,204,99,0)} }

/* ---------- dashboard mock ---------- */
.hero__visual{ position:relative; }
.mock{
  position:relative;
  border-radius:var(--r-xl);
  background:linear-gradient(165deg,rgba(29,44,59,.9),rgba(11,18,25,.96));
  border:1px solid var(--line-2);
  box-shadow:var(--shadow-lg);
  overflow:hidden;
  transform:perspective(1600px) rotateY(4deg) rotateX(2deg);
  transition:transform .6s cubic-bezier(.2,.7,.3,1);
}
.mock:hover{ transform:perspective(1600px) rotateY(0) rotateX(0); }
.mock::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 60% at 80% 0%, rgba(46,204,99,.14), transparent 60%);
}
.mock__bar{
  display:flex; align-items:center; gap:8px;
  padding:13px 18px; border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.025);
}
.mock__bar .dot{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.16); }
.mock__bar .dot:first-child{ background:rgba(240,96,92,.5); }
.mock__tabs{ display:flex; gap:16px; margin-inline-start:16px; font-size:12px; color:var(--text-mute); }
.mock__tabs .is-active{ color:var(--green-300); position:relative; }
.mock__tabs .is-active::after{ content:""; position:absolute; inset-inline:0; bottom:-14px; height:2px; background:var(--green-400); border-radius:2px; }

.mock__body{ position:relative; padding:16px; display:grid; gap:12px; }
.mock__row{ display:grid; gap:12px; }
.mock__row--top{ grid-template-columns:1fr 1fr; }
.mock__row--mid{ grid-template-columns:.9fr 1.1fr; }

.card{
  padding:14px; border-radius:var(--r);
  background:rgba(255,255,255,.035);
  border:1px solid var(--line);
}
.card__label{ font-size:11.5px; color:var(--text-mute); margin-bottom:8px; }
.card__value{ font-family:var(--font-num); font-size:29px; font-weight:700; letter-spacing:-.02em; line-height:1.1; }
.card__value.sm{ font-size:23px; }
.card__value .cur{ font-family:var(--font); font-size:12px; font-weight:500; color:var(--text-mute); margin-inline-start:6px; }
.card__meta{ font-size:11px; margin-top:7px; color:var(--text-mute); }
.card__meta.up{ color:var(--green-300); }
.card__meta.down{ color:var(--amber); }

.card--profit{ background:linear-gradient(160deg,rgba(46,204,99,.14),rgba(255,255,255,.02)); border-color:rgba(46,204,99,.28); }
.card--profit .card__value{ color:#fff; }
.formula{ margin-top:9px; padding-top:9px; border-top:1px dashed var(--line-2); font-family:var(--font-num); font-size:10.5px; color:var(--text-mute); direction:ltr; text-align:right; }

.roas{ display:flex; align-items:center; gap:10px; }
.roas__side{ display:flex; flex-direction:column; gap:3px; }
.roas__side b{ font-family:var(--font-num); font-size:24px; letter-spacing:-.02em; }
.roas__tag{ font-size:10px; color:var(--text-mute); }
.roas__tag--on{ color:var(--green-300); }
.roas__vs{ font-size:10px; color:var(--text-mute); padding-top:14px; }
.gapbar{ margin-top:10px; height:5px; border-radius:99px; background:rgba(255,255,255,.07); overflow:hidden; }
.gapbar i{ display:block; height:100%; width:var(--w); border-radius:99px; background:linear-gradient(90deg,var(--green-500),var(--green-300)); }

.card--alert{ border-color:rgba(242,180,65,.28); background:linear-gradient(160deg,rgba(242,180,65,.08),rgba(255,255,255,.02)); }
.alert{ display:flex; align-items:center; gap:7px; margin-top:8px; font-size:11px; color:var(--amber); }

.cod{ display:flex; justify-content:space-between; gap:8px; margin-top:4px; }
.cod div{ display:flex; flex-direction:column; gap:2px; }
.cod b{ font-family:var(--font-num); font-size:16px; }
.cod span{ font-size:10.5px; color:var(--text-mute); }
.cod .ok{ color:var(--green-300); }
.cod .warn{ color:var(--amber); }
.cod .bad{ color:var(--red); }

.card--chart .spark{ width:100%; height:78px; margin-top:4px; overflow:visible; }
.spark__line{ stroke-dasharray:1000; stroke-dashoffset:1000; }
.mock.is-live .spark__line{ animation:draw 2.2s cubic-bezier(.4,.1,.2,1) forwards; }
.spark__area{ opacity:0; }
.mock.is-live .spark__area{ animation:fade .9s ease 1.1s forwards; }
@keyframes draw{ to{ stroke-dashoffset:0 } }
@keyframes fade{ to{ opacity:1 } }

.float{
  position:absolute; z-index:3;
  padding:9px 15px; border-radius:999px;
  font-size:12.5px; font-weight:500; color:var(--text);
  background:rgba(15,26,36,.92); border:1px solid var(--line-2);
  box-shadow:var(--shadow); backdrop-filter:blur(10px);
  animation:bob 5.5s ease-in-out infinite;
}
.float--1{ top:12%; inset-inline-start:-26px; color:var(--green-300); border-color:rgba(46,204,99,.35); }
.float--2{ bottom:16%; inset-inline-end:-22px; animation-delay:-2.6s; }
@keyframes bob{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-10px) } }

/* ---------- trust ---------- */
.trust{
  display:flex; align-items:center; flex-wrap:wrap; gap:14px 26px;
  margin-top:70px; padding:20px 26px;
  border-block:1px solid var(--line);
}
.trust__label{ font-size:13px; color:var(--text-mute); }
.trust__logos{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 22px; }
.trust__logos span{ font-family:var(--font-num); font-size:16px; font-weight:600; color:var(--text-dim); opacity:.75; transition:opacity .25s ease, color .25s ease; }
.trust__logos span:hover{ opacity:1; color:var(--green-300); }
.trust__logos i{ width:4px; height:4px; border-radius:50%; background:var(--line-2); }

/* ═══════════ sections ═══════════ */
.section{ position:relative; z-index:1; padding:110px 0; }
.section--alt{ background:linear-gradient(180deg,transparent,rgba(22,34,47,.55) 12%,rgba(22,34,47,.55) 88%,transparent); }

.head{ max-width:720px; margin:0 auto 58px; text-align:center; }
.eyebrow{
  display:inline-block; margin-bottom:16px;
  font-size:12.5px; font-weight:600; letter-spacing:.14em;
  color:var(--green-300); text-transform:uppercase;
}
.head h2{ font-size:clamp(28px,3.6vw,44px); letter-spacing:-.025em; }
.head p{ margin-top:18px; color:var(--text-dim); font-size:17px; }

.grid{ display:grid; gap:20px; }
.grid--3{ grid-template-columns:repeat(3,1fr); }

/* ---------- problem ---------- */
.prob{
  padding:32px 28px; border-radius:var(--r-lg);
  background:linear-gradient(170deg,rgba(255,255,255,.045),rgba(255,255,255,.015));
  border:1px solid var(--line);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.prob:hover{ transform:translateY(-5px); border-color:rgba(46,204,99,.3); box-shadow:var(--shadow); }
.prob__ico{
  width:48px; height:48px; display:grid; place-items:center; margin-bottom:20px;
  border-radius:14px; color:var(--green-300);
  background:var(--green-soft); border:1px solid rgba(46,204,99,.22);
}
.prob__ico svg{ width:24px; height:24px; }
.prob h3{ font-size:19px; margin-bottom:12px; }
.prob p{ color:var(--text-dim); font-size:15.5px; }

.gapviz{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:24px;
  margin-top:26px; padding:30px;
  border-radius:var(--r-lg);
  background:linear-gradient(120deg,rgba(240,96,92,.06),rgba(46,204,99,.08));
  border:1px solid var(--line);
}
.gapviz__side{ display:flex; flex-direction:column; gap:6px; }
.gapviz__side--real{ text-align:end; }
.gapviz__k{ font-size:13px; color:var(--text-mute); }
.gapviz__side b{ font-family:var(--font-num); font-size:clamp(16px,2vw,23px); letter-spacing:-.01em; line-height:1.5; }
.gapviz__arrow{ display:flex; flex-direction:column; align-items:center; gap:6px; color:var(--text-mute); font-size:12px; }
.gapviz__arrow svg{ width:110px; height:20px; }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset:s; }
.step{
  position:relative; padding:34px 28px 30px;
  border-radius:var(--r-lg);
  background:rgba(255,255,255,.035); border:1px solid var(--line);
  transition:transform .3s ease, border-color .3s ease;
}
.step:hover{ transform:translateY(-5px); border-color:rgba(46,204,99,.32); }
.step__n{
  position:absolute; top:-19px; inset-inline-start:28px;
  width:40px; height:40px; display:grid; place-items:center;
  border-radius:13px; font-family:var(--font-num); font-weight:700; font-size:17px; color:#04120A;
  background:linear-gradient(135deg,var(--green-300),var(--green-500));
  box-shadow:0 10px 24px -10px rgba(34,180,85,.8);
}
.step__time{ font-size:12.5px; font-weight:600; color:var(--green-300); margin-bottom:8px; }
.step h3{ font-size:19px; margin-bottom:10px; }
.step p{ color:var(--text-dim); font-size:15.5px; }

.sync{
  display:flex; align-items:center; gap:22px;
  margin-top:34px; padding:26px 30px;
  border-radius:var(--r-lg);
  background:rgba(46,204,99,.06); border:1px solid rgba(46,204,99,.2);
}
.sync b{ display:block; font-size:17px; margin-bottom:6px; }
.sync p{ color:var(--text-dim); font-size:15px; }
.sync__pulse{ display:flex; gap:5px; align-items:flex-end; height:34px; }
.sync__pulse i{ width:6px; border-radius:99px; background:var(--green-400); animation:eq 1.1s ease-in-out infinite; }
.sync__pulse i:nth-child(1){ height:14px; }
.sync__pulse i:nth-child(2){ height:26px; animation-delay:.15s; }
.sync__pulse i:nth-child(3){ height:20px; animation-delay:.3s; }
@keyframes eq{ 0%,100%{ transform:scaleY(.5) } 50%{ transform:scaleY(1) } }

/* ---------- features ---------- */
.grid--feat{ grid-template-columns:repeat(3,1fr); }
.feat{
  padding:30px 28px; border-radius:var(--r-lg);
  background:linear-gradient(170deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border:1px solid var(--line);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feat:hover{ transform:translateY(-5px); border-color:rgba(46,204,99,.34); box-shadow:0 24px 50px -28px rgba(46,204,99,.5); }
.feat--wide{ grid-column:span 2; }
.feat__ico{
  width:44px; height:44px; display:grid; place-items:center; margin-bottom:18px;
  border-radius:13px; color:var(--green-300);
  background:var(--green-soft); border:1px solid rgba(46,204,99,.22);
}
.feat__ico svg{ width:22px; height:22px; }
.feat h3{ font-size:19px; margin-bottom:10px; }
.feat p{ color:var(--text-dim); font-size:15.5px; }
.feat__formula{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px;
  margin-top:20px; padding:14px 16px; border-radius:var(--r-sm);
  background:rgba(0,0,0,.28); border:1px solid var(--line);
  font-family:var(--font-num); font-size:14px; direction:ltr;
}
.feat__formula i{ color:var(--text-mute); font-style:normal; }
.feat__formula span{ color:var(--text-dim); }

.cov{ margin-top:20px; display:flex; flex-direction:column; gap:9px; font-size:13.5px; color:var(--text-mute); }
.cov__bar{ height:8px; border-radius:99px; background:rgba(255,255,255,.07); overflow:hidden; }
.cov__bar i{ display:block; height:100%; width:var(--w); border-radius:99px; background:linear-gradient(90deg,var(--green-500),var(--green-300)); }
.cov b{ color:var(--green-300); }

/* ---------- honesty ---------- */
.honest{
  max-width:840px; margin-inline:auto; text-align:center;
  padding:52px 44px; border-radius:var(--r-xl);
  background:linear-gradient(165deg,rgba(46,204,99,.09),rgba(255,255,255,.02));
  border:1px solid rgba(46,204,99,.24);
}
.honest__badge{
  display:inline-block; margin-bottom:18px; padding:6px 15px; border-radius:999px;
  font-size:12.5px; font-weight:600; color:var(--green-300);
  background:var(--green-soft); border:1px solid rgba(46,204,99,.3);
}
.honest h2{ font-size:clamp(26px,3.2vw,38px); margin-bottom:18px; letter-spacing:-.025em; }
.honest > p{ color:var(--text-dim); font-size:17px; }
.honest__banner{
  display:flex; align-items:center; justify-content:center; gap:11px;
  margin:26px 0; padding:16px 22px; border-radius:var(--r);
  background:rgba(242,180,65,.09); border:1px solid rgba(242,180,65,.3);
  color:var(--amber); font-size:15px; text-align:start;
}
.honest__note{ color:var(--text-mute); font-size:15px; }

/* ---------- compare ---------- */
.table-wrap{ overflow-x:auto; border-radius:var(--r-lg); border:1px solid var(--line); background:rgba(255,255,255,.025); }
.cmp{ width:100%; min-width:720px; border-collapse:collapse; }
.cmp th,.cmp td{ padding:17px 20px; text-align:center; font-size:15px; border-bottom:1px solid var(--line); }
.cmp thead th{ font-size:14px; font-weight:600; color:var(--text-mute); background:rgba(0,0,0,.22); }
.cmp thead th.cmp__us{ color:var(--green-300); font-family:var(--font-num); font-size:15.5px; }
.cmp tbody th{ text-align:start; font-weight:500; color:var(--text-dim); }
.cmp tbody tr:last-child th,.cmp tbody tr:last-child td{ border-bottom:none; }
.cmp tbody tr:hover{ background:rgba(255,255,255,.02); }
.cmp td.cmp__us{ background:rgba(46,204,99,.06); }
.yes,.no,.mid{ display:inline-grid; place-items:center; width:26px; height:26px; border-radius:8px; font-size:14px; font-weight:700; }
.yes{ color:var(--green-300); background:var(--green-soft); }
.no{ color:var(--text-mute); background:rgba(255,255,255,.05); }
.mid{ width:auto; padding:0 10px; font-size:12.5px; font-weight:500; color:var(--amber); background:rgba(242,180,65,.1); }

/* ---------- pricing ---------- */
.plans{ align-items:stretch; }
.plan{
  display:flex; flex-direction:column;
  padding:34px 30px; border-radius:var(--r-lg);
  background:rgba(255,255,255,.035); border:1px solid var(--line);
  transition:transform .3s ease, border-color .3s ease;
}
.plan:hover{ transform:translateY(-5px); border-color:var(--line-2); }
.plan--pop{
  position:relative;
  background:linear-gradient(170deg,rgba(46,204,99,.13),rgba(255,255,255,.02));
  border-color:rgba(46,204,99,.42);
  box-shadow:0 30px 70px -34px rgba(34,180,85,.7);
}
.plan__tag{
  position:absolute; top:-14px; inset-inline:0; width:max-content; margin-inline:auto;
  padding:6px 16px; border-radius:999px; white-space:nowrap;
  font-size:12px; font-weight:600; color:#04120A;
  background:linear-gradient(135deg,var(--green-300),var(--green-500));
}
.plan__name{ font-size:21px; }
.plan__for{ margin-top:6px; color:var(--text-mute); font-size:14px; }
.plan__price{ display:flex; align-items:baseline; gap:9px; margin:22px 0 24px; padding-bottom:22px; border-bottom:1px solid var(--line); }
.plan__price b{ font-family:var(--font-num); font-size:42px; font-weight:700; letter-spacing:-.03em; line-height:1; }
.plan__price span{ font-size:14px; color:var(--text-mute); }
.plan__list{ display:flex; flex-direction:column; gap:12px; margin-bottom:28px; flex:1; }
.plan__list li{ position:relative; padding-inline-start:28px; font-size:15px; color:var(--text-dim); }
.plan__list li::before{
  content:""; position:absolute; inset-inline-start:0; top:7px; width:17px; height:17px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m3.5 8.4 2.6 2.6 6.4-6.4' stroke='%234ADE80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plans__note{ margin-top:30px; text-align:center; font-size:14px; color:var(--text-mute); }

/* ---------- faq ---------- */
.faq{ display:flex; flex-direction:column; gap:12px; }
.faq details{
  border-radius:var(--r); border:1px solid var(--line);
  background:rgba(255,255,255,.032);
  transition:border-color .25s ease, background .25s ease;
}
.faq details[open]{ border-color:rgba(46,204,99,.32); background:rgba(46,204,99,.05); }
.faq summary{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 24px; cursor:pointer; list-style:none;
  font-size:16.5px; font-weight:600;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:""; flex-shrink:0; width:22px; height:22px; border-radius:50%;
  background:rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 6.5 8 10l3.5-3.5' stroke='%23A7B8C7' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition:transform .25s ease;
}
.faq details[open] summary::after{ transform:rotate(180deg); }
.faq p{ padding:0 24px 22px; color:var(--text-dim); font-size:15.5px; }

/* ---------- CTA ---------- */
.cta{ position:relative; z-index:1; padding:40px 0 110px; }
.cta__box{
  position:relative; overflow:hidden; text-align:center;
  padding:66px 40px; border-radius:var(--r-xl);
  background:linear-gradient(165deg,rgba(29,44,59,.95),rgba(11,18,25,.98));
  border:1px solid rgba(46,204,99,.26);
  box-shadow:var(--shadow-lg);
}
.cta__glow{ position:absolute; inset:0; background:radial-gradient(600px 300px at 50% 0%, rgba(46,204,99,.22), transparent 65%); }
.cta__box > *{ position:relative; }
.cta__box h2{ font-size:clamp(28px,3.8vw,44px); letter-spacing:-.025em; }
.cta__box > p{ max-width:56ch; margin:18px auto 0; color:var(--text-dim); font-size:17px; }
.cta__form{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-top:34px; }
.cta__form input{
  flex:1 1 300px; max-width:360px;
  padding:16px 22px; border-radius:999px;
  font-family:var(--font); font-size:15px; color:var(--text);
  background:rgba(255,255,255,.05); border:1px solid var(--line-2);
  outline:none; transition:border-color .25s ease, background .25s ease;
}
.cta__form input::placeholder{ color:var(--text-mute); }
.cta__form input:focus{ border-color:var(--green-400); background:rgba(46,204,99,.06); }
.cta__form input.is-bad{ border-color:var(--red); }
.cta__msg{ min-height:22px; margin-top:14px; font-size:14.5px; color:var(--green-300); }
.cta__fine{ margin-top:10px; font-size:13.5px; color:var(--text-mute); }

/* ---------- footer ---------- */
.foot{ position:relative; z-index:1; border-top:1px solid var(--line); background:rgba(7,12,18,.6); padding-top:60px; }
.foot__inner{ display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:40px; padding-bottom:46px; }
.foot__brand p{ margin-top:16px; max-width:34ch; color:var(--text-mute); font-size:14.5px; }
.foot__col{ display:flex; flex-direction:column; gap:11px; }
.foot__col h4{ margin-bottom:5px; font-size:14px; color:var(--text); }
.foot__col a{ font-size:14.5px; color:var(--text-mute); transition:color .2s ease; }
.foot__col a:hover{ color:var(--green-300); }
.foot__legal{ color:var(--text-mute); transition:color .2s ease; }
.foot__legal:hover{ color:var(--green-300); }
.foot__bottom{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  padding-block:22px; border-top:1px solid var(--line);
  font-size:13.5px; color:var(--text-mute);
}

/* ═══════════ legal pages (privacy) ═══════════ */
.legal-hero{ position:relative; z-index:1; padding:56px 0 26px; }
.backlink{
  display:inline-flex; align-items:center; gap:7px; margin-bottom:26px;
  font-size:14px; color:var(--text-mute); transition:color .2s ease;
}
.backlink:hover{ color:var(--green-300); }
.backlink svg{ transform:scaleX(-1); }
.legal-hero h1{ font-size:clamp(30px,4.4vw,50px); letter-spacing:-.03em; margin-bottom:18px; }
.legal-hero__sub{ max-width:60ch; color:var(--text-dim); font-size:17px; }
.legal-hero__meta{
  display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px;
  margin-top:24px; padding-top:22px; border-top:1px solid var(--line);
  font-size:14px; color:var(--text-mute);
}
.legal-hero__meta i{ width:4px; height:4px; border-radius:50%; background:var(--line-2); }

.legal-wrap{ padding-top:34px; }

.toc{
  padding:24px 26px; margin-bottom:46px;
  border-radius:var(--r-lg);
  background:rgba(255,255,255,.035); border:1px solid var(--line);
}
.toc__title{ font-size:14px; font-weight:600; color:var(--text-mute); margin-bottom:14px; }
.toc__list{ columns:2; column-gap:30px; }
.toc__list li{ break-inside:avoid; margin-bottom:9px; }
.toc__list a{ font-size:14.5px; color:var(--text-dim); transition:color .2s ease; }
.toc__list a:hover{ color:var(--green-300); }

.legal section{ margin-bottom:44px; scroll-margin-top:100px; }
.legal h2{
  font-size:21px; letter-spacing:-.01em;
  padding-bottom:12px; margin-bottom:16px; border-bottom:1px solid var(--line);
}
.legal h3{ font-size:16px; color:var(--green-300); margin:24px 0 8px; }
.legal p{ color:var(--text-dim); font-size:16px; margin-bottom:12px; }
.legal p:last-child{ margin-bottom:0; }
.legal b{ color:var(--text); font-weight:600; }
.legal a{ color:var(--green-300); text-decoration:underline; text-underline-offset:3px; }
.legal a:hover{ color:var(--green-400); }
.legal ul{ display:flex; flex-direction:column; gap:11px; margin:12px 0 16px; }
.legal li{ position:relative; padding-inline-start:22px; color:var(--text-dim); font-size:15.5px; }
.legal li::before{
  content:""; position:absolute; inset-inline-start:2px; top:11px;
  width:6px; height:6px; border-radius:50%; background:var(--green-500);
}
.legal__box{
  padding:18px 22px; margin:18px 0; border-radius:var(--r);
  background:rgba(255,255,255,.04); border:1px solid var(--line);
}
.legal__box--green{ background:var(--green-soft); border-color:rgba(46,204,99,.26); }
.legal__box p{ margin:0; font-size:15.5px; }
.legal__fine{ font-size:14px; color:var(--text-mute); }
.legal__table{ min-width:520px; }
.legal__table th,.legal__table td{ text-align:start; font-size:14.5px; padding:14px 18px; }
.legal__contact{ display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }

/* ═══════════ LTR (English) overrides ═══════════
   Layout is built on logical properties, so only the few
   hard-coded directional bits need flipping. */
[dir="ltr"] .formula{ text-align:left; }
[dir="ltr"] .btn__chev{ transform:scaleX(-1); }
[dir="ltr"] .gapviz__arrow svg{ transform:scaleX(-1); }
[dir="ltr"] .backlink svg{ transform:none; }

/* ═══════════ responsive ═══════════ */
@media (max-width:1080px){
  .hero__inner{ grid-template-columns:1fr; gap:60px; }
  .mock{ transform:none; }
  .float--1{ inset-inline-start:-10px; }
  .float--2{ inset-inline-end:-10px; }
  .grid--feat{ grid-template-columns:repeat(2,1fr); }
  .feat--wide{ grid-column:span 2; }
}

@media (max-width:860px){
  .nav__links{
    position:absolute; inset-inline:16px; top:74px;
    flex-direction:column; align-items:stretch; gap:6px;
    padding:16px; border-radius:var(--r-lg);
    background:rgba(11,18,25,.97); border:1px solid var(--line-2);
    box-shadow:var(--shadow-lg); backdrop-filter:blur(18px);
    opacity:0; visibility:hidden; transform:translateY(-10px);
    transition:opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav__links.is-open{ opacity:1; visibility:visible; transform:none; }
  .nav__links a{ padding:12px 14px; border-radius:12px; font-size:16px; }
  .nav__links a:hover{ background:rgba(255,255,255,.05); }
  .nav__cta{ justify-content:center; margin-top:6px; }
  .nav__toggle{ display:flex; }
  .nav{ background:rgba(11,18,25,.82); backdrop-filter:blur(16px); border-bottom-color:var(--line); }

  .section{ padding:80px 0; }
  .grid--3,.steps,.grid--feat{ grid-template-columns:1fr; }
  .feat--wide{ grid-column:span 1; }
  .gapviz{ grid-template-columns:1fr; text-align:center; gap:16px; }
  .gapviz__side,.gapviz__side--real{ text-align:center; align-items:center; }
  .gapviz__arrow svg,
  [dir="ltr"] .gapviz__arrow svg{ transform:rotate(-90deg); width:60px; }
  .honest{ padding:40px 24px; }
  .honest__banner{ text-align:center; flex-direction:column; }
  .foot__inner{ grid-template-columns:1fr 1fr; gap:32px; }
  .toc__list{ columns:1; }
}

@media (max-width:560px){
  .container{ padding-inline:18px; }
  .hero{ padding-top:44px; }
  .mock__row--top,.mock__row--mid{ grid-template-columns:1fr; }
  .float{ display:none; }
  .trust{ margin-top:48px; }
  .hero__actions .btn{ flex:1 1 100%; }
  .plan--pop{ margin-top:16px; }
  .foot__inner{ grid-template-columns:1fr; }
  .cta__box{ padding:44px 22px; }
  .cta__form input{ flex-basis:100%; max-width:none; }
  .cta__form .btn{ width:100%; }
}
