:root {
  --bg-start: #060816;
  --bg-mid: #11152b;
  --bg-end: #1a1022;
  --surface: rgba(18, 22, 42, 0.72);
  --surface-strong: rgba(20, 24, 44, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.76);
  --pink: #ff5ea8;
  --violet: #8b5cf6;
  --gold: #fbbf24;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lander-page {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 94, 168, 0.16), transparent 35%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), transparent 32%),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.08), transparent 28%),
    linear-gradient(160deg, var(--bg-start) 0%, var(--bg-mid) 54%, var(--bg-end) 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.lander-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 32%),
    radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.12) 100%);
  opacity: 0.8;
}

a {
  color: inherit;
}

.lander-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.lander-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(8, 12, 26, 0.66);
  backdrop-filter: blur(26px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 94, 168, 0.95), rgba(139, 92, 246, 0.95));
  box-shadow: 0 16px 30px rgba(255, 94, 168, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(226, 232, 240, 0.56);
}

.brand-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-pill,
.cta {
  text-decoration: none;
  white-space: nowrap;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 22px;
}

.hero-copy-card,
.hero-side-card,
.feature-card,
.preview-card,
.store-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-copy-card {
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.hero-side-card {
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  background: linear-gradient(180deg, rgba(255, 94, 168, 0.12), rgba(139, 92, 246, 0.08));
}

.section-kicker {
  margin: 0;
  color: #f9a8d4;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.1em;
}

.hero-title .accent {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #ffd0e4 42%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.badges,
.meta-row,
.store-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge,
.meta-chip,
.count-chip,
.invite-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.meta-chip {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.invite-title {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.invite-label,
.card-label {
  margin: 0;
  color: rgba(249, 168, 212, 0.95);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
}

.card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.invite-code-row {
  display: grid;
  gap: 8px;
}

.invite-code-label {
  color: rgba(226, 232, 240, 0.6);
  font-size: 0.84rem;
  font-weight: 700;
}

.invite-code {
  justify-content: flex-start;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.22);
}

.cta-row {
  margin-top: 6px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta.primary {
  background: linear-gradient(135deg, #ff4f97, #8b5cf6);
  color: #fff;
  box-shadow: 0 18px 35px rgba(139, 92, 246, 0.24);
}

.cta.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.cta:hover,
.nav-pill:hover,
.brand:hover {
  transform: translateY(-1px);
}

.hero-side-card .invite-card {
  display: grid;
  gap: 14px;
}

.feature-grid,
.preview-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 18px;
}

.feature-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.section {
  margin-top: 26px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

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

.preview-card {
  overflow: hidden;
}

.preview-card button,
.preview-card img {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

.preview-card img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  cursor: zoom-in;
}

.preview-caption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.store-card {
  padding: 18px;
}

.store-row {
  align-items: center;
}

.store-row img {
  display: block;
  width: 150px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24);
}

.footer {
  margin-top: 28px;
  padding: 18px 0 10px;
  text-align: center;
  color: rgba(226, 232, 240, 0.55);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(18px);
}

.modal.is-open {
  display: flex;
}

.modal__image {
  max-width: min(96vw, 900px);
  max-height: 92vh;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 960px) {
  .lander-topbar,
  .section-heading {
    align-items: start;
  }

  .hero,
  .feature-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .brand-name {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .lander-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .lander-topbar,
  .hero-copy-card,
  .hero-side-card,
  .feature-card,
  .store-card {
    border-radius: 24px;
  }

  .lander-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-pill,
  .cta,
  .store-row img {
    width: 100%;
  }

  .hero-copy-card {
    padding: 22px;
  }

  .hero-side-card {
    padding: 20px;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}
