:root {
  --bg: #0B0B0F;
  --bg-2: #111116;
  --card: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #b5b5b5;
  --accent: #FF5B3A;       /* change this one value to rebrand */
  --accent-soft: rgba(255, 91, 58, 0.12);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.site.scrolled, header.site.solid {
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.06);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--text); line-height: 1; }
.logo:hover { text-decoration: none; }
.logo svg { width: 38px; height: 38px; }
.logo img { height: 34px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text b { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.04em; }
.logo-text small { font-size: 0.62rem; letter-spacing: 0.32em; color: var(--muted); margin-top: 3px; }

nav.main { display: flex; align-items: center; gap: 30px; }
nav.main a { color: var(--text); font-size: 0.93rem; font-weight: 500; }
nav.main a:hover, nav.main a.active { color: var(--accent); text-decoration: none; }
nav.main a.btn { padding: 9px 22px; color: #fff; }
nav.main a.btn:hover { color: #fff; }

.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 6px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 0.93rem;
  border: 1px solid var(--accent); cursor: pointer; font-family: inherit;
  transition: transform .2s, filter .2s, background .2s;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(255,91,58,0.08), transparent 55%),
              linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.12; font-weight: 800;
  letter-spacing: -0.01em; max-width: 900px;
}
.hero h1 em { font-style: normal; color: var(--accent); display: block; }
.hero p.sub { color: #e2e2e2; font-size: 1.12rem; max-width: 700px; margin: 28px 0 34px; line-height: 1.9; }
.hero .hint { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; position: relative; }
section.alt { background: var(--bg-2); }
.eyebrow {
  display: inline-block; color: var(--accent); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
h2.title { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.2; font-weight: 700; margin-bottom: 20px; max-width: 780px; }
.lead { color: var(--muted); max-width: 720px; font-size: 1.02rem; }
.center { text-align: center; }
.center .lead, .center h2.title { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: border-color .3s, transform .3s, background .3s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); background: rgba(255,91,58,0.03); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.ico { width: 44px; height: 44px; color: var(--text); }
.ico svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.card:hover .ico { color: var(--accent); }

.hero-cards { margin-top: 90px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about p { color: var(--muted); margin-bottom: 18px; }
.about h3 { font-size: 1.4rem; margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.stat b { display: block; font-size: 2.4rem; color: var(--accent); font-weight: 800; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Checklist ---------- */
.checks { list-style: none; margin: 20px 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; color: #e2e2e2; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent);
}
.checks li::after {
  content: ""; position: absolute; left: 6px; top: 10px; width: 6px; height: 9px;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* ---------- Apps ---------- */
.app-card { display: flex; flex-direction: column; }
.app-icon {
  width: 76px; height: 76px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a); border: 1px solid var(--border);
}
.app-icon { overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-card p.ar { font-family: "Noto Naskh Arabic", "Geeza Pro", serif; font-size: 1.1rem; color: #e2e2e2; margin: -4px 0 10px; text-align: left; }
.app-icon svg { width: 36px; height: 36px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.tag {
  display: inline-block; margin-top: 18px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent); width: fit-content;
}
.app-card h3 { margin-top: 12px; }
.app-links { display: flex; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.88rem; }
.app-links a { color: var(--text); }
.app-links a:hover { color: var(--accent); text-decoration: none; }

/* ---------- Tech pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; justify-content: center; }
.pill { border: 1px solid var(--border); border-radius: 99px; padding: 10px 22px; font-size: 0.93rem; color: #e2e2e2; transition: .2s; }
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Process ---------- */
.process { margin-top: 60px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 46px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(255,91,58,0.15));
}
.step { text-align: center; position: relative; }
.step .pct {
  width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.step ul { list-style: none; color: var(--muted); font-size: 0.92rem; }
.step li { margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 50px auto 0; }
.faq details { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 14px; background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-info .row { display: flex; gap: 16px; margin-top: 28px; }
.contact-info .row svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.6; flex-shrink: 0; margin-top: 4px; }
.contact-info .row b { display: block; }
.contact-info .row span, .contact-info .row a { color: var(--muted); }
form.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.cf .full { grid-column: 1 / -1; }
form.cf input, form.cf textarea {
  width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.03); color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color .2s;
}
form.cf input:focus, form.cf textarea:focus { outline: none; border-color: var(--accent); }
form.cf textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid rgba(255,255,255,0.08); padding: 60px 0 30px; background: #08080B; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 380px; }
.foot h4 { font-size: 1rem; margin-bottom: 14px; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 8px; }
.foot li a, .foot li span { color: var(--muted); font-size: 0.92rem; }
.foot li a:hover { color: var(--accent); text-decoration: none; }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ---------- Document pages (privacy / support) ---------- */
.page-head { padding: 160px 0 70px; background: var(--bg-2); border-bottom: 1px solid rgba(255,255,255,0.06); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.15; }
.page-head p { color: var(--muted); margin-top: 10px; }
.doc { padding: 70px 0 100px; }
.doc .container { max-width: 860px; }
.doc h2 { font-size: 1.4rem; margin: 46px 0 14px; padding-top: 4px; }
.doc h2::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: 12px; }
.doc h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.doc p, .doc li { color: #cfcfcf; }
.doc p { margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 22px; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: 0.92rem; }
.doc th, .doc td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.doc th { background: rgba(255,255,255,0.04); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .process::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  nav.main {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(11,11,15,0.98); border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  nav.main.open { max-height: 420px; }
  nav.main a { padding: 14px 24px; width: 100%; border-top: 1px solid rgba(255,255,255,0.05); }
  nav.main .btn { margin: 14px 24px 18px; width: calc(100% - 48px); text-align: center; }
  header.site { background: rgba(11,11,15,0.92); }
  .g3, .g4, .g2 { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
  .hero-cards { margin-top: 60px; }
  form.cf { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
}
