:root {
  --paper: #f7fafc;
  --paper-2: #eef4f7;
  --ink: #0b1320;
  --muted: #5c6b7b;
  --line: #d8e2e8;
  --line-strong: #b8c7d1;
  --blue: #1769ff;
  --cyan: #08a7c7;
  --green: #17a76f;
  --violet: #6b5cff;
  --orange: #d97822;
  --panel: rgba(255, 255, 255, 0.78);
  --radius: 8px;
  --shadow: 0 28px 90px rgba(13, 28, 43, 0.14);
  --max: 1220px;
  font-family: "Geist", "Inter", "Plus Jakarta Sans", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.88)),
    radial-gradient(circle at 18% 8%, rgba(23, 105, 255, 0.13), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(8, 167, 199, 0.12), transparent 32%),
    var(--paper);
  font-size: 16px;
  line-height: 1.62;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(11, 19, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 19, 32, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 70%);
  animation: gridDrift 18s linear infinite;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 30;
  width: auto;
  height: auto;
  clip: auto;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
}

.section-shell {
  width: min(var(--max), calc(100% - 42px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px max(21px, calc((100vw - var(--max)) / 2));
  background: rgba(247, 250, 252, 0.78);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(20px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 250, 252, 0.94);
  border-color: var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.95rem;
  font-weight: 720;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(13, 28, 43, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: rgba(11, 19, 32, 0.06);
  outline: none;
}

.site-nav .nav-cta {
  color: #fff;
  background: var(--ink);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-block: 78px 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.35rem, 2.05rem + 1.25vw, 3rem);
  line-height: 1.01;
  font-weight: 700;
}

h2 {
  max-width: 830px;
  font-size: clamp(1.95rem, 1.45rem + 1.35vw, 3.15rem);
  line-height: 1.06;
  font-weight: 580;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 620;
}

.hero-lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 720;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(11, 19, 32, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.architecture-stage {
  position: relative;
  min-height: 610px;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 247, 0.62)),
    radial-gradient(circle at 70% 18%, rgba(23, 105, 255, 0.1), transparent 34%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flow-backplane {
  position: absolute;
  inset: 28px;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  opacity: 0.7;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  border-radius: 6px;
}

.flow-backplane span {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: dataLine 3.8s linear infinite;
}

.flow-backplane span:nth-child(1) {
  top: 24%;
  left: 8%;
  width: 72%;
}

.flow-backplane span:nth-child(2) {
  top: 52%;
  left: 18%;
  width: 64%;
  animation-delay: 1.2s;
}

.flow-backplane span:nth-child(3) {
  top: 78%;
  left: 10%;
  width: 78%;
  animation-delay: 2.1s;
}

.architecture-flow {
  position: relative;
  min-height: 430px;
}

.flow-node {
  position: absolute;
  width: 154px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(13, 28, 43, 0.1);
  animation: floatSoft 7s ease-in-out infinite;
}

.flow-node:nth-child(2n) {
  animation-delay: -2s;
}

.flow-node::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: 14px;
  top: 16px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(23, 167, 111, 0.12);
  animation: pulse 2.2s ease-in-out infinite;
}

.flow-node b,
.flow-node small {
  display: block;
}

.flow-node b {
  font-size: 0.92rem;
  font-weight: 760;
}

.flow-node small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.node-frontend {
  left: 2%;
  top: 8%;
}

.node-api {
  left: 35%;
  top: 5%;
}

.node-nats {
  right: 3%;
  top: 22%;
}

.node-services {
  left: 17%;
  top: 42%;
}

.node-k8s {
  right: 18%;
  top: 54%;
}

.node-ai {
  left: 6%;
  bottom: 4%;
}

.node-obs {
  right: 3%;
  bottom: 1%;
}

.live-console {
  position: relative;
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 16px;
  color: #dce8ef;
  background: #0b1320;
  border-radius: 8px;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  color: #243345;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(13, 28, 43, 0.1);
  font-size: 0.76rem;
  font-weight: 620;
  animation: floatSoft 6.4s ease-in-out infinite;
}

.chip-a {
  top: 92px;
  right: 42px;
}

.chip-b {
  left: 38px;
  bottom: 118px;
  animation-delay: -2.4s;
}

.live-console div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.live-console span {
  color: #93a7b6;
}

.live-console strong {
  color: #63e6be;
  font-weight: 650;
}

.positioning {
  padding: 34px 0 82px;
}

.positioning p {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(1.32rem, 1rem + 1.05vw, 2.05rem);
  line-height: 1.26;
  font-weight: 500;
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-heading p:not(.eyebrow) {
  max-width: 730px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.capabilities {
  padding-block: 76px 104px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.capability-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(184, 199, 209, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(13, 28, 43, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 22px 70px rgba(13, 28, 43, 0.12);
}

.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background:
    linear-gradient(135deg, var(--accent), transparent 42%),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}

.capability-card > * {
  position: relative;
}

.integration {
  --accent: var(--blue);
}

.cloud {
  --accent: var(--cyan);
}

.ai {
  --accent: var(--violet);
}

.software {
  --accent: var(--orange);
}

.capability-index {
  display: inline-block;
  margin-bottom: 62px;
  color: var(--accent);
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 650;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title svg,
.visual-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title svg {
  flex: 0 0 auto;
  color: var(--accent);
}

.capability-card p {
  max-width: 540px;
  color: var(--muted);
}

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

.capability-card li {
  color: #304153;
}

.capability-card li::before {
  content: "->";
  margin-right: 8px;
  color: var(--accent);
}

.visual-proof {
  padding-block: 12px 104px;
}

.technical-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.technical-visual {
  min-height: 322px;
  padding: 18px;
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 247, 0.72)),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
  border: 1px solid rgba(184, 199, 209, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(13, 28, 43, 0.08);
}

.visual-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  font-weight: 620;
}

.visual-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: rgba(23, 105, 255, 0.08);
  border-radius: 7px;
}

.pipeline-visual,
.agent-map,
.event-mesh,
.cluster-view {
  position: relative;
  display: grid;
  gap: 10px;
}

.pipeline-visual span,
.agent-map span,
.event-mesh span,
.cluster-view span {
  position: relative;
  z-index: 1;
  padding: 9px 11px;
  color: #314253;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.78rem;
}

.pipeline-visual::before,
.agent-map::before,
.event-mesh::before,
.cluster-view::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--cyan), var(--green));
  animation: verticalFlow 2.8s ease-in-out infinite;
}

