:root {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #06b6d4;
  --purple: #a855f7;
  --bg: #030711;
  --bg-soft: #08111f;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #9ca3af;
  --muted-2: #cbd5e1;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-body: "Inter", sans-serif;
  --font-head: "Outfit", "Inter", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 17, 0.78);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
}

.logo__mark {
  display: grid;
  grid-template-columns: repeat(2, 15px);
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.logo__mark span {
  border-radius: 5px;
  background: var(--blue);
}

.logo__mark span:nth-child(2),
.logo__mark span:nth-child(3) {
  opacity: 0.45;
}

.logo__mark span:nth-child(4) {
  background: var(--purple);
}

.logo strong,
.logo small {
  display: block;
}

.logo strong {
  font-size: 19px;
  line-height: 1;
}

.logo small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted-2);
  font-size: 15px;
  font-weight: 600;
}

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

.nav-toggle,
.burger {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.32);
  color: white;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.42);
}

.btn--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 105px 0 85px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.28), transparent 34%),
    radial-gradient(circle at 80% 18%, rgba(168, 85, 247, 0.22), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, black 70%, transparent);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.05;
}

h1 {
  max-width: 740px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 23px;
}

.hero__text {
  max-width: 660px;
  margin: 24px 0 26px;
  color: var(--muted-2);
  font-size: 19px;
}

.hero__badges,
.hero__actions,
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__badges span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 700;
}

.hero__actions {
  margin: 34px 0;
}

.stats {
  gap: 28px;
}

.stats div {
  min-width: 112px;
}

.stats strong {
  display: block;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 31px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero__visual {
  position: relative;
  min-height: 620px;
  perspective: 1100px;
}

.server {
  position: absolute;
  top: 58px;
  left: 50%;
  width: min(360px, 80vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  transform: translateX(-50%) rotateY(-12deg) rotateX(8deg);
}

.server__top,
.server__bottom {
  height: 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.server__bottom {
  margin-top: 14px;
}

.server__unit {
  display: grid;
  grid-template-columns: 18px 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  height: 62px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.24), rgba(255, 255, 255, 0.07));
}

.server__unit i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.server__unit span {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.float-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 148px;
  height: 98px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 17, 31, 0.78);
  box-shadow: var(--shadow);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 900;
}

.float-card small {
  margin-top: -22px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
}

.float-card--one {
  top: 105px;
  left: 18px;
}

.float-card--two {
  right: 12px;
  bottom: 125px;
}

.section {
  padding: 92px 0;
}

.section--alt {
  background:
    radial-gradient(circle at 85% 0, rgba(6, 182, 212, 0.13), transparent 34%),
    var(--bg-soft);
}

.section__head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.section__head p:not(.eyebrow),
.contact p {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 22px;
}

.cards--benefits,
.cards--services,
.case-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.service,
.price-card,
.case,
.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
}

.card,
.service,
.case {
  padding: 28px;
}

.card:hover,
.service:hover,
.price-card:hover,
.case:hover {
  border-color: rgba(37, 99, 235, 0.42);
  transform: translateY(-4px);
}

.card,
.service,
.price-card,
.case {
  transition: 0.25s ease;
}

.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(6, 182, 212, 0.16));
  color: white;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.card p,
.service p,
.case p,
.price-card p {
  margin-top: 13px;
  color: var(--muted);
}

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

.service span {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-head);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.service strong {
  display: inline-block;
  margin-top: 22px;
  color: var(--cyan);
}

.service em,
.ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.service--popular,
.price-card--featured {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(255, 255, 255, 0.06));
  border-color: rgba(37, 99, 235, 0.38);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing--four {
  grid-template-columns: repeat(4, 1fr);
}

.price-card {
  position: relative;
  padding: 34px;
}

.price {
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--muted-2);
  list-style: none;
}

.price-card li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--cyan);
  font-weight: 900;
}

.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.clients span {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-weight: 800;
  text-align: center;
}

.case-grid {
  display: grid;
  gap: 22px;
}

.case div {
  margin-top: 24px;
}

.case strong {
  display: block;
  color: var(--cyan);
  font-family: var(--font-head);
  font-size: 34px;
}

.case span {
  color: var(--muted);
}

.rack-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: stretch;
}

.extras,
.support-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
}

.extras {
  padding: 34px;
}

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

.extras__list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
}

.extras__list div:last-child {
  border-bottom: 0;
}

.extras__list strong {
  flex: 0 0 auto;
  color: var(--cyan);
  white-space: nowrap;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 42px;
  align-items: center;
}

.support-grid p {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 18px;
}

.support-card {
  display: grid;
  gap: 14px;
  padding: 32px;
}

.support-card a,
.support-card span {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-2);
  font-weight: 800;
}

.support-card a:hover {
  color: var(--cyan);
  border-color: rgba(6, 182, 212, 0.45);
}

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

.steps article {
  display: flex;
  gap: 16px;
  padding: 24px;
}

.steps span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  font-family: var(--font-head);
  font-weight: 900;
}

.steps p {
  color: var(--muted-2);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.contact__grid.application-cta {
  display: block;
  text-align: center;
}

.application-cta > div {
  max-width: 760px;
  margin: 0 auto;
}

.contact h2 {
  margin-bottom: 18px;
}

.contact__list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted-2);
  font-weight: 700;
}

.contact__list a:hover {
  color: var(--cyan);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--muted-2);
  font-weight: 700;
}

.form label:nth-child(3),
.form label:nth-child(4),
.form .btn {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: white;
  padding: 14px 15px;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.footer {
  border-top: 1px solid var(--line);
  background: #02050d;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 20px;
  color: var(--muted-2);
  font-weight: 700;
}

@media (max-width: 1020px) {
  .header .btn--small {
    display: none;
  }

  .hero__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 520px;
  }

  .cards--benefits,
  .cards--services,
  .pricing,
  .pricing--four,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rack-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .header__inner {
    min-height: 70px;
  }

  .burger {
    position: relative;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
  }

  .burger span,
  .burger span::before,
  .burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: white;
    content: "";
  }

  .burger span::before {
    transform: translateY(-7px);
  }

  .burger span::after {
    transform: translateY(5px);
  }

  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(3, 7, 17, 0.97);
    transform: translateY(-120%);
    transition: 0.25s ease;
  }

  .nav a {
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav {
    transform: translateY(0);
  }

  .hero {
    padding: 70px 0 58px;
  }

  .hero__grid {
    gap: 28px;
  }

  .hero__text {
    font-size: 17px;
  }

  .hero__visual {
    min-height: 390px;
  }

  .server {
    top: 28px;
    width: min(300px, 82vw);
    transform: translateX(-50%) rotateY(-8deg) rotateX(6deg);
  }

  .server__unit {
    height: 50px;
  }

  .float-card {
    width: 108px;
    height: 80px;
    font-size: 22px;
  }

  .float-card--one {
    left: 0;
    top: 42px;
  }

  .float-card--two {
    right: 0;
    bottom: 70px;
  }

  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 34px;
    text-align: left;
  }

  .cards--benefits,
  .cards--services,
  .pricing,
  .pricing--four,
  .case-grid,
  .clients,
  .form,
  .steps {
    grid-template-columns: 1fr;
  }

  .extras__list div {
    display: grid;
  }

  .form label:nth-child(3),
  .form label:nth-child(4),
  .form .btn {
    grid-column: auto;
  }

  .footer__inner,
  .footer__links {
    align-items: flex-start;
    flex-direction: column;
  }
}
