:root {
  --ink: #18221f;
  --muted: #68756f;
  --line: #d9e8e0;
  --bg: #f7fbf8;
  --soft: #e9f7ef;
  --mint: #22c879;
  --mint-dark: #087a4b;
  --lime: #d9f871;
  --amber: #ffbd4a;
  --blue: #478bff;
  --teal: #04b8a9;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(18, 72, 54, 0.13);
  --shadow-soft: 0 12px 30px rgba(18, 72, 54, 0.08);
  --radius: 8px;
}

* {
  list-style: none;
  text-decoration: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Thai", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(34, 200, 121, 0.16), transparent 32rem),
    linear-gradient(180deg, #fbfefc 0%, var(--bg) 42%, #eef8f1 100%);
  line-height: 1.6;
  min-width: 320px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 254, 252, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 233, 227, 0.75);
}

.nav {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 8px 20px rgba(47, 190, 117, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #40514b;
  font-size: 0.96rem;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  border-radius: 99px;
  background: var(--ink);
}

.nav-links a:hover {
  color: var(--mint-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 68px);
  margin-top: 56px !important;
  padding: 10px 8px 22px;
}

.hero-left {
  min-width: 0;
}

.hero-right {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 122, 75, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--mint-dark);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(34, 200, 121, 0.15);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-left > p {
  max-width: 620px;
  margin-top: 20px;
  color: #4d5b55;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.page-panel {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.page-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--amber));
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chat-head small,
.message li {
  color: var(--muted);
}

.message {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--radius);
}

.message.user {
  background: #eefbf3;
}

.message.bot {
  background: #f4f7f6;
}

.message ul {
  margin: 10px 0 0;
  padding-left: 0;
}

.receipt-mini {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed rgba(8, 122, 75, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
}

.receipt-mini strong {
  color: var(--mint-dark);
  font-size: 1.25rem;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--mint-dark);
  font-weight: 800;
}

.text-green {
  color: var(--mint-dark);
  font-weight: 800;
}

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

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-64 {
  margin-top: 64px;
}

.mt-84 {
  margin-top: 84px;
}

.mt-128 {
  margin-top: 128px;
}

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

.problem-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}


.icon-chip {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--soft);
  position: relative;
  margin-bottom: 18px;
}

.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-chip::before,
.icon-chip::after,
.upload-icon::before,
.upload-icon::after,
.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
}

.icon-chip[data-icon="search"]::before {
  width: 15px;
  height: 15px;
  left: 12px;
  top: 11px;
  border: 3px solid var(--mint-dark);
  border-radius: 50%;
}

.icon-chip[data-icon="search"]::after {
  width: 12px;
  height: 3px;
  left: 27px;
  top: 29px;
  background: var(--mint-dark);
  transform: rotate(45deg);
  border-radius: 4px;
}

.icon-chip[data-icon="clock"]::before {
  inset: 10px;
  border: 3px solid var(--mint-dark);
  border-radius: 50%;
}

.icon-chip[data-icon="clock"]::after {
  width: 11px;
  height: 12px;
  left: 23px;
  top: 14px;
  border-left: 3px solid var(--mint-dark);
  border-bottom: 3px solid var(--mint-dark);
}

.icon-chip[data-icon="folder"]::before {
  width: 25px;
  height: 18px;
  left: 11px;
  top: 17px;
  background: var(--mint-dark);
  border-radius: 4px;
}

.icon-chip[data-icon="folder"]::after {
  width: 15px;
  height: 7px;
  left: 12px;
  top: 12px;
  background: var(--mint);
  border-radius: 4px 4px 0 0;
}

