/* elhelowtech.online — shared styles. Dark only, brand colours from the app. */
:root {
  --bg: #0A0E12; --surface: #10161C; --surface2: #151C23; --surface3: #1B242D;
  --line: #22303B; --line2: #2E3D4A;
  --text: #E7EDF2; --text2: #B4C0CB; --muted: #8A97A3;
  --acc: #3FA9CF; --acc-hi: #5BBBDC; --acc-ink: #06222D; --acc-soft: #173544;
  --lad: #F2C14E; --good: #3FB68B; --bad: #E5534B;
  --r: 16px; --r-sm: 10px;
  --wrap: 1180px;
  --f-display: "Sora", "Cairo", system-ui, sans-serif;
  --f-body: "Sora", "Cairo", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.7 var(--f-body); }
html[lang="ar"] body { font-family: "Cairo", "Sora", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
a { color: var(--acc-hi); text-decoration: none; }
a:hover { color: #8fd2ea; }
:focus-visible { outline: 2px solid var(--acc-hi); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.18; margin: 0; letter-spacing: -0.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: "Cairo", var(--f-display); letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mono { font-family: Consolas, "Cascadia Mono", "Courier New", monospace; }
.muted { color: var(--muted); }

/* one text, two languages: the page shows the one matching <html lang> */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

/* ---------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(10, 14, 18, .86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }
.brand .word { font: 600 20px/1 var(--f-display); color: var(--text); letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { color: var(--text2); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--surface2); }
.lang { background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 9px; padding: 7px 12px;
  font: 600 14px/1 var(--f-body); cursor: pointer; min-height: 40px; }
.lang:hover { border-color: var(--acc); }
@media (max-width: 860px) { .nav { display: none; } .top .wrap { justify-content: space-between; } }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border-radius: 12px; font: 600 16px/1 var(--f-body); border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; }
html[lang="ar"] .btn { font-family: "Cairo", var(--f-body); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--acc); color: var(--acc-ink); }
.btn-primary:hover { background: var(--acc-hi); color: var(--acc-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--acc); color: var(--text); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------------------------------------------------------------- sections */
section { padding: 96px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lad); font: 600 13px/1 var(--f-body);
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
/* the signature mark: three ladder rungs */
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--lad) 0 2px, transparent 2px 6px, var(--lad) 6px 8px, transparent 8px 12px, var(--lad) 12px 14px); }
.h2 { font-size: clamp(30px, 4.2vw, 44px); max-width: 760px; }
.lead { color: var(--text2); font-size: 18px; max-width: 680px; margin-top: 16px; }
.sec-head { margin-bottom: 48px; }
.card { background: var(--surface2); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--text2); }
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
