/* =========================================================
   50 กระบวนท่าหาเงินจากอสังหาฯ ด้วยทุนจาก 0 — ธีมรวม
   พาเลตต์ตรงกับ eBook: Navy #0A1E3F + Gold #C9A24B
   ฟอนต์: Kanit (หัวเรื่อง) + Sarabun (เนื้อหา)
   โทน: พรีเมียม น่าเชื่อถือ ซื่อตรง ไม่หวือหวาเกินจริง
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700&family=Sarabun:wght@400;500;600;700&display=swap');

:root {
  --navy: #0A1E3F;
  --navy2: #13315C;
  --ink: #1B2735;
  --ink-2: #26313f;
  --muted: #5C6B7D;
  --line: #e4e9f1;
  --bg: #F5F7FB;
  --paper: #ffffff;

  --gold: #C9A24B;
  --gold2: #E3C77D;
  --gold-ink: #8a6d1f;     /* ตัวอักษรสีทองบนพื้นสว่าง */
  --gold-soft: #FBF4E2;
  --copper: #C77B30;

  --danger: #b4452f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(10,30,63,.05), 0 10px 30px rgba(10,30,63,.07);
  --shadow-gold: 0 20px 60px rgba(201,162,75,.22);
  --maxw: 1080px;
  --font-head: 'Kanit', system-ui, -apple-system, sans-serif;
  --font: 'Sarabun', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy2); text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section--tight { padding: 48px 0; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(31px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(25px, 3.4vw, 37px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-2); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* เส้นคั่นทองแบบในเล่ม */
.gold-rule { height: 2px; border: 0; max-width: 220px; margin: 22px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
  background: var(--gold-soft); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
  border: 1px solid rgba(201,162,75,.25);
}

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; cursor: pointer;
  padding: 16px 32px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, filter .15s ease;
  text-align: center; line-height: 1.2;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--navy); box-shadow: 0 10px 26px rgba(201,162,75,.40);
}
.btn--primary:hover { filter: brightness(1.04); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy2); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn--block { width: 100%; }
.btn--lg { font-size: 20px; padding: 19px 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(245,247,251,.88);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.brand .mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(145deg, var(--navy), var(--navy2));
  color: var(--gold2); display: grid; place-items: center; font-weight: 700; font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,.35);
}
.brand small { display:block; font-family: var(--font); font-weight:400; font-size:12px; color:var(--muted); margin-top:-3px;}
.nav-cta { font-size: 15px; padding: 10px 22px; }

