:root {
  --bg: #070a12;
  --graphite: #0f172a;
  --panel: #111827;
  --panel-elevated: #172033;
  --text: #f8fafc;
  --secondary: #d7e0ee;
  --muted: #b3bfd0;
  --telegram: #2aabee;
  --cyan: #38bdf8;
  --success: #22c55e;
  --alert: #f43f5e;
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(42, 171, 238, 0.32);
  --shadow-blue: 0 24px 90px rgba(42, 171, 238, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(42, 171, 238, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(56, 189, 248, 0.11), transparent 26rem),
    linear-gradient(180deg, #070a12 0%, #0a0f1b 48%, #070a12 100%);
  line-height: 1.6;
}

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: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0.75rem auto 0;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.header-nav,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  color: var(--bg);
  background: linear-gradient(135deg, var(--telegram), var(--cyan));
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35);
}

.header-nav {
  display: none;
  gap: 1rem;
  color: var(--secondary);
  font-size: 0.92rem;
}

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

.header-cta {
  justify-content: center;
  min-height: 2.15rem;
  padding: 0 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(42, 171, 238, 0.14);
  font-size: 0.85rem;
  font-weight: 700;
}

.section,
.section-pad {
  width: min(var(--max), calc(100% - 1.5rem));
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-pad {
  padding: 4.25rem 0 3rem;
}

.hero {
  display: grid;
  gap: 3rem;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.1rem;
  font-size: clamp(2.55rem, 9.2vw, 5.1rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 8vw, 4.2rem);
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.hero-text {
  max-width: 42rem;
  color: var(--secondary);
  font-size: clamp(1.05rem, 3.2vw, 1.28rem);
}

.hero-note,
.section-head p,
.card p,
.mini-card p,
.pro p,
.proof-card p,
.attention-card p,
.disclaimer,
.center-note,
.microcopy {
  color: var(--muted);
}

.hero-note {
  max-width: 41rem;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.6rem 0 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #03111b;
  background: linear-gradient(135deg, var(--telegram), var(--cyan));
  box-shadow: 0 14px 42px rgba(42, 171, 238, 0.34);
}

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

.btn.full {
  width: 100%;
}

.microcopy {
  max-width: 42rem;
  font-size: 0.93rem;
}

.hero-product {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.mockup-card,
.card,
.mini-card,
.math-card,
.attention-card,
.proof-card,
.price-card,
.final-cta {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(23, 32, 51, 0.9), rgba(17, 24, 39, 0.82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.phone {
  width: min(100%, 370px);
  padding: 1rem;
  border-radius: 36px;
  box-shadow: var(--shadow-blue), 0 30px 110px rgba(56, 189, 248, 0.1), inset 0 0 0 8px rgba(7, 10, 18, 0.42);
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.35rem 0 0.9rem;
}

.phone-top span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(203, 213, 225, 0.35);
}

.bot-header,
.float-card,
.mock-title,
.price-head,
.attention-card,
.math-card,
.launch-strip {
  display: flex;
  align-items: center;
}

.bot-header {
  gap: 0.8rem;
  padding: 0.85rem;
  border-radius: 22px;
  background: rgba(42, 171, 238, 0.09);
}

.avatar {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(42, 171, 238, 0.2);
}

.bot-header small,
.float-card small,
.label,
.code {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.barcode-card,
.progress-card,
.mini-alert,
.poster-preview {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(7, 10, 18, 0.42);
}

.barcode {
  display: flex;
  align-items: stretch;
  gap: 0.22rem;
  height: 4.8rem;
  margin: 0.7rem 0 0.55rem;
  padding: 0.7rem;
  border-radius: 16px;
  background: #f8fafc;
}

.barcode i {
  flex: 1;
  border-radius: 2px;
  background: #07111f;
}

.barcode i:nth-child(2n) { flex: 0.45; }
.barcode i:nth-child(3n) { flex: 0.8; }
.barcode i:nth-child(5n) { flex: 1.35; }

.progress-card strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.progress {
  height: 0.65rem;
  margin-top: 0.85rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--telegram), var(--success));
}

.bot-buttons {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.bot-buttons button,
.mock-button {
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--text);
  background: rgba(42, 171, 238, 0.12);
  font: inherit;
  font-weight: 700;
}

.bot-buttons button {
  padding: 0.85rem;
}

.float-card {
  position: absolute;
  gap: 0.65rem;
  width: max-content;
  max-width: 78vw;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-weight: 900;
}

.success { color: #04130a; background: var(--success); }
.blue { color: #03111b; background: var(--telegram); }
.cyan { color: #03111b; background: var(--cyan); }
.alert { color: #fff; background: var(--alert); }

.poster-chip { top: 1.2rem; left: 0; }
.owner-chip { top: 8rem; right: 0; }
.alert-chip { bottom: 8rem; left: 0; }
.crm-chip { bottom: 1.4rem; right: 0; }

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head.compact {
  max-width: 700px;
}

.two-grid,
.three-grid,
.mechanics-grid,
.pricing-grid,
.mockups-grid {
  display: grid;
  gap: 1rem;
}

.card,
.mini-card,
.price-card,
.proof-card,
.final-cta {
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.card {
  min-height: 220px;
}

.accent-card,
.core {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-blue);
}

.feature-card ul,
.price-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--secondary);
}

.feature-card li::marker,
.price-card li::marker {
  color: var(--telegram);
}

.steps {
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.steps div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.64);
  color: var(--secondary);
}

.steps span,
.timeline li::before {
  color: var(--cyan);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 900;
}

.center-note {
  margin: 1.2rem 0 0;
  text-align: center;
}

.mockups-section {
  padding-top: 1rem;
}

.owner-mock,
.sheet-mock,
.print-mock {
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.mock-title {
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 800;
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.dot.blue { background: var(--telegram); }
.dot.green { background: var(--success); }

.report-row,
.sheet-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
}

.report-row strong {
  color: var(--text);
  font-size: 1.35rem;
}

.mini-alert {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border-color: rgba(244, 63, 94, 0.38);
}

.mini-alert strong {
  color: var(--alert);
  font-size: 1.55rem;
}

.mock-button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}

.tabs span {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--secondary);
  background: rgba(148, 163, 184, 0.12);
  font-size: 0.78rem;
}

.sheet-row {
  grid-template-columns: 1fr 0.55fr 0.7fr;
  font-size: 0.9rem;
}

.sheet-row.head {
  color: var(--cyan);
  font-weight: 800;
}

.poster-preview {
  display: grid;
  place-items: center;
  min-height: 100%;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 171, 238, 0.22), transparent 12rem),
    rgba(7, 10, 18, 0.42);
}

.brand-mini {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.16em;
}

.qr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  width: 9.5rem;
  height: 9.5rem;
  margin: 1rem auto;
  padding: 0.7rem;
  border-radius: 18px;
  background: #f8fafc;
}

