:root {
  --page-bg: #f6f4ee;
  --panel-bg: rgba(255, 255, 255, 0.8);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --text-main: #111111;
  --text-muted: #585858;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --shadow-soft: 0 20px 48px rgba(23, 36, 55, 0.08);
  --shadow-card: 0 16px 34px rgba(37, 49, 69, 0.12);
  --blue-gradient: linear-gradient(89.58deg, #3186ff 0.28%, #346bf0 44.45%, #4ea0ff 99.55%);
  --title-size: 40px;
  --body-size: 16px;
  --body-line: 24px;
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --content-width: 350px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.is-modal-open {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 8% 18%, rgba(160, 187, 255, 0.18), rgba(160, 187, 255, 0) 34%),
    radial-gradient(circle at 92% 24%, rgba(255, 215, 163, 0.16), rgba(255, 215, 163, 0) 28%),
    linear-gradient(180deg, #fcfbf8 0%, var(--page-bg) 100%);
  color: var(--text-main);
  font-family: "Google Sans", "Google Sans Text", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 140px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(201, 221, 255, 0.36);
}

body::after {
  top: 860px;
  right: -72px;
  width: 190px;
  height: 190px;
  background: rgba(255, 224, 184, 0.3);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 390px;
  margin: 0 auto;
  min-height: 100vh;
}

.page-content {
  padding: 10px 0 54px;
}

.hero,
.feature,
.page-note {
  width: var(--content-width);
  margin: 0 auto;
}

.hero {
  padding-top: 10px;
}

.hero-mosaic {
  position: relative;
  height: 118px;
  margin-bottom: 10px;
}

.hero-mosaic__card {
  position: absolute;
  top: 0;
  width: 72px;
  height: 102px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--panel-strong);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.hero-mosaic__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-copy {
  text-align: center;
}

.hero-title,
.feature-title {
  margin: 0;
  font-weight: 500;
}

.hero-title {
  font-size: var(--title-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.feature-title {
  font-size: 36px;
  line-height: 1.14;
  letter-spacing: -0.024em;
}

.hero-body,
.feature-body {
  margin: 14px 0 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue-gradient);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  box-shadow: 0 14px 28px rgba(64, 122, 255, 0.25);
  cursor: pointer;
}

.gradient-text {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature {
  margin-top: 72px;
}

.cta-microcopy {
  margin: 10px 0 0;
  color: rgba(17, 17, 17, 0.52);
  font-size: 12px;
  line-height: 18px;
}

.wechat-entry-card {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.wechat-entry-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wechat-entry-card__methods {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.wechat-entry-card__method {
  padding: 14px;
  border-radius: 20px;
  background: rgba(245, 248, 255, 0.82);
  border: 1px solid rgba(49, 121, 255, 0.12);
}

.wechat-entry-card__eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: #3179ff;
  font-weight: 600;
}

.wechat-entry-card__label {
  margin: 0;
  color: var(--text-main);
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
}

.wechat-entry-card__copy,
.wechat-entry-card__ghost,
.entry-modal__copy,
.entry-modal__download {
  appearance: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.wechat-entry-card__copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 14px;
  background: rgba(49, 121, 255, 0.1);
  color: #2466e3;
  font-size: 12px;
  font-weight: 600;
}

.wechat-entry-card__body {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
}

.wechat-entry-card__name {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--text-main);
  font-weight: 600;
}

.wechat-entry-card__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid rgba(49, 121, 255, 0.18);
  background: rgba(49, 121, 255, 0.06);
  color: #2466e3;
  font-size: 13px;
  font-weight: 600;
}

.wechat-entry-card__method .wechat-entry-card__copy,
.wechat-entry-card__method .wechat-entry-card__ghost {
  margin-top: 12px;
}

.wechat-entry-card--secondary {
  margin-top: 20px;
}

.entry-prompt {
  margin-top: 72px;
  padding: 26px 18px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(242, 247, 255, 0.78), rgba(255, 255, 255, 0.58));
  box-shadow: var(--shadow-soft);
}

.feature-copy {
  text-align: center;
}

.carousel,
.video-frame {
  margin-top: 26px;
}

.carousel__viewport,
.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--panel-strong);
  box-shadow: var(--shadow-soft);
}

.carousel__viewport {
  aspect-ratio: 16 / 9;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.carousel__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.carousel__dot.is-active {
  width: 18px;
  background: rgba(17, 17, 17, 0.44);
}

.video-frame {
  padding: 6px;
}

.feature-video {
  width: 100%;
  display: block;
  border-radius: calc(var(--radius-lg) - 6px);
}

.page-note {
  margin-top: 52px;
  color: rgba(17, 17, 17, 0.56);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.entry-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.entry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 25, 0.52);
  backdrop-filter: blur(6px);
}

.entry-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 243, 0.98));
  box-shadow: 0 -18px 50px rgba(14, 24, 36, 0.18);
  transform: translateY(18px);
  transition: transform 0.25s ease;
}

.entry-modal.is-open .entry-modal__sheet {
  transform: translateY(0);
}

.entry-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: rgba(17, 17, 17, 0.72);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.entry-modal__eyebrow {
  margin: 0;
  color: #3179ff;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.entry-modal__title {
  margin: 8px 0 0;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.entry-modal__lead {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 22px;
}

.entry-modal__qr-card,
.entry-modal__search-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.entry-modal__qr-image {
  display: block;
  width: min(100%, 240px);
  margin: 0 auto;
  border-radius: 24px;
}

.entry-modal__hint,
.entry-modal__search-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 20px;
}

.entry-modal__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 14px;
  padding: 0 16px;
  background: var(--blue-gradient);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.entry-modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: rgba(17, 17, 17, 0.36);
  font-size: 12px;
}

.entry-modal__divider::before,
.entry-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
}

.entry-modal__label {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  color: rgba(17, 17, 17, 0.5);
}

.entry-modal__copy-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 10px;
}

.entry-modal__name {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.03);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  user-select: text;
}

.entry-modal__copy {
  min-height: 44px;
  padding: 0 16px;
  background: rgba(49, 121, 255, 0.1);
  color: #2466e3;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.entry-modal__copy.is-success,
.wechat-entry-card__copy.is-success {
  background: rgba(36, 183, 103, 0.12);
  color: #13834a;
}

@media (min-width: 480px) {
  body {
    padding: 20px 0;
  }

  .page-shell {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44));
    box-shadow: 0 28px 54px rgba(31, 39, 53, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel__track,
  .carousel__dot {
    transition: none;
  }

  .entry-modal,
  .entry-modal__sheet {
    transition: none;
  }
}
