/* A lightweight, interactive introduction to the customer DEX workspace. */
.dex-showcase { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px,8vw,112px) var(--pad) 36px; background: radial-gradient(ellipse at 85% 42%,#67411d16,transparent 55%),#0b0c0a; border-block: 1px solid #d4af661b; scroll-margin-top: 80px; }
.dex-showcase__inner { max-width: 1320px; margin: auto; }
.dex-showcase__masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 48px; font-size: 10px; font-weight: 500; letter-spacing: .18em; color: #c5b99f; }
.dex-showcase__masthead p span { color: #d9aa59; margin-right: 18px; }
.dex-showcase__edition { color: #7b7d70; font-size: 9px; }
.dex-showcase__layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(36px,6vw,85px); }
.dex-showcase__badge { display: flex; align-items: center; gap: 10px; color: #c0a477; font-size: 10px; letter-spacing: .14em; margin-bottom: 24px; }
.dex-showcase__badge > span { display: grid; place-items: center; height: 28px; width: 28px; border: 1px solid #86632f; border-radius: 8px; font-size: 18px; background: linear-gradient(135deg,#694b272e,#15150f); }
.dex-showcase__copy h2 { font: 500 clamp(36px,4.3vw,62px)/1.08 var(--font-display); letter-spacing: -.055em; color: #f0e8d8; }
.dex-showcase__copy h2 em { font-style: normal; color: #d6aa62; background: linear-gradient(110deg,#f0d5a1,#c68d35); background-clip: text; -webkit-text-fill-color: transparent; }
.dex-showcase__intro { font-size: 14px; line-height: 1.85; color: #aaa99c; max-width: 480px; margin: 23px 0 28px; }
.dex-showcase__tabs { display: grid; gap: 6px; }
.dex-feature { display: grid; grid-template-columns: 24px minmax(0,1fr) 21px; align-items: start; gap: 16px; text-align: left; padding: 16px; width: 100%; border: 1px solid transparent; border-radius: 12px; transition: border-color .25s,background .25s,color .25s; }
.dex-feature[aria-selected="true"] { border-color: #b8914b4d; background: linear-gradient(110deg,#c7984317,#c7984303); }
.dex-feature:hover { background-color: #e8b04b09; border-color: #b8914b35; }
.dex-feature:focus-visible { outline: 2px solid #e8b04b; outline-offset: 3px; }
.dex-feature__number { padding-top: 3px; font: 500 11px var(--font-display); color: #6f7369; }
.dex-feature[aria-selected="true"] .dex-feature__number { color: #dfb66e; }
.dex-feature strong { display: block; font: 500 17px/1.3 var(--font-display); color: #bdbeb0; }
.dex-feature[aria-selected="true"] strong { color: #eee4cf; }
.dex-feature__description { display: block; font-size: 12px; line-height: 1.65; color: #999e8f; margin-top: 6px; max-width: 345px; }
.dex-feature > svg { width: 18px; height: 18px; color: #947341; margin-top: 3px; transition: color .25s; }
.dex-feature[aria-selected="true"] > svg { color: #e1bc77; }
.dex-showcase__action { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.dex-showcase__action .gold-button { flex-shrink: 0; border-radius: 50px; background: linear-gradient(110deg,#e5bb73,#c79845); border-color: #e2b464; box-shadow: inset 0 1px #ffebba55; padding: 14px 22px; font-size: 12px; }
.dex-showcase__action .gold-button:hover { background: linear-gradient(110deg,#f0cc8c,#dfae59); box-shadow: 0 0 25px #bd86351c; }
.dex-showcase__action p { font-size: 10px; line-height: 1.6; color: #99998a; max-width: 160px; }
.dex-showcase__visual { position: relative; min-width: 0; padding: 25px 0 0; }
.dex-orbit { position: absolute; inset: -32px -35px 10px; border: 1px solid #bc96581c; border-radius: 50%; transform: rotate(-18deg); pointer-events: none; }
.dex-orbit::after { content: ''; position: absolute; inset: 28px -20px; border: 1px dashed #bc965818; border-radius: 50%; transform: rotate(37deg); }
.dex-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #bda477; box-shadow: 0 0 14px #c39245; left: 18%; top: 10%; animation: dex-beacon 4s ease-in-out infinite; animation-play-state: paused; }
.dex-orbit i + i { left: auto; top: auto; bottom: 8%; right: 22%; width: 4px; height: 4px; animation-delay: -2s; }
.dex-showcase.is-in-view .dex-orbit i { animation-play-state: running; }
.dex-console { position: relative; border: 1px solid #8f734643; border-radius: 19px; overflow: hidden; background: linear-gradient(140deg,#23241ed9,#141712 42%,#0e110e); box-shadow: 0 28px 70px #0005,inset 0 1px #f0d19d0d; }
.dex-console__bar { display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; border-bottom: 1px solid #d7c49316; background: #b19c6c04; }
.dex-console__brand { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--font-display); letter-spacing: .12em; color: #e6ddca; }
.dex-console__brand img { width: 22px; height: 22px; object-fit: contain; }
.dex-console__brand b { color: #a99267; font-size: 9px; font-weight: 400; }
.dex-console__preview { font-size: 8px; letter-spacing: .12em; color: #b6aa92; padding: 4px 7px; border: 1px solid #99866533; border-radius: 4px; }
.dex-console__workspace { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px 0; font-size: 8px; letter-spacing: .14em; color: #858f7e; }
.dex-console__workspace > span:first-child { display: flex; align-items: center; gap: 7px; }
.dex-console__workspace i { height: 5px; width: 5px; border-radius: 50%; background: #acc298; }
.dex-console__step { color: #bba47a; font-family: var(--font-display); }
.dex-demo { padding: 23px 26px 26px; min-height: 398px; }
.dex-demo[hidden] { display: none; }
.dex-demo__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.dex-demo__heading p { font-size: 9px; letter-spacing: .09em; color: #9d9e8a; margin-bottom: 6px; }
.dex-demo__heading h3 { font: 500 clamp(20px,2vw,28px)/1.15 var(--font-display); letter-spacing: -.04em; color: #e3dece; }
.dex-demo__glyph { font-size: 31px; font-family: var(--font-display); color: #c19b59; }
.dex-demo__search { display: flex; align-items: center; gap: 10px; padding: 12px; background: #0d100c; border: 1px solid #b39a6247; border-radius: 8px; color: #9a9f8d; font-size: 10px; }
.dex-demo__search svg { width: 16px; height: 16px; flex-shrink: 0; color: #c4a266; }
.dex-demo__search-tag { font: 500 8px var(--font-display); border: 1px solid #b39a622b; border-radius: 4px; padding: 2px 5px; margin-left: auto; }
.dex-demo__labels,.dex-demo__saved { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: .1em; color: #888e7c; margin: 20px 0 8px; }
.dex-demo__saved { margin: 12px 0 19px; padding: 10px 0; border-block: 1px solid #c1b48417; }
.dex-demo__saved > span:last-child { text-transform: none; letter-spacing: 0; color: #c4ad80; font-size: 10px; }
.dex-token { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-bottom: 1px solid #b3aa8015; }
.dex-token__icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border-radius: 50%; background: linear-gradient(145deg,#5e635544,#20251e); border: 1px solid #aab09b25; font: 500 24px var(--font-display); color: #c6d2b9; }
.dex-token__icon--sol { background: linear-gradient(145deg,#596e6044,#1a211a); color: #9fc7ab; }
.dex-token__icon--bnb { background: linear-gradient(145deg,#79613c66,#282318); color: #d6b472; }
.dex-token__name { display: grid; gap: 3px; }
.dex-token__name strong { font: 500 13px var(--font-display); color: #e3e2cf; }
.dex-token__name strong small { font-size: 10px; color: #959b85; font-weight: 400; }
.dex-token__name > small { font-size: 9px; color: #8c9581; }
.dex-token__chain { margin-left: auto; padding: 3px 7px; border-radius: 4px; color: #a6b196; border: 1px solid #a9b78320; font-size: 9px; }
.dex-token__arrow { color: #bca373; font-size: 16px; margin-left: 6px; }
.dex-token__spark { width: 82px; margin-left: auto; color: #bdab76; }
.dex-token__star { color: #c4a061; font-size: 15px; margin-left: 9px; }
.dex-demo__insight { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px; border-radius: 8px; background: #b9ab700a; border: 1px solid #b9ab7017; }
.dex-demo__insight-icon { font-size: 18px; color: #b8a477; }
.dex-demo__insight p { font-size: 10px; line-height: 1.7; color: #a5aa95; }
.dex-chart-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.dex-chart-tile { border: 1px solid #a3a87526; border-radius: 8px; overflow: hidden; color: #c2ab74; background: #0d110c; padding: 12px 10px 0; }
.dex-chart-tile:nth-child(2) { color: #8da88b; }
.dex-chart-tile:nth-child(2) .dex-chart { transform: scaleY(.75); }
.dex-chart-tile:nth-child(3) .dex-chart { transform: scaleX(-1); color: #b29364; }
.dex-chart-tile > div { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 10px; }
.dex-chart-tile strong { font: 500 10px var(--font-display); color: #c1c6ac; }
.dex-chart-tile > div > span { color: #6f7b64; font-size: 8px; }
.dex-chart { width: 100%; overflow: visible; }
.dex-chart__grid { stroke: #acb58812; stroke-width: 1; }
.dex-chart__line { stroke: currentColor; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.dex-token__spark .dex-chart__line { stroke-width: 1.2; }
.dex-token__spark .dex-chart__grid,.dex-token__spark .dex-chart__dot { display: none; }
.dex-chart-tile--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px; border-style: dashed; background: transparent; }
.dex-chart-tile--empty > span { color: #8c9979; font-size: 24px; }
.dex-chart-tile--empty p { font-size: 9px; color: #7d8a6d; text-align: center; }
.dex-console__foot { display: flex; align-items: center; gap: 9px; padding: 13px 26px; background: #080c0850; border-top: 1px solid #c1b58b17; }
.dex-console__foot p { font-size: 9px; color: #949a85; line-height: 1.5; }
.dex-console__signal { display: flex; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.dex-console__signal i { width: 2px; height: 4px; background: #b7a470; }.dex-console__signal i:nth-child(2) { height: 7px; }.dex-console__signal i:nth-child(3) { height: 10px; }.dex-console__signal i:nth-child(4) { height: 13px; }
.dex-showcase__hint { position: relative; text-align: center; color: #999d89; font-size: 10px; margin-top: 20px; }.dex-showcase__hint span { color: #c6a269; margin-right: 7px; }
.dex-showcase__footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #c6ae781c; color: #8a917e; font-size: 10px; }.dex-showcase__footer > span:last-child { font-size: 8px; letter-spacing: .12em; }.dex-showcase__footer b { color: #ba975b; margin-left: 18px; font-size: 14px; }
@keyframes dex-beacon { 0%,100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@media (max-width: 1000px) { .dex-showcase__layout { gap: 30px; }.dex-showcase__action { flex-wrap: wrap; gap: 10px; }.dex-showcase__action p { max-width: none; }.dex-demo { padding-inline: 18px; }.dex-console__workspace { padding-inline: 18px; }.dex-token__chain { display: none; }.dex-token__arrow { margin-left: auto; } }
@media (max-width: 760px) {
  .dex-showcase__masthead { margin-bottom: 30px; }.dex-showcase__edition { display: none; }
  .dex-showcase__layout { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .dex-showcase__copy h2 { font-size: clamp(35px,8.5vw,56px); }.dex-showcase__intro { max-width: 560px; }
  .dex-showcase__tabs { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .dex-feature { display: flex; flex-direction: column; padding: 13px 10px; gap: 9px; border-color: #b8914b23; }
  .dex-feature strong { font-size: 12px; }.dex-feature__description,.dex-feature > svg { display: none; }
  .dex-showcase__visual { padding-top: 0; }.dex-orbit { inset: -12px -10px 20px; }
  .dex-demo { min-height: 398px; }.dex-demo__heading h3 { font-size: 24px; }.dex-token__chain { display: block; }
  .dex-showcase__hint span { display: inline-block; transform: rotate(45deg); }.dex-showcase__footer { margin-top: 36px; flex-direction: column; gap: 12px; }
}
@media (max-width: 390px) { .dex-console__bar { padding-inline: 16px; }.dex-demo { padding-inline: 16px; }.dex-demo__search { font-size: 9px; gap: 7px; }.dex-demo__search-tag { display: none; }.dex-token__chain { display: none; }.dex-demo__heading h3 { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .dex-orbit i { animation: none; }.dex-showcase *, .dex-showcase *::before, .dex-showcase *::after { transition: none !important; } }
