* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #171922;
  --muted: #6f7380;
  --primary: #6e59f6;
  --primary-dark: #5642dc;
  --line: #e7e9f0;
  --soft: #f0edff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 252, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 233, 240, 0.9);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f6ef7, #7a55f6);
  box-shadow: 0 8px 24px rgba(88, 72, 220, 0.22);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 88px 0 72px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  background: var(--soft);
  border: 1px solid #ddd6ff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 22px 0 20px;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.store-badge {
  margin-top: 30px;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: white;
  padding: 11px 17px;
  border-radius: 13px;
}

.store-icon {
  font-size: 28px;
}

.store-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge small {
  font-size: 10px;
  opacity: 0.8;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 18px;
}

.phone-card {
  width: min(360px, 100%);
  margin-left: auto;
  padding: 13px;
  border-radius: 42px;
  background: #15161b;
  box-shadow: 0 30px 80px rgba(32, 34, 46, 0.18);
}

.phone-top {
  width: 86px;
  height: 22px;
  margin: 0 auto -31px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  background: #111;
}

.screen {
  min-height: 640px;
  border-radius: 31px;
  padding: 38px 20px 24px;
  background: #f7f8fc;
}

.screen-header,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.screen-header {
  font-size: 12px;
  color: var(--muted);
}

.level {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7e0ff;
  color: var(--primary-dark);
  font-weight: 800;
}

.screen h3 {
  margin: 6px 0 26px;
  font-size: 25px;
}

.challenge {
  padding: 18px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, #7257ef, #825df7);
  box-shadow: 0 18px 40px rgba(110, 89, 246, 0.28);
}

.challenge span {
  font-weight: 800;
}

.challenge p {
  margin: 8px 0 14px;
  font-size: 12px;
  opacity: 0.9;
}

.challenge button {
  border: 0;
  background: white;
  color: var(--primary-dark);
  padding: 9px 13px;
  border-radius: 10px;
  font-weight: 800;
}

.section-title {
  margin: 27px 0 12px;
  font-size: 12px;
  font-weight: 800;
}

.section-title small {
  color: var(--primary);
}

.games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.game {
  min-height: 98px;
  padding: 12px 8px;
  display: flex;
  align-items: flex-end;
  border-radius: 15px;
  background: white;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.privacy-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p,
.privacy-card p {
  color: var(--muted);
  font-size: 18px;
}

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

.feature {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--primary-dark);
  background: var(--soft);
  border-radius: 14px;
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.privacy {
  padding: 12px 0 88px;
}

.privacy-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 42px;
  border-radius: 30px;
  background: #11131a;
  color: white;
}

.privacy-card p {
  align-self: center;
  margin: 0;
  color: #c8cad4;
}

footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a {
  font-weight: 700;
  color: var(--primary-dark);
}

@media (max-width: 820px) {
  .hero {
    padding-top: 56px;
  }

  .hero-content,
  .privacy-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 48px;
  }

  .phone-card {
    margin: 0 auto;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 17px;
  }

  .section,
  .hero {
    padding-bottom: 58px;
  }

  .privacy {
    padding-bottom: 58px;
  }

  .privacy-card {
    padding: 28px;
  }

  .footer-content {
    padding: 18px 0;
    flex-direction: column;
    justify-content: center;
  }
}
