/* Лендинг: поверх style.css */
.landing { overflow-x: hidden; }
.landing .wrap { max-width: 1120px; }

/* фон героя: мягкие пятна + сетка */
.hero-bg { position: relative; isolation: isolate; }
.hero-bg::before {
  content: ""; position: absolute; inset: -120px -20vw 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 15% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(520px 360px at 85% 10%, color-mix(in srgb, #9b5de5 18%, transparent), transparent 70%),
    radial-gradient(520px 300px at 60% 90%, color-mix(in srgb, #2ec4b6 16%, transparent), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: -120px -20vw 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.nav .logo { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.nav .logo img { width: 30px; height: 30px; }
.nav .links { display: flex; gap: 18px; align-items: center; }
.nav .links a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; }
@media (max-width: 720px) { .nav .links a:not(.btn) { display: none; } }

.hero2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 36px 0 56px; }
@media (max-width: 900px) { .hero2 { grid-template-columns: 1fr; padding-top: 16px; } }
.badge { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.hero2 h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; }
.hero2 h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #9b5de5);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 560px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }
.btn.tg { background: #229ed9; color: #fff; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 700; }

/* устройства */
.devices { position: relative; min-height: 420px; }
.laptop { position: relative; border-radius: 14px; background: #1c1c1f; padding: 10px 10px 0; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }
.laptop .bar { display: flex; gap: 6px; padding: 2px 4px 8px; }
.laptop .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.laptop .bar i:nth-child(2) { background: #febc2e; } .laptop .bar i:nth-child(3) { background: #28c840; }
.laptop .screen { border-radius: 6px 6px 0 0; overflow: hidden; background: #f7f7f5; max-height: 380px; }
.laptop .screen img { display: block; width: 100%; }
.laptop::after { content: ""; position: absolute; left: -4%; right: -4%; bottom: -14px; height: 14px; border-radius: 0 0 14px 14px;
  background: linear-gradient(#cfcfd4, #a9a9b0); }
.phone { position: absolute; right: -8px; bottom: -40px; width: 230px; border-radius: 34px; background: #111; padding: 10px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.45); }
.phone .screen { border-radius: 26px; overflow: hidden; background: #dfe7ef; height: 440px; position: relative; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .devices { margin-bottom: 40px; } .phone { right: 0; width: 190px; } .phone .screen { height: 360px; } }
@media (max-width: 520px) { .phone { display: none; } }

/* мок чата Telegram (пока нет реального скриншота бота) */
.tgchat { font: 11.5px/1.35 var(--font); color: #000; padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 6px; height: 100%;
  background: linear-gradient(160deg, #c9d9e8, #e3ecd9); }
.tgchat .hdr { background: #fff; margin: -8px -8px 2px; padding: 22px 10px 8px; font-weight: 600; font-size: 12px; display: flex; gap: 8px; align-items: center; }
.tgchat .hdr b { display: block; } .tgchat .hdr small { color: #888; font-weight: 400; }
.tgchat .ava { width: 26px; height: 26px; border-radius: 50%; background: #2f6fde; }
.tgchat .m { background: #fff; border-radius: 12px 12px 12px 4px; padding: 7px 9px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.tgchat .m.me { align-self: flex-end; background: #e1f7cb; border-radius: 12px 12px 4px 12px; }
.tgchat pre, .tgchat code { background: rgba(0,0,0,.06); color: #000; font-size: 10px; padding: 1px 3px; border-radius: 3px; }
.tgchat pre { padding: 5px; margin: 4px 0 0; white-space: pre; overflow: hidden; }
.tgchat .kb { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 4px; max-width: 88%; }
.tgchat .kb span { background: rgba(255,255,255,.7); border-radius: 8px; text-align: center; padding: 5px 0; font-size: 11px; }

/* секции */
.sec { padding: 56px 0; }
.sec h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; }
.sec .sub { color: var(--muted); margin: 0 0 28px; max-width: 640px; font-size: 17px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .ways { grid-template-columns: 1fr; } }
.way { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--bg); }
.way .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); margin-bottom: 14px; }
.way h3 { margin: 0 0 6px; font-size: 18px; }
.way p { margin: 0; color: var(--muted); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: f; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow div { counter-increment: f; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.flow div::before { content: counter(f); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: var(--accent-text); font-weight: 700; margin-bottom: 10px; }
.flow b { display: block; margin-bottom: 4px; }
.flow span { color: var(--muted); font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px -25px rgba(0,0,0,.35); background: #f7f7f5; }
.shot img { display: block; width: 100%; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; font-size: 13px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); }
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.cmp2 td:last-child, .cmp2 th:last-child { background: color-mix(in srgb, var(--accent) 8%, transparent); font-weight: 600; }
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .honest { grid-template-columns: 1fr; } }
.honest div { padding: 20px; border-radius: 14px; border: 1px dashed var(--line); }
.honest b { display: block; margin-bottom: 6px; }
.honest span { color: var(--muted); font-size: 15px; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 820px; }
@media (max-width: 700px) { .price { grid-template-columns: 1fr; } }
.plan { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); }
.plan.pro { border: 2px solid var(--accent); position: relative; }
.plan h3 { margin: 0 0 4px; }
.plan .amount { font-size: 28px; font-weight: 800; margin: 6px 0 14px; letter-spacing: -.02em; }
.final { text-align: center; padding: 64px 0; }
.final h2 { margin-bottom: 12px; }
.final .cta { justify-content: center; }
