/* Слушай Сплетни — лендинг v0
   Дизайн-токены сняты пипеткой со сторовых карточек:
   фон #000000, акцент — неон-лайм #78f800 (диапазон замера #50f800–#a0f800). */

:root {
  --bg: #000000;
  --bg-soft: #0a0d07;
  --accent: #78f800;
  --accent-dim: rgba(120, 248, 0, 0.14);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.64);
  --radius-phone: 28px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

img { display: block; max-width: 100%; height: auto; }

/* ---------- Типографика ---------- */

h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 34em;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.wordmark--muted { color: var(--text-muted); font-weight: 700; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn--sm { padding: 8px 18px; font-size: 0.9rem; }

.btn--primary {
  background: var(--accent);
  color: #062000;
  box-shadow: 0 0 24px rgba(120, 248, 0, 0.35);
}

.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 0 36px rgba(120, 248, 0, 0.5); }

.btn--outline {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

.btn--outline:hover { background: var(--accent-dim); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45); }

.btn:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Секции ---------- */

.hero { padding: clamp(48px, 9vw, 110px) 0 0; }

.hero-inner,
.feature-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.hero-copy .lead { margin: 22px 0 32px; }

.hero-visual,
.feature-visual {
  position: relative;
  justify-self: center;
  max-width: 380px;
}

.feature-visual { max-width: 360px; }

.hero-visual img,
.feature-visual img {
  width: 100%;
  border-radius: var(--radius-phone);
  position: relative;
  z-index: 1;
}

/* Зелёное свечение за телефоном — как на сторовых карточках */
.glow {
  position: absolute;
  inset: -12% -30%;
  background: radial-gradient(closest-side, var(--accent-dim), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.feature { padding: clamp(56px, 9vw, 120px) 0; }

.feature-copy p { margin-top: 16px; color: var(--text-muted); font-size: 1.08rem; }

@media (min-width: 820px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .feature-inner { grid-template-columns: 1fr 1fr; }
  .feature-inner--flip .feature-copy { order: 1; }
  .feature-inner--flip .feature-visual { order: 2; }
}

/* ---------- Закрывающий CTA ---------- */

.close-cta {
  padding: clamp(72px, 12vw, 150px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.close-cta::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 40%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(120, 248, 0, 0.1), transparent 70%);
  pointer-events: none;
}

.close-inner { position: relative; }

.close-cta h2 { margin-top: 28px; }

.close-cta .lead { margin: 16px auto 34px; }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

.close-cta .store-row { justify-content: center; }

/* ---------- Стор-бейджи (close-cta) ---------- */

.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-width: 100%;
  padding: 12px 26px;
  border-radius: 16px;
  background: #0b1a06;
  box-shadow: inset 0 0 0 1.5px var(--accent);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  background: #122a0a;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 36px rgba(120, 248, 0, 0.5);
}

.store-badge:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.store-badge__hint {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.store-badge__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

/* ---------- Голосовая волна (визуальный код бренда) ---------- */

.wave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 24px;
}

.wave i {
  width: 4px;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(120, 248, 0, 0.6);
  animation: wavepulse 1.2s ease-in-out infinite;
}

.wave--inline i { height: 12px; width: 3px; box-shadow: 0 0 6px rgba(120, 248, 0, 0.5); }

.wave--big { height: 56px; gap: 7px; margin-bottom: 4px; }
.wave--big i { width: 5px; }

.wave i:nth-child(odd) { animation-delay: 0.15s; }
.wave i:nth-child(3n) { animation-delay: 0.35s; }
.wave i:nth-child(4n) { animation-delay: 0.55s; }
.wave i:nth-child(5n) { animation-delay: 0.75s; }

@keyframes wavepulse {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wave i { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Появление по скроллу (только при включённом JS) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Футер ---------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0 36px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-tagline { color: var(--text-muted); }
.footer-copy { color: rgba(255, 255, 255, 0.4); }
