/* ธีมเว็บ moonupsystem.com ทุกหน้า — โทนชมพู/ขาว · ส่วนท้ายไฟล์ = หน้าใน (คู่มือ ดาวน์โหลด สมัคร ข้อกำหนด) */
:root {
  --pink: #ff1a8c;
  --pink-2: #ff4fa8;
  --pink-deep: #d6006a;
  --pink-50: #fff3f8;
  --pink-100: #ffe3ef;
  --pink-200: #ffc2dc;
  --ink: #1d1220;
  --ink-2: #4b3d50;
  --muted: #7a6a80;
  --line: #f3dbe7;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 50px -18px rgba(214, 0, 106, 0.35);
  --shadow-soft: 0 10px 30px -14px rgba(60, 10, 40, 0.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: 'Prompt', 'Noto Sans Thai', system-ui, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- พื้นหลังเคลื่อนไหว ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(circle at 1px 1px, rgba(255, 26, 140, 0.08) 1px, transparent 0) 0 0 / 28px 28px, var(--white); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: #ffc2dc; top: -160px; right: -120px; }
.b2 { width: 420px; height: 420px; background: #ffd9ea; bottom: 10%; left: -160px; animation-duration: 28s; }
.b3 { width: 300px; height: 300px; background: #ffe7f2; top: 45%; right: 20%; animation-duration: 34s; }
@keyframes drift { to { transform: translate(60px, 80px) scale(1.15); } }

/* ---------- ปุ่ม ---------- */
.btn { --bg: linear-gradient(135deg, var(--pink-2), var(--pink) 50%, var(--pink-deep)); position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0; background: var(--bg); color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(214, 0, 106, 0.55); }
.btn.big { padding: 15px 28px; font-size: 17px; }
.btn.sm { padding: 9px 18px; font-size: 15px; }
.btn.outline { background: var(--white); color: var(--pink-deep); border: 1.5px solid var(--pink-200); box-shadow: var(--shadow-soft); }
.btn.outline:hover { border-color: var(--pink); }
.btn.white { background: #fff; color: var(--pink-deep); }
.btn.glass { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.45); box-shadow: none; backdrop-filter: blur(6px); }
.shine::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---------- แถบเมนู ---------- */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, calc((100% - 1180px) / 2));
  transition: background .25s, box-shadow .25s, padding .25s; }
.nav.scrolled { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px); box-shadow: 0 6px 24px -14px rgba(60, 10, 40, 0.25); padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand b { color: var(--pink); }
.brand small { font-size: 11px; letter-spacing: .35em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: block; box-shadow: 0 6px 14px -4px rgba(255, 26, 140, .5); }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav > a:not(.btn) { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.nav nav > a:not(.btn):hover { background: var(--pink-50); color: var(--pink-deep); }
.nav .ghost { color: var(--pink-deep) !important; }
.menu { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--pink-50); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu span { width: 20px; height: 2px; background: var(--pink-deep); border-radius: 2px; transition: transform .25s; }
.nav.open .menu span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .menu span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- ทั่วไป ---------- */
.sec { max-width: 1180px; margin: 0 auto; padding: 88px 16px; }
.sec.narrow { max-width: 820px; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--pink-deep); background: var(--pink-50); border: 1px solid var(--pink-100); padding: 6px 14px; border-radius: 999px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(255, 26, 140, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255, 26, 140, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 26, 140, 0); } }
.grad { background: linear-gradient(100deg, var(--pink-2), var(--pink) 40%, #ff7ab8 70%, var(--pink-deep)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 6s linear infinite; }
@keyframes flow { to { background-position: 200% center; } }
.lead { color: var(--ink-2); font-size: 18px; }
.pill { display: inline-block; margin-left: 8px; padding: 1px 10px; font-size: 12px; font-weight: 600; border-radius: 999px; background: var(--pink-100); color: var(--pink-deep); vertical-align: middle; }
.center { justify-content: center; text-align: center; }

/* เลื่อนแล้วโผล่ */
/* ซ่อนรอเลื่อนถึงเฉพาะเมื่อมี JS (html.js) — ไม่มี JS/บอทอ่านหน้า = เห็นทุกอย่างทันที */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- ฮีโร่ ---------- */
.hero { max-width: 1180px; margin: 0 auto; padding: 56px 16px 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: calc(100vh - 80px); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); font-weight: 800; letter-spacing: -.01em; margin: 18px 0 18px; }
.hero .lead { max-width: 560px; }
.hero h1 .kicker { display: block; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; color: var(--pink-deep); letter-spacing: 0; margin-bottom: 12px; }

/* ---------- ปัญหา → ทางแก้ ---------- */
.pain .bad { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-weight: 600; font-size: 15px; }
.pain .bad::before { content: "✕"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: #9a8aa0; }
.pain h3 { display: flex; gap: 8px; }
.pain h3::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--pink); margin-top: 1px; }

/* ---------- เดโมแบบเล่าเรื่อง (คืนวันเสาร์) ---------- */
.story { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; }
.story::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--pink-200), var(--pink), var(--pink-200)); }
.story li { display: grid; grid-template-columns: 56px 1fr; gap: 30px; align-items: start; padding: 10px 0; position: relative; }
.story li::after { content: ""; position: absolute; left: 64px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.story time { font-weight: 800; color: var(--pink-deep); font-variant-numeric: tabular-nums; padding-top: 8px; text-align: right; }
.story li > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow-soft); }
.story h3 { font-size: 17px; margin-bottom: 4px; }
.story p { margin: 0; color: var(--muted); font-size: 15px; }
.story-cta { margin-top: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: 15px; }
.trust li::first-letter { color: var(--pink); font-weight: 800; }

