:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #0b1112;
  --panel: rgba(14, 21, 23, 0.78);
  --panel-strong: rgba(17, 29, 31, 0.94);
  --line: rgba(159, 245, 230, 0.16);
  --line-strong: rgba(120, 248, 227, 0.36);
  --text: #f3f7f6;
  --muted: #a7b5b2;
  --faint: #687875;
  --cyan: #64f4df;
  --green: #8cffb8;
  --amber: #f5c56b;
  --max: 1160px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  background:
    radial-gradient(circle at 72% 8%, rgba(100, 244, 223, 0.14), transparent 28rem),
    radial-gradient(circle at 12% 20%, rgba(140, 255, 184, 0.08), transparent 24rem),
    linear-gradient(180deg, #050607 0%, #07100f 48%, #050607 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(5, 8, 9, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.site-header.scrolled {
  background: rgba(5, 8, 9, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(100, 244, 223, 0.22), rgba(140, 255, 184, 0.08));
  color: var(--cyan);
}

.site-nav {
  display: flex;
  gap: 6px;
}

.site-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(100, 244, 223, 0.12);
  color: var(--text);
}

.menu-toggle {
  display: none;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
  scroll-margin-top: 110px;
}

.scroll-visual {
  position: relative;
  min-height: 360px;
  margin: 24px 0 8px;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.scroll-visual::before,
.scroll-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.scroll-visual::before {
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.84), rgba(5, 6, 7, 0.22) 45%, rgba(5, 6, 7, 0.88)),
    linear-gradient(90deg, rgba(5, 6, 7, 0.94), transparent 35%, transparent 65%, rgba(5, 6, 7, 0.94));
}