/* ---------- Hero (navy band) ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf0fb; text-align: center;
  padding: 78px 0 64px;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(201,162,75,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
}
.hero h1 { color: #fff; max-width: 19ch; margin-inline: auto; }
.hero .lead, .hero .sub { color: #cdd7e6; }
.hero .sub { max-width: 58ch; margin: 0 auto 30px; }
.hero b { color: var(--gold2); font-weight: 600; }
.hero .eyebrow { color: var(--gold2); background: rgba(201,162,75,.14); border-color: rgba(201,162,75,.35); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn--ghost { background: transparent; color: #eaf0fb; border-color: rgba(255,255,255,.30); }
.hero .btn--ghost:hover { border-color: var(--gold2); color: var(--gold2); }
.trust-row {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px; color: #aab8cc; font-size: 15px;
}
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.tick { color: var(--gold2); font-weight: 700; }

/* ---------- การ์ดทั่วไป ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Journey 4 พาร์ต ---------- */
.journey { display: grid; gap: 18px; }
.part {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 28px 28px 30px; box-shadow: var(--shadow);
  border-left: 5px solid var(--navy);
}
.part__no {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head);
  font-size: 14px; font-weight: 600; color: var(--navy2); letter-spacing: .08em; text-transform: uppercase;
}
.part__no b {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(145deg, var(--navy), var(--navy2)); color: var(--gold2);
  display: grid; place-items: center; font-size: 15px;
}
.part h3 { margin: 12px 0 6px; font-size: 22px; color: var(--navy); }
.part .lvl { font-size: 14px; color: var(--gold-ink); font-weight: 600; }
.part ul { margin: 14px 0 0; padding: 0; list-style: none; }
.part li { position: relative; padding: 4px 0 4px 26px; color: var(--ink-2); }
.part li::before { content: "→"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.part--1 { border-left-color: #2a4a7f; }
.part--2 { border-left-color: var(--navy2); }
.part--3 { border-left-color: var(--navy); }
.part--4 { border-left-color: var(--gold); background: linear-gradient(180deg,#fff, #fffdf6); }
.part--4 .part__no { color: var(--gold-ink); }
.part--4 .part__no b { background: linear-gradient(145deg, var(--gold), var(--copper)); color: #fff; }
.part--4 h3 { color: var(--gold-ink); }

/* ---------- รายการจุดขาย ---------- */
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 14px; align-items: flex-start; }
.value-list .ic {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; background: var(--gold-soft);
  color: var(--gold-ink); display: grid; place-items: center; font-weight: 700; margin-top: 2px;
}

/* ---------- เหมาะ / ไม่เหมาะ ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit .card h3 { display: flex; align-items: center; gap: 10px; }
.fit .yes h3 { color: var(--navy); }
.fit .no h3 { color: var(--danger); }
.fit ul { margin: 8px 0 0; padding-left: 22px; }
.fit li { margin: 6px 0; }

/* ---------- กล่องราคา ---------- */
.price-box {
  max-width: 520px; margin: 0 auto; text-align: center; background: var(--paper);
  border: 1px solid rgba(201,162,75,.4); border-radius: var(--radius-lg); padding: 40px 30px;
  box-shadow: var(--shadow-gold);
}
.price-full { margin: 0 0 4px; color: var(--muted); font-size: 16px; }
.price-full s { margin-right: 6px; }
.save-badge {
  display: inline-block; background: var(--gold-soft); color: var(--gold-ink);
  font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(201,162,75,.3);
}
.price-amount { font-family: var(--font-head); font-size: 58px; font-weight: 700; color: var(--navy); line-height: 1; }
.price-amount .cur { font-size: 28px; color: var(--muted); vertical-align: top; }
.price-note { color: var(--muted); margin-top: 6px; }
.price-box .btn { margin-top: 22px; }
.guarantee-note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ---------- Bridge: eBook คือแผนที่ / Bundle คือเข็มทิศ ---------- */
.bridge {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  color: #eaf0fb; border-radius: var(--radius-lg); padding: 44px 40px;
  position: relative; overflow: hidden;
}
.bridge::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 90% -10%, rgba(201,162,75,.16), transparent 60%);
  pointer-events: none;
}
.bridge > * { position: relative; z-index: 1; }
.bridge h2 { color: #fff; }
.bridge .eyebrow { color: var(--gold2); background: rgba(201,162,75,.14); border-color: rgba(201,162,75,.35); }
/* จิ๊กซอว์ 3 ชิ้น */
.bridge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; margin-top: 26px; }
.bridge-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 24px 22px; text-align: left; position: relative;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.bridge-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.45); }
.bridge-card .bc-ic { font-size: 32px; margin-bottom: 10px; line-height: 1; }
.bridge-card .bc-kick { font-family: var(--font-head); font-weight: 600; font-size: 11.5px; letter-spacing: .06em; color: var(--gold2); margin-bottom: 6px; }
.bridge-card .bc-t { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.bridge-card .bc-d { font-size: 14px; color: #b7c4d8; line-height: 1.7; }
.bridge-card.hi { background: rgba(201,162,75,.12); border-color: rgba(201,162,75,.45); }
.bridge-card.hi .bc-t { color: var(--gold2); }

/* แถบผลลัพธ์ */
.bridge-result {
  display: flex; align-items: center; gap: 16px; margin-top: 16px;
  border-radius: var(--radius); padding: 20px 26px;
  background: linear-gradient(135deg, rgba(201,162,75,.20), rgba(201,162,75,.05));
  border: 1px solid rgba(201,162,75,.4);
}
.bridge-result .br-ic { font-size: 34px; line-height: 1; flex: 0 0 auto; }
.bridge-result .br-t { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: #fff; }
.bridge-result .br-d { color: #cdd7e6; font-size: 14px; margin-top: 3px; }

/* ---------- Bundle: สิ่งที่อยู่ข้างใน ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.persona {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.persona .pe-tag { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 17px; }
.persona .pe-en { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.persona .pe-d { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* Roadmap 30 วัน (4 ช่วง) */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.rm-step {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.rm-day {
  font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em;
  color: var(--gold-ink); background: var(--gold-soft); display: inline-block;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.rm-step h4 { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy); margin: 0 0 6px; }
.rm-step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Template pack */
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; margin-top: 12px; }
.tpl-grid li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: 15.5px; }
.tpl-grid .tk { color: var(--gold); font-weight: 700; flex: 0 0 auto; }

/* ---------- 3-Tier Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow);
}
/* ระดับกลาง — Bundle: ยกเด่นเล็กน้อย พื้นทองอ่อน */
.tier--mid {
  border: 1.5px solid rgba(201,162,75,.5);
  background: linear-gradient(180deg, #fff, #fffdf6);
  box-shadow: 0 16px 40px rgba(10,30,63,.10);
  transform: translateY(-8px);
  z-index: 1;
}

/* ระดับพรีเมียมสุด — Full Pack: การ์ด navy เข้ม ทองเรืองแสง ยกเด่นสุด */
.tier--premium {
  border: 2px solid var(--gold);
  background: linear-gradient(165deg, #0A1E3F 0%, #13315C 100%);
  box-shadow: 0 34px 80px rgba(10,30,63,.42), 0 0 34px rgba(201,162,75,.22);
  transform: translateY(-18px) scale(1.03);
  color: #eaf0fb; z-index: 2;
  padding-top: 38px;   /* เผื่อที่ให้ป้ายลอยเหนือหัวการ์ดโดยไม่ทับชื่อ */
}
.tier--premium::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; overflow: hidden;   /* ให้แสงมนตามมุมการ์ด แต่ไม่ตัดป้าย */
  background:
    radial-gradient(560px 220px at 82% -8%, rgba(201,162,75,.26), transparent 60%),
    radial-gradient(400px 240px at 8% 108%, rgba(201,162,75,.14), transparent 55%);
}
.tier--premium > * { position: relative; z-index: 1; }
.tier--premium .tier__name { color: #fff; }
.tier--premium .tier__for { color: #b7c4d8; }
.tier--premium .tier__price { color: #fff; }
.tier--premium .tier__price .cur { color: var(--gold2); }
.tier--premium .tier__old s { color: #8a99b3; }
.tier--premium .tier__delta { color: var(--gold2); }
.tier--premium .tier__list { border-top-color: rgba(255,255,255,.16); }
.tier--premium .tier__list li { color: #dbe4f0; }
.tier--premium .tier__list .new { color: #fff; }
.tier--premium .tier__list .grp { color: var(--gold2); }
.tier--premium .tier__list .tk { color: var(--gold2); }

.tier__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-weight: 600; font-size: 12.5px; letter-spacing: .05em;
  color: #fff; background: linear-gradient(135deg, var(--gold), var(--copper));
  padding: 5px 18px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(201,162,75,.4);
}
.tier__badge.navy { background: var(--navy); }
/* ป้าย Full Pack — ทองสว่างเด่นบนการ์ด navy */
.tier--premium .tier__badge {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--navy); box-shadow: 0 8px 22px rgba(201,162,75,.6);
  font-weight: 700;
}
/* ปุ่มบนการ์ดพรีเมียม — ทองสว่างเต็ม */
.tier--premium .btn--navy {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--navy); box-shadow: 0 12px 28px rgba(201,162,75,.5); border: none;
}
.tier--premium .btn--navy:hover { filter: brightness(1.05); transform: translateY(-2px); }
.tier__name { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--navy); margin-bottom: 4px; }
.tier__for { font-size: 14px; color: var(--muted); min-height: 42px; margin-bottom: 14px; }
.tier__price { font-family: var(--font-head); font-weight: 700; font-size: 42px; color: var(--navy); line-height: 1; }
.tier__price .cur { font-size: 22px; color: var(--muted); vertical-align: top; }
.tier__old { font-size: 15px; color: var(--muted); margin: 4px 0 2px; }
.tier__old s { color: var(--muted); }
.tier__delta { font-size: 13.5px; color: var(--gold-ink); font-weight: 600; margin-bottom: 16px; }
.tier__list { list-style: none; margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; }
.tier__list li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tier__list .tk { position: absolute; left: 0; top: 1px; color: var(--gold); font-weight: 700; }
.tier__list .new { color: var(--navy); font-weight: 600; }
.tier__list li.grp-row { padding-left: 0; }
.tier__list li.grp-row:not(:first-child) { margin-top: 11px; padding-top: 12px; border-top: 1px dashed var(--line); }
.tier__list .grp { font-family: var(--font-head); font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.tier--premium .tier__list li.grp-row:not(:first-child) { border-top-color: rgba(255,255,255,.16); }
.tier .btn { margin-top: auto; }

/* Value stack */
.value-stack {
  max-width: 640px; margin: 0 auto; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; box-shadow: var(--shadow);
}
.vs-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.vs-row .vs-v { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs-total { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 16px 0 4px; font-family: var(--font-head); font-weight: 600; }
.vs-total .vs-v { color: var(--muted); text-decoration: line-through; font-size: 20px; }
.vs-pay { text-align: center; margin-top: 18px; }
.vs-pay .vs-lbl { font-size: 15px; color: var(--muted); }
.vs-pay .vs-amt { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--gold-ink); line-height: 1.1; }

/* ---------- Checkout: สรุปแพ็ก + โซนอัปเกรด ---------- */
.co-includes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.co-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.co-includes .tk { color: var(--gold); font-weight: 700; flex: 0 0 auto; margin-top: 1px; }

/* โซนอัปเกรด — กรอบทองไล่เฉด + เรืองแสงเบา ๆ ให้สะดุดตา */
.upsell {
  margin-top: 24px; border-radius: var(--radius-lg); padding: 2.5px;
  background: linear-gradient(135deg, var(--gold2), var(--gold), var(--copper));
  box-shadow: 0 14px 40px rgba(201,162,75,.28);
  animation: upsellGlow 2.6s ease-in-out infinite;
}
@keyframes upsellGlow {
  0%, 100% { box-shadow: 0 12px 34px rgba(201,162,75,.24); }
  50% { box-shadow: 0 16px 50px rgba(201,162,75,.52); }
}
.upsell__inner { background: #fff; border-radius: calc(var(--radius-lg) - 3px); padding: 24px 24px 20px; }
.upsell__badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700;
  font-size: 12.5px; letter-spacing: .05em; color: #fff;
  background: linear-gradient(135deg, var(--copper), #a65a16); padding: 6px 15px; border-radius: 999px;
}
.upsell__ttl { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--navy); margin: 13px 0 2px; }
.upsell__sub { font-size: 14px; color: var(--muted); margin: 0; }
.up-offer {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 14px; background: var(--bg);
}
.up-offer.best { border: 1.5px solid var(--gold); background: linear-gradient(180deg, #fff, #fffdf6); }
.up-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.up-name { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--navy); }
.up-name .pill { font-size: 11px; font-weight: 700; color: #fff; background: var(--gold); padding: 2px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.up-delta { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--gold-ink); white-space: nowrap; text-align: right; }
.up-delta small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.up-get { font-size: 13.5px; color: var(--muted); margin: 10px 0 10px; }
.up-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.up-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.up-list .tk { color: #16a34a; font-weight: 700; flex: 0 0 auto; margin-top: 1px; }
.up-btn {
  width: 100%; font-family: var(--font-head); font-weight: 600; font-size: 16px; cursor: pointer;
  padding: 13px 20px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s ease, filter .15s ease;
}
.up-btn--go { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: var(--navy); box-shadow: 0 8px 20px rgba(201,162,75,.4); }
.up-btn--go:hover { filter: brightness(1.05); transform: translateY(-1px); }
.up-btn--ghost { background: #fff; color: var(--navy); border-color: var(--gold); }
.up-btn--ghost:hover { background: var(--gold-soft); }
.up-current {
  text-align: center; font-size: 14.5px; color: var(--gold-ink); background: var(--gold-soft);
  border-radius: var(--radius); padding: 15px; margin-top: 14px; font-weight: 600;
  border: 1px solid rgba(201,162,75,.3);
}
.co-downsell { text-align: center; margin-top: 12px; }
.co-downsell button { background: none; border: none; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; font-family: var(--font); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 500; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding-bottom: 16px; margin: 0; color: var(--ink-2); }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: var(--gold-soft); border: 1px solid rgba(201,162,75,.3); border-radius: var(--radius);
  padding: 24px 26px; color: var(--ink-2); font-size: 15px;
}
.disclaimer h3 { font-size: 16px; color: var(--gold-ink); margin-bottom: 10px; }
.disclaimer p { margin: 0 0 .6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aab8cc; padding: 36px 0; font-size: 14px; }
.site-footer a { color: var(--gold2); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Sticky CTA มือถือ ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { width: 100%; }

/* ---------- ฟอร์ม (ใช้ร่วม checkout/pay) ---------- */
.form-page { max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: 6px; }
.field .hint { font-family: var(--font); font-size: 13px; color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; font-family: inherit; font-size: 17px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field input.invalid { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 13px; margin-top: 5px; display: none; }
.field .err.show { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { margin-top: 5px; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--navy); }

.steps { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; font-family: var(--font-head); font-size: 13px; color: var(--muted); }
.steps b { color: var(--gold-ink); }
.steps .sep { color: var(--line); }

.notice { padding: 14px 16px; border-radius: 11px; font-size: 15px; margin-bottom: 18px; }
.notice--info { background: #eef2f9; color: var(--navy2); }
.notice--warn { background: var(--gold-soft); color: var(--gold-ink); }
.notice--err { background: #fbeae6; color: var(--danger); }
.notice--ok { background: var(--gold-soft); color: var(--gold-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .tier--mid, .tier--premium { transform: none; }
  .bridge-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .tpl-grid { grid-template-columns: 1fr; }
  .bridge { padding: 32px 24px; }
  .value-stack { padding: 24px 22px; }
  .nav-cta { display: none; }
  .sticky-cta { display: block; }
  .hero { padding: 56px 0 40px; }
}

/* =========================================================
   ✦ ลูกเล่น / ชีวิตชีวา — คุมธีม navy + gold เดิม
   ========================================================= */

/* ---- Scroll reveal (ซ่อนเฉพาะเมื่อ JS ทำงาน — กัน content หายถ้า JS พัง) ---- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---- Hover micro-interactions ---- */
.card, .part, .persona, .rm-step, .tier { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease, border-color .28s ease; }
.card:hover, .persona:hover, .rm-step:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(10,30,63,.14); border-color: rgba(201,162,75,.45); }
.part:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(10,30,63,.15); }
.part:hover::after { opacity: 1; }
.part { position: relative; }
.part::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,.35); opacity: 0; transition: opacity .28s ease; }
.tier:not(.tier--premium):hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); border-color: var(--gold); }
.tier--mid:hover { transform: translateY(-13px); }
.tier--premium:hover { transform: translateY(-22px) scale(1.04); }
.value-list li .ic { transition: transform .25s ease, background .25s ease; }
.value-list li:hover .ic { transform: scale(1.12) rotate(-6deg); background: var(--gold2); }

/* ---- Hero: aurora เคลื่อนไหว + เพชรทองลอย + ประกาย ---- */
.hero > .wrap { position: relative; z-index: 2; }
.hero::before {
  content: ""; position: absolute; z-index: 0; inset: -25% -10% auto -10%; height: 90%; pointer-events: none;
  background:
    radial-gradient(620px 300px at 22% 18%, rgba(201,162,75,.20), transparent 62%),
    radial-gradient(520px 260px at 84% 8%, rgba(201,162,75,.13), transparent 60%);
  animation: auroraFloat 16s ease-in-out infinite alternate;
}
@keyframes auroraFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(0,30px,0) scale(1.06); } }

.hero-orbs { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-orbs span {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  background: linear-gradient(135deg, var(--gold2), var(--gold)); border-radius: 4px;
  opacity: .55; box-shadow: 0 0 20px rgba(201,162,75,.55);
  animation: floatOrb 7s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes floatOrb { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-18px); } }

/* ---- หนังสือ ebook 3D ลอย 2 ข้าง hero ---- */
.hero-book { position: absolute; z-index: 1; top: 50%; width: 188px; pointer-events: none; }
.hero-book--left { left: 3.5%; animation: bookFloat 6.5s ease-in-out infinite; }
.hero-book--right { right: 3.5%; top: 53%; animation: bookFloat 6.5s ease-in-out infinite; animation-delay: -3.2s; }
@keyframes bookFloat { 0%,100% { transform: translateY(-50%) translateY(0); } 50% { transform: translateY(-50%) translateY(-18px); } }

.book { transform-style: preserve-3d; }
.hero-book--left  .book { --ry: 18deg;  animation: bookTiltL 9s ease-in-out infinite; }
.hero-book--right .book { --ry: -18deg; animation: bookTiltR 9s ease-in-out infinite; }
@keyframes bookTiltL { 0%,100% { transform: perspective(1000px) rotateY(18deg) rotateX(5deg) rotateZ(-2deg); } 50% { transform: perspective(1000px) rotateY(11deg) rotateX(2deg) rotateZ(-1deg); } }
@keyframes bookTiltR { 0%,100% { transform: perspective(1000px) rotateY(-18deg) rotateX(5deg) rotateZ(2deg); } 50% { transform: perspective(1000px) rotateY(-11deg) rotateX(2deg) rotateZ(1deg); } }

.book__cover {
  position: relative; width: 188px; aspect-ratio: .72; display: flex; flex-direction: column;
  padding: 18px 16px; overflow: hidden;
  background: linear-gradient(160deg, #0A1E3F 0%, #13315C 100%);
  border-radius: 3px 9px 9px 3px; border-left: 4px solid rgba(201,162,75,.55);
  box-shadow: -16px 26px 55px rgba(6,16,36,.5), 0 2px 0 rgba(255,255,255,.04) inset;
}
.book__cover::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(201,162,75,.32); border-radius: 4px; pointer-events: none; }
.book__cover::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130px 90px at 82% 10%, rgba(201,162,75,.22), transparent 62%); }
.book__big { position: absolute; top: 2px; right: 12px; font-family: var(--font-head); font-weight: 700; font-size: 74px; line-height: 1; color: rgba(201,162,75,.12); }
.book__eyebrow { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 600; font-size: 7.5px; letter-spacing: .22em; color: var(--gold2); }
.book__spacer { flex: 1; }
.book__title { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.28; color: #fff; }
.book__rule { width: 32px; height: 3px; background: var(--gold); border-radius: 2px; margin: 8px 0 7px; }
.book__sub { font-family: var(--font-head); font-weight: 600; font-size: 12px; color: var(--gold2); }

@media (max-width: 1180px) { .hero-book { display: none; } }

.eyebrow.shine { position: relative; overflow: hidden; }
.eyebrow.shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: sweep 3.8s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }

/* ---- ประกายวิ่งบนปุ่มทองตอน hover ---- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); opacity: 0;
}
.btn--primary:hover::after { animation: btnShine .9s ease; }
@keyframes btnShine { 0% { left: -75%; opacity: 1; } 100% { left: 130%; opacity: 1; } }

/* ---- แถบตัวเลข (Stats) ---- */
.stats-band { padding: 0; margin-top: -34px; position: relative; z-index: 3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  text-align: center; padding: 22px 14px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); color: var(--navy); line-height: 1; }
.stat__num .suffix { font-size: .45em; color: var(--gold-ink); margin-left: 3px; font-weight: 600; }
.stat__lbl { color: var(--muted); font-size: 14.5px; margin-top: 7px; }

/* ---- Sticky header เงาเมื่อ scroll ---- */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10,30,63,.10); background: rgba(245,247,251,.95); }

@media (max-width: 860px) { .hero-orbs span { display: none; } }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats-band { margin-top: -22px; }
}

/* ---- เคารพผู้ใช้ที่ปิด animation ---- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before, .hero-orbs span, .eyebrow.shine::after, .btn--primary::after { animation: none !important; }
  .hero-book, .hero-book .book { animation: none !important; }
  .card, .part, .persona, .rm-step, .tier { transition: none !important; }
  .cookie-bar { transition: none !important; }
}

/* =========================================================
   🍪 แถบขอความยินยอมคุกกี้ (PDPA) — สร้างจาก assets/js/pixel.js
   ========================================================= */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 100%);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -8px 30px rgba(10,30,63,.28);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.cookie-bar.is-open { transform: translateY(0); }
