/* Landing page — green/cream theme, mobile-first */
.landing {
  margin: 0;
  min-height: 100dvh;
  min-height: 100svh;
  background: var(--cream, #f6f0e6);
  color: var(--ink, #1c1916);
  font-family: "PingFang TC", "Hiragino Sans GB", "Noto Sans TC", "Microsoft JhengHei", "Source Han Sans TC", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.landing-wrap {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--cream, #f6f0e6);
  box-shadow: 0 0 0 1px rgba(28, 25, 22, 0.06), 0 20px 50px rgba(28, 25, 22, 0.18);
}

.landing-hero {
  background: var(--felt, #1b4332);
  color: #f6f0e6;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 22px 28px;
  text-align: center;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #2d6a4f;
  color: #f4efe4;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.landing-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.landing-tagline {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #e8d5a3;
  opacity: 0.95;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #c4a35a;
  color: #1b4332;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.landing-cta:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

.landing-main {
  flex: 1;
  padding: 20px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.landing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-features li {
  background: #fffbf4;
  border: 1px solid #e4d8c4;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
  color: #1c1916;
  box-shadow: 0 4px 12px rgba(28, 25, 22, 0.06);
}

.landing-features li strong {
  color: #1b4332;
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.landing-share {
  background: #fffbf4;
  border: 1px solid #e4d8c4;
  border-radius: 16px;
  padding: 16px;
}

.landing-share h2 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #1b4332;
}

.landing-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-share-btn {
  flex: 1 1 calc(50% - 4px);
  min-height: 48px;
  min-width: 120px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  padding: 12px 10px;
}

.landing-share-btn.fb { background: #1877f2; }
.landing-share-btn.threads { background: #101010; }
.landing-share-btn.copy { background: #2d6a4f; }
.landing-share-btn.ig { background: #c13584; }

.landing-share-btn:active {
  filter: brightness(0.92);
  transform: scale(0.98);
}

.landing-share-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #5c5348;
  line-height: 1.4;
}

.landing-ad {
  border: 1px dashed #d4c7b0;
  border-radius: 12px;
  background: rgba(255, 251, 244, 0.6);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a8f7e;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.landing-ad[data-ad-slot="top"] {
  min-height: 50px;
  width: 100%;
  max-width: 100%;
}

.landing-ad[data-ad-slot="bottom"] {
  min-height: 80px;
}

.landing-footer {
  text-align: center;
  padding: 8px 16px 4px;
  font-size: 12px;
  color: #5c5348;
  line-height: 1.5;
}

.landing-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(120%);
  background: #1b4332;
  color: #f6f0e6;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  z-index: 50;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.landing-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@media (min-width: 480px) {
  .landing {
    background: #d9cfc0;
  }
}


.landing-lead {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(244, 239, 228, 0.88);
}
.landing-lead strong {
  color: #F4EFE4;
  font-weight: 650;
}

.landing-copy {
  background: #fffbf4;
  border: 1px solid #e4d8c4;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #1c1916;
}
.landing-copy-opt {
  color: #5c5348 !important;
  font-size: 14px !important;
}
