:root { color-scheme: dark; --bg: #071018; --surface: #0d1a25; --line: #1c3444; --text: #f2f7fa; --muted: #9db0bc; --cyan: #58d6d0; --blue: #6aa7ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 72% 0%, #12354a 0, transparent 38rem), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(88, 214, 208, .16); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 1.1rem; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #061017; font-weight: 900; }
.accent, .eyebrow, .text-link { color: var(--cyan); }
.header-link { color: var(--muted); font-size: .9rem; }
.header-link:hover, .text-link:hover { color: var(--text); }
.hero { max-width: 800px; padding: 112px 0 88px; }
.eyebrow, .card-label { margin: 0 0 14px; font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.8rem, 7vw, 5.7rem); line-height: .99; letter-spacing: -.065em; }
.hero-copy { max-width: 660px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 34px 0 24px; }
.button { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 12px 17px; font-weight: 750; font-size: .9rem; }
.button.primary { border-color: transparent; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #061017; }
.button.secondary { background: rgba(13, 26, 37, .75); color: var(--text); }
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.notice { color: #8199a6; font-size: .8rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { min-height: 270px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(18, 43, 57, .8), rgba(10, 20, 29, .86)); }
.card.featured { border-color: rgba(88, 214, 208, .55); }
.card-label { color: #80a7b7; }
.card h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -.03em; }
.card p:not(.card-label) { color: var(--muted); font-size: .93rem; }
.text-link { display: inline-block; margin-top: 22px; font-size: .88rem; font-weight: 750; }
.audience { padding: 120px 0 100px; }
.audience h2 { max-width: 540px; margin-bottom: 30px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; }
.audience-list { display: flex; flex-wrap: wrap; gap: 10px; }
.audience-list span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .85rem; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 32px; border-top: 1px solid rgba(88, 214, 208, .16); color: #718692; font-size: .76rem; }
@media (max-width: 760px) { .site-header, main, footer { width: min(100% - 28px, 560px); } .hero { padding: 76px 0 64px; } .content-grid { grid-template-columns: 1fr; } .card { min-height: auto; } footer { flex-direction: column; gap: 4px; } .header-link { font-size: .78rem; } }
.promo { padding: 0 0 88px; }
.promo h2 { max-width: 760px; margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -.05em; }
.promo-copy { max-width: 660px; color: var(--muted); font-size: 1.05rem; }
.promo-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 26px 0 4px; border: 1px solid var(--line); border-radius: 16px; background: #07091a; }
.promo-video.tall { display: none; aspect-ratio: 9 / 16; width: min(100%, 420px); margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .promo-video.wide { display: none; } .promo-video.tall { display: block; } }
/* Language switcher (English / Português) — fixed top-right flag button, same pattern as the MultiTrader app */
.lang-fab { position: fixed; top: 20px; right: 20px; z-index: 50; }
.lang-fab__button { display: block; width: 38px; height: 38px; padding: 0; border: none; border-radius: 9999px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); transition: transform .15s ease, box-shadow .15s ease; }
.lang-fab__button:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(46, 117, 182, .55); }
.lang-fab__button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.lang-fab__button img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lang-fab__dropdown { position: absolute; top: 0; right: calc(100% + 10px); min-width: 220px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.lang-fab__dropdown[hidden] { display: none; }
.lang-fab__header { display: flex; align-items: center; gap: 8px; padding: 4px 8px 8px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lang-fab__line { flex: 1; height: 1px; background: var(--line); }
.lang-fab__list { margin: 0; padding: 0; list-style: none; }
.lang-fab__option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.lang-fab__option:hover, .lang-fab__option:focus { background: rgba(88, 214, 208, .10); outline: none; }
.lang-fab__option[aria-selected="true"] { background: rgba(88, 214, 208, .16); }
.lang-fab__option img { width: 24px; height: 24px; border-radius: 9999px; object-fit: cover; flex-shrink: 0; }
.lang-fab__info { display: flex; flex: 1; flex-direction: column; line-height: 1.2; }
.lang-fab__native { font-size: .9rem; font-weight: 600; }
.lang-fab__code { font-size: .7rem; color: var(--muted); }
.lang-fab__check { color: var(--cyan); visibility: hidden; }
.lang-fab__option[aria-selected="true"] .lang-fab__check { visibility: visible; }
.site-header { padding-right: 58px; }
/* Language-specific videos: the other language is always hidden, on top of the wide/tall rule */
html:not([lang="pt-BR"]) .promo-video.lang-pt { display: none !important; }
html[lang="pt-BR"] .promo-video.lang-en { display: none !important; }
@media (max-width: 760px) { .lang-fab { top: 14px; right: 14px; } .site-header { padding-right: 52px; } }
/* Brand: the default MultiTrader logo (MTai-5) in place of the "M" letter badge */
.brand-logo { display: block; width: 30px; height: 30px; border-radius: 6px; object-fit: contain; flex-shrink: 0; }
/* Training page: 2x2 topic grid with a "coming soon" pill */
.training-grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 20px; }
.soon { display: inline-block; margin-top: 22px; padding: 7px 12px; border: 1px dashed var(--line); border-radius: 999px; color: var(--muted); font-size: .8rem; font-weight: 600; }
@media (max-width: 760px) { .training-grid { grid-template-columns: 1fr; } }
/* Public mode (?audience=public, used by www.multitrader.ai/marketing): hide members-only blocks.
   Cosmetic only — real subscriber content must be served from an authenticated location. */
html.audience-public [data-audience="members"] { display: none !important; }
