/* ===== Tokens ===== */
:root {
  --primary: #6366F1;
  --primary-light: #818CF8;
  --accent: #22D3EE;
  --bg: #0B0F19;
  --bg2: #111726;
  --bg3: #171F33;
  --surface: #131a2b;
  --border: #232c44;
  --text: #E5E9F5;
  --muted: #93A0BF;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 18px;
  --shadow: 0 20px 44px -18px rgba(0,0,0,.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  position: relative;
}
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.2; color: #fff; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .6em;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(99,102,241,.16), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(34,211,238,.12), transparent 40%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .95em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: .95rem;
}
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #0B0F19; box-shadow: 0 14px 30px -12px rgba(99,102,241,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(99,102,241,.7); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary-light); color: var(--primary-light); transform: translateY(-2px); }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 25, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 1em 0; }
.logo { display: flex; align-items: center; gap: .6em; }
.logo__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0B0F19;
}
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; }
.logo__text em { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.7em; }
.nav a { font-weight: 600; color: var(--muted); transition: color .15s ease; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav__cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0B0F19 !important;
  padding: .55em 1.3em;
  border-radius: 999px;
  font-weight: 700 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 24px; height: 3px; background: #fff; border-radius: 3px; }

/* ===== Hero ===== */
.hero { padding: 6em 0 4em; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3em; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: 1.1rem; max-width: 46ch; }
.hero__actions { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1.6em; }
.hero__badges { display: flex; gap: .8em; flex-wrap: wrap; margin-top: 2em; }
.hero__badges span {
  font-size: .82rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: .5em 1em;
  border-radius: 999px;
}

.hero__visual { display: flex; justify-content: center; }
.orbit { position: relative; width: 320px; height: 320px; }
.orbit__core {
  position: absolute; inset: 0; margin: auto;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: #0B0F19;
  box-shadow: 0 0 60px -8px rgba(99,102,241,.7);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.orbit__node {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.n1 { top: 0; left: 30%; animation-delay: 0s; }
.n2 { top: 15%; right: 0; animation-delay: .6s; }
.n3 { bottom: 10%; right: 8%; animation-delay: 1.2s; }
.n4 { bottom: 0; left: 25%; animation-delay: 1.8s; }
.n5 { top: 40%; left: -6%; animation-delay: 2.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Sections generic ===== */
section { padding: 5em 0; }
.services h2, .why h2, .process h2, .faq h2 { max-width: 50ch; margin-inline: auto; }
.why { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== Services ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4em; margin-top: 2.8em; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9em 1.6em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary-light); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.14));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: .8em;
}
.card h3 { font-size: 1.1rem; color: #fff; }
.card p { font-size: .93rem; margin: 0; }

/* ===== Why ===== */
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2em; margin-top: 2.8em; }
.why__num { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--accent); }
.why__item h3 { margin-top: .3em; color: #fff; }
.why__item p { font-size: .95rem; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6em; margin-top: 2.8em; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em 1.6em;
  position: relative;
}
.step__num {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #0B0F19;
  font-family: var(--font-head); font-weight: 700;
  margin-bottom: 1em;
}
.step h3 { color: #fff; font-size: 1.05rem; }
.step p { font-size: .93rem; margin: 0; }

/* ===== FAQ ===== */
.accordion { max-width: 720px; margin: 2.8em auto 0; display: grid; gap: .8em; }
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1em 1.3em;
}
.accordion__item summary { cursor: pointer; font-weight: 700; color: #fff; }
.accordion__item p { margin: .8em 0 0; font-size: .93rem; }

/* ===== Contact ===== */
.contact {
  background: linear-gradient(135deg, rgba(99,102,241,.14), rgba(34,211,238,.08));
  border-top: 1px solid var(--border);
}
.contact h2 { color: #fff; }
.contact__lead { max-width: 40ch; margin-inline: auto; }
.contact__actions { display: flex; justify-content: center; gap: 1em; flex-wrap: wrap; margin-top: 1.6em; }

/* ===== Footer ===== */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3.5em 0 1.6em; }
.footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2em; }
.footer__brand p { color: var(--muted); margin-top: .6em; font-size: .9rem; }
.footer__contact p { color: var(--muted); margin-bottom: .5em; font-size: .9rem; }
.footer__services { display: flex; flex-direction: column; gap: .5em; }
.footer__services a { color: var(--muted); font-size: .9rem; transition: color .15s ease; }
.footer__services a:hover { color: var(--accent); }
.footer__copy { text-align: center; margin: 2.8em 0 0; font-size: .8rem; color: var(--muted); opacity: .7; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .orbit { width: 260px; height: 260px; margin-inline: auto; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0;
    background: var(--bg2);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5em 6%;
    gap: 1em;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .menu-toggle { display: flex; }
  .nav__cta { align-self: flex-start; }
}
