:root {
  --bg: #070806;
  --bg-soft: #0d100d;
  --surface: rgba(15, 18, 17, 0.78);
  --surface-strong: rgba(19, 24, 22, 0.92);
  --line: rgba(157, 238, 91, 0.22);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f4f7ee;
  --muted: #aeb7ac;
  --muted-2: #6f796d;
  --green: #9cf052;
  --green-2: #5ecb3f;
  --cyan: #38e2c4;
  --amber: #f3b51b;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 4%, rgba(86, 212, 100, 0.12), transparent 26rem),
    radial-gradient(circle at 8% 18%, rgba(56, 226, 196, 0.07), transparent 22rem),
    linear-gradient(180deg, #050604 0%, var(--bg) 42%, #050604 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
  z-index: -1;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  box-shadow: inset 0 0 24px rgba(156, 240, 82, 0.12);
}

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

.nav a,
.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.header-cta {
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: 36px;
  padding: 54px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(58px, 8vw, 106px);
  line-height: 0.92;
  font-weight: 700;
}

h1 span {
  color: var(--green);
  display: block;
}

.hero-lead {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  background: linear-gradient(135deg, var(--green), #75de45);
  color: #071006;
  box-shadow: 0 18px 52px rgba(119, 226, 70, 0.24);
}

.button-secondary {
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--line);
}

.link-row {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.link-row span:first-child {
  color: var(--green);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
  max-width: 540px;
}

.proof-grid div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.proof-grid strong {
  display: block;
  color: var(--green);
  font-size: 24px;
  margin-bottom: 8px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.map-panel {
  min-height: 500px;
  border-radius: 8px;
  border: 1px solid rgba(156, 240, 82, 0.16);
  background:
    radial-gradient(circle at 58% 42%, rgba(156, 240, 82, 0.11), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.world-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.land {
  fill: rgba(92, 106, 102, 0.42);
  stroke: rgba(210, 235, 220, 0.16);
  stroke-width: 1.2;
}

.route {
  fill: none;
  stroke: url("#route");
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  opacity: 0.88;
  animation: routeFlow 8s linear infinite;
}

.route-two {
  animation-duration: 9.5s;
}

.route-three,
.route-four {
  animation-duration: 7s;
}

.pin circle {
  fill: var(--green);
  filter: url("#glow");
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.4;
  transform-origin: center;
  animation: pulse 2.8s ease-in-out infinite;
}

.pin-usa circle {
  fill: var(--amber);
}

.pin text {
  fill: #f5faef;
  font-size: 14px;
  font-weight: 800;
}

.pin text + text {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.bot-preview {
  position: absolute;
  left: 26px;
  bottom: 22px;
  width: min(430px, 58%);
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(5, 7, 6, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.bot-preview img {
  border-radius: 6px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(260px, 0.45fr);
  gap: 32px;
  align-items: end;
  padding: 54px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading h2 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

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

.platform-card,
.workflow-step,
.price-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    var(--surface);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.18);
}

.platform-card {
  min-height: 270px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.platform-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(156, 240, 82, 0.5), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.platform-card:hover::after {
  transform: scaleX(1);
}

.platform-card h3,
.workflow-step h3,
.price-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.platform-card p,
.workflow-step p,
.price-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.country-shape {
  display: block;
  width: 100%;
  height: 96px;
  border-radius: 999px 42% 54% 44%;
  background:
    radial-gradient(circle at 46% 48%, rgba(156, 240, 82, 0.85), transparent 4px),
    linear-gradient(135deg, rgba(156, 240, 82, 0.24), rgba(156, 240, 82, 0.04));
  clip-path: polygon(10% 62%, 22% 28%, 46% 18%, 72% 26%, 94% 62%, 70% 82%, 36% 76%);
  border: 1px solid rgba(156, 240, 82, 0.22);
}

.usa {
  background:
    radial-gradient(circle at 44% 48%, rgba(243, 181, 27, 0.9), transparent 4px),
    linear-gradient(135deg, rgba(243, 181, 27, 0.28), rgba(243, 181, 27, 0.04));
}

.europe {
  clip-path: polygon(12% 44%, 30% 20%, 54% 28%, 72% 18%, 90% 44%, 78% 74%, 52% 64%, 34% 82%);
}

.korea {
  clip-path: polygon(44% 10%, 64% 28%, 58% 54%, 72% 78%, 48% 92%, 32% 66%, 26% 38%);
}

.china {
  clip-path: polygon(10% 45%, 28% 22%, 56% 18%, 86% 38%, 76% 68%, 50% 82%, 24% 72%);
}

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

.workflow-step {
  padding: 26px;
}

.workflow-step span {
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.price-card {
  padding: 30px;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: rgba(156, 240, 82, 0.78);
  box-shadow: 0 24px 90px rgba(113, 226, 70, 0.15);
}

.price-card.featured::before {
  content: "Лучший выбор";
  position: absolute;
  top: 18px;
  right: 18px;
  color: #081006;
  background: var(--green);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.price {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  margin: 12px 0 24px;
}

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

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(156, 240, 82, 0.6);
}

.price-card a {
  min-height: 54px;
  margin-top: auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.price-card.featured a,
.price-card a:hover {
  background: var(--green);
  color: #081006;
  transform: translateY(-2px);
}

.compare-panel {
  display: grid;
  grid-template-columns: 0.65fr 1.1fr 1fr;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.compare-brand,
.compare-list,
.competitor-list {
  padding: 28px;
}

.compare-brand {
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-soft);
}

.compare-brand span {
  color: var(--green);
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 0.95;
}

.compare-list {
  display: grid;
  gap: 18px;
  border-right: 1px solid var(--line-soft);
}

.compare-list div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 18px;
}

.compare-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.compare-list strong,
.competitor-list h3 {
  display: block;
  margin: 0 0 8px;
  font-size: 17px;
}

.compare-list span,
.competitor-list p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.competitor-list p:last-child {
  margin-bottom: 0;
}

.final-cta {
  margin-top: 54px;
  margin-bottom: 24px;
  padding: clamp(26px, 4vw, 42px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  border: 1px solid rgba(156, 240, 82, 0.5);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 76% 14%, rgba(156, 240, 82, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

.final-cta h2 {
  max-width: 620px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
}

.final-cta p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes routeFlow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.28);
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .map-panel {
    min-height: 430px;
  }

  .world-map {
    min-height: 430px;
  }

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

  .compare-panel {
    grid-template-columns: 1fr;
  }

  .compare-brand,
  .compare-list {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    padding: 0 14px;
  }

  .section-shell {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: auto;
    padding: 30px 0 54px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(54px, 18vw, 78px);
  }

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

  .button {
    width: 100%;
    min-height: 56px;
  }

  .hero-actions,
  .final-actions {
    width: 100%;
  }

  .link-row {
    display: grid;
    gap: 8px;
  }

  .proof-grid,
  .workflow-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 360px;
  }

  .world-map {
    min-width: 720px;
    min-height: 360px;
    transform: translateX(-110px);
  }

  .bot-preview {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 12px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 42px;
  }

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

  .platform-card {
    min-height: 230px;
  }

  .final-cta,
  .footer {
    display: grid;
  }
}

@media (max-width: 420px) {
  .brand span:last-child {
    display: none;
  }

  .proof-grid div {
    min-height: 86px;
  }

  .map-panel {
    min-height: 330px;
  }

  .world-map {
    min-width: 690px;
    transform: translateX(-150px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
