:root {
  --bg: #050b1a;
  --bg-2: #0a1630;
  --surface: #0f1f3d;
  --line: rgba(148, 178, 230, .14);
  --text: #e6edf9;
  --muted: #94a3c2;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --radius: 16px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: "Space Grotesk", sans-serif; line-height: 1.2; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px "Inter", sans-serif; color: #04121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 30px -8px rgba(34, 211, 238, .55);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(34, 211, 238, .7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled { background: rgba(5, 11, 26, .85); backdrop-filter: blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.logo-ar {
  font: 700 19px "Noto Kufi Arabic", sans-serif; line-height: 1.15; display: flex; flex-direction: column;
  padding-left: 12px; border-left: 1px solid rgba(34,211,238,.35);
}
.logo-ar small { font: 400 11px "Noto Kufi Arabic", sans-serif; color: #7dd3fc; margin-top: 2px; }
.logo-text { font: 700 21px "Space Grotesk", sans-serif; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font: 500 11px "Inter", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a:not(.btn) { font-size: 15px; color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--text); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; width: 24px; background: var(--text); margin: 0 auto; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 90px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(59,130,246,.22), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(34,211,238,.14), transparent 60%),
    var(--bg);
}
#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero-inner { position: relative; }
.eyebrow { font: 600 13px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); max-width: 900px; margin-bottom: 24px; }
.grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 680px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 20px 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
.hero-stats strong { display: block; font: 700 28px "Space Grotesk", sans-serif; }
.hero-stats span { font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 110px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2, .split h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

/* Solution cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(15,31,61,.4));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px 200px at 0% 0%, rgba(34,211,238,.12), transparent 70%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.45); }
.card:hover::before { opacity: 1; }
.icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(34,211,238,.1); color: var(--accent);
}
.icon svg, .ci svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.card ul { list-style: none; display: grid; gap: 8px; font-size: 14px; }
.card li { padding-left: 20px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); opacity: .8; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split p { color: var(--muted); margin-bottom: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill { font-size: 13px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(34,211,238,.35); color: var(--accent); }
.why { display: grid; gap: 16px; }
.why-item { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-item .num { font: 700 15px "Space Grotesk", sans-serif; color: var(--accent); padding-top: 2px; }
.why-item h4 { font-size: 18px; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 15px; }

/* Vision 2040 */
.vision {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(180deg, #071a33, var(--bg));
  border-top: 1px solid var(--line);
}
.vision-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.vision-head h2 { font-size: clamp(30px, 4vw, 46px); }
.vision-head > p { color: var(--muted); font-size: 17px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { padding: 28px 24px; border-radius: var(--radius); background: rgba(15,31,61,.6); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.pillar h4 { font-size: 18px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind {
  padding: 26px 22px; border-radius: 14px; border: 1px solid var(--line);
  font: 600 16px "Space Grotesk", sans-serif; background: rgba(15,31,61,.5);
  transition: border-color .3s, background .3s;
}
.ind:hover { border-color: rgba(34,211,238,.45); background: var(--surface); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps span {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; margin-bottom: 18px;
  font: 700 17px "Space Grotesk", sans-serif; color: #04121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.steps h4 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* Band */
.band { padding: 80px 0; background: linear-gradient(120deg, #0b2a4a, #0a1630 50%, #102b5c); border-block: 1px solid var(--line); }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; }

/* Contact */
.contact-list { display: grid; gap: 18px; margin: 28px 0; }
.ci { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.ci svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.ci address { font-style: normal; color: var(--muted); }
.ci address strong { color: var(--text); }
.ci a:hover { color: var(--accent); }
.map { width: 100%; height: 240px; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.form { display: grid; gap: 18px; padding: 36px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea {
  font: 15px "Inter", sans-serif; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; outline: none; transition: border-color .2s;
  width: 100%; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--accent); min-height: 1.4em; margin: 0; }

/* Footer */
.footer { background: #030814; border-top: 1px solid var(--line); padding: 72px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 48px; }
.footer .logo { margin-bottom: 18px; }
.footer h5 { font-size: 15px; margin-bottom: 16px; }
.footer-grid > div > a:not(.logo) { display: block; color: var(--muted); margin-bottom: 10px; transition: color .2s; }
.footer-grid > div > a:not(.logo):hover { color: var(--accent); }
.copy { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s 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: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .industries, .steps, .pillars { grid-template-columns: repeat(2, 1fr); }
  .vision-head { grid-template-columns: 1fr; gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .burger { display: flex; }
  .menu {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,11,26,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .menu.open { transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu .btn { margin-top: 16px; }
  .header:has(.menu.open) { background: rgba(5,11,26,.97); }
  .section { padding: 80px 0; }
  .cards, .industries, .steps, .pillars { grid-template-columns: 1fr; }
  .logo { gap: 10px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text { font-size: 18px; }
  .logo-text small { font-size: 9px; }
  .logo-ar { font-size: 16px; padding-left: 10px; }
  .logo-ar small { font-size: 9px; }
  .form { padding: 24px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 32px; }
}
.ar-inline { font-family: "Noto Kufi Arabic", sans-serif; letter-spacing: 0; }

/* Print / PDF export */
@media print {
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .header { position: absolute; background: transparent; backdrop-filter: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero { min-height: 800px; }
  .grad { background: none; color: var(--accent); }
  .card, .why-item, .pillar, .steps li, .ind, .form { break-inside: avoid; }
}
