:root {
  --bg: #fffdf7;
  --surface: #ffffff;
  --text: #16351b;
  --muted: #464646;
  --lime: #b6f20d;
  --green: #32d56a;
  --dark-green: #1a5f32;
  --mint: #e8ffd9;
  --gold: #ffd85a;
  --lavender: #e8dbff;
  --shadow: 0 20px 60px rgba(24, 70, 38, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 242, 13, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 216, 90, 0.18), transparent 26%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 14px 18px;
  /*background: rgba(255, 255, 255, 1);*/
  backdrop-filter: blur(8px);
  /*border: 1px solid rgba(22, 53, 27, 0.08);*/
  border-radius: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

}

.brand img {
  height: 52px;
  width: auto;
}

.nav {
  display: none;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar .cta-row {
  flex: 1 1 100%;
  justify-content: center;
}

.nav-cta,
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 600;
  border-radius: 999px;
}

.cta-secondary {
  color: #9ed604;
}

.nav-cta,
.cta-primary {
  color: #2b2b2b;
  background: #b6f20d;
  /*border: 2px solid #16351b;*/
  box-shadow: 0 10px 24px rgba(182, 242, 13, 0.24);
}

.cta-secondary {
  color: #2b2b2b;
  background: transparent;
  border: 2px solid #b6f20d;
}

.hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 28px 0 36px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--dark-green);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.english-card h3,
.final-copy h2 {
  margin: 14px 0 0;
  font-family: "Manrope", "Noto Sans TC", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.24rem, 8vw, 4.48rem);
  line-height: 0.95;
  color: #2b2b2b;
}

.hero-inline-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2em;
  margin-top: 10px;
}

.hero-line-break {
  display: inline;
  margin-top: 0;
}

.rotator-pill {
  display: inline-flex;
  align-items: center;
  min-width: auto;
  padding: 12px 12px;
  margin-top: 8px;
  background: #16351b;
  color: #b6f20d;
  border-radius: 32px;
  transform: translateY(-2px);
}

.rotator,
.inline-rotator {
  font-size: clamp(2rem, 7vw, 4rem);
  position: relative;
  display: inline-block;
}

.rotator {
  width: 4.5em;
  text-align: center;
}

.hero-subtitle,
.section-heading p,
.feature-card p,
.problem-card p,
.step-card p,
.english-card p,
.faq-list p,
.final-copy p,
.microcopy,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.microcopy {
  color: #999;
  font-size: 0.8em;
}

.hero-subtitle {
  max-width: 38rem;
  margin: 20px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 24px;
}

.microcopy {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  justify-content: center;
}

.trust-row li {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(22, 53, 27, 0.08);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
}

.hero-stage {
  position: relative;
  width: min(100%, 520px);
  min-height: 600px;
}

