/* ═══════════════════════════════════════════════════════════════
   TRADER BUILD — Premium layer (Nov 2026)
   โหลดต่อท้าย landing-v2.css / courses.css
   - โลโก้สัญลักษณ์ทอง-มุก แทนกล่อง TB
   - ปุ่ม Gradient ทองแบบเว็บ Inner Circle
   ═══════════════════════════════════════════════════════════════ */
:root {
  --btn-grad: linear-gradient(135deg, #F3E1A3 0%, #D4AF37 55%, #B8932A 100%);
  --btn-glow: 0 10px 30px rgba(212,175,55,.28), inset 0 1px 0 rgba(255,255,255,.55);
  --btn-glow-hover: 0 14px 38px rgba(212,175,55,.40), inset 0 1px 0 rgba(255,255,255,.65);
}

/* ── Logo mark ── */
img.logo__mark {
  width: 40px; height: 40px;
  background: none; border-radius: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(212,175,55,.28));
  transition: transform .5s var(--ease);
}
.logo:hover img.logo__mark { transform: rotate(-12deg) scale(1.05); }
.logo { gap: 12px; }
.footer__brand img.logo__mark { width: 44px; height: 44px; }
@media (max-width: 760px) { img.logo__mark { width: 34px; height: 34px; } }

/* ── Primary (gold) buttons ── */
.btn--gold,
.price__cta--gold,
.cp-price__cta,
.fab {
  background: var(--btn-grad) !important;
  color: #0A0A0C !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: var(--btn-glow);
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn--gold:hover,
.price__cta--gold:hover,
.cp-price__cta:hover,
.fab:hover {
  background: var(--btn-grad) !important;
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: var(--btn-glow-hover);
}
.btn--gold:active, .price__cta--gold:active, .cp-price__cta:active { transform: translateY(0); }

/* แสงวิ่งผ่านปุ่ม (ทุกปุ่มทอง) */
.price__cta--gold::after,
.cp-price__cta::after,
.btn--gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.price__cta--gold:hover::after,
.cp-price__cta:hover::after,
.btn--gold:hover::after { transform: translateX(110%); }

/* ── Secondary buttons: glass pill ── */
.btn--ghost,
.btn--line,
.price__cta:not(.price__cta--gold) {
  border-radius: 999px !important;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover,
.btn--line:hover,
.price__cta:not(.price__cta--gold):hover {
  background: rgba(212,175,55,.08);
  border-color: rgba(212,175,55,.55);
  color: var(--gold-bright);
}
/* ปุ่มบน Nav — ขอบทองบาง ให้เด่นกว่าไอคอนโซเชียลแต่ไม่แย่งปุ่มหลัก */
.nav .btn--ghost { border-color: rgba(212,175,55,.45); color: var(--gold-bright); }
.soc { border-radius: 999px; }

/* ── Hero: ห้ามตัดคำ "ค่าสอบ" ข้ามบรรทัด ── */
.hero__h1 .strike { white-space: nowrap; }

/* ── Price ribbon ให้เข้าชุดกับปุ่ม ── */
.price__ribbon { background: var(--btn-grad) !important; border-radius: 999px; padding-left: 14px; padding-right: 14px; }

/* ── Banner มือถือ: ไม่ให้จุดแดงลอยอยู่บรรทัดเดียว ── */
@media (max-width: 760px) {
  .banner__dot { display: none; }
}

/* Hero headline: บรรทัดแรกต้องอยู่บรรทัดเดียว */
.hero__h1 .nw { white-space: nowrap; }
@media (min-width: 1025px) { .hero__h1 { font-size: clamp(56px, 5.3vw, 80px); } }

/* ── คำที่ห้ามตัดข้ามบรรทัด เช่น "เทรดเดอร์บิ๊ว" ── */
.nw { white-space: nowrap; }

/* ── แคปซูลทอง (Birthday Special บนการ์ดราคา) ── */
.cp-price__tier { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gold-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--btn-grad); color: #0A0A0C;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em;
  padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(212,175,55,.30), inset 0 1px 0 rgba(255,255,255,.55);
}
.cp-price__tier-note { font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: var(--gold-bright); }

/* ── ตัวนับสิทธิ์ที่เหลือ x / 20 ── */
.seatbar {
  margin: 16px 0 4px; padding: 14px 16px;
  background: rgba(212,175,55,.06); border: 1px solid rgba(212,175,55,.28); border-radius: 12px;
}
.seatbar[hidden] { display: none; }
.seatbar__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.seatbar__lbl { font-size: 13px; color: var(--ink-2); }
.seatbar__num { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.seatbar__num b { font-family: var(--display); font-size: 30px; font-weight: 400; line-height: 1; color: var(--gold-bright); letter-spacing: .02em; }
.seatbar__track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.seatbar__track i { display: block; height: 100%; width: 100%; border-radius: 999px; background: var(--btn-grad); box-shadow: 0 0 12px rgba(212,175,55,.6); transition: width 1.2s var(--ease); }
.seatbar.is-low .seatbar__track i { background: linear-gradient(90deg, #ef4444, #f59e0b); box-shadow: 0 0 12px rgba(239,68,68,.6); }
.seatbar.is-low .seatbar__num b { color: #f87171; }
.price .seatbar { margin: 14px 0 20px; }

/* Hero hook ใหม่ */
.hero__h1 .hero__q { color: var(--gold); }
.hero__sub .hero__lead { display: inline-block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }

/* ── จอคอมใหญ่: ขยายทั้งหน้าตามสัดส่วน (เดิม 1240px คงที่ ดูเล็กบนจอ 1920) ── */
@media (min-width: 1440px) { html { zoom: 1.08; } }
@media (min-width: 1680px) { html { zoom: 1.16; } }
@media (min-width: 1880px) { html { zoom: 1.24; } }
@media (min-width: 2300px) { html { zoom: 1.4; } }
/* ตัวหนังสือเล็กบนคอมให้อ่านง่ายขึ้น */
@media (min-width: 1025px) {
  .btn { font-size: 15px; }
  .btn--lg { font-size: 17px; }
  .hero__sub { font-size: 18px; }
  .sect-sub { font-size: 17px; }
  .price__list li, .cp-price__includes li { font-size: 15px; }
  .banner { font-size: 14px; }
}
.cp-bonuses--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cp-bonuses--2 { grid-template-columns: 1fr; } }

/* "7 หลัก" — ตัวเลข Bebas + คำไทย IBM Plex (Bebas ไม่มีตัวไทย ทำให้ดูแปลก) */
.th-unit { font-family: 'IBM Plex Sans Thai', var(--sans); font-weight: 600; font-size: .5em; letter-spacing: 0; margin-left: .25em; vertical-align: .18em; }
.bignum__n .th-unit { color: var(--gold-bright); }

/* Wordmark TRADER(ขาว)BUILD(ทอง Gradient) — เหมือนหน้า Checkout / Inner Circle */
.logo__txt { color: #F6F6F9; letter-spacing: .06em; font-size: 23px; }
.logo__txt span {
  background: linear-gradient(180deg, #FBF0C4 0%, #F3E1A3 25%, #D4AF37 60%, #A8842A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

@media (max-width: 760px) { .logo__txt { font-size: 19px; } }
