:root {
  --bg: #020617;
  --bg2: #061328;
  --ink: #ffffff;
  --muted: #98a6bd;
  --line: rgba(125, 211, 252, .18);
  --cyan: #08c7f7;
  --blue: #1677ff;
  --deep-blue: #071b3f;
  --green: #20d486;
  --amber: #f5b84b;
  --card: rgba(6, 18, 40, .72);
  --shadow: 0 30px 90px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Readex Pro", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 8%, rgba(8, 199, 247, .16), transparent 28%),
    radial-gradient(circle at 80% 24%, rgba(22, 119, 255, .14), transparent 30%),
    linear-gradient(180deg, #020617 0%, #061328 54%, #020617 100%);
  line-height: 1.75;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: "Noto Kufi Arabic", "Readex Pro", system-ui, sans-serif; letter-spacing: 0; }
h1, h2, h3, p, a, span, li { overflow-wrap: break-word; }

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(8,199,247,.18), transparent 66%);
  transform: translate(-50%, -50%);
  opacity: .75;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  inset: 14px clamp(14px, 2.5vw, 28px) auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; white-space: nowrap; }
.brand-logo {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 28px rgba(8, 199, 247, .42);
}
.site-header nav { display: flex; gap: 34px; color: rgba(255,255,255,.66); font-size: 15px; }
.site-header nav a:hover { color: #fff; }
.nav-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 14px;
  color: #00111d;
  background: linear-gradient(135deg, #fff, #bdeeff);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 112px clamp(18px, 4vw, 56px) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(8,199,247,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,199,247,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}
.hero-grid {
  position: absolute;
  inset: auto -20% 0;
  height: 42vh;
  background: linear-gradient(to top, rgba(8,199,247,.18), transparent);
  transform: perspective(560px) rotateX(62deg);
  transform-origin: bottom center;
  border-top: 1px solid rgba(8,199,247,.18);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 4vw, 62px);
  top: clamp(150px, 18vh, 205px);
  width: min(720px, 48vw);
  margin: 0;
  padding-top: 0;
}
.headline-wrap { filter: drop-shadow(0 18px 55px rgba(8,199,247,.16)); }
.hero h1 {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 1.03;
  font-weight: 900;
}
.hero h1 span {
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(8, 199, 247, .55);
}
.hero p {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(17px, 1.5vw, 22px);
}

.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 25px;
  border-radius: 15px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 34px rgba(8,199,247,.32), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn.ghost {
  color: #fff;
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.18);
}
.btn.whatsapp { color: #fff; background: linear-gradient(135deg, #109c79, #22d66f); }
.btn.full { width: 100%; }

.command-stage {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 3vw, 44px);
  top: 170px;
  width: min(760px, 50vw);
  height: 560px;
  perspective: 1100px;
}
.war-table {
  position: absolute;
  inset: 130px 64px 20px;
  border: 1px solid rgba(8,199,247,.38);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(8,199,247,.18), rgba(8,199,247,.04)),
    rgba(3, 12, 27, .86);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 0 80px rgba(8,199,247,.22), var(--shadow);
  transform: rotateX(58deg) rotateZ(-1deg);
  transform-origin: center bottom;
}
.war-table::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(8,199,247,.26);
  filter: blur(3px);
}
.agent-row {
  position: absolute;
  left: 50%;
  top: -150px;
  display: flex;
  gap: 22px;
  transform: translateX(-50%) rotateX(-58deg);
  z-index: 3;
}
.agent-row article {
  width: 104px;
  height: 142px;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(8,199,247,.55);
  border-radius: 18px;
  background: rgba(5, 23, 51, .88);
  box-shadow: 0 0 28px rgba(8,199,247,.28);
  animation: float 4s ease-in-out infinite;
}
.agent-row article:nth-child(2) { animation-delay: -.8s; }
.agent-row article:nth-child(3) { animation-delay: -1.6s; }
.agent-row article:nth-child(4) { animation-delay: -2.4s; }
.agent-row img { width: 100%; height: 84px; object-fit: cover; border-radius: 12px; filter: saturate(1.1) contrast(1.05); }
.agent-row span { display: block; margin-top: 7px; text-align: center; color: #dff7ff; font-size: 12px; font-weight: 800; }

.dashboard {
  position: absolute;
  inset: 74px 54px 48px;
  display: grid;
  grid-template-columns: 1.3fr .8fr .9fr;
  gap: 14px;
  transform: rotateX(-58deg);
}
.dashboard > div {
  border: 1px solid rgba(125,211,252,.16);
  border-radius: 16px;
  background: rgba(2,6,23,.58);
}
.calendar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; align-content: center; }
.calendar span { min-height: 28px; border-radius: 8px; background: rgba(255,255,255,.08); }
.calendar .on { background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 0 18px rgba(8,199,247,.34); }
.chart { display: flex; align-items: end; gap: 8px; padding: 16px; }
.chart i { flex: 1; border-radius: 999px 999px 4px 4px; background: linear-gradient(180deg, var(--cyan), var(--blue)); animation: bar 2.4s ease-in-out infinite; }
.chart i:nth-child(1) { height: 38%; }
.chart i:nth-child(2) { height: 62%; animation-delay: -.2s; }
.chart i:nth-child(3) { height: 48%; animation-delay: -.4s; }
.chart i:nth-child(4) { height: 76%; animation-delay: -.6s; }
.chart i:nth-child(5) { height: 90%; animation-delay: -.8s; }
.feed { display: grid; gap: 10px; padding: 14px; align-content: center; }
.feed span { height: 14px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(8,199,247,.45)); }