.hero-art { position: relative; perspective: 1400px; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.device { width: min(440px, 92%); border-radius: 30px; padding: 14px; background: linear-gradient(160deg, #2a1630, #120a14); box-shadow: 0 50px 80px -30px rgba(120, 0, 60, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotateY(-12deg) rotateX(6deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.screen { background: #fff; border-radius: 20px; padding: 16px; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.live { font-size: 12px; color: #13a35a; display: inline-flex; align-items: center; gap: 6px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #20c46b; animation: ping 1.8s infinite; box-shadow: 0 0 0 0 rgba(32, 196, 107, .6); }
.tables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t { aspect-ratio: 1.25; border-radius: 14px; background: #f6f2f7; border: 1px solid #ece4ee; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; color: #6a5a70; font-size: 15px; }
.t small { font-size: 11px; font-weight: 500; }
.t.busy { background: linear-gradient(150deg, var(--pink-2), var(--pink)); color: #fff; border: 0; box-shadow: 0 8px 18px -8px rgba(255, 26, 140, .6); }
.t.bill { background: repeating-linear-gradient(135deg, #ffe3ef 0 8px, #fff 8px 16px); color: var(--pink-deep); border-color: var(--pink-200); }
.s-sum { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--pink-50); }
.s-sum span { font-size: 13px; color: var(--muted); }
.s-sum b { font-size: 24px; color: var(--pink-deep); }

.float { position: absolute; display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow-soft); animation: bob 5s ease-in-out infinite; font-size: 14px; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); font-size: 12px; }
.float .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--pink-50); font-size: 18px; }
.f1 { top: 6%; left: -2%; animation-delay: -1s; }
.f2 { bottom: 14%; left: -6%; animation-delay: -2.5s; }
.f3 { top: 40%; right: -4%; animation-delay: -3.5s; }

/* ---------- แถบจุดเด่น ---------- */
.strip { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.strip div { padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { font-size: 19px; color: var(--pink-deep); }
.strip span { color: var(--muted); font-size: 14px; }

/* ---------- การ์ด ---------- */
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { --mx: 50%; --my: 0%; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s, border-color .3s, opacity .7s, translate .3s; overflow: hidden; isolation: isolate; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 26, 140, .10), transparent 60%); opacity: 0; transition: opacity .3s; }
.card:hover { translate: 0 -6px; box-shadow: var(--shadow); border-color: var(--pink-200); }
.card:hover::before { opacity: 1; }
.card .ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--pink-2), var(--pink-deep)); box-shadow: 0 10px 20px -10px rgba(255, 26, 140, .7); margin-bottom: 16px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- แถบบันเทิง (ชมพูเข้ม) ---------- */
.band { background: radial-gradient(1000px 500px at 85% 0%, #ff6fb7 0%, transparent 60%), linear-gradient(135deg, #ff1a8c 0%, #d6006a 55%, #9b004d 100%); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .18) 1px, transparent 0) 0 0 / 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent); }
.sec-head.light p { color: rgba(255, 255, 255, .85); }
.sec-head.light .eyebrow { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.card.dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
.card.dark::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 60%); }
.card.dark:hover { border-color: rgba(255, 255, 255, .6); box-shadow: 0 24px 50px -20px rgba(60, 0, 30, .6); }
.card.dark p { color: rgba(255, 255, 255, .85); }
.card.dark .ic { background: #fff; color: var(--pink-deep); box-shadow: none; }

/* ---------- ออฟไลน์ ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 12px 0 14px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--pink); }
.sync { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; padding: 60px 20px; border-radius: 28px; background: linear-gradient(160deg, #fff, var(--pink-50)); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.node { width: 108px; height: 108px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 38px; }
.node small { font-size: 13px; color: var(--muted); font-weight: 600; }
.node.cloud { background: linear-gradient(135deg, var(--pink-2), var(--pink-deep)); color: #fff; border: 0; }
.node.cloud small { color: rgba(255, 255, 255, .9); }
.wire { position: relative; width: 120px; height: 4px; background: var(--pink-100); border-radius: 4px; overflow: hidden; }
.wire i { position: absolute; top: 0; left: -20%; width: 20%; height: 100%; border-radius: 4px; background: var(--pink); animation: packet 1.8s linear infinite; }
.wire i:nth-child(2) { animation-delay: .6s; } .wire i:nth-child(3) { animation-delay: 1.2s; }
@keyframes packet { to { left: 110%; } }
.badge { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: #e8fbf1; color: #0f8a4b; white-space: nowrap; }

/* ---------- ขั้นตอน ---------- */
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); }
.step .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pink-2), var(--pink-deep)); margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- ราคา ---------- */
.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; }
.plan h3 { font-size: 22px; }
.plan .tag { margin: 4px 0 14px; }
.price { margin-bottom: 18px; color: var(--muted); }
.price b { font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--pink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6006a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan li.soon { color: var(--muted); }
.plan .btn { width: 100%; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--pink-2), var(--pink-deep)) border-box; box-shadow: var(--shadow); transform: scale(1.03); }
.plan.featured.in { transform: scale(1.03); }
.ribbon { position: absolute; top: 18px; right: -34px; transform: rotate(35deg); background: linear-gradient(135deg, var(--pink-2), var(--pink-deep)); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 40px; }
.note { text-align: center; color: var(--muted); font-size: 14px; margin: 28px auto 0; max-width: 760px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow-soft); transition: border-color .2s; }
.qa[open] { border-color: var(--pink-200); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pink-50); color: var(--pink-deep); font-size: 18px; transition: transform .25s; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { margin: 0 0 18px; color: var(--ink-2); }

