/* ==========================================================================
   Бред сумасшедшего ☠️ — лендинг
   ========================================================================== */

:root {
  --mint: #17B8A6;
  --mint-light: #6FE3D6;
  --lilac: #8F6FE8;
  --lilac-light: #B79CFF;

  --ink: #17111F;
  --ink-2: #241A3D;
  --ink-3: #362A57;

  --paper: #FBF9FF;
  --paper-2: #F1ECFF;
  --text-on-paper: #241A3D;
  --muted: #6F6690;
  --muted-light: rgba(251,249,255,.7);

  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --font-display: "Unbounded", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text-on-paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; }

.section-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* -------------------------------------------------------------------- */
/* NAV                                                                    */
/* -------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 17, 31, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.nav-icon { width: 30px; height: 30px; border-radius: 8px; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 7px 14px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  cursor: pointer;
}
.lang-opt { color: rgba(255,255,255,.4); transition: color .15s ease; }
.lang-opt.is-active { color: #fff; }
.lang-sep { color: rgba(255,255,255,.25); }

.nav-cta {
  background: linear-gradient(120deg, var(--mint), var(--lilac));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
}

/* -------------------------------------------------------------------- */
/* HERO                                                                   */
/* -------------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 80px 0 120px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  pointer-events: none;
}
.hero-glow-mint { width: 480px; height: 480px; background: var(--mint); top: -160px; left: -140px; }
.hero-glow-lilac { width: 520px; height: 520px; background: var(--lilac); bottom: -220px; right: -160px; }

.hero-inner {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}
.hero-inner > * { min-width: 0; }

.hero-icon-row { margin-bottom: 28px; }
.hero-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 16px 40px rgba(143,111,232,.35); }

.hero-text h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
  margin-top: 22px;
}

.hero-cta-row { margin-top: 36px; }

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 13px;
  padding: 10px 18px 10px 16px;
  transition: transform .15s ease, opacity .15s ease;
}
.appstore-badge:hover { transform: translateY(-2px); opacity: .9; }
.appstore-badge-icon { width: 26px; height: 26px; color: #fff; }
.appstore-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.appstore-badge-text small { font-size: 11px; font-weight: 400; opacity: .85; }
.appstore-badge-text strong { font-size: 19px; font-weight: 600; font-family: "Manrope", sans-serif; letter-spacing: -.01em; }
.appstore-badge-light { background: var(--ink); border-color: rgba(255,255,255,.15); }

/* Phone mockups */
.phone {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5), 0 0 0 8px rgba(255,255,255,.06);
  aspect-ratio: 760 / 1651;
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-phones {
  position: relative;
  height: 560px;
}
.phone-back {
  position: absolute;
  width: 78%;
  right: 0;
  top: 10px;
  transform: rotate(9deg);
  opacity: .55;
  filter: saturate(.8);
}
.phone-front {
  position: absolute;
  width: 82%;
  left: 0;
  top: 40px;
  transform: rotate(-6deg);
}

/* -------------------------------------------------------------------- */
/* SECTION TITLES                                                        */
/* -------------------------------------------------------------------- */

.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  max-width: 680px;
}

.section-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
  margin-top: 14px;
}

/* -------------------------------------------------------------------- */
/* FEATURES                                                               */
/* -------------------------------------------------------------------- */

.features { padding: 100px 0; }

.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 40px rgba(143,111,232,.10);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-big {
  grid-column: span 3;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding: 40px;
}
.feature-big .feature-text { flex: 1; }
.feature-big .feature-shot-wide {
  flex: 1;
  max-width: 420px;
  max-height: 460px;
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: top;
}
.feature-reverse { flex-direction: row-reverse; }

.feature-text h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-text p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-shot {
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(36,26,61,.12);
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: top;
}

/* -------------------------------------------------------------------- */
/* VIDEO                                                                  */
/* -------------------------------------------------------------------- */

.video-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  text-align: center;
}
.video-section .section-title { margin: 0 auto; }
.video-frame { margin-top: 48px; display: flex; justify-content: center; }
.phone-video { width: 280px; }

/* -------------------------------------------------------------------- */
/* LANGUAGES                                                             */
/* -------------------------------------------------------------------- */

.languages { padding: 100px 0; }

.lang-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-2);
  color: var(--lilac);
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 999px;
}
.lang-chip .flag { font-size: 18px; }
.lang-chip-spicy {
  background: var(--ink);
  color: #fff;
}

/* -------------------------------------------------------------------- */
/* THEMES                                                                 */
/* -------------------------------------------------------------------- */

.themes {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
}

.themes-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: center;
}

.theme-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.swatch {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--c1), var(--c2));
  box-shadow: 0 12px 26px rgba(36,26,61,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: default;
}

.theme-shot {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(36,26,61,.16);
}

/* -------------------------------------------------------------------- */
/* EASTER EGGS                                                           */
/* -------------------------------------------------------------------- */

.eggs { padding: 100px 0; }

.eggs-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.eggs-inner .section-title,
.eggs-inner .section-lead { color: #fff; }
.eggs-inner .section-lead { color: rgba(255,255,255,.68); }

.egg-mascot img {
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

/* -------------------------------------------------------------------- */
/* FINAL CTA                                                             */
/* -------------------------------------------------------------------- */

.final-cta {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
}
.final-cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 40px rgba(143,111,232,.35); }
.final-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.final-cta p { color: rgba(255,255,255,.65); font-size: 15.5px; max-width: 420px; }
.final-cta .appstore-badge { margin-top: 12px; }

/* -------------------------------------------------------------------- */
/* FOOTER                                                                 */
/* -------------------------------------------------------------------- */

.footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.footer-icon { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-note { color: rgba(255,255,255,.35); font-size: 12.5px; width: 100%; text-align: center; margin-top: 8px; }



/* -------------------------------------------------------------------- */
/* RESPONSIVE                                                             */
/* -------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-phones { height: 420px; margin-top: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-big, .feature-reverse {
    grid-column: span 1;
    flex-direction: column;
  }
  .feature-big .feature-shot-wide { max-width: 100%; }
  .themes-row { grid-template-columns: 1fr; }
  .eggs-inner { grid-template-columns: 1fr; text-align: center; padding: 36px 24px; }
  .egg-mascot { max-width: 200px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 12px 18px; }
  .nav-brand span { display: none; }
  .section-inner { padding: 0 20px; }
  .hero { padding: 56px 0 80px; }
  .hero-inner { padding: 0 20px; }
  .features, .video-section, .languages, .themes, .eggs, .final-cta { padding: 64px 0; }
  .feature-big { padding: 26px; }
  .feature { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone-back, .phone-front { transform: none; }
}
