:root {
  --bg: #050408;
  --bg-elevated: rgba(18, 14, 28, 0.92);
  --bg-card: rgba(24, 20, 36, 0.65);
  --border: rgba(155, 92, 255, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --purple: #9b5cff;
  --purple-bright: #c4a0ff;
  --purple-dim: #6b3fa0;
  --telegram: #2aabee;
  --telegram-hover: #2298d6;
  --text: #f5f3fa;
  --text-muted: #9b95a8;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.landing-page {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% -5%, rgba(120, 60, 200, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 35% at 95% 40%, rgba(80, 40, 140, 0.14), transparent 50%),
    radial-gradient(ellipse 35% 30% at 5% 70%, rgba(60, 30, 100, 0.1), transparent 45%),
    linear-gradient(180deg, #0c0814 0%, #050408 50%, #030206 100%);
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(5, 4, 8, 0.78);
  border-bottom: 1px solid var(--border-subtle);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.landing-brand img {
  border-radius: 10px;
}

.landing-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.landing-brand-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.landing-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.landing-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}

.landing-nav a:hover {
  color: var(--text);
}

.landing-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--telegram);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}

.landing-header-cta:hover {
  background: var(--telegram-hover);
}

.landing-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}

.landing-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.landing-menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.landing-menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.landing-mobile-nav {
  position: fixed;
  top: 61px;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
}

.landing-mobile-nav.hidden {
  display: none;
}

.landing-mobile-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}

.landing-mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.landing-mobile-nav-cta {
  margin-top: 8px;
  text-align: center;
  background: var(--telegram) !important;
  color: #fff !important;
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* Hero */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 80px;
}

.landing-eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(155, 92, 255, 0.08);
  color: var(--purple-bright);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.landing-hero h1 span {
  background: linear-gradient(135deg, #f0e6ff 0%, #9b5cff 55%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-lead {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.landing-btn:hover {
  transform: translateY(-2px);
}

.landing-btn--telegram {
  background: var(--telegram);
  color: #fff;
  box-shadow: 0 8px 32px rgba(42, 171, 238, 0.35);
}

.landing-btn--telegram:hover {
  background: var(--telegram-hover);
  box-shadow: 0 12px 40px rgba(42, 171, 238, 0.42);
}

.landing-btn--outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.landing-btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(155, 92, 255, 0.4);
}

.landing-btn--ghost {
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  background: transparent;
}

.landing-btn--ghost:hover {
  color: var(--text);
  border-color: var(--border);
}

.landing-btn--lg {
  min-height: 54px;
  padding: 0 28px;
}

.landing-tg-icon {
  flex-shrink: 0;
}

.landing-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  list-style: none;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.landing-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.landing-stats strong {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.landing-stats span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Phone mockup */
.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
}