/* ---------- ปิดท้าย ---------- */
.final { text-align: center; color: #fff; border-radius: 32px; padding: 64px 24px; background: radial-gradient(700px 300px at 20% 0%, #ff7ab8, transparent 60%), linear-gradient(135deg, var(--pink), var(--pink-deep) 60%, #9b004d); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.final h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; }
.final p { color: rgba(255, 255, 255, .88); margin: 10px 0 0; font-size: 17px; }
.final .cta { margin-bottom: 0; }

.foot { border-top: 1px solid var(--line); background: #fff; padding: 40px 16px 24px; }
.foot-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.foot-in p { color: var(--muted); margin: 8px 0 0; max-width: 360px; font-size: 15px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: flex-start; max-width: 560px; }
.foot nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.foot nav a:hover { color: var(--pink-deep); }
.copy { text-align: center; color: var(--muted); font-size: 13px; margin: 28px 0 0; }

/* ---------- จอเล็ก ---------- */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .cta, .trust { justify-content: center; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu { display: flex; }
  .nav nav { position: absolute; top: 100%; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .nav.open nav { opacity: 1; pointer-events: auto; transform: none; }
  .nav nav > a:not(.btn) { padding: 12px 14px; }
  .nav nav .btn { margin-top: 6px; }
  .nav { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); }
  .g3, .how { grid-template-columns: 1fr; }
  .plan.featured, .plan.featured.in { transform: none; }
  .strip { grid-template-columns: repeat(2, 1fr); margin: 0 16px; }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .sec { padding: 64px 16px; }
}
@media (max-width: 560px) {
  .g4 { grid-template-columns: 1fr; }
  .hero-art { min-height: 380px; }
  .float { font-size: 12px; padding: 8px 10px; }
  .f1 { left: 0; top: 0; } .f2 { left: 0; bottom: 4%; } .f3 { right: 0; }
  .f3 { display: none; }
  .wire { width: 60px; }
  .node { width: 84px; height: 84px; font-size: 30px; }
  .btn.big { width: 100%; }
}
/* ---------- หน้าใน ---------- */
.page { max-width: 860px; margin: 0 auto; padding: 32px 16px 72px; }
.page-head { text-align: center; padding: 28px 0 8px; }
.page-head h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 800; margin: 12px 0 8px; }
.page-head p { color: var(--muted); margin: 0; }
.legal, .form-page { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-soft); padding: 32px clamp(18px, 4vw, 44px); }
.legal h1, .form-page h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin: 0 0 6px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 34px 0 10px; padding-top: 18px; border-top: 1px dashed var(--pink-200); color: var(--pink-deep); }
.legal h3 { font-size: 18px; margin: 20px 0 6px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a, .form-page a:not(.btn) { color: var(--pink-deep); }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; font-size: 0; }
.legal .toc a { text-decoration: none; padding: 6px 14px; border-radius: 999px; background: var(--pink-50); border: 1px solid var(--pink-100); font-size: 14px; font-weight: 500; }
.legal .toc a:hover { border-color: var(--pink); }
.legal .card, .form-page .card { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hint { color: var(--muted); font-size: 14px; }
ol.steps { counter-reset: st; list-style: none; padding: 0; display: grid; gap: 10px; }
ol.steps > li { counter-increment: st; position: relative; padding: 12px 14px 12px 54px; background: var(--pink-50); border: 1px solid var(--pink-100); border-radius: 16px; margin: 0; }
ol.steps > li::before { content: counter(st); position: absolute; left: 12px; top: 10px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pink-2), var(--pink-deep)); }
.btn.primary { color: #fff; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--pink-200); outline-offset: 2px; }

/* ฟอร์มสมัคร */
.form-page { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.form-page form { display: flex; flex-direction: column; gap: 14px; }
.form-page label { display: block; font-size: 14px; color: var(--ink-2); font-weight: 500; margin: 0 0 6px 2px; }
.form-page input[type=text], .form-page input[type=email], .form-page input[type=tel], .form-page input[type=password] { width: 100%; min-height: 52px; font: inherit; font-size: 17px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form-page input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px var(--pink-100); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 0; color: var(--ink-2); }
.chk input { accent-color: var(--pink); width: 18px; height: 18px; margin-top: 3px; }
.err { color: #d4183d; font-size: 14px; margin: 4px 0 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; }
.code { font-size: 34px; letter-spacing: .06em; color: var(--pink-deep); font-weight: 800; }
[hidden] { display: none !important; }

/* ---------- ชุดเครื่อง POS ---------- */
.page.wide { max-width: 1180px; }
.hw-grid { align-items: stretch; }
.hw { display: flex; flex-direction: column; padding: 0 0 22px; }
.hw > :not(.hw-img):not(.ribbon) { margin-left: 22px; margin-right: 22px; }
.hw-img { aspect-ratio: 4 / 3; overflow: hidden; background: #1d1220; border-radius: var(--radius) var(--radius) 0 0; margin-bottom: 16px; }
.hw-img img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 40%; transition: transform .5s; }
.hw:hover .hw-img img { transform: scale(1.06); }
.hw h3 { font-size: 20px; }
.hw .tag { margin: 2px 0 12px; color: var(--muted); font-size: 14px; }
.hw-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 7px; flex: 1; font-size: 14.5px; color: var(--ink-2); }
.hw-list li { position: relative; padding-left: 24px; }
.hw-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--pink); font-weight: 800; }
.hw-list li.gift { color: var(--pink-deep); font-weight: 600; }
.hw-list li.gift::before { content: '🎁'; font-size: 13px; }
.hw .price { margin: 0; color: var(--muted); }
.hw .price b { font-size: 34px; font-weight: 800; color: var(--ink); }
.hw .save { margin: 2px 22px 14px; font-size: 13px; color: #0f8a4b; font-weight: 600; }
.hw .btn { width: calc(100% - 44px); }
.hw.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--pink-2), var(--pink-deep)) border-box; box-shadow: var(--shadow); }
.hw-items { display: grid; gap: 12px; }
.hw-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 12px; }
.hw-item img { width: 96px; height: 96px; object-fit: cover; object-position: 70% 40%; border-radius: 14px; background: #1d1220; }
.hw-item h3 { font-size: 17px; margin-bottom: 2px; }
.hw-item p { margin: 0; font-size: 14px; }
.hw-item .price b { font-size: 22px; font-weight: 800; color: var(--ink); }
.hw-item .price { color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .hw-item { grid-template-columns: 72px 1fr; } .hw-item img { width: 72px; height: 72px; } .hw-item .price { grid-column: 2; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
