:root {
  color-scheme: dark;
  --bg: #020409;
  --panel: rgba(8, 14, 24, 0.78);
  --panel-strong: rgba(11, 18, 30, 0.94);
  --line: rgba(77, 166, 255, 0.22);
  --line-soft: rgba(255, 255, 255, 0.09);
  --text: #f7fbff;
  --muted: #98a5b8;
  --muted-2: #6f7d90;
  --blue: #1877ff;
  --cyan: #00d8ff;
  --cyan-soft: rgba(0, 216, 255, 0.16);
  --glow: 0 0 24px rgba(0, 149, 255, 0.42), 0 0 60px rgba(0, 216, 255, 0.18);
  --radius: 8px;
  --max: 1370px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 119, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 50% 0%, rgba(0, 216, 255, 0.08), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(31, 124, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 124, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle, rgba(0, 216, 255, 0.24) 0 2px, transparent 3px) 8% 14% / 190px 160px,
    radial-gradient(circle, rgba(31, 124, 255, 0.2) 0 2px, transparent 3px) 92% 22% / 230px 190px;
  opacity: 0.42;
  pointer-events: none;
}

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

.site-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 4, 9, 0.4), transparent 26%, transparent 72%, rgba(2, 4, 9, 0.5)),
    radial-gradient(circle at 20% 42%, rgba(24, 119, 255, 0.1), transparent 24rem);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 0 clamp(18px, 5vw, 78px);
  background: rgba(2, 4, 9, 0.78);
  border-bottom: 1px solid rgba(90, 160, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: #ffffff;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 800;
}

.logo-mark {
  width: 58px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 149, 255, 0.46));
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 74px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(0, 149, 255, 0.85);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: #ffffff;
}

.nav a:hover::after,
.nav a.active::after {
  width: 52px;
}

.button span {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.25fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  max-width: var(--max);
  min-height: 620px;
  margin: 0 auto;
  padding: clamp(54px, 7vw, 88px) clamp(18px, 4vw, 34px) clamp(42px, 6vw, 70px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 52%, rgba(0, 216, 255, 0.2), transparent 22rem),
    linear-gradient(90deg, rgba(2, 4, 9, 0.96) 0%, rgba(2, 4, 9, 0.84) 34%, rgba(2, 4, 9, 0.22) 68%, rgba(2, 4, 9, 0.46) 100%),
    linear-gradient(180deg, rgba(2, 4, 9, 0.08), rgba(2, 4, 9, 0.8) 100%);
  pointer-events: none;
}

.circuit-field {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.circuit-field::before,
.circuit-field::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 230px;
  border: solid rgba(0, 132, 255, 0.22);
  opacity: 0.75;
}

.circuit-field::before {
  left: -170px;
  top: 42px;
  border-width: 1px 0 0 1px;
  background:
    radial-gradient(circle at 62% 24%, var(--blue) 0 3px, transparent 4px),
    radial-gradient(circle at 78% 58%, var(--cyan) 0 3px, transparent 4px);
}

.circuit-field::after {
  right: -130px;
  top: 0;
  border-width: 0 1px 1px 0;
  background:
    radial-gradient(circle at 18% 42%, var(--cyan) 0 3px, transparent 4px),
    radial-gradient(circle at 46% 78%, var(--blue) 0 3px, transparent 4px);
}

