@font-face {
  font-family: 'Cairo';
  src: url('../fonts/cairo-arabic-wght-normal.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Cairo';
  src: url('../fonts/cairo-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf6f1;
  --surface: #ffffff;
  --surface-2: #f1e9de;
  --text: #2a2123;
  --muted: #6b5f62;
  --border: #eadfd0;
  --accent: #7a1f2b;
  --accent-2: #a63a47;
  --on-accent: #ffffff;
  --accent-soft: #f6e3e5;
  --gold: #c9885a;
  --shadow: 0 1px 3px rgb(0 0 0 / 0.08), 0 10px 30px rgb(90 30 40 / 0.1);
  --radius: 1rem;
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101012;
    --surface: #19191c;
    --surface-2: #252529;
    --text: #f2eee8;
    --muted: #a7a29b;
    --border: #2d2d32;
    --accent: #eadcc2;
    --on-accent: #1d1710;
    --accent-soft: rgb(234 220 194 / 0.12);
    --shadow: 0 1px 3px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-block-start: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  padding-inline: env(safe-area-inset-left, 0) env(safe-area-inset-right, 0);
}
img { max-inline-size: 100%; block-size: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 0.4rem; }

/* Language switching: both languages are in the HTML, the inactive one is hidden. */
html[lang='ar'] [lang='en'], html[lang='en'] [lang='ar'] { display: none !important; }

.wrap { inline-size: min(100% - 2rem, 70rem); margin-inline: auto; }
.narrow { inline-size: min(100% - 2rem, 46rem); }

.skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; background: var(--accent); color: var(--on-accent); padding: 0.6rem 1rem; border-radius: 0.5rem; z-index: 20; }
.skip:focus { inset-block-start: 0.5rem; }

/* Header */
.site-header { position: sticky; inset-block-start: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-block-end: 1px solid var(--border); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-block-size: 4rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); font-weight: 700; min-block-size: 44px; }
.brand img { border-radius: 0.6rem; }
.brand-name { font-size: 1rem; line-height: 1.2; }
.bar-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); }
.lang-toggle button { font: inherit; font-size: 0.9rem; min-block-size: 44px; min-inline-size: 44px; padding-inline: 0.75rem; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.lang-toggle button[aria-pressed='true'] { background: var(--accent); color: var(--on-accent); font-weight: 700; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-block-size: 48px; padding-inline: 1.4rem; border-radius: 0.85rem; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-light { background: #fff; color: #7a1f2b; }
.btn-sm { min-block-size: 44px; padding-inline: 1rem; font-size: 0.95rem; white-space: nowrap; }

/* Hero */
.hero { padding-block: 2.5rem 3rem; background: radial-gradient(60rem 30rem at 85% -10%, var(--accent-soft), transparent 60%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { color: var(--gold); font-weight: 700; margin-block-end: 0.5rem; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3.1rem); font-weight: 800; letter-spacing: -0.01em; }
.lead { font-size: 1.15rem; color: var(--muted); margin-block-start: 1rem; max-inline-size: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.5rem; }
.chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.9rem; font-size: 0.95rem; color: var(--muted); }
.hero-shot { display: flex; justify-content: center; }

/* Phone frame */
.phone { margin: 0; inline-size: min(15.5rem, 70vw); flex: none; }
.phone img { inline-size: 100%; border-radius: 1.9rem; border: 0.4rem solid #1d1a1b; box-shadow: var(--shadow); background: var(--surface); }
.phone figcaption { text-align: center; margin-block-start: 0.75rem; font-weight: 700; color: var(--muted); }
.hero .phone { inline-size: min(17rem, 72vw); }

/* Sections */
.section { padding-block: 3.5rem; }
.section-alt { background: var(--surface-2); }
.section h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; margin-block-end: 1.5rem; }
.sub { color: var(--muted); margin-block-start: -0.75rem; margin-block-end: 1.5rem; }

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.card h3 { font-size: 1.15rem; margin-block: 0.6rem 0.35rem; }
.card p { color: var(--muted); font-size: 1rem; }
.ico { display: inline-grid; place-items: center; inline-size: 2.75rem; block-size: 2.75rem; border-radius: 0.8rem; background: var(--accent-soft); font-size: 1.3rem; color: var(--accent); font-weight: 800; }

/* Screenshot strip */
.strip { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: inline mandatory; padding-inline: max(1rem, calc((100% - 70rem) / 2)); padding-block: 0.5rem 1.5rem; -webkit-overflow-scrolling: touch; }
.strip .phone { scroll-snap-align: center; }
@media (min-width: 62rem) { .strip { justify-content: center; } }

/* Privacy */
.privacy { background: linear-gradient(135deg, #7a1f2b, #5a1620); color: #fff; }
.privacy h2 { color: #fff; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.privacy-list li { background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.18); border-radius: var(--radius); padding: 1.1rem; }
.privacy-list strong { color: #f0c04a; }

/* Install */
.tabs { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem; background: var(--surface); margin-block-end: 1.25rem; }
.tabs button { font: inherit; font-weight: 700; min-block-size: 44px; padding-inline: 1.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.tabs button[aria-selected='true'] { background: var(--accent); color: var(--on-accent); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow); margin-block-end: 1rem; }
.panel-title { font-size: 1.15rem; margin-block-end: 0.5rem; }
.steps { margin: 0; padding-inline-start: 1.4rem; }
.steps li { margin-block: 0.4rem; }
.note { margin-block-start: 1rem; padding: 0.9rem 1rem; border-radius: 0.8rem; background: #fff1d6; color: #5c4300; font-size: 1rem; }
.note-soft { background: var(--accent-soft); color: var(--text); }
@media (prefers-color-scheme: dark) { .note { background: #3a2f16; color: #f0c15f; } }
.js .panel[hidden] { display: none; }
html:not(.js) .tabs { display: none; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 0.9rem; margin-block-end: 0.7rem; }
summary { cursor: pointer; padding: 0.85rem 1.1rem; font-weight: 700; min-block-size: 44px; list-style-position: inside; }
details p { padding: 0 1.1rem 1rem; color: var(--muted); }

/* Final CTA */
.final { background: linear-gradient(135deg, #7a1f2b, #a63a47); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final .lead { color: #f6e3e5; margin-inline: auto; margin-block-end: 1.5rem; }

/* Footer */
.site-footer { padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0)); border-block-start: 1px solid var(--border); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.product-of { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); font-weight: 700; min-block-size: 44px; }
.product-of img { opacity: 0.85; }
@media (prefers-color-scheme: dark) { .product-of img { filter: invert(1); } }
.fine { color: var(--muted); font-size: 0.9rem; }

@media (min-width: 52rem) {
  .privacy-list { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero { padding-block: 4rem 4.5rem; }
}
@media (max-width: 30rem) {
  .brand-name { display: none; }
  .btn-sm { padding-inline: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
