/* Laqta · لقطة */
:root {
  --red: #D7263D;
  --red-deep: #B81D32;
  --ink: #15131C;
  --ink-2: #3A3742;
  --muted: #6E6A75;
  --paper: #FFFFFF;
  --sand: #F7F2EE;
  --line: #E8E1DC;
  --wa: #25D366;
  --radius: 22px;
  --display: "Lalezar", "Readex Pro", system-ui, sans-serif;
  --body: "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Logo tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  font-family: var(--display); font-size: 22px; line-height: 1;
  padding: 9px 16px 7px 14px;
  border-radius: 8px;
  position: relative;
  margin-left: 14px;
  text-decoration: none;
}
.tag::before {
  content: ""; position: absolute; left: -14px; top: 0; bottom: 0; width: 15px;
  background: var(--ink);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.tag::after {
  content: ""; position: absolute; left: -2px; top: 50%; width: 8px; height: 8px;
  margin-top: -4px; border-radius: 50%; background: var(--red);
}
html[lang="en"] .tag { font-family: var(--body); font-weight: 700; font-size: 18px; padding-top: 8px; padding-bottom: 8px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--red) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; opacity: .92; }
.nav a:hover { opacity: 1; }
.nav .lang { border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px; padding: 3px 12px; font-size: 14px; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { background: var(--red); color: #fff; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-block: 56px 88px;
}
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 500;
  background: rgba(0,0,0,.16); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 9vw, 96px); line-height: 1.05; margin: 0 0 18px;
}
html[lang="en"] .hero h1 { font-family: var(--body); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(40px, 7vw, 76px); }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 34ch; margin: 0 0 30px; opacity: .95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 14px; opacity: .85; }

