:root {
  --bg: #05070d;
  --bg-soft: #0b1020;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #a9b7c7;
  --line: rgba(255, 255, 255, 0.16);
  --cyan: #51e6ff;
  --green: #68f2b1;
  --blue: #6b8cff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 8%, rgba(81, 230, 255, 0.12), transparent 30%),
    radial-gradient(circle at 82% 38%, rgba(104, 242, 177, 0.08), transparent 32%),
    linear-gradient(180deg, #05070d 0%, #070b14 100%);
}

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

.site-header {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(5, 7, 13, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.nav,
.hero-actions,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #031018;
  font-weight: 900;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  border-radius: 999px;
  font-weight: 760;
}

.nav-cta {
  padding: 9px 16px;
  background: #ffffff;
  color: #06101a;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 128px 24px 58px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  opacity: 0.72;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.96) 0%, rgba(5, 7, 13, 0.78) 42%, rgba(5, 7, 13, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, rgba(5, 7, 13, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.hero-copy-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.06;
  font-weight: 840;
}

.hero-copy {
  max-width: 640px;
  color: #d5e0ec;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.58;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
}

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

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

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-proof span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  color: #dbe7f2;
  font-size: 14px;
  backdrop-filter: blur(16px);
}

.hero-console {
  position: relative;
  min-height: 440px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(4, 10, 18, 0.72);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-console::after {
  content: "";
  position: absolute;
  inset: auto -20% -28% 10%;
  height: 210px;
  background: linear-gradient(90deg, rgba(81, 230, 255, 0.18), rgba(104, 242, 177, 0.16));
  filter: blur(46px);
  transform: rotate(-8deg);
}

.console-top,
.console-status,
.console-grid {
  position: relative;
  z-index: 1;
}

.console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.console-top span:first-child {
  background: var(--green);
}

.console-top strong {
  margin-left: auto;
  color: var(--text);
  font-size: 13px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 6px;
  margin: 24px 0 18px;
}

.flow-node {
  min-height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #e8f6ff;
  font-weight: 820;
  font-size: 13px;
}

.flow-node.active {
  border-color: rgba(81, 230, 255, 0.75);
  box-shadow: 0 0 28px rgba(81, 230, 255, 0.22);
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: lineFlow 2.8s ease-in-out infinite;
}

.signal-map {
  position: relative;
  z-index: 1;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 28px 28px;
  overflow: hidden;
}

.signal-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
}

.signal-map path {
  stroke: rgba(81, 230, 255, 0.68);
  stroke-width: 2;
  stroke-dasharray: 10 12;
  animation: dashMove 7s linear infinite;
}

.signal-map path:nth-child(2) {
  stroke: rgba(104, 242, 177, 0.62);
  animation-duration: 8.5s;
}

.signal-map path:nth-child(3) {
  stroke: rgba(107, 140, 255, 0.64);
  animation-duration: 6.5s;
}

.pulse-dot {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(104, 242, 177, 0.45);
  animation: pulse 2.2s infinite;
}

.pulse-dot.one {
  left: 16%;
  top: 58%;
}

.pulse-dot.two {
  left: 54%;
  top: 34%;
  animation-delay: 0.45s;
}

.pulse-dot.three {
  right: 11%;
  top: 64%;
  animation-delay: 0.9s;
}

.console-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.console-status span {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--muted);
  font-size: 12px;
}

.console-status b {
  display: block;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 2px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 34px;
  padding-bottom: 34px;
}

.metrics div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.metrics strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 850;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
}

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

.intro-grid article,
.timeline article,
.contact-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.intro-grid article {
  min-height: 230px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.intro-grid article:hover,
.capability-board article:hover,
.timeline article:hover,
.example-grid article:hover,
.package-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(81, 230, 255, 0.38);
  background: rgba(255, 255, 255, 0.095);
}

.card-index {
  color: var(--green);
  font-weight: 850;
}

.intro-grid p,
.panel p,
.timeline p,
.contact-card p,
.system-list span {
  color: var(--muted);
  line-height: 1.65;
}

.systems {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
}

.capability {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.build-stack {
  border-top: 1px solid var(--line);
}

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

.stack-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.stack-grid p,
.future-copy p,
.future-list p {
  color: var(--muted);
  line-height: 1.64;
}

.capability-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-board article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.capability-board span {
  color: var(--green);
  font-weight: 860;
}

.capability-board h3 {
  margin-top: auto;
}

.capability-board p {
  color: var(--muted);
  line-height: 1.62;
}

.examples,
.industries,
.packages,
.framework {
  border-top: 1px solid var(--line);
}

.framework-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.framework-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.framework-steps article,
.framework-output,
.domain-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
}

