:root {
  --page: #020712;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f9ff;
  --muted: rgba(247, 249, 255, 0.68);
  --dim: rgba(247, 249, 255, 0.48);
  --blue: #0875ff;
  --cyan: #2ef4ff;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 91, 205, 0.24), transparent 38rem),
    linear-gradient(180deg, #031126 0%, #020712 42%, #000 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: linear-gradient(#000, transparent 78%);
}

a {
  color: inherit;
}

.container {
  max-width: 1180px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.navbar {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(2, 7, 18, 0.76);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.navbar-brand {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.navbar-brand:hover,
.nav-link:hover {
  color: #fff;
}

.nav-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.18);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  padding: 112px 0 64px;
  background:
    linear-gradient(90deg, rgba(2, 7, 18, 0.96) 0%, rgba(2, 7, 18, 0.84) 50%, rgba(2, 7, 18, 0.18) 100%),
    url("../img/hero.jpg") center / cover;
}

.hero-section::after,
.services-section::after,
.stack-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  border: 42px solid rgba(8, 117, 255, 0.55);
  box-shadow:
    inset 0 0 34px rgba(46, 244, 255, 0.78),
    0 0 84px rgba(8, 117, 255, 0.62);
}

.hero-section::after {
  right: max(-180px, -10vw);
  bottom: -250px;
  width: min(680px, 52vw);
  aspect-ratio: 1;
}

.hero-art {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(46, 244, 255, 0.1), rgba(8, 117, 255, 0.55), rgba(255, 255, 255, 0.22));
  filter: blur(20px);
  opacity: 0.55;
}

.hero-art-main {
  right: 10%;
  top: 22%;
  width: 420px;
  height: 120px;
  transform: rotate(-18deg);
}

.hero-art-side {
  right: 22%;
  bottom: 12%;
  width: 260px;
  height: 80px;
  transform: rotate(32deg);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.25vw, 58px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(34px, 3.9vw, 54px);
  max-width: 760px;
}

h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-text,
.section-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-lead {
  font-size: 17px;
}

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

.hero-row {
  min-height: 500px;
  align-items: flex-start;
  padding-top: 38px;
}

.btn {
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
}

.btn-primary {
  border-color: var(--blue);
  background: var(--blue);
}

.btn-primary:hover {
  border-color: #2e8cff;
  background: #2e8cff;
}

.about-section {
  background:
    radial-gradient(circle at 2% 100%, rgba(46, 244, 255, 0.18), transparent 24rem),
    rgba(255, 255, 255, 0.015);
}

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

.details-grid > div,
.services-grid article,
.pricing-table,
.activity-list article,
.contacts-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.details-grid > div {
  min-height: 132px;
  padding: 22px;
}

.details-grid .wide {
  grid-column: 1 / -1;
}

.details-grid span,
.pricing-table span,
.stack-cloud span::before {
  display: block;
  margin-bottom: 12px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.details-grid strong {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.activity-section {
  background:
    repeating-linear-gradient(90deg, rgba(46, 244, 255, 0.035) 0 8px, rgba(8, 117, 255, 0.12) 9px 18px, transparent 20px 36px),
    rgba(0, 0, 0, 0.2);
}

.activity-list {
  display: grid;
  gap: 16px;
}

.activity-list article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 28px;
}

.activity-list article:first-child {
  background: linear-gradient(135deg, rgba(8, 117, 255, 0.95), rgba(46, 244, 255, 0.16));
}

.activity-list span {
  color: #fff;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.activity-list p,
.services-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-head .section-lead {
  max-width: 860px;
}

.services-section::after {
  right: -120px;
  top: 160px;
  width: 420px;
  aspect-ratio: 1;
  transform: rotate(-18deg);
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.services-grid article {
  min-height: 260px;
  padding: 28px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.services-grid article:hover {
  background: var(--panel-strong);
  transform: translateY(-4px);
}

.services-grid article:hover {
  background: linear-gradient(135deg, rgba(8, 117, 255, 0.92), rgba(46, 244, 255, 0.14));
}

.services-grid span {
  display: block;
  margin-bottom: 84px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
}

.pricing-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
}

.pricing-table {
  overflow: hidden;
}

.pricing-table > div {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-table > div:last-child {
  border-bottom: 0;
}

.pricing-table span {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-table strong {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.table-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stack-section {
  background: rgba(255, 255, 255, 0.015);
}

.stack-section::after {
  right: 14%;
  top: 50%;
  width: 300px;
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.stack-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
}

.stack-list > div,
.documents-list a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.stack-list > div {
  padding: 20px 22px;
}

.stack-list > div {
  transition: background 0.2s ease, transform 0.2s ease;
}

.stack-list > div:hover {
  background: rgba(8, 117, 255, 0.24);
  transform: translateY(-2px);
}

.stack-list span {
  display: block;
  margin-bottom: 10px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.stack-list strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.documents-section {
  background: rgba(255, 255, 255, 0.012);
}

.documents-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.documents-list a {
  min-height: 120px;
  padding: 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.documents-list a:hover {
  background: rgba(8, 117, 255, 0.32);
}

.contacts-section {
  padding-bottom: 80px;
}

.contacts-panel {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(8, 117, 255, 0.16), transparent 48%),
    var(--panel);
}

.contacts-list {
  display: grid;
  gap: 12px;
}

.contacts-list a {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.contacts-list a:hover {
  background: rgba(8, 117, 255, 0.42);
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--dim);
  background: #000;
  font-size: 12px;
}

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

@media (max-width: 991px) {
  .navbar {
    border-radius: 18px;
  }

  .navbar-collapse {
    padding-top: 12px;
  }

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

  .hero-row {
    min-height: auto;
    padding-top: 0;
  }

  h1,
  h2 {
    font-size: clamp(40px, 10vw, 56px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero-text,
  .section-lead {
    font-size: 16px;
  }

  .section {
    padding: 76px 0;
  }

  .details-grid,
  .services-grid,
  .contacts-panel,
  .documents-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .activity-list article,
  .pricing-table > div {
    grid-template-columns: 1fr;
  }

  .pricing-table strong {
    text-align: left;
  }

  .services-grid article {
    min-height: auto;
  }

  .services-grid span {
    margin-bottom: 34px;
  }

  .stack-section::after,
  .services-section::after {
    opacity: 0.36;
  }
}

@media (max-width: 575px) {
  .hero-actions {
    display: grid;
  }

  .details-grid > div,
  .services-grid article,
  .activity-list article {
    padding: 22px;
  }
}
