@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Noto+Kufi+Arabic:wght@600;700;800&family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --ink: #062235;
  --sky: #0ea5e9;
  --cyan: #7dd3fc;
  --orange: #f97316;
  --teal: #14b8a6;
  --muted: #526274;
  --line: rgba(125, 211, 252, .22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", "Inter", sans-serif;
  color: var(--ink);
  background: #f8fbfd;
}

a { color: inherit; text-decoration: none; }
svg { display: block; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 5vw, 72px);
  color: #e0f2fe;
  background: linear-gradient(90deg, rgba(2, 6, 23, .96), rgba(8, 47, 73, .92), rgba(2, 6, 23, .96));
  border-bottom: 1px solid rgba(125, 211, 252, .18);
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--orange), var(--teal), var(--sky));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1) contrast(2) brightness(1.15);
}

.links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.links a,
.cta {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: #dbeafe;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.links a:hover,
.links a.active {
  color: white;
  background: rgba(14, 165, 233, .16);
}

.cta {
  color: white;
  background: linear-gradient(135deg, var(--orange), #0ea5e9 140%);
  box-shadow: 0 16px 36px rgba(249, 115, 22, .24);
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 20% 20%, rgba(249, 115, 22, .24), transparent 24%),
    radial-gradient(circle at 78% 34%, rgba(14, 165, 233, .28), transparent 28%),
    linear-gradient(135deg, #020617, #082f49);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(125, 211, 252, .08) 1px, transparent 1px),
    linear-gradient(rgba(125, 211, 252, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(58deg) translateY(20%);
  transform-origin: bottom;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .55fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #bae6fd;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(125, 211, 252, .22);
  font-weight: 700;
}

h1, h2 {
  margin: 0;
  font-family: "Noto Kufi Arabic", "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  max-width: 800px;
  font-size: clamp(2.4rem, 5.5vw, 5.6rem);
  line-height: 1.08;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: #dbeafe;
  font-size: 1.12rem;
  line-height: 1.9;
}

.hero-art {
  position: relative;
  min-height: 300px;
}

.orb {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(2,6,23,.75) 0 42%, rgba(14,165,233,.18) 43% 64%, transparent 65%),
    conic-gradient(from 210deg, var(--cyan), var(--orange), var(--teal), var(--cyan));
  transform: translate(-50%, -50%);
  box-shadow: 0 0 95px rgba(14,165,233,.36);
  animation: floatOrb 4s ease-in-out infinite alternate;
}

.orb img {
  width: 76%;
  height: 76%;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1) contrast(2.35) brightness(1.2);
}

.ring {
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(125, 211, 252, .4);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

@keyframes spin { to { rotate: 360deg; } }
@keyframes floatOrb { to { transform: translate(-50%, -56%); } }

.section {
  padding: 78px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(280px, .5fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  color: #07364f;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.15;
}

.section-head p,
.card p,
.text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(14, 165, 233, .15);
  border-radius: 12px;
  background: linear-gradient(180deg, white, #f0f9ff);
  box-shadow: 0 18px 45px rgba(8, 47, 73, .1);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 28px 70px rgba(8, 47, 73, .16);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--sky), var(--orange));
}

.icon-box {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, var(--sky), var(--orange));
  margin-bottom: 22px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin: 0 0 10px;
  color: #07364f;
  font-size: 1.3rem;
}

.rich-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, .72fr);
  gap: 28px;
  align-items: center;
}

.text-panel {
  display: grid;
  gap: 16px;
}

.text-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(14, 165, 233, .14);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
}

.fact-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--orange));
  box-shadow: 0 0 16px rgba(14,165,233,.32);
}

.media-panel {
  position: relative;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .22);
  background:
    radial-gradient(circle at 28% 24%, rgba(14,165,233,.24), transparent 28%),
    linear-gradient(145deg, #082f49, #020617);
  box-shadow: 0 26px 80px rgba(8,47,73,.18);
}

.media-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(125,211,252,.08) 1px, transparent 1px),
    linear-gradient(rgba(125,211,252,.08) 1px, transparent 1px);
  background-size: 54px 54px;
}

.profile-logo-card {
  position: absolute;
  right: 50%;
  top: 42%;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translate(50%, -50%);
  background:
    radial-gradient(circle, rgba(2,6,23,.7) 0 42%, rgba(14,165,233,.22) 43% 64%, transparent 65%),
    conic-gradient(from 210deg, var(--cyan), var(--orange), var(--teal), var(--cyan));
  box-shadow: 0 0 90px rgba(14,165,233,.36);
  animation: floatOrb 4s ease-in-out infinite alternate;
}

.profile-logo-card img {
  width: 78%;
  height: 78%;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: invert(1) grayscale(1) contrast(2.2) brightness(1.2);
}

.pdf-chip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(125,211,252,.22);
  border-radius: 12px;
  color: #e0f2fe;
  background: rgba(2,6,23,.5);
  backdrop-filter: blur(14px);
}

.pdf-chip strong,
.pdf-chip span {
  display: block;
}

.pdf-chip span {
  color: #bae6fd;
  font-size: .9rem;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 22px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, #082f49, #020617);
  overflow: hidden;
}

.process-step::before {
  content: attr(data-step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--sky), var(--orange));
  font-weight: 800;
}

.process-step p {
  color: #dbeafe;
  line-height: 1.75;
}

.image-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.image-card {
  min-height: 310px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14,165,233,.18);
  box-shadow: 0 20px 50px rgba(8,47,73,.12);
  background: #082f49;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .86;
  filter: saturate(1.08) contrast(1.05);
}

.mini-table {
  display: grid;
  gap: 10px;
}

.mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(14,165,233,.14);
  border-radius: 10px;
  background: white;
  box-shadow: 0 12px 30px rgba(8,47,73,.06);
}

.mini-row strong {
  color: #07364f;
}

.mini-row span {
  color: var(--muted);
}

.dark-band {
  color: white;
  background:
    radial-gradient(circle at 20% 22%, rgba(249, 115, 22, .18), transparent 26%),
    linear-gradient(135deg, #020617, #082f49);
}

.dark-band h2,
.dark-band .card h3 { color: white; }

.dark-band .card {
  color: white;
  background: linear-gradient(145deg, rgba(2,6,23,.72), rgba(8,47,73,.62));
  border-color: rgba(125, 211, 252, .22);
}

.dark-band .card p,
.dark-band .section-head p { color: #dbeafe; }

.footer {
  padding: 24px 0;
  color: #bae6fd;
  background: #020617;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .7s ease forwards;
}

.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .links { display: none; }
  .hero-inner,
  .section-head,
  .grid-3,
  .grid-2,
  .rich-split,
  .process,
  .image-strip { grid-template-columns: 1fr; }
  .hero-art { min-height: 240px; }
}
