:root {
  --mint: #d8e0d0;
  --mint-deep: #c5d1b8;
  --cream: #f7faf4;
  --forest: #517430;
  --forest-deep: #3d5a24;
  --lime: #74ac27;
  --ink: #1f2a14;
  --muted: #4f5c45;
  --green-signal: #1db954;
  --yellow-signal: #e6b422;
  --red-signal: #e53935;
  --header-h: 4.25rem;
  --radius: 1.5rem;
  --shadow: 0 24px 60px rgba(61, 90, 36, 0.12);
  --font-display: "Noto Serif TC", "Outfit", serif;
  --font-sans: "Noto Sans TC", "Outfit", sans-serif;
  --font-en: "Outfit", "Noto Sans TC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  background: var(--mint);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--forest);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--forest-deep);
}

.bg-wash {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(116, 172, 39, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, rgba(81, 116, 48, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(197, 209, 184, 0.9), transparent 55%),
    linear-gradient(165deg, #e7eedf 0%, var(--mint) 42%, #cfdaba 100%);
}

.leaf {
  position: fixed;
  z-index: -1;
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  opacity: 0.18;
  background:
    radial-gradient(circle at 30% 40%, transparent 42%, var(--forest) 43% 48%, transparent 49%),
    radial-gradient(circle at 62% 55%, transparent 36%, var(--lime) 37% 42%, transparent 43%);
  filter: blur(0.3px);
  pointer-events: none;
}

.leaf-a {
  top: 8%;
  right: 4%;
  animation: drift 14s ease-in-out infinite;
}

.leaf-b {
  bottom: 12%;
  left: 2%;
  transform: scaleX(-1);
  animation: drift 18s ease-in-out infinite reverse;
}

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.leaf-b {
  animation-name: drift-flip;
}

@keyframes drift-flip {
  0%, 100% { transform: scaleX(-1) translateY(0) rotate(0deg); }
  50% { transform: scaleX(-1) translateY(-10px) rotate(-3deg); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(247, 250, 244, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(81, 116, 48, 0.12);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--forest-deep);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav {
  display: none;
  gap: 1.35rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(81, 116, 48, 0.1);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.lang-btn.is-active {
  background: var(--forest);
  color: #fff;
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.hero-icon {
  width: clamp(112px, 22vw, 160px);
  height: auto;
  margin: 0 auto 1.25rem;
  border-radius: 28%;
  filter: drop-shadow(0 18px 30px rgba(61, 90, 36, 0.22));
  animation: float-icon 5.5s ease-in-out infinite;
}

@keyframes float-icon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-en {
  font-family: var(--font-en);
  font-weight: 700;
  margin-right: 0.12em;
}

.hero-subtitle {
  margin: 0.85rem 0 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.45;
}

.hero-lead {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-cta {
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(81, 116, 48, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: var(--forest-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(81, 116, 48, 0.34);
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.section-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.section-media img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.phone-frame {
  max-width: 280px;
  margin-inline: auto;
}

.phone-pair {
  max-width: 1120px;
  margin: clamp(1.75rem, 4vw, 2.5rem) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  justify-items: center;
}

.section-copy {
  max-width: 34rem;
}

.section-copy-wide {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.section-rewards .section-copy-wide p {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--lime);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.3;
}

.section-copy p {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.emphasis {
  color: var(--forest) !important;
  font-weight: 700;
  font-size: 1.08rem;
}

.signal-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.signal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(81, 116, 48, 0.12);
}

.signal:last-child {
  border-bottom: 0;
}

.signal .dot {
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.65);
}

.signal-green .dot { background: var(--green-signal); }
.signal-yellow .dot { background: var(--yellow-signal); }
.signal-red .dot { background: var(--red-signal); }

.signal strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.signal span {
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem) 2.5rem;
  text-align: center;
  border-top: 1px solid rgba(81, 116, 48, 0.14);
  background: rgba(247, 250, 244, 0.55);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy a {
  font-weight: 700;
}

@media (min-width: 640px) {
  .phone-pair {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .section-grid {
    grid-template-columns: minmax(0, 300px) 1fr;
  }

  .phone-frame {
    margin-inline: 0;
  }

  .section-about .phone-frame,
  .section-insights .phone-frame {
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .phone-frame {
    max-width: 300px;
  }

  .phone-pair {
    grid-template-columns: repeat(2, minmax(0, 300px));
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-icon,
  .leaf-a,
  .leaf-b {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
