/* ===== NERAMIT · สีหลักของเว็บ (แก้ตรงนี้ที่เดียว เปลี่ยนทั้งเว็บ) ===== */
:root {
  --bg: #0E0B16;
  --card: #17121F;
  --line: #2A2236;
  --line-soft: #241C33;
  --text: #F3F0FA;
  --text-2: #E4DEEE;
  --muted: #BDB3CE;
  --muted-2: #A89DBA;
  --violet: #7C3AED;
  --violet-soft: #C4B5FD;
  --gold: #F5C542;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans Thai', system-ui, sans-serif;
  line-height: 1.5;
}
a { color: var(--violet-soft); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; }
.brand { font-family: 'Unbounded', sans-serif; font-weight: 700; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.gold { color: var(--gold); }

/* ===== เมนูบน ===== */
.site-header { border-bottom: 1px solid var(--line-soft); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo img { height: 34px; width: auto; display: block; }
.logo span { font-size: 20px; letter-spacing: 1px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 16px; }
.nav-links > a:not(.btn) { color: #CFC6DD; }
.nav-links > a:not(.btn):hover { color: var(--gold); }

.lang { display: flex; padding: 3px; border-radius: 11px; background: var(--card); border: 1px solid var(--line); }
.lang button {
  all: unset; box-sizing: border-box; cursor: pointer; min-width: 48px; min-height: 38px; padding: 8px 12px;
  border-radius: 8px; text-align: center; font-weight: 600; font-size: 14px; color: #CFC6DD;
}
.lang button[aria-pressed="true"] { background: var(--violet); color: #fff; }
.lang button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ===== ปุ่ม ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 12px; font-weight: 600; padding: 15px 28px; font-size: 17px; }
.btn-sm { padding: 11px 20px; font-size: 16px; border-radius: 10px; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { background: #6D28D9; color: #fff; }
.btn-outline { border: 1px solid #4A3B66; color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold { background: var(--gold); color: #1A1300; font-weight: 700; }
.btn-gold:hover { background: #E8B830; color: #1A1300; }

/* ===== ส่วนต่างๆ ===== */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 88px; }
.hero-text { flex: 1 1 500px; min-width: 0; }
.hero h1 { font-size: 60px; line-height: 1.2; font-weight: 700; }
.hero-sub { margin: 24px 0 0; font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 540px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { flex: 0 1 400px; display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 340px; height: auto; display: block; }
.pill { margin: 0 0 20px; display: inline-block; border: 1px solid #3B2D55; color: var(--violet-soft); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }

.section { padding-top: 40px; padding-bottom: 80px; }
.kicker { margin: 0; color: var(--gold); font-weight: 600; font-size: 15px; letter-spacing: 1px; }
.section h2 { margin: 8px 0 36px; font-size: 38px; font-weight: 700; line-height: 1.3; }

.grid { display: grid; gap: 20px; }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.card.featured { border-color: var(--violet); }
.card h3 { font-size: 23px; }
.card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 16px; }
.card .bullets { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--text-2); }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 600; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.badge { font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.badge-gold { background: var(--gold); color: #1A1300; }
.badge-line { border: 1px solid #4A3B66; color: var(--violet-soft); font-weight: 600; }

.work { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.work-img { all: unset; box-sizing: border-box; display: block; cursor: zoom-in; margin: 12px; width: calc(100% - 24px); aspect-ratio: 4 / 3; background: #1A1A1E; border-radius: 10px; overflow: hidden; }
.work-img:focus-visible { outline: 2px solid var(--gold); }
.work-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.work-body { padding: 4px 20px 22px; }
.tag { font-size: 12px; font-weight: 600; color: var(--violet-soft); border: 1px solid #3B2D55; border-radius: 999px; padding: 3px 10px; }
.work h3 { margin: 12px 0 6px; font-size: 18px; }
.work p { margin: 0; color: var(--muted-2); font-size: 15px; line-height: 1.6; }

.num-card { padding: 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.num-card.plain { background: transparent; }
.num-card .num { font-family: 'Unbounded', sans-serif; color: var(--violet); font-size: 28px; font-weight: 700; }
.num-card h3 { margin: 12px 0 8px; font-size: 20px; }
.num-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.order-box { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.order-box h2 { margin: 8px 0 28px; font-size: 34px; }
.order-steps { flex: 1 1 420px; min-width: 0; }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step span { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--violet); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.step p { margin: 6px 0 0; font-size: 17px; }
.order-cta { flex: 0 1 320px; display: flex; flex-direction: column; }
.order-cta .btn { padding: 18px 28px; font-size: 18px; border-radius: 14px; }
.legal-note { margin: 48px 0 0; padding: 0 4px; color: var(--muted-2); font-size: 14px; line-height: 1.7; text-align: center; }

/* ===== หน้าบอท ===== */
.bot-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.bot-title .brand { font-size: 18px; color: var(--violet-soft); }
.hero-shot { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.hero-shot img { width: 100%; max-width: 531px; height: auto; display: block; border-radius: 16px; border: 1px solid var(--line); }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.feat .dots { width: 12px; height: 12px; border-radius: 3px; background: var(--violet); box-shadow: 16px 0 0 var(--violet-soft), 32px 0 0 var(--gold); }
.feat h3 { margin: 20px 0 8px; font-size: 19px; }
.feat p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }

.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.plans { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.plans th { padding: 24px 20px; border-bottom: 1px solid var(--line); }
.plans th:first-child { text-align: left; padding-left: 28px; color: var(--muted-2); font-weight: 500; }
.plans th .plan { font-size: 20px; }
.plans th .price { color: var(--muted-2); font-weight: 500; font-size: 14px; margin-top: 4px; }
.plans td { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); text-align: center; color: var(--muted); }
.plans td:first-child { text-align: left; padding-left: 28px; color: var(--text-2); }
.plans .prem { background: #211833; }
.plans td.prem { color: var(--text); font-weight: 600; }
.plans th.prem .plan { color: var(--gold); }
.plans th.prem .price { color: var(--violet-soft); }
.plans tr:last-child td { border-bottom: 0; }
.plan-cta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.plan-cta span { color: var(--muted-2); font-size: 15px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--violet-soft); font-size: 22px; flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 26px 22px; color: var(--muted); line-height: 1.7; font-size: 16px; }

/* ===== หน้าข้อกำหนด / นโยบาย ===== */
.doc { max-width: 860px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { margin-top: 14px; font-size: 44px; line-height: 1.25; }
.doc .date { margin: 12px 0 0; color: var(--muted-2); font-size: 15px; }
.doc .intro { margin: 28px 0 0; font-size: 18px; line-height: 1.8; color: var(--text-2); }
.doc ol.sections { list-style: none; counter-reset: sec; margin: 40px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.doc ol.sections > li { counter-increment: sec; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.doc ol.sections h2 { display: flex; align-items: baseline; gap: 14px; font-size: 21px; }
.doc ol.sections h2::before { content: counter(sec, decimal-leading-zero); font-family: 'Unbounded', sans-serif; color: var(--violet); font-size: 18px; }
.doc ol.sections p, .doc ol.sections ul { margin: 14px 0 0; color: #CFC6DD; line-height: 1.8; font-size: 16px; }
.doc ol.sections ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* แสดงเฉพาะภาษาที่เลือก (ใช้ในหน้าข้อกำหนด / นโยบาย) */
html[lang="th"] [data-only="en"], html[lang="en"] [data-only="th"] { display: none; }

/* ===== ท้ายเว็บ ===== */
.site-footer { border-top: 1px solid var(--line-soft); }
.footer { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; font-size: 15px; color: var(--muted-2); padding-top: 32px; padding-bottom: 32px; }
.footer .logo img { height: 24px; }
.footer .logo span { font-size: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }

/* ===== กดขยายรูป ===== */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 6, 12, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(900px, 100%); max-height: 80vh; border-radius: 12px; display: block; }
.lightbox p { margin: 0; color: var(--text-2); font-size: 16px; font-weight: 600; }
.lightbox .close { all: unset; position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 12px; background: var(--line-soft); color: var(--text); font-size: 26px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ===== มือถือ ===== */
@media (max-width: 720px) {
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .section h2 { font-size: 30px; }
  .order-box { padding: 28px; }
  .order-box h2 { font-size: 28px; }
  .doc h1 { font-size: 34px; }
  .nav-links { gap: 12px; }
  .nav-links > a:not(.btn) { display: none; }
  .hero-art img { max-width: 180px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
