:root {
  --bg: #f6f3fb;
  --bg-deep: #ebe4f4;
  --ink: #241c2e;
  --muted: #6e6578;
  --line: rgba(36, 28, 46, 0.12);
  --accent: #c75bba;
  --card: #fffbfe;
  --shadow: 0 30px 70px rgba(70, 40, 90, 0.16);
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "PMingLiU", "Iowan Old Style", Palatino, serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(186, 120, 220, 0.16), transparent 60%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(rgba(22, 21, 19, 0.18) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
  z-index: 0;
}

img { max-width: 100%; }

a { color: inherit; }

::selection {
  background: #f3c6e4;
  color: var(--ink);
}

.nav,
main,
.footer { position: relative; z-index: 1; }

.nav {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 28px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover { color: var(--ink); }

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 28px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 91, 186, 0.18);
}

h1 {
  margin: 0;
  max-width: 12em;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 38em;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.store {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 196px;
  min-height: 58px;
  padding: 8px 18px 8px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #f7f3ec;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 21, 19, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(22, 21, 19, 0.18);
}

.store:focus-visible,
.nav a:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.store-icon {
  width: 26px;
  height: 26px;
  flex: none;
}

.store-icon.play { width: 24px; height: 24px; }

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

.store-text small {
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0.72;
}

.store-text strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-hint {
  display: none;
  position: absolute;
  top: -10px;
  right: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
}

body[data-platform="ios"] .store-ios .store-hint,
body[data-platform="android"] .store-android .store-hint,
body[data-platform="web"] .store-h5 .store-hint {
  display: inline-block;
}

.meta {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.glow-a {
  width: 280px;
  height: 280px;
  right: 12%;
  top: 8%;
  background: rgba(232, 140, 196, 0.45);
}

.glow-b {
  width: 220px;
  height: 220px;
  left: 10%;
  bottom: 8%;
  background: rgba(168, 120, 230, 0.42);
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 10 / 20.6;
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2a2826, #0e0d0c 40%, #1a1917);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(-7deg);
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(90% 40% at 0% 0%, rgba(243, 168, 200, 0.35), transparent 55%),
    radial-gradient(70% 36% at 100% 8%, rgba(176, 140, 236, 0.28), transparent 50%),
    linear-gradient(180deg, #fbf8ff, #f4eefb);
  padding: 16px 14px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.island {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0e0d0c;
}

.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 650;
  padding: 2px 8px 0;
}

.status-icons {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 10px;
}

.status-icons i {
  display: block;
  width: 3px;
  background: var(--ink);
  border-radius: 1px;
}

.status-icons i:nth-child(1) { height: 4px; }
.status-icons i:nth-child(2) { height: 7px; }
.status-icons i:nth-child(3) { height: 10px; }

.chat-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 2px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36, 28, 46, 0.08);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  background: linear-gradient(145deg, #f3a8c8, #9b7ae8);
}

.chat-who {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.chat-who strong {
  font-size: 15px;
  font-weight: 650;
}

.chat-who small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.chat-who small i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3cba7a;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  min-height: 0;
}

.stamp {
  margin: 0 0 2px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.msg {
  margin: 0;
  max-width: 78%;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.msg.in {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-radius: 16px 16px 16px 5px;
  box-shadow: 0 6px 16px rgba(80, 50, 110, 0.06);
}

.msg.out {
  align-self: flex-end;
  color: #fff;
  background: linear-gradient(135deg, #f3a0c8, #b07be6);
  border-radius: 16px 16px 5px 16px;
}

.composer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}

.composer-input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  color: #9a93a6;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(80, 50, 110, 0.05);
}

.send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f3a0c8, #b07be6);
}

.send svg {
  width: 16px;
  height: 16px;
  display: block;
}

.features {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 28px 80px;
}

.section-head h2,
.closer h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p,
.closer p {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.feature-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.feature-list li:hover { border-top-color: var(--ink); }

.num {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.feature-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 620;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.closer {
  margin: 0 16px 28px;
  padding: 56px 40px;
  border-radius: 28px;
  background: #2a2036;
  color: #f7f2fb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  max-width: calc(var(--wrap) - 32px);
  margin-inline: auto;
}

.closer p { color: rgba(247, 242, 251, 0.68); }

.stores-light .store {
  background: #f6f3fb;
  color: var(--ink);
}

.closer .stores {
  margin-top: 0;
}

.footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px 28px 36px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.dock {
  display: none;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  h1 { max-width: none; }

  .phone { transform: none; }

  .stage { min-height: 0; padding: 12px 0 8px; }

  .feature-list { grid-template-columns: 1fr 1fr; }

  .closer {
    flex-direction: column;
    align-items: flex-start;
    margin-inline: 16px;
  }
}

@media (max-width: 720px) {
  .nav { padding-inline: 18px; }

  .nav-links { display: none; }

  .hero,
  .features { padding-inline: 18px; }

  .feature-list { grid-template-columns: 1fr; }

  .stores .store { flex: 1 1 180px; }

  .closer { padding: 36px 22px; }

  body { padding-bottom: 92px; }

  .dock {
    display: flex;
    gap: 10px;
    position: fixed;
    z-index: 5;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(246, 243, 251, 0.92);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    transform: translateY(140%);
    transition: transform 0.35s ease;
  }

  .dock.is-visible { transform: none; }

  .dock .store {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    justify-content: center;
    box-shadow: none;
    padding-inline: 10px;
  }

  .dock .store-text strong { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store,
  .dock { transition: none; }
  .store:hover { transform: none; }
}
