/* H.Safy — marketing site */

:root{
  --navy:#12304F;
  --navy-900:#0C2439;
  --green:#0B7A5A;
  --green-600:#096B4F;
  --wa:#25D366;
  --bg:#F5F7F9;
  --alt:#F1F4F7;
  --card:#ffffff;
  --text:#152230;
  --muted:#5B6C7C;
  --line:#E2E8EF;
  --red:#C0392B;
  --radius:16px;
  --shadow:0 10px 30px rgba(18,48,79,.08);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:74px;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Noto Kufi Arabic',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;
  font-size:16px;
  line-height:1.7;
  text-align:right;
  overflow-x:hidden;
}
img{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{line-height:1.45;margin:0}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:6px}

.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 20px}
.wrap-narrow{max-width:820px}

.skip{position:absolute;inset-inline-start:-9999px;top:0}
.skip:focus{inset-inline-start:12px;top:12px;background:#fff;padding:8px 14px;z-index:200;border-radius:8px;box-shadow:var(--shadow)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;
  padding:13px 20px;border-radius:12px;text-decoration:none;
  border:1.5px solid transparent;cursor:pointer;white-space:nowrap;
  transition:background-color .15s ease,border-color .15s ease,transform .15s ease;
}
.btn-wa{background:var(--green);color:#fff;box-shadow:0 6px 18px rgba(11,122,90,.22)}
.btn-wa:hover{background:var(--green-600)}
.btn-ghost{background:#fff;color:var(--navy);border-color:var(--line)}
.btn-ghost:hover{border-color:#C3D0DC}
.btn-sm{padding:10px 14px;font-size:13.5px;border-radius:10px}
.btn-lg{padding:15px 24px;font-size:16px}
.wa-i{flex:none}

/* ---------- header ---------- */
.head{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(10px);
  border-bottom:1px solid var(--line);
}
.head-in{display:flex;align-items:center;gap:12px;height:62px}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--navy);flex:none}
.mark{display:flex}
.brand-t{font-weight:700;font-size:19px;letter-spacing:.3px}
.nav{display:none}
.head .btn{margin-inline-start:auto}

/* ---------- hero ---------- */
.hero{
  padding:26px 0 36px;
  background:
    radial-gradient(900px 380px at 85% -10%,rgba(11,122,90,.10),transparent 70%),
    radial-gradient(700px 320px at 10% 0%,rgba(18,48,79,.07),transparent 65%),
    #fff;
  border-bottom:1px solid var(--line);
}
.hero-in{display:grid;gap:30px}
.kicker{
  display:inline-block;margin:0 0 12px;padding:6px 12px;border-radius:999px;
  background:#E8F1EE;color:var(--green);font-size:12.5px;font-weight:600;
}
.hero h1{font-size:clamp(25px,6.6vw,42px);font-weight:700;letter-spacing:-.2px}
.hero h1 em{font-style:normal;color:var(--green)}
.lead{margin:14px 0 0;color:var(--muted);font-size:15.5px;line-height:1.95;max-width:54ch}
.hero-cta{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:20px 0 0}
.chips li{
  font-size:12.5px;color:var(--navy);background:#fff;border:1px solid var(--line);
  border-radius:999px;padding:6px 12px;font-weight:600;
}
.hero-vis{position:relative;display:flex;justify-content:center}

.phone{
  width:100%;max-width:286px;background:var(--navy-900);padding:7px;
  border-radius:34px;box-shadow:0 18px 44px rgba(18,48,79,.20);
}
.phone img{display:block;width:100%;height:auto;border-radius:27px;background:#fff}

/* ---------- audience ---------- */
.audience{background:#fff;border-bottom:1px solid var(--line);padding:18px 0}
.aud-label{margin:0 0 10px;font-size:13px;color:var(--muted);font-weight:600}
.aud-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}
.aud-list li{
  font-size:13px;color:var(--navy);background:var(--alt);
  border:1px solid var(--line);border-radius:10px;padding:7px 12px;
}

/* ---------- sections ---------- */
.sec{padding:46px 0}
.sec-alt{background:var(--alt)}
.sec-h{font-size:clamp(21px,5.2vw,31px);font-weight:700;letter-spacing:-.2px}
.sec-p{margin:10px 0 0;color:var(--muted);font-size:15px;line-height:1.95;max-width:62ch}

/* features */
.grid{display:grid;gap:12px;margin-top:24px;grid-template-columns:1fr}
.card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;box-shadow:0 1px 0 rgba(18,48,79,.02);
}
.ic{
  width:42px;height:42px;border-radius:12px;background:#E8F1EE;color:var(--green);
  display:grid;place-items:center;margin-bottom:12px;
}
.card h3{font-size:16.5px;font-weight:700;margin-bottom:6px}
.card p{margin:0;font-size:14px;color:var(--muted);line-height:1.85}

/* screenshots */
.shots{
  display:flex;gap:14px;margin:24px -20px 0;padding:4px 20px 8px;
  overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.shots::-webkit-scrollbar{display:none}
.shot{flex:0 0 74%;max-width:280px;margin:0;scroll-snap-align:center}
.shot figcaption{margin-top:12px;font-size:13px;color:var(--muted);line-height:1.8}
.shot figcaption b{display:block;color:var(--navy);font-size:14.5px;margin-bottom:2px}

.shots-hint{margin:16px 0 0;font-size:12.5px;color:var(--muted)}

/* sync */
.sync{display:grid;gap:12px;margin-top:24px;align-items:stretch}
.sync-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.sync-ic{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#EAF0F6;color:var(--navy);margin-bottom:10px}
.sync-box h3{font-size:16.5px;margin-bottom:6px}
.sync-box p{margin:0;font-size:14px;color:var(--muted);line-height:1.85}
.sync-mid{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--green);font-size:12px;font-weight:700}

/* steps */
.steps{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:12px}
.steps li{display:flex;gap:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.num{
  flex:none;width:32px;height:32px;border-radius:50%;background:var(--navy);color:#fff;
  display:grid;place-items:center;font-size:14px;font-weight:700;
}
.steps b{display:block;font-size:15.5px;margin-bottom:4px}
.steps p{margin:0;font-size:14px;color:var(--muted);line-height:1.85}

/* faq */
.faq{margin-top:22px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:10px;overflow:hidden}
.faq summary{
  cursor:pointer;list-style:none;padding:16px 18px;padding-inline-end:44px;
  font-size:15px;font-weight:600;position:relative;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";position:absolute;inset-inline-end:18px;top:50%;transform:translateY(-50%);
  color:var(--green);font-size:20px;line-height:1;font-weight:400;
}
.faq details[open] summary::after{content:"–"}
.faq details p{margin:0;padding:0 18px 16px;font-size:14px;color:var(--muted);line-height:1.9}

/* cta band */
.cta-band{background:linear-gradient(135deg,#12304F 0%,#0C2439 100%);color:#fff;padding:42px 0}
.cta-in{display:grid;gap:22px}
.cta-band h2{font-size:clamp(20px,5vw,29px);font-weight:700}
.cta-band p{margin:10px 0 0;color:#C3D2E0;font-size:14.5px;line-height:1.9}
.cta-act{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.cta-num{font-size:17px;font-weight:700;letter-spacing:1.5px;direction:ltr;color:#fff}

/* footer */
.foot{background:var(--navy-900);color:#B7C6D4;padding:34px 0 20px}
.foot-in{display:grid;gap:22px}
.foot-brand .brand-t{color:#fff;font-size:20px}
.foot-brand p{margin:8px 0 0;font-size:13.5px;line-height:1.9;max-width:46ch}
.foot-nav{display:flex;flex-wrap:wrap;gap:8px 18px}
.foot-nav a{color:#B7C6D4;text-decoration:none;font-size:14px}
.foot-nav a:hover{color:#fff}
.foot-contact{display:flex;flex-direction:column;gap:8px}
.foot-contact a{color:#fff;text-decoration:none;font-size:14.5px;font-weight:600}
.foot-contact a:hover{text-decoration:underline}
.foot-bot{
  border-top:1px solid rgba(255,255,255,.10);margin-top:22px;padding-top:14px;
  display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;
  font-size:12px;color:#8FA3B5;
}
.foot-bot p{margin:0}

/* floating whatsapp */
.fab{
  position:fixed;inset-inline-end:16px;bottom:16px;z-index:120;
  width:54px;height:54px;border-radius:50%;background:var(--wa);color:#fff;
  display:grid;place-items:center;box-shadow:0 10px 24px rgba(37,211,102,.42);
}
.fab:hover{background:#1FBE5A}

/* ---------- tablet ---------- */
@media (min-width:620px){
  .grid{grid-template-columns:1fr 1fr}
  .hero-cta{flex-direction:row;flex-wrap:wrap}
  .shot{flex-basis:44%}
  .steps{grid-template-columns:1fr}
}

/* ---------- desktop ---------- */
@media (min-width:900px){
  .nav{display:flex;align-items:center;gap:24px;margin-inline-start:auto}
  .nav a{color:var(--navy);text-decoration:none;font-size:14.5px;font-weight:600;opacity:.85}
  .nav a:hover{opacity:1;color:var(--green)}
  .head .btn{margin-inline-start:0}

  .hero{padding:56px 0 64px}
  .hero-in{grid-template-columns:1.05fr .95fr;align-items:center;gap:40px}
  .hero-vis{justify-content:center}
  .phone{max-width:300px}
  .phone-hero{max-width:280px}

  .sec{padding:64px 0}
  .grid{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
  .card{padding:24px}

  .shots-hint{display:none}
  .shots{
    display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
    margin:32px 0 0;padding:0;overflow:visible;
  }
  .shot{max-width:none}
  .shot .phone{max-width:none}

  .sync{grid-template-columns:1fr auto 1fr;gap:16px;margin-top:32px}
  .sync-mid{padding:0 4px}
  .steps{grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}

  .cta-in{grid-template-columns:1fr auto;align-items:center;gap:32px}
  .cta-act{align-items:flex-end}
  .foot-in{grid-template-columns:1.5fr 1fr auto;align-items:start}
  .fab{display:none}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}
