/* คีย์ไว (KeyWai) — © 2569 บริษัท เซ็ต คอมพิวเตอร์ แอนด์ เซอร์วิส จำกัด */
@font-face { font-family: Anuphan; font-weight: 400; font-display: swap; src: url(fonts/anuphan-thai-400-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Anuphan; font-weight: 500; font-display: swap; src: url(fonts/anuphan-thai-500-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Anuphan; font-weight: 600; font-display: swap; src: url(fonts/anuphan-thai-600-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Anuphan; font-weight: 700; font-display: swap; src: url(fonts/anuphan-thai-700-normal.woff2) format("woff2"); unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: Anuphan; font-weight: 400; font-display: swap; src: url(fonts/anuphan-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
@font-face { font-family: Anuphan; font-weight: 600; font-display: swap; src: url(fonts/anuphan-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }
@font-face { font-family: Anuphan; font-weight: 700; font-display: swap; src: url(fonts/anuphan-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2190-21FF; }

:root {
  --ink: #1f2430; --ink2: #343b4d; --muted: #5b6170; --line: #e4e6ea; --bg: #f6f7f9; --soft: #eef0f3;
  --green: #1a7f45; --green2: #156a39; --green-bg: #e8f6ee; --red: #d64545; --red-bg: #fff4f2; --amber: #e3a008; --amber-bg: #fff8eb;
  --line-green: #06c755; --shopee: #ee4d2d; --lazada: #1a2ba0; --tiktok: #111;
  --r: 18px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px rgba(16,24,40,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.75 Anuphan, "Leelawadee UI", Tahoma, sans-serif; -webkit-font-smoothing: antialiased; padding-bottom: 76px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 52px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.3px; }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--green); background: var(--green-bg); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }

/* ---------- เมนูบน ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 20px; }
.logo i { width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.logo .mk { width: 40px; height: 40px; flex: none; }
.logo small { font-weight: 400; color: var(--muted); font-size: 13px; display: block; line-height: 1; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(26,127,69,.25); } .btn.green:hover { background: var(--green2); }
.btn.line { background: var(--line-green); color: #fff; box-shadow: 0 8px 20px rgba(6,199,85,.25); }
.btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn.dark { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; }
.top .btn { padding: 9px 16px; font-size: 15px; }
.burger { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; background: radial-gradient(900px 400px at 85% -10%, #e5f5ec, transparent 60%), radial-gradient(700px 400px at 0% 0%, #fff3e6, transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .plats { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.chip.shopee { color: var(--shopee); } .chip.lazada { color: var(--lazada); } .chip.tiktok { color: var(--tiktok); } .chip.bs { color: #6b3fd4; } .chip.ex { color: #c0392b; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.trust b { color: var(--ink); }
.shot { border-radius: 16px; overflow: hidden; box-shadow: 0 2px 6px rgba(16,24,40,.06), 0 30px 60px rgba(16,24,40,.16); border: 1px solid var(--line); background: #fff; }
.shot.tilt { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.hero-art { position: relative; }
.hero-art .f1 { left: -22px; bottom: 34px; } .hero-art .f2 { right: -10px; top: -18px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- ปัญหา → ทางออก ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.compare .card { padding: 28px; border-radius: var(--r); }
.compare .before { background: var(--red-bg); } .compare .after { background: var(--green-bg); }
.compare ul { margin: 0; padding: 0; list-style: none; }
.compare li { padding: 7px 0 7px 30px; position: relative; }
.compare .before li::before { content: "✕"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.compare .after li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- ขั้นตอน ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.step img { border-radius: 12px; border: 1px solid var(--line); margin-top: 14px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* ---------- ฟีเจอร์ (ภาพ + ข้อความสลับ) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; }
.feature.rev .txt { order: 2; }
.feature ul { padding-left: 1.2em; color: var(--muted); }
.feature li { margin: 4px 0; }
.lanes { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.lane { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-bg); color: var(--green); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
.tile h3 { font-size: 18px; margin-bottom: 4px; } .tile p { font-size: 15px; color: var(--muted); margin: 0; }

.grid3.g4 { grid-template-columns: repeat(4, 1fr); }
.steps.s4 { grid-template-columns: repeat(4, 1fr); }
.steps.s4 .step p { font-size: 15px; }
@media (max-width: 1100px) { .grid3.g4, .steps.s4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) { .grid3.g4, .steps.s4 { grid-template-columns: 1fr; } }

/* ---------- ราคา ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; align-items: stretch; }
.price { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 28px 26px; display: flex; flex-direction: column; position: relative; }
.price.hot { border-color: var(--green); box-shadow: 0 20px 50px rgba(26,127,69,.15); }
.price .badge { position: absolute; top: -13px; left: 26px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.price h3 { margin-bottom: 2px; } .price .for { color: var(--muted); font-size: 15px; min-height: 52px; }
.price .amt { font-size: 42px; font-weight: 700; letter-spacing: -1px; margin: 10px 0 0; }
.price .amt small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price .vat { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.price ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.price li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.price li.no { color: #9aa0ac; } .price li.no::before { content: "–"; color: #c2c6ce; }
.note { font-size: 14px; color: var(--muted); margin-top: 16px; }
table.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.05); font-size: 16px; }
.tbl th, .tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl tr.sub td { background: var(--soft); font-weight: 600; }
.tbl-wrap { overflow-x: auto; margin-top: 24px; border-radius: 16px; }

/* ---------- ทำไมซื้อกับเรา / ผู้ขาย ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.dark-band { background: var(--ink); color: #fff; border-radius: 26px; padding: 44px; position: relative; overflow: hidden; }
.dark-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(26,127,69,.55), transparent 70%); }
.dark-band p, .dark-band li { color: #c9cdd6; }
.dark-band h2 { color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 30px auto 0; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--green); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------- บทความ ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { font-size: 28px; margin-top: 1.6em; } .article h3 { margin-top: 1.2em; }
.article ol li, .article ul li { margin: 6px 0; }
.callout { background: var(--green-bg); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.callout.warn { background: var(--amber-bg); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; } .crumbs a { color: var(--muted); }

/* ---------- ท้ายเว็บ ---------- */
footer { background: #12151c; color: #a9afbd; padding: 56px 0 30px; font-size: 15px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; margin: 0 0 10px; font-size: 16px; }
footer a { color: #d3d7df; text-decoration: none; } footer a:hover { color: #fff; }
footer .legal { border-top: 1px solid #262b36; margin-top: 30px; padding-top: 18px; font-size: 13px; color: #7d8494; }

/* ---------- ปุ่มติดต่อด้านล่าง + ป๊อปอัป ---------- */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(16,24,40,.08); }
.contact-bar .wrap { display: flex; align-items: center; gap: 12px; height: 72px; }
.contact-bar .msg { font-weight: 600; margin-right: auto; } .contact-bar .msg small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.3; }
.contact-bar .btn { padding: 11px 20px; }
.pop { position: fixed; right: 20px; bottom: 92px; z-index: 61; width: 330px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(16,24,40,.25);
  padding: 18px 18px 16px; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .35s cubic-bezier(.2,.9,.3,1.2); }
.pop.show { transform: none; opacity: 1; pointer-events: auto; }
.pop .x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 22px; color: #9aa0ac; cursor: pointer; }
.pop .who { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.pop .av { width: 40px; height: 40px; border-radius: 50%; background: var(--line-green); color: #fff; display: grid; place-items: center; font-weight: 700; }
.pop p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.pop .btn { width: 100%; }

/* ---------- มือถือ ---------- */
@media (max-width: 920px) {
  .nav, .top .btn.green { display: none; } .burger { display: block; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; }
  .hero .wrap, .feature, .why, .compare { grid-template-columns: 1fr; }
  .feature.rev .txt { order: 0; }
  .steps, .grid3, .prices { grid-template-columns: 1fr; }
  .shot.tilt { transform: none; } .hero-art .float-card { display: none; }
  footer .cols { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .contact-bar .msg { display: none; } .contact-bar .btn { flex: 1; }
  .pop { left: 12px; right: 12px; width: auto; bottom: 86px; }
  .dark-band { padding: 28px; }
}
