:root {
  --blue: #1559e9;
  --blue-2: #1f6cff;
  --ink: #101a32;
  --muted: #566176;
  --line: #dfe7f4;
  --soft: #f4f8ff;
  --shadow: 0 18px 45px rgba(18, 57, 132, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #fff;
}

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

.container {
  width: min(100% - 48px, 1310px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  color: #10182e;
  white-space: nowrap;
}

.ua-flag {
  display: inline-block;
  flex: 0 0 auto;
  width: 28px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(#0b78d0 0 50%, #ffd33d 50% 100%);
  box-shadow: 0 0 0 1px rgba(16, 24, 46, 0.1), 0 5px 12px rgba(21, 89, 233, 0.12);
}

.ua-flag.mini {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(16, 24, 46, 0.1);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 56px;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark.small {
  width: 36px;
  height: 42px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3.3vw, 52px);
  font-size: 16px;
  color: #111827;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.langs a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.langs {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: #687386;
  white-space: nowrap;
}

.langs .active {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 184px;
  padding: 0 26px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f56ea, #1e68f0);
  box-shadow: 0 12px 24px rgba(21, 89, 233, 0.22);
}

.button-outline {
  color: var(--blue);
  background: #fff;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid #edf2fa;
  background:
    radial-gradient(circle at 76% 36%, rgba(21, 89, 233, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  min-height: 458px;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  padding: 42px 0 54px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero h1 {
  margin-bottom: 24px;
  max-width: 670px;
  font-size: clamp(43px, 4.2vw, 60px);
  line-height: 1.13;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-text {
  max-width: 630px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

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

.hero-art {
  position: relative;
  min-height: 435px;
  align-self: end;
}

.halo {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 650px;
  height: 430px;
  border-radius: 58% 58% 0 0;
  background: linear-gradient(135deg, rgba(21, 89, 233, 0.1), rgba(21, 89, 233, 0.03));
}

.dot-field {
  position: absolute;
  width: 160px;
  height: 150px;
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(21, 89, 233, 0.55) 3px, transparent 3.5px);
  background-size: 24px 24px;
}

.dot-field-left {
  left: 40px;
  bottom: 34px;
}

.dot-field-right {
  right: 0;
  top: 16px;
}

.float-card {
  position: absolute;
  z-index: 2;
  border: 1px solid #e0e8f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow);
}

.code-card {
  top: 98px;
  left: 54px;
  width: 240px;
  height: 115px;
  display: grid;
  place-items: center;
}

.code-card svg {
  width: 120px;
}

.chart-card {
  top: 112px;
  right: 60px;
  width: 230px;
  height: 120px;
  display: grid;
  place-items: center;
  transform: rotate(7deg);
}

.chart-card svg {
  width: 154px;
}

.lines-card {
  left: 55px;
  top: 232px;
  width: 230px;
  height: 108px;
  padding: 30px 28px;
}

.lines-card span {
  display: block;
  height: 4px;
  margin: 12px 0;
  border-radius: 99px;
  background: #d2dbe9;
}

.lines-card span:nth-child(1) {
  width: 78%;
}

.lines-card span:nth-child(2) {
  width: 58%;
}

.lines-card span:nth-child(3) {
  width: 70%;
}

.ring-card {
  right: 58px;
  bottom: 10px;
  width: 234px;
  height: 174px;
  display: grid;
  place-items: center;
  transform: rotate(11deg);
}

.donut {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0 278deg, #e4ebf7 278deg 360deg);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: #fff;
}

.phone {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%) rotate(7deg);
}

.phone-shell {
  width: 250px;
  height: 480px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(90deg, #111 0%, #454545 14%, #111 32%, #373737 100%);
  box-shadow: 0 24px 35px rgba(11, 18, 34, 0.26);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 27px;
  background: #fff;
  padding: 13px 14px 16px;
  font-size: 10px;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 72px;
  height: 16px;
  border-radius: 0 0 12px 12px;
  background: #050505;
  transform: translateX(-50%);
  z-index: 1;
}

.phone-top,
.phone-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.phone-top {
  justify-content: space-between;
  padding: 0 4px 9px;
  font-size: 8px;
  font-weight: 700;
}

.phone-status {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #101a32;
}

.status-icon {
  display: block;
  fill: currentColor;
  stroke: currentColor;
}

.signal-icon {
  width: 14px;
  height: 10px;
}

.wifi-icon {
  width: 14px;
  height: 10px;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.battery-icon {
  width: 18px;
  height: 10px;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.battery-icon rect:last-child {
  fill: currentColor;
  stroke: none;
}

.phone-heading {
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
}

.search-icon {
  margin-left: auto;
  width: 14px;
  height: 14px;
  border: 2px solid #101a32;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #101a32;
  transform: rotate(45deg);
}

.phone-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.metric {
  position: relative;
  min-height: 86px;
  margin-bottom: 15px;
  padding: 12px;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, #195cef, #1454d5);
  overflow: hidden;
}

.metric span,
.metric small {
  display: block;
  opacity: 0.9;
}

.metric strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.metric svg {
  position: absolute;
  width: 90px;
  right: 8px;
  bottom: 12px;
}

.phone-small-title {
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 10px;
}

.channel {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  border-bottom: 1px solid #eef2f7;
}

.channel b {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-family: Arial, sans-serif;
}

.channel span {
  font-size: 9px;
  font-weight: 700;
}

.channel strong {
  font-size: 10px;
}

.fb {
  background: #1769e9;
}

.tk {
  background: #050505;
}

.gg {
  background: conic-gradient(#4385f5, #34a853, #fbbc05, #ea4335, #4385f5);
}

.activity {
  width: 100%;
  height: 64px;
}

.services {
  padding: 30px 0 14px;
  background: #fff;
}

.section-head {
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  text-align: center;
}

.section-head h2 {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 17px;
  font-size: 24px;
  line-height: 1.2;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 45px;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.service-card {
  min-height: 225px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 43, 84, 0.035);
}

.service-icon,
.about-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1257e9, #1c6af5);
  box-shadow: 0 12px 22px rgba(21, 89, 233, 0.22);
}

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.service-icon svg {
  width: 31px;
  height: 31px;
}

.text-icon {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 11px;
  font-size: 17px;
  line-height: 1.25;
}

.service-card p {
  min-height: 68px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.about-strip {
  display: grid;
  grid-template-columns: 160px 1fr 1px 1fr;
  align-items: center;
  gap: 28px;
  min-height: 106px;
  padding: 12px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.about-icon {
  justify-self: center;
  width: 98px;
  height: 82px;
  border-radius: 12px;
  background: #f0f4ff;
  box-shadow: none;
}

.about-icon svg {
  width: 58px;
  height: 58px;
}

.about-copy h3 {
  margin-bottom: 6px;
  font-size: 16px;
}

.about-copy p {
  margin-bottom: 0;
  color: #465268;
  font-size: 14px;
  line-height: 1.35;
}

.inline-email {
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.about-divider {
  width: 1px;
  height: 72px;
  background: #cdd7e6;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 72px;
  gap: 28px;
}

.footer-brand {
  font-size: 24px;
}

.footer-contact {
  display: grid;
  justify-items: end;
}

.footer-contact p {
  margin: 0;
  color: #687386;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 16px;
  }

  .hero-art {
    min-height: 430px;
  }

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

  .about-strip {
    grid-template-columns: 110px 1fr 1px 1fr;
    gap: 20px;
  }
}

@media (min-width: 761px) {
  .hero h1 {
    min-height: 2.26em;
  }

  .hero-text {
    min-height: 84px;
  }

  .service-card h3 {
    min-height: 43px;
  }

  .about-copy p {
    min-height: 57px;
  }
}

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

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    gap: 12px;
  }

  .brand {
    gap: 8px;
    font-size: 21px;
  }

  .brand-mark {
    width: 34px;
    height: 41px;
  }

  .ua-flag {
    width: 22px;
    height: 14px;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 12px;
  }

  .header-actions .button {
    display: none;
  }

  .hero-inner {
    min-height: 0;
    gap: 0;
  }

  .hero-copy {
    padding: 36px 0 8px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(36px, 12vw, 48px);
  }

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

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-art {
    min-height: 430px;
    width: 100%;
    margin-inline: 0;
    transform: scale(0.76);
    transform-origin: top center;
  }

  .phone {
    top: 56px;
    bottom: auto;
  }

  .halo {
    right: 50%;
    width: 560px;
    transform: translateX(50%);
  }

  .services {
    padding-top: 0;
    margin-top: 0;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .about-strip {
    padding: 22px;
    text-align: left;
  }

  .about-icon {
    justify-self: start;
  }

  .about-divider {
    display: none;
  }

  .footer-inner {
    justify-items: center;
    padding: 20px 0;
    text-align: center;
  }

  .footer-contact {
    justify-items: center;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    gap: 12px;
  }

  .hero-art {
    min-height: 370px;
    transform: scale(0.64);
  }

  .services {
    margin-top: 0;
  }
}
