:root {
  --ink: #f6f7fb;
  --paper: #080b10;
  --panel: #111722;
  --panel-soft: #171f2d;
  --muted: #a8b2c4;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #4f8cff;
  --violet: #9f7cff;
  --magenta: #ff5fd7;
  --amber: #ffb84d;
  --dark-text: #0c1118;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 18% 10%, rgba(79, 140, 255, 0.24), transparent 28rem),
    radial-gradient(circle at 84% 28%, rgba(159, 124, 255, 0.18), transparent 26rem),
    linear-gradient(180deg, #080b10 0%, #0d1119 46%, #080b10 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.18;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  right: clamp(16px, 4vw, 48px);
  left: clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(8, 11, 16, 0.68);
  border: 1px solid var(--line);
  border-radius: 14px;
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #061016;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 10px;
  box-shadow: 0 0 28px rgba(79, 140, 255, 0.34);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

nav a {
  white-space: nowrap;
}

.nav-action {
  padding: 10px 14px;
  color: #061016;
  background: #fff;
  border-radius: 10px;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 72px;
}

.hero-media,
.hero-overlay,
.hero-flow,
.hero-pulse {
  position: absolute;
  inset: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(1.2) contrast(1.08) brightness(1.08);
}

.hero-overlay {
  background:
    radial-gradient(circle at 53% 48%, rgba(8, 11, 16, 0), rgba(8, 11, 16, 0.2) 28%, rgba(8, 11, 16, 0.72) 78%),
    linear-gradient(90deg, rgba(8, 11, 16, 0.9) 0%, rgba(8, 11, 16, 0.58) 31%, rgba(8, 11, 16, 0.1) 62%, rgba(8, 11, 16, 0.44) 100%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.02), #080b10 97%);
}

.hero-flow {
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.95;
  mix-blend-mode: screen;
  pointer-events: none;
}

.stream {
  fill: none;
  stroke: url("#streamBlue");
  stroke-dasharray: 150 460;
  stroke-linecap: round;
  stroke-width: 5.5;
  filter: drop-shadow(0 0 16px rgba(117, 216, 255, 0.9));
  animation: image-signal-flow 4.8s linear infinite;
}

.stream.gold {
  stroke: url("#streamGold");
  filter: drop-shadow(0 0 17px rgba(255, 184, 77, 0.92));
  animation-duration: 5.6s;
}

.stream-c {
  animation-duration: 6.2s;
  opacity: 0.76;
}

.stream-d {
  animation-duration: 7s;
}

.stream-e {
  animation-duration: 7.8s;
  opacity: 0.62;
}

.packet {
  fill: #fff;
  filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 24px rgba(79, 140, 255, 0.8));
}

.p2,
.p4 {
  fill: var(--amber);
}

.hero-pulse {
  z-index: 1;
  pointer-events: none;
}

.hero-pulse::before,
.hero-pulse::after {
  position: absolute;
  top: 50%;
  left: 51.5%;
  width: min(34vw, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(117, 216, 255, 0.28);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  animation: brain-pulse 4s ease-out infinite;
}

.hero-pulse::after {
  animation-delay: 1.8s;
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(560px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.72);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(246, 247, 251, 0.78);
  font-size: clamp(16px, 1.45vw, 19px);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-meta span {
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  font-weight: 900;
  border-radius: 10px;
}

.primary {
  color: #061016;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 42px rgba(79, 140, 255, 0.22);
}

.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: clamp(78px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.split,
.section-heading,
.platform,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.rich-text,
.section-heading > p,
.platform-copy > p,
.process p,
.contact p {
  color: var(--muted);
  font-size: 18px;
}

.ai-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    #0b0f16;
}

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

.service-card {
  min-height: 292px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover,
.stack-card:hover,
.steps article:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 124, 255, 0.38);
}

.service-card.featured {
  background:
    linear-gradient(135deg, rgba(79, 140, 255, 0.22), rgba(159, 124, 255, 0.14)),
    rgba(255, 255, 255, 0.06);
}

.service-card p {
  color: var(--muted);
}

.stack-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.stack-card {
  min-height: 230px;
  padding: 26px;
  background:
    radial-gradient(circle at 20% 10%, rgba(79, 140, 255, 0.2), transparent 15rem),
    rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.stack-card.wide {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 95, 215, 0.24), transparent 18rem),
    radial-gradient(circle at 80% 20%, rgba(79, 140, 255, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.06);
}

.stack-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--amber);
  font-weight: 950;
}

.stack-card p {
  color: var(--muted);
}

.icon {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  padding: 0 12px;
  color: #061016;
  font-size: 12px;
  font-weight: 950;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 999px;
}

.platform {
  align-items: center;
  background: #f6f7fb;
  color: var(--dark-text);
}

.platform .section-kicker {
  color: #5b6cff;
}

.platform-copy > p {
  color: #4a5668;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #223044;
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  width: 9px;
  height: 15px;
  color: #5b6cff;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.product-panel {
  padding: clamp(24px, 4vw, 42px);
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 140, 255, 0.22), transparent 18rem),
    linear-gradient(135deg, #0c1118, #171f2d);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.28);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 42px;
}

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

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

.metric-row div,
.workflow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.metric-row div {
  padding: 22px;
}

.metric-row small,
.metric-row strong {
  display: block;
}

.metric-row small {
  color: rgba(255, 255, 255, 0.62);
}

.metric-row strong {
  margin-top: 10px;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 16px;
  overflow: hidden;
}

.workflow span {
  display: grid;
  min-height: 78px;
  place-items: center;
  padding: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.05);
}

.process {
  background: #080b10;
}

.process > h2 {
  max-width: 900px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.steps article {
  min-height: 180px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.steps strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 24px;
}

.contact {
  align-items: start;
  padding: clamp(78px, 9vw, 132px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 20%, rgba(159, 124, 255, 0.22), transparent 24rem),
    #0d1119;
}

.contact-copy {
  max-width: 700px;
}

.email-link {
  display: inline-flex;
  margin-top: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.office-address {
  margin-top: 28px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.office-address strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--dark-text);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form span {
  color: #314344;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--dark-text);
  font: inherit;
  background: #f6f7fb;
  border: 1px solid #d6dde8;
  border-radius: 10px;
  outline: none;
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #5b6cff;
  box-shadow: 0 0 0 3px rgba(91, 108, 255, 0.16);
}

.contact-form .contact-button {
  width: 100%;
  color: #061016;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 0;
  cursor: pointer;
}

.contact-form .contact-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #4a5668;
  font-size: 15px;
  font-weight: 700;
}

.form-status[data-status="success"] {
  color: #5b6cff;
}

.form-status[data-status="error"] {
  color: #b42318;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #080b10;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1100px) {
  .service-grid,
  .stack-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .split,
  .section-heading,
  .platform,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 820px;
    padding-top: 116px;
    align-items: end;
  }

  .hero-content {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
  }

  h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero-media {
    object-position: 52% center;
  }

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

  .service-grid,
  .stack-grid,
  .steps,
  .form-row,
  .metric-row,
  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow span {
    min-height: 56px;
  }

  .hero-flow {
    opacity: 0.5;
  }
}

@keyframes image-signal-flow {
  to {
    stroke-dashoffset: -640;
  }
}

@keyframes brain-pulse {
  0% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scale(0.72);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
  }
}
