/* Лендинг lovegram.net.

   Тёмная витрина 18+: единственная задача страницы — довести человека
   до кнопки в Telegram. Всё остальное здесь ради поисковиков и доверия
   (эквайринг смотрит на сайт не менее внимательно, чем пользователь).

   Шрифты подключаются с Google Fonts, но каждый заголовок имеет живой
   системный фолбэк: страница не должна ждать сеть, чтобы стать читаемой. */

:root {
  --bg: #0b060c;
  --bg-soft: #140b16;
  --card: #1a1020;
  --line: #2c1c33;
  --text: #f4eef6;
  --muted: #a693ae;
  --faint: #6f5f77;
  --accent: #ff2d78;
  --accent-2: #b23bff;
  --ok: #35d07f;
  --radius: 16px;
  --maxw: 1080px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
}
/* Градиентный текст только там, где background-clip действительно есть.
   Без @supports «color: transparent» применился бы и в браузере без
   поддержки — половина каждого заголовка стала бы невидимой. */
em { font-style: italic; color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  em {
    background: linear-gradient(100deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ─── шапка ─────────────────────────────────────────────────────────── */

.topbar {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 6, 12, .72);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.logo__mark { width: 26px; height: 26px; flex: 0 0 26px; }
.online-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(53,208,127,.55); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(53,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); } }

/* ─── герой ─────────────────────────────────────────────────────────── */

.hero { position: relative; padding: 74px 0 68px; text-align: center; overflow: hidden; }
/* Свечение делают сами радиальные градиенты. filter: blur() поверх пятна
   в пол-экрана обходится дорого: на слабом телефоне это лишний тяжёлый
   слой перед первой отрисовкой, а выглядит точно так же. */
.hero::before {
  content: ""; position: absolute; inset: -30% -20% auto -20%; height: 620px;
  background:
    radial-gradient(48% 52% at 28% 28%, rgba(255,45,120,.30), transparent 70%),
    radial-gradient(46% 50% at 74% 40%, rgba(178,59,255,.26), transparent 72%);
  pointer-events: none;
}
.hero > * { position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 11.5px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.headline { font-size: clamp(34px, 7vw, 62px); margin-bottom: 18px; }
.sub { font-size: clamp(15px, 2.4vw, 18px); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px; margin-bottom: 32px; }
.trust__item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trust__num { font-family: "Playfair Display", Georgia, serif; font-size: 26px; font-weight: 800; }
.trust__lbl { font-size: 12px; color: var(--faint); }
.trust__sep { width: 1px; height: 30px; background: var(--line); }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 999px; font-weight: 700; font-size: 16.5px;
  color: #fff; background: linear-gradient(100deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 34px rgba(255,45,120,.32);
  transition: transform .14s ease, box-shadow .14s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(255,45,120,.42); }
.cta:active { transform: translateY(0); }
.cta svg { width: 21px; height: 21px; }
.cta-note { margin-top: 13px; font-size: 13px; color: var(--faint); }

/* ─── секции ────────────────────────────────────────────────────────── */

.section { padding: 62px 0; border-top: 1px solid var(--line); }
.section-label { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(26px, 4.4vw, 38px); margin-bottom: 12px; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 30px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: rgba(255,45,120,.42); transform: translateY(-3px); }
.card__ico { font-size: 26px; line-height: 1; margin-bottom: 12px; display: block; }
.card h3 { font-family: inherit; font-weight: 700; font-size: 16.5px; letter-spacing: 0; margin-bottom: 7px; }
.card p { font-size: 14.5px; color: var(--muted); }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.step__num {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff;
  font-weight: 800; font-size: 15px;
}
.step h3 { font-family: inherit; font-weight: 700; font-size: 16px; letter-spacing: 0; margin-bottom: 5px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ─── превью переписки ──────────────────────────────────────────────── */

.chat-wrap {
  max-width: 460px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 9px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
}
.msg { max-width: 82%; padding: 10px 14px; border-radius: 15px; font-size: 14.5px; line-height: 1.45; }
.msg--her { align-self: flex-start; background: var(--card); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; border-bottom-right-radius: 5px; }
.msg__who { display: block; font-size: 11px; color: var(--accent); font-weight: 700; margin-bottom: 3px; }

/* ─── FAQ ───────────────────────────────────────────────────────────── */

.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 0 20px; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 700; font-size: 15.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 21px; font-weight: 400; line-height: 1; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; font-size: 14.5px; color: var(--muted); }

/* ─── финал и подвал ────────────────────────────────────────────────── */

.final { text-align: center; }
.final .section-lead { margin-left: auto; margin-right: auto; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 13.5px; color: var(--faint); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--accent); }
.footer__legal { max-width: 720px; }
.footer__legal p + p { margin-top: 8px; }

/* ─── появление при скролле ─────────────────────────────────────────── */

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .cta { transition: none; }
}

@media (max-width: 600px) {
  .hero { padding: 52px 0 48px; }
  .section { padding: 48px 0; }
  .cta { width: 100%; }
  .trust { gap: 8px 18px; }
  .trust__sep { display: none; }
}
