/*
 * GTS — ชั้นธีมของส่วนล่างหน้า Landing (Story → Footer)
 * ดึงค่าทั้งหมดจาก gts-tokens.css เพื่อให้ต่อเนื่องกับ Hero
 * โหลดหลัง gts-lux.css จึง override ได้โดยไม่ต้องแก้ไฟล์เดิม
 */
:root {
  --bg: var(--gts-bg-950);
  --bg-soft: var(--gts-bg-900);
  --panel: var(--gts-navy-800);
  --panel-2: var(--gts-navy-700);
  --text: var(--gts-silver-100);
  --muted: var(--gts-silver-300);
  --muted-2: var(--gts-muted-500);
  --line: var(--gts-border);
  --line-bright: var(--gts-border-gold);
  --cyan: var(--gts-cyan-400);
  --blue: var(--gts-blue-500);
  --gold: var(--gts-gold-500);
  --radius: var(--gts-radius-lg);
  --font: var(--gts-font-thai);
}

body { font-family: var(--gts-font-thai); }

/* ---------- Section rhythm: gold rim จากซ้ายบน / blue glow จากขวาล่าง ---------- */
main > .section { isolation: isolate; }
main > .section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 40% at 0% 0%, rgba(255, 191, 63, .07), transparent 70%),
    radial-gradient(ellipse 50% 45% at 100% 100%, rgba(0, 168, 255, .09), transparent 70%); }
main > .section:nth-of-type(even) { background: linear-gradient(180deg, var(--gts-bg-950), var(--gts-bg-900) 50%, var(--gts-bg-950)); }
main > .section + .section { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgba(22, 201, 255, .22) 30%, rgba(255, 191, 63, .28) 70%, transparent) 1; }