.pipeline-visual span,
.event-mesh span {
  margin-left: 24px;
}

.technical-visual pre {
  margin: 18px 0 0;
  padding: 13px;
  overflow: auto;
  color: #cde8f5;
  background: #0b1320;
  border-radius: 7px;
  font-size: 0.72rem;
  line-height: 1.55;
}

.agent-map {
  grid-template-columns: 1fr 1fr;
}

.agent-map::before,
.cluster-view::before {
  inset: 50% 18px auto;
  width: auto;
  height: 2px;
}

.embedding-bars,
.sparkline {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 70px;
  margin-top: 22px;
}

.embedding-bars i,
.sparkline i {
  flex: 1;
  display: block;
  background: linear-gradient(180deg, rgba(23, 105, 255, 0.85), rgba(8, 167, 199, 0.45));
  border-radius: 5px 5px 0 0;
  animation: barPulse 2.6s ease-in-out infinite;
}

.embedding-bars i:nth-child(1),
.sparkline i:nth-child(3) {
  height: 28%;
}

.embedding-bars i:nth-child(2),
.sparkline i:nth-child(1) {
  height: 64%;
  animation-delay: -0.6s;
}

.embedding-bars i:nth-child(3),
.sparkline i:nth-child(5) {
  height: 42%;
  animation-delay: -1.1s;
}

.embedding-bars i:nth-child(4),
.sparkline i:nth-child(2) {
  height: 86%;
  animation-delay: -1.7s;
}

.embedding-bars i:nth-child(5),
.sparkline i:nth-child(6) {
  height: 52%;
  animation-delay: -2.2s;
}

.event-mesh {
  grid-template-columns: 1fr 1fr;
}

.event-mesh span:nth-child(3) {
  grid-column: 1 / -1;
  color: #fff;
  background: #0b1320;
}

.cluster-view {
  grid-template-columns: 1fr 1fr;
}

.cluster-view span:nth-child(3) {
  grid-column: 1 / -1;
}

.integration-lab {
  padding-block: 94px;
  background: #fff;
  border-block: 1px solid var(--line);
}

