:root {
  --green-950: #041b13;
  --green-900: #063522;
  --green-800: #0b5d38;
  --green-700: #117943;
  --green-500: #75d83f;
  --green-300: #b7f27f;
  --mint: #eaf8ef;
  --cream: #fbfaf6;
  --ink: #111715;
  --muted: #66736c;
  --line: rgba(19, 57, 40, 0.13);
  --danger: #e7362f;
  --gold: #f0c55c;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(3, 24, 16, 0.16);
  --container: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Tahoma, "Noto Sans Thai", "Leelawadee UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 86px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 13px max(20px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(6, 53, 34, 0.1);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 40px rgba(3, 24, 16, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.brand span span {
  color: var(--green-700);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-900), var(--green-700));
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(17, 121, 67, 0.22);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  color: #3d4b45;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--green-900);
  background: var(--mint);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.25;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #278f30, var(--green-700));
  box-shadow: 0 18px 36px rgba(17, 121, 67, 0.28);
}

.btn-secondary {
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 36px rgba(3, 24, 16, 0.12);
}

.btn-ghost {
  color: var(--green-900);
  background: var(--mint);
}

.btn-large {
  min-height: 54px;
  padding: 14px 24px;
  font-size: 18px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--green-900);
  border-radius: 999px;
}

.hero {
  min-height: calc(100svh - 66px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 54px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-950);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 27, 19, 0.94) 0%, rgba(4, 27, 19, 0.78) 42%, rgba(4, 27, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(4, 27, 19, 0.96) 0%, rgba(4, 27, 19, 0.04) 45%, rgba(4, 27, 19, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.copy-block h2,
.contact-panel h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 790px;
  font-size: clamp(46px, 7.6vw, 92px);
}

.hero-lead {
  max-width: 760px;
  margin: 22px 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.1vw, 23px);
  font-weight: 650;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin-top: 32px;
}

.hero-points div {
  min-height: 92px;
  padding: 16px;
  background: rgba(4, 27, 19, 0.72);
  border: 1px solid rgba(117, 216, 63, 0.32);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.hero-points b,
.hero-points span {
  display: block;
}

.hero-points b {
  color: var(--white);
  font-size: 18px;
}

.hero-points span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.quote-strip {
  padding: 30px 0 74px;
  background: linear-gradient(180deg, var(--green-950), var(--cream));
}

.quote-card {
  display: grid;
  gap: 10px;
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.quote-card span {
  color: var(--green-700);
  font-weight: 900;
}

.quote-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(28px, 4.2vw, 54px);
  line-height: 1.18;
}

.quote-card p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

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

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.copy-block h2,
.contact-panel h2 {
  color: var(--green-950);
  font-size: clamp(32px, 4.6vw, 56px);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.story-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(3, 24, 16, 0.08);
}

.story-card.large {
  grid-row: span 2;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story-card.large img {
  aspect-ratio: 1.1 / 1;
}

.story-card div {
  padding: 20px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--danger);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card h3,
.feature-row h3,
.integration-grid h3,
.package-card h3 {
  margin: 0 0 8px;
  color: var(--green-950);
  line-height: 1.25;
  font-size: clamp(22px, 3vw, 34px);
}

.story-card p:last-child,
.copy-block p,
.feature-row p,
.integration-grid p,
.package-card p,
.faq-list p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.solution,
.workflow {
  background:
    radial-gradient(circle at 8% 0%, rgba(117, 216, 63, 0.14), transparent 28%),
    var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 46px;
}

.copy-block {
  display: grid;
  gap: 18px;
}

.copy-block.light h2,
.copy-block.light p {
  color: var(--white);
}

.copy-block.light p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-image {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
}

.check-list,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-list span,
.pill-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  color: var(--green-950);
  background: var(--mint);
  border: 1px solid rgba(17, 121, 67, 0.18);
  border-radius: var(--radius);
  font-weight: 900;
}

.features {
  background: var(--cream);
}

.feature-rows {
  display: grid;
  gap: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 34px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(3, 24, 16, 0.08);
}

.feature-row.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.feature-row.reverse img {
  order: 2;
}

.feature-row img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(3, 24, 16, 0.12);
}

.feature-row > div {
  padding: clamp(8px, 3vw, 30px);
}

