/* ============================================================
   Real_Speak — публичная главная страница (landing)
   Отдельный файл, чтобы не тянуть в лендинг стили приложения.
   ============================================================ */

:root {
  --lp-bg: #0b0d12;
  --lp-bg-2: #10131b;
  --lp-card: rgba(23, 27, 38, .78);
  --lp-card-solid: #171b26;
  --lp-line: rgba(255, 255, 255, .085);
  --lp-line-strong: rgba(255, 255, 255, .15);
  --lp-text: #eef0f6;
  --lp-muted: #a2a9ba;
  --lp-dim: #747c8f;
  --lp-brand: #5b67f5;
  --lp-brand-2: #8b5cf6;
  --lp-cyan: #43d9c5;
  --lp-green: #34d27b;
  --lp-radius: 18px;
  --lp-shadow: 0 30px 90px rgba(0, 0, 0, .55);
  --lp-font: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; overflow-x: hidden; }

.hidden { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 600px at 8% -8%, rgba(91, 103, 245, .30), transparent 62%),
    radial-gradient(760px 540px at 92% 8%, rgba(139, 92, 246, .20), transparent 60%),
    radial-gradient(900px 520px at 50% 118%, rgba(67, 217, 197, .10), transparent 62%),
    var(--lp-bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 35%, transparent 100%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------------- header ---------------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(11, 13, 18, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.lp-header.scrolled {
  border-bottom-color: var(--lp-line);
  background: rgba(11, 13, 18, .88);
}

.lp-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 18px;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--lp-brand), var(--lp-brand-2));
  box-shadow: 0 8px 24px rgba(91, 103, 245, .38);
}

.brand span:last-child { color: var(--lp-text); }
.brand small {
  color: var(--lp-dim);
  font-size: 11px;
  font-weight: 600;
  padding-left: 2px;
  display: none;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 18px;
}

.lp-nav a {
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 600;
  transition: color .15s ease;
}
.lp-nav a:hover { color: #fff; }

.lp-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--lp-line);
  border-radius: 9px;
  color: var(--lp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  transition: color .15s ease, border-color .15s ease;
}
.lang-switch:hover { color: #fff; border-color: rgba(91, 103, 245, .5); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #5b67f5, #8158f6 60%, #9a5cf2);
  box-shadow: 0 12px 30px rgba(91, 103, 245, .34), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(91, 103, 245, .46), inset 0 1px 0 rgba(255, 255, 255, .25); }

.btn-ghost {
  color: var(--lp-text);
  background: rgba(255, 255, 255, .035);
  border-color: var(--lp-line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .07); border-color: var(--lp-line-strong); }

.btn-lg { min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 15px; border-radius: 10px; font-size: 13.5px; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--lp-line);
  border-radius: 11px;
  background: rgba(255, 255, 255, .035);
  color: var(--lp-text);
  font-size: 18px;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(42px, 6vw, 72px);
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 9px;
  margin-bottom: 23px;
  border: 1px solid rgba(91, 103, 245, .35);
  border-radius: 999px;
  background: rgba(91, 103, 245, .10);
  color: #c7ccff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

.eyebrow .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-green);
  box-shadow: 0 0 0 0 rgba(52, 210, 123, .6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 210, 123, .55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 210, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 210, 123, 0); }
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 5.1vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 850;
  text-wrap: balance;
}

.hero h1 .grad {
  display: inline-block;
  background: linear-gradient(100deg, #a8b0ff 0%, #c4a7ff 42%, #6fe6d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin: 0;
  max-width: 540px;
  color: var(--lp-muted);
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.65;
}

.hero-lead strong { color: #dfe2ec; font-weight: 650; }

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-cta .btn-primary { position: relative; overflow: hidden; }
.hero-cta .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.hero-cta .btn-primary:hover::after { transform: translateX(120%); }
.hero-cta .btn-primary span { font-size: 17px; transition: transform .16s ease; }
.hero-cta .btn-primary:hover span { transform: translateX(3px); }

.hero-login {
  margin-top: 17px;
  color: var(--lp-dim);
  font-size: 13.5px;
}
.hero-login a { color: #b9c0d4; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-login a:hover { color: #fff; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  color: #a6adbf;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .04em;
}
.trust-row li svg { width: 13px; height: 13px; opacity: .8; }

/* ---------------- hero demo window ---------------- */

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -36px -26px -32px;
  z-index: -1;
  border-radius: 40px;
  background: radial-gradient(ellipse at 50% 50%, rgba(91, 103, 245, .22), transparent 68%);
  filter: blur(10px);
}

.app-window {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 17px;
  background: #161922;
  box-shadow: var(--lp-shadow), 0 0 0 1px rgba(0, 0, 0, .4);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-2.4deg) rotateX(1.1deg);
  transform-origin: 50% 50%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.app-window:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-3px); }

