:root {
  --bg: #1f232c; --surface: #272c37; --line: #3a404d; --text: #ffffff; --muted: #c6cddb;
  --accent: #ffc103; --accent-ink: #1f232c; --red: #ff4d5e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 "Kanit", system-ui, sans-serif; font-weight: 300; }
a { color: var(--accent); }
img, video { max-width: 100%; display: block; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
header { position: sticky; top: 0; z-index: 10; background: rgba(31,35,44,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
header img { height: 38px; width: auto; }
header nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--text); }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 12px; border: 0; font-size: 17px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.15; margin: 0 0 12px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.phone { border-radius: 26px; overflow: hidden; border: 6px solid #11141a; box-shadow: 0 20px 60px rgba(0,0,0,.45); max-width: 300px; margin: 0 auto; background: #000; }
section { padding: 48px 0; }
section h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; font-weight: 700; }
section .sub { color: var(--muted); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; margin-bottom: 10px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.plan.hot { border: 2px solid var(--accent); position: relative; }
.plan.hot::before { content: "ยอดนิยม"; position: absolute; top: -13px; left: 20px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 700; }
.plan .price { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 400; }
.plan ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.plan li { margin: 4px 0; }
.plan li b { color: var(--text); font-weight: 500; }
.extra { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq details p { color: var(--muted); margin: 10px 0 0; }
.todo { background: rgba(255,77,94,.14); border: 1px dashed var(--red); color: #ffd1d6; padding: 2px 8px; border-radius: 6px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }
.doc { padding: 40px 0 56px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: 34px; margin: 0 0 4px; }
.doc .date { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.draft { background: rgba(255,193,3,.12); border: 1px solid var(--accent); border-radius: 12px; padding: 12px 16px; color: var(--text); margin-bottom: 20px; font-size: 15px; }
@media (max-width: 820px) {
  .hero .wrap, .grid, .plans, .extra { grid-template-columns: minmax(0, 1fr); }
  header nav a.hide-sm { display: none; }
  .hero { padding-top: 32px; }
}

/* ภาพจำลองหน้ารวมคลิป (กราฟิกล้วน ไม่ใช่ภาพจริง) */
.mock { perspective: 1400px; }
.mock-in { background: #171a21; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: rotateY(-9deg) rotateX(4deg); transform-origin: left center; }
.mock-bar { display: flex; gap: 6px; align-items: center; margin: 0 0 10px 2px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 8px; font-size: 12px; color: var(--muted); }
.mock-head { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.mock-head b { font-size: 15px; font-weight: 600; margin-right: 4px; }
.mock-chip { font-size: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.mock-chip.on { background: #fff; color: var(--accent-ink); border-color: #fff; }
.mock-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.mc { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 4px 4px 6px; min-width: 0; }
.mc-v { aspect-ratio: 9 / 16; border-radius: 7px; background: linear-gradient(160deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.mc-h { position: absolute; top: 8%; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mc-h span { background: #111; color: #fff; font-size: 7px; font-weight: 600; padding: 1px 4px; border-radius: 2px; white-space: nowrap; max-width: 94%; overflow: hidden; text-overflow: ellipsis; }
.mc-h span + span { color: var(--accent); }
.mc-e { position: absolute; inset: 38% 0 0; display: grid; place-items: start center; font-size: 24px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); }
.mc-v em { position: absolute; right: 4px; bottom: 4px; font-style: normal; font-size: 8px; background: rgba(0,0,0,.6); padding: 0 4px; border-radius: 3px; }
.mc-t { font-size: 8.5px; margin: 4px 2px 2px; color: var(--text); }
.mc-s { display: inline-block; font-size: 7px; padding: 0 6px; border-radius: 999px; margin-left: 2px; }
.mc-s.wait { background: var(--accent); color: var(--accent-ink); } .mc-s.ok { background: #2fbf71; color: #08210f; } .mc-s.mob { background: #6ea8ff; color: #0b1c3a; }
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 32px; align-items: center; }
@media (max-width: 820px) {
  .mock-in { transform: none; } .mock-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mc:nth-child(n+9) { display: none; }
  .demo { grid-template-columns: minmax(0, 1fr); }
}