.platform-orbit {
  position: absolute;
  top: 52px;
  left: 16%;
  display: flex;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(8,199,247,.22);
  border-radius: 999px;
  background: rgba(2,6,23,.46);
  box-shadow: 0 0 44px rgba(8,199,247,.14);
}
.platform-orbit span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
}
.message-rail { position: absolute; left: 0; top: 108px; width: 230px; display: grid; gap: 16px; }
.message-rail div, .lead-card {
  min-height: 56px;
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(125,211,252,.18);
  border-radius: 14px;
  background: rgba(7, 21, 47, .72);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.message-rail b, .lead-node { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #fff, var(--cyan)); }
.message-rail span, .lead-card span { height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); }
.message-rail em, .lead-card i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); }
.lead-rail { position: absolute; right: 0; top: 160px; width: 210px; display: grid; gap: 12px; }
.lead-rail small { color: #fff; text-align: center; font-weight: 800; }
.lead-node { margin: 0 auto; box-shadow: 0 0 28px rgba(8,199,247,.55); }
.lead-card.hot i { background: var(--amber); }

.capability-strip {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, .74);
  backdrop-filter: blur(14px);
}
.capability-strip div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 26px;
  border-left: 1px solid rgba(125,211,252,.12);
}
.capability-strip strong { color: #fff; font-size: 18px; }
.capability-strip span { color: var(--muted); font-size: 13px; }

.section { position: relative; padding: 108px clamp(18px, 5vw, 76px); }
.section-title { max-width: 960px; margin: 0 auto 48px; text-align: center; }
.section-title h2, .dream-copy h2, .contact-panel h2 {
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.15;
  font-weight: 900;
}
.section-title p, .dream-copy p, .contact-panel p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.system-section { background: linear-gradient(180deg, rgba(6,19,40,.4), rgba(2,6,23,.2)); }
.system-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, 1fr);
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
}
.wide-card, .visual-card, .agent-matrix article, .price-card, .contact-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.wide-card { padding: clamp(26px, 4vw, 44px); }
.wide-card h3 { font-size: clamp(28px, 3vw, 44px); }
.wide-card p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }
.mini-flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.mini-flow span {
  padding: 11px 15px;
  border: 1px solid rgba(8,199,247,.22);
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(8,199,247,.06);
  font-weight: 800;
}
.visual-card { overflow: hidden; min-height: 420px; }
.visual-card img { width: 100%; height: 100%; object-fit: cover; }

.agent-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1260px;
  margin: 0 auto;
}
.agent-matrix article { min-height: 230px; padding: 24px; }
.agent-matrix span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #00111d;
  background: var(--cyan);
  font-weight: 900;
}
.agent-matrix h3 { margin-top: 24px; font-size: 20px; }
.agent-matrix p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

