:root {
  --ink: #08080d;
  --ink-soft: #171722;
  --violet: #5f249f;
  --violet-strong: #7b2cff;
  --cyan: #13b8c8;
  --white: #ffffff;
  --muted: #666778;
  --line: #dedfeb;
  --surface: #f6f7fb;
  --radius: 8px;
  --shadow: 0 20px 60px rgba(8, 8, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 68px;
  background: rgba(8, 8, 13, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  color: var(--cyan);
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 70px;
  color: var(--white);
  background: var(--ink);
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 8, 13, 0.94) 0%, rgba(8, 8, 13, 0.72) 43%, rgba(8, 8, 13, 0.16) 100%),
    linear-gradient(0deg, rgba(95, 36, 159, 0.32), rgba(8, 8, 13, 0.1));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0;
  cursor: pointer;
}

.button.primary {
  background: var(--violet-strong);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(123, 44, 255, 0.28);
}

.button.primary:hover {
  background: #6820dc;
}

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

.section-band {
  background: var(--surface);
}

.intro {
  padding: 78px 0;
}

.intro-grid,
.solutions-grid,
.opensource-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3.6vw, 3.4rem);
  line-height: 1.06;
  font-weight: 800;
}

.intro-copy p,
.solutions p,
.contact p,
.contact-details {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-copy p {
  max-width: 680px;
  margin-top: 22px;
}

.about-pillars {
  display: grid;
  gap: 16px;
}

.about-pillars article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(8, 8, 13, 0.05);
}

.about-pillars span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--violet);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-pillars p {
  margin: 0;
  color: var(--muted);
}

.services,
.opensource,
.partners {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 680px;
}

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

.service-card {
  min-height: 285px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  box-shadow: 0 10px 35px rgba(8, 8, 13, 0.05);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cyan);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.22;
}

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

.opensource {
  position: relative;
  overflow: hidden;
}

.opensource::before {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 42%;
  height: 100%;
  background: linear-gradient(135deg, rgba(123, 44, 255, 0.12), rgba(19, 184, 200, 0.1));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.opensource-grid {
  position: relative;
}

.opensource-grid p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.opensource-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tech-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

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

.opensource-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.opensource-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet-strong);
  box-shadow: 0 0 0 4px rgba(123, 44, 255, 0.12);
}

.dark {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 22%, rgba(19, 184, 200, 0.18), transparent 26%),
    linear-gradient(135deg, #08080d 0%, #171022 48%, #08080d 100%);
}

.solutions {
  padding: 92px 0;
}

.dark h2,
.dark .section-kicker {
  color: var(--white);
}

.dark .section-kicker {
  color: var(--cyan);
}

.solutions p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

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

.focus-list div {
  border-left: 4px solid var(--violet-strong);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
}

.focus-list strong,
.focus-list span {
  display: block;
}

.focus-list strong {
  margin-bottom: 6px;
  font-size: 1rem;
}

.focus-list span {
  color: rgba(255, 255, 255, 0.72);
}

.partner-slider {
  position: relative;
  overflow: hidden;
  padding: 4px 0;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: partner-slide 26s linear infinite;
}

.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

@keyframes partner-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

.partner-logo {
  flex: 0 0 clamp(230px, 28vw, 340px);
  min-height: 124px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--white);
  color: var(--ink);
  padding: 22px 30px;
}

.partner-logo img {
  width: min(190px, 82%);
  max-height: 54px;
  object-fit: contain;
}

.partner-logo span {
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
}

.partner-logo.lenovo img {
  width: min(210px, 88%);
  max-height: 70px;
}

.partner-logo.zabbix img {
  width: min(210px, 86%);
  max-height: 62px;
}

.partner-logo.proxmox img {
  width: 58px;
  max-height: 58px;
}

.partner-logo.nutanix img {
  width: min(220px, 88%);
  max-height: 64px;
}

.placeholder {
  border-style: dashed;
  color: var(--violet);
  background: linear-gradient(135deg, #ffffff 0%, #f2edf9 100%);
  font-size: 2.4rem;
}

.contact {
  padding: 90px 0;
}

.contact a {
  color: var(--violet);
  font-weight: 800;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-left: 4px solid var(--violet-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(8, 8, 13, 0.06);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd1dc;
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--violet-strong);
  outline: 3px solid rgba(123, 44, 255, 0.14);
}

.site-footer {
  padding: 30px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.88rem;
}

.footer-grid img {
  width: 152px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--cyan);
  font-weight: 800;
}

.ai-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
}

.assistant-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: var(--violet-strong);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(8, 8, 13, 0.28);
  cursor: pointer;
}

.assistant-toggle svg,
.assistant-form svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: none;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(8, 8, 13, 0.26);
}

.ai-assistant.is-open .assistant-panel {
  display: block;
}

.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--ink);
  color: var(--white);
}

.assistant-header span,
.assistant-header strong {
  display: block;
}

.assistant-header span {
  font-weight: 800;
}

.assistant-header strong {
  color: var(--cyan);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.assistant-header button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.assistant-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 16px;
  background: #f7f8fc;
}

.assistant-message {
  width: fit-content;
  max-width: 88%;
  border-radius: var(--radius);
  padding: 11px 13px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.assistant-message.bot {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.assistant-message.user {
  justify-self: end;
  background: var(--violet-strong);
  color: var(--white);
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
  background: #f7f8fc;
}

.assistant-actions button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.assistant-actions button:hover {
  border-color: var(--violet-strong);
  color: var(--violet);
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.assistant-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font: inherit;
}

.assistant-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cyan);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(8, 8, 13, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 86vh;
  }

  .intro-grid,
  .solutions-grid,
  .opensource-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    min-height: 270px;
  }

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

@media (max-width: 560px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 14px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-content {
    margin-left: 14px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 8, 13, 0.96), rgba(8, 8, 13, 0.68)),
      linear-gradient(0deg, rgba(95, 36, 159, 0.36), rgba(8, 8, 13, 0.08));
  }

  .button {
    width: 100%;
  }

  .intro,
  .services,
  .opensource,
  .partners,
  .solutions,
  .contact {
    padding: 64px 0;
  }

  .service-card,
  .contact-form {
    padding: 22px;
  }

  .ai-assistant {
    right: 14px;
    bottom: 14px;
  }

  .assistant-toggle {
    width: 56px;
    height: 56px;
  }
}