.landing-phone-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 92, 255, 0.35) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.landing-phone-scene {
  position: relative;
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.landing-phone {
  position: relative;
  width: min(100%, 278px);
  transform: rotateY(-12deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing-phone:hover {
  transform: rotateY(-6deg) rotateX(2deg) translateY(-4px);
}

.landing-phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #3a3545 0%, #1e1a26 100%);
  border-radius: 2px;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landing-phone-btn--silent {
  left: -3px;
  top: 94px;
  width: 3px;
  height: 24px;
}

.landing-phone-btn--vol-up {
  left: -3px;
  top: 132px;
  width: 3px;
  height: 38px;
}

.landing-phone-btn--vol-down {
  left: -3px;
  top: 178px;
  width: 3px;
  height: 38px;
}

.landing-phone-btn--power {
  right: -3px;
  top: 146px;
  width: 3px;
  height: 56px;
}

.landing-phone-frame {
  position: relative;
  padding: 8px;
  border-radius: 42px;
  background: linear-gradient(155deg, #3d3848 0%, #1a1722 35%, #0e0c12 65%, #2a2633 100%);
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.landing-phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #08060c;
  aspect-ratio: 9 / 19.2;
  min-height: 455px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.landing-phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 76px;
  height: 22px;
  border-radius: 14px;
  background: #050508;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.landing-phone-status {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  height: 22px;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  pointer-events: none;
}

.landing-phone-time {
  flex: 0 0 auto;
  min-width: 2.8em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.landing-phone-status-icons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-phone-signal,
.landing-phone-wifi {
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}

.landing-phone-battery {
  display: block;
  flex-shrink: 0;
  opacity: 0.95;
}

.landing-phone-home {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 110px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
}

.landing-phone-glare {
  position: absolute;
  inset: 8px;
  border-radius: 36px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%, transparent 100%);
  pointer-events: none;
  z-index: 40;
}

.landing-phone-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.landing-phone-dots {
  display: flex;
  gap: 8px;
}

.landing-phone-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.landing-phone-dots button.is-active {
  background: var(--purple);
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.5);
}

/* Mini App inside phone */
.landing-miniapp {
  --app-purple: #9b5cff;
  --app-purple-bright: #c4a0ff;
  --app-purple-dim: #6b3fa0;
  --app-purple-glow: rgba(155, 92, 255, 0.45);
  --app-text: #f5f3fa;
  --app-muted: #9b95a8;
  --app-border: rgba(155, 92, 255, 0.22);
  --app-card: rgba(24, 20, 36, 0.65);
  --app-radius: 14px;

  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--app-text);
  overflow: hidden;
  padding-top: 44px;
  touch-action: pan-y;
}

.landing-miniapp-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(120, 60, 200, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 60%, rgba(80, 40, 140, 0.12), transparent 50%),
    linear-gradient(180deg, #0c0814 0%, #08060c 100%);
  pointer-events: none;
}

.landing-app-carousel {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.landing-app-carousel.is-dragging {
  cursor: grabbing;
}

.landing-app-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

.landing-app-track.is-dragging {
  transition: none;
}

.landing-app-screen {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.landing-app-topbar {
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  padding: 4px 10px 6px;
  min-height: 40px;
}

.landing-app-topbar--session {
  padding: 4px 8px 6px;
}

.landing-app-brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 132px;
  min-width: 0;
  justify-self: center;
  pointer-events: none;
}

.landing-app-brand img {
  border-radius: 50%;
  box-shadow: 0 0 14px var(--app-purple-glow);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.landing-app-brand-text {
  min-width: 0;
  line-height: 1.15;
  overflow: hidden;
}

.landing-app-brand-text strong {
  display: block;
  font-size: 0.88em;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-app-brand-text span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68em;
  color: var(--app-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-app-online {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
  font-style: normal;
}

.landing-app-icon-btn {
  justify-self: end;
  grid-column: 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
  color: var(--app-muted);
  flex-shrink: 0;
}

.landing-app-topbar > .landing-app-icon-btn:first-child,
.landing-app-topbar > .landing-app-end-btn {
  grid-column: 1;
  justify-self: start;
}

.landing-app-icon-btn svg {
  width: 14px;
  height: 14px;
}

.landing-app-end-btn {
  grid-column: 1;
  justify-self: start;
  padding: 5px 8px;
  border-radius: 9px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 0.66em;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1.2;
}

.landing-app-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 12px 8px;
  gap: 8px;
}

.landing-app-mascot {
  display: flex;
  justify-content: center;
  padding: 4px 0 2px;
}

.landing-app-mascot img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(140, 80, 220, 0.45));
  animation: landing-mascot-float 3.2s ease-in-out infinite;
}

@keyframes landing-mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.landing-app-preset {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--app-radius);
  border: 1px solid var(--app-border);
  background: var(--app-card);
  font-weight: 500;
  font-size: 0.88em;
}

.landing-app-preset-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(155, 92, 255, 0.2);
  display: grid;
  place-items: center;
  color: var(--app-purple-bright);
  flex-shrink: 0;
}

.landing-app-preset-icon svg {
  width: 16px;
  height: 16px;
}

.landing-app-filters {
  border-radius: var(--app-radius);
  border: 1px solid var(--app-border);
  background: var(--app-card);
  overflow: hidden;
}

.landing-app-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 0.78em;
  font-weight: 600;
  color: var(--app-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.landing-app-filters-head svg {
  width: 16px;
  height: 16px;
  color: var(--app-muted);
  transform: rotate(180deg);
}

.landing-app-filters-body {
  padding: 0 12px 12px;
}

.landing-app-filters-hint {
  font-size: 0.72em;
  color: var(--app-muted);
  margin-bottom: 8px;
  opacity: 0.85;
}

.landing-app-filter-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 6px;
}

.landing-app-filter-row--age {
  grid-template-columns: repeat(3, 1fr);
}

.landing-app-chip {
  padding: 7px 3px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  color: var(--app-muted);
  font-size: 0.62em;
  font-weight: 500;
  text-align: center;
  line-height: 1.15;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-app-chip.is-active {
  background: linear-gradient(135deg, var(--app-purple), var(--app-purple-dim));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px var(--app-purple-glow);
}

.landing-app-cta {
  position: relative;
  margin-top: auto;
  padding: 13px;
  border-radius: var(--app-radius);
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 0.92em;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--app-purple-glow);
}

.landing-app-cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  animation: landing-cta-shine 3s infinite;
}

@keyframes landing-cta-shine {
  100% { transform: translateX(100%); }
}

.landing-app-nav {
  position: relative;
  flex-shrink: 0;
  display: flex;
  margin: 6px 8px 12px;
  border-radius: 18px;
  background: rgba(12, 10, 18, 0.92);
  border: 1px solid var(--app-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35), 0 0 14px rgba(155, 92, 255, 0.08);
  overflow: hidden;
  min-height: 48px;
}

.landing-app-nav-glow {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 33.333%;
  height: 2px;
  background: linear-gradient(90deg, var(--app-purple), var(--app-purple-bright));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--app-purple-glow);
}

.landing-app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 6px 2px 10px;
  color: var(--app-muted);
  font-size: 0.58em;
  font-weight: 500;
  min-width: 0;
}

.landing-app-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.landing-app-nav-item.is-active {
  color: var(--app-purple-bright);
}

.landing-app-nav-item.is-active svg {
  filter: drop-shadow(0 0 8px var(--app-purple-glow));
}

