:root {
  color-scheme: light;
  --bg: #f7fbf8;
  --panel: #ffffff;
  --panel-soft: #edf7f2;
  --ink: #0b2f2b;
  --muted: #58706b;
  --line: #d7e7e1;
  --accent: #087b67;
  --accent-dark: #045d4d;
  --coral: #e85d53;
  --shadow: 0 24px 70px rgba(13, 67, 56, 0.12);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(8, 123, 103, 0.12), transparent 28%),
    linear-gradient(135deg, #fbfdfb 0%, var(--bg) 44%, #eaf5f4 100%);
  color: var(--ink);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.header-cta,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(8, 123, 103, 0.22);
}

.site-header nav {
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-header nav a:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.header-cta,
.primary-cta {
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(8, 123, 103, 0.24);
}

.header-cta:hover,
.primary-cta:hover {
  background: var(--accent-dark);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100dvh - 80px);
  margin: 0 auto;
  padding: 42px 0 72px;
}

.hero-copy {
  max-width: 590px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  margin-bottom: 30px;
  color: #2f5f57;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.secondary-cta {
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  font-weight: 800;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.hero-proof div,
.feature-grid article,
.price-cards article,
.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 36px rgba(13, 67, 56, 0.08);
}

.hero-proof div {
  padding: 18px;
  border-radius: 22px;
}

.hero-proof dt {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-dark);
}

.hero-proof dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  margin: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 2% 6% 8%;
  border-radius: 52px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(8, 123, 103, 0.12));
  filter: blur(8px);
  transform: rotate(-3deg);
}

.hero-visual img {
  position: relative;
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin-left: auto;
  border-radius: 34px;
  filter: drop-shadow(0 32px 72px rgba(7, 63, 54, 0.2));
}

.section-band,
.workflow,
.use-cases,
.pricing,
.faq,
.final-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading p,
.workflow-copy p,
.pricing > div:first-child p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.feature-grid article,
.price-cards article {
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
}

.feature-grid span,
.price-cards span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.28;
}

.feature-grid p,
.price-cards p,
.faq p,
.steps p {
  color: var(--muted);
  line-height: 1.75;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: start;
}

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

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 6px 18px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

.steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d9f0e7;
  color: var(--accent-dark);
  font-weight: 900;
}

.steps strong {
  font-size: 24px;
}

.steps p {
  margin-bottom: 0;
}

.case-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-list a {
  display: grid;
  gap: 12px;
  min-height: 180px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.case-list a:last-child {
  border-right: 0;
}

.case-list strong {
  font-size: 24px;
}

.case-list span {
  color: var(--muted);
  line-height: 1.6;
}

.pricing {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-cards strong {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
  color: var(--accent-dark);
}

.pricing .primary-cta {
  justify-self: start;
  grid-column: 1 / -1;
}

.faq {
  max-width: 860px;
}

.faq h2 {
  margin-bottom: 24px;
}

.faq details {
  margin-bottom: 12px;
  padding: 22px 24px;
  border-radius: 20px;
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.faq p {
  margin: 14px 0 0;
}

.final-cta {
  margin-bottom: 40px;
  padding: 70px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 14%, rgba(232, 93, 83, 0.16), transparent 28%),
    linear-gradient(135deg, #0c4339, #087b67);
  color: #fff;
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .primary-cta {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 42px;
  color: var(--muted);
}

.site-footer span {
  font-weight: 900;
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .workflow,
  .pricing {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .feature-grid,
  .case-list,
  .price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-list a:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section-band,
  .workflow,
  .use-cases,
  .pricing,
  .faq,
  .final-cta,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 58px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-proof,
  .feature-grid,
  .case-list,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .case-list {
    border-bottom: 0;
  }

  .case-list a,
  .case-list a:nth-child(2) {
    min-height: 132px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-band,
  .workflow,
  .use-cases,
  .pricing,
  .faq {
    padding: 58px 0;
  }

  .feature-grid article,
  .price-cards article {
    min-height: auto;
    padding: 24px;
  }

  .steps li {
    grid-template-columns: 44px 1fr;
    padding: 20px 0;
  }

  .steps span {
    width: 44px;
    height: 44px;
  }

  .final-cta {
    padding: 36px 24px;
    border-radius: 26px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}