/* Phone / alert mock */
.phone {
  background: #ECE5DD; border-radius: 34px; padding: 14px;
  box-shadow: 0 30px 60px rgba(70, 0, 10, .35), 0 0 0 10px var(--ink);
  max-width: 340px; margin-inline: auto; transform: rotate(-2deg);
}
.phone-top { display: flex; align-items: center; gap: 10px; background: #075E54; color: #fff; margin: -14px -14px 14px; padding: 14px 16px; border-radius: 26px 26px 0 0; }
.phone-top .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-family: var(--display); font-size: 13px; }
.phone-top b { font-size: 15px; display: block; line-height: 1.2; }
.phone-top small { font-size: 12px; opacity: .8; }
.bubble {
  background: #fff; color: var(--ink); border-radius: 14px; border-start-start-radius: 4px;
  padding: 12px 14px 8px; font-size: 15px; line-height: 1.6; box-shadow: 0 1px 1px rgba(0,0,0,.08);
  max-width: 92%;
}
.bubble + .bubble { margin-top: 10px; }
.bubble .title { font-weight: 700; }
.bubble .price { font-weight: 700; color: var(--red); }
.bubble .link { color: #027EB5; direction: ltr; unicode-bidi: isolate; display: inline-block; font-size: 14px; }
.bubble .time { display: block; text-align: end; font-size: 11px; color: var(--muted); }
.bubble.me { background: #DCF8C6; margin-inline-start: auto; border-start-start-radius: 14px; border-start-end-radius: 4px; }
.mock-note { text-align: center; font-size: 12px; opacity: .8; margin-top: 22px; }

/* ---------- Sections ---------- */
section { padding-block: 84px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 54px);
  line-height: 1.1; margin: 0 0 10px;
}
html[lang="en"] .section-head h2 { font-family: var(--body); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(30px, 4vw, 44px); }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.sand { background: var(--sand); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-size: 24px; margin-bottom: 16px;
}
html[lang="en"] .step .num { font-family: var(--body); font-weight: 700; font-size: 20px; }
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 500; }
.chip.more { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; }
.plan { border-radius: 28px; padding: 32px; display: flex; flex-direction: column; border: 1.5px solid var(--line); background: #fff; }
.plan.pro { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan .badge { align-self: flex-start; background: var(--red); color: #fff; border-radius: 999px; padding: 3px 14px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.plan h3 { font-family: var(--display); font-weight: 400; font-size: 40px; margin: 0; line-height: 1.1; color: var(--red); }
.plan.pro h3 { color: #fff; }
html[lang="en"] .plan h3 { font-family: var(--body); font-weight: 700; font-size: 30px; }
.plan .price { font-family: var(--body); font-weight: 700; font-size: 64px; line-height: 1; margin: 14px 0 4px; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-size: 16px; }
.plan.pro .per { color: #B9B5C0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--red); font-weight: 700; }
.plan .btn { margin-top: auto; width: 100%; }
.plans-note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- CTA band + footer ---------- */
.band { background: var(--ink); color: #fff; text-align: center; }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 64px); margin: 0 0 12px; line-height: 1.1; }
html[lang="en"] .band h2 { font-family: var(--body); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(30px, 5vw, 48px); }
.band p { color: #C9C5CF; margin: 0 auto 28px; max-width: 46ch; }

footer { background: #0D0B12; color: #B9B5C0; padding-block: 44px; font-size: 15px; }
footer .wrap { display: grid; gap: 22px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .mor { font-size: 13px; color: #8E8A95; max-width: 70ch; }

/* ---------- Subscribe sheet ---------- */
dialog.sheet {
  border: 0; padding: 0; color: var(--ink); background: #fff;
  width: min(460px, 100%); border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
dialog.sheet::backdrop { background: rgba(21, 19, 28, .55); backdrop-filter: blur(2px); }
.sheet-inner { padding: 26px 24px 24px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.sheet-head h2 { margin: 0; font-size: 22px; }
.close-x { background: var(--sand); border: 0; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.grabber { display: none; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; }

.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; border: 0; padding: 0; }
.plan-pick legend { font-weight: 700; margin-bottom: 8px; font-size: 15px; padding: 0; }
.plan-pick label {
  position: relative; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer;
  display: grid; gap: 2px;
}
.plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick label:has(input:checked) { border-color: var(--red); background: #FFF5F6; }
.plan-pick label:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.plan-pick b { font-size: 16px; }
.plan-pick .amt { font-weight: 700; font-size: 20px; }
.plan-pick small { color: var(--muted); font-size: 13px; line-height: 1.4; }

.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.phone-input {
  display: flex; align-items: stretch; border: 2px solid var(--line); border-radius: 14px; overflow: hidden;
  direction: ltr; transition: border-color .15s;
}
.phone-input:focus-within { border-color: var(--ink); }
.phone-input.invalid { border-color: var(--red); }
.phone-input span { background: var(--sand); padding: 0 14px; display: grid; place-items: center; font-weight: 700; color: var(--ink-2); }
.phone-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px; font: inherit; font-size: 20px; letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.error { font-size: 14px; color: var(--red); margin: 8px 0 0; min-height: 1.2em; }
.pay-btn { width: 100%; margin-top: 18px; min-height: 56px; font-size: 18px; }
.pay-btn svg { width: 20px; height: 20px; }
.legal-line { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.legal-line a { color: var(--ink-2); }

@media (max-width: 640px) {
  dialog.sheet {
    margin: auto 0 0; width: 100%; max-width: 100%; border-radius: 26px 26px 0 0;
    max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom);
  }
  dialog.sheet[open] { animation: up .28s cubic-bezier(.2,.8,.2,1); }
  .grabber { display: block; }
  .sheet-inner { padding-top: 14px; }
}
@media (min-width: 641px) { dialog.sheet[open] { animation: pop .2s ease-out; } }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Legal pages ---------- */
.doc { padding-block: 48px 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 6px; line-height: 1.2; }
.doc .updated { color: var(--muted); margin: 0 0 32px; font-size: 15px; }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .lang-block + .lang-block { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.doc [lang="en"] { direction: ltr; text-align: left; }
.doc [lang="ar"] { direction: rtl; text-align: right; }
.doc .toc { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }

/* ---------- Thanks page ---------- */
.thanks { min-height: calc(100dvh - 68px); display: grid; place-items: center; background: var(--red); color: #fff; text-align: center; padding: 40px 0; }
.thanks h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 8vw, 72px); margin: 0 0 10px; line-height: 1.1; }
html[lang="en"] .thanks h1 { font-family: var(--body); font-weight: 700; }
.thanks p { max-width: 40ch; margin: 0 auto 26px; font-size: 18px; }
.btn-wa { background: var(--wa); color: #0B3B1E; }
.btn-wa:hover { filter: brightness(1.05); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 36px 64px; }
  .phone { transform: none; max-width: 320px; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding-block: 60px; }
  .plans { grid-template-columns: 1fr; }
  .plan .price { font-size: 56px; }
  .hero-ctas .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* fixes */
.nav a.btn { opacity: 1; }
.nav a.btn-white { color: var(--ink); }
.bubble .price { white-space: nowrap; }
a[href^="https://wa.me"], a[href^="mailto:"] { unicode-bidi: isolate; }
.doc a[href^="https://wa.me"], .doc a[href^="mailto:"], footer a[href^="mailto:"] { direction: ltr; display: inline-block; }
