/* ==========================================================================
   SmartBinaryTrade — landing page & auth screens
   ========================================================================== */
:root { --wrap: 1180px; --home-header: 72px; }
body.site { background: var(--bv-page); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; z-index: 3000; background: var(--bv-primary); color: #fff; padding: .5rem 1rem; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
.btn-mint { --bs-btn-color: #fff; --bs-btn-bg: var(--bv-primary); --bs-btn-border-color: var(--bv-primary); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--bv-primary-dark); --bs-btn-hover-border-color: var(--bv-primary-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--bv-primary-dark); --bs-btn-active-border-color: var(--bv-primary-dark); box-shadow: 0 8px 22px rgba(var(--bv-primary-rgb), .25); }
.btn-ghost { --bs-btn-color: var(--bv-text); --bs-btn-border-color: var(--bv-border); --bs-btn-bg: var(--bv-card); --bs-btn-hover-color: var(--bv-text); --bs-btn-hover-bg: var(--bv-surface-2); --bs-btn-hover-border-color: var(--bv-border); --bs-btn-active-bg: var(--bv-surface-2); --bs-btn-active-color: var(--bv-text); }
.btn span[aria-hidden] { display: inline-block; transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--bv-page) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--bv-border); background: color-mix(in srgb, var(--bv-card) 92%, transparent); }
.site-nav { height: var(--home-header); display: flex; align-items: center; gap: 1.5rem; }
.site-nav .links { display: flex; align-items: center; gap: 1.6rem; margin-left: 1.5rem; }
.site-nav .links a { color: var(--bv-muted); font-weight: 600; font-size: 14.5px; }
.site-nav .links a:hover { color: var(--bv-text); }
.site-nav .end { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--bv-border); background: var(--bv-card); color: var(--bv-text); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.mobile-menu { display: none; }
@media (max-width: 991.98px) {
  .site-nav .links { display: none; }
  .mobile-menu.open { display: block; position: absolute; top: var(--home-header); left: 0; right: 0; background: var(--bv-card); border-bottom: 1px solid var(--bv-border); padding: .75rem 1.25rem 1.25rem; box-shadow: var(--bv-shadow-lg); }
  .mobile-menu a { display: block; padding: .65rem 0; color: var(--bv-text); font-weight: 600; border-bottom: 1px solid var(--bv-border); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 4.5rem 0 4rem; min-height: min(46rem, 86vh); display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(60rem 30rem at 85% 20%, rgba(var(--bv-primary-rgb), .16), transparent 60%),
    radial-gradient(40rem 26rem at 10% 90%, rgba(var(--bv-primary-rgb), .08), transparent 60%); }
.hero-art svg { position: absolute; right: -4%; bottom: 0; width: 64%; height: 86%; opacity: .95; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--bv-border) 1px, transparent 1px), linear-gradient(90deg, var(--bv-border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); opacity: .45; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-bottom: 1.1rem; }
.hero h1 span { display: block; color: var(--bv-primary); }
.hero .lede { font-size: 1.12rem; color: var(--bv-muted); max-width: 33rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.hero-feature { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem; border-radius: 14px; background: color-mix(in srgb, var(--bv-card) 88%, transparent); border: 1px solid var(--bv-border); height: 100%; backdrop-filter: blur(6px); }
.hero-feature i { font-size: 20px; color: var(--bv-primary); background: var(--bv-primary-soft); width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-feature strong { display: block; font-size: 14px; }
.hero-feature span { display: block; font-size: 12.5px; color: var(--bv-muted); }
.hero-in { opacity: 0; transform: translateY(14px); animation: heroIn .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero-in:nth-child(2) { animation-delay: .08s; } .hero-in:nth-child(3) { animation-delay: .16s; } .hero-in:nth-child(4) { animation-delay: .24s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.live-card { position: relative; border-radius: 20px; background: var(--bv-card); border: 1px solid var(--bv-border); box-shadow: var(--bv-shadow-lg); padding: 1.1rem; max-width: 440px; margin-left: auto; }
.live-card .lc-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.live-card .lc-head img { width: 28px; }
.live-card .lc-px { font-family: var(--bv-font-head); font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; }
.live-card .lc-px b { color: var(--bv-primary); }
.live-card svg { width: 100%; height: 150px; display: block; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bv-success); box-shadow: 0 0 0 4px rgba(var(--bv-success-rgb), .18); display: inline-block; }
.mini-digits { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-top: .75rem; }
.mini-digits span { text-align: center; padding: 6px 0; border-radius: 8px; background: var(--bv-surface-2); font-weight: 700; font-size: 13px; border: 1.5px solid var(--bv-border); transition: all .2s; }
.mini-digits span.on { background: var(--bv-primary); color: #fff; border-color: var(--bv-primary); }
.float-chip { position: absolute; padding: .55rem .8rem; border-radius: 12px; background: var(--bv-card); border: 1px solid var(--bv-border); box-shadow: var(--bv-shadow); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: .45rem; animation: floaty 5s ease-in-out infinite; }
.float-chip i { color: var(--bv-primary); font-size: 16px; }
.float-chip.c1 { left: -28px; top: 34%; }
.float-chip.c2 { right: -16px; bottom: -18px; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) { .hero { padding: 2.5rem 0 3rem; } .hero-art svg { width: 100%; opacity: .35; } .live-card { margin: 1.5rem auto 0; } .float-chip.c1 { left: 6px; top: -14px; } }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bv-card); border-top: 1px solid var(--bv-border); border-bottom: 1px solid var(--bv-border); }
.kicker { display: inline-flex; align-items: center; gap: .4rem; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--bv-primary); margin-bottom: .6rem; }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; font-weight: 800; }
.section .sub { color: var(--bv-muted); font-size: 1.05rem; max-width: 40rem; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal, .hero-in { opacity: 1 !important; transform: none !important; transition: none; animation: none; } }

