:root {
  --bg: #080a20;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #e4ebf5;
  --muted: #9fb1cc;
  --accent: #3b81f4;
  --accent-2: #5ba1ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 22px;
  --radius-sm: 14px;
  --grad: radial-gradient(
      circle at 80% 20%,
      rgba(59, 129, 244, 0.2),
      transparent 35%
    ),
    radial-gradient(
      circle at 12% 16%,
      rgba(59, 129, 244, 0.15),
      transparent 32%
    ),
    #080a20;
  --glass: rgba(255, 255, 255, 0.05);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--grad);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-shell {
  position: relative;
  overflow: hidden;
}
.page-shell::after {
  content: "";
  position: absolute;
  inset: -10% auto auto 55%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(61, 214, 199, 0.16),
    transparent 60%
  );
  filter: blur(12px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.top-nav {
  position: fixed;
  inset: 0 0 auto 0;
  padding: 16px 0;
  background: rgba(7, 12, 26, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
  z-index: 20;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.05);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  font-size: 15px;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #0a101f;
  box-shadow: 0 15px 40px rgba(251, 146, 60, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 25px 60px rgba(59, 129, 244, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--stroke);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero {
  padding: 120px 0 90px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.hero h1 span {
  color: var(--accent-2);
}
.lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.stat-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.stat-card strong {
  display: block;
  font-size: 22px;
  color: #fff;
  letter-spacing: -0.01em;
}
.stat-card span {
  color: var(--muted);
  font-size: 14px;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.glass-figure {
  position: relative;
  width: min(520px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.glass-figure::before,
.glass-figure::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  background: radial-gradient(
    circle,
    rgba(61, 214, 199, 0.28),
    transparent 60%
  );
  filter: blur(10px);
  z-index: 0;
}
.glass-figure::before {
  top: -40px;
  left: -30px;
  background: radial-gradient(
    circle,
    rgba(59, 129, 244, 0.32),
    transparent 60%
  );
}
.glass-figure::after {
  bottom: -50px;
  right: -20px;
  background: radial-gradient(circle, rgba(91, 161, 255, 0.3), transparent 60%);
}
.glass-figure img {
  position: relative;
  z-index: 1;
  border-radius: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 36px;
}
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-subtitle {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 214, 199, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
  border: 1px solid var(--stroke);
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  justify-items: center;
}
.screenshot {
  width: 100%;
  max-width: 280px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.screenshot img {
  border-radius: 12px;
}
.screenshot:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
}

.activity-section {
  background: radial-gradient(
      circle at 12% 12%,
      rgba(91, 161, 255, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 24%,
      rgba(61, 214, 199, 0.14),
      transparent 32%
    ),
    linear-gradient(160deg, rgba(16, 24, 40, 0.6), rgba(6, 10, 27, 0.8));
}
.activity-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.activity-flow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.activity-flow span {
  color: var(--muted);
  font-weight: 600;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.activity-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.activity-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 161, 255, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}
.activity-image {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.06),
      transparent 58%
    ),
    #0f172a;
  aspect-ratio: 4 / 5;
  padding: 12px;
}
.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.4));
}
.activity-meta {
  padding: 14px 16px 18px;
}
.activity-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(59, 129, 244, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.activity-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.step {
  border-radius: var(--radius);
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  position: relative;
}
.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(61, 214, 199, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 44px 32px;
  background: linear-gradient(
    130deg,
    rgba(8, 12, 26, 0.9),
    rgba(21, 44, 94, 0.88)
  );
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.cta-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 20px;
  align-items: center;
}
.cta-visual {
  justify-self: end;
  max-width: 420px;
  width: 100%;
}
.cta img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}
.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.play-badge {
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  background: #fff;
}

.footer {
  padding: 40px 0 60px;
  margin-top: 40px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}
.footer-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-links a {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.footer-links a:hover {
  border-color: var(--stroke);
  color: #fff;
}

.sub-hero {
  padding: 140px 0 60px;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(61, 214, 199, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(251, 146, 60, 0.18),
      transparent 32%
    ),
    #0f172a;
  border-bottom: 1px solid var(--stroke);
}
.sub-hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.sub-hero p {
  color: var(--muted);
  max-width: 760px;
  margin-top: 10px;
}

.doc-shell {
  padding: 40px 0 80px;
}
.doc-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.doc-card h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 20px;
}
.doc-card p,
.doc-card li {
  color: var(--muted);
  margin-bottom: 12px;
}
.doc-card ul,
.doc-card ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.contact-card {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.contact-card h3 {
  margin-bottom: 8px;
}
.contact-card a {
  color: var(--text);
  font-weight: 600;
}
.contact-card small {
  color: var(--muted);
}

.legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.legal-links a {
  color: var(--muted);
  border: 1px solid var(--stroke);
  padding: 8px 12px;
  border-radius: 10px;
}
.legal-links a:hover {
  color: #fff;
}

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  border-radius: 16px;
  padding: 18px;
  background: rgba(7, 12, 26, 0.95);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  transform: translateY(120%);
  transition: transform 0.4s ease;
  z-index: 50;
}
.cookie-banner.show {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: 18px;
    left: 18px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(7, 12, 26, 0.95);
    border: 1px solid var(--stroke);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .cta-content {
    grid-template-columns: 1fr;
  }

  /* вернуть горизонтальный скролл для небольших экранов */
  .screenshot-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    justify-items: start;
  }
  .screenshot {
    scroll-snap-align: start;
  }
  .screenshot:nth-child(4),
  .screenshot:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 120px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .screenshot-strip {
    grid-auto-columns: 180px;
  }
  .cta {
    padding: 28px 20px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