/* Chat screen */
.landing-app-chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 12px 10px;
  overflow: hidden;
}

.landing-app-msg {
  max-width: 82%;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 0.86em;
  line-height: 1.4;
  animation: landing-msg-in 0.4s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

.landing-app-msg--them {
  align-self: flex-start;
  background: #1c1828;
  border-bottom-left-radius: 4px;
  animation-delay: 0.05s;
}

.landing-app-msg--me {
  align-self: flex-end;
  background: linear-gradient(135deg, #8b3fd9, #6b2fb8);
  border-bottom-right-radius: 4px;
  animation-delay: 0.15s;
}

.landing-app-msg--them:nth-child(3) {
  animation-delay: 0.25s;
}

.landing-app-msg--typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  background: #1c1828;
  border-bottom-left-radius: 4px;
  animation-delay: 0.35s;
}

.landing-app-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--app-purple-bright);
  animation: landing-typing-dot 1s ease-in-out infinite;
}

.landing-app-msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.landing-app-msg--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes landing-msg-in {
  from { opacity: 0; transform: scale(0.92) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes landing-typing-dot {
  0%, 50%, 100% { transform: translateY(0); opacity: 0.35; }
  25% { transform: translateY(-3px); opacity: 1; }
}

.landing-app-composer {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 26px 26px;
  align-items: center;
  gap: 5px;
  padding: 6px 10px 16px;
}

.landing-app-composer-icon,
.landing-app-composer-send {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--app-muted);
}

.landing-app-composer-icon svg {
  width: 15px;
  height: 15px;
}

.landing-app-composer-input {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid var(--app-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--app-muted);
  font-size: 0.76em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-app-composer-mascot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.landing-app-composer-mascot img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(140, 80, 220, 0.4));
}

.landing-app-composer-send {
  background: linear-gradient(135deg, var(--app-purple), var(--app-purple-dim));
  color: #fff;
  box-shadow: 0 4px 12px var(--app-purple-glow);
}

.landing-app-composer-send svg {
  width: 12px;
  height: 12px;
}

/* Sections */
.landing-section {
  padding: 72px 0;
  border-top: 1px solid var(--border-subtle);
}

.landing-section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.landing-section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 480px;
}

.landing-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-bright);
  margin-bottom: 12px;
}

.landing-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.landing-section-desc {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.landing-grid {
  display: grid;
  gap: 16px;
}

.landing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.landing-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, transform 0.2s;
}

.landing-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.landing-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 16px;
  background: rgba(155, 92, 255, 0.12);
  color: var(--purple-bright);
}

.landing-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.landing-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Interface section */
.landing-section--interface {
  background: linear-gradient(180deg, transparent, rgba(155, 92, 255, 0.04), transparent);
}

.landing-interface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.landing-checklist {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.landing-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.landing-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 1.5px solid #4ade80;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%234ade80' d='M4.5 8.5L2 6l1-1 1.5 1.5L9 2l1 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.landing-ui-cards {
  display: grid;
  gap: 14px;
}

.landing-ui-card {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.landing-ui-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--purple-bright);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.landing-ui-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.landing-ui-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Timeline */
.landing-timeline {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.landing-timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.landing-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border), transparent);
}

.landing-timeline-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.25), rgba(107, 47, 184, 0.15));
  border: 1px solid var(--border);
  color: var(--purple-bright);
}

.landing-timeline-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 10px;
}

.landing-timeline-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.landing-link {
  color: var(--telegram);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.landing-link:hover {
  text-decoration: underline;
}

/* FAQ */
.landing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.landing-faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.landing-faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  user-select: none;
}

.landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-faq-item[open] summary {
  border-bottom: 1px solid var(--border-subtle);
}

.landing-faq-item p {
  padding: 14px 20px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA */
.landing-cta-block {
  margin-top: 24px;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(155, 92, 255, 0.15), transparent),
    var(--bg-card);
  text-align: center;
}

.landing-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.landing-cta-inner > p {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.landing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Footer */
.landing-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border-subtle);
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.landing-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-footer-brand img {
  border-radius: 8px;
}

.landing-footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 220px;
}

.landing-footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer-col strong {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.landing-footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.landing-footer-col a:hover {
  color: var(--purple-bright);
}

.landing-footer-copy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  opacity: 0.7;
}

.landing-note {
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .landing-phone,
  .landing-app-track,
  .landing-app-mascot img,
  .landing-app-cta-shine,
  .landing-app-msg,
  .landing-app-msg--typing span {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 56px;
    text-align: center;
  }

  .landing-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .landing-hero-actions {
    justify-content: center;
  }

  .landing-stats {
    justify-content: center;
  }

  .landing-phone {
    transform: none;
  }

  .landing-phone:hover {
    transform: translateY(-4px);
  }

  .landing-hero-visual {
    min-height: auto;
    padding-top: 8px;
  }

  .landing-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-interface-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .landing-section-head--left {
    text-align: center;
    margin: 0 auto 32px;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .landing-nav,
  .landing-header-cta {
    display: none;
  }

  .landing-menu-btn {
    display: flex;
  }

  .landing-grid--3,
  .landing-faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .landing-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
