/* =========================
   Maken Landing (HTML+CSS)
   Font: Cairo
   Light/Dark: Checkbox (No JS)
   Palette (from brand):
   - Navy: #0F2438
   - Blue: #2F6FA3
   - Sky:  #8FC7E8
   - Off:  #F5F7FA
   - Dark: #1E1E1E
========================= */

:root{
  --navy:#0F2438;
  --blue:#2F6FA3;
  --sky:#8FC7E8;
  --off:#F5F7FA;
  --dark:#1E1E1E;

  /* Light theme defaults */
  --bg: #F7FAFD;
  --surface: rgba(255,255,255,.72);
  --surface2: rgba(255,255,255,.88);
  --text: #0C1C2B;
  --muted: rgba(12,28,43,.65);
  --border: rgba(15,36,56,.14);
  --shadow: 0 16px 45px rgba(15,36,56,.12);

  --accent: var(--blue);
  --accent2: var(--sky);
  --radius: 18px;

  --ring: 0 0 0 6px rgba(143,199,232,.20);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
}

/* Theme toggle (no JS) */
.themeToggle{ position:fixed; inline-size:1px; block-size:1px; opacity:0; pointer-events:none; }
.themeToggle:checked ~ .page{
  --bg: #0B1420;
  --surface: rgba(16,26,38,.62);
  --surface2: rgba(16,26,38,.82);
  --text: rgba(245,247,250,.95);
  --muted: rgba(245,247,250,.68);
  --border: rgba(143,199,232,.16);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --ring: 0 0 0 6px rgba(47,111,163,.22);
}

.page{
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
}

/* Background orbs (subtle) */
.bg-orbs{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.orb{
  position:absolute;
  border-radius:999px;
  filter: blur(26px);
  opacity:.35;
  animation: floaty 9s ease-in-out infinite;
}
.o1{ width:520px; height:520px; right:-180px; top:-160px; background: radial-gradient(circle at 30% 30%, var(--sky), transparent 60%); animation-duration: 11s; }
.o2{ width:420px; height:420px; left:-170px; top:320px; background: radial-gradient(circle at 30% 30%, var(--blue), transparent 60%); animation-duration: 13s; opacity:.28;}
.o3{ width:520px; height:520px; right:12%; bottom:-260px; background: radial-gradient(circle at 30% 30%, var(--navy), transparent 60%); animation-duration: 15s; opacity:.22;}

@keyframes floaty{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  50%{ transform: translate3d(0,-18px,0) scale(1.03); }
}

.container{
  width:min(1120px, calc(100% - 44px));
  margin-inline:auto;
  position:relative;
  z-index:1;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(247,250,253,.70), rgba(247,250,253,.35));
  border-bottom:1px solid var(--border);
}
.themeToggle:checked ~ .page .header{
  background: linear-gradient(to bottom, rgba(11,20,32,.72), rgba(11,20,32,.35));
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: inherit;
}
.brand__logo{
  width:46px;
  height:46px;
  border-radius:14px;
  box-shadow: var(--shadow);
  background: #fff;
}
.brand__text{ display:flex; flex-direction:column; line-height:1.25; }
.brand__text strong{ font-size: 18px; letter-spacing:.2px; }
.brand__text span{ font-size: 12px; color: var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav a{
  text-decoration:none;
  color: var(--muted);
  font-weight:600;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.nav a:hover{
  color: var(--text);
  background: rgba(143,199,232,.16);
  transform: translateY(-1px);
}
.nav__cta{
  color: var(--text) !important;
  background: linear-gradient(135deg, rgba(47,111,163,.18), rgba(143,199,232,.18));
  border: 1px solid var(--border);
}

.themeBtn{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor:pointer;
  user-select:none;
  transition: transform .25s ease, background .25s ease;
}
.themeBtn:hover{ transform: translateY(-1px); }
.themeBtn__icon{ font-size: 16px; }
.themeBtn__text{ font-weight:700; font-size: 13px; color: var(--text); }

.themeToggle:checked ~ .page .themeBtn__icon{ content:"☀️"; }
.themeToggle:checked ~ .page .themeBtn__text{ opacity:.9; }

/* Hero */
.hero{
  padding: 46px 0 8px;
  position:relative;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:center;
}
@media (max-width: 980px){
  .nav{ display:none; }
  .hero__grid{ grid-template-columns: 1fr; }
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow);
  animation: fadeUp .8s ease both;
}
.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, var(--sky), var(--blue));
  box-shadow: 0 0 0 6px rgba(143,199,232,.18);
}

