:root {
  --bg: #f7f3ea; --bg2: #efe8d8; --panel: #fffdf8; --line: #e2d8c2; --fg: #1d2530; --muted: #5d6672;
  --accent: #a87a24; --accent-fg: #ffffff; --accent-soft: #f3e6c8; --night: #0b1a2a; --night-fg: #f1e9d6;
  --shadow: 0 10px 40px rgba(40, 30, 10, .12);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08121d; --bg2: #0d1b2a; --panel: #102234; --line: #1f3549; --fg: #ece4d2; --muted: #9aa6b2;
    --accent: #e8be62; --accent-fg: #1a1406; --accent-soft: #2a2414; --night: #050d16; --night-fg: #f1e9d6;
    --shadow: 0 10px 40px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  --bg: #08121d; --bg2: #0d1b2a; --panel: #102234; --line: #1f3549; --fg: #ece4d2; --muted: #9aa6b2;
  --accent: #e8be62; --accent-fg: #1a1406; --accent-soft: #2a2414; --night: #050d16; --night-fg: #f1e9d6;
  --shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 Inter, system-ui, sans-serif; }
html[lang="ar"] body { font-family: "Noto Naskh Arabic", Inter, sans-serif; font-size: 18px; line-height: 1.8; }
html[lang="ar"] [lang="en"], html[lang="en"] [lang="ar"] { display: none !important; }
h1, h2, h3 { font-family: "Noto Serif", Georgia, serif; font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "Noto Kufi Arabic", sans-serif; font-weight: 700; line-height: 1.6; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.alt { background: var(--bg2); }

/* top bar */
header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 600; white-space: nowrap; }
.brand img { width: 30px; height: 30px; }
.brand .ar { font-family: "Noto Kufi Arabic", sans-serif; color: var(--accent); font-size: 1.1rem; }
nav.links { display: flex; gap: 20px; margin-inline-start: auto; }
nav.links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav.links a:hover, nav.links a.on { color: var(--fg); }
.lang { border: 1px solid var(--line); background: var(--panel); color: var(--fg); border-radius: 999px;
  padding: 6px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
html[lang="en"] .lang { font-family: "Noto Kufi Arabic", sans-serif; }
@media (max-width: 760px) { nav.links { display: none; } .lang { margin-inline-start: auto; } }

/* hero */
.hero { background: radial-gradient(ellipse at 70% 10%, #1b3a4a 0%, var(--night) 60%); color: var(--night-fg); padding: 64px 0 72px; overflow: hidden; }
.hero .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.hero .name { font-family: "Noto Kufi Arabic", sans-serif; color: #e8be62; font-size: clamp(2.2rem, 5.5vw, 3.4rem); line-height: 1.2; margin-bottom: 8px; }
.hero .name small { font-family: Inter, sans-serif; font-size: .42em; color: #b9c3c9; margin-inline-start: 10px; letter-spacing: .12em; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.hero p { color: #b9c3c9; font-size: 1.12rem; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.btn.gold { background: #e8be62; color: #1a1406; }
.btn.ghost { border: 1px solid #4b6272; color: var(--night-fg); }
.hero .art { position: relative; z-index: 0; display: flex; justify-content: center; align-items: center; }
.glow { position: absolute; inset: -40px; background: radial-gradient(circle, rgba(232,190,98,.22), transparent 65%); z-index: -1; }
.hero .art img { display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,.55)); }
.hero .art .photo { border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); filter: none; width: min(440px, 88vw); }
@media (max-width: 760px) { .hero .grid { grid-template-columns: 1fr; text-align: center; gap: 36px; } .hero p { margin-inline: auto; } .cta { justify-content: center; } }

/* chooser on the home page */
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.choice { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; text-decoration: none; color: var(--fg); box-shadow: var(--shadow); transition: transform .18s, border-color .18s; }
.choice:hover { transform: translateY(-4px); border-color: var(--accent); }
.choice .pic { height: 340px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px;
  background: radial-gradient(ellipse at 50% 30%, #1b3a4a 0%, var(--night) 70%); position: relative; }
.choice .pic img { max-height: 100%; width: auto; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
.choice .pic img.photo { height: 100%; width: 100%; object-fit: cover; border-radius: 12px; filter: none; }
.choice .size { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(10,22,40,.85); color: #e8be62;
  border: 1px solid #e8be62; border-radius: 999px; padding: 2px 12px; font-weight: 600; direction: ltr; }
.choice .txt { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.choice .txt p { color: var(--muted); margin: 0 0 14px; }
.choice .go { margin-top: auto; color: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .pick { grid-template-columns: 1fr; } .choice .pic { height: 280px; } }

/* features */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px; }
.card .ic svg { width: 22px; height: 22px; }
.card p { color: var(--muted); margin: 0; }

/* screens */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.shot .scr { background: #0b0f14; padding: 12px; }
.shot .scr img { display: block; width: 100%; border-radius: 4px; }
.shot figcaption { padding: 12px 16px 16px; color: var(--muted); font-size: .95rem; }
.shot figcaption b { display: block; color: var(--fg); }

/* stands */
.stands { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; }
.stand { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stand .pic { height: 300px; display: flex; align-items: center; justify-content: center; }
.stand .pic img { max-height: 100%; width: auto; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); }
.stand.idea .pic { border: 2px dashed var(--line); border-radius: 12px; color: var(--accent); font-size: 3rem; }
.stand p { color: var(--muted); margin: 8px 0 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 36px; counter-reset: s; }
.step { padding: 22px; background: var(--panel); border-radius: 16px; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 600; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }
code { font-family: Consolas, monospace; background: var(--accent-soft); border-radius: 4px; padding: 0 5px; font-size: .92em; direction: ltr; unicode-bidi: embed; }

/* compare table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.cmp td, .cmp th { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { background: var(--accent-soft); }
.cmp tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; }

/* faq */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details .body { padding: 0 20px 18px; color: var(--muted); }
details .body p:last-child { margin-bottom: 0; }
.faq { max-width: 780px; margin: 36px auto 0; }

/* order */
.order { background: var(--night); color: var(--night-fg); }
.order .box { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.order .lead { color: #b9c3c9; }
.order .price { font-family: "Noto Serif", Georgia, serif; font-size: 1.5rem; color: #e8be62; margin: 18px 0 22px; line-height: 1.4; }
html[lang="ar"] .order .price { font-family: "Noto Kufi Arabic", sans-serif; }
.order ul { padding-inline-start: 20px; color: #d6dde2; }
.order li { margin-bottom: 6px; }
.order .mailtext { margin-top: 14px; color: #e8be62; direction: ltr; text-align: start; }
html[lang="ar"] .order .mailtext { text-align: right; }
.order .note { margin-top: 14px; color: #b9c3c9; }
@media (max-width: 760px) { .order .box { grid-template-columns: 1fr; gap: 28px; } }

footer { padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer .ayah { font-family: "Noto Naskh Arabic", serif; }
