/* Montaj by OS Agency — product page.
   OS Agency palette only: Deep Black #000000 · Ocean Cyan #00AEEF · Off White #F5F7F8 · Apple Gray #E6E7E8
   (white cards and grey body text, as in the agency's documents). Type: Tajawal + Nunito Sans. */

@font-face { font-family: "Tajawal OS"; src: url("assets/fonts/tajawal-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Tajawal OS"; src: url("assets/fonts/tajawal-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Tajawal OS"; src: url("assets/fonts/tajawal-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Tajawal OS"; src: url("assets/fonts/tajawal-arabic-800-normal.woff2") format("woff2"); font-weight: 800 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Nunito OS"; src: url("assets/fonts/nunito-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; unicode-range: U+0000-05FF, U+2000-200B, U+2010-2BFF; }

:root {
  --black: #000000;
  --cyan: #00aeef;
  --paper: #f5f7f8;
  --gray: #e6e7e8;
  --white: #ffffff;
  --text: #111111;
  --muted: #4d5257;
  --on-black-muted: #a9aeb3;
  --line-dark: #222428;
  --max: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  /* Two families: a shared one would let the Latin face's 200-1000 weight range hide Tajawal 800. */
  font-family: "Nunito OS", "Tajawal OS", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
/* Arabic letters must stay joined. */
* { letter-spacing: 0; }
/* width/height attributes reserve space; height: auto keeps the real proportions. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.label { direction: ltr; display: block; text-align: right; font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(245, 247, 248, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--gray); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--black); }
.brand strong { font-size: 26px; font-weight: 800; line-height: 1; }
.brand .by { display: flex; align-items: center; gap: 8px; direction: ltr; font-size: 13px; color: var(--muted); }
.brand .by img { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--black); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.cyan { background: var(--cyan); color: var(--black); }
.btn.black { background: var(--black); color: var(--white); }
.btn.ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.outline { border-color: var(--black); color: var(--black); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---- hero ---- */
.hero { background: var(--black); color: var(--white); overflow: hidden; position: relative; padding: 0; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(0, 174, 239, .32), transparent 70%); pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 84px; padding-bottom: 0; }
/* Arabic needs room between lines: descenders (ج، ي) and marks (ً) would touch at 1.2. */
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.5; font-weight: 800; margin: 14px 0 0; max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p.sub { font-size: clamp(17px, 2vw, 20px); color: var(--on-black-muted); max-width: 40em; margin: 22px 0 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { border: 1px solid #2c2f34; border-radius: 999px; padding: 4px 14px; font-size: 14px; color: #d5d8db; }
.chips li b { color: var(--cyan); font-weight: 700; }
.shot { margin-top: 56px; border-radius: 16px 16px 0 0; border: 1px solid #26292d; border-bottom: 0; box-shadow: 0 -10px 80px rgba(0, 174, 239, .18); overflow: hidden; }

/* ---- sections ---- */
section { padding: 96px 0; }
section h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.5; font-weight: 800; margin: 8px 0 0; }
section .intro { color: var(--muted); font-size: 18px; max-width: 42em; margin: 16px 0 0; }
.head { border-inline-start: 4px solid var(--cyan); padding-inline-start: 18px; }
.dark { background: var(--black); color: var(--white); }
.dark .intro { color: var(--on-black-muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px 24px; border-inline-start: 3px solid var(--cyan); }
.card svg { width: 30px; height: 30px; color: var(--cyan); }
.card h3 { font-size: 20px; font-weight: 800; margin: 14px 0 6px; line-height: 1.45; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 44px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; background: var(--black); color: var(--white); border-radius: var(--radius); padding: 22px 16px; font-size: 16px; line-height: 1.5; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; direction: ltr; text-align: right; color: var(--cyan); font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 14px; }
.steps li b { display: block; font-size: 17px; margin-bottom: 4px; }
.steps li span { color: var(--on-black-muted); font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 12px; border: 1px solid var(--line-dark); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 14px; color: var(--on-black-muted); margin-top: 10px; text-align: center; }
.stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.stats div { flex: 1 1 160px; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px; }
.stats b { display: block; direction: ltr; text-align: right; color: var(--cyan); font-size: 34px; font-weight: 800; line-height: 1.1; }
.stats span { color: #d5d8db; font-size: 15px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split .media { display: flex; gap: 16px; align-items: flex-start; justify-content: center; }
.split .media img { border-radius: 14px; border: 1px solid #1c1e21; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.split .media img.panel { width: 42%; }
.split .media img.dialog { width: 78%; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; }
.ticks li { position: relative; padding-inline-start: 30px; margin-bottom: 12px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: inset 0 0 0 4px var(--white); border: 1.5px solid var(--cyan); }
.ticks b { font-weight: 800; }
.dark .ticks li::before { box-shadow: inset 0 0 0 4px var(--black); }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.trio div { background: var(--white); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--gray); }
.trio b { display: block; font-size: 17px; font-weight: 800; }
.trio span { color: var(--muted); font-size: 15px; line-height: 1.6; display: block; margin-top: 4px; }

.privacy { background: var(--cyan); color: var(--black); }
.privacy .intro { color: #04232f; }
.privacy .head { border-color: var(--black); }
.privacy .label { color: var(--black); }
.privacy .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.privacy .pillars div { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 24px; }
.privacy .pillars b { display: block; font-size: 19px; color: var(--cyan); margin-bottom: 6px; }
.privacy .pillars span { color: #d5d8db; font-size: 16px; line-height: 1.65; }

/* ---- download ---- */
.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.dl .os { background: var(--white); border-radius: 18px; padding: 30px 28px; border: 1px solid var(--gray); display: flex; flex-direction: column; gap: 14px; }
.dl .os.main { background: var(--black); color: var(--white); border-color: var(--black); }
.dl .os h3 { margin: 0; font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.dl .os h3 .tag { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--gray); color: var(--black); }
.dl .os p { margin: 0; color: var(--muted); font-size: 16px; }
.dl .os.main p { color: var(--on-black-muted); }
.dl .os .btn { align-self: flex-start; margin-top: 6px; }
.dl .meta { font-size: 13px; color: var(--muted); }
.dl .os.main .meta { color: #7f858b; }
.install { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: n; }
.install li { counter-increment: n; background: var(--white); border-radius: var(--radius); padding: 20px 22px; border-inline-start: 3px solid var(--cyan); }
.install li::before { content: counter(n); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--cyan); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.install b { display: block; font-size: 17px; }
.install span { color: var(--muted); font-size: 15px; line-height: 1.6; display: block; margin-top: 4px; }
code { direction: ltr; unicode-bidi: isolate; font-family: "Cascadia Mono", Consolas, ui-monospace, monospace; font-size: .86em; background: var(--gray); border-radius: 5px; padding: 1px 6px; }

table.req { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-top: 30px; font-size: 16px; }
.req th { background: var(--black); color: var(--white); font-weight: 700; padding: 12px 18px; text-align: start; }
.req th:first-child { border-radius: 0 10px 10px 0; }
.req th:last-child { border-radius: 10px 0 0 10px; }
.req td { background: var(--white); padding: 12px 18px; border-top: 1px solid var(--gray); border-bottom: 1px solid var(--gray); }
.req td:first-child { font-weight: 700; border-right: 1px solid var(--gray); border-radius: 0 10px 10px 0; }
.req td:last-child { border-left: 1px solid var(--gray); border-radius: 10px 0 0 10px; }
.table-scroll { overflow-x: auto; }

.guide { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; background: var(--black); color: var(--white); border-radius: 18px; padding: 26px 30px; }
.guide b { font-size: 20px; display: block; }
.guide span { color: var(--on-black-muted); font-size: 15px; }
.guide .btn { margin-inline-start: auto; }

/* ---- faq ---- */
.faq { margin-top: 40px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: 12px; border: 1px solid var(--gray); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; color: var(--cyan); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---- footer ---- */
footer { background: var(--black); color: var(--white); padding: 64px 0 36px; }
footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.wordmark { direction: ltr; text-align: right; font-size: 26px; letter-spacing: 1.5px; line-height: 1; }
.wordmark b { color: var(--cyan); font-weight: 800; }
.wordmark i { font-weight: 300; }
.wordmark small { display: block; font-size: 12px; letter-spacing: 2px; color: var(--on-black-muted); margin-top: 8px; font-style: normal; }
footer p, footer li { color: var(--on-black-muted); font-size: 15px; }
footer h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; color: var(--cyan); direction: ltr; text-align: right; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }
footer .base { border-top: 1px solid var(--line-dark); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #7f858b; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---- small screens ---- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .install, .privacy .pillars, .trio { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { height: 64px; gap: 12px; }
  .brand strong { font-size: 22px; }
  .brand .by img { height: 24px; }
  .brand .by span { display: none; }
  .top .btn { padding: 0 14px; min-height: 40px; font-size: 14px; }
  .hero .wrap { padding-top: 56px; }
  .hero .actions .btn { flex: 1 1 100%; }
  section { padding: 68px 0; }
  .cards, .dl { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .split .media img.panel { width: 48%; }
  .split .media img.dialog { width: 100%; }
  .guide .btn { margin-inline-start: 0; width: 100%; }
  footer .cols { grid-template-columns: 1fr; }
}