.framework-steps article {
  min-height: 230px;
  padding: 22px;
}

.framework-steps span {
  color: var(--green);
  font-weight: 860;
}

.framework-steps h3 {
  margin-top: 18px;
}

.framework-steps p,
.framework-output li,
.domain-grid p,
.domain-note {
  color: var(--muted);
  line-height: 1.62;
}

.framework-output {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(81, 230, 255, 0.1), rgba(255, 255, 255, 0.045));
}

.framework-output ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.framework-output li {
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.framework-output li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

.example-grid article,
.package-grid article {
  min-height: 310px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.example-grid article > span,
.package-grid article > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.example-grid p,
.package-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.example-grid ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.example-grid li {
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #dbe7f2;
  font-size: 14px;
}

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

.domain-grid article {
  min-height: 190px;
  padding: 20px;
}

.domain-grid span {
  display: block;
  margin-bottom: 14px;
  color: #eaf5ff;
  font-size: 18px;
  font-weight: 820;
}

.domain-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 180, 180, 0.2);
  border-radius: 8px;
  background: rgba(255, 180, 180, 0.055);
}

.package-grid article {
  display: flex;
  flex-direction: column;
}

.package-grid article.featured {
  border-color: rgba(104, 242, 177, 0.48);
  background:
    linear-gradient(180deg, rgba(104, 242, 177, 0.13), rgba(255, 255, 255, 0.055));
}

.package-grid strong {
  margin-top: auto;
  color: var(--green);
}

.panel {
  padding: 30px;
}

.mini-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 104px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.mini-bars span {
  flex: 1;
  height: var(--h);
  min-height: 18px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  animation: barLift 4s ease-in-out infinite;
}

.mini-bars span:nth-child(2n) {
  background: linear-gradient(180deg, var(--green), var(--cyan));
  animation-delay: 0.35s;
}

.mini-bars span:nth-child(3n) {
  animation-delay: 0.7s;
}

.system-list {
  display: grid;
  gap: 12px;
}

.system-list div {
  display: grid;
  gap: 8px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(81, 230, 255, 0.11), rgba(255, 255, 255, 0.035));
  border-radius: 8px;
}

.system-list strong {
  font-size: 20px;
}

.process {
  border-top: 1px solid var(--line);
}

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

.timeline article {
  padding: 24px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 850;
}

.future {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  border-top: 1px solid var(--line);
}

.future-copy {
  position: sticky;
  top: 120px;
  align-self: start;
}

.future-list {
  display: grid;
  gap: 14px;
}

.future-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(104, 242, 177, 0.1), rgba(255, 255, 255, 0.04));
}

.future-list span {
  color: var(--green);
  font-weight: 860;
}

.future-list h3 {
  margin-top: 14px;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 120px;
}

.contact-card {
  padding: 28px;
  background: var(--panel-strong);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce9f5;
  font-size: 14px;
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.62);
  color: var(--text);
  font: inherit;
  line-height: 1.4;
  padding: 13px 14px;
  outline: none;
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(81, 230, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(81, 230, 255, 0.12);
}

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.form-status.error {
  color: #ffb4b4;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer span:first-child {
  color: var(--text);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes lineFlow {
  0%, 100% {
    opacity: 0.38;
    transform: scaleX(0.65);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 18px rgba(104, 242, 177, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(104, 242, 177, 0);
  }
}

@keyframes barLift {
  0%, 100% {
    transform: scaleY(0.78);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 840px) {
  .site-header {
    inset: 10px 10px auto;
    border-radius: 16px;
  }

  .nav {
    display: none;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
    padding: 112px 18px 48px;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: 360px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 7, 13, 0.76) 0%, rgba(5, 7, 13, 0.9) 46%, rgba(5, 7, 13, 0.98) 100%);
  }

  .intro-grid,
  .systems,
  .timeline,
  .contact,
  .metrics,
  .capability-board,
  .stack-grid,
  .future,
  .example-grid,
  .package-grid,
  .framework-layout,
  .framework-steps,
  .domain-grid {
    grid-template-columns: 1fr;
  }

  .future-copy {
    position: static;
  }

  .console-grid,
  .console-status {
    grid-template-columns: 1fr;
  }

  .flow-line {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 68px 0;
  }

  .intro-grid article {
    min-height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