.hero__title{
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.25;
  margin: 18px 0 12px;
  letter-spacing:.2px;
  animation: fadeUp 1s ease .06s both;
}
.grad{
  background: linear-gradient(135deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}

.hero__desc{
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 62ch;
  animation: fadeUp 1s ease .12s both;
}

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  animation: fadeUp 1s ease .18s both;
}

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration:none;
  font-weight:800;
  font-size: 14px;
  border:1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn:focus{ outline:none; box-shadow: var(--ring); }

.btn--primary{
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 14px 34px rgba(15,36,56,.22);
  overflow:hidden;
}
.btn__shine{
  position:absolute;
  inset:-60% -20%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(30%) rotate(18deg);
  animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine{
  0%, 70%{ opacity:0; transform: translateX(-30%) rotate(18deg); }
  80%{ opacity:1; }
  100%{ opacity:0; transform: translateX(30%) rotate(18deg); }
}

.btn--ghost{
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.btn:hover{ transform: translateY(-1px); }
.btn--block{ width:100%; }

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 720px){
  .hero__stats{ grid-template-columns: 1fr; }
}

.stat{
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: fadeUp 1s ease .24s both;
}
.stat strong{ display:block; font-size: 14px; }
.stat span{ display:block; font-size: 12px; color: var(--muted); margin-top:2px; }

/* Hero media */
.hero__media{ display:flex; justify-content:center; }
.phoneCard{
  width:min(420px, 100%);
  position:relative;
  animation: floaty 8.5s ease-in-out infinite;
}
.phoneCard__frame{
  border-radius: 26px;
  padding: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  box-shadow: var(--shadow);
}
.phoneCard__img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 20px;
}
.phoneCard__badge{
  position:absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(15,36,56,.75);
  color:#fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.phoneCard__badge span{ font-weight:900; letter-spacing:.6px; }
.phoneCard__badge small{ display:block; opacity:.85; font-size: 11px; }

.hero__wave{
  height: 56px;
  margin-top: 26px;
  background:
    radial-gradient(1200px 120px at 50% 0%, rgba(143,199,232,.22), transparent 65%),
    linear-gradient(to bottom, transparent, rgba(143,199,232,.10));
}

/* Strip */
.strip{
  padding: 18px 0;
}
.strip__inner{
  border:1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.strip p{ margin:0; color: var(--muted); }
.strip__pills{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(143,199,232,.12);
  font-weight:700;
  font-size: 12px;
}

/* Sections */
.section{ padding: 56px 0; }
.section--alt{
  background: linear-gradient(to bottom, rgba(143,199,232,.10), transparent 50%),
              linear-gradient(to top, rgba(47,111,163,.08), transparent 55%);
  border-top: 1px solid rgba(143,199,232,.10);
  border-bottom: 1px solid rgba(143,199,232,.10);
}
.section__head{
  margin-bottom: 18px;
}
.section__head h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.1vw, 30px);
}
.section__head p{
  margin:0;
  color: var(--muted);
  max-width: 70ch;
}

/* Cards */
.grid{ display:grid; gap: 12px; }
.cards{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){ .cards{ grid-template-columns: 1fr; } }

.card{
  padding: 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  box-shadow: var(--shadow);
}
.card__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-size: 18px;
  background: rgba(143,199,232,.16);
  border: 1px solid rgba(143,199,232,.22);
  margin-bottom: 10px;
}
.card h3{ margin: 0 0 6px; font-size: 16px; }
.card p{ margin: 0; color: var(--muted); font-size: 14px; }

.lift{
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.lift:hover{
  transform: translateY(-3px);
  border-color: rgba(143,199,232,.35);
  box-shadow: 0 18px 55px rgba(15,36,56,.16);
}

/* Note */
.note{
  margin-top: 14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 16px 16px;
  border-radius: 18px;
  border: 1px dashed rgba(47,111,163,.35);
  background: rgba(143,199,232,.10);
}
.note__icon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(47,111,163,.15);
  border: 1px solid rgba(47,111,163,.28);
}
.note p{ margin: 2px 0 0; color: var(--muted); }

/* Steps */
.steps{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){ .steps{ grid-template-columns: 1fr; } }