.cookie-bar__in {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.cookie-bar__txt { flex: 1 1 420px; color: #cdd7e6; font-size: 14px; line-height: 1.65; }
.cookie-bar__txt b { display: block; color: #fff; font-family: var(--font-head); font-size: 15.5px; margin-bottom: 2px; }
.cookie-bar__txt a { color: var(--gold2); text-decoration: underline; }
.cookie-bar__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 11px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: filter .15s ease, transform .15s ease, background .15s ease;
}
.cookie-btn--yes {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--navy); box-shadow: 0 8px 20px rgba(201,162,75,.35);
}
.cookie-btn--yes:hover { filter: brightness(1.05); transform: translateY(-1px); }
/* ปุ่มปฏิเสธต้องกดง่ายพอ ๆ กับยอมรับ (ข้อกำหนดเรื่องความยินยอมที่เป็นอิสระ) */
.cookie-btn--no { background: transparent; color: #eaf0fb; border-color: rgba(255,255,255,.35); }
.cookie-btn--no:hover { border-color: var(--gold2); color: var(--gold2); }

/* ปุ่มลอยมือถือซ่อนไว้ก่อน จนกว่าจะตอบเรื่องคุกกี้ (กันทับกัน) */
body.has-cookie-bar .sticky-cta { display: none; }

@media (max-width: 700px) {
  .cookie-bar__in { gap: 14px; }
  .cookie-bar__txt { flex: 1 1 100%; font-size: 13.5px; }
  .cookie-bar__btns { width: 100%; }
  .cookie-btn { flex: 1; padding: 12px 10px; }
}