.pill,
.section-kicker {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 0 16px;
  color: #27dfff;
  background: rgba(0, 149, 255, 0.12);
  border: 1px solid rgba(0, 216, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(0, 149, 255, 0.18);
}

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

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

h1 {
  max-width: 13ch;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.6vw, 5.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(100deg, #1984ff, #00dcff 56%, #3e7bff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 149, 255, 0.34);
}

.hero-copy > p:not(.pill) {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 850;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #196dff, #00c8ff);
  box-shadow: 0 0 28px rgba(0, 119, 255, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.button-secondary {
  color: #ffffff;
  background: rgba(2, 4, 9, 0.62);
  border: 1px solid rgba(0, 216, 255, 0.5);
  box-shadow: inset 0 0 18px rgba(0, 149, 255, 0.08);
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 430px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(86%, 720px);
  height: 56%;
  background: radial-gradient(circle, rgba(0, 216, 255, 0.32), rgba(0, 119, 255, 0.1) 42%, transparent 68%);
  filter: blur(28px);
  transform: translate(-50%, -48%);
  pointer-events: none;
}

.visual-grid {
  position: absolute;
  inset: 8% 0 4%;
  z-index: 0;
  background:
    linear-gradient(rgba(0, 149, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 149, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 50% 58%, rgba(0, 149, 255, 0.36), transparent 30%);
  background-size: 54px 54px, 54px 54px, auto;
  transform: perspective(800px) rotateX(62deg) translateY(58px);
  opacity: 0.28;
}

.particles i {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--cyan);
}

.particles i:nth-child(1) { left: 20%; top: 58%; }
.particles i:nth-child(2) { left: 28%; top: 31%; }
.particles i:nth-child(3) { left: 39%; top: 72%; }
.particles i:nth-child(4) { left: 52%; top: 22%; }
.particles i:nth-child(5) { left: 65%; top: 73%; }
.particles i:nth-child(6) { left: 74%; top: 35%; }
.particles i:nth-child(7) { left: 84%; top: 54%; }
.particles i:nth-child(8) { left: 58%; top: 58%; }

.float-card,
.glass-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 164px;
  padding: 14px 16px;
}

.float-card p {
  margin: 0;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--cyan);
  border: 1px solid rgba(0, 216, 255, 0.36);
  border-radius: 8px;
  box-shadow: inset 0 0 18px rgba(0, 149, 255, 0.18);
}

.card-ai { right: 18%; top: 8%; }
.card-arch { left: 6%; top: 36%; }
.card-cloud { right: 2%; top: 40%; }
.card-secure { left: 48%; bottom: 9%; }

.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4.5vw, 54px) clamp(18px, 4vw, 34px);
}

.services {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 2.28fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid rgba(77, 166, 255, 0.12);
}

.section-intro {
  position: sticky;
  top: 104px;
}

.section-kicker {
  margin-bottom: 10px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-intro p:not(.section-kicker),
.about-copy p {
  color: var(--muted);
}

.section-intro a,
.service-card a {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.service-card {
  min-height: 232px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.feature-list .glass-card:hover {
  border-color: rgba(0, 216, 255, 0.54);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.service-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 12px rgba(0, 216, 255, 0.44));
}

.service-card h3,
.feature-list h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
}

.service-card p,
.feature-list p {
  color: var(--muted);
  font-size: 0.91rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
}

.trust {
  padding-top: 0;
}

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  align-items: center;
  gap: 0;
  padding: 18px 22px;
}

.stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
  min-height: 68px;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
}

.stat-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--cyan);
  border: 1px solid rgba(0, 216, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: inset 0 0 16px rgba(0, 149, 255, 0.13);
}

.stat strong {
  font-size: 1.8rem;
  line-height: 1;
}

.stat p,
.stat p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.stat:last-child {
  border-right: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.about-copy h2 {
  max-width: 760px;
}

.about-copy p:not(.section-kicker) {
  max-width: 660px;
  font-size: 1.04rem;
}

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

.feature-list .glass-card {
  padding: 22px;
}

.feature-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 44px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px clamp(18px, 4vw, 34px) 42px;
  border-top: 1px solid rgba(77, 166, 255, 0.16);
}

.footer-brand p {
  max-width: 420px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links h4 {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav {
    order: 3;
    justify-content: center;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    min-height: 32px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

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

  .services,
  .about {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
  }

  .brand {
    max-width: 220px;
  }

  .nav {
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    font-size: 0.86rem;
  }

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

  h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

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

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

  .float-card {
    min-width: 132px;
    padding: 10px 12px;
  }

  .float-card p {
    font-size: 0.72rem;
  }

  .mini-icon {
    width: 28px;
    height: 28px;
  }

  .card-ai { right: 2%; top: 2%; }
  .card-arch { left: 0; top: 38%; }
  .card-cloud { right: 0; top: 44%; }
  .card-secure { left: 36%; bottom: 2%; }

  .service-grid,
  .stats-panel,
  .footer-links,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 0;
  }

  .stat:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 460px) {
  .site-header {
    min-height: 112px;
  }

  .logo-mark {
    width: 52px;
    height: 28px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    max-width: 15ch;
  }

  .nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .nav a {
    min-height: 28px;
  }

  .nav a:hover::after,
  .nav a.active::after {
    width: 40px;
  }

  .pill {
    font-size: 0.66rem;
    padding: 0 12px;
  }

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

  .float-card {
    display: none;
  }
}