/* ---------- Typography ---------- */
.kicker, .pricing .kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gts-gold-300), var(--gts-amber-500)); }
.section h2, .closing h2, .affiliate-banner h2 { font-family: var(--gts-font-head); font-weight: 700; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.18; letter-spacing: -.005em; color: var(--gts-silver-100); }
.section h2 em, .closing h2 em, .affiliate-banner h2 em { font-style: normal; color: var(--gts-gold-500); background: var(--gts-gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .06em; }
.section h3 { font-family: var(--gts-font-head); font-weight: 600; color: var(--gts-silver-100); line-height: 1.3; }
.section p, .section li { color: var(--gts-silver-300); line-height: 1.7; }
.section-intro p, .workflow-copy p, .tv-copy p, .pricing-head p, .closing p { font-size: clamp(15px, 1.2vw, 18px); }
.feature-copy h3 { font-size: clamp(30px, 3vw, 44px); }
.number, .step > span, .card-head span { font-family: var(--gts-font-latin); font-variant-numeric: tabular-nums; color: var(--gts-gold-300); }

/* ---------- Buttons ---------- */
.pill { min-height: 46px; gap: 10px; font-family: var(--gts-font-thai); font-weight: 600; transition: transform .2s var(--gts-ease), filter .2s, background-color .2s, border-color .2s, box-shadow .2s; }
.pill:focus-visible, .text-link:focus-visible, .billing button:focus-visible, .review-controls button:focus-visible { outline: none; box-shadow: var(--gts-ring); }
.pill-light { color: #1a1003; background: var(--gts-gold-grad); border: 1px solid rgba(255, 231, 160, .85); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 26px -12px rgba(255, 157, 28, .75); }
.pill-light:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 14px 32px -12px rgba(255, 157, 28, .85); }
.pill-outline { color: var(--gts-silver-100); background: var(--gts-navy-800); border: 1px solid var(--gts-border-blue); }
.pill-outline:hover { background: var(--gts-navy-700); border-color: var(--gts-cyan-400); }
.pill > span { font-size: 0; display: inline-block; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
.pill:hover > span { transform: translateX(3px); }
.text-link { color: var(--gts-gold-300); }

/* ---------- Surfaces ---------- */
.structure-demo, .bento-card, .step, .tv-window, .plan, .plan-compare, .partner-card, .review-card, .faq-list details {
  border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg);
  background: linear-gradient(160deg, rgba(12, 32, 58, .8), rgba(5, 15, 30, .92));
  box-shadow: var(--gts-shadow-1); }
.bento-card, .step, .review-card, .plan { transition: transform .3s var(--gts-ease), border-color .3s, box-shadow .3s; }
.bento-card:hover, .step:hover, .review-card:hover, .plan:hover { transform: translateY(-3px); border-color: var(--gts-border-blue); box-shadow: var(--gts-shadow-2), 0 0 0 1px rgba(22, 201, 255, .08); }
.bento-card::before { background: radial-gradient(ellipse at 100% 100%, rgba(0, 168, 255, .16), transparent 60%); }
.structure-demo, .tv-window { background: radial-gradient(ellipse 80% 70% at 60% 50%, #0a2140, #05101f 70%, #030a15); }
.structure-demo .line { stroke: var(--gts-cyan-400); }
.feature-tags span, .demo-toolbar i, .card-head i { border-color: var(--gts-border-gold); color: var(--gts-gold-300); }
.zone.demo-demand, .tv-zone.tv-demand { border-color: var(--gts-border-blue); background: var(--gts-blue-soft); color: var(--gts-cyan-400); }
.zone.demo-supply, .tv-zone.tv-supply { border-color: rgba(255, 77, 99, .4); background: rgba(255, 77, 99, .08); color: #ff8a98; }
.step > i { color: var(--gts-cyan-400); }

/* ---------- Pricing ---------- */
.billing { border: 1px solid var(--gts-border); background: var(--gts-surface-solid); }
.billing button { min-height: 40px; }
.billing button.active { color: #1a1003; background: var(--gts-gold-grad); }
.billing span { color: var(--gts-success); }
.plan-title span { font-family: var(--gts-font-latin); letter-spacing: .14em; color: var(--gts-silver-100); }
.plan .price b, .price b { font-family: var(--gts-font-latin); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--gts-silver-100); }
.plan .price > small { color: var(--gts-gold-300); }
.plan li::before, .plan-featured li::before { content: ""; display: inline-block; flex: none; width: 14px; height: 14px; margin-right: 10px; vertical-align: -2px; background: var(--gts-cyan-400); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-featured li::before { background: var(--gts-gold-300); }
.plan-numbers b { font-family: var(--gts-font-latin); color: var(--gts-silver-100); }
/* Featured plan = ที่เดียวที่ใช้กรอบโลหะในส่วนราคา */
.plan-featured { border: 1px solid transparent; background:
  linear-gradient(160deg, #0d2747, #06142a 70%) padding-box,
  var(--gts-metal-frame) border-box;
  box-shadow: 0 0 34px -10px rgba(255, 170, 50, .35), 0 0 60px -20px rgba(0, 140, 255, .4), var(--gts-shadow-2); }
.plan-featured .plan-numbers b { color: var(--gts-gold-300); }
.popular, .plan .popular { color: #1a1003; background: var(--gts-gold-grad); border: 0; font-family: var(--gts-font-latin); font-weight: 700; }

.plan-compare { padding: clamp(20px, 3vw, 40px); }
.compare-heading h3 { font-family: var(--gts-font-latin); color: var(--gts-silver-100); }
.compare-table th, .compare-table td { border-color: var(--gts-border); color: var(--gts-silver-300); font-variant-numeric: tabular-nums; }
.compare-table thead th { color: var(--gts-silver-100); background: var(--gts-surface-solid); }
.compare-table thead span { color: #1a1003; background: var(--gts-gold-grad); }
.compare-table td:nth-child(4), .compare-table thead th:nth-child(4) { background: rgba(255, 191, 63, .05); }
.compare-table .compare-group th { color: var(--gts-gold-300); background: rgba(255, 255, 255, .02); }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th { background-color: var(--gts-blue-soft); }
.risk-disclaimer, .reviews-disclosure { color: var(--gts-muted-500); }

/* ---------- Affiliate banner ---------- */
.affiliate-banner { border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: linear-gradient(120deg, rgba(255, 191, 63, .06), transparent 40%), linear-gradient(160deg, #0b2140, #040d1c); }
.partner-value b { font-family: var(--gts-font-latin); color: var(--gts-gold-300); }
.partner-bars span { background: linear-gradient(180deg, var(--gts-cyan-400), rgba(0, 168, 255, .15)); }
.partner-top i { color: var(--gts-success); }

/* ---------- Reviews ---------- */
.reviews h2 { font-family: var(--gts-font-head); }
.review-stars { color: var(--gts-gold-500); letter-spacing: .1em; }
.review-avatar { color: #1a1003; background: var(--gts-gold-grad); font-family: var(--gts-font-latin); }
.review-author small { color: var(--gts-muted-500); }
.review-controls button { width: 44px; height: 44px; border: 1px solid var(--gts-border-blue); background: var(--gts-navy-800); color: var(--gts-silver-100); }
.review-controls button:hover:not(:disabled) { border-color: var(--gts-cyan-400); }

/* ---------- FAQ ---------- */
.faq-list { gap: 12px; display: grid; border: 0; }
.faq-list details { padding: 0 clamp(18px, 2vw, 28px); border-radius: var(--gts-radius); }
.faq-list details[open] { border-color: var(--gts-border-gold); }
.faq-list summary { min-height: 64px; font-family: var(--gts-font-thai); font-weight: 600; color: var(--gts-silver-100); }
.faq-list summary b { color: var(--gts-gold-300); }
.faq-list summary:focus-visible { outline: 2px solid var(--gts-cyan-400); outline-offset: 4px; border-radius: 8px; }

/* ---------- Closing CTA ---------- */
.closing { background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0, 120, 230, .22), transparent 70%), radial-gradient(ellipse 40% 50% at 15% 0%, rgba(255, 191, 63, .1), transparent 70%), var(--gts-bg-950); }
.closing h2 { font-size: clamp(40px, 5.4vw, 84px); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--gts-border); background: var(--gts-bg-950); }
.footer-logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.footer-logo svg { width: 120px; height: auto; }
.footer-logo span { color: var(--gts-silver-300); font-family: var(--gts-font-latin); font-style: italic; font-size: 13px; }
.footer-top p, .footer-bottom p, .footer-bottom span { color: var(--gts-muted-500); }
.footer-links b { color: var(--gts-gold-300); font-family: var(--gts-font-latin); letter-spacing: .14em; }
.footer-links a { color: var(--gts-silver-300); min-height: 32px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: var(--gts-gold-300); }
.footer-links a:focus-visible, .footer-logo:focus-visible { outline: 2px solid var(--gts-cyan-400); outline-offset: 3px; border-radius: 6px; }

@media (max-width: 767px) {
  main > .section::before { background: radial-gradient(ellipse 80% 30% at 100% 100%, rgba(0, 168, 255, .07), transparent 70%); }
  .bento-card:hover, .step:hover, .review-card:hover, .plan:hover { transform: none; }
  .plan-featured { box-shadow: var(--gts-shadow-1); }
}
@media (prefers-reduced-motion: reduce) {
  .pill, .bento-card, .step, .review-card, .plan { transition: none; }
}

[hidden] { display: none !important; }

/* ---------- ป้าย "รอยืนยัน" (ข้อมูลที่ยังไม่มีหลักฐาน) ---------- */
.gts-todo { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px dashed rgba(248, 184, 78, .7); border-radius: 999px; background: rgba(248, 184, 78, .08); color: var(--gts-warning); font-size: 12px; font-weight: 600; line-height: 1.6; white-space: nowrap; vertical-align: 1px; }
.gts-todo::before { content: "!"; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--gts-warning); color: #1a1003; font-size: 10px; font-weight: 800; }
.muted { color: var(--gts-muted-500); }
.sale-status { color: var(--gts-warning); font-weight: 600; }

/* ---------- หัวส่วนแบบกลาง ---------- */
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.section-head h2 { margin: 14px 0 0; }
.section-head p { margin: 16px auto 0; max-width: 640px; }
.demo, .included, .details, .contact { max-width: 1520px; margin: 0 auto; }

/* ---------- Product Demo ---------- */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.demo-shot { margin: 0; overflow: hidden; border: 1px solid transparent; border-radius: var(--gts-radius-lg); background: linear-gradient(160deg, #0d2747, #06142a 70%) padding-box, var(--gts-metal-frame) border-box; box-shadow: 0 0 34px -12px rgba(255, 170, 50, .3), 0 0 60px -24px rgba(0, 140, 255, .35), var(--gts-shadow-2); }
.demo-shot-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--gts-border); font-family: var(--gts-font-latin); font-size: 13px; color: var(--gts-silver-300); }
.demo-shot-bar b { color: var(--gts-gold-300); letter-spacing: .08em; }
.demo-shot-bar i { margin-left: auto; font-style: normal; font-family: var(--gts-font-thai); font-size: 12px; color: var(--gts-success); }
.demo-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1315 / 588; background: #050b14; }
.demo-shot figcaption { padding: 12px 18px 14px; border-top: 1px solid var(--gts-border); color: var(--gts-muted-500); font-size: 13px; line-height: 1.6; }
.demo-legend { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.demo-legend li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--gts-border); border-radius: var(--gts-radius); background: var(--gts-surface-solid); }
.demo-legend h3 { margin: 0; font-size: 16px; }
.demo-legend p { margin: 4px 0 0; font-size: 14px; line-height: 1.65; }
.tag { display: inline-flex; justify-content: center; padding: 4px 10px; border: 1.5px solid; border-radius: 999px; font-family: var(--gts-font-latin); font-size: 13px; font-weight: 700; font-style: italic; }
.tag-zone { color: #9ff5c9; border-color: var(--gts-success); background: rgba(24, 217, 138, .12); }
.tag-structure { color: var(--gts-gold-300); border-color: var(--gts-border-gold); background: var(--gts-gold-soft); }
.tag-entry { color: #bfeeff; border-color: var(--gts-cyan-400); background: var(--gts-blue-soft); }
.tag-sl { color: #ffc2cb; border-color: var(--gts-danger); background: rgba(255, 77, 99, .12); }
.tag-lq { color: var(--gts-silver-300); border-color: var(--gts-border); background: rgba(255, 255, 255, .04); }
.demo-note { margin: 20px 0 0; text-align: center; font-size: 13px; color: var(--gts-muted-500); }

/* ---------- สิ่งที่คุณจะได้รับ ---------- */
.included-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin: 0; padding: 0; list-style: none; }
.included-grid li { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2vw, 28px); border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: linear-gradient(160deg, rgba(12, 32, 58, .8), rgba(5, 15, 30, .92)); box-shadow: var(--gts-shadow-1); transition: border-color .3s, transform .3s var(--gts-ease); }
.included-grid li:hover { border-color: var(--gts-border-blue); transform: translateY(-3px); }
.included-grid svg { width: 46px; height: 46px; padding: 10px; margin-bottom: 6px; border: 1px solid var(--gts-border-gold); border-radius: 14px; background: rgba(255, 191, 63, .06); fill: none; stroke: var(--gts-gold-300); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.included-grid h3 { margin: 0; font-size: 19px; }
.included-grid p { margin: 0; font-size: 15px; }
.included-grid small { margin-top: auto; padding-top: 8px; color: var(--gts-cyan-400); font-size: 13px; }

/* ---------- ข้อมูลก่อนซื้อ ---------- */
.details-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.details-list { margin: 0; overflow: hidden; border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: var(--gts-surface-solid); box-shadow: var(--gts-shadow-1); }
.details-list > div { display: grid; grid-template-columns: minmax(150px, 32%) 1fr; gap: 16px; padding: 16px clamp(18px, 2vw, 26px); border-top: 1px solid var(--gts-border); }
.details-list > div:first-child { border-top: 0; }
.details-list dt { color: var(--gts-silver-100); font-weight: 600; font-size: 15px; }
.details-list dd { margin: 0; color: var(--gts-silver-300); font-size: 15px; line-height: 1.7; }
.details-side { display: grid; gap: 18px; }
.install { padding: clamp(20px, 2vw, 28px); border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: linear-gradient(160deg, rgba(12, 32, 58, .8), rgba(5, 15, 30, .92)); }
.install h3 { margin: 0 0 14px; font-size: 19px; }
.install ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.install li { position: relative; display: grid; gap: 2px; padding-left: 44px; counter-increment: step; }
.install li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #1a1003; background: var(--gts-gold-grad); font-family: var(--gts-font-latin); font-weight: 700; font-size: 14px; }
.install li b { color: var(--gts-silver-100); font-size: 15px; }
.install li span { color: var(--gts-silver-300); font-size: 14px; line-height: 1.6; }
.trust-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.trust-facts li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--gts-border); border-radius: var(--gts-radius); background: var(--gts-surface-solid); }
.trust-facts small { color: var(--gts-muted-500); font-size: 12px; }
.trust-facts b { color: var(--gts-silver-100); font-size: 15px; font-weight: 600; }

/* ---------- Reviews: ลดพื้นที่ว่าง เพิ่มขนาดและ contrast ---------- */
main > .reviews.section { padding-top: clamp(64px, 6vw, 96px); }
.reviews-head { margin-bottom: 28px; }
.reviews-head h2 { font-family: var(--gts-font-head); font-size: clamp(34px, 4vw, 56px); letter-spacing: 0; }
.reviews-flag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--gts-silver-300); font-size: 14px; }
.review-card { min-height: 0; }
.review-card h3 { margin: 18px 0 10px; font-size: 19px; color: var(--gts-silver-100); letter-spacing: 0; }
.review-card > p { color: var(--gts-silver-300); font-size: 15px; line-height: 1.75; }
.review-author b { color: var(--gts-silver-100); font-size: 14px; }
.review-author small { font-size: 12px; }
.reviews-disclosure { font-size: 13px; color: var(--gts-muted-500); }

/* ---------- Contact ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: linear-gradient(120deg, rgba(255, 191, 63, .06), transparent 45%), linear-gradient(160deg, #0b2140, #040d1c); }
.contact-card h2 { margin: 12px 0 0; }
.contact-card p { margin: 12px 0 0; }
.contact-list { display: grid; gap: 10px; margin: 0; }
.contact-list > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 1px solid var(--gts-border); border-radius: var(--gts-radius); background: var(--gts-surface-solid); }
.contact-list dt { color: var(--gts-silver-100); font-weight: 600; }
.contact-list dd { margin: 0; }

/* ---------- Footer legal ---------- */
.footer-links a, .legal-pending { font-size: 14px; }
.footer-links b { font-size: 12px; }
.footer-bottom p, .footer-bottom span, .footer-top p { font-size: 13px; line-height: 1.7; }
.legal-pending { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 32px; color: var(--gts-muted-500); }
.legal-pending em { padding: 0 8px; border: 1px dashed rgba(248, 184, 78, .6); border-radius: 999px; color: var(--gts-warning); font-style: normal; font-size: 11px; }

@media (max-width: 1100px) {
  .pd-grid, .details-grid { grid-template-columns: 1fr; }
  .demo-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .demo-legend, .included-grid, .trust-facts, .contact-card { grid-template-columns: 1fr; }
  .demo-legend li { grid-template-columns: 1fr; gap: 8px; }
  .tag { justify-self: start; }
  .details-list > div { grid-template-columns: 1fr; gap: 4px; }
  .gts-todo { white-space: normal; }
  .included-grid li:hover { transform: none; }
}

/* ---------- Workflow: timeline 3 ขั้น ---------- */
.workflow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.workflow-copy { top: 140px; }
.workflow-copy h2 { margin-top: 16px; }
.workflow-copy > p { color: var(--gts-silver-300); font-size: clamp(15px, 1.2vw, 18px); }
.workflow .text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 8px; padding: 0 20px; border: 1px solid var(--gts-border-gold); border-radius: 999px; color: var(--gts-gold-300); text-decoration: none; transition: background-color .2s, border-color .2s; }
.workflow .text-link:hover { background: var(--gts-gold-soft); border-color: var(--gts-gold-300); }
.workflow .text-link::after { display: none; }

.steps { position: relative; display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; border: 0; }
/* เส้น timeline เชื่อม 3 ขั้น — ทองไล่ไปน้ำเงิน */
.steps::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--gts-gold-300), var(--gts-cyan-400) 60%, rgba(22, 201, 255, .15)); }
.step { position: relative; min-height: 0; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; padding: 0; border: 0; background: none; box-shadow: none; }
.step:hover { transform: none; box-shadow: none; border: 0; }
.workflow .text-link { font-size: 15px; font-weight: 600; }
.step > .step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin-top: 20px; border-radius: 50%; color: #1a1003; background: var(--gts-gold-grad); box-shadow: 0 0 0 6px var(--gts-bg-900), 0 6px 18px -6px rgba(255, 157, 28, .7); font-family: var(--gts-font-latin); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.step:nth-child(2) > .step-num, .step:nth-child(3) > .step-num { color: var(--gts-silver-100); background: var(--gts-navy-700); border: 1.5px solid var(--gts-cyan-400); box-shadow: 0 0 0 6px var(--gts-bg-900); }
.step-body { padding: 22px clamp(20px, 2vw, 28px); border: 1px solid var(--gts-border); border-radius: var(--gts-radius-lg); background: linear-gradient(160deg, rgba(12, 32, 58, .82), rgba(5, 15, 30, .92)); box-shadow: var(--gts-shadow-1); transition: border-color .3s, transform .3s var(--gts-ease), box-shadow .3s; }
.step:hover .step-body { transform: translateX(4px); border-color: var(--gts-border-blue); box-shadow: var(--gts-shadow-2); }
.step-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-top small { color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.step-icon { flex: none; width: 40px; height: 40px; padding: 9px; border: 1px solid var(--gts-border-blue); border-radius: 12px; background: var(--gts-blue-soft); fill: none; stroke: var(--gts-cyan-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { margin: 6px 0 6px; font-family: var(--gts-font-head); font-size: clamp(22px, 1.9vw, 28px); font-weight: 600; }
.step p { margin: 0; color: var(--gts-silver-300); font-size: 15px; line-height: 1.7; }

@media (max-width: 1060px) {
  .workflow { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 767px) {
  .steps::before { left: 19px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step > .step-num { width: 40px; height: 40px; margin-top: 18px; font-size: 14px; }
  .step-body { padding: 18px; }
  .step:hover .step-body { transform: none; }
  .step-icon { width: 36px; height: 36px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .step-body { transition: none; }
}

/* ---------- Pricing: การ์ดแพ็กเกจ ---------- */
.pricing-head { max-width: 820px; margin-inline: auto; text-align: center; }
.pricing-head h2 { margin-top: 14px; }
.pricing-head p { max-width: 640px; margin-inline: auto; }

/* สวิตช์รายเดือน/รายปี */
.billing { display: inline-flex; gap: 4px; margin-top: 26px; padding: 5px; border: 1px solid var(--gts-border); border-radius: 999px; background: var(--gts-surface-solid); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.billing button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--gts-silver-300); font-family: var(--gts-font-thai); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.billing button:hover { color: var(--gts-silver-100); }
.billing button.active { color: #1a1003; background: var(--gts-gold-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 16px -8px rgba(255,157,28,.8); }
.billing button span { padding: 2px 8px; border-radius: 999px; background: rgba(24, 217, 138, .14); color: var(--gts-success); font-size: 12px; font-weight: 700; }
.billing button.active span { background: rgba(26, 16, 3, .14); color: #1a1003; }

.plans { align-items: stretch; gap: clamp(14px, 1.4vw, 22px); padding-top: 18px; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2vw, 30px); border-radius: var(--gts-radius-lg); }
.plan-tier { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border: 1px solid var(--gts-border); border-radius: 14px; background: rgba(255,255,255,.03); }
.plan-tier svg { width: 24px; height: 24px; }
.plan-tier rect, .plan-tier path { fill: rgba(166, 193, 222, .22); }
.plan-tier .on { fill: var(--gts-cyan-400); }
.plan-featured .plan-tier { border-color: var(--gts-border-gold); background: var(--gts-gold-soft); }
.plan-featured .plan-tier .on, .plan:last-child .plan-tier .on { fill: var(--gts-gold-300); }

.plan-title span { font-size: 15px; font-weight: 700; }
.plan-title small { display: block; margin-top: 6px; color: var(--gts-silver-300); font-family: var(--gts-font-thai); font-size: 15px; letter-spacing: 0; }
.plan .price { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 0; }
.plan .price > small { align-self: flex-start; margin-top: .5em; font-family: var(--gts-font-latin); font-size: 22px; font-weight: 600; }
.plan .price b { font-size: clamp(44px, 3.6vw, 58px); line-height: 1; letter-spacing: -.02em; }
.plan .price span { color: var(--gts-silver-300); font-family: var(--gts-font-thai); font-size: 15px; }
.price-note { min-height: 2.9em; line-height: 1.45; margin: 10px 0 0; color: var(--gts-success); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-summary { margin: 14px 0 22px; color: var(--gts-silver-300); font-size: 15px; line-height: 1.65; min-height: 3.3em; }
.plan .pill { width: 100%; justify-content: center; min-height: 50px; font-size: 15px; }
.plan-includes { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gts-border); color: var(--gts-silver-100); font-size: 14px; font-weight: 600; }
.plan ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; }
.plan li { display: flex; align-items: flex-start; color: var(--gts-silver-300); font-size: 15px; line-height: 1.5; }
.plan-numbers { margin-top: auto; padding-top: 22px; }
.plan-numbers small { color: var(--gts-muted-500); font-size: 11px; }
.plan-numbers b { font-size: 13px; }

/* แพ็กเกจแนะนำ — ยกสูง กรอบโลหะ ป้ายทองตรงกลางด้านบน */
.plan-featured { transform: translateY(-14px); z-index: 1; }
.plan-featured:hover { transform: translateY(-17px); }
.plan .popular, .popular { position: absolute; top: clamp(24px, 2vw, 30px); right: clamp(24px, 2vw, 30px); left: auto; transform: none; padding: 6px 16px; border-radius: 999px; font-family: var(--gts-font-thai); font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(255,157,28,.8); }
.plan-featured .price b { color: var(--gts-gold-300); }

/* เงื่อนไขที่ช่วยตัดสินใจ — ข้อเท็จจริงจากระบบ */
.plan-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: clamp(30px, 3vw, 44px) auto 0; padding: 0; list-style: none; }
.plan-assurance li { display: inline-flex; align-items: center; gap: 10px; color: var(--gts-silver-300); font-size: 15px; }
.plan-assurance svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gts-cyan-400); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.compare-heading h3 { font-family: var(--gts-font-head); font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); }

@media (max-width: 1100px) {
  .plan-featured, .plan-featured:hover { transform: none; }
}
@media (max-width: 767px) {
  .billing button { padding: 0 16px; font-size: 14px; }
  .plan-summary { min-height: 0; }
  .plan-assurance { flex-direction: column; align-items: flex-start; max-width: 340px; }
}

/* ---------- รีวิวเลื่อนอัตโนมัติ ---------- */
.review-controls { display: flex; gap: 10px; }
.review-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gts-border-gold); border-radius: 50%; background: var(--gts-navy-800); color: var(--gts-gold-300); cursor: pointer; }
.review-toggle:hover { background: var(--gts-gold-soft); }
.review-toggle:focus-visible { outline: none; box-shadow: var(--gts-ring); }
.review-toggle svg { width: 16px; height: 16px; fill: currentColor; }
/* ขอบจางซ้ายขวา ให้ดูเหมือนรีวิวไหลเข้าออก */
.review-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }

/* ---------- ตารางเปรียบเทียบแพ็กเกจ ---------- */
.plan-compare { margin-top: clamp(48px, 5vw, 80px); padding: clamp(22px, 3vw, 44px); border-radius: var(--gts-radius-lg); background: linear-gradient(160deg, rgba(10, 28, 52, .7), rgba(3, 10, 22, .85)); }
.compare-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.compare-heading h3 { margin: 12px 0 0; }
.compare-heading p { max-width: 420px; margin: 0; color: var(--gts-silver-300); font-size: 15px; }
.compare-hint { display: none; }

.compare-scroll { overflow-x: auto; border: 1px solid var(--gts-border); border-radius: var(--gts-radius); background: var(--gts-surface-solid); scrollbar-color: rgba(22, 201, 255, .35) transparent; }
.compare-scroll:focus-visible { outline: 2px solid var(--gts-cyan-400); outline-offset: 4px; }
.compare-table { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; color: var(--gts-silver-300); font-size: 15px; }
.compare-table th, .compare-table td { height: auto; padding: 15px 18px; border-bottom: 1px solid var(--gts-border); text-align: center; vertical-align: middle; background-clip: padding-box; }
.compare-table tbody th[scope="row"] { text-align: left; color: var(--gts-silver-100); font-weight: 500; font-size: 15px; }

/* หัวตาราง: ชื่อ + ราคา ติดด้านบนเมื่อเลื่อน */
.compare-table thead th { position: sticky; top: 0; z-index: 2; height: auto; padding: 22px 18px 18px; background: #081a31; color: var(--gts-silver-100); vertical-align: bottom; border-bottom: 1px solid var(--gts-border-blue); }
.compare-table thead th.ch-feature { width: 30%; text-align: left; color: var(--gts-muted-500); font-family: var(--gts-font-thai); font-size: 13px; font-weight: 600; letter-spacing: 0; }
.compare-table thead th b { display: block; font-family: var(--gts-font-latin); font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.compare-table thead .ch-price { display: inline-flex; align-items: baseline; gap: 2px; margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--gts-silver-300); font-size: 13px; font-weight: 500; text-transform: none; }
.compare-table thead .ch-price small { font-size: 12px; color: var(--gts-gold-300); }
.compare-table thead .ch-price em { font-style: normal; font-family: var(--gts-font-latin); font-size: 20px; font-weight: 700; color: var(--gts-silver-100); font-variant-numeric: tabular-nums; }
.compare-table thead .ch-price i { font-style: normal; margin-left: 4px; }
.compare-table thead .rec-badge { display: inline-block; margin: 0 0 8px; padding: 3px 12px; border: 0; border-radius: 999px; background: var(--gts-gold-grad); color: #1a1003; font-family: var(--gts-font-thai); font-size: 12px; font-weight: 700; }

/* คอลัมน์แนะนำ — พื้นทองอ่อน + เส้นขอบโลหะซ้ายขวา ต่อเนื่องทั้งคอลัมน์ */
.compare-table td:nth-child(4), .compare-table thead th:nth-child(4) { color: var(--gts-silver-100); font-weight: 500; background: rgba(255, 191, 63, .06); box-shadow: inset 1px 0 0 var(--gts-border-gold), inset -1px 0 0 var(--gts-border-gold); }
.compare-table thead th.is-rec { background: linear-gradient(180deg, rgba(255, 191, 63, .16), #0b1d33 70%); box-shadow: inset 1px 0 0 var(--gts-border-gold), inset -1px 0 0 var(--gts-border-gold), inset 0 2px 0 var(--gts-gold-300); }
.compare-table thead th.is-rec .ch-price em { color: var(--gts-gold-300); }

/* หัวกลุ่ม */
.compare-table .compare-group th { padding: 22px 18px 10px; border-bottom: 1px solid var(--gts-border); background: transparent; text-align: left; }
.compare-table .compare-group th { text-transform: none; }
.compare-table .compare-group th span { text-transform: none; display: inline-flex; align-items: center; gap: 10px; color: var(--gts-gold-300); font-family: var(--gts-font-thai); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.compare-table .compare-group svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* hover แถว — blue tint อ่อน */
.compare-table tbody tr:not(.compare-group):hover > * { background-color: rgba(22, 201, 255, .05); }
.compare-table tbody tr:not(.compare-group):hover > td:nth-child(4) { background-color: rgba(255, 191, 63, .1); }
.compare-table tbody tr:last-child > * { border-bottom: 0; }

/* ไอคอนมี / ไม่มี (วาดด้วย CSS ไม่พึ่งฟอนต์ ✓) */
.compare-table .ck, .compare-table .nx { display: inline-block; vertical-align: middle; }
.compare-table .ck { width: 26px; height: 26px; border-radius: 50%; background: rgba(22, 201, 255, .14); position: relative; }
.compare-table .ck::after { content: ""; position: absolute; inset: 0; background: var(--gts-cyan-400); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center / 18px no-repeat; }
.compare-table td:nth-child(4) .ck { background: rgba(255, 191, 63, .16); }
.compare-table td:nth-child(4) .ck::after { background: var(--gts-gold-300); }
.compare-table .nx { width: 14px; height: 2px; border-radius: 2px; background: rgba(137, 153, 170, .45); }

/* ระดับ (Core / Advanced / Complete) */
.compare-table .lv { display: inline-flex; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--gts-border); font-family: var(--gts-font-latin); font-size: 13px; font-weight: 600; white-space: nowrap; }
.compare-table .lv-1 { color: var(--gts-silver-300); background: rgba(255, 255, 255, .03); }
.compare-table .lv-2 { color: #bfeeff; border-color: var(--gts-border-blue); background: var(--gts-blue-soft); }
.compare-table .lv-3 { color: var(--gts-gold-300); border-color: var(--gts-border-gold); background: var(--gts-gold-soft); }

@media (max-width: 900px) {
  .compare-hint { display: block; margin-top: 6px; color: var(--gts-cyan-400); font-size: 13px; }
  /* คอลัมน์ชื่อฟีเจอร์ติดซ้ายเมื่อเลื่อนแนวนอน */
  .compare-table tbody th[scope="row"], .compare-table thead th.ch-feature { position: sticky; left: 0; z-index: 1; background: var(--gts-surface-solid); box-shadow: 1px 0 0 var(--gts-border); }
  .compare-table thead th.ch-feature { z-index: 3; background: #081a31; }
  .compare-table { min-width: 760px; }
  .compare-table tbody th[scope="row"] { min-width: 180px; }
}

/* ---------- กราฟจริงแบบชี้ดูคำอธิบาย (TradingView section) ---------- */
.tradingview.live { display: block; max-width: 1560px; margin: 0 auto; }
.tradingview.live::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 8%; height: 45%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 30% 60%, rgba(255, 170, 50, .1), transparent 60%), radial-gradient(ellipse at 75% 50%, rgba(0, 130, 255, .16), transparent 62%); filter: blur(30px); }
.live-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 3vw, 48px); }
.live-head h2 { margin-top: 14px; }
.live-intro p { margin: 0; color: var(--gts-silver-300); font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; }
.live-intro ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; }
.live-intro li { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--gts-silver-100); font-size: 14px; }
.live-intro li span { font-size: 0; width: 16px; height: 16px; flex: none; background: var(--gts-gold-300); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }

/* กรอบหน้าต่าง — โลหะทอง/น้ำเงิน แบบเดียวกับ Hero */
.live-chart { position: relative; margin: 0; padding: 2px; border-radius: 28px; background: var(--gts-metal-frame); box-shadow: 0 0 50px -16px rgba(255, 170, 50, .35), 0 0 90px -30px rgba(0, 140, 255, .55), 0 50px 90px -40px rgba(0, 0, 0, .95); }
.live-chart > * { background: #050d1a; }
.live-chart > :first-child { border-radius: 26px 26px 0 0; }
.live-chart > :last-child { border-radius: 0 0 26px 26px; }

.live-bar { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--gts-border); background: linear-gradient(180deg, #0b1b33, #07142a); }
.live-lights { display: inline-flex; gap: 6px; margin-right: 6px; }
.live-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.live-lights i:nth-child(2) { background: #febc2e; }
.live-lights i:nth-child(3) { background: #28c840; }
.live-chip { padding: 3px 10px; border: 1px solid var(--gts-border); border-radius: 8px; color: var(--gts-silver-100); font-family: var(--gts-font-latin); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.live-chip-gold { border-color: var(--gts-border-gold); background: var(--gts-gold-soft); color: var(--gts-gold-300); }
.live-src { color: var(--gts-muted-500); font-family: var(--gts-font-latin); font-size: 12px; }
.live-status { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 4px 12px; border-radius: 999px; background: rgba(24, 217, 138, .1); color: var(--gts-success); font-size: 12px; font-weight: 600; }
.live-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gts-success); animation: gts-live 2.4s ease-out infinite; }
@keyframes gts-live { 0% { box-shadow: 0 0 0 0 rgba(24, 217, 138, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(24, 217, 138, 0); } }

.live-shell { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px); align-items: start; }

/* ---- เวที: ภาพ + spotlight + จุด ---- */
.live-stage { --sx: 50%; --sy: 50%; position: relative; overflow: hidden; background: #0f0f10; }
.live-stage img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 724; }
.live-spot { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(circle at var(--sx) var(--sy), transparent 0, transparent 70px, rgba(2, 8, 18, .5) 170px, rgba(2, 8, 18, .72) 100%); }
.live-stage.is-active .live-spot { opacity: 1; }
/* วงแสงรอบจุดที่เลือก */
.live-stage::after { content: ""; position: absolute; left: var(--sx); top: var(--sy); width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; pointer-events: none; opacity: 0; border: 1px solid rgba(255, 213, 106, .35); box-shadow: 0 0 40px rgba(255, 191, 63, .18), inset 0 0 30px rgba(255, 191, 63, .08); transition: left .55s var(--gts-ease), top .55s var(--gts-ease), opacity .4s; }
.live-stage.is-active::after { opacity: 1; }
.hs-layer { position: absolute; inset: 0; }

.hs { --c: var(--gts-cyan-400); position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; cursor: pointer; }
.hs-buy, .hs-tp { --c: #22e39a; }
.hs-entry { --c: var(--gts-gold-300); }
.hs-sl { --c: #ff6b7e; }
.hs-trend { --c: var(--gts-cyan-400); }
.hs-dot { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2px solid var(--c); border-radius: 50%; background: rgba(4, 12, 24, .9); color: #fff; font-family: var(--gts-font-latin); font-size: 12px; font-weight: 700; box-shadow: 0 0 0 4px rgba(2, 8, 18, .45), 0 6px 14px rgba(0, 0, 0, .6); transition: transform .25s var(--gts-ease), background-color .25s, color .25s, opacity .3s; }
.hs-dot::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px solid var(--c); opacity: 0; animation: gts-ping 2.8s ease-out infinite; }
.hs:nth-child(2n) .hs-dot::before { animation-delay: .9s; }
.hs:nth-child(3n) .hs-dot::before { animation-delay: 1.8s; }
@keyframes gts-ping { 0% { transform: scale(.8); opacity: .65; } 80%, 100% { transform: scale(1.8); opacity: 0; } }
.hs:focus-visible { outline: none; }
.hs:focus-visible .hs-dot { box-shadow: 0 0 0 4px rgba(2, 8, 18, .45), var(--gts-ring); }
.hs.is-active .hs-dot { transform: scale(1.18); background: var(--c); color: #04101f; box-shadow: 0 0 0 5px rgba(2, 8, 18, .5), 0 0 24px var(--c); }
.live-stage.is-active .hs:not(.is-active) .hs-dot { opacity: .45; }

/* ป้ายชื่อเล็กข้างจุดที่เลือก */
.hs-label { position: absolute; top: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-radius: 999px; background: rgba(4, 12, 24, .94); color: var(--gts-silver-100); font-family: var(--gts-font-thai); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .9); opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.96); transition: opacity .25s, transform .25s var(--gts-ease); }
.hs-label b { padding: 2px 8px; border-radius: 999px; background: var(--c); color: #04101f; font-family: var(--gts-font-latin); font-size: 11px; font-weight: 800; font-style: italic; }
.hs[data-side="right"] .hs-label { left: calc(100% + 2px); }
.hs[data-side="left"] .hs-label { right: calc(100% + 2px); }
.hs.is-active .hs-label, .hs:hover .hs-label { opacity: 1; transform: translateY(-50%) scale(1); }

/* ---- แถบคำอธิบายด้านข้าง ---- */
.live-side { display: flex; flex-direction: column; align-self: stretch; height: 0; min-height: 100%; border-left: 1px solid var(--gts-border); background: linear-gradient(180deg, #081629, #050d1a); }
.live-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--gts-border); color: var(--gts-silver-100); font-size: 14px; font-weight: 600; }
.tour-toggle { min-height: 34px; padding: 0 14px; border: 1px solid var(--gts-border-gold); border-radius: 999px; background: transparent; color: var(--gts-gold-300); font-family: var(--gts-font-thai); font-size: 12px; font-weight: 600; cursor: pointer; }
.tour-toggle:hover { background: var(--gts-gold-soft); }
.tour-toggle:focus-visible { outline: none; box-shadow: var(--gts-ring); }
.live-rail { flex: 1; margin: 0; padding: 8px; list-style: none; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(22, 201, 255, .3) transparent; }
.rail-item { --c: var(--gts-cyan-400); position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 10px; width: 100%; padding: 12px 12px 12px 10px; overflow: hidden; border: 1px solid transparent; border-radius: 14px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: background-color .25s, border-color .25s; }
.rail-item:hover { background: rgba(255, 255, 255, .03); }
.rail-item:focus-visible { outline: none; box-shadow: var(--gts-ring); }
.rail-num { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid color-mix(in srgb, var(--c) 60%, transparent); border-radius: 10px; color: var(--gts-silver-300); font-family: var(--gts-font-latin); font-size: 12px; font-weight: 700; transition: background-color .25s, color .25s; }
.rail-top { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.rail-tag { padding: 1px 8px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); color: var(--c); font-family: var(--gts-font-latin); font-size: 10.5px; font-weight: 800; font-style: italic; }
.rail-top strong { color: var(--gts-silver-300); font-family: var(--gts-font-head); font-size: 15px; font-weight: 600; transition: color .25s; }
/* คำอธิบายกางออกเฉพาะรายการที่เลือก */
.rail-desc { display: block; overflow: hidden; color: var(--gts-silver-300); font-size: 13.5px; line-height: 1.6; max-height: 0; opacity: 0; transition: max-height .35s var(--gts-ease), opacity .3s, margin .35s; }
.rail-item[aria-pressed="true"] { border-color: color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255, 255, 255, .02)); }
.rail-item[aria-pressed="true"] .rail-num { background: var(--c); color: #04101f; border-color: var(--c); }
.rail-item[aria-pressed="true"] .rail-top strong { color: var(--gts-silver-100); }
.rail-item[aria-pressed="true"] .rail-desc { max-height: 120px; opacity: 1; margin-top: 4px; }
/* แถบเวลาของทัวร์อัตโนมัติ */
.rail-progress { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; opacity: 0; }
.live-chart.is-touring .rail-item[aria-pressed="true"] .rail-progress { opacity: .8; animation: gts-progress var(--tour-ms, 4200ms) linear forwards; }
@keyframes gts-progress { to { transform: scaleX(1); } }

.live-chart figcaption { padding: 12px 20px 14px; border-top: 1px solid var(--gts-border); color: var(--gts-muted-500); font-size: 13px; line-height: 1.6; }

@media (max-width: 1100px) {
  .live-shell { grid-template-columns: 1fr; }
  .live-side { height: auto; min-height: 0; border-left: 0; border-top: 1px solid var(--gts-border); }
  .live-rail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; max-height: none; }
}
@media (max-width: 900px) {
  .live-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 767px) {
  .live-src { display: none; }
  .live-bar { padding: 12px 14px; }
  .live-status { font-size: 11px; padding: 3px 10px; }
  .live-rail { grid-template-columns: 1fr; }
  .hs { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .hs-dot { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 11px; }
  .hs-label { display: none; }
  .live-stage::after { width: 90px; height: 90px; margin: -45px 0 0 -45px; }
  .live-spot { background: radial-gradient(circle at var(--sx) var(--sy), transparent 0, transparent 34px, rgba(2, 8, 18, .55) 90px, rgba(2, 8, 18, .72) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .hs-dot::before, .live-pulse { animation: none; }
  .live-spot, .live-stage::after, .hs-dot, .hs-label, .rail-desc { transition: none; }
}

/* ---------- THE GTS EXPERIENCE (Structure first + 3 การ์ด) — หรู สงบ อ่านง่าย ---------- */
.story .section-intro { max-width: 820px; margin: 0 auto clamp(40px, 4vw, 64px); text-align: center; }
.story .section-intro h2 { margin-top: 14px; }
.story .section-intro p { max-width: 620px; margin: 18px auto 0; font-size: clamp(15px, 1.2vw, 18px); }

/* การ์ดใหญ่ */
.feature-stage { max-width: 1440px; min-height: 0; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border: 1px solid transparent; border-radius: 28px; background: linear-gradient(160deg, #0b2140, #050f1f 70%) padding-box, linear-gradient(135deg, rgba(255, 213, 106, .55), rgba(255, 191, 63, .12) 30%, rgba(22, 201, 255, .1) 60%, rgba(22, 201, 255, .45)) border-box; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -40px rgba(0, 140, 255, .5); }
.feature-copy { padding: clamp(36px, 4.5vw, 72px); border-right: 1px solid var(--gts-border); background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255, 191, 63, .07), transparent 70%); }
.feature-copy .number { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gts-border-gold); border-radius: 14px; background: var(--gts-gold-soft); color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.feature-copy h3 { margin: 26px 0 16px; font-family: var(--gts-font-head); font-size: clamp(34px, 3.2vw, 50px); font-weight: 700; line-height: 1.1; letter-spacing: 0; color: var(--gts-silver-100); }
.feature-copy p { color: var(--gts-silver-300); font-size: 16px; line-height: 1.8; }
.feature-tags { gap: 10px; margin-top: 28px; }
.feature-tags span { padding: 7px 14px; border-color: var(--gts-border-gold); background: var(--gts-gold-soft); color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 13px; font-weight: 600; letter-spacing: .02em; }

/* กราฟจำลองโครงสร้าง */
.structure-demo { min-height: 500px; border: 0; border-radius: 0; background: radial-gradient(ellipse 60% 50% at 75% 25%, rgba(30, 118, 218, .14), transparent 70%), #04101f; }
.demo-toolbar { height: 60px; gap: 14px; padding: 0 24px; background: rgba(5, 18, 38, .8); border-bottom-color: var(--gts-border); }
.demo-toolbar b { color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 15px; letter-spacing: .06em; }
.demo-toolbar span { padding: 3px 10px; border: 1px solid var(--gts-border); border-radius: 8px; color: var(--gts-silver-300); font-family: var(--gts-font-latin); font-size: 12px; }
.demo-toolbar i { padding: 4px 12px; border: 1px solid var(--gts-border-blue); border-radius: 999px; color: var(--gts-cyan-400); font-family: var(--gts-font-latin); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.demo-grid { top: 60px; opacity: .55; }
.structure-demo .line { stroke-width: 3; filter: drop-shadow(0 0 6px rgba(22, 160, 255, .45)); }
.structure-demo .projection { stroke: var(--gts-gold-300); }
.point { padding: 5px 11px; border: 1px solid var(--gts-border-blue); border-radius: 999px; background: rgba(4, 14, 28, .92); color: var(--gts-silver-100); font-family: var(--gts-font-latin); font-size: 12px; font-weight: 700; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .8); }
.p4 { top: 15%; right: 5%; border-color: var(--gts-border-gold); color: var(--gts-gold-300); }
.zone { height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: flex-end; border-radius: 10px; font-family: var(--gts-font-latin); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.demo-demand { border-color: rgba(22, 201, 255, .45); color: var(--gts-cyan-400); background: linear-gradient(90deg, rgba(22, 201, 255, .02), rgba(22, 201, 255, .12)); }
.demo-supply { border-color: rgba(255, 77, 99, .45); color: #ff8a98; background: linear-gradient(90deg, rgba(255, 77, 99, .02), rgba(255, 77, 99, .1)); }

/* การ์ดเล็ก 3 ใบ */
.bento-grid { max-width: 1440px; margin-top: 22px; gap: 22px; }
.bento-card { min-height: 0; padding: 28px 28px 30px; border-radius: 24px; border-color: var(--gts-border); background: linear-gradient(165deg, #0b1f3a, #050e1d 75%); box-shadow: var(--gts-shadow-1); transition: transform .35s var(--gts-ease), border-color .35s, box-shadow .35s; }
.bento-card:hover { transform: translateY(-4px); border-color: var(--gts-border-blue); box-shadow: var(--gts-shadow-2); }
.bento-card::before { background: radial-gradient(ellipse at 50% 30%, rgba(28, 123, 230, .12), transparent 55%); }
.card-head { align-items: center; color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.card-head i { padding: 4px 12px; border: 1px solid var(--gts-border); border-radius: 999px; color: var(--gts-silver-300); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.bento-card h3 { margin: 22px 0 10px; font-family: var(--gts-font-head); font-size: clamp(21px, 1.7vw, 25px); font-weight: 600; letter-spacing: 0; color: var(--gts-silver-100); }
.bento-card > p { min-height: 0; color: var(--gts-silver-300); font-size: 15px; line-height: 1.7; }

/* ภาพในการ์ด: พื้นที่ภาพกรอบเดียวกันทุกใบ */
.zone-stack, .risk-visual, .alert-list { height: 240px; margin-top: 18px; border: 1px solid var(--gts-border); border-radius: 18px; background: radial-gradient(ellipse at 50% 40%, rgba(22, 120, 230, .1), transparent 70%), rgba(2, 8, 18, .45); }
.zone-stack span { width: 58%; height: 84px; border-color: rgba(22, 201, 255, .4); background: rgba(22, 201, 255, .05); }
.zone-stack span:nth-child(1) { border-color: rgba(255, 77, 99, .45); background: rgba(255, 77, 99, .05); }
.zone-stack b, .zone-stack em { padding: 5px 11px; border-radius: 999px; font-family: var(--gts-font-latin); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.zone-stack b { top: 40px; color: #ff8a98; background: rgba(255, 77, 99, .14); }
.zone-stack em { bottom: 30px; color: var(--gts-cyan-400); background: rgba(22, 201, 255, .14); }

.risk-visual { padding: 22px 26% 22px 22px; gap: 10px; justify-content: center; }
.risk-visual div { min-height: 50px; padding: 0 14px; border-radius: 12px; }
.risk-visual small { color: inherit; opacity: .8; font-family: var(--gts-font-latin); font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.risk-visual b { font-family: var(--gts-font-latin); font-size: 13px; font-weight: 800; }
.risk-visual div:nth-child(1) { border-color: rgba(24, 217, 138, .5); color: #6ff0b5; background: rgba(24, 217, 138, .08); }
.risk-visual div:nth-child(2) { border-color: var(--gts-border-gold); color: var(--gts-gold-300); background: var(--gts-gold-soft); }
.risk-visual div:nth-child(3) { border-color: rgba(255, 77, 99, .5); color: #ff8a98; background: rgba(255, 77, 99, .08); }
.risk-bracket { right: 5%; top: 48px; bottom: 48px; width: 17%; border-color: var(--gts-border-gold); border-radius: 0 12px 12px 0; color: var(--gts-gold-300); font-family: var(--gts-font-latin); font-size: 14px; font-weight: 700; }

.alert-list { padding: 18px; gap: 10px; }
.alert-list > div { min-height: 58px; padding: 10px 14px; border-radius: 14px; border-color: var(--gts-border); background: rgba(10, 29, 54, .75); }
.alert-list > div:nth-child(2) { transform: none; border-color: var(--gts-border-gold); }
.alert-list > div > i { box-shadow: none; }
.alert-list b { color: var(--gts-silver-100); font-size: 13.5px; font-weight: 600; }
.alert-list small { color: var(--gts-muted-500); font-size: 12px; }
.alert-list em { color: var(--gts-cyan-400); font-family: var(--gts-font-latin); font-size: 11px; font-weight: 700; }

@media (max-width: 1060px) {
  .feature-copy { border-right: 0; border-bottom: 1px solid var(--gts-border); }
  .structure-demo { min-height: 440px; }
}
@media (max-width: 767px) {
  .feature-stage { border-radius: 22px; }
  .feature-copy { padding: 30px 22px; }
  .feature-copy h3 { font-size: 32px; }
  .structure-demo { min-height: 340px; }
  .point { font-size: 11px; padding: 4px 9px; }
  .zone { height: 38px; font-size: 10px; }
  .bento-card { padding: 22px; border-radius: 20px; }
  .bento-card:hover { transform: none; }
  .zone-stack, .risk-visual, .alert-list { height: 220px; }
}