.scroll-visual::after {
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(100, 244, 223, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 244, 223, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(880px) rotateX(60deg) scale(1.4);
  transform-origin: bottom center;
}

.visual-network {
  background-image:
    linear-gradient(118deg, rgba(100, 244, 223, 0.22), transparent 28%),
    linear-gradient(242deg, rgba(140, 255, 184, 0.18), transparent 32%),
    repeating-linear-gradient(126deg, transparent 0 54px, rgba(100, 244, 223, 0.18) 55px, transparent 56px),
    linear-gradient(135deg, #071112, #030506 68%);
}

.visual-expansion {
  background-image:
    linear-gradient(105deg, rgba(245, 197, 107, 0.14), transparent 24%),
    linear-gradient(252deg, rgba(100, 244, 223, 0.22), transparent 36%),
    repeating-linear-gradient(32deg, transparent 0 42px, rgba(140, 255, 184, 0.14) 43px, transparent 44px),
    linear-gradient(135deg, #050607, #0a1514 62%, #050607);
}

.visual-panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.visual-panel span {
  position: absolute;
  display: block;
  border: 1px solid rgba(100, 244, 223, 0.26);
  border-radius: 50%;
}

.visual-panel span::before {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  content: "";
}

.visual-network .visual-panel span:nth-child(1) {
  top: 18%;
  left: 8%;
  width: 310px;
  height: 132px;
  transform: rotate(18deg);
}

.visual-network .visual-panel span:nth-child(2) {
  top: 30%;
  right: 12%;
  width: 440px;
  height: 180px;
  border-color: rgba(140, 255, 184, 0.2);
  transform: rotate(-16deg);
}

.visual-network .visual-panel span:nth-child(3) {
  right: 34%;
  bottom: 13%;
  width: 260px;
  height: 92px;
  border-color: rgba(245, 197, 107, 0.18);
  transform: rotate(28deg);
}

.visual-expansion .visual-panel span:nth-child(1) {
  top: 14%;
  right: 4%;
  width: 380px;
  height: 138px;
  transform: rotate(-20deg);
}

.visual-expansion .visual-panel span:nth-child(2) {
  bottom: 18%;
  left: 10%;
  width: 520px;
  height: 210px;
  border-color: rgba(140, 255, 184, 0.18);
  transform: rotate(15deg);
}

.visual-expansion .visual-panel span:nth-child(3) {
  top: 34%;
  left: 38%;
  width: 240px;
  height: 86px;
  border-color: rgba(245, 197, 107, 0.2);
  transform: rotate(-8deg);
}

.hero {
  display: grid;
  min-height: 100vh;
  align-items: center;
  gap: 56px;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  padding-top: 132px;
}

.hero-copy,
.section-heading,
.contact-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.2;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #04100d;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-metrics {
  display: grid;
  max-width: 650px;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 22px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(100, 244, 223, 0.1), transparent 36%),
    linear-gradient(315deg, rgba(140, 255, 184, 0.09), transparent 34%),
    rgba(8, 13, 15, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 30px 90px rgba(0, 0, 0, 0.36);
}

.visual-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 244, 223, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 244, 223, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(720px) rotateX(58deg) translateY(120px) scale(1.35);
  transform-origin: bottom center;
}

.orbit-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbit-line {
  fill: none;
  stroke-width: 1.35;
}

.cyan-line {
  stroke: rgba(100, 244, 223, 0.26);
}

.green-line {
  stroke: rgba(140, 255, 184, 0.2);
}

.amber-line {
  stroke: rgba(245, 197, 107, 0.18);
}

.orbit-line.soft {
  opacity: 0.72;
}

.moving-node {
  stroke: rgba(5, 10, 11, 0.72);
  stroke-width: 2;
}

.moving-node.cyan {
  fill: var(--cyan);
}

.moving-node.green {
  fill: var(--green);
}

.moving-node.amber {
  fill: var(--amber);
}

.data-card {
  position: absolute;
  z-index: 4;
  width: min(260px, 58%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(5, 10, 11, 0.75);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.data-card span,
.data-card strong {
  display: block;
}

.data-card span {
  margin-bottom: 8px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.data-card strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.card-a {
  top: 16%;
  left: 8%;
}

.card-b {
  top: 46%;
  right: 8%;
}

.card-c {
  bottom: 9%;
  left: 13%;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 42px;
}

.about-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.about-layout p,
.why-grid div,
.service-grid article {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--panel);
}

.about-layout p {
  margin: 0;
  padding: 24px;
}

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

.service-grid article {
  min-height: 230px;
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-grid article:hover {
  border-color: var(--line-strong);
  background: var(--panel-strong);
  transform: translateY(-4px);
}

.service-grid span {
  display: block;
  margin-bottom: 40px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.service-grid p,
.why-grid p {
  margin-bottom: 0;
  font-size: 15px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.platform-list span {
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 700;
}

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

.why-grid div {
  padding: 24px;
}

.contact {
  display: grid;
  align-items: start;
  gap: 46px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-copy p {
  max-width: 560px;
}

address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
}

address span:first-child,
address a {
  color: var(--text);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  outline: none;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--line-strong);
}

.full {
  grid-column: 1 / -1;
}

.captcha {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.captcha input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--cyan);
}

.form-website {
  position: absolute;
  left: -9999px;
}

.thank-you-page {
  min-height: 100vh;
  padding: 132px 20px 64px;
}

.thank-you-card {
  display: grid;
  width: min(720px, 100%);
  gap: 20px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(100, 244, 223, 0.1), transparent 34%),
    rgba(8, 13, 15, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.thank-you-card h1 {
  margin-bottom: 4px;
  font-size: clamp(42px, 8vw, 72px);
}

.thank-you-card p {
  max-width: 560px;
}

.thank-you-card .button {
  width: fit-content;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding: 36px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-meta {
  align-items: center;
}

.developer-credit {
  color: rgba(167, 181, 178, 0.42);
  font-size: 12px;
  font-weight: 600;
}

.developer-credit:hover {
  color: rgba(100, 244, 223, 0.78);
}

.site-footer button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.site-footer button:hover {
  color: var(--text);
}

.legal-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 48px));
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: #081011;
  color: var(--text);
}

.legal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.legal-dialog h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.legal-dialog h3 {
  margin-top: 26px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 18;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(5, 10, 11, 0.78);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
  color: var(--cyan);
  cursor: pointer;
  font-size: 24px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  backdrop-filter: blur(14px);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(100, 244, 223, 0.13);
}

@media (max-width: 960px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 124px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .about-layout,
  .service-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scroll-visual {
    min-height: 300px;
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 24px), var(--max));
    border-radius: 24px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(5, 8, 9, 0.96);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 78px 0;
  }

  .scroll-visual {
    min-height: 240px;
    margin: 8px 0 0;
  }

  .scroll-visual::after {
    background-size: 54px 54px;
  }

  .visual-panel span {
    opacity: 0.72;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(39px, 12vw, 48px);
    line-height: 1;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .about-layout,
  .service-grid,
  .why-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }

  .data-card {
    width: 68%;
  }

  .card-a {
    top: 11%;
  }

  .card-b {
    top: 43%;
  }

  .service-grid article {
    min-height: 190px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}
