:root {
  --bg: #020816;
  --bg-soft: #041127;
  --panel: #071834;
  --panel-2: #091e42;
  --line: rgba(89, 154, 255, 0.18);
  --line-strong: rgba(68, 149, 255, 0.38);
  --text: #f5f8ff;
  --muted: #8fa4c6;
  --blue: #1478ff;
  --blue-light: #4bbdff;
  --container: 1080px;
  font-family: Inter, system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(17, 98, 255, .2), transparent 30rem),
    linear-gradient(180deg, #020919, #020714 65%, #06142d);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .26;
  background:
    linear-gradient(rgba(51, 119, 221, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 119, 221, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(#000 0 60%, transparent 92%);
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.top-strip {
  height: 24px;
  border-bottom: 1px solid rgba(91, 155, 255, .08);
  color: #7185a7;
  font-size: 10px;
}
.top-strip__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; }
.top-strip nav { display: flex; gap: 22px; }
.top-strip a:hover { color: #fff; }
.status-note { display: flex; align-items: center; gap: 7px; }
.status-note i {
  width: 6px; height: 6px; border-radius: 50%; background: #55ddff;
  box-shadow: 0 0 10px #36caff;
}

.header {
  position: relative;
  z-index: 10;
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 9, 25, .76);
  backdrop-filter: blur(16px);
}
.header__inner { display: flex; height: 100%; align-items: center; gap: 23px; }
.logo { margin-right: auto; }
.logo img { width: 142px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 23px; }
.main-nav a { color: #b8c7df; font-size: 12px; font-weight: 500; }
.main-nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid #318fff;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #1686ff, #1558ee);
  box-shadow: 0 9px 24px rgba(21, 102, 255, .24), inset 0 1px rgba(255, 255, 255, .18);
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: #7cdbff; }
.btn--outline {
  border-color: rgba(123, 177, 255, .42);
  background: rgba(3, 12, 31, .54);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}
.btn--small { min-height: 30px; padding-inline: 14px; font-size: 10px; }

.hero {
  position: relative;
  min-height: 382px;
  border-bottom: 1px solid rgba(76, 145, 255, .1);
  background:
    radial-gradient(circle at 72% 44%, rgba(12, 104, 255, .25), transparent 28rem),
    linear-gradient(90deg, rgba(2, 8, 22, .96) 15%, rgba(2, 8, 22, .55) 72%, rgba(3, 13, 33, .86));
}
.hero-grid {
  position: absolute; inset: 0; opacity: .38;
  background:
    linear-gradient(rgba(40, 111, 223, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 111, 223, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 28%, #000 60%, transparent);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  min-height: 382px;
  align-items: center;
}
.hero__content { z-index: 2; padding: 29px 0 19px; }
.eyebrow {
  margin: 0 0 8px;
  color: #73b7ff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: clamp(39px, 3.8vw, 54px);
  line-height: 1.01;
  letter-spacing: -.05em;
}
.hero h1 span { display: block; color: #3e91ff; }
.hero__lead {
  max-width: 465px;
  margin-bottom: 24px;
  color: #9fb1ce;
  font-size: 13px;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 12px; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 530px;
  margin-top: 31px;
}
.hero-facts > div { display: flex; align-items: flex-start; gap: 9px; }
.hero-facts i {
  flex: 0 0 auto;
  width: 18px; height: 18px; border: 1px solid #2678d4; border-radius: 50%;
  background: radial-gradient(circle, #5bdcff 0 2px, #0d4287 3px 6px, transparent 7px);
}
.hero-facts p { display: grid; gap: 2px; margin: 0; }
.hero-facts strong { font-size: 10px; }
.hero-facts span { color: #7186a8; font-size: 8px; white-space: nowrap; }
.hero__visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
}
.hero__visual img {
  width: 112%;
  max-width: none;
  transform: translateX(-4%);
  filter: drop-shadow(0 24px 40px rgba(0, 82, 255, .25));
}

.section { padding: 38px 0; }
.section-heading { margin-bottom: 24px; text-align: center; }
.section-heading h2, .dns-panel h2, .network-panel h2 {
  margin-bottom: 0;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.services { background: linear-gradient(180deg, rgba(3, 13, 31, .72), rgba(2, 8, 22, .36)); }
.services { padding: 34px 0 23px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.service-card {
  position: relative;
  min-height: 276px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(8, 31, 69, .92), rgba(4, 16, 39, .92));
  transition: transform .18s ease, border-color .18s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background:
    linear-gradient(rgba(67, 143, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 143, 255, .06) 1px, transparent 1px);
  background-size: 25px 25px;
}
.service-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.service-icon { position: relative; width: 82px; height: 82px; margin-bottom: 18px; }
.service-card h3 { position: relative; margin-bottom: 8px; font-size: 12px; }
.service-card p { position: relative; min-height: 68px; margin-bottom: 11px; color: #8195b7; font-size: 9px; line-height: 1.55; }
.service-card a, .center-link { position: relative; color: #50aaff; font-size: 9px; font-weight: 600; }

.dns-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  height: 280px;
  min-height: 0;
  overflow: hidden;
  margin-top: 10px;
  padding: 22px 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 50%, rgba(12, 102, 255, .16), transparent 24rem),
    linear-gradient(135deg, #071a3a, #031027);
}
.dns-panel__map img { width: 110%; max-width: none; transform: translateX(-4%); filter: drop-shadow(0 0 14px rgba(28, 139, 255, .22)); }
.dns-panel__content { padding: 14px 5px 14px 26px; }
.dns-panel__content > p:not(.eyebrow) { margin: 12px 0 17px; color: #8da1c1; font-size: 10px; line-height: 1.6; }
.dns-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 17px; }
.dns-facts span { display: grid; grid-template-columns: 16px 1fr; color: #6f84a5; font-size: 7px; line-height: 1.35; }
.dns-facts i { grid-row: span 2; width: 12px; height: 12px; border: 1px solid #238cff; border-radius: 50%; }
.dns-facts b { color: #e8f3ff; font-size: 8px; }

.locations { padding-bottom: 28px; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(180deg, #0a2048, #04142f);
}
.location-card > img { width: 100%; height: 120px; object-fit: cover; filter: brightness(.78) saturate(1.08); }
.location-card:nth-child(2) > img { filter: brightness(.9) saturate(1.04); }
.location-card:nth-child(3) > img { filter: brightness(.68) saturate(1.15) contrast(1.05); }
.location-card__body { padding: 12px 14px 13px; }
.location-card h3 { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 10px; }
.location-card p { min-height: 29px; margin-bottom: 12px; color: #8396b5; font-size: 8px; line-height: 1.5; }
.location-card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.location-card dl div { display: grid; gap: 2px; }
.location-card dt { font-size: 8px; font-weight: 700; }
.location-card dd { margin: 0; color: #7084a4; font-size: 7px; }
.flag { width: 13px; height: 9px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.flag--nl { background: linear-gradient(#ae1c28 0 33%, #fff 33% 66%, #21468b 66%); }
.flag--de { background: linear-gradient(#151515 0 33%, #d00 33% 66%, #ffce00 66%); }
.flag--ru { background: linear-gradient(#fff 0 33%, #1647a0 33% 66%, #d52b1e 66%); }
.center-link { display: table; margin: 18px auto 0; }

.benefits { padding: 16px 0 35px; }
.benefits .section-heading { margin-bottom: 17px; }
.benefits .section-heading h2 { font-size: 16px; }
.benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; }
.benefit-grid article {
  min-height: 140px;
  padding: 18px 10px;
  border: 1px solid rgba(86, 150, 248, .11);
  border-radius: 7px;
  text-align: center;
  background: rgba(6, 21, 48, .58);
}
.benefit-grid svg { width: 34px; height: 34px; margin: 0 auto 9px; color: #58b8ff; filter: drop-shadow(0 0 8px rgba(40, 136, 255, .3)); }
.benefit-grid h3 { margin-bottom: 5px; font-size: 9px; }
.benefit-grid p { margin-bottom: 0; color: #778aa9; font-size: 7px; line-height: 1.45; }

.network-panel {
  display: grid;
  grid-template-columns: .95fr 2.05fr;
  gap: 18px;
  margin-bottom: 40px;
}
.network-panel__intro { padding: 17px 4px; }
.network-panel__intro h2 { font-size: 22px; }
.network-panel__intro > p:not(.eyebrow) { margin: 10px 0 14px; color: #8295b4; font-size: 9px; line-height: 1.55; }
.network-panel__intro .btn { min-height: 33px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.metric-grid article {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(9, 31, 68, .88), rgba(4, 17, 41, .88));
}
.metric-grid strong { font-size: 17px; }
.metric-grid span { margin-top: 4px; color: #7689a7; font-size: 7px; }
.chart { height: 49px; margin-top: auto; }
.chart--line, .chart--latency { background: linear-gradient(180deg, rgba(47, 156, 255, .5), transparent); }
.chart--line { clip-path: polygon(0 80%, 15% 58%, 28% 65%, 45% 39%, 58% 50%, 74% 22%, 88% 35%, 100% 18%, 100% 100%, 0 100%); }
.chart--latency { clip-path: polygon(0 38%, 12% 68%, 25% 47%, 38% 78%, 50% 26%, 63% 56%, 76% 23%, 89% 62%, 100% 33%, 100% 100%, 0 100%); }
.chart--bars { display: flex; align-items: flex-end; gap: 7px; }
.chart--bars i { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(#3bc9ff, rgba(22, 103, 255, .13)); }
.chart--bars i:nth-child(1) { height: 44%; }.chart--bars i:nth-child(2) { height: 78%; }.chart--bars i:nth-child(3) { height: 55%; }.chart--bars i:nth-child(4) { height: 90%; }.chart--bars i:nth-child(5) { height: 67%; }
.chart--ring { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(#3dcaff 0 92%, rgba(43, 129, 255, .15) 92%); }
.chart--ring::after { content: ""; display: block; width: 29px; height: 29px; margin: 9.5px; border-radius: 50%; background: #071a3c; }

.cta {
  position: relative;
  overflow: hidden;
  border-block: 1px solid rgba(77, 143, 247, .14);
  background:
    radial-gradient(circle at 72% 60%, rgba(19, 112, 255, .3), transparent 20rem),
    linear-gradient(90deg, #071837, #061c47 60%, #04122c);
}
.cta::after {
  content: "";
  position: absolute;
  top: -80px;
  right: 16%;
  width: 330px;
  height: 210px;
  opacity: .22;
  background: url("./img/hero-infrastructure.svg") center / contain no-repeat;
  pointer-events: none;
}
.cta__inner { display: flex; min-height: 109px; align-items: center; justify-content: space-between; }
.cta__inner > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 5px; font-size: 18px; }
.cta p { margin: 0; color: #8093b2; font-size: 8px; }

.footer { padding: 25px 0 12px; background: #020817; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 25px; }
.footer__brand img { width: 118px; margin-bottom: 11px; }
.footer__brand p { max-width: 205px; color: #7083a2; font-size: 8px; line-height: 1.5; }
.footer h3 { margin-bottom: 11px; font-size: 9px; }
.footer__grid > div:not(.footer__brand) a { display: block; margin: 7px 0; color: #6d809f; font-size: 7px; }
.footer a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: #62baff; font-size: 7px; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 10px; border-top: 1px solid rgba(85, 145, 238, .1); color: #566b8b; font-size: 7px; }
.footer__bottom nav { display: flex; gap: 20px; }

@media (max-width: 820px) {
  .main-nav { display: none; }
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .network-panel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .top-strip nav, .header-actions .btn--outline { display: none; }
  .header { height: 56px; }
  .logo img { width: 130px; }
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; }
  .hero__content { padding: 20px 0 0; }
  .hero h1 { font-size: 42px; }
  .hero__visual { min-height: 320px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .service-grid, .location-grid, .benefit-grid, .metric-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-card p { min-height: 0; }
  .dns-panel { grid-template-columns: 1fr; padding: 20px; }
  .dns-panel__content { padding: 10px 0; }
  .dns-facts { grid-template-columns: 1fr; }
  .network-panel { margin-bottom: 18px; }
  .cta__inner { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 22px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}
