:root {
  --bg: #0b0e17;
  --panel: #121725;
  --panel-soft: #171c2b;
  --text: #f5f7ff;
  --muted: #a8afc3;
  --line: rgba(255, 255, 255, 0.11);
  --violet: #8b7cff;
  --cyan: #54e6d1;
  --lime: #c8ff66;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }

.glow {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  pointer-events: none;
}

.glow-one { top: -220px; left: -170px; background: var(--violet); }
.glow-two { top: 260px; right: -260px; background: var(--cyan); }

.header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--bg);
  background: var(--lime);
  border-radius: 10px;
  font-size: 0.82rem;
  letter-spacing: -0.06em;
}

.header-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.header-link:hover { color: var(--text); }

.hero {
  min-height: 690px;
  padding: 88px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 8vw, 110px);
}

.label {
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.label span {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 15px currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 7vw, 7rem);
  font-weight: 640;
  letter-spacing: -0.072em;
  line-height: 0.94;
}

h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--violet), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.lead {
  max-width: 660px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  min-width: 170px;
  padding: 14px 22px;
  display: inline-flex;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.button-ghost:hover { border-color: rgba(255,255,255,.35); }

.visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(139,124,255,.12), transparent 63%);
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one { width: 300px; height: 300px; }
.orbit-two { width: 430px; height: 430px; border-style: dashed; animation: spin 45s linear infinite; }

.core {
  z-index: 2;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(139,124,255,.35), rgba(84,230,209,.12));
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 38px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  backdrop-filter: blur(14px);
}

.core-icon { color: var(--lime); font-size: 1.4rem; }
.core strong { font-size: 2.5rem; line-height: 1; letter-spacing: -.08em; }
.core small { margin-top: 7px; color: var(--muted); letter-spacing: .08em; }

.node {
  position: absolute;
  z-index: 3;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  color: var(--muted);
  background: rgba(18,23,37,.86);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
  font-size: .85rem;
  backdrop-filter: blur(10px);
}

.node span { color: var(--cyan); font-weight: 800; }
.node-site { top: 58px; right: 34px; }
.node-data { bottom: 68px; right: 6px; }
.node-flow { bottom: 96px; left: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }

.services {
  padding: 105px 0;
  border-top: 1px solid var(--line);
}

.section-intro { max-width: 680px; }

h2 {
  margin-bottom: 50px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.25); }
.service-card.featured { background: linear-gradient(150deg, rgba(139,124,255,.24), var(--panel) 60%); }
.service-top { display: flex; justify-content: space-between; color: var(--muted); font-size: .8rem; }
.arrow { font-size: 1.1rem; }
.service-card h3 { margin: auto 0 14px; font-size: 1.55rem; letter-spacing: -.035em; }
.service-card p { margin-bottom: 0; color: var(--muted); }

.principles {
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.principles p { margin: 0; }
.principles span { color: var(--lime); }

.contact {
  margin: 88px 0;
  padding: clamp(34px, 7vw, 78px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  color: var(--bg);
  background: var(--lime);
  border-radius: 28px;
}

.contact .label { color: #41561f; }
.contact h2 { margin-bottom: 0; }

.contact-button {
  min-width: 190px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text);
  background: var(--bg);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
}

.contact-button strong { font-size: 1.2rem; }

footer {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .82rem;
}

footer p { margin: 0; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .visual { min-height: 400px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .contact { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  .header, main, footer { width: min(100% - 28px, 1180px); }
  .header { min-height: 74px; }
  .hero { padding: 64px 0 70px; }
  h1 { font-size: 3.45rem; }
  .visual { min-height: 340px; transform: scale(.84); margin-inline: -30px; }
  .principles { flex-wrap: wrap; justify-content: flex-start; }
  .principles span { display: none; }
  .contact { margin-block: 55px; }
  footer { padding: 30px 0; grid-template-columns: 1fr; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-two { animation: none; }
  * { transition: none !important; }
}
