﻿:root {
  --bg: #08111f;
  --bg-soft: #0e1a2f;
  --card: rgba(15, 25, 45, 0.82);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #a7b2c5;
  --primary: #2dd4bf;
  --primary-2: #38bdf8;
  --danger: #fb7185;
  --success: #22c55e;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.12), transparent 28%),
    linear-gradient(180deg, #07101d 0%, #0a1322 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(8, 17, 31, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.3);
  position: relative;
  overflow: hidden;
}

.logo__mark::before,
.logo__mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.logo__mark::before {
  width: 18px;
  height: 4px;
  transform: rotate(-35deg);
  top: 18px;
  left: 8px;
}

.logo__mark::after {
  width: 14px;
  height: 4px;
  transform: rotate(45deg);
  top: 14px;
  right: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  transition: 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 16px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.btn--primary {
  color: #041019;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.22);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero { padding: 72px 0 48px; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.hero__content,
.hero__card,
.card,
.pricing,
.faq,
.cta {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__content {
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  pointer-events: none;
}

.status {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.status strong {
  font-size: 16px;
  line-height: 1.35;
}

.status span,
.status small {
  color: var(--muted);
  line-height: 1.6;
}

.status--success {
  border-color: rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.1);
}

.status--error {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(251, 113, 133, 0.1);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #c3fbf2;
  background: rgba(45, 212, 191, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.2);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat__value {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat__label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero__card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.hero-diagram {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 20% 20%, rgba(45, 212, 191, 0.18), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(56, 189, 248, 0.18), transparent 24%),
    linear-gradient(180deg, #0b1830 0%, #0b1220 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 1fr;
  grid-template-rows: 1fr 0.8fr 1fr;
  gap: 18px;
  padding: 26px;
}

.hero-diagram::before {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.hero-diagram__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-diagram__lines path {
  fill: none;
  stroke: rgba(125, 211, 252, 0.65);
  stroke-width: 3;
  stroke-linecap: round;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.24));
  stroke-dasharray: 18 18;
  animation: routeFlow 3s linear infinite;
}

.diagram-card {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 6px;
  width: min(100%, 250px);
  padding: 18px 18px 18px 22px;
  border-radius: 18px;
  background: rgba(5, 13, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.diagram-card::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
  animation: pulseDot 2.2s infinite;
}

.diagram-card b {
  font-size: 16px;
  padding-left: 12px;
}

.diagram-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 12px;
}

.diagram-card--spb {
  grid-column: 2;
  grid-row: 1;
}

.diagram-card--user {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.diagram-card--eu {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}

.diagram-card--ru {
  grid-column: 2;
  grid-row: 3;
}

.hero__list {
  display: grid;
  gap: 12px;
}

.hero__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.6;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.14);
  position: relative;
  margin-top: 1px;
}

.check::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
  left: 6px;
  top: 7px;
}

.section { padding: 24px 0 0; }

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section__eyebrow {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section__desc {
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
}

.section__desc--spaced { margin-bottom: 16px; }

.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 18px;
}

.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  padding: 24px;
  transition: 0.2s ease;
}

.card:hover { transform: translateY(-3px); }

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.2), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.7;
}

.pain-list,
.service-list,
.audience-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pain-list li,
.service-list li,
.audience-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.pain-list li {
  position: relative;
  padding-left: 46px;
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(251, 113, 133, 0.18);
  box-shadow: inset 0 0 0 5px rgba(251, 113, 133, 0.65);
}

.pricing {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: auto -100px -110px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
  pointer-events: none;
}

.price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 18px 0;
}

.price__main {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price__sub {
  color: var(--muted);
  padding-bottom: 8px;
}

.pricing__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
}

.pricing__list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.pricing__list b { color: var(--text); }

.faq { padding: 12px; }

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq__item:last-child { border-bottom: 0; }

.faq__question {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text);
  text-align: left;
  padding: 22px 18px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--primary);
  transition: 0.2s ease;
}

.faq__item.is-open .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  display: none;
  padding: 0 18px 22px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 900px;
}

.cta {
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px 0 54px;
}

.cta h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.cta p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
}

.cta__actions {
  display: flex;
  align-items: center;
}

.footer {
  padding: 22px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle::before,
.mobile-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.2s ease;
}

.mobile-toggle span { top: 21px; }
.mobile-toggle::before { top: 14px; }
.mobile-toggle::after { top: 28px; }
.mobile-toggle.is-open span { opacity: 0; }
.mobile-toggle.is-open::before { top: 21px; transform: rotate(45deg); }
.mobile-toggle.is-open::after { top: 21px; transform: rotate(-45deg); }

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

@keyframes routeFlow {
  from { stroke-dashoffset: 72; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1080px) {
  .hero__grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .cta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    padding: 16px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(7, 13, 24, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .nav.is-open { display: flex; }
  .nav a { font-size: 15px; }
  .nav .btn, .btn { width: 100%; }
  .mobile-toggle { display: inline-block; }
  .hero { padding-top: 34px; }
  .hero__content,
  .hero__card,
  .card,
  .pricing,
  .cta { padding: 22px; }
  .header__inner { position: relative; }

  .hero-diagram {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    padding: 20px;
  }

  .hero-diagram__lines { display: none; }
  .diagram-card,
  .diagram-card--spb,
  .diagram-card--user,
  .diagram-card--eu,
  .diagram-card--ru {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
  }

  .cta__actions { width: 100%; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .hero__actions { flex-direction: column; }
}
