:root {
  --jade: #00A878;
  --jade-deep: #00785A;
  --light-jade: #DCF5EC;
  --ink: #0A0A0A;
  --ink-soft: #1F1F1F;
  --amber: #E8A33D;
  --clay: #B4523A;
  --white: #FFFFFF;
  --muted: #5A5A5A;
  --line: #E6E8E8;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow: 0 18px 45px rgba(10, 10, 10, 0.12);
  --container: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

[dir="rtl"] { --font: "Noto Kufi Arabic", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }

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

.narrow { max-width: 780px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; gap: 18px; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.brand-logo { height: 34px; width: auto; }
.brand-name { letter-spacing: -0.02em; }

.nav { display: flex; gap: 26px; margin-inline-start: 14px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }

.lang-switch { display: flex; background: #F1F3F2; border-radius: 999px; padding: 3px; gap: 2px; }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--muted); padding: 6px 11px; border-radius: 999px; transition: all .2s;
}
.lang-switch button.active { background: var(--ink); color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 800; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--jade); color: var(--ink); box-shadow: 0 12px 26px rgba(0, 168, 120, .3); }
.btn-primary:hover { background: var(--jade-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(10, 10, 10, .18); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(0, 168, 120, .16), transparent 60%),
    radial-gradient(700px 420px at 5% 10%, rgba(232, 163, 61, .14), transparent 55%),
    var(--white);
  padding: 74px 0 54px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  color: var(--jade-deep); background: var(--light-jade); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow-light { color: var(--light-jade); background: rgba(0, 168, 120, .22); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 900; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); margin: 20px 0 0; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero-art .glow {
  position: absolute; inset: 8% 12%; border-radius: 50%;
  background: linear-gradient(135deg, var(--jade), var(--jade-deep));
  filter: blur(50px); opacity: .35;
}
.hero-art .app-icon { position: relative; width: min(280px, 70%); border-radius: 30%; box-shadow: var(--shadow); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 56px; padding: 0 22px;
}
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; text-align: center; box-shadow: 0 8px 24px rgba(10, 10, 10, .05);
}
.stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--jade-deep); }
.stat span { font-size: 13px; font-weight: 600; color: var(--muted); }

/* Sections */
.section { padding: 74px 0; }
.section-soft { background: #F7FAF9; }
.section-ink { background: var(--ink); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; }
.section-head p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 26px;
  background: var(--light-jade); border-radius: 16px; margin-bottom: 16px;
}
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Why */
.why-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.why-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; margin-bottom: 26px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li { border-inline-start: 3px solid var(--jade); padding-inline-start: 16px; }
.why-list strong { display: block; font-size: 17px; font-weight: 800; }
.why-list span { color: rgba(255, 255, 255, .72); font-size: 15px; }
.why-art { display: grid; place-items: center; }
.why-art img { width: min(240px, 70%); border-radius: 30%; box-shadow: 0 30px 60px rgba(0, 168, 120, .35); }

/* Download */
.download-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.download-art { display: grid; place-items: center; }
.phone {
  width: 240px; aspect-ratio: 9 / 18; border-radius: 40px; background: linear-gradient(160deg, var(--ink-soft), var(--ink));
  padding: 16px; box-shadow: var(--shadow); display: grid; place-items: center; position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .18);
}
.phone img { width: 60%; border-radius: 26%; }
.download-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; }
.download-copy > p { color: var(--muted); font-size: 17px; margin: 14px 0 22px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); margin: 14px 0 24px; }
.steps { margin: 0; padding-inline-start: 22px; color: var(--muted); display: grid; gap: 8px; }
.steps li { padding-inline-start: 4px; }
.muted { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 20px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--jade); }
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 16px; padding: 16px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--jade-deep); font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 46px 0; margin-top: 20px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 40px; }
.footer-brand strong { font-size: 18px; font-weight: 900; }
.footer-brand p { margin: 2px 0 0; color: rgba(255, 255, 255, .6); font-size: 14px; }
.footer-links { display: flex; gap: 20px; margin-inline-start: auto; }
.footer-links a { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .75); }
.footer-links a:hover { color: var(--white); }
.copyright { flex-basis: 100%; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); font-size: 13px; }

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner, .why-inner, .download-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .why-art { order: -1; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .lang-switch button { padding: 6px 8px; font-size: 12px; }
  .brand-name { display: none; }
  .header-inner { gap: 10px; }
  .footer-links { margin-inline-start: 0; }
}
