@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #06070a; --bg2: #0b0d12; --panel: #10131a; --panel2: #151923; --line: #222838; --line2: #2c3447;
  --text: #eef1f7; --muted: #8b94a8; --gold: #e2b866; --gold2: #f5d79a; --green: #3ddc97; --red: #ff5d6c; --blue: #6ea8ff;
  --r: 16px; --shadow: 0 20px 60px -20px rgba(0,0,0,.7);
  --head: "Sora", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 15px/1.6 "Inter", system-ui, -apple-system, Segoe UI, sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
input, select, textarea, button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .center { text-align: center; } .pad { padding: 40px 0; }
.up { color: var(--green); } .down { color: var(--red); } .gold-t { color: var(--gold); }
.grad { background: linear-gradient(100deg, var(--gold2), var(--gold) 45%, #c08a3e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

/* demo banner */
.demo-banner { background: #2a2110; color: var(--gold2); font-size: .8rem; text-align: center; padding: 7px 16px; border-bottom: 1px solid #4a3a18; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6,7,10,.72); backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; height: 68px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.mark { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 210deg, var(--gold2), var(--gold), #8a5f22, var(--gold2)); position: relative; box-shadow: 0 0 20px rgba(226,184,102,.35); }
.mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg); transform: rotate(45deg); }
.links { display: flex; gap: 4px; flex: 1; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: .2s; }
.links a:hover, .links a.on { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 10px; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
@media (max-width: 860px) {
  .burger { display: flex; margin-left: auto; }
  .links, .nav-cta { display: none; }
  .nav.open .nav-in { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .links, .nav.open .nav-cta { display: flex; flex-direction: column; width: 100%; flex-basis: 100%; }
  .nav.open .nav-cta { padding-bottom: 6px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn.sm { padding: 8px 16px; font-size: .88rem; border-radius: 10px; }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #1a1204; box-shadow: 0 8px 30px -8px rgba(226,184,102,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.btn.gold:hover { transform: translateY(-1px); box-shadow: 0 12px 36px -8px rgba(226,184,102,.75), inset 0 1px 0 rgba(255,255,255,.4); }
.btn.ghost { border-color: var(--line2); background: rgba(255,255,255,.03); }
.btn.ghost:hover, .btn.ghost.on { border-color: var(--gold); color: var(--gold2); }
.btn.danger { border-color: #4a2228; color: var(--red); background: transparent; }

/* hero */
.hero { position: relative; padding: 110px 0 80px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px -10% auto; height: 700px; background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(226,184,102,.16), transparent 70%), radial-gradient(ellipse 30% 40% at 80% 20%, rgba(110,168,255,.08), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 22px auto 34px; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--line2); border-radius: 99px; background: rgba(255,255,255,.03); font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.pill b { background: rgba(61,220,151,.14); color: var(--green); padding: 2px 9px; border-radius: 99px; font-size: .75rem; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,151,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,151,0); } }

.hero-card { margin: 64px auto 0; max-width: 1040px; text-align: left; }

/* panels */
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); position: relative; }
.card.glow::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(226,184,102,.55), transparent 35%, transparent 70%, rgba(110,168,255,.3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.card-head h3 { display: flex; align-items: center; gap: 10px; }

section.block { padding: 90px 0; }
section.block.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.page-head { padding: 64px 0 34px; }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 680px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.stat .k { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stat .v { font-family: var(--head); font-size: 1.7rem; font-weight: 600; margin-top: 4px; letter-spacing: -.02em; }
.stat .s { font-size: .8rem; color: var(--muted); }
.stat.big { grid-column: span 2; } .stat.big .v { font-size: 2.2rem; }
@media (max-width: 420px) { .stat.big { grid-column: auto; } .stat.big .v { font-size: 1.7rem; } }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 22px; }
.hero-stats > div { background: var(--panel); padding: 18px 20px; }
.hero-stats .v { font-family: var(--head); font-size: 1.6rem; font-weight: 600; }
.hero-stats .k { font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* grids */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(226,184,102,.1); border: 1px solid rgba(226,184,102,.25); color: var(--gold); margin-bottom: 18px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); margin-top: 8px; }

.steps { counter-reset: s; }
.step { padding-left: 64px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 0; font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--gold); opacity: .8; }
.step p { color: var(--muted); margin-top: 6px; }

/* pricing */
.price-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px; }
.price { font-family: var(--head); font-size: 3rem; font-weight: 700; margin: 10px 0 4px; }
.ticks { list-style: none; text-align: left; margin: 26px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(61,220,151,.12); display: grid; place-items: center; font-size: .75rem; margin-top: 1px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; transition: .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin-top: 12px; }

