:root {
  --ink: #17211f;
  --muted: #5b6763;
  --line: #dbe2de;
  --paper: #f7f8fa;
  --white: #ffffff;
  --green: #176f5d;
  --green-strong: #0f5a4b;
  --coral: #e75d3f;
  --amber: #d99a23;
  --blue: #2f5f98;
  --shadow: 0 18px 52px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    "Noto Sans TC",
    "Microsoft JhengHei",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.marketing-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.marketing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(247, 248, 250, 0.88);
  backdrop-filter: blur(18px);
}

.brand-link,
.brand-marketing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
}

.brand-icon svg,
.nav-cta svg,
.text-link svg,
.primary-link svg,
.secondary-link svg,
.small-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.nav-links a:hover {
  color: var(--green-strong);
}

.nav-cta,
.primary-link,
.secondary-link,
.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
}

.nav-cta:hover,
.primary-link:hover {
  background: var(--green-strong);
}

.marketing-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82vh;
  padding: 120px 32px 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(13, 22, 20, 0.88), rgba(13, 22, 20, 0.6) 44%, rgba(13, 22, 20, 0.16)),
    url("./assets/product-preview.png") center right / cover no-repeat;
}

.pricing-hero {
  min-height: 58vh;
  background:
    linear-gradient(90deg, rgba(13, 22, 20, 0.88), rgba(13, 22, 20, 0.52), rgba(13, 22, 20, 0.18)),
    url("./assets/product-preview.png") center right / cover no-repeat;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 900;
}

.hero-copy h1 {
  margin: 0;
  max-width: 680px;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 22px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

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

.primary-link {
  padding: 0 20px;
  color: var(--white);
  background: var(--green);
}

.secondary-link {
  padding: 0 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.secondary-link:hover {
  background: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 76px 32px;
  background: var(--paper);
}

.section.white {
  background: var(--white);
}

.section.tint {
  background: #eef4f1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.scenario-grid,
.trust-grid,
.plan-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

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

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

.plan-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.scenario-card,
.trust-card,
.plan-card,
.faq-item,
.workflow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.06);
}

.scenario-card,
.trust-card {
  padding: 22px;
}

.scenario-card h3,
.trust-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
}

.scenario-card p,
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
}

.card-icon.green {
  background: var(--green);
}

.card-icon.coral {
  background: var(--coral);
}

.card-icon.blue {
  background: var(--blue);
}

.card-icon.amber {
  background: var(--amber);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

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

.workflow-step {
  position: relative;
  min-height: 172px;
  padding: 22px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  font-weight: 900;
}

.workflow-step h3 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.preview-band {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
}

.preview-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.preview-copy p {
  color: var(--muted);
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.preview-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.preview-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 26px;
}

.plan-card.featured {
  border-color: rgba(23, 111, 93, 0.56);
  box-shadow: 0 18px 44px rgba(23, 111, 93, 0.16);
}

.plan-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.plan-card h2 {
  margin: 8px 0 10px;
  font-size: 25px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 12px;
}

.price {
  font-size: 38px;
  font-weight: 900;
}

.period {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  font-size: 15px;
}

.feature-list svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.plan-action {
  margin-top: auto;
}

.small-link {
  width: 100%;
  padding: 0 14px;
  color: var(--white);
  background: var(--green);
}

.small-link.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.small-link.secondary:hover {
  border-color: var(--green);
}

.notice-box {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid rgba(217, 154, 35, 0.45);
  border-radius: 8px;
  background: #fff8e8;
  color: #664915;
  font-weight: 700;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 900;
  list-style: none;
}

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

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-band {
  padding: 70px 32px;
  color: var(--white);
  background: var(--green-strong);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.cta-inner h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
}

.cta-inner p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.marketing-footer {
  padding: 34px 32px;
  color: var(--muted);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--green-strong);
  font-weight: 900;
}

@media (max-width: 980px) {
  .marketing-nav {
    padding: 0 18px;
  }

  .nav-links {
    gap: 10px;
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .scenario-grid,
  .workflow,
  .trust-grid,
  .plan-grid,
  .faq-grid,
  .preview-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-band {
    gap: 26px;
  }
}

@media (max-width: 720px) {
  .marketing-nav {
    height: auto;
    min-height: 68px;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 220px;
    gap: 6px 12px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
  }

  .marketing-hero,
  .pricing-hero {
    min-height: 78vh;
    padding: 108px 18px 52px;
    background-position: center;
  }

  .marketing-hero {
    background:
      linear-gradient(180deg, rgba(13, 22, 20, 0.9), rgba(13, 22, 20, 0.72), rgba(13, 22, 20, 0.3)),
      url("./assets/mobile-preview.png") center / cover no-repeat;
  }

  .pricing-hero {
    background:
      linear-gradient(180deg, rgba(13, 22, 20, 0.9), rgba(13, 22, 20, 0.68), rgba(13, 22, 20, 0.28)),
      url("./assets/mobile-preview.png") center / cover no-repeat;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .section,
  .cta-band {
    padding: 54px 18px;
  }

  .section-head h2,
  .preview-copy h2,
  .cta-inner h2 {
    font-size: 28px;
  }

  .scenario-grid,
  .workflow,
  .trust-grid,
  .plan-grid,
  .faq-grid,
  .preview-band {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

  .cta-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-link span {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }
}
