:root {
  --green-900: #073d1c;
  --green-800: #0d5a28;
  --green-700: #177c34;
  --green-600: #1f963f;
  --green-100: #eaf6ec;
  --green-50: #f4faf5;
  --text: #172218;
  --muted: #5b665b;
  --line: #d8e2d8;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(14, 56, 25, 0.13);
  --radius: 8px;
  --max: 1180px;
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 226, 216, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--green-800);
}

.brand-mark svg {
  width: 44px;
  height: 44px;
}

.brand-mark circle {
  fill: var(--green-100);
  stroke: currentColor;
  stroke-width: 2.5;
}

.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.brand strong {
  display: block;
  color: var(--green-900);
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  color: #233025;
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--green-700);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--green-700);
  box-shadow: 0 8px 20px rgba(23, 124, 52, 0.2);
}

.button {
  padding: 0 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, var(--green-600), var(--green-800));
  box-shadow: 0 14px 28px rgba(23, 124, 52, 0.24);
}

.button.secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(7, 61, 28, 0.34);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(72px, 11vw, 128px) clamp(22px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 37%, rgba(255, 255, 255, 0.1) 71%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, #ffffff 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.hero h1 {
  margin: 0;
  color: var(--green-900);
  font-size: 5.45rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 630px;
  margin: 28px 0 0;
  color: #233025;
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

section {
  padding: clamp(66px, 9vw, 108px) clamp(22px, 5vw, 64px);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.quote-copy h2,
.final-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: 2.7rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.18;
}

.section-heading h2::after {
  display: block;
  width: 56px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 99px;
  background: var(--green-700);
  content: "";
}

.pain-grid,
.metrics-grid {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.pain-item {
  padding: 18px clamp(22px, 4vw, 48px);
  text-align: center;
}

.pain-item + .pain-item {
  border-left: 1px solid var(--line);
}

.icon-circle {
  display: grid;
  width: 126px;
  height: 126px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-900);
  background: linear-gradient(180deg, var(--green-100), #f7fbf8);
}

.icon-circle svg {
  width: 60px;
  height: 60px;
}

.icon-circle path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.pain-item h3,
.flow-card h3 {
  margin: 0 0 10px;
  color: var(--green-800);
  font-size: 1.6rem;
  font-weight: 950;
}

.pain-item p,
.flow-card p,
.metric p,
.final-cta p,
.footer-info p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.flow-section,
.impact-section {
  border-top: 1px solid var(--line);
}

.flow-grid {
  position: relative;
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.flow-card {
  position: relative;
  min-height: 210px;
  padding: 32px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(14, 56, 25, 0.07);
}

.flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -24px;
  width: 18px;
  height: 18px;
  border-top: 4px solid var(--green-700);
  border-right: 4px solid var(--green-700);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green-700);
  font-weight: 950;
}

.metrics-grid {
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.metric {
  padding: 36px 28px;
  text-align: center;
}

.metric + .metric {
  border-left: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--green-700);
  font-size: 4.25rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--green-900);
  font-size: 1.25rem;
  font-weight: 900;
}

.quote-section {
  padding-top: 0;
}

.quote-card {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.95fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-copy {
  padding: clamp(32px, 6vw, 62px);
}

blockquote {
  position: relative;
  margin: 34px 0 24px;
  color: var(--green-900);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1.55;
}

blockquote::before {
  display: block;
  margin-bottom: 8px;
  color: var(--green-600);
  font-size: 4rem;
  line-height: 0.6;
  content: "“";
}

.quote-copy > p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.quote-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 62% center;
}

.final-cta {
  display: grid;
  max-width: var(--max);
  margin: 0 auto 54px;
  padding: clamp(30px, 5vw, 44px);
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(23, 124, 52, 0.35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfffb, #eff8f0);
}

.final-cta p {
  margin-top: 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.contact-actions {
  display: grid;
  gap: 12px;
  min-width: min(340px, 100%);
}

.line-note {
  min-height: 24px;
  color: var(--green-800) !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px clamp(22px, 5vw, 64px);
  color: #ffffff;
  background: var(--green-900);
}

.footer-brand .brand-mark circle {
  fill: rgba(255, 255, 255, 0.12);
}

.footer-brand,
.footer-brand strong,
.footer-brand small,
.footer-info p {
  color: #ffffff;
}

.footer-info {
  max-width: 640px;
  text-align: right;
}

.footer-info p + p {
  margin-top: 4px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: 4.15rem;
  }

  .hero p {
    font-size: 1.16rem;
  }

  .section-heading h2,
  .quote-copy h2,
  .final-cta h2 {
    font-size: 2.25rem;
  }

  blockquote {
    font-size: 1.72rem;
  }

  .metric strong {
    font-size: 3.6rem;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 58%, rgba(255, 255, 255, 0.24) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0) 68%, #ffffff 100%);
  }

  .hero-media img {
    object-position: 64% center;
  }

  .pain-grid,
  .flow-grid,
  .metrics-grid,
  .quote-card,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .pain-item + .pain-item,
  .metric + .metric {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .flow-card:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -24px;
    transform: translateX(50%) rotate(135deg);
  }

  .quote-photo img {
    min-height: 300px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-info {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .site-nav {
    top: 68px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .brand small {
    font-size: 0.66rem;
  }

  .brand-mark,
  .brand-mark svg {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 2.64rem;
  }

  .hero p {
    font-size: 1.02rem;
  }

  .section-heading h2,
  .quote-copy h2,
  .final-cta h2 {
    font-size: 1.72rem;
  }

  blockquote {
    font-size: 1.28rem;
  }

  .metric strong {
    font-size: 3.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  section {
    padding-inline: 18px;
  }

  .pain-item {
    padding-inline: 8px;
  }

  .metric {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
