/*
 * ไฟล์นี้ไม่ได้กำหนดพาเลตต์อีกแล้ว
 *
 * ชื่อตัวแปรชุดเก่า (--bg --text --muted --line --line-bright --cyan --gold
 * --radius --font) ถูกแมปไปที่ --gts-* ใน gts-sections.css อยู่แล้ว ซึ่ง index.html
 * โหลดทีหลังไฟล์นี้ ค่าที่เคยเขียนไว้ตรงนี้จึงถูกทับทั้งหมดมาตั้งแต่ PR #6
 * ลบทิ้งเพราะมันหลอกคนอ่าน — ใครแก้สีตรงนี้จะไม่เห็นอะไรเปลี่ยน
 *
 * จะแก้สีให้ไปแก้ที่ gts-tokens.css ที่เดียว
 * เหลือไว้แต่ color-scheme เพราะไม่มีไฟล์อื่นตั้งค่านี้
 */
:root { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { color: #001014; background: var(--cyan); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; transform: translateY(-160%); padding: 10px 16px; border-radius: 999px; color: #000; background: #fff; text-decoration: none; }
.skip-link:focus { transform: none; }
.nav-toggle { display: none; justify-self: end; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1px; margin: 4px auto; background: #fff; transition: transform .25s; }

.pill { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.pill:hover { transform: translateY(-2px); }
.pill span { font-size: 17px; line-height: 1; }
.pill-light { color: #050607; background: #f8fafc; box-shadow: 0 9px 32px rgba(255,255,255,.08); }
.pill-light:hover { box-shadow: 0 12px 40px rgba(255,255,255,.14), 0 0 35px rgba(0,220,255,.08); }
.pill-outline { border-color: var(--line-bright); color: #e8ecf2; background: rgba(255,255,255,.02); }
.pill-outline:hover { background: rgba(255,255,255,.06); }

.hero { min-height: 1260px; position: relative; overflow: hidden; padding: 0 clamp(18px,2.2vw,42px); background: #030506; }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 420px; background: linear-gradient(180deg,transparent,var(--bg)); pointer-events: none; }
.hero-light { position: absolute; z-index: 0; top: 30px; left: 50%; width: min(1000px,82vw); height: 780px; transform: translateX(-50%); background: radial-gradient(ellipse at 51% 30%,rgba(175,216,255,.36) 0,rgba(78,112,173,.18) 12%,rgba(19,37,72,.18) 26%,transparent 56%), conic-gradient(from 204deg at 50% 0%,transparent 0 35%,rgba(150,204,255,.08) 42%,rgba(77,111,184,.22) 48%,rgba(177,222,255,.16) 53%,transparent 61%); filter: blur(10px); opacity: .9; animation: spotlight 9s ease-in-out infinite alternate; }
.hero-light::after { content: ""; position: absolute; left: -35%; right: -35%; bottom: -30%; height: 44%; background: radial-gradient(ellipse,rgba(29,89,154,.35),transparent 68%); filter: blur(24px); }
.hero h1 { margin: 32px 0 25px; font-size: clamp(54px,6vw,94px); line-height: .98; letter-spacing: -.066em; font-weight: 500; }
.hero h1 em, .section h2 em, .closing h2 em { color: #a9b2bf; font-style: normal; }

.terminal-wrap { width: min(1480px,100%); margin: 58px auto 0; position: relative; z-index: 4; border: 1px solid rgba(255,255,255,.18); border-radius: 20px 20px 0 0; background: #090c11; box-shadow: 0 50px 150px #000, 0 0 0 1px rgba(0,220,255,.04),0 0 90px rgba(0,102,180,.12); overflow: hidden; }
.terminal-tabs { display: flex; height: 100%; }
.terminal-tabs button { min-width: 78px; height: 100%; border: 0; border-bottom: 1px solid transparent; color: #636b76; background: transparent; font-size: 9px; cursor: pointer; }
.terminal-tabs button.active { color: #fff; border-bottom-color: var(--cyan); }

.section { position: relative; padding: clamp(100px,10vw,170px) max(5vw,24px); }
.kicker { color: var(--cyan); font-size: 9px; font-weight: 600; letter-spacing: .24em; }
.section h2, .closing h2 { margin: 24px 0; font-size: clamp(44px,5.1vw,78px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.section-intro { max-width: 950px; margin: 0 auto 82px; text-align: center; }
.section-intro p { max-width: 670px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.8; }
.story { padding-top: 145px; background: radial-gradient(circle at 50% 10%,rgba(27,43,63,.27),transparent 27%),#030506; }
.feature-stage { max-width: 1420px; min-height: 690px; margin: 0 auto; display: grid; grid-template-columns: .72fr 1.28fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #080b0f; box-shadow: 0 40px 100px rgba(0,0,0,.38); }
.feature-copy { padding: clamp(44px,6vw,96px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); background: linear-gradient(135deg,rgba(255,255,255,.025),transparent 55%); }
.number { color: #555d69; font-size: 10px; letter-spacing: .18em; }
.feature-copy h3 { margin: 33px 0 19px; font-size: clamp(35px,3.6vw,58px); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
.feature-copy p { margin: 0; color: var(--muted); line-height: 1.85; font-size: 14px; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.feature-tags span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: #69717c; font-size: 8px; letter-spacing: .1em; }
.structure-demo { min-height: 590px; position: relative; overflow: hidden; background: radial-gradient(circle at 75% 20%,rgba(0,200,255,.11),transparent 23%),#070c12; }
.demo-toolbar { height: 56px; position: relative; z-index: 2; display: flex; align-items: center; gap: 20px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.demo-toolbar b { font-size: 14px; }
.demo-toolbar span { padding-left: 18px; border-left: 1px solid var(--line); color: #7e8793; font-size: 10px; }
.demo-toolbar i { margin-left: auto; color: var(--cyan); font-size: 8px; font-style: normal; letter-spacing: .15em; }
.structure-demo svg { position: absolute; z-index: 1; left: 5%; right: 4%; bottom: 6%; width: 91%; height: 72%; overflow: visible; }
.structure-demo .area { fill: url(#areaGradient); }
.structure-demo .line { fill: none; stroke: url(#lineGradient); stroke-width: 3; filter: drop-shadow(0 0 9px rgba(0,220,255,.55)); }
.structure-demo .projection { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 8 8; animation: dash 2s linear infinite; }
.point { position: absolute; z-index: 3; padding: 5px 7px; border-radius: 5px; color: #e9fbff; background: rgba(4,16,23,.78); font-size: 8px; }
.p1 { left: 28%; bottom: 25%; }.p2 { left: 52%; bottom: 51%; }.p3 { left: 68%; bottom: 39%; }.p4 { right: 8%; top: 24%; color: var(--cyan); }
.zone { position: absolute; z-index: 1; left: 14%; right: 9%; height: 42px; padding: 8px 12px; border: 1px solid; font-size: 8px; letter-spacing: .12em; text-align: right; }
.demo-demand { bottom: 19%; border-color: rgba(0,220,255,.4); color: var(--cyan); background: rgba(0,220,255,.07); }
.demo-supply { top: 23%; left: 42%; border-color: rgba(220,75,130,.4); color: #e68ab0; background: rgba(220,75,130,.07); }

.bento-grid { max-width: 1420px; margin: 20px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.bento-card { min-height: 520px; padding: 30px; display: flex; flex-direction: column; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg,#0c1015,#080a0e); }
.bento-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 35%,rgba(0,220,255,.07),transparent 35%); opacity: 0; transition: opacity .4s; }
.bento-card:hover::before { opacity: 1; }
.card-head { display: flex; justify-content: space-between; color: #575f6a; font-size: 8px; letter-spacing: .16em; }
.card-head i { font-style: normal; }
.bento-card h3 { margin: auto 0 12px; position: relative; font-size: 23px; letter-spacing: -.035em; font-weight: 500; }
.bento-card > p { min-height: 52px; margin: 0; position: relative; color: var(--muted); font-size: 12px; line-height: 1.75; }
.zone-stack { height: 255px; position: relative; display: grid; place-items: center; perspective: 600px; }
.zone-stack span { width: 55%; height: 96px; position: absolute; border: 1px solid rgba(0,220,255,.26); background: rgba(0,220,255,.025); transform: rotateX(62deg) rotateZ(-25deg); box-shadow: 0 0 25px rgba(0,220,255,.03); }
.zone-stack span:nth-child(1) { transform: translateY(-32px) rotateX(62deg) rotateZ(-25deg); border-color: rgba(224,103,151,.26); }
.zone-stack span:nth-child(2) { transform: translateY(12px) rotateX(62deg) rotateZ(-25deg); }
.zone-stack span:nth-child(3) { transform: translateY(56px) rotateX(62deg) rotateZ(-25deg); }
.zone-stack b, .zone-stack em { position: absolute; padding: 6px 9px; border-radius: 5px; font-size: 7px; letter-spacing: .1em; font-style: normal; }
.zone-stack b { top: 60px; right: 20%; color: #e88aad; background: rgba(224,90,140,.1); }.zone-stack em { bottom: 36px; left: 19%; color: var(--cyan); background: rgba(0,220,255,.08); }
.risk-visual { height: 260px; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 25px 20% 25px 4%; }
.risk-visual div { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid; }
.risk-visual div:nth-child(1) { border-color: rgba(0,220,255,.35); color: var(--cyan); background: rgba(0,220,255,.07); }
.risk-visual div:nth-child(2) { border-color: rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.03); }
.risk-visual div:nth-child(3) { border-color: rgba(229,71,126,.35); color: #e4729b; background: rgba(229,71,126,.07); }
.risk-visual small { font-size: 7px; letter-spacing: .13em; }.risk-visual b { font-size: 8px; }
.risk-bracket { position: absolute; right: 2%; top: 47px; bottom: 47px; width: 16%; display: grid; place-items: center; border: 1px solid var(--line); border-left: 0; color: var(--gold); font-size: 10px; }
.alert-list { height: 270px; padding: 24px 0; display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.alert-list > div { min-height: 64px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.018); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.alert-list > div:nth-child(2) { transform: translateX(9px); border-color: rgba(0,220,255,.17); }
.alert-list > div > i { width: 23px; height: 23px; border-radius: 7px; background: radial-gradient(circle,var(--cyan) 0 16%,rgba(0,220,255,.15) 18% 100%); box-shadow: 0 0 18px rgba(0,220,255,.18); }
.alert-list span { display: flex; flex-direction: column; gap: 4px; }.alert-list b { font-size: 10px; font-weight: 500; }.alert-list small { color: #666e79; font-size: 8px; }.alert-list em { color: #4e5661; font-size: 7px; font-style: normal; }

.workflow { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; background: #07090c; border-block: 1px solid var(--line); }
.workflow-copy { position: sticky; top: 125px; }
.workflow-copy > p { max-width: 530px; color: var(--muted); line-height: 1.8; }
.text-link { display: inline-flex; gap: 18px; margin-top: 28px; padding-bottom: 7px; border-bottom: 1px solid rgba(0,220,255,.3); color: var(--cyan); font-size: 12px; text-decoration: none; }
.steps { border-top: 1px solid var(--line); }
.step { min-height: 190px; display: grid; grid-template-columns: 52px 1fr 48px; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.step > span { color: #4f5762; font-size: 9px; }.step small { color: var(--cyan); font-size: 7px; letter-spacing: .18em; }.step h3 { margin: 10px 0 7px; font-size: 25px; font-weight: 500; }.step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.step > i { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: #8c949f; font-size: 20px; font-style: normal; transition: border .3s,color .3s,box-shadow .3s; }.step:hover > i { border-color: rgba(0,220,255,.4); color: var(--cyan); box-shadow: 0 0 28px rgba(0,220,255,.09); }

.tradingview { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 7vw; overflow: hidden; }
.tv-copy p { max-width: 550px; color: var(--muted); line-height: 1.8; }
.tv-copy ul { margin: 32px 0 0; padding: 0; list-style: none; }
.tv-copy li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: #aeb4bd; font-size: 12px; }.tv-copy li span { color: var(--cyan); }

.pricing { background: #f3f4f6; color: #090b0e; }
.pricing .kicker { color: #4567d8; }
.pricing-head { max-width: 850px; margin: 0 auto 70px; text-align: center; }
.pricing-head h2 { font-size: clamp(45px,4.8vw,72px); }
.pricing-head p { max-width: 590px; margin: 0 auto; color: #707680; line-height: 1.7; font-size: 13px; }
.billing { width: max-content; margin: 30px auto 0; padding: 4px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px; background: rgba(0,0,0,.025); }
.billing-3 button { min-width: 96px; }
@media (max-width: 420px) { .billing-3 button { min-width: 0; padding: 0 12px; } }
.billing button { min-width: 112px; height: 39px; border: 0; border-radius: 999px; color: #747984; background: transparent; cursor: pointer; font-size: 11px; }.billing button.active { color: #fff; background: #0b0d10; }.billing span { margin-left: 4px; color: #6877ff; font-size: 7px; font-weight: 700; }
.plans { max-width: 1030px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.plan { min-height: 560px; padding: 38px; position: relative; border: 1px solid rgba(0,0,0,.1); border-radius: 24px; background: #fff; }
.plan-featured { color: #fff; background: #0a0c10; box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.popular { position: absolute; top: 20px; right: 20px; padding: 7px 9px; border-radius: 999px; color: var(--cyan); background: rgba(0,220,255,.08); font-size: 7px; letter-spacing: .12em; }
.plan-title { display: flex; flex-direction: column; gap: 8px; }.plan-title span { font-size: 10px; font-weight: 700; letter-spacing: .13em; }.plan-title small { color: #81868f; font-size: 11px; }
.price { display: flex; align-items: baseline; margin: 46px 0 34px; }.price > small { font-size: 22px; }.price b { margin-left: 4px; font-size: 62px; line-height: 1; letter-spacing: -.07em; }.price span { margin-left: 9px; color: #858b94; font-size: 10px; }
.plan .pill { width: 100%; }.plan .pill-outline { border-color: rgba(0,0,0,.16); color: #111318; }
.plan ul { margin: 35px 0 0; padding: 27px 0 0; border-top: 1px solid rgba(0,0,0,.09); list-style: none; }.plan-featured ul { border-top-color: var(--line); }.plan li { padding: 9px 0; color: #5f6570; font-size: 12px; }.plan-featured li { color: #a5abb4; }.plan li::before { content: "✓"; margin-right: 10px; color: #4166db; }
.plan li.li-pending { color: #8a8f97; }.plan li.li-pending::before { content: "·"; color: #9aa0aa; }.plan-featured li::before { color: var(--cyan); }
.risk-disclaimer { max-width: 850px; margin: 32px auto 0; color: #8a8f97; font-size: 9px; line-height: 1.7; text-align: center; }

.affiliate-banner { min-height: 720px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 8vw; background: radial-gradient(circle at 75% 50%,rgba(0,220,255,.08),transparent 28%),#050709; }
.affiliate-banner > div:first-child { max-width: 600px; }.affiliate-banner p { color: var(--muted); line-height: 1.8; }.affiliate-banner .pill { margin-top: 24px; }
.partner-card { min-height: 440px; padding: 30px; border: 1px solid var(--line-bright); border-radius: 24px; background: linear-gradient(145deg,#11151b,#080b0f); box-shadow: 0 40px 100px #0009,0 0 60px rgba(0,220,255,.06); }
.partner-top { display: flex; justify-content: space-between; color: #69717c; font-size: 8px; letter-spacing: .15em; }.partner-top i { color: var(--cyan); font-style: normal; }.partner-value { margin-top: 45px; display: flex; flex-direction: column; }.partner-value small { color: #5d6570; font-size: 8px; letter-spacing: .15em; }.partner-value b { margin-top: 9px; font-size: 70px; letter-spacing: -.07em; }
.partner-bars { height: 155px; display: flex; align-items: end; gap: 10px; padding-top: 25px; border-bottom: 1px solid var(--line); }.partner-bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(to top,rgba(0,220,255,.08),var(--cyan)); box-shadow: 0 0 16px rgba(0,220,255,.08); }.partner-foot { display: flex; justify-content: space-between; margin-top: 22px; color: #606873; font-size: 8px; }.partner-foot b { color: #8b939f; font-weight: 400; }

.faq { display: grid; grid-template-columns: .68fr 1.32fr; gap: 10vw; background: #07090c; }
.faq-head { position: sticky; top: 120px; height: max-content; }.faq-head h2 { font-size: clamp(44px,4.4vw,68px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 90px; display: grid; grid-template-columns: 1fr 30px; align-items: center; list-style: none; cursor: pointer; color: #d3d7dd; font-size: 16px; }.faq-list summary::-webkit-details-marker { display: none; }.faq-list summary b { color: #7b838f; font-size: 24px; font-weight: 300; transition: transform .25s; }.faq-list details[open] summary b { transform: rotate(45deg); color: var(--cyan); }.faq-list details p { max-width: 700px; margin: -10px 50px 30px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.closing { min-height: 750px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; text-align: center; background: #030506; }
.closing-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 73%,rgba(25,95,151,.25),transparent 28%),conic-gradient(from 180deg at 50% 100%,transparent 0 36%,rgba(121,191,255,.13) 45%,rgba(255,255,255,.18) 50%,rgba(86,157,221,.13) 55%,transparent 64%); filter: blur(14px); }
.closing > *:not(.closing-light) { position: relative; z-index: 2; }.closing h2 { font-size: clamp(58px,7.4vw,112px); }.closing p { margin: 0 0 30px; color: var(--muted); }

footer { padding: 70px max(5vw,24px) 30px; border-top: 1px solid var(--line); background: #020304; }
.footer-top { display: flex; justify-content: space-between; padding-bottom: 55px; }.footer-top p { margin: 0; color: #626974; font-size: 11px; line-height: 1.7; text-align: right; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; padding: 50px 0; border-block: 1px solid var(--line); }.footer-links > div { display: flex; flex-direction: column; gap: 13px; }.footer-links b { margin-bottom: 7px; color: #515863; font-size: 8px; letter-spacing: .16em; }.footer-links a { width: max-content; color: #9097a1; font-size: 11px; text-decoration: none; }.footer-links a:hover { color: #fff; }
.footer-bottom { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; padding-top: 28px; color: #444b55; font-size: 8px; }.footer-bottom p { margin: 0; line-height: 1.75; text-align: right; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes spotlight { from { transform: translateX(-51%) scale(.97); opacity: .75; } to { transform: translateX(-49%) scale(1.03); opacity: 1; } }

@keyframes dash { to { stroke-dashoffset: -32; } }

@media (max-width: 1060px) {
.nav-toggle { display: block; }
  .hero { min-height: 1120px; }
  .feature-stage { grid-template-columns: 1fr; }.feature-copy { border-right: 0; border-bottom: 1px solid var(--line); }.structure-demo { min-height: 540px; }
  .bento-grid { grid-template-columns: repeat(2,1fr); }.bento-alerts { grid-column: 1/-1; }
  .workflow { grid-template-columns: 1fr; gap: 50px; }.workflow-copy, .faq-head { position: static; }
  .tradingview { grid-template-columns: 1fr; }.tv-copy { max-width: 760px; }
  .affiliate-banner { grid-template-columns: 1fr; }.partner-card { max-width: 780px; width: 100%; margin: 0 auto; }
}

@media (max-width: 720px) {
.hero { min-height: 900px; padding: 0 12px; }.hero h1 { margin-top: 28px; font-size: clamp(43px,13vw,64px); }.terminal-wrap { margin-top: 65px; border-radius: 12px 12px 0 0; }.terminal-tabs { display: none; }
  .section { padding: 90px 18px; }.section-intro { margin-bottom: 45px; }.section-intro p { font-size: 14px; }.section h2 { font-size: 42px; }
  .feature-stage { min-height: 0; border-radius: 18px; }.feature-copy { padding: 35px 25px; }.structure-demo { min-height: 390px; }.demo-toolbar { height: 48px; }.zone { height: 34px; }.point { font-size: 7px; }
  .bento-grid { grid-template-columns: 1fr; gap: 14px; }.bento-alerts { grid-column: auto; }.bento-card { min-height: 460px; border-radius: 18px; }
  .workflow { gap: 28px; }.step { min-height: 160px; grid-template-columns: 34px 1fr 36px; gap: 12px; }.step > i { width: 36px; height: 36px; font-size: 15px; }.tv-copy h2 { font-size: 38px; }
  .plans { grid-template-columns: 1fr; }.plan { min-height: 500px; padding: 30px 24px; }.price b { font-size: 52px; }
  .affiliate-banner { min-height: auto; }.affiliate-banner h2 { font-size: 43px; }.partner-card { min-height: 390px; padding: 24px 18px; }.partner-foot { flex-direction: column; gap: 8px; }
  .faq { grid-template-columns: 1fr; gap: 40px; }.faq-list summary { font-size: 14px; }.faq-list details p { margin-right: 25px; }
  .closing { min-height: 620px; }.closing h2 { font-size: 55px; }
  .footer-top { flex-direction: column; gap: 30px; }.footer-top p { text-align: left; }.footer-links { grid-template-columns: repeat(2,1fr); }.footer-bottom { grid-template-columns: 1fr; }.footer-bottom p { text-align: left; }
}

@media (max-width: 420px) {
.hero h1 { font-size: 42px; }
  .section h2, .affiliate-banner h2 { font-size: 37px; }.feature-copy h3 { font-size: 36px; }.structure-demo { min-height: 330px; }
  .bento-card { min-height: 430px; padding: 24px; }.risk-visual { padding-right: 22%; }.alert-list > div { grid-template-columns: 20px 1fr auto; }
  .price b { font-size: 46px; }.plan { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
  **::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Midnight Navy + Champagne Gold theme */

html, body { background: var(--bg); }
body { color: var(--text); }
.nav-toggle { border-color: rgba(227,196,119,.28); background: rgba(7,22,42,.5); }
.nav-toggle span { background: var(--gold); }
.pill-light { color: #081324; background: linear-gradient(135deg,#f2d88f,#c99a35); box-shadow: 0 10px 34px rgba(194,139,35,.2), inset 0 1px rgba(255,255,255,.55); }
.pill-light:hover { box-shadow: 0 15px 44px rgba(194,139,35,.28),0 0 36px rgba(36,126,220,.12); }
.pill-outline { border-color: rgba(227,196,119,.34); color: #edd895; background: rgba(227,196,119,.025); }
.pill-outline:hover { background: rgba(227,196,119,.08); }

.hero { background: #020814; }
.hero::after { background: linear-gradient(180deg,transparent,#020814); }
.hero-light { background: radial-gradient(ellipse at 51% 30%,rgba(56,133,229,.42) 0,rgba(20,70,145,.24) 14%,rgba(4,22,53,.24) 31%,transparent 58%),conic-gradient(from 204deg at 50% 0%,transparent 0 35%,rgba(41,117,215,.1) 42%,rgba(219,179,82,.16) 49%,rgba(75,150,238,.13) 55%,transparent 63%); }
.hero-light::after { background: radial-gradient(ellipse,rgba(22,93,184,.36),rgba(214,165,58,.07) 42%,transparent 69%); }
.hero h1 em, .section h2 em, .closing h2 em { color: #cbb672; }

.terminal-wrap { border-color: rgba(227,196,119,.42); background: #061020; box-shadow: 0 52px 150px #000b,0 0 0 1px rgba(40,129,224,.12),0 0 95px rgba(24,102,190,.18),0 0 45px rgba(211,166,62,.06); }
.terminal-tabs button.active { color: var(--gold); }
.terminal-tabs button.active { border-bottom-color: var(--gold); }

.story { background: radial-gradient(circle at 50% 10%,rgba(28,91,166,.22),transparent 29%),#020814; }
.kicker { color: var(--gold); }
.feature-stage { border-color: rgba(156,185,222,.15); background: #061120; box-shadow: 0 42px 110px rgba(0,0,0,.48),0 0 50px rgba(23,95,181,.06); }
.feature-copy { border-color: rgba(227,196,119,.13); background: linear-gradient(135deg,rgba(17,61,113,.22),transparent 58%); }
.number { color: #b3934d; }
.feature-tags span { border-color: rgba(227,196,119,.22); color: #c4ad70; background: rgba(227,196,119,.025); }
.structure-demo { background: radial-gradient(circle at 75% 20%,rgba(30,118,218,.16),transparent 25%),#041124; }
.demo-toolbar { border-bottom-color: rgba(159,188,224,.14); background: rgba(5,18,38,.72); }
.demo-toolbar i { color: var(--gold); }
.structure-demo .line { filter: drop-shadow(0 0 9px rgba(28,130,237,.55)); }
.p4 { color: var(--gold); }
.demo-demand { border-color: rgba(37,135,236,.5); color: #78b9ff; background: rgba(23,112,214,.1); }
.demo-supply { border-color: rgba(227,196,119,.44); color: #ead38b; background: rgba(227,196,119,.08); }

.bento-card { border-color: rgba(157,187,223,.15); background: linear-gradient(145deg,#0a1b31,#051020); }
.bento-card::before { background: radial-gradient(circle at 50% 35%,rgba(28,123,230,.11),transparent 38%); }
.card-head { color: #8899ad; }
.card-head i { color: #b99a52; }
.zone-stack span { border-color: rgba(38,133,230,.35); background: rgba(26,112,209,.04); }
.zone-stack span:nth-child(1) { border-color: rgba(227,196,119,.38); background: rgba(227,196,119,.03); }
.zone-stack b { color: #ead38b; background: rgba(227,196,119,.1); }
.zone-stack em { color: #7cbdff; background: rgba(25,119,221,.12); }
.risk-visual div:nth-child(1) { border-color: rgba(41,137,238,.45); color: #76b9ff; background: rgba(26,114,214,.1); }
.risk-visual div:nth-child(2) { border-color: rgba(227,196,119,.42); color: var(--gold); background: rgba(227,196,119,.07); }
.risk-visual div:nth-child(3) { border-color: rgba(80,111,154,.4); color: #8c9bb0; background: rgba(71,101,145,.08); }
.risk-bracket { border-color: rgba(227,196,119,.26); color: var(--gold); }
.alert-list > div { border-color: rgba(150,181,218,.16); background: rgba(10,29,54,.68); }
.alert-list > div:nth-child(2) { border-color: rgba(227,196,119,.28); }
.alert-list > div > i { background: radial-gradient(circle,var(--gold) 0 16%,rgba(227,196,119,.16) 18% 100%); box-shadow: 0 0 18px rgba(227,196,119,.22); }

.workflow { border-color: rgba(155,185,220,.14); background: #061120; }
.steps, .step { border-color: rgba(156,186,222,.14); }
.step small, .text-link { color: var(--gold); }
.text-link { border-bottom-color: rgba(227,196,119,.38); }
.step:hover > i { border-color: rgba(227,196,119,.45); color: var(--gold); box-shadow: 0 0 28px rgba(227,196,119,.12); }

.tradingview { background: radial-gradient(circle at 80% 45%,rgba(23,95,181,.12),transparent 31%),#020814; }
.tv-copy li span { color: var(--gold); }

.pricing { color: var(--text); background: radial-gradient(circle at 50% 8%,rgba(27,94,177,.22),transparent 30%),#061120; }
.pricing .kicker { color: var(--gold); }
.pricing-head p { color: #97a5b5; }
.billing { border-color: rgba(227,196,119,.2); background: rgba(4,15,32,.6); }
.billing button { color: #8998aa; }
.billing button.active { color: #071323; background: linear-gradient(135deg,#efd68f,#c89932); }
.billing span { color: #d7b45c; }
.plan { color: #eef3f9; border-color: rgba(153,184,221,.17); background: linear-gradient(145deg,#0c1e35,#071426); box-shadow: 0 20px 55px rgba(0,0,0,.2); }
.plan-featured { border-color: rgba(227,196,119,.52); background: linear-gradient(145deg,#122744,#071426 68%); box-shadow: 0 28px 80px rgba(0,0,0,.38),0 0 42px rgba(216,179,90,.08); }
.popular { color: #f0d78d; background: rgba(227,196,119,.1); border: 1px solid rgba(227,196,119,.2); }
.plan-title small, .price span { color: #8f9eb0; }
.plan .pill-outline { border-color: rgba(227,196,119,.32); color: #efd98f; }
.plan ul, .plan-featured ul { border-top-color: rgba(156,187,223,.14); }
.plan li, .plan-featured li { color: #9eabba; }
.plan li::before, .plan-featured li::before { color: var(--gold); }
.risk-disclaimer { color: #708197; }

.affiliate-banner { background: radial-gradient(circle at 75% 50%,rgba(29,112,208,.14),transparent 30%),#020814; }
.partner-card { border-color: rgba(227,196,119,.4); background: linear-gradient(145deg,#102642,#061426); box-shadow: 0 42px 105px #000a,0 0 62px rgba(31,119,214,.1); }
.partner-top i, .partner-value b { color: var(--gold); }
.partner-bars { border-bottom-color: rgba(227,196,119,.16); }
.partner-bars span { background: linear-gradient(to top,rgba(21,99,196,.14),#207ed8 62%,#e1bd68); box-shadow: 0 0 17px rgba(227,196,119,.12); }

.faq { background: #061120; }
.faq-list, .faq-list details { border-color: rgba(157,187,222,.14); }
.faq-list details[open] summary b { color: var(--gold); }
.closing { background: #020814; }
.closing-light { background: radial-gradient(ellipse at 50% 73%,rgba(23,100,192,.3),transparent 30%),conic-gradient(from 180deg at 50% 100%,transparent 0 36%,rgba(25,112,214,.16) 44%,rgba(227,196,119,.22) 50%,rgba(33,124,224,.14) 56%,transparent 64%); }
footer { border-top-color: rgba(227,196,119,.14); background: #010611; }
.footer-links { border-color: rgba(156,187,223,.13); }
.footer-links b { color: #a28a51; }
.footer-links a:hover { color: var(--gold); }
.section-ribbon { position: absolute; z-index: 0; top: -170px; left: -16%; width: 62%; height: 560px; pointer-events: none; background: url("assets/gts-ambient-ribbons-v1.webp") left center/cover no-repeat; opacity: .075; mix-blend-mode: screen; filter: saturate(.7) brightness(.65); transform: rotate(-7deg); animation: sectionRibbonDrift 26s ease-in-out infinite alternate; mask-image: radial-gradient(ellipse at 40% 50%,#000,transparent 72%); }
.story > *:not(.section-ribbon) { position: relative; z-index: 1; }
.closing-ribbon { position: absolute !important; z-index: 1 !important; inset: 5% -15% -10%; pointer-events: none; background: url("assets/gts-ambient-ribbons-v1.webp") center/cover no-repeat; opacity: .14; mix-blend-mode: screen; filter: saturate(.72) brightness(.62); animation: closingRibbonFloat 22s ease-in-out infinite alternate; mask-image: linear-gradient(to bottom,transparent,#000 26%,#000 72%,transparent); }
.closing > *:not(.closing-light):not(.closing-ribbon) { position: relative; z-index: 2; }

@keyframes sectionRibbonDrift {
  from { transform: translate3d(-2%,8px,0) rotate(-8deg) scale(1); }
  to { transform: translate3d(4%,-14px,0) rotate(-5deg) scale(1.08); }
}
@keyframes closingRibbonFloat {
  from { transform: translate3d(-1.5%,7px,0) scale(1.02); }
  to { transform: translate3d(1.5%,-12px,0) scale(1.06); }
}

@media (max-width: 720px) {
.section-ribbon { width: 110%; left: -45%; opacity: .055; }
  .closing-ribbon { inset: 12% -65% -4%; opacity: .1; }
}

@media (prefers-reduced-motion: reduce) {
.section-ribbon, .closing-ribbon { animation: none !important; }
}

/* Premium pricing matrix */
.plans { max-width: 1040px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.plan { min-height: 660px; padding: 30px 24px 24px; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; }
.plan::after { content: ""; position: absolute; inset: auto 12% -70px; height: 110px; pointer-events: none; background: radial-gradient(ellipse,rgba(28,118,224,.12),transparent 68%); }
.plan-featured { transform: translateY(-10px); }
.plan-featured.reveal { transform: translateY(14px); }
.plan-featured.reveal.visible { transform: translateY(-10px); }
.plan-title span { color: #f7f4ea; font-size: 12px; letter-spacing: .08em; }
.plan-title small { min-height: 18px; font-size: 10px; }
.plan .price { margin: 34px 0 14px; }
.plan .price > small { color: var(--gold); font-size: 17px; }
.plan .price b { font-size: clamp(42px,3.25vw,58px); }
.plan-summary { min-height: 54px; margin: 0 0 24px; color: #8090a5; font-size: 10px; line-height: 1.65; }
.plan-includes { margin-top: 32px; padding-top: 23px; border-top: 1px solid rgba(156,187,223,.14); color: #687a90; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.plan ul, .plan-featured ul { margin: 12px 0 24px; padding: 0; border: 0; }
.plan li, .plan-featured li { padding: 7px 0; font-size: 10px; line-height: 1.35; }
.plan-numbers { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(156,187,223,.12); display: grid; gap: 10px; }
.plan-numbers span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-numbers small { color: #5f7188; font-size: 7px; letter-spacing: .08em; }
.plan-numbers b { color: #aeb9c8; font-size: 8px; letter-spacing: .07em; }
.plan-featured .plan-numbers b { color: var(--gold); }
.plan .popular { top: 17px; right: 16px; }

.plan-compare { max-width: 1500px; margin: 110px auto 0; }
.compare-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.compare-heading h3 { margin: 10px 0 0; font-size: clamp(40px,4vw,64px); letter-spacing: -.055em; }
.compare-heading p { max-width: 400px; margin: 0 0 8px; color: #8797aa; font-size: 11px; line-height: 1.7; text-align: right; }
.compare-scroll { overflow-x: auto; border: 1px solid rgba(157,187,223,.14); border-radius: 18px; background: rgba(3,13,28,.66); scrollbar-color: rgba(227,196,119,.34) transparent; }
.compare-scroll:focus-visible { outline: 2px solid rgba(227,196,119,.7); outline-offset: 4px; }
.compare-table { width: 100%; min-width: 970px; border-collapse: collapse; color: #a7b3c2; font-size: 10px; }
.compare-table th, .compare-table td { height: 58px; padding: 13px 18px; border-bottom: 1px solid rgba(157,187,223,.1); text-align: left; vertical-align: middle; }
.compare-table thead th { height: 74px; position: sticky; top: 0; z-index: 2; color: #f3f1e9; background: rgba(4,17,36,.97); font-size: 10px; letter-spacing: .02em; }
.compare-table thead th:first-child { width: 31%; color: #6e8198; font-size: 8px; letter-spacing: .12em; }
.compare-table thead span { margin-left: 7px; padding: 4px 7px; border: 1px solid rgba(227,196,119,.24); border-radius: 999px; color: var(--gold); font-size: 6px; text-transform: uppercase; }
.compare-table tbody th { color: #8495aa; font-weight: 500; }
.compare-table td:nth-child(4), .compare-table thead th:nth-child(4) { color: #f3d987; background: rgba(227,196,119,.045); font-weight: 650; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table .compare-group th { height: 54px; padding-top: 24px; color: #d5b96d; background: rgba(15,37,66,.68); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Scrollable review showcase */
.reviews { overflow: hidden; padding-inline: 0; background: radial-gradient(circle at 50% 5%,rgba(28,103,194,.16),transparent 31%),#020814; }
.reviews-head { max-width: 1500px; margin: 0 auto 50px; padding: 0 max(5vw,24px); display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.reviews-head h2 { margin: 10px 0 0; font-size: clamp(50px,5.6vw,84px); letter-spacing: -.065em; }
.review-controls { display: flex; gap: 9px; }
.review-controls button { width: 48px; height: 48px; border: 1px solid rgba(227,196,119,.28); border-radius: 50%; color: #e8d18a; background: rgba(6,20,40,.7); cursor: pointer; transition: border-color .25s,background .25s,transform .25s,opacity .25s; }
.review-controls button:hover:not(:disabled) { border-color: rgba(227,196,119,.6); background: rgba(227,196,119,.08); transform: translateY(-2px); }
.review-controls button:disabled { opacity: .28; cursor: default; }
.review-viewport { position: relative; }
.review-viewport::before, .review-viewport::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: max(5vw,42px); pointer-events: none; }
.review-viewport::before { left: 0; background: linear-gradient(90deg,#020814,transparent); }
.review-viewport::after { right: 0; background: linear-gradient(-90deg,#020814,transparent); }
.review-track { display: flex; gap: 16px; overflow-x: auto; padding: 0 max(5vw,24px) 22px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-track:focus-visible { outline: 0; }
.review-card { flex: 0 0 clamp(310px,29vw,420px); min-height: 330px; padding: 30px; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid rgba(157,187,223,.15); border-radius: 16px; background: linear-gradient(145deg,rgba(10,31,57,.94),rgba(4,15,31,.94)); box-shadow: inset 0 1px rgba(255,255,255,.02); transition: transform .35s,border-color .35s,box-shadow .35s; }
.review-card:hover { transform: translateY(-5px); border-color: rgba(227,196,119,.34); box-shadow: 0 24px 60px rgba(0,0,0,.25),0 0 36px rgba(29,110,209,.07); }
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: .14em; }
.review-card h3 { margin: 25px 0 12px; color: #f4f2ea; font-size: 18px; letter-spacing: -.025em; }
.review-card > p { margin: 0; color: #8493a6; font-size: 11px; line-height: 1.8; }
.review-author { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(227,196,119,.26); border-radius: 50%; color: #e2c778; background: linear-gradient(145deg,#17375e,#0b1e36); font-size: 9px; font-weight: 700; }
.review-author div { display: flex; flex-direction: column; gap: 4px; }
.review-author b { color: #cbd4df; font-size: 10px; }
.review-author small { color: #58708c; font-size: 7px; letter-spacing: .11em; }
.reviews-disclosure { max-width: 820px; margin: 30px auto 0; padding: 0 24px; color: #596b81; font-size: 8px; line-height: 1.7; text-align: center; }

@media (max-width: 1180px) {
.plans { max-width: 900px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .plan-featured, .plan-featured.reveal.visible { transform: none; }
}

@media (max-width: 720px) {
.plans { grid-template-columns: 1fr; }
  .plan { min-height: 610px; }
  .plan .price b { font-size: 52px; }
  .compare-heading { display: block; }
  .compare-heading p { margin-top: 14px; text-align: left; }
  .plan-compare { margin-top: 78px; }
  .compare-scroll { margin-right: -18px; border-right: 0; border-radius: 15px 0 0 15px; }
  .compare-table th:first-child { position: sticky; left: 0; z-index: 1; background: #071629; }
  .compare-table thead th:first-child { z-index: 3; background: #061426; }
  .compare-table .compare-group th { position: static; }
  .reviews-head { align-items: center; margin-bottom: 34px; padding-inline: 18px; }
  .reviews-head h2 { font-size: 43px; }
  .review-controls button { width: 42px; height: 42px; }
  .review-viewport::before, .review-viewport::after { width: 18px; }
  .review-track { padding-inline: 18px; }
  .review-card { flex-basis: min(84vw,350px); min-height: 320px; padding: 25px; }
}

@media (max-width: 420px) {
.plan { min-height: 590px; }
  .reviews-head { align-items: end; }
  .review-controls { gap: 6px; }
  .review-controls button { width: 38px; height: 38px; }
}
