:root {
  --bg: #07080b;
  --bg-soft: #0f1118;
  --surface: rgba(255,255,255,.055);
  --surface-strong: rgba(255,255,255,.09);
  --text: #f7f6f2;
  --muted: #aaa9b3;
  --line: rgba(255,255,255,.13);
  --violet: #9b7cff;
  --blue: #54b3ec;
  --cyan: #00feff;
  --pink: #e555c8;
  --orange: #ff966d;
  --shadow: 0 28px 90px rgba(0,0,0,.35);
  --radius: 24px;
  --font: "DM Sans", "Tajawal", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

[data-theme="light"] {
  --bg: #f7f5f0;
  --bg-soft: #ece9e2;
  --surface: rgba(255,255,255,.78);
  --surface-strong: #fff;
  --text: #111216;
  --muted: #62636b;
  --line: rgba(17,18,22,.13);
  --shadow: 0 26px 70px rgba(25,22,45,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(850px 620px at 8% -12%, rgba(229,85,200,.16), transparent 62%),
    radial-gradient(900px 700px at 98% 4%, rgba(84,179,236,.14), transparent 58%),
    var(--bg);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: clip;
}

html[lang="en"] .i18n-ar,
html[lang="ar"] .i18n-en { display: none !important; }
html[lang="ar"] body { direction: rtl; font-family: "Tajawal", var(--font); }

a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 200; padding: 10px 16px; background: #fff; color: #111; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; min-height: 44px; }
.brand img { width: 142px; height: auto; }
.nav { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { min-width: 42px; min-height: 42px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font: 700 13px/1 var(--font); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 700; line-height: 1.2; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #07080b; background: linear-gradient(115deg, #fdd196, var(--orange), var(--pink), var(--blue), var(--cyan)); box-shadow: 0 16px 40px rgba(84,179,236,.18); }
.btn-secondary { border-color: var(--line); background: var(--surface); }
.text-link { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; font-weight: 700; }

.hero { padding: clamp(84px, 10vw, 148px) 0 76px; position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; inset-inline-end: -220px; top: 10px; background: conic-gradient(from 30deg, rgba(0,254,255,.22), rgba(229,85,200,.2), rgba(255,150,109,.18), rgba(0,254,255,.22)); filter: blur(80px); border-radius: 50%; opacity: .7; pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: linear-gradient(90deg, var(--pink), var(--cyan)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(36px, 7vw, 96px); align-items: center; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.035em; }
h1 { max-width: 15ch; font-size: clamp(48px, 7vw, 92px); }
.gradient-text { color: transparent; background: linear-gradient(105deg, #fdd196, var(--orange), var(--pink), var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; }
.lede { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2.2vw, 23px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface-strong), var(--surface)); box-shadow: var(--shadow); }
.hero-panel h2 { font-size: 24px; margin-bottom: 20px; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--muted); }
.check-list li::before { content: "✓"; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(0,254,255,.35); border-radius: 50%; color: var(--cyan); font-weight: 800; }

.proof-strip { padding: 0 0 78px; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.proof { padding: 25px; border-inline-end: 1px solid var(--line); }
.proof:last-child { border-inline-end: 0; }
.proof strong { display: block; font-size: clamp(28px, 3.6vw, 44px); line-height: 1; }
.proof span { display: block; color: var(--muted); margin-top: 9px; font-size: 14px; }

.section { padding: 92px 0; }
.section-alt { background: color-mix(in srgb, var(--bg-soft) 72%, transparent); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr); gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head h2 { font-size: clamp(38px, 5.2vw, 64px); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.card .num { color: var(--cyan); font: 700 12px/1 var(--font); letter-spacing: .14em; }
.card h3 { margin-top: 42px; font-size: 25px; }
.card p { color: var(--muted); margin: 14px 0 0; }

.process { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.step { display: grid; grid-template-columns: 90px minmax(180px,.6fr) 1fr; gap: 26px; padding: 28px; background: var(--bg); align-items: start; }
.step b { font-size: 13px; letter-spacing: .14em; color: var(--pink); }
.step h3 { font-size: 24px; }
.step p { margin: 0; color: var(--muted); }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.case-card:hover { transform: translateY(-4px); border-color: rgba(84,179,236,.55); }
.case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case-body { padding: 23px; }
.case-body span { color: var(--cyan); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.case-body h3 { font-size: 25px; margin-top: 10px; }
.case-body p { margin: 12px 0 0; color: var(--muted); }

.content-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.content-split h2 { font-size: clamp(38px, 5.2vw, 64px); position: sticky; top: 108px; }
.rich-copy { display: grid; gap: 26px; }
.rich-copy h3 { font-size: 26px; }
.rich-copy p, .rich-copy li { color: var(--muted); }
.rich-copy p { margin: 10px 0 0; }
.rich-copy ul { margin: 10px 0 0; padding-inline-start: 22px; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; font-weight: 700; position: relative; }
html[dir="rtl"] .faq summary { padding: 22px 0 22px 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 17px; font-size: 25px; color: var(--cyan); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin: 0; padding: 0 0 22px; }

.cta { padding: 98px 0; }
.cta-box { position: relative; overflow: hidden; padding: clamp(34px, 7vw, 76px); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, rgba(229,85,200,.13), rgba(84,179,236,.12), var(--surface)); text-align: center; }
.cta-box h2 { max-width: 17ch; margin-inline: auto; font-size: clamp(38px, 6vw, 72px); }
.cta-box p { max-width: 650px; margin: 20px auto 30px; color: var(--muted); font-size: 18px; }

.site-footer { padding: 38px 0 48px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 18px; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--text); }
.copyright { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .section-head, .content-split { grid-template-columns: 1fr; }
  .hero-panel { max-width: 700px; }
  .content-split h2 { position: static; }
  .card-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(2) { border-inline-end: 0; }
  .proof:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand img { width: 116px; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 70px; }
  h1 { font-size: clamp(43px, 14vw, 64px); }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .proof-grid, .card-grid, .case-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .proof:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-head { gap: 18px; margin-bottom: 30px; }
  .step { grid-template-columns: 54px 1fr; gap: 16px; }
  .step p { grid-column: 2; }
  .card { min-height: 0; }
  .card h3 { margin-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
