/* Landing v2: centered hero, green primary CTA, dark secondary button, burger menu on every width. */
:root { --lp-cta: #4fae5c; --lp-cta-2: #43a051; --lp-up: #4fae5c; --lp-bg: #111827; --lp-header: 76px; }
body.lp { background: #0f1422; }

/* buttons */
.lp-btn--blue { color: #fff; background: var(--lp-cta); box-shadow: 0 8px 26px rgba(79, 174, 92, .28); border-radius: 8px; }
.lp-btn--dark { color: #fff; background: #262c3f; border-radius: 8px; box-shadow: none; }
.lp-btn--blue:hover { background: var(--lp-cta-2); box-shadow: 0 12px 30px rgba(79, 174, 92, .38); transform: translateY(-1px); }
.lp-btn--dark:hover { background: #30374d; transform: translateY(-1px); }
.lp-btn--xl { min-height: 64px; padding: 0 56px; font-size: 20px; border-radius: 10px; }

/* header */
.lp-header { background: rgba(17, 24, 39, .9); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lp-header__inner { gap: 16px; }
.lp-brand__mark { background: none; box-shadow: none; width: 44px; height: 44px; }
.lp-brand__mark img { width: 44px; height: 44px; }
.lp-actions { margin-left: auto; gap: 12px; }
.lp-actions .lp-btn { min-width: 0; min-height: 46px; padding: 0 28px; font-size: 18px; font-weight: 700; }
.lp-burger { display: flex; border: 0; background: none; width: 48px; }
.lp-burger span { width: 28px; height: 3px; }
.lp-nav { position: absolute; top: var(--lp-header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 24px 18px; background: #111827; border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 50px rgba(0, 0, 0, .45); display: none; z-index: 60; }
.lp-nav.is-open { display: flex; }
.lp-nav a { padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 17px; }
.lp-nav a::after { display: none; }

/* hero */
.lp-hero { padding: 64px 0 56px; background: linear-gradient(180deg, #17243a 0%, #131c30 45%, #0f1422 100%); }
.lp-hero::before { opacity: .12; -webkit-mask-image: linear-gradient(#000, transparent 70%); mask-image: linear-gradient(#000, transparent 70%); }
.lp-hero__glow { display: none; }
.lp-hero__center { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-hero__center h1 { max-width: 900px; margin: 0; font-size: clamp(36px, 6vw, 68px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.lp-hero__sub { max-width: 640px; margin-top: 28px; color: #b4bccb; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.7; }
.lp-hero__center .lp-btn--xl { margin-top: 36px; }
.lp-hero__note { max-width: 640px; margin-top: 30px; font-size: 18px; line-height: 1.5; color: #e7ebf3; }

/* trading room card */
.lp-hero__visual { width: min(920px, 100%); margin-top: 52px; padding: 0; text-align: left; }
.lp-terminal { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .07); background: #161b2b; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); transform: none; }
.lp-hero__visual:hover .lp-terminal { transform: none; }
.lp-terminal__bar { gap: 12px; height: 56px; }
.lp-pair { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 8px; background: #20263a; font-size: 14px; }
.lp-pair i { font-style: normal; font-weight: 800; color: #ff9f2e; }
.lp-terminal__bal { margin-left: auto; align-items: flex-end; }
.lp-terminal__bal small { display: flex; margin-bottom: 2px; }
.lp-dep { padding: 8px 14px; border-radius: 6px; background: var(--lp-up); color: #fff; font-size: 13px; font-weight: 800; }
.lp-terminal__body { grid-template-columns: minmax(0, 1fr) 190px; min-height: 380px; }
.lp-chart__head em { color: #6fb7ff; }
.lp-result { position: absolute; left: 38%; bottom: 52px; display: flex; flex-direction: column; padding: 9px 14px; border-radius: 6px; background: var(--lp-up); font-size: 11px; font-weight: 700; line-height: 1.3; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.lp-result b { font-size: 15px; }
.lp-order__btn--up { background: var(--lp-up); border-radius: 6px; }
.lp-order__btn--down { background: #d9472f; border-radius: 6px; }
.lp-order label { border-radius: 6px; }

/* sections */
.lp-head h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.02em; }
.lp-final .lp-btn--blue, .lp-cta .lp-btn--blue { border-radius: 8px; }

@media (max-width: 600px) {
  .lp-header__inner { width: calc(100% - 28px); gap: 8px; }
  .lp-brand__word { display: none; }
  .lp-actions .lp-btn { padding: 0 20px; font-size: 17px; }
  .lp-hero { padding-top: 48px; }
  .lp-btn--xl { width: 100%; max-width: 420px; padding: 0 20px; min-height: 62px; font-size: 20px; }
  .lp-terminal__body { grid-template-columns: minmax(0, 1fr) 128px; min-height: 320px; }
  .lp-terminal__brand { display: none; }
  .lp-result { left: 22%; }
  .lp-dep { padding: 7px 10px; }
}


/* ===== realistic trading-room preview ===== */
.lp-terminal { background: #1a1d2b; border-radius: 12px; overflow: hidden; }
.lp-terminal__bar { height: 54px; padding: 0 12px; gap: 10px; background: #1a1d2b; border-bottom: 1px solid rgba(255,255,255,.05); }
.lp-menu { display: grid; gap: 4px; place-content: center; width: 34px; height: 34px; border-radius: 8px; background: #fff; }
.lp-menu i { display: block; width: 14px; height: 2px; background: #1a1d2b; }
.lp-pair { gap: 8px; padding: 0 12px; height: 34px; background: #262a3b; border-radius: 8px; font-size: 13px; }
.lp-pair svg { width: 10px; height: 7px; fill: none; stroke: #fff; stroke-width: 1.6; }
.lp-flags { position: relative; width: 24px; height: 18px; }
.lp-flags u { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #262a3b; }
.lp-flags u:first-child { left: 0; top: 0; background: linear-gradient(#2a4a9b, #2a4a9b); }
.lp-flags u:last-child { left: 8px; top: 2px; background: repeating-linear-gradient(#d7263d 0 2px, #f5f5f5 2px 4px); }
.lp-bell { position: relative; margin-left: auto; display: grid; place-items: center; width: 40px; height: 34px; border-radius: 8px; background: #262a3b; }
.lp-bell svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.lp-bell em, .lp-case em { position: absolute; top: -5px; right: -3px; min-width: 16px; height: 16px; border-radius: 8px; background: #ee5a43; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.lp-acct { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 10px; border-radius: 8px; background: #262a3b; font-size: 13px; }
.lp-acct small { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #ffb340; }
.lp-acct b { font-size: 14px; font-variant-numeric: tabular-nums; }
.lp-gem { width: 14px; height: 14px; background: #a56bff; clip-path: polygon(50% 100%, 0 35%, 20% 0, 80% 0, 100% 35%); }
.lp-dep { border-radius: 6px; padding: 9px 14px; font-size: 13px; }
.lp-terminal__body { grid-template-columns: minmax(0, 1fr) 190px; min-height: 0; background: #1a1d2b; }
.lp-chart { height: 360px; padding: 0; border-right: 0; background: #1a1d2b; overflow: hidden; }
.lp-chart svg { position: absolute; inset: 0 0 24px 0; width: 100%; height: calc(100% - 24px); margin: 0; }
.lp-chart__grid path { stroke: rgba(255,255,255,.05); }
.lp-chart__line { stroke: #3d7cf0; stroke-width: 2; }
.lp-chart__dot { fill: #1a1d2b; stroke: #5bd06a; stroke-width: 2.5; }
.lp-chart__dash { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.lp-chart__dash--v { stroke: rgba(255,255,255,.4); }
.lp-tools { position: absolute; z-index: 2; left: 10px; top: 12px; display: grid; gap: 8px; }
.lp-tools span { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #262a3b; color: #fff; font-size: 14px; font-weight: 800; }
.lp-case em { background: #2f7bff; }
.lp-clock { position: absolute; z-index: 2; left: 58px; top: 14px; line-height: 1.2; font-size: 11px; color: #8f97ad; text-align: left; }
.lp-clock b { display: block; font-weight: 500; font-size: 12px; color: #c8cede; font-variant-numeric: tabular-nums; }
.lp-vlab { position: absolute; top: 18%; font-size: 10px; line-height: 1.25; color: #8f97ad; text-align: right; }
.lp-vlab--a { left: calc(50% - 64px); }
.lp-vlab--b { left: calc(75% - 38px); }
.lp-result { left: calc(50% + 14px); bottom: auto; border-radius: 4px; background: var(--lp-up); padding: 8px 12px; font-size: 10px; text-transform: none; transition: top .6s ease; }
.lp-badge { position: absolute; right: 0; transform: translateY(-50%); padding: 3px 9px; border-radius: 12px; background: #2f7bff; color: #fff; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transition: top .6s ease; z-index: 3; }
.lp-ylab { position: absolute; top: 0; bottom: 24px; right: 6px; display: flex; flex-direction: column; justify-content: space-around; text-align: right; font-size: 11px; color: #8f97ad; font-variant-numeric: tabular-nums; pointer-events: none; }
.lp-ylab i { font-style: normal; }
.lp-xlab { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; display: flex; justify-content: space-around; align-items: center; font-size: 11px; color: #8f97ad; }
.lp-xlab i { font-style: normal; }

.lp-order { gap: 12px; padding: 12px 14px; background: #1a1d2b; border-left: 1px solid rgba(255,255,255,.05); }
.lp-pending { display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 800; letter-spacing: .03em; color: #4d93ff; }
.lp-pending i { position: relative; width: 34px; height: 18px; border-radius: 9px; border: 1.5px solid #4d93ff; }
.lp-pending i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #4d93ff; }
.lp-field { position: relative; display: flex; flex-direction: column; justify-content: center; height: 52px; margin-top: 4px; padding: 0 12px; border: 1px solid #5a6075; border-radius: 6px; }
.lp-field small { position: absolute; top: -8px; left: 8px; padding: 0 5px; background: #1a1d2b; font-size: 11px; color: #8f97ad; text-transform: none; letter-spacing: 0; }
.lp-field b { font-size: 15px; font-weight: 500; }
.lp-field em { position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); padding: 0 6px; background: #1a1d2b; font-style: normal; font-size: 10px; font-weight: 800; color: #4d93ff; }
.lp-order__btn { display: flex; justify-content: space-between; align-items: center; padding: 0 12px; min-height: 52px; font-size: 15px; font-weight: 700; }
.lp-order__btn svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.22); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-order__btn--up { margin-top: 6px; }
.lp-pay { text-align: center; line-height: 1.25; }
.lp-pay small { display: block; font-size: 11px; color: #8f97ad; text-transform: none; letter-spacing: 0; }
.lp-pay b { font-size: 13px; }

@media (max-width: 600px) {
  .lp-terminal__body { grid-template-columns: minmax(0, 1fr) 124px; }
  .lp-chart { height: 330px; }
  .lp-order { padding: 10px 8px; }
  .lp-menu, .lp-acct small, .lp-gem, .lp-flags { display: none; }
  .lp-pair { padding: 0 8px; }
  .lp-bell { margin-left: auto; }
  .lp-vlab { display: none; }
  .lp-result { left: 38%; }
  .lp-ylab { font-size: 9px; }
  .lp-clock { left: 54px; }
}
.lp-pair, .lp-pair b { white-space: nowrap; } @media (max-width:600px){ .lp-pair b { font-size: 12px; } .lp-pair i { font-size: 12px; } }

/* bigger logo */
:root { --lp-header: 88px; }
.lp-brand__mark { width: 68px; height: 68px; }
.lp-brand__mark img { width: 68px; height: 68px; }
.lp-brand__word { font-size: 30px; }
.lp-footer .lp-brand__mark, .lp-footer .lp-brand__mark img { width: 68px; height: 68px; }
@media (max-width: 600px) {
  :root { --lp-header: 80px; }
  .lp-brand__mark, .lp-brand__mark img { width: 58px; height: 58px; }
}
