:root {
  --brand: #2242ff;
  --brand-dark: #17235f;
  --ink: #141414;
  --muted: #5b5f66;
  --surface: #f5f6f8;
  --line: #e6e8ec;
  --white: #ffffff;
  --radius: 24px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@keyframes bz-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes bz-marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
#bzPage{
/* ============================================================================
   Baazex — company pages (About / Contact / Why Us / MT5)
   Plain CSS, no framework. Brand: #2242ff blue · #141414 dark · white.
   ========================================================================== */



*{ box-sizing: border-box; margin: 0; padding: 0; }

&{ font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 600; font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, background .2s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #1b37e0; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #eceef3; color: var(--ink); }

/* ---------- Header — stocks-page style: transparent, floating glass pills ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; }
.site-header .container { height: 75px; }
.site-header .logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 20px; font-weight: 500; font-size: 16px;
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background .25s ease, transform .25s ease;
}
.nav a:hover { background: #fff; transform: translateY(-1px); }
.nav a.active { background: #fff; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .lang {
  padding: 10px 15px; border-radius: 20px; font-weight: 500; color: var(--ink);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.menu-toggle {
  display: none; border: 0; font-size: 22px; cursor: pointer; color: var(--ink);
  background: rgba(255,255,255,.55); border-radius: 14px; width: 46px; height: 38px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { color: var(--brand); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; line-height: 1.1; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.grey { color: #9aa0aa; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { font-size: 21px; font-weight: 650; letter-spacing: -.01em; }
.card p { color: var(--muted); margin-top: 10px; }
.icon-badge { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--brand), #6f83ff);
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.split p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.split .media { border-radius: var(--radius); overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA band ---------- */
.cta-band { background: radial-gradient(140% 130% at 78% 42%, #2a48ff 0%, #17235f 46%, #0a0f2e 100%);
  color: #fff; border-radius: 40px; padding: 64px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em; }
.cta-band p { color: #c9ccd6; margin-top: 12px; font-size: 18px; }
.cta-band .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.store-badges img { height: 46px; width: auto; }

/* ---------- FAQ (native details) ---------- */
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); padding: 0 0 20px; font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 22px; background: var(--white); font-weight: 500; }
.step-n { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-cols h4 { font-size: 15px; font-weight: 650; margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-cols a:hover { color: var(--brand); }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: #e3e6ec; display: flex; align-items: center; justify-content: center; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 24px; color: #8a8f98; font-size: 12px; line-height: 1.6; }
.footer-legal strong { color: var(--muted); }

/* ============================================================================
   Creative layer — light hero, animations, marquee, story slides, dark bands
   ========================================================================== */

/* Scroll-reveal (pages.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .22s; }
.reveal.d3 { transition-delay: .34s; } .reveal.d4 { transition-delay: .46s; }

/* Light hero with designer artwork (market-page style) */
.hero-light { background-size: cover; background-position: center top; padding: 130px 0 150px; position: relative; color: var(--ink); }
.hero-light::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.62) 45%, rgba(255,255,255,.05) 75%); }
.hero-light .container { position: relative; z-index: 2; }
.hero-light h1 { font-size: clamp(40px, 6.6vw, 76px); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.hero-light p { max-width: 520px; margin: 20px 0 30px; font-size: clamp(15px,2vw,19px); color: var(--muted); }
.hero-light .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.hero-light .crumbs b { color: var(--ink); font-weight: 600; }

/* Idle float */

.float { animation: bz-float 5.5s ease-in-out infinite; }

/* Instrument marquee strip */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: bz-marquee 28s linear infinite; }

.marquee span { font-weight: 600; font-size: 14px; white-space: nowrap; opacity: .9; }
.marquee b { color: #6f83ff; font-weight: 600; }

/* Big statement (why-rise style) */
.statement { text-align: center; padding: 110px 0; }
.statement h2 { font-size: clamp(30px, 5vw, 58px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }

/* Tall visual cards */
.big-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.big-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 460px; display: flex; align-items: flex-end; }
.big-card img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.big-card:hover img.bg { transform: scale(1.05); }
.big-card .cap { position: relative; z-index: 2; padding: 26px 28px; color: #fff; width: 100%;
  background: linear-gradient(180deg, rgba(10,15,46,0) 0%, rgba(10,15,46,.82) 70%); }
.big-card .cap h3 { font-size: 22px; }
.big-card .cap p { color: #c9ccd6; margin-top: 6px; font-size: 15px; }

/* Feature cards with designer square art (forex style) */
.sq-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sq-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; }
.sq-card img { width: 100%; height: 100%; object-fit: cover; }
.sq-card .txt { padding: 30px 30px 26px; display: flex; flex-direction: column; justify-content: space-between; }
.sq-card h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; }
.sq-card p { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Story slides */
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.story figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.story img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story figcaption { padding: 18px 22px 24px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(30px,4vw,46px); font-weight: 700; letter-spacing: -.02em; color: var(--brand); }
.stat span { color: var(--muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; display: flex; gap: 16px;
  align-items: flex-start; background: var(--white); margin-bottom: 14px; }
.contact-card .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), #6f83ff); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-card h3 { font-size: 17px; }
.contact-card p, .contact-card a.link { color: var(--muted); font-size: 14.5px; margin-top: 4px; display: block; }
.contact-card a.link:hover { color: var(--brand); }
.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--white); }
.form-card label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 6px; }
.form-card input, .form-card textarea, .form-card select { width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; background: var(--surface); outline: none; transition: border-color .2s; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--brand); background: #fff; }
.form-note { font-size: 12.5px; color: #8a8f98; margin-top: 12px; }

/* Dark band with phone artwork */
.dark-band { border-radius: 40px; overflow: hidden; position: relative; color: #fff; background-size: cover; background-position: center;
  padding: 64px 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.dark-band h2 { font-size: clamp(28px,4vw,46px); font-weight: 700; line-height: 1.05; }
.dark-band p { color: #c9ccd6; margin: 14px 0 24px; }
.dark-band .art { display: flex; justify-content: center; }
.dark-band .art img { max-width: 82%; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .big-cards, .story, .sq-cards { grid-template-columns: 1fr; }
  .split, .contact-grid, .dark-band { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-light { padding: 90px 0 100px; }
  .hero-light::before { background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 60%, rgba(255,255,255,.3) 100%); }
  .sq-card { grid-template-columns: 1fr; }
  .sq-card img { aspect-ratio: 16/10; }
}
@media (max-width: 640px) {
  .nav, .header-cta .lang { display: none; }
  .menu-toggle { display: block; }
  .section { padding: 60px 0; }
  .cta-band, .dark-band { padding: 44px 24px; border-radius: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* MOBILE hero framing for company pages: the ring artwork sits right of
   center, so bias the crop right on phones. mt5.html sets its own inline
   background-position and is unaffected. Desktop untouched. */
@media (max-width: 767px) {
  .hero-light { background-position: 72% center; }
}

/* MOBILE scroll stability */
@media (max-width: 767px) {
  html, body { overflow-x: clip; }
}

/* Canonical header: logo left, centered pill nav, CTAs right (matches the
   home/market pages), plus a Trade dropdown. */
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.site-header .logo { justify-self: start; }
.nav { justify-self: center; }
.header-cta { justify-self: end; }
.nav .has-menu { position: relative; display: inline-block; }
.nav .has-menu > a::after { content: " \25BE"; font-size: 10px; opacity: .55; }
.nav .menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px;
  display: none; min-width: 200px; box-shadow: 0 12px 40px rgba(20,20,20,.10); z-index: 60; }
.nav .has-menu:hover .menu, .nav .has-menu:focus-within .menu { display: block; }
.nav .menu a { display: block; padding: 8px 12px; border-radius: 10px; font-weight: 500; }
.nav .menu a:hover { background: #eceef3; }
@media (max-width: 640px) { .nav .menu { position: static; transform: none; box-shadow: none; border: 0; } }

}
/* Guard against the compiled app CSS leaking layout into injected content */
#bzPage .container{display:block!important;width:100%}
#bzPage h1,#bzPage h2,#bzPage h3,#bzPage h4,#bzPage p,#bzPage figure{display:block}
#bzPage section{display:block}
#bzPage ul,#bzPage ol{list-style:none}

/* bz mobile hero center */
@media (max-width: 767px) {
  #bzPage .hero-light { background-position: center center !important; }
}

/* --- Trading Tools & Features Dropdown & Dark Page Overrides --- */
header nav button#bzNavTradingTools,
header nav a.bzNavA {
  transition: all 0.2s ease;
}
header nav a.bz-active,
header nav button.bz-active {
  color: #af2654 !important;
  font-weight: 700 !important;
}

/* Active Dark Mode Page Base Styles */
body.active-dark-mode,
.bz-dark-page {
  background-color: #0d0e0e !important;
  color: #ffffff !important;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.bz-dark-card {
  background: #13161b;
  border: 1px solid rgba(175, 38, 84, 0.25);
  border-radius: 20px;
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bz-dark-card:hover {
  transform: translateY(-4px);
  border-color: #af2654;
  box-shadow: 0 12px 30px rgba(175, 38, 84, 0.2);
}

.bz-pink-badge {
  background: rgba(175, 38, 84, 0.15);
  color: #ff3b75;
  border: 1px solid rgba(175, 38, 84, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Sentiment Table Progress Bars */
.bz-ratio-container {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}
.bz-ratio-text {
  font-size: 13px;
  font-weight: 600;
  color: #adb5bd;
  min-width: 36px;
}
.bz-progress-bar-wrap {
  flex: 1;
  height: 10px;
  background: #2e323c;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}
.bz-progress-red {
  background: linear-gradient(90deg, #f93232, #ff6b6b);
  height: 100%;
}
.bz-progress-green {
  background: linear-gradient(90deg, #01bc6f, #00e396);
  height: 100%;
}

/* Dark Table Styles */
.bz-dark-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}
.bz-dark-table th {
  padding: 14px 18px;
  color: #8ea2ff;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.bz-dark-table td {
  padding: 16px 18px;
  background: #181c24;
  color: #ffffff;
  font-size: 15px;
  vertical-align: middle;
}
.bz-dark-table tr td:first-child {
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.bz-dark-table tr td:last-child {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.bz-dark-table tr:hover td {
  background: #202632;
}

/* Form Controls for Partnerships */
.bz-dark-form input,
.bz-dark-form select,
.bz-dark-form textarea {
  width: 100%;
  background: #181c24;
  border: 1px solid #2e3545;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}
.bz-dark-form input:focus,
.bz-dark-form select:focus,
.bz-dark-form textarea:focus {
  border-color: #af2654;
  box-shadow: 0 0 0 3px rgba(175, 38, 84, 0.25);
}
.bz-dark-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #c7c7d5;
  margin-bottom: 6px;
  margin-top: 14px;
}