.dream-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: center;
}
.pain-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-board > div {
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.04);
}
.pain-board h3 { margin-bottom: 22px; font-size: 24px; }
.pain-board span {
  display: block;
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #dcecff;
}
.after { box-shadow: 0 0 50px rgba(8,199,247,.16); }
.after span { border: 1px solid rgba(32,212,134,.22); }

.pricing-section { background: linear-gradient(180deg, rgba(8,199,247,.05), rgba(2,6,23,.05)); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 1060px;
  margin: 0 auto;
}
.price-card { position: relative; padding: clamp(26px, 4vw, 38px); }
.price-card.featured { border-color: rgba(8,199,247,.48); box-shadow: 0 0 80px rgba(8,199,247,.14); }
.price-card small {
  position: absolute;
  left: 24px;
  top: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #00111d;
  background: var(--cyan);
  font-weight: 900;
}
.price-card h3 { font-size: 32px; }
.price-card p { margin: 10px 0 24px; color: var(--muted); }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Noto Kufi Arabic", sans-serif;
  font-weight: 900;
}
.price-line strong { font-size: clamp(42px, 5vw, 62px); line-height: 1.12; }
.price-line span { color: var(--muted); }
.price-line.monthly strong { color: var(--cyan); text-shadow: 0 0 24px rgba(8,199,247,.26); }
.price-card ul { display: grid; gap: 10px; margin: 28px 0; padding: 0; list-style: none; }
.price-card li {
  position: relative;
  padding: 13px 40px 13px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
  color: #d8e6f7;
}
.price-card li::before { content: "✓"; position: absolute; right: 14px; color: var(--green); font-weight: 900; }
.pricing-notes {
  max-width: 1060px;
  margin: 20px auto 0;
  display: grid;
  gap: 10px;
}
.pricing-notes p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(245,184,75,.22);
  border-radius: 16px;
  color: #ffe7b3;
  background: rgba(245,184,75,.08);
}

.contact-section { padding: 108px clamp(18px, 5vw, 76px); }
.contact-panel {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 70px);
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(8,199,247,.18), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}
.contact-actions { justify-content: center; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.reveal,
body.motion-ready .reveal,
body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes bar {
  0%, 100% { transform: scaleY(.75); opacity: .75; }
  50% { transform: scaleY(1.08); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor-glow { display: none; }
  body.motion-ready .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .agent-row article, .chart i { animation: none; }
}

@media (max-width: 1120px) {
  .site-header nav { display: none; }
  .hero { display: grid; min-height: auto; padding-bottom: 0; }
  .hero-copy { position: relative; right: auto; top: auto; width: min(760px, 100%); margin: 0; padding-top: 40px; }
  .command-stage {
    position: relative;
    left: auto;
    top: auto;
    width: min(860px, 100%);
    margin: 28px auto 120px;
  }
  .capability-strip { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-grid, .dream-section { grid-template-columns: 1fr; }
  .agent-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 62px; }
  .brand span:last-child { font-size: 13px; }
  .nav-cta { display: none; }
  .hero { padding: 94px 14px 0; }
  .hero h1 { font-size: 43px; }
  .hero p { font-size: 16px; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .btn { width: 100%; }
  .command-stage { height: 430px; margin-bottom: 40px; transform: scale(.92); transform-origin: top center; }
  .message-rail, .lead-rail { display: none; }
  .war-table { inset: 126px 0 30px; }
  .platform-orbit { left: 0; right: 0; justify-content: center; gap: 8px; }
  .platform-orbit span { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .agent-row { gap: 8px; top: -120px; }
  .agent-row article { width: 72px; height: 108px; border-radius: 14px; }
  .agent-row img { height: 58px; }
  .dashboard { inset: 62px 24px 34px; grid-template-columns: 1fr; }
  .dashboard .chart, .dashboard .feed { display: none; }
  .capability-strip { grid-template-columns: 1fr; }
  .capability-strip div { min-height: 84px; }
  .section, .contact-section { padding: 76px 16px; }
  .section-title h2, .dream-copy h2, .contact-panel h2 { font-size: 34px; }
  .agent-matrix, .pricing-grid, .pain-board { grid-template-columns: 1fr; }
  .visual-card { min-height: 300px; }
  .price-card small { position: static; display: inline-flex; margin-bottom: 14px; }
  .site-footer { flex-direction: column; text-align: center; }
}
