* {
  box-sizing: border-box;
}

:root {
  --bg: #f8f9fc;
  --surface: #ffffff;
  --text: #171821;
  --muted: #717480;
  --line: #e7e9ef;
  --blue: #3f66db;
  --purple: #6d37c8;
  --soft: #efeffb;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  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;
  border-bottom: 1px solid rgba(231, 233, 239, 0.9);
  background: rgba(248, 249, 252, 0.9);
  backdrop-filter: blur(16px);
}

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

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

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 10px 28px rgba(79, 72, 197, 0.24);
}

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

.hero {
  padding: 96px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 72px;
}

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

h1 {
  margin: 22px 0 20px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

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

.apple {
  font-size: 28px;
}

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

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

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

.visual-card {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 46px;
  border-radius: 34px;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(84, 126, 255, .35), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(119, 56, 198, .42), transparent 32%),
    #171822;
  box-shadow: 0 30px 90px rgba(35, 38, 55, 0.18);
}

.qr-grid {
  width: min(320px, 100%);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.qr-grid span {
  border-radius: 9px;
  background: white;
}

.qr-grid .empty {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

.visual-label {
  display: flex;
  flex-direction: column;
  margin-top: 34px;
}

.visual-label strong {
  font-size: 27px;
}

.visual-label span {
  color: rgba(255,255,255,.62);
}

.section {
  padding: 86px 0;
}

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

.section-heading h2,
.highlight-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

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

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

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

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

.highlight {
  padding: 0 0 90px;
}

.highlight-card {
  padding: 46px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-radius: 32px;
  color: white;
  background: linear-gradient(135deg, #24283b, #171822 55%, #261b3a);
}

.eyebrow.light {
  color: #e5e8ff;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
}

.highlight-card p {
  margin: 0;
  color: #c8cbd6;
  font-size: 18px;
}

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

.footer-content {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-content a {
  color: var(--purple);
  font-weight: 800;
}

@media (max-width: 840px) {
  .hero-grid,
  .highlight-card {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 48px;
  }
}

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

  .hero {
    padding: 58px 0 62px;
  }

  h1 {
    font-size: 48px;
  }

  .lead {
    font-size: 17px;
  }

  .visual-card {
    min-height: 400px;
    padding: 30px;
  }

  .qr-grid {
    gap: 8px;
  }

  .section {
    padding: 62px 0;
  }

  .highlight {
    padding-bottom: 62px;
  }

  .highlight-card {
    padding: 30px;
    gap: 26px;
  }

  .footer-content {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
