/* Сплетни — лендинг. Бренд: чёрный фон, неоновый лаймовый акцент, белый bold,
   чёрные/белые pill-элементы. Самодостаточный (без внешних шрифтов/CDN —
   работает за RKN, грузится быстро). Финальный дизайн — за дизайнером. */

:root {
  --bg: #000000;
  --bg-soft: #0c0c0c;
  --fg: #ffffff;
  --fg-dim: #b7b7b7;
  --lime: #a6f000;
  --lime-bright: #c7ff3d;
  --pill: #ffffff;
  --pill-fg: #0b0b0b;
  --radius: 18px;
  --maxw: 980px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* Env-бейдж (только не-prod) */
#env-badge {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 50;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #0b0b0b;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 88px) 20px 56px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.app-icon {
  width: clamp(104px, 24vw, 132px);
  height: auto;
  /* векторный знак-змейка (snake-lime.svg) на чёрном — без плитки, с лаймовым свечением */
  filter: drop-shadow(0 0 34px rgba(166, 240, 0, 0.45));
}

/* Волна слева/справа от иконки */
.wave {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 64px;
}
.wave i {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: var(--lime);
  animation: wave 1.1s ease-in-out infinite;
}
.wave--left { flex-direction: row-reverse; }
.wave i:nth-child(1) { height: 18px; animation-delay: 0s; }
.wave i:nth-child(2) { height: 34px; animation-delay: .12s; }
.wave i:nth-child(3) { height: 52px; animation-delay: .24s; }
.wave i:nth-child(4) { height: 30px; animation-delay: .36s; }
.wave i:nth-child(5) { height: 16px; animation-delay: .48s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.55); opacity: .75; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; }
}

.wordmark {
  margin: 0;
  font-size: clamp(34px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
}

.tagline {
  margin: 8px 0 0;
  color: var(--fg-dim);
  font-size: clamp(14px, 3.4vw, 18px);
  font-weight: 500;
}

.pitch {
  margin: clamp(36px, 8vw, 64px) 0 0;
  line-height: 1.08;
}
.pitch__lead,
.pitch__sub { display: block; }
.pitch__lead {
  font-size: clamp(30px, 7.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pitch__sub {
  font-size: clamp(20px, 5vw, 34px);
  font-weight: 500;
  color: var(--fg-dim);
}

/* ===== STORE BUTTONS ===== */
.stores {
  margin-top: clamp(28px, 6vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: var(--fg);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.34); }
.store--primary {
  background: var(--lime);
  border-color: var(--lime);
  color: #0b0b0b;
}
.store--primary:hover { background: var(--lime-bright); border-color: var(--lime-bright); }
.store__soon {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
}
.store:not(.store--primary) .store__soon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fg-dim);
}
.store.is-soon { cursor: default; }

/* ===== TOPIC CHIPS ===== */
.chips {
  list-style: none;
  margin: clamp(32px, 6vw, 48px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chip {
  background: var(--pill);
  color: var(--pill-fg);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== FEATURES ===== */
.features {
  margin-top: clamp(56px, 10vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
}
.feature__emoji { font-size: 30px; }
.feature h3 { margin: 14px 0 6px; font-size: 19px; font-weight: 700; }
.feature p { margin: 0; color: var(--fg-dim); font-size: 15px; line-height: 1.5; }

@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 20px 40px;
  text-align: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.footer__brand img { border-radius: 9px; }
.age {
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1.5px solid var(--lime);
  color: var(--lime);
}
.footer__links {
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  max-width: 720px;
}
.footer__links a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.footer__links a:hover { color: var(--fg); }
.footer__legal {
  margin: 20px 0 0;
  color: #6b6b6b;
  font-size: 12px;
}
