/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --bg: #05070d;
  --bg-alt: #0a0e18;
  --surface: #0f1420;
  --surface-2: #131a29;
  --border: rgba(255,255,255,0.08);
  --text: #eef1f8;
  --text-dim: #9aa4bd;
  --text-faint: #616b85;
  --cyan: #00e5ff;
  --violet: #7c5cff;
  --green: #22e6a5;
  --amber: #ffb454;
  --gradient: linear-gradient(120deg, var(--cyan), var(--violet));
  --shadow-glow: 0 0 40px rgba(124,92,255,0.25);
  --radius: 16px;
  --font-head: 'Cairo', sans-serif;
  --font-body: 'Cairo', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.4; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 75%);
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}
.bg-glow--one { top: -200px; inset-inline-start: -160px; background: var(--violet); }
.bg-glow--two { top: 400px; inset-inline-end: -220px; background: var(--cyan); opacity: 0.18; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gradient);
  color: #05070d;
  box-shadow: 0 8px 24px rgba(124,92,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124,92,255,0.5); }
.btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn--outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn--ghost { color: var(--text-dim); padding: 10px 16px; }
.btn--ghost:hover { color: var(--text); }
.btn--sm { padding: 10px 18px; font-size: 0.88rem; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,7,13,0.85);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { display: flex; }
.logo__text { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 100px; z-index: 1; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.pill__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}
.hero__subtitle {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__trust { display: flex; gap: 40px; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust strong { font-family: var(--font-head); font-size: 1.5rem; }
.hero__trust span { color: var(--text-faint); font-size: 0.85rem; }

.hero__visual { position: relative; height: 460px; }
#netCanvas {
  width: 100%; height: 100%;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(124,92,255,0.08), rgba(0,229,255,0.05));
  border: 1px solid var(--border);
}

.orbit-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15,20,32,0.85);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  color: var(--text-dim);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  animation: float 5s ease-in-out infinite;
}
.orbit-card strong { color: var(--text); margin-inline-start: 4px; }
.orbit-card--1 { top: 8%; inset-inline-start: -6%; animation-delay: 0s; }
.orbit-card--2 { bottom: 20%; inset-inline-end: -8%; animation-delay: 1.2s; }
.orbit-card--3 { bottom: -4%; inset-inline-start: 12%; animation-delay: 2.4s; }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.dot--violet { background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.dot--slate { background: var(--text-faint); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; padding: 110px 0; }
.section__head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 12px 0 14px; }
.section__head p { color: var(--text-dim); font-size: 1.02rem; }

.eyebrow {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,92,255,0.4);
  box-shadow: var(--shadow-glow);
}
.card__icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  margin-bottom: 20px;
}
.icon--cyan { background: rgba(0,229,255,0.1); color: var(--cyan); }
.icon--violet { background: rgba(124,92,255,0.12); color: var(--violet); }
.icon--green { background: rgba(34,230,165,0.1); color: var(--green); }
.icon--amber { background: rgba(255,180,84,0.12); color: var(--amber); }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.94rem; margin-bottom: 16px; }
.card__list li {
  color: var(--text-faint);
  font-size: 0.86rem;
  padding-inline-start: 18px;
  position: relative;
  margin-bottom: 8px;
}
.card__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient);
}

/* ---------- ISP Suite ---------- */
.section--suite {
  background: radial-gradient(ellipse at 20% 30%, rgba(124,92,255,0.08), transparent 60%);
}
.suite__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.suite__text p { color: var(--text-dim); margin: 14px 0 30px; font-size: 1.02rem; max-width: 480px; }
.suite__points { display: grid; gap: 18px; margin-bottom: 32px; }
.suite__point { display: flex; gap: 14px; align-items: flex-start; }
.suite__point-icon {
  width: 26px; height: 26px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(34,230,165,0.12);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.suite__point strong { display: block; font-size: 0.98rem; margin-bottom: 2px; }
.suite__point span { color: var(--text-faint); font-size: 0.88rem; }

.panel {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.panel__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel__title { font-weight: 600; font-size: 0.95rem; }
.panel__badge {
  background: rgba(34,230,165,0.15);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}
.panel__board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.panel__col-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-faint); font-weight: 600;
  margin-bottom: 12px;
}
.panel__col-head em { margin-inline-start: auto; font-style: normal; color: var(--text-dim); }

