/* Site vitrine Mohami */
:root {
  --ink: #16233b; --ink-2: #22324f; --ink-3: #0f1828;
  --brass: #b08d57; --brass-2: #c9a36b; --brass-soft: #f3ebdd;
  --bg: #f6f4ef; --card: #fff; --text: #1d2433; --muted: #5f6675; --line: #e5e1d8;
  --ok: #1f7a4d; --radius: 16px;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.25; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; border: 1.5px solid transparent; transition: transform .1s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: #9c7a47; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brass); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.eyebrow { display: inline-block; color: var(--brass); font-weight: 600; font-size: .9rem; letter-spacing: .02em; margin-bottom: .6rem; }
.section { padding: 5.5rem 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .8rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(15,24,40,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 2rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .55rem; color: #fff; font-weight: 700; font-size: 1.2rem; }
.logo .ico { width: 1.7rem; height: 1.7rem; color: var(--brass-2); }
.nav-links { display: flex; gap: 1.6rem; flex: 1; }
.nav-links a { color: #c9c3b6; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-cta .link { color: #e9e4d8; font-weight: 500; padding: .5rem .7rem; }
.nav-cta .btn { padding: .6rem 1.1rem; }
.lang { background: none; border: 0; color: #c9c3b6; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem; border-radius: 8px; }
.lang:hover { color: #fff; background: rgba(255,255,255,.06); }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: .4rem; }

/* Hero */
.hero { background: var(--ink-3); color: #e9e4d8; position: relative; overflow: hidden; padding: 4.5rem 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 20%, rgba(176,141,87,.22), transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(34,50,79,.9), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr; gap: 3rem; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; max-width: 16ch; margin: 0 auto 1.1rem; }
.hero h1 em { font-style: normal; color: var(--brass-2); }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #cfc8b8; max-width: 640px; margin: 0 auto 2rem; }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.1rem; font-size: .9rem; color: #a8a192; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: .35rem; }
.hero-note .ico { color: var(--brass-2); width: 1.05em; height: 1.05em; }
.shots { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 0 0; }
.browser { background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.browser-bar { height: 34px; background: #eceae4; display: flex; align-items: center; gap: 6px; padding: 0 14px; direction: ltr; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3cfc6; display: block; }
.browser-bar span { margin-left: 14px; background: #fff; border-radius: 6px; font-size: .72rem; color: #8a8f99; padding: 2px 12px; font-family: ui-monospace, Consolas, monospace; }
.phone { position: absolute; bottom: -1px; inset-inline-start: -2%; width: 23%; min-width: 150px; border-radius: 26px 26px 0 0; border: 8px solid #0b111d; border-bottom: 0; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }

/* Benefits strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.8rem; padding-bottom: 1.8rem; }
.strip div { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); font-size: .98rem; }
.strip .ico { color: var(--brass); width: 1.6rem; height: 1.6rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: var(--brass); transform: translateY(-2px); }
.feature .fi { width: 3rem; height: 3rem; border-radius: 12px; background: var(--brass-soft); color: var(--brass); display: grid; place-items: center; margin-bottom: 1rem; }
.feature .fi .ico { width: 1.5rem; height: 1.5rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Showcase */
.showcase { background: #fff; }
.show-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.show-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.show-list li { display: flex; gap: .7rem; align-items: flex-start; }
.show-list .ico { color: var(--ok); margin-top: .2rem; }
.show-img { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(22,35,59,.12); }
.show-grid h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.show-grid p { color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.step { text-align: center; padding: 1rem; }
.step b { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--brass-2); font-size: 1.2rem; margin-bottom: 1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; }

/* Pricing */
.pricing { background: var(--ink-3); color: #e9e4d8; }
.pricing .section-head h2 { color: #fff; }
.pricing .section-head p { color: #b9b2a3; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { background: #182439; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2rem 1.6rem; display: flex; flex-direction: column; position: relative; }
.plan.best { background: #fff; color: var(--text); border-color: var(--brass); transform: scale(1.03); box-shadow: 0 25px 60px rgba(0,0,0,.35); }
.plan .badge { position: absolute; top: -.8rem; inset-inline-start: 50%; transform: translateX(-50%); background: var(--brass); color: #fff; font-size: .8rem; font-weight: 600; padding: .25rem .9rem; border-radius: 99px; white-space: nowrap; }
[dir="rtl"] .plan .badge { transform: translateX(50%); }
.plan h3 { color: inherit; font-size: 1.1rem; font-weight: 600; }
.plan.best h3 { color: var(--ink); }
.plan .price { font-size: 2.6rem; font-weight: 700; color: #fff; margin: .8rem 0 .1rem; line-height: 1.1; }
.plan.best .price { color: var(--ink); }
.plan .price small { font-size: 1rem; font-weight: 500; color: #a8a192; }
.plan .per { color: #a8a192; font-size: .92rem; min-height: 1.5em; }
.plan.best .per { color: var(--muted); }
.plan .save { display: inline-block; background: rgba(31,122,77,.18); color: #6fd3a2; font-size: .8rem; font-weight: 600; padding: .15rem .6rem; border-radius: 99px; margin-top: .4rem; }
.plan.best .save { background: #e5f3ec; color: var(--ok); }
.plan ul { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.plan li .ico { color: var(--brass-2); margin-top: .15rem; width: 1.1em; height: 1.1em; }
.plan .btn { width: 100%; }
.plan:not(.best) .btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.plan:not(.best) .btn:hover { border-color: var(--brass-2); }
.price-note { text-align: center; margin-top: 2.2rem; color: #b9b2a3; font-size: .95rem; }
.price-note strong { color: #fff; }

/* Security */
.sec { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sec-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sec-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; }
.sec-card .ico { color: var(--brass); width: 1.6rem; height: 1.6rem; margin-bottom: .5rem; }
.sec-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.sec-card p { margin: 0; font-size: .9rem; color: var(--muted); }

/* Install band */
.install { background: linear-gradient(135deg, var(--brass-soft), #fff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.install .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.install h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .6rem; }
.install p { color: var(--muted); margin: 0 0 1.4rem; }
.devices { display: flex; gap: 1rem; justify-content: center; color: var(--ink); }
.devices div { text-align: center; font-size: .9rem; font-weight: 600; }
.devices .ico { width: 3rem; height: 3rem; color: var(--brass); margin: 0 auto .4rem; display: block; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; }
.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* Final CTA + footer */
.final { background: var(--ink); color: #e9e4d8; text-align: center; }
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: .8rem; }
.final p { color: #b9b2a3; margin: 0 auto 2rem; max-width: 560px; }
.footer { background: var(--ink-3); color: #8f8a7e; padding: 2.5rem 0; font-size: .9rem; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Download page */
.dl-hero { background: var(--ink-3); color: #e9e4d8; padding: 4rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.dl-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(176,141,87,.25), transparent 55%); }
.dl-hero .wrap { position: relative; }
.dl-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: .8rem; }
.dl-hero p { color: #cfc8b8; max-width: 600px; margin: 0 auto 1.8rem; font-size: 1.1rem; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 1.4rem; box-shadow: 0 15px 40px rgba(0,0,0,.4); }
.dl-status { margin-top: 1rem; font-size: .92rem; color: #a8a192; min-height: 1.4em; }
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.platform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.platform.here { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,87,.15); }
.platform .ph { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.platform .ph .ico { width: 2.2rem; height: 2.2rem; color: var(--brass); }
.platform h3 { font-size: 1.15rem; }
.platform .tag { font-size: .75rem; background: var(--brass); color: #fff; padding: .1rem .55rem; border-radius: 99px; margin-inline-start: auto; display: none; }
.platform.here .tag { display: inline-block; }
.platform ol { margin: 0; padding-inline-start: 1.2rem; display: grid; gap: .5rem; color: var(--muted); }
.platform ol strong { color: var(--ink); }
.dl-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.dl-why div { text-align: center; padding: 1rem; }
.dl-why .ico { width: 2rem; height: 2rem; color: var(--brass); margin: 0 auto .5rem; display: block; }
.dl-why h3 { font-size: 1rem; margin-bottom: .3rem; }
.dl-why p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 68px; inset-inline: 0; background: var(--ink-3); flex-direction: column; gap: 0; padding: .5rem 1.25rem 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav.open .nav-links { display: flex; }
  .menu-btn { display: inline-flex; }
  .nav .wrap { gap: .8rem; }
  .nav-links + .nav-cta { margin-inline-start: auto; }
  .nav-cta .link { display: none; }
  .features, .plans, .steps, .platforms, .dl-why { grid-template-columns: 1fr; }
  .plan.best { transform: none; }
  .show-grid, .sec, .install .wrap { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
  .phone { width: 30%; inset-inline-start: 1%; }
}
@media (max-width: 560px) {
  .nav-cta .btn { padding: .5rem .8rem; font-size: .9rem; }
  .lang span { display: none; }
  .hero { padding-top: 3rem; }
  .hero-cta .btn { width: 100%; }
  .strip .wrap { grid-template-columns: 1fr; gap: .8rem; }
  .sec-cards { grid-template-columns: 1fr; }
  .browser { display: none; }
  .phone { position: relative; inset: auto; width: 74%; min-width: 0; margin: 0 auto; display: block; }
}

/* Logo Malafati */
.logo-text { unicode-bidi: isolate; font-weight: 700; font-size: 1.25rem; }
.logo-text b { color: var(--brass-2); font-weight: 700; }
@media (max-width: 560px) {
  .logo-text { font-size: 1.02rem; }
  .logo .ico { width: 1.45rem; height: 1.45rem; }
  .nav-cta { gap: .2rem; }
}
@media (max-width: 420px) {
  .nav-cta .btn { display: none; }
}