.window-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 13px;
  background: #11141b;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a3f4d; }
.window-dots i:nth-child(1) { background: #e56767; }
.window-dots i:nth-child(2) { background: #e0b44f; }
.window-dots i:nth-child(3) { background: #56c271; }

.window-url {
  flex: 1;
  max-width: 290px;
  margin: 0 auto;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  background: #0c0f15;
  color: #6e7789;
  font-size: 10.5px;
  text-align: center;
  letter-spacing: .01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.window-url b { color: #99a1b3; font-weight: 600; }

.demo-chat {
  display: grid;
  grid-template-columns: 46px 148px minmax(0, 1fr);
  height: 446px;
}

.demo-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  background: #0e1117;
  border-right: 1px solid rgba(255, 255, 255, .05);
}
.demo-rail .srv {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  color: #c7ccda;
  background: #222633;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-radius .15s ease, background .15s ease;
}
.demo-rail .srv.active {
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #5b67f5, #8b5cf6);
  box-shadow: 0 5px 15px rgba(91, 103, 245, .35);
}
.demo-rail .srv.add { color: #677087; background: transparent; border-style: dashed; font-size: 17px; font-weight: 400; }
.demo-rail .sep { width: 22px; height: 1px; background: rgba(255, 255, 255, .07); margin: 3px 0; }

.demo-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #141821;
  border-right: 1px solid rgba(255, 255, 255, .055);
}
.demo-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: 43px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #e7e9f0;
  font-size: 11.5px;
  font-weight: 750;
}
.demo-side-head .plus { color: #7c8599; font-size: 16px; font-weight: 400; }
.demo-side-body { padding: 11px 7px; overflow: hidden; }
.demo-cat {
  margin: 9px 6px 5px;
  color: #677087;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.demo-channel {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  margin-bottom: 2px;
  border-radius: 6px;
  color: #8e97aa;
  font-size: 11.5px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-channel.active { color: #fff; background: rgba(91, 103, 245, .20); }
.demo-channel .hash { color: #677087; font-size: 12px; }
.demo-channel .badge { margin-left: auto; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px; background: #5b67f5; color: #fff; font-size: 8.5px; display: grid; place-items: center; font-weight: 800; }
.demo-voice { display: flex; align-items: center; gap: 6px; padding: 5px 7px; color: #8e97aa; font-size: 11px; }
.demo-voice .voice-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 3px rgba(52, 210, 123, .12); }
.demo-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-top: 1px solid rgba(255, 255, 255, .055);
  background: #11151d;
}
.demo-user .av { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #f2a65a, #e8658c); }
.demo-user b { display: block; color: #d8dce7; font-size: 10px; line-height: 1.25; }
.demo-user small { display: block; color: #34d27b; font-size: 8.5px; line-height: 1.25; }

.demo-main { display: flex; flex-direction: column; min-width: 0; background: #1a1e29; }
.demo-head {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 43px;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  color: #e7e9f0;
  font-size: 12px;
  font-weight: 700;
}
.demo-head .hash { color: #677087; font-size: 17px; font-weight: 400; }
.demo-head .tag { padding: 1px 6px; border-radius: 5px; background: rgba(91, 103, 245, .2); color: #aeb5ff; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.demo-head .head-icons { margin-left: auto; display: flex; gap: 8px; color: #6f788b; font-size: 11px; }

.demo-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 11px 13px 8px;
  scrollbar-width: thin;
  scrollbar-color: #2d3341 transparent;
}
.demo-msgs::-webkit-scrollbar { width: 6px; }
.demo-msgs::-webkit-scrollbar-thumb { background: #2d3341; border-radius: 99px; }

.demo-day { display: flex; align-items: center; gap: 9px; margin: 3px 0 10px; color: #677087; font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.demo-day::before, .demo-day::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .06); }

.dmsg { display: flex; gap: 8px; margin-bottom: 12px; animation: msgIn .25s ease both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.dmsg .av { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 800; }
.dmsg[data-who="anya"] .av { background: linear-gradient(135deg, #e8658c, #b45cf0); }
.dmsg[data-who="max"] .av { background: linear-gradient(135deg, #36b4e8, #4f6ef7); }
.dmsg[data-who="me"] .av { background: linear-gradient(135deg, #f2a65a, #e8658c); }
.dmsg .body { min-width: 0; flex: 1; }
.dmsg .meta { display: flex; align-items: baseline; gap: 6px; margin-bottom: 1px; }
.dmsg .name { color: #dfe2ec; font-size: 10.5px; font-weight: 750; }
.dmsg .time { color: #5c6475; font-size: 8px; }
.dmsg .text { color: #b9bfce; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.dmsg .text b { color: #e6e8f0; font-weight: 700; }
.dmsg.own { flex-direction: row-reverse; }
.dmsg.own .body { display: flex; flex-direction: column; align-items: flex-end; }
.dmsg.own .meta { flex-direction: row-reverse; }
.dmsg.own .text { padding: 6px 9px; border-radius: 9px 3px 9px 9px; color: #eef0ff; background: linear-gradient(135deg, rgba(91, 103, 245, .82), rgba(139, 92, 246, .82)); }
.dmsg .reaction { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; padding: 1px 5px; border: 1px solid rgba(91, 103, 245, .3); border-radius: 99px; background: rgba(91, 103, 245, .12); color: #b9c0d4; font-size: 8.5px; }
.dmsg .file-card { display: flex; align-items: center; gap: 7px; margin-top: 5px; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 7px; background: #151923; font-size: 9.5px; color: #aab2c4; }
.dmsg .file-card .fi { width: 22px; height: 26px; border-radius: 4px; display: grid; place-items: center; background: rgba(91, 103, 245, .2); color: #aeb5ff; font-size: 8px; font-weight: 800; }
.dmsg .file-card b { display: block; color: #d7dbe6; font-size: 9.5px; }
.dmsg .file-card small { color: #677087; font-size: 8px; }

.demo-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 14px;
  color: #727b8e;
  font-size: 8.5px;
}
.demo-typing .dots { display: inline-flex; gap: 2px; }
.demo-typing .dots i { width: 4px; height: 4px; border-radius: 50%; background: #727b8e; animation: bounce 1.1s infinite; }
.demo-typing .dots i:nth-child(2) { animation-delay: .15s; }
.demo-typing .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }

.demo-composer { padding: 6px 10px 10px; }
.demo-composer form {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px 5px 11px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: #222735;
}
.demo-composer input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #e7e9f0;
  font-size: 10.5px;
}
.demo-composer input::placeholder { color: #6f788b; }
.demo-composer button {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #5b67f5, #8b5cf6);
  font-size: 12px;
  transition: filter .15s ease, transform .15s ease;
}
.demo-composer button:hover { filter: brightness(1.12); transform: translateY(-1px); }

.demo-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 0 3px;
  color: #7d8598;
  font-size: 11.5px;
}
.demo-hint .live { width: 7px; height: 7px; border-radius: 50%; background: #34d27b; box-shadow: 0 0 0 4px rgba(52, 210, 123, .12); flex: none; }
.demo-hint b { color: #b7bdcc; font-weight: 650; }

.demo-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.demo-chip {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 99px;
  background: rgba(255, 255, 255, .03);
  color: #929aad;
  font-size: 10.5px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.demo-chip:hover { color: #dfe2ec; border-color: rgba(91, 103, 245, .45); background: rgba(91, 103, 245, .10); }

/* ---------------- sections ---------------- */

.section { padding: clamp(58px, 8vw, 96px) 0; }
.section-head { max-width: 710px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #8f99ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(29px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 830;
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--lp-muted); font-size: clamp(15px, 1.3vw, 17px); }

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

.feature-card {
  position: relative;
  padding: 23px 22px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.feature-card:hover { border-color: rgba(91, 103, 245, .35); transform: translateY(-2px); background: linear-gradient(160deg, rgba(91, 103, 245, .075), rgba(255, 255, 255, .012)); }
.feature-card.span-2 { grid-column: span 2; }

.f-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border: 1px solid rgba(91, 103, 245, .28);
  border-radius: 12px;
  background: rgba(91, 103, 245, .12);
  color: #aeb5ff;
}
.f-icon svg { width: 20px; height: 20px; }
.feature-card h3 { margin: 0 0 7px; color: #f1f3f8; font-size: 16.5px; font-weight: 750; letter-spacing: -.01em; }
.feature-card p { margin: 0; color: var(--lp-muted); font-size: 13.5px; line-height: 1.62; }

.feature-card .mini-ui {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 9px 11px;
  border: 1px solid var(--lp-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .2);
}
.feature-card .mini-ui .m-av { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #36b4e8, #4f6ef7); color: #fff; font-size: 9px; font-weight: 800; flex: none; }
.feature-card .mini-ui .m-lines { flex: 1; min-width: 0; }
.feature-card .mini-ui .m-lines i { display: block; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .10); }
.feature-card .mini-ui .m-lines i + i { margin-top: 5px; width: 62%; background: rgba(255, 255, 255, .06); }
.feature-card .mini-ui .m-pill { padding: 3px 7px; border-radius: 99px; background: rgba(52, 210, 123, .12); color: #6ee6a3; font-size: 8.5px; font-weight: 750; }

/* ---------------- screens ---------------- */

.screens-section { padding-top: 20px; }
.screens {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.screen-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: #11141b;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.screen-card:hover { border-color: rgba(91, 103, 245, .38); transform: translateY(-2px); }
.screen-card.main { grid-row: span 2; }
.screen-card img { width: 100%; height: 100%; object-fit: cover; }
.screen-card .screen-label {
  position: absolute;
  left: 13px;
  bottom: 13px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  background: rgba(10, 12, 17, .76);
  backdrop-filter: blur(10px);
  color: #d8dce8;
  font-size: 11.5px;
  font-weight: 650;
}
.screen-card .screen-label span { color: #7d8598; font-weight: 500; }

.screens-note { margin-top: 14px; color: var(--lp-dim); font-size: 12.5px; }

/* ---------------- compare ---------------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.compare-card {
  padding: clamp(22px, 3vw, 31px);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: rgba(255, 255, 255, .02);
}
.compare-card.good { border-color: rgba(91, 103, 245, .36); background: linear-gradient(150deg, rgba(91, 103, 245, .12), rgba(139, 92, 246, .055)); }
.compare-card h3 { margin: 0 0 14px; font-size: 17px; font-weight: 750; }
.compare-card ul { margin: 0; padding: 0; list-style: none; }
.compare-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--lp-muted); font-size: 13.5px; line-height: 1.5; }
.compare-card li b { color: #e7e9f1; font-weight: 650; }
.compare-card li .ic { flex: none; width: 19px; height: 19px; margin-top: 1px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 800; }
.compare-card.good li .ic { background: rgba(52, 210, 123, .13); color: #6ee6a3; }
.compare-card.bad li .ic { background: rgba(255, 255, 255, .055); color: #8a93a6; }

/* ---------------- faq ---------------- */

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--lp-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, .022);
  padding: 0 18px;
  transition: border-color .2s ease, background .2s ease;
}
.faq details[open] { border-color: rgba(91, 103, 245, .28); background: rgba(91, 103, 245, .045); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  color: #e7e9f1;
  font-size: 14.5px;
  font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; color: #8f99ff; font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 0 17px; color: var(--lp-muted); font-size: 13.5px; line-height: 1.65; }
.faq .ans a { color: #aeb5ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- final cta ---------------- */

.final-cta {
  position: relative;
  margin: clamp(20px, 4vw, 40px) 0 clamp(58px, 8vw, 90px);
  padding: clamp(36px, 6vw, 66px) clamp(24px, 5vw, 60px);
  border: 1px solid rgba(91, 103, 245, .30);
  border-radius: 24px;
  background:
    radial-gradient(600px 260px at 18% 10%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(520px 260px at 88% 90%, rgba(67, 217, 197, .14), transparent 70%),
    linear-gradient(135deg, rgba(91, 103, 245, .16), rgba(23, 27, 38, .75));
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.final-cta > * { position: relative; }
.final-cta h2 { margin: 0 auto 12px; max-width: 720px; font-size: clamp(30px, 4vw, 47px); line-height: 1.08; letter-spacing: -.04em; font-weight: 850; }
.final-cta p { margin: 0 auto 24px; max-width: 570px; color: #b9c0d0; font-size: 15.5px; }
.final-cta .btn { margin: 0 auto; }
.final-cta .cta-foot { margin: 15px 0 0; color: #7d8598; font-size: 12.5px; }

/* ---------------- footer ---------------- */

.lp-footer {
  border-top: 1px solid var(--lp-line);
  padding: 33px 0 38px;
}
.lp-footer .wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lp-footer .f-brand p { max-width: 310px; margin: 11px 0 0; color: var(--lp-dim); font-size: 12.5px; line-height: 1.6; }
.f-links { display: flex; gap: 42px; flex-wrap: wrap; }
.f-col { display: grid; gap: 7px; align-content: start; }
.f-col b { margin-bottom: 3px; color: #cfd4e1; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.f-col a { color: var(--lp-dim); font-size: 12.5px; }
.f-col a:hover { color: #fff; }
.f-bottom {
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--lp-line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #646c7d;
  font-size: 11.5px;
}
.f-bottom b { color: #8f99ff; }

/* ---------------- reveal ---------------- */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: 34px; }
  .demo-chat { grid-template-columns: 42px 132px minmax(0, 1fr); height: 420px; }
  .lp-nav { gap: 18px; }
}

@media (max-width: 900px) {
  .lp-nav { display: none; }
  .burger { display: grid; place-items: center; margin-left: auto; }
  .lp-actions .btn-ghost { display: none; }
  .lp-actions .lang-switch { display: none; }
  .hero { padding-top: 42px; }
  .hero-wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 660px; }
  .hero-visual { max-width: 680px; width: 100%; margin: 6px auto 0; }
  .app-window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card.span-2 { grid-column: span 2; }
  .screens { grid-template-columns: 1fr; grid-template-rows: none; }
  .screen-card.main { grid-row: auto; }
  .screens .screen-card { min-height: 260px; }
  .compare { grid-template-columns: 1fr; }
  .lp-header .wrap { gap: 12px; }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 28px); }
  .hero { padding-top: 30px; }
  .hero h1 { letter-spacing: -.04em; }
  .hero-cta .btn { width: 100%; }
  .hero-login { text-align: center; }
  .trust-row { justify-content: center; }
  .demo-chat { grid-template-columns: minmax(0, 1fr); height: 390px; }
  .demo-rail, .demo-side { display: none; }
  .demo-head { height: 39px; }
  .demo-msgs { padding: 10px 10px 6px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.span-2 { grid-column: auto; }
  .screens .screen-card { min-height: 210px; }
  .screen-card .screen-label { left: 9px; bottom: 9px; font-size: 10.5px; }
  .lp-footer .wrap { flex-direction: column; }
  .f-links { gap: 30px; }
  .lp-actions .btn-primary { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .brand small { display: none; }
}

.lp-mobile-nav {
  display: none;
  position: fixed;
  inset: 63px 12px auto;
  z-index: 49;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--lp-line-strong);
  border-radius: 14px;
  background: rgba(17, 20, 27, .97);
  box-shadow: var(--lp-shadow);
}
.lp-mobile-nav.open { display: flex; }
.lp-mobile-nav a { padding: 10px 12px; border-radius: 8px; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-mobile-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
