:root {
  --bg: #06080f;
  --bg-alt: #0a0d18;
  --surface: #10131f;
  --surface-2: #141827;
  --border: rgba(255,255,255,0.08);
  --text: #eef0f7;
  --text-dim: #9aa1b8;
  --text-dimmer: #6b7290;
  --primary: #7c5cff;
  --primary-2: #22d3ee;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0,0,0,0.35);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { color: var(--text-dim); margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

/* Background decor */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  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: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.35; pointer-events: none;
}
.bg-glow--1 { width: 600px; height: 600px; top: -200px; left: -150px; background: #7c5cff; }
.bg-glow--2 { width: 500px; height: 500px; top: 300px; right: -150px; background: #22d3ee; opacity: 0.2; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--primary-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-2);
  box-shadow: 0 0 12px var(--primary-2);
}

.text-gradient {
  background: linear-gradient(90deg, #a78bfa, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #06080f;
  box-shadow: 0 8px 24px rgba(124,92,255,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124,92,255,0.45); }
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 14px 26px; font-size: 15.5px; }
.btn--full { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6,8,15,0.7);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav__panel { display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { display: flex; }
.brand__text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 19px; }
.brand__accent { color: var(--primary-2); }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-dim); transition: color .15s; }
.nav__links a:hover { color: var(--text); }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { padding: 90px 0 60px; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 4.6vw, 56px);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 17.5px;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__actions .btn svg { transition: transform .15s; }
.hero__actions .btn:hover svg { transform: translateX(2px); }

.hero__proof { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__proof-item { display: flex; flex-direction: column; }
.hero__proof-item strong { font-family: 'Space Grotesk', sans-serif; font-size: 22px; }
.hero__proof-item span { font-size: 13px; color: var(--text-dimmer); }

.hero__visual { display: flex; justify-content: center; }
.flow-card {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 440px;
}
.flow-svg { width: 100%; height: auto; display: block; }
.flow-path { animation: dash 18s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.node circle { transition: filter .2s; }
.node--core circle { filter: drop-shadow(0 0 14px rgba(124,92,255,0.55)); }
.flow-card__label {
  text-align: center; font-size: 12.5px; color: var(--text-dimmer);
  margin-top: 6px; letter-spacing: .02em;
}

/* Tools strip */
.tools { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tools__label { text-align: center; font-size: 13px; color: var(--text-dimmer); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em; }
.tools__row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 36px;
}
.tools__row span { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--text-dimmer); font-size: 15px; }

/* Section generic */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section__head p { font-size: 16px; }

.grid { display: grid; gap: 22px; }
.grid--services { grid-template-columns: repeat(2, 1fr); }
.grid--why { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,0.4); box-shadow: var(--shadow); }
.card__icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(34,211,238,0.12));
  border-radius: 12px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card__list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card__list li { font-size: 13.5px; color: var(--text-dimmer); padding-left: 18px; position: relative; }
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-2);
}

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--primary-2);
  border: 1px solid rgba(34,211,238,0.35);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* Why grid */
.grid--why { }
.why-item {
  padding: 8px 4px;
}
.why-item__icon { font-size: 24px; margin-bottom: 12px; }
.why-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.why-item p { font-size: 14px; margin-bottom: 0; }

/* CTA band */
.cta-band {
  padding: 60px 0;
  background: linear-gradient(120deg, rgba(124,92,255,0.14), rgba(34,211,238,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 26px; margin-bottom: 6px; }
.cta-band p { margin-bottom: 0; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-size: 20px; color: var(--primary-2); font-weight: 400; margin-left: 12px;
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { margin-top: 12px; margin-bottom: 0; font-size: 14.5px; }

/* Contact */
.contact {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px;
  align-items: start;
}
.contact__info h2 { font-size: 30px; }
.contact__detail {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; margin-top: 14px; color: var(--text-dim);
}
.contact__detail a:hover { color: var(--primary-2); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-dimmer); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-note { font-size: 13.5px; margin: 12px 0 0; min-height: 18px; color: var(--primary-2); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 34px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 14px; color: var(--text-dim); }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 13px; color: var(--text-dimmer); margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto 20px; }
  .grid--services { grid-template-columns: 1fr; }
  .grid--why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__panel { display: none; }
  .nav__burger { display: flex; }
  .nav.nav--open .nav__panel {
    display: flex; flex-direction: column; align-items: stretch; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-alt);
    padding: 20px 24px 24px; border-bottom: 1px solid var(--border);
  }
  .nav.nav--open .nav__links { flex-direction: column; gap: 16px; }
  .nav.nav--open .nav__cta .btn { width: 100%; }
  .grid--why { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .hero__proof { gap: 24px; }
}