.task {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  font-size: 0.8rem;
}
.task p { margin-bottom: 8px; color: var(--text); }
.task__meta { display: flex; align-items: center; gap: 8px; }
.task--active { border-color: rgba(0,229,255,0.35); }
.task--done { opacity: 0.6; }

.tech {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700;
  color: #05070d;
}
.tech--a { background: var(--cyan); }
.tech--b { background: var(--amber); }
.tech--c { background: var(--violet); color: #fff; }

.tag {
  font-size: 0.68rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  color: var(--text-faint);
}
.tag--done { background: rgba(34,230,165,0.12); color: var(--green); }

.progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin-top: 10px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; background: var(--gradient); border-radius: 4px; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.step__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-faint);
  display: block;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; font-size: 1.05rem; }
.step p { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 1;
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__suffix {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--cyan);
}
.stat p { color: var(--text-dim); margin-top: 6px; font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.slider { max-width: 780px; margin: 0 auto; overflow: hidden; }
.slider__track { display: flex; transition: transform 0.5s ease; }
.testimonial {
  min-width: 100%;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.testimonial p { font-size: 1.1rem; color: var(--text); margin-bottom: 22px; font-style: italic; }
.testimonial footer strong { display: block; font-size: 0.95rem; }
.testimonial footer span { color: var(--text-faint); font-size: 0.85rem; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.slider__controls button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.slider__controls button:hover { border-color: var(--cyan); color: var(--cyan); }
.slider__dots { display: flex; gap: 8px; }
.slider__dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s ease;
}
.slider__dots span.active { background: var(--cyan); }

/* ---------- CTA ---------- */
.cta {
  position: relative; z-index: 1;
  margin: 0 24px;
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(0,229,255,0.12), rgba(124,92,255,0.18));
  border: 1px solid var(--border);
  overflow: hidden;
}
.cta__inner { text-align: center; padding: 80px 24px; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.cta p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact__inner h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 12px 0 14px; }
.contact__inner p { color: var(--text-dim); margin-bottom: 30px; }
.contact__info { display: grid; gap: 18px; }
.contact__info div { display: flex; flex-direction: column; gap: 2px; }
.contact__info strong { font-size: 0.85rem; color: var(--text-faint); }
.contact__info span { font-size: 1rem; }

.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.form input::placeholder, .form textarea::placeholder { color: var(--text-faint); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); }
.form select { color: var(--text-dim); }
.form__note { font-size: 0.85rem; color: var(--green); min-height: 18px; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 1;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer__brand p { color: var(--text-faint); font-size: 0.88rem; margin-top: 12px; max-width: 260px; }
.footer__col h4 { font-size: 0.85rem; color: var(--text-faint); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--text-dim); font-size: 0.92rem; margin-bottom: 10px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--cyan); }

.footer__subscribe { display: flex; gap: 8px; }
.footer__subscribe input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
}
.footer__subscribe button {
  width: 42px;
  border-radius: 10px;
  border: none;
  background: var(--gradient);
  color: #05070d;
  font-weight: 700;
  cursor: pointer;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer__social a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { height: 340px; order: -1; }
  .suite__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(5,7,13,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a.btn { width: 100%; }
  .nav__toggle { display: flex; }

  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__trust { flex-wrap: wrap; gap: 24px; }
  .hero { padding: 130px 0 70px; }
  .panel__board { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .orbit-card { position: static; margin-top: 12px; animation: none; }
  .hero__visual { display: flex; flex-direction: column; height: auto; }
  #netCanvas { height: 240px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .hero { padding: 110px 0 50px; }
  .hero__subtitle { font-size: 1rem; }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__trust { gap: 18px; }
  .hero__trust strong { font-size: 1.25rem; }
  .section { padding: 70px 0; }
  .section__head { margin-bottom: 40px; }
  .card { padding: 24px 20px; }
  .suite__points { gap: 14px; }
  .panel { padding: 16px; }
  .step { padding: 22px 18px; }
  .testimonial { padding: 28px 22px; }
  .testimonial p { font-size: 1rem; }
  .cta { margin: 0 16px; border-radius: 20px; }
  .cta__inner { padding: 50px 20px; }
  .form input, .form select, .form textarea { padding: 12px 14px; }
  .footer { padding: 60px 0 24px; margin-top: 40px; }
  .footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}