.grid-img {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 28px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.img-responsive {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(8, 122, 75, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(18, 72, 54, 0.12);
}

.workflow {
  margin-top: 64px;
  padding: 54px 0;
  background:
    linear-gradient(135deg, rgba(34, 200, 121, 0.12), transparent 40%),
    #10251d;
  color: var(--white);
}

.workflow-heading {
  padding: 0 20px 22px;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline article {
  margin: 22px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.timeline b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.timeline p {
  color: rgba(255, 255, 255, 0.72);
}

.cta {
  padding: 60px 0;
  background:
    linear-gradient(135deg, rgba(217, 248, 113, 0.18), transparent 46%),
    var(--mint-dark);
  color: var(--white);
}

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

.cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

/* .cta .button.primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
} */

.footer {
  padding: 54px 0;
  background: #0b1813;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer p {
  margin-top: 14px;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.64);
}

.footer h4 {
  margin: 0 0 12px;
}

.footer a:not(.brand) {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--mint-dark);
  box-shadow: 0 12px 24px rgba(21, 129, 77, 0.22);
}

.button.ghost {
  color: var(--mint-dark);
  background: rgba(8, 122, 75, 0.08);
  border-color: rgba(8, 122, 75, 0.18);
}

.button.ghost:hover {
  background: rgba(8, 122, 75, 0.13);
}

.cta .button.primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.mr-8 {
  margin-right: 8px;
}

.mr-16 {
  margin-right: 16px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-64 {
  margin-top: 64px;
}

.mt-84 {
  margin-top: 84px;
}

.mt-128 {
  margin-top: 128px;
}

.text-sub {
  color: var(--muted);
}

.price-card strong {

  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0;
  font-size: 2.1rem;
}

.price-card small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: #40514b;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--mint-dark);
  border-bottom: 3px solid var(--mint-dark);
  transform: rotate(-45deg);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
}

.hero-proof div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.hero-proof strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

section,
div[id] {
  scroll-margin-top: 86px;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    margin-top: 34px !important;
  }

  .hero-right {
    max-width: none;
  }

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

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

  .grid-img {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
  }

  .cta-inner {
    align-items: center;
    flex-direction: row;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 16px, 1140px);
  }

  .nav {
    min-height: 54px;
    gap: 8px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.72rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0;
    border-radius: var(--radius);
  }

  .nav-links .button {
    width: auto;
    min-height: 34px;
    padding: 7px 10px;
  }

  .container {
    padding: 0 8px;
  }

  .hero {
    gap: 12px;
    padding-top: 0;
  }

  .eyebrow {
    gap: 6px;
    margin-bottom: 10px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 9vw, 2.1rem);
    line-height: 1.06;
  }

  .hero-left > p {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .mt-64 {
    margin-top: 46px;
  }

  .hero-proof,
  .grid-col-3,
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-panel,
  .grid-img,
  .problem-card,
  .price-card,
  .timeline article {
    padding: 10px;
  }

  .page-panel,
  .message {
    font-size: 0.72rem;
  }

  .message {
    margin-top: 10px;
    padding: 10px;
  }

  .receipt-mini {
    padding: 9px;
  }

  .grid-col-3,
  .timeline,
  .hero-proof {
    gap: 8px;
  }

  .grid-img {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 0.85fr);
    gap: 10px;
  }

  .problem-card,
  .price-card,
  .timeline article {
    font-size: 0.7rem;
  }

  .problem-card h3,
  .price-card h3,
  .timeline h3,
  .grid-img h3 {
    font-size: 0.82rem;
  }

  .icon-chip {
    width: 34px;
    height: 34px;
    margin-bottom: 10px;
    transform: scale(0.78);
    transform-origin: left top;
  }

  .timeline b {
    width: 28px;
    height: 28px;
    margin-bottom: 9px;
  }

  .price-card strong {
    margin: 10px 0;
    font-size: 1.1rem;
  }

  .price-card li {
    padding-left: 15px;
  }

  .price-card li::before {
    top: 7px;
    width: 8px;
    height: 5px;
    border-left-width: 2px;
    border-bottom-width: 2px;
  }

  .button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero-proof div {
    padding: 10px;
  }

  .hero-proof strong {
    font-size: 1rem;
  }

  .hero-proof span {
    font-size: 0.64rem;
  }

  .workflow,
  .cta,
  .footer {
    padding: 42px 0;
  }

  .cta-inner {
    gap: 12px;
  }

  .cta h2 {
    font-size: 1.15rem;
  }

  .cta p,
  .footer {
    font-size: 0.72rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.7fr 0.7fr;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 6px;
    font-size: 0.82rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: var(--radius);
  }

  .button {
    width: auto;
    min-height: 36px;
    padding-inline: 10px;
  }

  .hero-proof div {
    padding: 8px;
  }

  .price-card strong {
    font-size: 1rem;
  }
}