.qr span {
  border-radius: 5px;
  background: #07111f;
}

.qr span:nth-child(2), .qr span:nth-child(6), .qr span:nth-child(8) {
  background: transparent;
  border: 3px solid #07111f;
}

.math-card {
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

.formula {
  display: grid;
  gap: 0.45rem;
  padding: 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: rgba(42, 171, 238, 0.09);
}

.formula span,
.formula small {
  color: var(--muted);
}

.formula strong {
  font-size: clamp(2.2rem, 12vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.disclaimer {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

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

.mini-card {
  min-height: 150px;
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.attention-card {
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

blockquote {
  margin: 0;
  padding: 1.2rem;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  color: var(--text);
  background: rgba(42, 171, 238, 0.1);
  font-size: clamp(1.5rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.launch-strip {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1.1rem;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: rgba(42, 171, 238, 0.1);
}

.launch-strip strong {
  font-size: 1.35rem;
}

.launch-strip span {
  color: var(--muted);
}

.proof-card {
  background:
    linear-gradient(135deg, rgba(42, 171, 238, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(23, 32, 51, 0.9), rgba(17, 24, 39, 0.82));
}

.price-card {
  padding: 1.25rem;
}

.price-head {
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.price-head span {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-head strong {
  text-align: right;
  font-size: clamp(1.2rem, 5vw, 2rem);
  line-height: 1.05;
}

.setup-options {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.setup-options div {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(7, 10, 18, 0.36);
}

.setup-options strong {
  color: var(--text);
  font-size: 1.55rem;
}

.setup-options span {
  color: var(--muted);
}

.price-card .btn {
  margin-top: 1.25rem;
}

.timeline {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: launch;
}

.timeline li {
  position: relative;
  padding: 1rem 1rem 1rem 3.3rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17, 24, 39, 0.56);
  color: var(--secondary);
  counter-increment: launch;
}

.timeline li::before {
  content: counter(launch, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
}

.final-cta {
  padding: 1.35rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(42, 171, 238, 0.26), transparent 16rem),
    linear-gradient(180deg, rgba(23, 32, 51, 0.96), rgba(17, 24, 39, 0.9));
}

.final-cta p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--secondary);
}

.centered {
  justify-content: center;
}

@media (min-width: 560px) {
  .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn {
    min-width: 12rem;
  }

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

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

@media (min-width: 820px) {
  .site-header {
    width: min(var(--max), calc(100% - 3rem));
  }

  .header-nav {
    display: flex;
  }

  .section,
  .section-pad {
    width: min(var(--max), calc(100% - 3rem));
  }

  .section {
    padding: 5.5rem 0;
  }

  .section-pad {
    padding: 5.25rem 0 3.4rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    align-items: center;
    gap: 2.4rem;
  }

  .hero-product {
    min-height: 660px;
    transform: translate(-0.5rem, -1.25rem);
  }

  .phone {
    width: min(100%, 430px);
  }

  .poster-chip { left: 0.35rem; }
  .owner-chip { right: 0.35rem; }
  .alert-chip { left: 0.35rem; }
  .crm-chip { right: 0.35rem; }

  .three-grid,
  .pricing-grid,
  .mockups-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .math-card,
  .attention-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
  }

  .math-card > div:first-child,
  .attention-card > div:first-child {
    max-width: 54%;
  }

  .formula,
  blockquote {
    width: min(42%, 420px);
  }

  .card,
  .price-card,
  .proof-card,
  .final-cta {
    padding: 1.8rem;
  }
}

@media (min-width: 1060px) {
  .mechanics-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps div {
    min-height: 142px;
  }
}

@media (max-width: 720px) {
  h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 12.5vw, 4.7rem);
  }

  .hero-text {
    font-size: clamp(1rem, 4.2vw, 1.18rem);
  }

  .cta-row {
    margin-top: 1.35rem;
  }
}

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

  .header-cta {
    font-size: 0.78rem;
  }

  .hero-product {
    min-height: 650px;
  }

  .float-card {
    font-size: 0.86rem;
  }

  .poster-chip { top: 0.2rem; left: 0.1rem; }
  .owner-chip { top: 7.3rem; right: 0.1rem; }
  .alert-chip { bottom: 7.4rem; left: 0.1rem; }
  .crm-chip { bottom: 0.4rem; right: 0.1rem; }
}