.hero-backdrop {
  position: absolute;
  inset: 70px 8px 58px;
  background: linear-gradient(180deg, #dcff72 0%, #c9fb5d 52%, #baf548 100%);
  border-radius: 18% 18% 14% 14% / 10% 10% 18% 18%;
  box-shadow:
    inset 0 -18px 48px rgba(142, 201, 35, 0.16),
    0 36px 90px rgba(95, 155, 20, 0.18);
}

/*.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: auto -6% -9% -6%;
  height: 108px;
  background: var(--bg);
  border-radius: 50%;
}*/

.hero-phone {
  position: relative;
  z-index: 3;
  display: block;
  width: min(60%, 372px);
  margin: 12px auto 0;
  filter: drop-shadow(0 38px 48px rgba(22, 53, 27, 0.22));
}

.hero-float {
  position: absolute;
  z-index: 4;
  display: block;
  width: min(46%, 220px);
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(22, 53, 27, 0.16);
}

.hero-float-top {
  top: 200px;
  left: 10px;
  transform: rotate(-3deg);
}

.hero-float-left {
  bottom: 126px;
  left: -4px;
  transform: rotate(-5deg);
}

.hero-float-right {
  right: 0;
  bottom: 186px;
  transform: rotate(4deg);
}

.hero-float-left,
.hero-float-right {
  width: min(42%, 196px);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.78;
}

.hero-orbit-a {
  top: 50px;
  right: 18px;
  width: 126px;
  height: 126px;
  background: rgba(255, 216, 90, 0.38);
}

.hero-orbit-b {
  bottom: 92px;
  left: 8px;
  width: 168px;
  height: 168px;
  background: rgba(50, 213, 106, 0.16);
}

.card-label,
.feature-index,
.feature-tag {
  margin: 0 0 12px;
  color: var(--dark-green);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amount-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  font-family: "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.badge {
  width: fit-content;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: #16351b;
  background: var(--mint);
  border-radius: 999px;
}

.settlement-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.settlement-list li {
  padding: 14px;
  background: #ffffff;
  border-radius: 18px;
  font-size: 0.95rem;
}

.frog-sticker {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 110px;
  padding: 10px;
  background: white;
  border: 2px solid #16351b;
  border-radius: 26px;
  transform: rotate(-7deg);
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #6e5800;
  background: linear-gradient(180deg, #ffe483, #ffca2f);
  border: 2px solid #16351b;
  border-radius: 50%;
}

.coin-a {
  top: 88px;
  right: 20px;
}

.coin-b {
  bottom: 118px;
  left: 18px;
}

section {
  padding: 52px 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading.narrow {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.problem-grid,
.steps {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.problem-grid,
.steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps {
  position: relative;
}

.step-card {
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps.is-visible .step-card {
  opacity: 1;
}

.problem-card,
.step-card,
.english-card,
.final-cta {
  background: rgba(255, 255, 255, 0.9);

  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.problem-card,
.step-card,
.english-card {
  padding: 24px;
}

.problem-card span,
.step-no {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: 48px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 1rem;

}

.problem-card h3,
.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

/* Feature grid — 4 equal-width cards that fly in from the right, staggered */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 28px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 0px solid rgba(22, 53, 27, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 20px;
  opacity: 0;
  transform: translateX(64px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-grid .feature-card:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, #eefbe0 100%);
}

.feature-grid .feature-card:nth-child(2) {
  background: linear-gradient(180deg, #e6f9d3 0%, #c7e4a9 100%);
}

.feature-grid .feature-card:nth-child(3) {
  background: linear-gradient(180deg, #c3e4a3 0%, #abe087 100%);
}

.feature-grid .feature-card:nth-child(4) {
  background: linear-gradient(180deg, #a2d77e 0%, #85d261 100%);
}

.feature-grid.is-visible .feature-card {
  opacity: 1;
  transform: translateX(0);
}

.feature-grid.is-visible .feature-card:nth-child(1) {
  transition-delay: 0s;
}

.feature-grid.is-visible .feature-card:nth-child(2) {
  transition-delay: 0.20s;
}

.feature-grid.is-visible .feature-card:nth-child(3) {
  transition-delay: 0.28s;
}

.feature-grid.is-visible .feature-card:nth-child(4) {
  transition-delay: 0.40s;
}

.feature-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
}

.feature-meta .feature-index,
.feature-meta .feature-tag {
  margin: 0;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-desc {
  min-height: 5.1em;
  margin: 0;
}

.feature-card-img {
  width: 100%;
  height: 180px;
  margin-top: auto;
  padding-top: 16px;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.step-no {
  font-weight: 500;
  color: var(--dark-green);
}

.english-card {
  max-width: 920px;
  margin: 28px auto 0;
  text-align: center;
  background: linear-gradient(135deg, #16351b, #2d7c43);
  color: white;
}

.english-card p {
  color: rgba(255, 255, 255, 0.76);
}

.inline-rotator {
  color: var(--lime);
}

.faq-layout {
  display: grid;
  gap: 24px;
}

.faq-heading {
  margin: 0;
  max-width: none;
}

.faq-list {
  margin-top: 0;
  border-top: 1px solid rgba(22, 53, 27, 0.14);
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid rgba(22, 53, 27, 0.14);
}

.faq-list details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  list-style: none;
}

.faq-list details summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 12px 0 0;
  padding-right: 40px;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--dark-green);
  border-radius: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-list details[open] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 28px 0 20px;
}


.footer-art {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.footer-blob {
  display: block;
  aspect-ratio: 1;
  min-height: 120px;
  border-radius: 36% 64% 58% 42% / 44% 36% 64% 56%;
}



.footer-top {
  display: grid;
  gap: 28px;
  padding: 12px 0 24px;
  border-top: 1px solid rgba(22, 53, 27, 0.14);
}

.footer-intro h2 {
  max-width: 12ch;
  margin: 12px 0;
  font-family: "Manrope", "Noto Sans TC", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #111;
}

.footer-note {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: #999;
}

.footer-links {
  display: grid;
  gap: 20px;
}

.footer-links h3 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #4c4c4c;
}

.footer-brand {
  margin-top: 12px;
  font-family: "Manrope", "Noto Sans TC", sans-serif;
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #111;
}

.footer-bottom {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 14px 28px;
  padding-top: 14px;
  margin-top: 18px;
  border-top: 1px solid rgba(22, 53, 27, 0.14);
  font-size: 0.78rem;
  color: #666;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .page-shell {
    width: min(1180px, calc(100% - 56px));
  }

  .nav {
    display: flex;
  }

  .topbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    border-radius: 999px;
  }

  .brand img {
    height: 80px;
  }

  .topbar .cta-row {
    flex: 0 0 auto;
    justify-content: flex-end;
  }

  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding-top: 36px;
  }

  .amount-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .step-card:nth-child(1) {
    z-index: 1;
    transform: translateX(calc(100% + 18px)) rotate(-8deg) scale(0.92);
  }

  .step-card:nth-child(2) {
    z-index: 3;
    transform: scale(0.98);
  }

  .step-card:nth-child(3) {
    z-index: 2;
    transform: translateX(calc(-100% - 18px)) rotate(8deg) scale(0.92);
  }

  .steps.is-visible .step-card {
    transform: none;
  }

  .faq-layout {
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-card-img {
    height: 220px;
  }

  .footer-art {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: start;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .hero-stage {
    min-height: 620px;
  }

  .hero-phone {
    width: min(76%, 390px);
  }
}