:root {
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #ecfdf3;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --blue: #2489e8;
  --purple: #7c3aed;
  --orange: #f97316;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 28px rgba(15, 23, 42, 0.06);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% -10%, #ffffff 0, #f8fafc 46%, #f4f7fb 100%);
}

a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(248, 250, 252, 0.76));
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.logo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--green);
}
.logo-icon svg { width: 32px; height: 32px; }
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: #334155;
}
.main-nav a {
  position: relative;
  padding: 27px 0;
  transition: color .2s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}
.telegram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
}
.telegram-link svg { width: 18px; height: 18px; }

.max-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #1d62e8;
}

.max-mark {
  min-width: 28px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 7px;
  background: #eaf3ff;
  color: #1d62e8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #18b657, var(--green-dark));
  box-shadow: 0 12px 26px rgba(22, 163, 74, 0.24);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(22, 163, 74, 0.32); }
.btn-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: var(--shadow-soft);
}

.max-btn {
  color: #1d62e8;
}

.max-btn .max-mark {
  background: #eaf3ff;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cta-actions .btn {
  min-width: 128px;
}

.btn-small { min-height: 46px; padding: 0 22px; font-size: 14px; border-radius: 10px; }

.section-soft { padding: 54px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -0.06em;
}
.hero-text {
  max-width: 600px;
  margin: 26px 0 0;
  color: #475569;
  font-size: 21px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.hero-visual {
  position: relative;
  min-height: 360px;
}
.dots {
  position: absolute;
  left: 0;
  top: 34px;
  width: 170px;
  height: 90px;
  opacity: .38;
  background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
  background-size: 16px 16px;
}
.laptop-card {
  position: absolute;
  right: 110px;
  top: 28px;
  width: 260px;
  height: 175px;
  border-radius: 18px 18px 8px 8px;
  background: #1f2937;
  padding: 12px;
  transform: rotate(7deg);
  box-shadow: 0 28px 50px rgba(15, 23, 42, .22);
}
.laptop-screen {
  height: 100%;
  padding: 18px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #eff6ff);
}
.chart-bars { display: flex; align-items: end; gap: 8px; height: 52px; }
.chart-bars span { width: 18px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #22c55e, #86efac); }
.chart-bars span:nth-child(1) { height: 24px; }
.chart-bars span:nth-child(2) { height: 34px; }
.chart-bars span:nth-child(3) { height: 44px; }
.chart-bars span:nth-child(4) { height: 30px; }
.chart-bars span:nth-child(5) { height: 58px; }
.chart-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.donut {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(#16a34a 0 62%, #dbeafe 62% 100%);
  position: relative;
}
.donut::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.chart-row span:not(.donut), .screen-lines i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #dbeafe;
}
.chart-row span:not(.donut) { width: 80px; }
.screen-lines { margin-top: 15px; display: grid; gap: 8px; }
.screen-lines i:nth-child(1) { width: 140px; }
.screen-lines i:nth-child(2) { width: 110px; }
.screen-lines i:nth-child(3) { width: 130px; }
.laptop-base {
  position: absolute;
  left: -28px;
  right: -28px;
  bottom: -18px;
  height: 18px;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
}
.db-stack {
  position: absolute;
  right: 20px;
  top: 92px;
  width: 116px;
  height: 150px;
}
.db-stack span {
  position: absolute;
  left: 0;
  width: 116px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #e2e8f0);
  box-shadow: 0 16px 26px rgba(15, 23, 42, .12);
}
.db-stack span:nth-child(1) { top: 0; }
.db-stack span:nth-child(2) { top: 42px; }
.db-stack span:nth-child(3) { top: 84px; }
.contact-card {
  position: absolute;
  right: 96px;
  bottom: 42px;
  width: 150px;
  height: 82px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-card b { width: 34px; height: 34px; border-radius: 50%; background: var(--green); display: block; float: left; margin-right: 13px; }
.contact-card i { display: block; height: 8px; border-radius: 999px; background: #cbd5e1; margin: 7px 0; overflow: hidden; }
.check-badge {
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(180deg, #22c55e, #15803d);
  box-shadow: 0 18px 32px rgba(22, 163, 74, .28);
}

.stats-section { padding: 24px 0 18px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat-card {
  min-height: 170px;
  padding: 24px 18px 22px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.stat-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
}
.stat-icon svg { width: 28px; height: 28px; }
.stat-green { color: var(--green); background: #d9fbe7; }
.stat-blue { color: #228be6; background: #dbeafe; }
.stat-purple { color: var(--purple); background: #ede9fe; }
.stat-orange { color: var(--orange); background: #ffedd5; }
.stat-card h3 { margin: 0 0 10px; font-size: 17px; line-height: 1.22; }
.stat-card strong { display: block; color: #099044; font-size: clamp(27px, 2.8vw, 36px); line-height: 1; letter-spacing: -0.055em; }
.update-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

.work-section { padding: 20px 0 16px; }
.section-head { text-align: center; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -0.04em; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step-card {
  position: relative;
  min-height: 150px;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  width: 18px;
  border-top: 2px dashed var(--green);
}
.step-card:not(:last-child)::before {
  content: "";
  position: absolute;
  right: -23px;
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}
.step-num {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 20px;
}
.step-num.green { color: var(--green-dark); background: #dcfce7; }
.step-num.blue { color: #228be6; background: #dbeafe; }
.step-num.purple { color: var(--purple); background: #ede9fe; }
.step-num.orange { color: var(--orange); background: #ffedd5; }
.step-card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.25; }
.step-card p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.45; }

.export-section { padding: 14px 0 26px; }
.section-head.compact { margin-bottom: 16px; }
.chips-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.chip {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .04);
}
.chip svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--green); }

.price-section { padding: 0 0 18px; }
.price-card {
  min-height: 120px;
  display: grid;
  grid-template-columns: 120px 220px minmax(250px, 1fr) 330px;
  align-items: center;
  gap: 24px;
  padding: 26px 34px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: linear-gradient(90deg, #f7fff9, #ffffff 55%, #f0fdf4);
  box-shadow: var(--shadow-soft);
}
.price-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 18px 18px 18px 5px;
  transform: rotate(-18deg);
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(180deg, #86efac, #16a34a);
  box-shadow: 0 14px 28px rgba(22, 163, 74, .24);
}
.price-card h2 { margin: 0; font-size: 32px; letter-spacing: -0.04em; }
.price-value { color: #099044; font-size: clamp(38px, 5vw, 56px); line-height: 1; font-weight: 900; letter-spacing: -0.06em; white-space: nowrap; }
.price-card p { margin: 0; padding-left: 26px; border-left: 1px solid #cbd5e1; color: #475569; font-size: 15px; line-height: 1.5; }

.final-cta { padding: 0 0 44px; }
.cta-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 106px;
  padding: 22px 34px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: linear-gradient(90deg, #f0fdf4, #ffffff 65%, #f0fdf4);
  box-shadow: var(--shadow-soft);
}
.cta-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #229ed9;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.cta-icon svg { width: 34px; height: 34px; }
.cta-card h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.2; letter-spacing: -0.035em; }
.cta-card p { margin: 0; color: var(--muted); font-size: 16px; }

@media (max-width: 1060px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; max-width: 520px; margin: 0 auto; width: 100%; }
  .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::before, .step-card::after { display: none; }
  .chips-grid { grid-template-columns: repeat(5, 1fr); }
  .price-card { grid-template-columns: 90px 1fr; }
  .price-value { grid-column: 1 / -1; }
  .price-card p { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { padding-top: 10px; }
  .header-inner { min-height: auto; padding: 14px; gap: 12px; }
  .logo { font-size: 20px; }
  .header-actions { gap: 10px; }
  .telegram-link,
  .max-link { display: none; }
  .btn-small { min-height: 40px; padding: 0 14px; }
  .section-soft { padding-top: 36px; }
  h1 { font-size: 42px; }
  .hero-text { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { display: none; }
  .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  .chips-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .price-icon { width: 70px; height: 70px; }
  .price-value { font-size: 42px; white-space: normal; }
  .cta-card { grid-template-columns: 1fr; padding: 24px; }
  .cta-actions { display: grid; width: 100%; }
  .cta-actions .btn,
  .cta-card .btn { width: 100%; }
}