.step{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.step__num{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  font-weight:900;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 6px; font-size: 16px; }
.step p{ margin: 0; color: var(--muted); font-size: 14px; }

.ctaRow{
  margin-top: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15,36,56,.06), rgba(143,199,232,.12));
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.ctaRow__text h3{ margin:0 0 4px; }
.ctaRow__text p{ margin:0; color: var(--muted); }

/* Screens */
.screens{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items:start;
}
@media (max-width: 980px){ .screens{ grid-template-columns: 1fr; } }

.screenCard{
  margin:0;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.screenCard img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 18px;
}
.screenCard figcaption{
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.screenCard--brand{ opacity:.95; }

/* Split */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  align-items:start;
}
@media (max-width: 980px){ .split{ grid-template-columns: 1fr; } }

.split__title{ margin:0 0 8px; font-size: clamp(22px, 2.2vw, 30px); }
.split__desc{ margin:0 0 12px; color: var(--muted); max-width: 72ch; }

.bullets{
  margin:0;
  padding:0 18px 0 0;
  color: var(--muted);
}
.bullets li{ margin: 6px 0; }

.glass{
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.10));
  box-shadow: var(--shadow);
}
.themeToggle:checked ~ .page .glass{
  background: linear-gradient(135deg, rgba(245,247,250,.08), rgba(245,247,250,.04));
}

.mini{
  margin-top: 12px;
  display:grid;
  gap: 10px;
}
.mini__item{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.mini__item strong{ display:block; }
.mini__item small{ display:block; color: var(--muted); }

/* FAQ */
.faq{ display:grid; gap: 10px; }
.faq__item{
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 12px 14px;
}
.faq__item summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
  position:relative;
  padding-left: 26px;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::before{
  content:"+";
  position:absolute;
  left:0;
  top:0;
  width: 22px;
  height: 22px;
  border-radius: 10px;
  display:grid;
  place-items:center;
  color:#fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.faq__item[open] summary::before{ content:"—"; }
.faq__item p{ margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Download */
.download{
  padding: 56px 0;
  background:
    radial-gradient(900px 260px at 70% 0%, rgba(143,199,232,.22), transparent 60%),
    linear-gradient(135deg, rgba(15,36,56,.08), rgba(47,111,163,.10));
  border-top: 1px solid rgba(143,199,232,.18);
}
.download__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
  align-items:start;
}
@media (max-width: 980px){ .download__inner{ grid-template-columns: 1fr; } }

.download__copy h2{ margin:0 0 8px; }
.download__copy p{ margin:0 0 14px; color: var(--muted); }

.storeBtns{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.storeBtn{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration:none;
  color: var(--text);
  min-width: 220px;
}
.storeBtn__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  color:#fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight:900;
}
.storeBtn__text small{ display:block; color: var(--muted); font-weight:700; font-size: 12px; }
.storeBtn__text strong{ display:block; font-size: 15px; }

.subline{
  margin-top: 12px;
  display:flex;
  gap:10px;
  align-items:center;
  color: var(--muted);
  font-size: 12px;
}
.subline__dot{
  width: 10px;
  height: 10px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, var(--sky), var(--blue));
}

.download__card{ padding: 18px; }
.download__brand{
  display:flex;
  align-items:center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.download__brand img{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
}
.download__brand strong{ display:block; }
.download__brand small{ display:block; color: var(--muted); }

.download__list{ display:grid; gap: 10px; margin-bottom: 12px; }
.dlItem{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.dlItem span{
  width: 26px;
  height: 26px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  color:#fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  flex: 0 0 auto;
}
.dlItem small{ display:block; color: var(--muted); }

/* Footer */
.footer{
  padding: 20px 0 26px;
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, rgba(143,199,232,.08), transparent);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.footer__left{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer__left img{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:#fff;
  box-shadow: var(--shadow);
}
.footer__left small{ color: var(--muted); display:block; }

.footer__links{
  display:flex;
  gap: 12px;
}
.footer__links a{
  text-decoration:none;
  color: var(--muted);
  font-weight:800;
  font-size: 13px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.footer__links a:hover{
  color: var(--text);
  background: rgba(143,199,232,.14);
  transform: translateY(-1px);
}

/* Small entrance animation */
@keyframes fadeUp{
  from{ opacity:0; transform: translateY(8px); }
  to{ opacity:1; transform: translateY(0); }
}