/* charts */
.chart-wrap { position: relative; }
.chart { width: 100%; display: block; overflow: visible; }
.chart.small { height: 180px; }
.chart .grid { stroke: rgba(255,255,255,.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .grid.dashed { stroke-dasharray: 3 4; }
.chart .baseline { stroke: rgba(255,255,255,.25); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.chart .axis { fill: var(--muted); font-size: 12px; }
.chart .cross { stroke: rgba(255,255,255,.25); vector-effect: non-scaling-stroke; }
.tip { position: absolute; pointer-events: none; background: #1b2030; border: 1px solid var(--line2); border-radius: 10px; padding: 7px 12px; width: 140px; font-size: .8rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tip b { font-family: var(--head); font-size: .95rem; } .tip span { color: var(--muted); }


/* tables */
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.04); white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:hover td { background: rgba(255,255,255,.02); }
.tag { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: .74rem; font-weight: 600; }
.tag.buy { background: rgba(61,220,151,.12); color: var(--green); } .tag.sell { background: rgba(255,93,108,.12); color: var(--red); }
.tag.be { background: rgba(255,255,255,.07); color: var(--muted); } .tag.gold { background: rgba(226,184,102,.14); color: var(--gold2); }
table.months td, table.months th { text-align: center; padding: 9px 6px; font-size: .8rem; }
table.months td.yr { font-weight: 700; text-align: left; } table.months td.empty { color: #3a4152; }
table.months td.tot { font-weight: 700; }

/* forms */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .8rem; color: var(--muted); font-weight: 600; letter-spacing: .03em; }
.input, select.input, textarea.input { background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 11px 14px; outline: none; transition: .15s; width: 100%; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,184,102,.15); }
textarea.input { resize: vertical; min-height: 110px; }
.affix { position: relative; } .affix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); } .affix .input { padding-left: 30px; }
.affix.r span { left: auto; right: 14px; } .affix.r .input { padding-left: 14px; padding-right: 32px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; align-items: end; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line2); font-size: .82rem; cursor: pointer; background: transparent; color: var(--muted); transition: .15s; }
.chip:hover { color: var(--text); } .chip.on { border-color: var(--gold); color: var(--gold2); background: rgba(226,184,102,.08); }
.toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; padding: 3px; }
.toggle button { border: 0; background: none; padding: 6px 14px; border-radius: 7px; cursor: pointer; color: var(--muted); font-size: .85rem; font-weight: 500; }
.toggle button.on { background: var(--panel2); color: var(--text); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset; }
input[type=range] { accent-color: var(--gold); width: 100%; }

.pager { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 14px; color: var(--muted); font-size: .85rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 54px 0 34px; margin-top: 80px; background: var(--bg2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.foot-grid h5 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.foot-grid a:not(.logo) { display: block; color: var(--muted); padding: 3px 0; font-size: .9rem; } .foot-grid a:hover { color: var(--text); }
.foot-grid .logo + p { margin-top: 10px; font-size: .9rem; }
.risk { font-size: .78rem; color: #6c7488; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 14px; line-height: 1.7; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* dashboard */
.dash { display: grid; grid-template-columns: 230px 1fr; gap: 26px; padding-top: 34px; align-items: start; }
.side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 4px; }
.side button { text-align: left; background: none; border: 0; padding: 11px 14px; border-radius: 10px; color: var(--muted); cursor: pointer; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.side button:hover { color: var(--text); background: rgba(255,255,255,.03); }
.side button.on { background: var(--panel); color: var(--text); box-shadow: inset 2px 0 0 var(--gold); }
.side .who { padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #8a5f22); display: inline-grid; place-items: center; font-weight: 700; color: #1a1204; flex: none; font-size: .9rem; }
.avatar.team { background: linear-gradient(135deg, var(--blue), #3a5bb0); color: #fff; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } .side { position: static; flex-direction: row; overflow-x: auto; } .side .who { display: none; } .side button { white-space: nowrap; } }
.module { margin-bottom: 26px; }
.module h4 { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: inherit; transition: width .4s; }
.lesson { display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--panel); cursor: pointer; transition: .15s; }
.lesson:hover { border-color: var(--line2); }
.lesson .chk { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line2); flex: none; display: grid; place-items: center; margin-top: 1px; font-size: .75rem; }
.lesson.done .chk { background: var(--green); border-color: var(--green); color: #04150d; }
.lesson.done .t { color: var(--muted); }
.lesson .b { display: none; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.lesson.open .b { display: block; }
.update { padding: 20px 0; border-bottom: 1px solid var(--line); } .update:last-child { border: 0; }
.update h4 { margin: 8px 0 6px; } .update p { color: var(--muted); }

/* forum */
.thread-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); align-items: center; cursor: pointer; transition: .15s; }
.thread-row:hover { background: rgba(255,255,255,.02); }
.thread-row h4 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.thread-row .meta { font-size: .82rem; color: var(--muted); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.thread-row .cnt { text-align: center; color: var(--muted); font-size: .8rem; min-width: 64px; } .thread-row .cnt b { display: block; font-size: 1.1rem; color: var(--text); }
.topic-list button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; border-radius: 10px; cursor: pointer; color: var(--muted); }
.topic-list button:hover { background: rgba(255,255,255,.03); color: var(--text); }
.topic-list button.on { background: var(--panel2); color: var(--text); }
.topic-list button small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.post { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post:last-child { border: 0; }
.post .body { flex: 1; min-width: 0; }
.post .by { display: flex; gap: 10px; align-items: center; font-size: .88rem; margin-bottom: 8px; flex-wrap: wrap; }
.post .txt { white-space: pre-wrap; word-wrap: break-word; }
.post.team { background: linear-gradient(90deg, rgba(110,168,255,.06), transparent 60%); margin: 0 -26px; padding: 22px 26px; border-left: 2px solid var(--blue); }
.post img { max-width: 100%; border-radius: 10px; margin-top: 12px; border: 1px solid var(--line); }
.tag.team { background: rgba(110,168,255,.15); color: var(--blue); }
.tag.answered { background: rgba(61,220,151,.12); color: var(--green); }

/* login */
.login { max-width: 420px; margin: 80px auto; padding: 38px; }
.login h2 { font-size: 1.7rem; }

/* animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; } }
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg2); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-in { display: flex; gap: 40px; width: max-content; animation: tick 60s linear infinite; }
.ticker-in span { font-size: .88rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticker-in b { color: var(--text); font-weight: 600; margin-right: 6px; }
@keyframes tick { to { transform: translateX(-50%); } }
.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }
.grid2 > *, .grid3 > *, .dash > * { min-width: 0; }
