/* ==========================================================================
   AI Wizard — shared stylesheet for the service pages.
   The homepage (index.html) renders itself with JavaScript; these pages are
   plain static HTML so they load instantly and crawl cleanly.
   ========================================================================== */

:root {
  --bg: #030303;
  --panel: #0E1117;
  --panel-2: #0A0D13;
  --text: #E7EAF0;
  --muted: #9CA3AF;
  --dim: #6B7280;
  --line: rgba(255, 255, 255, .08);
  --blue: #4D7CFE;
  --cyan: #22D3EE;
  --sky: #7DD3FC;
  --violet: #A78BFA;
  --orange: #F36F21;
  --head: 'Space Grotesk', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--sky); text-decoration: none; }
a:hover { color: #BAE6FD; }

::selection { background: rgba(77, 124, 254, .35); color: #fff; }

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 20px;
  border-radius: 100px;
  background: rgba(14, 17, 23, .72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  white-space: nowrap;
  max-width: calc(100vw - 24px);
}
.nav img { height: 32px; width: auto; display: block; flex-shrink: 0; }
.nav-links { display: flex; gap: 20px; font-size: 13.5px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav-cta {
  color: #030303 !important;
  background: #fff;
  padding: 9px 17px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.nav-cta:hover { background: #BAE6FD; }

/* ---------- Layout blocks ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--violet);
  margin-bottom: 16px;
  text-transform: uppercase;
}
h1 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0 0 22px;
}
h2 {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 0 18px;
}
h3 {
  font-family: var(--head);
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  margin: 0 0 10px;
}
p { margin: 0 0 18px; color: #B6BDC9; }
.lead { font-size: 18px; line-height: 1.7; color: #C4CBD6; max-width: 720px; }
.muted { color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 84px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(77, 124, 254, .16), transparent 65%),
    radial-gradient(700px 380px at 12% 82%, rgba(167, 139, 250, .10), transparent 62%);
}
.hero p { max-width: 680px; }

.breadcrumb { font-size: 13px; color: var(--dim); margin-bottom: 26px; }
.breadcrumb a { color: var(--dim); }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.btn {
  display: inline-block;
  background: #fff;
  color: #030303 !important;
  padding: 15px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #D7E6FA; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  border-radius: 0;
  padding: 6px 2px;
  font-weight: 700;
}
.btn-ghost:hover { background: transparent; color: var(--sky) !important; border-bottom-color: var(--sky); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 30px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(77, 124, 254, .4);
  box-shadow: 0 22px 60px rgba(77, 124, 254, .10);
}
.card p { font-size: 14.5px; margin: 0; color: var(--muted); }
.card .num {
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

a.card { display: block; color: inherit; }
a.card h3 { color: #fff; }
a.card:hover h3 { color: var(--sky); }

/* ---------- Step list ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-2);
  padding: 24px 26px;
}
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #030303;
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- Checklist ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  color: #C4CBD6;
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-family: var(--head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--sky);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 14px 0 0; font-size: 15px; color: var(--muted); max-width: 760px; }

/* ---------- Vision / mission pillars ---------- */
.pillar {
  border: 1px solid rgba(77, 124, 254, .28);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(77, 124, 254, .12), rgba(14, 17, 23, .92) 62%);
  padding: 40px 36px;
}
.pillar .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--sky);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.pillar .statement {
  font-family: var(--head);
  font-size: clamp(19px, 2.1vw, 23px);
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 18px;
}
.pillar p:last-child { margin-bottom: 0; }

/* ---------- Facts table ---------- */
.facts {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-2);
  padding: 8px 26px;
}
.facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.facts div:last-child { border-bottom: none; }
.facts dt { color: var(--dim); font-weight: 600; margin: 0; }
.facts dd { color: var(--text); font-weight: 600; margin: 0; text-align: right; }

/* ---------- CTA ---------- */
.cta {
  border: 1px solid rgba(77, 124, 254, .3);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(77, 124, 254, .14), rgba(14, 17, 23, .9) 62%);
  padding: 56px 44px;
  text-align: center;
}
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 8px; }

/* ---------- Related ---------- */
.related a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--panel-2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: border-color .25s, transform .25s;
}
.related a:hover { border-color: rgba(34, 211, 238, .45); transform: translateY(-3px); color: #fff; }
.related a small { display: block; font-weight: 500; font-size: 13px; color: var(--dim); margin-top: 4px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #060810;
  padding: 66px 0 34px;
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #4B5563;
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer a { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 11px; }
.footer a:hover { color: #fff; }
.footer p { font-size: 13.5px; color: var(--dim); max-width: 300px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #4B5563;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 20px; }
  .section { padding: 66px 0; }
  .hero { padding: 132px 0 62px; }
  .nav { gap: 12px; padding: 8px 12px; }
  .nav-links { gap: 12px; font-size: 12px; }
  .nav-links a:nth-child(n+3) { display: none; }
  .cta { padding: 40px 22px; }
  .card { padding: 26px 22px; }
  .step { padding: 20px; gap: 14px; }
  .faq summary { font-size: 16px; }
}
@media (max-width: 400px) {
  .nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