.lab-layout,
.security-layer,
.kaspersky-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: center;
  min-width: 0;
}

.data-map {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 16px;
  align-items: center;
  transform: translate3d(0, var(--parallax-y, 0), 0);
}

.map-column {
  display: grid;
  gap: 12px;
}

.map-column span,
.map-core,
.security-stack span,
.outcome-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(13, 28, 43, 0.07);
}

.map-column span {
  padding: 15px;
  color: var(--muted);
  font-size: 0.9rem;
}

.map-core {
  position: relative;
  padding: 28px;
  min-height: 210px;
  display: grid;
  align-content: center;
  text-align: center;
  background: #0b1320;
  color: #fff;
}

.map-core::before,
.map-core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.map-core::before {
  left: -34px;
}

.map-core::after {
  right: -34px;
}

.map-core b,
.map-core small {
  display: block;
}

.map-core small {
  margin-top: 8px;
  color: #aebfca;
}

.security-layer {
  padding-block: 104px;
}

.security-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.security-stack {
  display: grid;
  gap: 12px;
}

.security-stack span {
  padding: 18px 20px;
  font-weight: 650;
}

.security-stack span:nth-child(odd) {
  transform: translateX(28px);
}

.kaspersky-section {
  padding-block: 92px;
  background: #101827;
  color: #f3f7fa;
}

.kaspersky-section .section-heading p:not(.eyebrow) {
  color: #aebfca;
}

.partner-badge {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.partner-badge img {
  width: min(100%, 320px);
  padding: 14px;
  background: #fff;
  border-radius: 6px;
}

.outcome-system {
  padding-block: 102px;
}

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

.outcome-item {
  min-height: 118px;
  padding: 18px;
  display: flex;
  align-items: end;
  color: #243345;
  font-weight: 650;
}

.final-cta {
  padding-block: 12px 110px;
}

.cta-panel {
  padding: clamp(30px, 7vw, 78px);
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.12), transparent 44%),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  color: #aebfca;
  background: #0b1320;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
  padding-block: 42px;
}

.footer-grid strong,
.footer-brand {
  display: block;
  margin-bottom: 9px;
  color: #fff;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin-top: 7px;
}

.reveal {
  --reveal-y: 22px;
  opacity: 0;
  transform: translate3d(0, calc(var(--reveal-y) + var(--parallax-y, 0px)), 0);
  transition: opacity 680ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  --reveal-y: 0px;
  opacity: 1;
}

@keyframes dataLine {
  0% {
    transform: translateX(-28%);
    opacity: 0;
  }
  18%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(28%);
    opacity: 0;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 56px 56px, 56px 56px;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes verticalFlow {
  0%,
  100% {
    opacity: 0.35;
    filter: saturate(0.8);
  }
  50% {
    opacity: 1;
    filter: saturate(1.35);
  }
}

@keyframes barPulse {
  0%,
  100% {
    transform: scaleY(0.74);
    opacity: 0.7;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .nav-toggle span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 21px;
    right: 21px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .lab-layout,
  .security-layer,
  .kaspersky-layout {
    grid-template-columns: 1fr;
  }

  .architecture-stage {
    min-height: 560px;
  }

  .capability-grid,
  .technical-gallery,
  .outcome-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding-block: 54px 58px;
  }

  h2 {
    font-size: 2.1rem;
  }

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

  .architecture-stage {
    min-height: 720px;
    padding: 18px;
  }

  .flow-backplane {
    inset: 18px;
  }

  .architecture-flow {
    min-height: 525px;
  }

  .flow-node {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 12px;
  }

  .node-frontend,
  .node-api,
  .node-nats,
  .node-services,
  .node-k8s,
  .node-ai,
  .node-obs {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .positioning {
    padding-bottom: 52px;
  }

  .capabilities,
  .integration-lab,
  .security-layer,
  .kaspersky-section,
  .outcome-system {
    padding-block: 66px;
  }

  .capability-grid,
  .technical-gallery,
  .data-map,
  .outcome-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }

  .capability-index {
    margin-bottom: 42px;
  }

  .map-core::before,
  .map-core::after {
    display: none;
  }

  .partner-badge {
    padding: 18px;
  }

  .security-stack span:nth-child(odd) {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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