.desk-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bv-surface-2); border: 1px solid var(--bv-border); margin-bottom: 1.25rem; }
.desk-tab { border: 0; background: transparent; padding: .45rem 1.1rem; border-radius: 9px; font-weight: 700; color: var(--bv-muted); }
.desk-tab.is-on { background: var(--bv-primary); color: #fff; }
.trade-walk { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.trade-walk-item { width: 100%; display: flex; gap: .9rem; align-items: flex-start; text-align: left; padding: 1rem; border-radius: 14px; border: 1.5px solid var(--bv-border); background: var(--bv-card); color: var(--bv-text); transition: var(--bv-trans); }
.trade-walk-item strong { display: block; font-size: 15px; }
.trade-walk-item span span, .trade-walk-item > span:last-child > span { color: var(--bv-muted); font-size: 13.5px; }
.trade-walk-item.is-on { border-color: var(--bv-primary); box-shadow: 0 10px 26px rgba(var(--bv-primary-rgb), .12); }
.trade-walk-num { width: 30px; height: 30px; border-radius: 50%; background: var(--bv-surface-2); color: var(--bv-text); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.trade-walk-item.is-on .trade-walk-num { background: var(--bv-primary); color: #fff; }
.trade-shot { border-radius: 20px; background: var(--bv-card); border: 1px solid var(--bv-border); box-shadow: var(--bv-shadow-lg); padding: 1.1rem; }
.tw-bar { display: flex; align-items: center; gap: .6rem; padding-bottom: .8rem; margin-bottom: .8rem; border-bottom: 1px solid var(--bv-border); font-weight: 700; }
.tw-bar img { width: 26px; }
.tw-desk-tag { margin-left: auto; font-size: 11.5px; padding: .2rem .6rem; border-radius: 99px; background: var(--bv-primary-soft); color: var(--bv-primary); }
.tw-region { border-radius: 12px; padding: .65rem; border: 1.5px dashed transparent; transition: all .25s; margin-bottom: .5rem; }
.tw-region.is-lit { border-color: var(--bv-primary); background: rgba(var(--bv-primary-rgb), .04); }
.tw-contracts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--bv-surface-2); border-radius: 10px; }
.tw-contracts span { text-align: center; padding: .4rem .2rem; border-radius: 8px; font-size: 12.5px; font-weight: 700; color: var(--bv-muted); }
.tw-contracts span.is-on { background: var(--bv-primary); color: #fff; }
.tw-digits { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.tw-digits span { text-align: center; padding: 6px 0; border-radius: 8px; background: var(--bv-surface-2); font-weight: 700; font-size: 13px; }
.tw-digits span.on { background: var(--bv-primary); color: #fff; }
.tw-label { font-size: 12px; color: var(--bv-muted); font-weight: 600; margin-bottom: .35rem; }
.tw-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: .45rem; }
.tw-chips span { flex: 1; text-align: center; padding: .3rem; border-radius: 8px; border: 1px solid var(--bv-border); font-size: 12.5px; font-weight: 600; }
.tw-chips span.is-on { background: var(--bv-primary); color: #fff; border-color: var(--bv-primary); }
.tw-stake { text-align: center; padding: .45rem; border-radius: 10px; border: 1px solid var(--bv-border); font-weight: 800; font-family: var(--bv-font-head); }
.tw-row { display: flex; justify-content: space-between; padding: .3rem 0; font-size: 13.5px; }
.tw-row span { color: var(--bv-muted); }
.tw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.tw-actions span { text-align: center; padding: .7rem; border-radius: 12px; color: #fff; font-weight: 800; font-family: var(--bv-font-head); }
.tw-actions .a { background: var(--bv-success); } .tw-actions .b { background: var(--bv-danger); }

.step-card { height: 100%; padding: 1.5rem; border-radius: 18px; background: var(--bv-card); border: 1px solid var(--bv-border); position: relative; overflow: hidden; }
.step-card .num { font-family: var(--bv-font-head); font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--bv-primary); line-height: 1; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.15rem; }
.step-card p { color: var(--bv-muted); margin: 0; }

.market-card { height: 100%; border-radius: 20px; overflow: hidden; background: var(--bv-card); border: 1px solid var(--bv-border); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; color: var(--bv-text); }
.market-card:hover { transform: translateY(-4px); box-shadow: var(--bv-shadow-lg); color: var(--bv-text); }
.market-art { height: 170px; position: relative; background: linear-gradient(135deg, #151922, #080B12); overflow: hidden; }
.market-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.market-art .tag { position: absolute; left: 1rem; top: 1rem; font-size: 11.5px; font-weight: 700; color: #fff; padding: .25rem .6rem; border-radius: 99px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.market-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.market-body h3 { font-size: 1.25rem; margin: 0; }
.market-body p { color: var(--bv-muted); margin: 0; flex: 1; }
.market-body .go { font-weight: 700; color: var(--bv-primary); }

.practice { border-radius: 26px; background: linear-gradient(120deg, #151922 0%, #1c0b0e 60%, #3a0507 100%); color: #fff; padding: 3rem; position: relative; overflow: hidden; }
.practice h2 { color: #fff; }
.practice p { color: rgba(255, 255, 255, .75); }
.practice .gift { position: relative; width: 100%; max-width: 300px; margin: 0 auto; }
.practice .gift svg { width: 100%; height: auto; filter: drop-shadow(0 22px 40px rgba(249, 11, 11, .35)); }
@media (max-width: 767.98px) { .practice { padding: 2rem 1.5rem; } }

.faq .accordion-item { background: var(--bv-card); border: 1px solid var(--bv-border); border-radius: 14px !important; overflow: hidden; margin-bottom: .6rem; }
.faq .accordion-button { background: var(--bv-card); color: var(--bv-text); font-weight: 700; font-family: var(--bv-font-head); font-size: 1.02rem; box-shadow: none; gap: .8rem; }
.faq .accordion-button:not(.collapsed) { color: var(--bv-primary); background: var(--bv-card); }
.faq .accordion-button::after { filter: grayscale(1); }
.faq .accordion-body { color: var(--bv-muted); padding-top: 0; }
.faq .q-num { font-size: 12px; color: var(--bv-muted); font-weight: 700; min-width: 22px; }

.cta { position: relative; overflow: hidden; border-radius: 26px; padding: 3.5rem 2rem; text-align: center; background: var(--bv-primary); color: #fff; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 18rem at 10% 0%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(30rem 16rem at 100% 100%, rgba(0, 0, 0, .25), transparent 60%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); }
.cta .btn-light { color: var(--bv-primary); font-weight: 800; }

.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--bv-border); background: var(--bv-card); }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--bv-muted); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer li a { color: var(--bv-text); font-weight: 500; }
.site-footer li a:hover { color: var(--bv-primary); }
.site-footer .blurb { color: var(--bv-muted); max-width: 26rem; }
.footer-bottom { border-top: 1px solid var(--bv-border); margin-top: 2.5rem; padding-top: 1.25rem; color: var(--bv-muted); font-size: 13px; }

/* ---------- Legal ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--bv-muted); }
.legal-toc a { display: inline-block; margin: 0 .5rem .5rem 0; }


/* Small phones: keep the public header on one line */
@media (max-width: 420px) {
  .site-nav { gap: .5rem; }
  .site-nav .bv-wordmark { font-size: 16px; gap: .4rem; }
  .site-nav .bv-mark { width: 28px; height: 28px; }
  .site-nav .end { gap: .35rem; }
  .site-nav .end .btn { padding: .45rem .75rem; font-size: 13px; }
  .site-nav .icon-btn { width: 36px; height: 36px; }
}
