:root {
  --bg: #071018;
  --bg-2: #0c1824;
  --ink: #e8f1f7;
  --muted: #8fa3b5;
  --accent: #2ee6a6;
  --accent-2: #19b7ff;
  --line: rgba(232, 241, 247, 0.1);
  --font-ar: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "Outfit", "IBM Plex Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 80% -10%, rgba(25, 183, 255, 0.22), transparent 60%),
    radial-gradient(700px 480px at 0% 100%, rgba(46, 230, 166, 0.14), transparent 55%),
    linear-gradient(180deg, #071018 0%, #0a141f 55%, #071018 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 16s ease-in-out infinite alternate;
}
.orb-a {
  width: 320px; height: 320px;
  background: rgba(46, 230, 166, 0.35);
  top: 18%; left: 6%;
}
.orb-b {
  width: 380px; height: 380px;
  background: rgba(25, 183, 255, 0.28);
  bottom: 8%; right: 4%;
  animation-delay: -5s;
}
.grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(232,241,247,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,241,247,0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.wave {
  position: absolute;
  left: 50%;
  bottom: 12%;
  width: min(920px, 120vw);
  height: 180px;
  transform: translateX(-50%);
  opacity: 0.35;
  background:
    radial-gradient(ellipse at center, transparent 40%, transparent 41%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 10px, rgba(46,230,166,0.12) 10px 11px);
  animation: pulse 5.5s ease-in-out infinite;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(18px, -22px) scale(1.08); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.22; transform: translateX(-50%) scale(0.96); }
  50% { opacity: 0.42; transform: translateX(-50%) scale(1.04); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin-soft {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.top, main, footer { position: relative; z-index: 1; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.15rem 1.35rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 9px;
  box-shadow: 0 0 0 1px var(--line);
}
.nav-dl {
  text-decoration: none;
  color: var(--bg);
  background: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 7vh 1.35rem 1rem;
  text-align: center;
  animation: rise 0.85s ease both;
}
.brand-hero {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 13vw, 6rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  background: linear-gradient(115deg, #fff 10%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 3.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.5;
}
.lede {
  margin: 0 auto 1.7rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.cta { display: flex; justify-content: center; margin-bottom: 0.85rem; }
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-width: 13rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: #04110c;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #1fd4c2);
  box-shadow: 0 16px 40px rgba(46, 230, 166, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(46, 230, 166, 0.36); }
.btn-meta { font-size: 0.72rem; font-weight: 500; opacity: 0.8; }
.hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.hint.warn { color: #f0b35a; }

.visual {
  position: relative;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  margin: 1.5rem auto 3.5rem;
  display: grid;
  place-items: center;
  animation: rise 1s ease 0.12s both;
}
.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 166, 0.22);
}
.ring-1 { animation: spin-soft 28s linear infinite; border-style: dashed; }
.ring-2 { inset: 12%; border-color: rgba(25, 183, 255, 0.28); animation: spin-soft 18s linear infinite reverse; }
.ring-3 { inset: 26%; border-color: rgba(232, 241, 247, 0.12); }
.mark {
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--line);
  z-index: 1;
}

.features {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.35rem 4.5rem;
  text-align: center;
}
.features h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  letter-spacing: -0.03em;
}
.sub {
  margin: 0 auto 2rem;
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.7;
}
.rows {
  display: grid;
  gap: 0;
  text-align: right;
  border-top: 1px solid var(--line);
}
.rows article {
  padding: 1.25rem 0.2rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) {
  .rows {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: none;
  }
  .rows article {
    padding: 0 1.2rem;
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .rows article:last-child { border-right: none; }
  .hero { padding-top: 10vh; }
}
.rows h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.rows p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.2rem 1.35rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 520px) {
  .btn { width: 100%; }
  .cta { width: 100%; }
}
