/* Launch Letter — Expert template
   ปรับสีแบรนด์หลักได้ที่ 2 ตัวแปรแรก */
:root {
  --brand: #d97706;
  --brand-dark: #064e3b;
  --brand-tint: #fff1e6;
  --brand-pale: #fffaf5;
  --line-green: #06c755;
  --ink: #17212b;
  --ink-soft: #586570;
  --bg: #ffffff;
  --bg-alt: #f3f5f6;
  --line: #dfe5e8;
  --radius: 20px;
  --shadow: 0 18px 50px rgba(18, 49, 74, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans Thai', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
h1, h2, h3 { line-height: 1.28; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; letter-spacing: -0.035em; }
h3 { font-size: 1.18rem; }
.section-lede, .section-heading > p { margin-top: 18px; color: var(--ink-soft); font-size: 1.08rem; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 7px 13px; border-radius: 999px; background: var(--brand-tint); color: #a54716; font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow-light { background: rgba(255,255,255,.13); color: #fff; }

.topbar { position: relative; z-index: 5; background: var(--brand-dark); color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.topbar-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.course-name { font-weight: 900; }
.course-meta { color: rgba(255,255,255,.72); font-size: .86rem; }

.hero { position: relative; isolation: isolate; min-height: 740px; display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--brand-dark); }
.hero::before { content: ''; position: absolute; z-index: -2; inset: -30% -10%; background: radial-gradient(circle at 75% 35%, rgba(238,123,50,.4), transparent 31%), radial-gradient(circle at 10% 80%, rgba(47,118,143,.35), transparent 30%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -170px; bottom: -250px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018); }
.hero-inner { padding-block: 95px 72px; text-align: center; }
.hero-kicker { display: inline-flex; padding: 8px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.82); font-weight: 700; font-size: .88rem; }
.hero h1 { max-width: 970px; margin: 25px auto 0; font-size: clamp(2.65rem, 6.2vw, 5.5rem); font-weight: 900; letter-spacing: -.055em; }
.hero h1 span { color: #ffb47b; }
.hero .lede { max-width: 690px; margin: 25px auto 0; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.video-shell { max-width: 820px; margin: 38px auto 0; padding: 8px; border: 1px solid rgba(255,255,255,.17); border-radius: 24px; background: rgba(255,255,255,.07); box-shadow: 0 34px 80px rgba(0,0,0,.28); }
.video-poster { position: relative; min-height: 390px; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border-radius: 17px; background: linear-gradient(145deg, rgba(238,123,50,.82), rgba(18,49,74,.58)), radial-gradient(circle at 20% 20%, #2c6680, var(--brand-dark)); }
.video-poster::after { content: ''; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom, #000, transparent); }
.video-tag, .play-button, .video-poster p { position: relative; z-index: 1; }
.video-tag { position: absolute; left: 22px; top: 22px; padding: 7px 11px; border-radius: 999px; background: rgba(18,49,74,.7); font-size: .72rem; font-weight: 800; }
.play-button { display: grid; place-items: center; width: 80px; height: 80px; padding-left: 5px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 1.55rem; box-shadow: 0 15px 40px rgba(0,0,0,.25); }
.video-poster p { margin-top: 22px; font-size: 1.25rem; font-weight: 800; }
.hero-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.text-link { color: rgba(255,255,255,.78); font-weight: 700; text-decoration: none; }
.hero-proof { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.055); backdrop-filter: blur(8px); }
.hero-proof > div { padding: 23px; display: grid; gap: 2px; }
.hero-proof > div + div { border-left: 1px solid rgba(255,255,255,.14); }
.hero-proof strong { font-size: 1.08rem; }
.hero-proof span { color: rgba(255,255,255,.65); font-size: .86rem; }

.quick-offer { background: var(--brand-pale); }
.quick-offer-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 65px; align-items: center; }
.quick-offer-copy > p { margin-top: 18px; color: var(--ink-soft); }
.compact-checks { margin-top: 25px; display: grid; gap: 11px; list-style: none; }
.compact-checks li { position: relative; padding-left: 31px; font-weight: 700; }
.compact-checks li::before { content: '✓'; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .72rem; }
.quick-price-card { padding: 34px; border: 2px solid var(--brand); border-radius: var(--radius); background: #fff; text-align: center; box-shadow: var(--shadow); }
.quick-price-card .btn { width: 100%; margin-top: 18px; }
.price-note { color: var(--ink-soft); font-size: .88rem; }
.offer-detail-link { display: inline-block; margin-top: 14px; color: var(--brand-dark); font-size: .82rem; font-weight: 800; text-decoration: none; }

.objection-section { background: #fff; }
.objection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.objection-grid article { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.objection-grid article > span { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 900; }
.objection-grid h3 { margin-bottom: 3px; }
.objection-grid p { color: var(--ink-soft); font-size: .9rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border-radius: 999px; font-weight: 900; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px rgba(238,123,50,.3); }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 12px 30px rgba(6,199,85,.22); }
.btn-big { min-height: 62px; padding-inline: 34px; font-size: 1.08rem; }

.intro-section { padding-bottom: 105px; }
.intro-section .narrow { margin-bottom: 48px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 40px rgba(18,49,74,.07); }
.pain-card .card-number { display: block; margin-bottom: 30px; color: var(--brand); font-size: .8rem; font-weight: 900; }
.pain-card h3 { margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: .94rem; }

.section-dark { position: relative; background: var(--brand-dark); color: #fff; }
.diagonal-top::before { content: ''; position: absolute; left: 0; right: 0; top: -34px; height: 35px; background: var(--brand-dark); clip-path: polygon(0 100%,100% 0,100% 100%); }
.split-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 75px; align-items: start; }
.dash-list { list-style: none; }
.dash-list li { position: relative; padding: 18px 0 18px 34px; border-bottom: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.78); }
.dash-list li::before { content: '—'; position: absolute; left: 0; color: #ffb47b; font-weight: 900; }

.truth-section { background: var(--brand-pale); }
.truth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.truth-grid article { padding: 30px; border-radius: var(--radius); background: #fff; }
.truth-grid article > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; }
.truth-grid h3 { margin-bottom: 8px; }
.truth-grid p { color: var(--ink-soft); font-size: .94rem; }

.timeline { list-style: none; counter-reset: step; max-width: 800px; margin-left: auto; }
.timeline li { counter-increment: step; position: relative; min-height: 120px; padding: 0 0 34px 105px; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; top: 61px; bottom: 0; left: 34px; width: 1px; background: #cbd4d9; }
.timeline li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--brand-dark); color: #fff; font-size: .92rem; font-weight: 900; }
.timeline h3 { font-size: 1.38rem; margin-bottom: 6px; }
.timeline p { color: var(--ink-soft); }

.instructor-section { background: #fff; }
.instructor { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.instructor-photo-wrap { position: relative; padding: 24px 24px 0 0; }
.instructor-photo-wrap::before { content: ''; position: absolute; z-index: -1; top: 0; right: 0; width: 80%; height: 80%; border-radius: 45% 45% 18% 45%; background: var(--brand-tint); }
.instructor-photo-wrap img { width: 100%; border-radius: 45% 45% 18% 45%; box-shadow: var(--shadow); }
.instructor-copy .overline { color: var(--brand); font-size: .84rem; font-weight: 900; }
.instructor-copy h2 { margin: 8px 0 22px; }
.instructor-copy h2 span { color: var(--brand); }
.instructor-copy > p:not(.overline) { color: var(--ink-soft); }
.quote-line { margin-top: 22px; padding: 20px 22px; border-left: 4px solid var(--brand); background: var(--brand-pale); color: var(--ink) !important; font-weight: 700; }

.section-brand { color: #fff; background: linear-gradient(135deg, #df6821, var(--brand)); }
.light-copy p { color: rgba(255,255,255,.8); }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.benefit { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.1); }
.benefit span { color: rgba(255,255,255,.58); font-size: .8rem; font-weight: 900; }
.benefit p { font-weight: 700; }

.course-reveal { background: var(--brand-dark); color: #fff; }
.course-reveal .eyebrow { background: rgba(255,255,255,.1); color: #ffb47b; }
.course-reveal .section-lede { color: rgba(255,255,255,.68); }
.course-label { margin-bottom: 8px; color: #ffb47b; font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 900; letter-spacing: -.05em; line-height: 1.1; }
.curriculum-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.14); }
.curriculum-grid article { padding: 32px; background: var(--brand-dark); }
.curriculum-grid article span { color: #ffb47b; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.curriculum-grid h3 { margin: 8px 0; }
.curriculum-grid p { color: rgba(255,255,255,.62); font-size: .93rem; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: 0 12px 35px rgba(18,49,74,.07); }
.quote blockquote { font-size: 1.05rem; font-weight: 600; }
.quote figcaption { margin-top: 18px; color: var(--ink-soft); font-size: .84rem; font-weight: 800; }
.result-image { width: 100%; margin-top: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }

.bonus-section { background: #fff; }
.bonus-list { display: grid; gap: 24px; max-width: 930px; margin-inline: auto; }
.bonus-card { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 15px 45px rgba(18,49,74,.08); }
.bonus-card.reverse { grid-template-columns: 1fr 280px; }
.bonus-card.reverse .bonus-visual { order: 2; }
.bonus-visual { min-height: 245px; padding: 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, #ffab67, var(--brand)); text-align: center; }
.bonus-visual > span { align-self: flex-start; margin-bottom: auto; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: .7rem; font-weight: 900; }
.bonus-visual strong { font-size: 4rem; line-height: 1; letter-spacing: -.05em; }
.bonus-visual small { margin-top: 7px; font-weight: 800; }
.bonus-visual-dark { background: linear-gradient(145deg, #244b68, var(--brand-dark)); }
.bonus-visual-green { background: linear-gradient(145deg, #3cba79, #15744d); }
.bonus-visual-blue { background: linear-gradient(145deg, #4a91b7, #235775); }
.bonus-copy { padding: 34px; align-self: center; }
.bonus-problem { margin-bottom: 7px; color: var(--brand); font-size: .78rem; font-weight: 900; }
.bonus-copy h3 { margin-bottom: 10px; font-size: 1.45rem; }
.bonus-copy > p:last-child { color: var(--ink-soft); }

.package-section { background: var(--brand-pale); }
.stack-list { max-width: 850px; margin-inline: auto; }
.stack-list article { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid #e8ddd3; }
.stack-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 900; }
.stack-list h3 { margin-bottom: 4px; }
.stack-list p { color: var(--ink-soft); }
.offer-card { max-width: 900px; margin: 52px auto 0; padding: 35px 40px; display: flex; align-items: center; justify-content: space-between; gap: 35px; border: 2px solid var(--brand); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.offer-kicker { color: var(--brand); font-weight: 900; }
.price-old { margin-top: 5px; color: var(--ink-soft); font-size: .9rem; text-decoration: line-through; }
.price-new { margin: 0; color: var(--brand-dark); font-size: 3.6rem; font-weight: 900; line-height: 1.15; }
.price-new span { font-size: 1.05rem; }
.offer-copy > p:last-child { color: var(--ink-soft); font-size: .9rem; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; }
.compare th, .compare td { width: 50%; padding: 20px 26px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { background: var(--brand-dark); color: #fff; font-size: 1.05rem; }
.compare th:last-child { background: var(--brand); }
.compare td:first-child { color: var(--ink-soft); }
.compare td:last-child { color: var(--brand-dark); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: 0; }

.faq-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
summary { position: relative; padding-right: 32px; list-style: none; cursor: pointer; font-weight: 800; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--brand); font-size: 1.35rem; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }

.cta-final { padding: 96px 0; color: #fff; background: var(--brand-dark); }
.cta-final h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-final p { margin: 20px 0 28px; color: rgba(255,255,255,.72); }
.footer { padding: 25px 0 80px; text-align: center; color: var(--ink-soft); font-size: .82rem; }
.footer a { color: var(--brand-dark); }

.float-actions { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: none; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.92); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
.float-btn { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--line-green); color: #fff; font-weight: 900; text-decoration: none; box-shadow: 0 8px 20px rgba(6,199,85,.2); }

@media (max-width: 800px) {
  .section { padding: 68px 0; }
  .pain-grid, .truth-grid, .objection-grid { grid-template-columns: 1fr; }
  .split-copy, .instructor, .faq-layout, .quick-offer-grid { grid-template-columns: 1fr; gap: 38px; }
  .instructor-photo-wrap { max-width: 520px; margin-inline: auto; }
  .benefits, .curriculum-grid, .quotes { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .offer-card { flex-direction: column; text-align: center; }
  .offer-card .btn { width: 100%; }
  .bonus-card, .bonus-card.reverse { grid-template-columns: 1fr; }
  .bonus-card.reverse .bonus-visual { order: initial; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 32px, 1120px); }
  .topbar-inner { justify-content: center; text-align: center; }
  .course-meta { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 72px 56px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
  .hero-proof { margin-top: 52px; }
  .video-poster { min-height: 270px; padding-inline: 18px; }
  .video-poster p { font-size: 1rem; }
  .timeline li { padding-left: 80px; }
  .timeline li::before { width: 52px; height: 52px; }
  .timeline li:not(:last-child)::after { top: 53px; left: 25px; }
  .offer-card { padding: 28px 20px; }
  .price-new { font-size: 3rem; }
  .float-actions { display: block; }
  .footer { padding-bottom: 92px; }
}