.number {
  display: inline-flex;
  min-width: 44px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--green-800);
  border-radius: var(--radius);
  font-weight: 900;
}

.proof-band,
.bonus,
.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 70% 20%, rgba(117, 216, 63, 0.2), transparent 26%),
    linear-gradient(135deg, #051a12, #082c1d 62%, #04140e);
}

.proof-layout,
.bonus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 34px;
}

.proof-layout figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(117, 216, 63, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.proof-layout img {
  width: 100%;
}

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

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

.screen-card {
  overflow: hidden;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(3, 24, 16, 0.08);
}

.screen-card.wide {
  grid-column: 1 / -1;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screen-card figcaption {
  padding: 14px 16px 16px;
  color: #314239;
  font-weight: 850;
}

.steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 15px 16px 15px 58px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 15px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  background: var(--green-800);
  border-radius: 50%;
  font-weight: 900;
}

.steps b {
  color: var(--green-950);
  font-size: 18px;
}

.steps span {
  color: var(--muted);
}

.bonus-images {
  display: grid;
  gap: 16px;
}

.bonus-images img {
  border: 1px solid rgba(117, 216, 63, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.integrations {
  background: var(--cream);
}

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

.integration-grid article,
.package-card {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(3, 24, 16, 0.08);
}

.integration-grid article {
  overflow: hidden;
  align-content: start;
  padding-bottom: 22px;
}

.integration-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.integration-grid h3,
.integration-grid p {
  padding: 0 20px;
}

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

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

.package-card {
  position: relative;
  padding: 26px;
}

.package-card.featured {
  color: var(--white);
  background: linear-gradient(150deg, var(--green-950), var(--green-800));
  border-color: rgba(117, 216, 63, 0.35);
}

.package-card.featured h3,
.package-card.featured p,
.package-card.featured li {
  color: var(--white);
}

.package-card.featured span {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  color: var(--green-950);
  background: var(--green-300);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
}

.package-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 20px;
  color: #41524a;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
}

.faq {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 46px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--green-950);
  font-weight: 900;
}

.faq-list summary::marker {
  color: var(--green-700);
}

.faq-list p {
  padding: 0 20px 18px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.56fr);
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(117, 216, 63, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / -1;
}

.contact-button {
  display: grid;
  gap: 3px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.contact-button span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-button b {
  color: var(--green-950);
  font-size: 20px;
  overflow-wrap: anywhere;
}

.contact-art {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.25);
}

.site-footer {
  padding: 28px 0 86px;
  color: rgba(255, 255, 255, 0.76);
  background: #03120c;
}

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

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 900;
}

.mobile-cta {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 45;
  display: none;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, #2da638, var(--green-700));
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(3, 24, 16, 0.32);
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.js [data-reveal].is-visible,
.js.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 1;
  transform: translateY(0);
}

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

  .nav-toggle {
    display: flex;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
  }

  .site-header.nav-open .site-nav {
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .story-grid,
  .split-layout,
  .proof-layout,
  .bonus-layout,
  .faq-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse img {
    order: 0;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .site-header {
    padding: 12px 14px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .site-header.nav-open .site-nav,
  .site-header.nav-open .header-actions,
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header.nav-open .site-nav a,
  .header-actions .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .hero {
    min-height: 92svh;
    align-items: flex-end;
    padding: 110px 0 34px;
  }

  .hero-media img {
    object-position: 61% center;
    opacity: 0.58;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 27, 19, 0.7), rgba(4, 27, 19, 0.38) 32%, rgba(4, 27, 19, 0.98) 78%),
      linear-gradient(90deg, rgba(4, 27, 19, 0.74), rgba(4, 27, 19, 0.22));
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-points,
  .screen-grid,
  .integration-grid,
  .package-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-points div {
    min-height: auto;
  }

  .story-card.large {
    grid-row: auto;
  }

  .screen-card.wide {
    grid-column: auto;
  }

  .feature-row {
    padding: 12px;
    gap: 18px;
  }

  .feature-row > div {
    padding: 8px 6px 12px;
  }

  .feature-row h3,
  .story-card h3 {
    font-size: 24px;
  }

  .proof-layout,
  .bonus-layout {
    gap: 22px;
  }

  .site-footer {
    padding-bottom: 86px;
  }

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

  .mobile-cta {
    display: flex;
  }

  body.show-mobile-cta .mobile-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
