@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

body.public-site {
    font-family: var(--font-sans) !important;
    font-size: 16px;
    font-weight: var(--font-weight-body) !important;
    letter-spacing: -0.01em;
    line-height: 1.6;
    color: var(--text-primary) !important;
    background: var(--surface) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.public-site p,
body.public-site li,
body.public-site .accordion-body {
    font-weight: var(--font-weight-body) !important;
    color: var(--text-secondary);
}

body.public-site h1,
body.public-site h2,
body.public-site h3,
body.public-site h4,
body.public-site h5,
body.public-site h6,
body.public-site .fx-head__title,
body.public-site .fx-page-hero__title,
body.public-site .fx-hero__title {
    font-family: var(--font-sans) !important;
    font-weight: var(--font-weight-heading) !important;
    color: var(--brand-slate) !important;
    letter-spacing: -0.03em;
}

/* CTA band — must beat body.public-site h2/p (higher specificity) */
body.public-site .fx-cta h2,
body.public-site .fx-cta .fx-cta__title {
    color: var(--brand-slate) !important;
}

body.public-site .fx-cta p {
    color: var(--text-secondary) !important;
}

body.public-site a {
    color: inherit;
}

body.public-site .public-main {
    min-height: auto;
    height: auto;
    background: var(--surface);
}

body.public-site .navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

body.public-site .navbar .nav-link {
    color: var(--text-primary);
    font-weight: var(--font-weight-label);
    font-size: 15px;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem !important;
}

body.public-site .navbar .nav-link::after {
    background-color: var(--brand-blue);
    bottom: 0.25rem;
}

body.public-site .navbar .nav-link:hover {
    color: var(--brand-blue);
}

body.public-site .navbar .nav-link.active {
    color: var(--brand-blue);
    font-weight: 700;
}

body.public-site .navbar .nav-link.active::after {
    width: 100%;
}

body.public-site .navbar .navbar-toggler i {
    color: var(--text-primary);
}

body.public-site .navbar.scroll-on {
    position: sticky;
    background: rgba(255, 255, 255, 0.98);
    animation: none;
    box-shadow: var(--shadow-sm);
}

body.public-site .btn1 {
    border-radius: 8px;
    padding: 0.65rem 1.5rem !important;
    background: var(--brand-blue);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

body.public-site .btn1:hover {
    background: var(--brand-blue-dark);
    box-shadow: var(--shadow-md);
}

body.public-site .btn-outline-brand {
    border-radius: 8px;
    padding: 0.65rem 1.5rem;
    border: 1px solid var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 14px;
    background: transparent;
    display: inline-block;
    transition: all 0.2s ease;
}

body.public-site .btn-outline-brand:hover {
    background: var(--brand-blue);
    color: #fff;
}

body.public-site .text-brand {
    color: var(--brand-blue);
}

body.public-site .text-header-gradient,
body.public-site .text-gradient {
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.public-site .fx-head__title .text-header-gradient,
body.public-site .fx-page-hero__title .text-header-gradient,
body.public-site .fx-hero__title .text-header-gradient {
    display: inline;
}

/* Site footer */
body.public-site footer.site-footer {
    position: relative;
    padding: 0 !important;
    color: var(--text-primary) !important;
    background: linear-gradient(165deg, var(--surface-alt) 0%, #eef3fc 55%, #e8f0fe 100%) !important;
    border-top: none;
    overflow: hidden;
    font-weight: 500;
}

body.public-site footer.site-footer img {
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
}

body.public-site footer.site-footer ul li a {
    display: inline-flex;
    padding-top: 0;
    opacity: 1;
    font-size: inherit;
    font-weight: inherit;
}

body.public-site .site-footer > .container {
    padding: 1.75rem 0 1.25rem;
}

body.public-site .site-footer__grid {
    display: grid;
    grid-template-columns: 200px repeat(4, minmax(0, 1fr));
    gap: 1.25rem 2rem;
    align-items: start;
}

body.public-site .site-footer__brand {
    min-width: 0;
    max-width: 200px;
}

body.public-site .site-footer__col {
    min-width: 0;
}

body.public-site .site-footer__logo-link {
    display: block;
    width: 180px;
    max-width: 100%;
    margin-bottom: 0.5rem;
    transition: opacity 0.2s ease;
}

body.public-site .site-footer__logo-link:hover {
    opacity: 0.85;
}

body.public-site .site-footer__logo {
    display: block;
    width: 180px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}

body.public-site .site-footer__tagline {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-secondary);
    margin: 0;
}

body.public-site .site-footer__heading {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-slate) !important;
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(0, 96, 240, 0.15);
    display: inline-block;
    min-width: 5rem;
}

body.public-site .site-footer__links li + li {
    margin-top: 0;
}

body.public-site .site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.15rem 0;
    opacity: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

body.public-site .site-footer__links a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-blue);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

body.public-site .site-footer__links a:hover {
    color: var(--brand-blue);
    transform: translateX(3px);
}

body.public-site .site-footer__links a:hover::before {
    opacity: 1;
    transform: scale(1);
}

body.public-site .site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

body.public-site .site-footer__social-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.public-site .site-footer__social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

body.public-site .site-footer__social-btn--facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

body.public-site .site-footer__social-btn--telegram:hover {
    border-color: #2aabee;
    color: #2aabee;
}

body.public-site .site-footer__social-btn--facebook i {
    color: #1877f2;
}

body.public-site .site-footer__social-btn--telegram i {
    color: #2aabee;
}

body.public-site .site-footer__social-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 4px;
    background: var(--brand-blue);
    color: #fff;
}

body.public-site .site-footer__email {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.public-site .site-footer__email i {
    font-size: 1.15rem;
    color: var(--brand-blue);
}

body.public-site .site-footer__email:hover {
    color: var(--brand-blue);
    border-color: rgba(0, 96, 240, 0.35);
    box-shadow: var(--shadow-md);
}

body.public-site .site-footer__bottom {
    padding: 0.55rem 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    border-top: 1px solid rgba(0, 96, 240, 0.08);
    backdrop-filter: blur(6px);
}

body.public-site .site-footer__bottom small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@media (max-width: 991px) {
    body.public-site .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.25rem;
    }

    body.public-site .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 200px;
    }
}

@media (max-width: 575px) {
    body.public-site .site-footer > .container {
        padding: 1.5rem 0 1rem;
    }

    body.public-site .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    body.public-site .site-footer__brand {
        max-width: 180px;
    }

    body.public-site .site-footer__logo,
    body.public-site .site-footer__logo-link {
        width: 180px;
    }

    body.public-site .site-footer__email {
        width: 100%;
    }
}

/* Home page — fintech / trading layout */
.page-home {
    overflow-x: hidden;
}

.fx-btn-lg {
    padding: 0.75rem 1.75rem !important;
    font-size: 15px !important;
}

/* Hero */
.fx-hero {
    position: relative;
    padding: 4rem 0 3rem;
    background: var(--surface);
}

.fx-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 96, 240, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 96, 240, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}

.fx-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.08);
    border: 1px solid rgba(0, 96, 240, 0.15);
    border-radius: 100px;
}

.fx-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    animation: fx-pulse 2s ease infinite;
}

@keyframes fx-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.fx-hero__title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--brand-slate);
    margin-bottom: 1.25rem;
}

.fx-hero__lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2rem;
}

.fx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.fx-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fx-trust li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-slate-muted);
}

.fx-trust i {
    font-size: 1.1rem;
    color: var(--brand-blue);
}

/* Hero — app mockup showcase */
.fx-hero-showcase {
    position: relative;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0;
}

.fx-hero-showcase__backdrop {
    position: absolute;
    inset: 8% 4% 4%;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(0, 96, 240, 0.08) 0%, rgba(0, 96, 240, 0.02) 55%, transparent 100%);
    pointer-events: none;
}

.fx-hero-device {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    background: var(--surface);
    border: none;
    box-shadow:
        0 4px 6px rgba(32, 32, 48, 0.04),
        0 24px 48px rgba(32, 32, 48, 0.1);
    overflow: hidden;
}

.fx-hero-device__toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    background: var(--surface-alt);
    border-bottom: none;
}

.fx-hero-device__toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}

.fx-hero-device__traffic--close {
    background: #ff5f57;
}

.fx-hero-device__traffic--minimize {
    background: #febc2e;
}

.fx-hero-device__traffic--maximize {
    background: #28c840;
}

.fx-hero-device__screen {
    padding: 1rem 1rem 0.85rem;
    background: var(--surface);
}

/* Hero — live forex market board */
.fx-hero-market__updated {
    margin: 0 0 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.fx-hero-market__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}

.fx-hero-market__title {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--brand-slate);
    letter-spacing: -0.02em;
}

.fx-hero-market__list {
    display: flex;
    flex-direction: column;
}

.fx-market-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #eef2f6;
}

.fx-market-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fx-market-row__pair {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.fx-market-row__flags {
    position: relative;
    flex-shrink: 0;
    width: 34px;
    height: 22px;
}

.fx-market-row__flag {
    position: absolute;
    top: 0;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 13px;
    line-height: 1;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 1.5px #fff, 0 1px 3px rgba(32, 32, 48, 0.12);
}

.fx-market-row__flag--back {
    left: 0;
    z-index: 1;
}

.fx-market-row__meta {
    min-width: 0;
}

.fx-market-row__name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-slate);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fx-market-row__ticker {
    display: inline-block;
    margin-top: 0.15rem;
    padding: 0.1rem 0.35rem;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    background: var(--surface-alt);
    border-radius: 4px;
}

.fx-market-row__quote {
    flex-shrink: 0;
    text-align: right;
}

.fx-market-row__rate {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-slate);
    line-height: 1.2;
}

.fx-market-row__rate span {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.fx-market-row__change {
    margin-top: 0.1rem;
    font-size: 0.6875rem;
    font-weight: 600;
}

.fx-market-row__change--up {
    color: var(--success);
}

.fx-market-row__change--down {
    color: #ef4444;
}

.fx-market-row--skeleton {
    min-height: 42px;
}

.fx-market-row--skeleton span {
    display: block;
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, #eef2f6 25%, #f8fafc 50%, #eef2f6 75%);
    background-size: 200% 100%;
    animation: fx-market-shimmer 1.2s infinite;
}

.fx-market-row--skeleton span:first-child {
    width: 55%;
    margin-bottom: 6px;
}

.fx-market-row--skeleton span:last-child {
    width: 35%;
}

.fx-market-row--empty {
    font-size: 0.75rem;
    color: var(--text-secondary);
    border-bottom: none;
}

.fx-hero-market--loading .fx-market-row:not(.fx-market-row--skeleton) {
    opacity: 0.55;
}

@keyframes fx-market-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 991.98px) {
    .fx-hero-showcase {
        margin-top: 0.5rem;
        max-width: 100%;
    }
}

@media (max-width: 479.98px) {
    .fx-hero-market__grid {
        grid-template-columns: 1fr;
    }
}

/* Terminal / dashboard mockup (legacy) */
.fx-terminal {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.fx-terminal__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1rem;
    background: var(--brand-slate);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fx-terminal__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3d4450;
}

.fx-terminal__dot:nth-child(1) { background: #ff5f57; }
.fx-terminal__dot:nth-child(2) { background: #febc2e; }
.fx-terminal__dot:nth-child(3) { background: #28c840; }

.fx-terminal__title {
    margin-left: 0.5rem;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.fx-terminal__body {
    padding: 0;
    background: #ffffff;
}

.fx-terminal__chart {
    width: 100%;
    display: block;
    object-fit: contain;
    max-height: 220px;
    padding: 0.5rem 0.75rem;
    box-sizing: border-box;
    background: #ffffff;
}

.fx-ticker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.fx-ticker__item {
    padding: 0.85rem 1rem;
    background: #161b22;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.fx-ticker__pair {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

.fx-ticker__price {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.fx-ticker__chg {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    font-variant-numeric: tabular-nums;
}

.fx-ticker__chg--muted {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Metrics bar */
.fx-metrics {
    margin-top: -1.5rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.fx-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.fx-metrics__item {
    padding: 1.5rem 1.25rem;
    background: var(--surface);
    text-align: center;
    transition: background 0.2s ease;
}

.fx-metrics__item:hover {
    background: var(--surface-alt);
}

.fx-metrics__icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.08);
    color: var(--brand-blue);
    font-size: 1.2rem;
}

.fx-metrics__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--brand-slate);
    margin-bottom: 0.2rem;
}

.fx-metrics__label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sections */
.fx-section {
    padding: 5rem 0;
}

.fx-section--muted {
    background: var(--surface-alt);
}

.fx-section:has(+ .fx-section--cta) {
    padding-bottom: 3rem;
}

.fx-section--cta {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.fx-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.fx-head {
    margin-bottom: 2.5rem;
}

.fx-head__title {
    font-size: clamp(1.5rem, 3vw, 2.125rem);
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    color: var(--brand-slate) !important;
    margin-bottom: 0.75rem;
}

.fx-head__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
}

.fx-head__bullet-list {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    padding-left: 1.35rem;
    margin: 0;
}

.fx-head__bullet-list li + li {
    margin-top: 0.65rem;
}

/* Robotic trading — full-sentence highlight buttons */
.fx-head__sentence-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fx-head__sentence-buttons li {
    margin: 0;
}

body.public-site .fx-sentence-btn {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.5;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    font-weight: var(--font-weight-body, 500);
    color: var(--text-primary) !important;
    border-color: var(--border);
    cursor: default;
}

body.public-site .fx-sentence-btn:hover {
    background: rgba(0, 96, 240, 0.06);
    color: var(--brand-slate) !important;
    border-color: rgba(0, 96, 240, 0.35);
}

.fx-card {
    height: 100%;
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fx-card:hover {
    border-color: rgba(0, 96, 240, 0.25);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.fx-card--highlight {
    border-color: rgba(0, 96, 240, 0.35);
    background: linear-gradient(180deg, rgba(0, 96, 240, 0.04) 0%, var(--surface) 100%);
}

.fx-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.fx-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-slate);
    margin-bottom: 0.65rem;
}

.fx-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* Product cards */
.fx-product {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.fx-product:hover {
    box-shadow: var(--shadow-md);
}

.fx-product__media {
    height: 160px;
    overflow: hidden;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.fx-product__media img,
.fx-product__media .fx-product__svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fx-product:hover .fx-product__media img,
.fx-product:hover .fx-product__media .fx-product__svg {
    transform: scale(1.04);
}

.fx-product__body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.fx-product__body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-slate);
    margin-bottom: 0.5rem;
}

.fx-product__body > p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.fx-product__list {
    list-style: none;
    margin: 0 0 auto;
    padding: 0;
}

.fx-product__list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.fx-product__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-blue);
}

.fx-contract {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.fx-contract__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.fx-contract__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.fx-contract__row code {
    flex: 1;
    font-size: 10px;
    word-break: break-all;
    color: var(--brand-slate);
    background: none;
}

.fx-contract__copy {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: var(--brand-blue);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fx-contract__copy:hover {
    background: var(--brand-blue-dark);
}

.fx-contract__copy.copied {
    background: #10b981;
}

/* Mini feature grid */
.fx-mini {
    height: 100%;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.fx-mini i {
    font-size: 1.35rem;
    color: var(--brand-blue);
    margin-bottom: 0.65rem;
    display: block;
}

.fx-mini h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-slate);
    margin-bottom: 0.35rem;
}

.fx-mini p {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
}

/* Steps */
.fx-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
}

.fx-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), rgba(0, 96, 240, 0.2));
    z-index: 0;
}

.fx-steps__item {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1.5rem;
}

.fx-steps__num {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-blue);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 96, 240, 0.35);
}

.fx-steps__item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-slate);
    margin-bottom: 0.5rem;
}

.fx-steps__item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ */
.fx-faq .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    background: var(--surface);
}

.fx-faq .accordion-button {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-slate);
    background: var(--surface);
    padding: 1rem 1.25rem;
    box-shadow: none !important;
}

.fx-faq .accordion-button:not(.collapsed) {
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.04);
}

.fx-faq .accordion-body {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    padding: 0 1.25rem 1rem;
}

/* CTA — flat matte, brand accent (global h2/a rules must not win here) */
.fx-cta {
    padding: 2.5rem 2.75rem;
    background: var(--surface-onboarding);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.fx-cta h2,
.fx-cta .fx-cta__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800 !important;
    color: var(--brand-slate) !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.fx-cta p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

.fx-cta__btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 16px;
    color: #ffffff !important;
    background: var(--brand-blue) !important;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: none;
    transition: background 0.2s ease;
}

.fx-cta__btn:hover {
    color: #ffffff !important;
    background: var(--brand-blue-dark) !important;
}

.fx-cta__link {
    display: block;
    margin-top: 0.85rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-blue) !important;
    text-decoration: none;
}

.fx-cta__link:hover {
    color: var(--brand-blue-dark) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 991px) {
    .fx-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fx-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fx-steps::before {
        display: none;
    }

    .fx-ticker {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .fx-hero {
        padding-top: 2.5rem;
    }

    .fx-metrics {
        margin-top: 0;
    }

    .fx-metrics__grid {
        grid-template-columns: 1fr;
    }

    .fx-section {
        padding: 3.5rem 0;
    }

    .fx-cta {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .fx-cta p {
        margin: 0 auto 1rem;
    }

    .col-lg-4.text-lg-end {
        text-align: center !important;
    }
}

/* Inner pages (contact, etc.) */
.fx-page-hero {
    position: relative;
    padding: 2.75rem 0 2.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.fx-page-hero--contact {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 45%, #ffffff 100%);
}

.page-contact .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-contact .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-page-hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 96, 240, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 96, 240, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 90%);
    pointer-events: none;
}

.fx-pill--light {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 12px;
    font-weight: var(--font-weight-label);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.1);
    border: 1px solid rgba(0, 96, 240, 0.18);
    border-radius: 100px;
}

.fx-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    margin-bottom: 1.25rem;
}

.fx-breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.fx-breadcrumb a:hover {
    color: var(--brand-blue);
}

.fx-breadcrumb__sep {
    color: var(--text-muted);
}

.fx-breadcrumb span:last-child {
    color: var(--brand-slate);
    font-weight: var(--font-weight-label);
}

.fx-page-hero__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800 !important;
    letter-spacing: -0.035em;
    line-height: 1.15;
    color: var(--brand-slate) !important;
    margin-bottom: 0.75rem;
}

.fx-page-hero__lead {
    font-size: 1.125rem;
    font-weight: var(--font-weight-body);
    color: var(--brand-slate-muted);
    max-width: 580px;
    margin: 0;
    line-height: 1.7;
}

.fx-hero-chips {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.fx-hero-chip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.15rem;
    font-size: 15px;
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

a.fx-hero-chip:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.fx-hero-chip i {
    font-size: 1.25rem;
    color: var(--brand-blue);
}

.fx-hero-chip--muted {
    background: rgba(32, 32, 48, 0.04);
    font-weight: var(--font-weight-body);
}

/* Contact page layout */
.fx-contact-main {
    padding: 4rem 0;
}

.fx-contact-aside {
    height: 100%;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.fx-contact-aside__title {
    font-size: 1.5rem;
    font-weight: 800 !important;
    color: var(--brand-slate) !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.fx-contact-aside__text {
    font-size: 1rem;
    font-weight: var(--font-weight-body);
    color: var(--text-secondary) !important;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.fx-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.fx-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a.fx-contact-item:hover {
    background: var(--surface);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
}

.fx-contact-item__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.fx-contact-item__body {
    flex: 1;
    min-width: 0;
}

.fx-contact-item__label {
    display: block;
    font-size: 11px;
    font-weight: var(--font-weight-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.fx-contact-item__value {
    display: block;
    font-size: 15px;
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
    line-height: 1.5;
}

a.fx-contact-item:hover .fx-contact-item__value {
    color: var(--brand-blue);
}

.fx-contact-item__arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

a.fx-contact-item:hover .fx-contact-item__arrow {
    color: var(--brand-blue);
}

.fx-contact-social__title {
    display: block;
    font-size: 12px;
    font-weight: var(--font-weight-label);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.fx-contact-social__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.fx-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 0.5rem;
    font-size: 12px;
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fx-social-btn:hover {
    background: var(--surface);
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
}

.fx-social-btn i {
    font-size: 1.35rem;
    color: var(--brand-blue);
}

.fx-social-btn--telegram:hover {
    border-color: #2aabee;
}

.fx-social-btn--telegram:hover i {
    color: #2aabee;
}

/* Form panel */
.fx-form-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(32, 32, 48, 0.1);
    overflow: hidden;
}

.fx-form-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.75rem 2rem;
    background: var(--surface-alt);
    border-bottom: 1px solid var(--border);
}

.fx-form-panel__title {
    font-size: 1.375rem;
    font-weight: 800 !important;
    color: var(--brand-slate) !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.fx-form-panel__desc {
    font-size: 15px;
    font-weight: var(--font-weight-body);
    color: var(--text-secondary);
    margin: 0;
}

.fx-form-panel__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 12px;
    font-weight: var(--font-weight-label);
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.08);
    border-radius: 100px;
}

.fx-form {
    padding: 2rem;
}

.fx-form__label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
    margin-bottom: 0.45rem;
}

.fx-form__optional {
    font-weight: var(--font-weight-body);
    color: var(--text-muted);
}

.fx-form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: var(--font-weight-body);
    color: var(--brand-slate);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-form__input::placeholder {
    color: #a8b0bd;
    font-weight: 400;
}

.fx-form__input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 96, 240, 0.14);
}

.fx-form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.fx-btn-submit {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.fx-btn-submit i {
    font-size: 1.1rem;
}

#contact-faqs {
    scroll-margin-top: 5rem;
}

/* FAQ on contact */
.fx-contact-faq .fx-head__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.fx-faq--contact {
    max-width: 880px;
    margin: 0 auto;
}

.page-contact .fx-faq .accordion-button {
    font-size: 1rem;
    font-weight: var(--font-weight-label);
    padding: 1.15rem 1.35rem;
    color: var(--brand-slate) !important;
}

.page-contact .fx-faq .accordion-body {
    font-size: 15px;
    line-height: 1.75;
    padding: 0 1.35rem 1.25rem;
    color: var(--brand-slate-muted) !important;
}

.fx-faq-list {
    margin: 0;
    padding-left: 1.25rem;
}

.fx-faq-list li {
    margin-bottom: 0.35rem;
    font-weight: var(--font-weight-body);
}

.fx-contact-help {
    padding: 3.5rem 0 4rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.page-contact .fx-contact-faq {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

body.public-site main.public-main:has(.page-contact) footer.site-footer {
    border-top: none;
    background: var(--surface-alt) !important;
}

.fx-contact-help__head {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 2.25rem;
}

.fx-contact-help__heading {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800 !important;
    letter-spacing: -0.03em;
    color: var(--brand-slate) !important;
    margin-bottom: 0.5rem;
}

.fx-contact-help__intro {
    font-size: 1rem;
    font-weight: var(--font-weight-body);
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.fx-contact-help__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.fx-contact-help__card {
    display: flex;
    flex-direction: column;
    padding: 1.65rem 1.65rem 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.fx-contact-help__card:hover {
    border-color: rgba(0, 96, 240, 0.22);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.fx-contact-help__card--faq {
    background: linear-gradient(165deg, rgba(0, 96, 240, 0.05) 0%, var(--surface) 55%);
    border-color: rgba(0, 96, 240, 0.18);
}

.fx-contact-help__card-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.fx-contact-help__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.2rem;
}

.fx-contact-help__title {
    font-size: 1.0625rem;
    font-weight: 800 !important;
    color: var(--brand-slate) !important;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.3;
}

.fx-contact-help__text {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-body);
    line-height: 1.65;
    color: var(--brand-slate-muted) !important;
    margin: 0 0 1rem;
}

.fx-contact-help__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.fx-contact-help__tag {
    display: inline-block;
    padding: 0.35rem 0.7rem;
    font-size: 12px;
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.fx-contact-help__highlight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-top: auto;
    padding: 0.85rem 1rem;
    font-size: 14px;
    font-weight: var(--font-weight-body);
    color: var(--brand-slate);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.fx-contact-help__highlight i {
    font-size: 1.15rem;
    color: var(--brand-blue);
}

.fx-contact-help__highlight strong {
    font-weight: var(--font-weight-label);
    color: var(--brand-slate);
}

.fx-contact-help__badge {
    margin-left: auto;
    padding: 0.2rem 0.55rem;
    font-size: 11px;
    font-weight: var(--font-weight-label);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.1);
    border-radius: 999px;
}

.fx-contact-help__note {
    font-size: 13px;
    font-weight: var(--font-weight-body);
    line-height: 1.5;
    color: var(--text-muted) !important;
    margin: 0.75rem 0 0;
}

body.public-site a.fx-contact-help__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: auto;
    padding: 0.65rem 1.15rem;
    font-size: 14px;
    font-weight: var(--font-weight-label);
    color: #fff !important;
    background: var(--brand-blue);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.public-site a.fx-contact-help__btn:hover {
    color: #fff !important;
    background: var(--brand-blue-dark);
    box-shadow: 0 4px 14px rgba(0, 96, 240, 0.35);
    transform: translateY(-1px);
}

body.public-site a.fx-contact-help__btn i {
    font-size: 1rem;
    color: #fff;
}

body.public-site .fx-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

@media (max-width: 991px) {
    .fx-contact-social__grid {
        grid-template-columns: 1fr;
    }

    .fx-hero-chips {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .fx-form-panel__header {
        flex-direction: column;
        padding: 1.5rem;
    }

    .fx-form {
        padding: 1.5rem;
    }

    .fx-contact-aside {
        padding: 1.5rem;
    }

    .fx-page-hero {
        padding: 2rem 0 1.75rem;
    }

    .fx-contact-help__grid {
        grid-template-columns: 1fr;
    }

    .fx-contact-help__highlight .fx-contact-help__badge {
        margin-left: 0;
    }
}

/* About page */
.fx-page-hero--about {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 50%, #f8fafc 100%);
}

.page-about .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-about .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-about-stats {
    display: flex;
    gap: 0.75rem;
}

.fx-about-stat {
    flex: 1;
    padding: 1.25rem 1rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.fx-about-stat__num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fx-about-stat__lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.35rem;
    line-height: 1.3;
}

.fx-about-intro {
    padding-top: 4rem;
}

.fx-about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(145deg, #f0f6ff 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fx-about-visual--framed {
    padding: 0;
    background: var(--surface);
}

.fx-about-visual--framed img {
    display: block;
    border-radius: var(--radius-lg);
}

.fx-about-visual__img {
    max-width: 280px;
    width: 100%;
    animation: fx-about-spin 20s linear infinite;
}

@keyframes fx-about-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fx-prose {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--brand-slate-muted);
}

.fx-prose p {
    margin-bottom: 1rem;
    color: var(--brand-slate-muted) !important;
}

.fx-prose p:last-child {
    margin-bottom: 0;
}

.fx-prose strong {
    color: var(--brand-slate);
    font-weight: 700;
}

.fx-about-goals {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.fx-about-goals li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-slate);
    line-height: 1.55;
}

.fx-about-goals li:last-child {
    border-bottom: none;
}

.fx-about-goals__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.fx-about-activities {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fx-about-activity {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-about-activity:hover {
    border-color: rgba(0, 96, 240, 0.25);
    box-shadow: var(--shadow-sm);
}

.fx-about-activity__num {
    flex-shrink: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    opacity: 0.85;
}

.fx-about-activity h3 {
    font-size: 1rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.35rem;
}

.fx-about-activity p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary) !important;
    margin: 0;
}

/* Team cards */
.fx-about-team {
    padding-bottom: 5rem;
}

.fx-team-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fx-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(32, 32, 48, 0.12);
}

.fx-team-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-alt);
}

.fx-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(20%);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.fx-team-card:hover .fx-team-card__photo img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.fx-team-card__body {
    padding: 1.25rem 1.15rem 1.35rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

.fx-team-card__body h3 {
    font-size: 0.95rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}

.fx-team-card__body p {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-blue) !important;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 991px) {
    .fx-about-stats {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .fx-about-visual__img {
        max-width: 220px;
    }

    .fx-about-stat__num {
        font-size: 1.25rem;
    }
}

/* Achievement page */
.fx-page-hero--achievement {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 55%, #f8fafc 100%);
}

.page-achievement .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-achievement .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-achieve-card {
    height: 100%;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fx-achieve-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 96, 240, 0.2);
}

.fx-achieve-card--live {
    border-color: rgba(0, 96, 240, 0.2);
    background: linear-gradient(180deg, rgba(0, 96, 240, 0.04) 0%, var(--surface) 100%);
}

.fx-achieve-card__status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem;
    border-radius: 100px;
    color: var(--text-secondary);
    background: var(--surface-alt);
    border: 1px solid var(--border);
}

.fx-achieve-card--live .fx-achieve-card__status {
    color: var(--brand-blue);
    background: rgba(0, 96, 240, 0.1);
    border-color: rgba(0, 96, 240, 0.2);
}

.fx-achieve-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.35rem;
}

.fx-achieve-card h3 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.5rem;
    padding-right: 4rem;
}

.fx-achieve-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary) !important;
    margin: 0;
}

.fx-reward-pill {
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-reward-pill:hover {
    border-color: rgba(0, 96, 240, 0.25);
    box-shadow: var(--shadow-sm);
}

.fx-reward-pill i {
    font-size: 1.5rem;
    color: var(--brand-blue);
}

.fx-reward-pill span {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-slate);
    line-height: 1.35;
}

.fx-achieve-vision {
    padding-top: 0;
    padding-bottom: 4rem;
}

.fx-achieve-banner {
    padding: 2.5rem 2.75rem;
    background: linear-gradient(135deg, var(--brand-slate) 0%, #1e3a5f 50%, var(--brand-blue-dark) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
}

.fx-achieve-banner__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.fx-achieve-banner__title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

body.public-site .fx-achieve-banner h2,
body.public-site .fx-achieve-banner .fx-achieve-banner__title {
    color: #ffffff !important;
}

body.public-site .fx-achieve-banner p {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88) !important;
    margin: 0;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .fx-reward-pill {
        min-height: 88px;
    }

    .fx-reward-pill span {
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .fx-achieve-banner {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    body.public-site .fx-achieve-banner p {
        margin: 0 auto 1rem;
    }

    .fx-achieve-banner .text-md-end {
        text-align: center !important;
    }
}

/* Opportunity page */
.fx-page-hero--opportunity {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 55%, #f8fafc 100%);
}

.page-opportunity .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-opportunity .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-opp-quick {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.fx-opp-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-slate);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fx-opp-chip i {
    font-size: 1.1rem;
    color: var(--brand-blue);
}

.fx-opp-chip:hover {
    border-color: rgba(0, 96, 240, 0.3);
    box-shadow: var(--shadow-sm);
    color: var(--brand-blue);
}

.fx-opp-panels {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 920px;
    margin: 0 auto;
}

.fx-opp-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-margin-top: 6rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-opp-panel:target {
    border-color: rgba(0, 96, 240, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 96, 240, 0.08);
}

.fx-opp-panel__head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(90deg, rgba(0, 96, 240, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}

.fx-opp-panel__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.2rem;
}

.fx-opp-panel__head h3 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin: 0;
}

.fx-opp-panel__body {
    padding: 1.25rem 1.35rem 1.35rem;
}

.fx-opp-quote {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    color: var(--brand-slate);
    background: var(--surface-alt);
    border-left: 3px solid var(--brand-blue);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.fx-opp-ecm {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

.fx-opp-ecm li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    text-align: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.fx-opp-ecm li span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
}

.fx-opp-ecm li strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-blue);
}

.fx-opp-reward {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.15rem 0.75rem;
    text-align: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-opp-reward:hover {
    border-color: rgba(0, 96, 240, 0.25);
    box-shadow: var(--shadow-sm);
}

.fx-opp-reward__fund {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-blue);
    letter-spacing: -0.02em;
}

.fx-opp-reward__title {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-slate);
}

.fx-opp-reward__rank {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.fx-opp-list {
    padding-left: 1.25rem;
    margin: 0.5rem 0 0;
}

.fx-opp-list li {
    margin-bottom: 0.35rem;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.fx-opp-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.fx-opp-levels span {
    font-size: 12px;
    font-weight: 600;
    padding: 0.4rem 0.65rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--brand-slate);
}

.fx-opp-levels strong {
    color: var(--brand-blue);
}

.fx-opp-pdf-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    background: var(--surface);
}

.page-opportunity .fx-section--muted {
    padding-bottom: 3rem;
}

.fx-opp-pdf {
    margin-top: 0;
}

.fx-opp-pdf__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, var(--brand-slate) 0%, #1e3a5f 50%, var(--brand-blue-dark) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
}

.fx-opp-pdf__inner h3 {
    font-size: 1.15rem;
    font-weight: 700 !important;
    margin-bottom: 0.35rem;
}

body.public-site .fx-opp-pdf__inner h3 {
    color: #ffffff !important;
}

body.public-site .fx-opp-pdf__inner p {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

.fx-opp-pdf__unavailable {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 767px) {
    .fx-opp-ecm {
        grid-template-columns: repeat(3, 1fr);
    }

    .fx-opp-pdf__inner {
        padding: 1.5rem;
        text-align: center;
        justify-content: center;
    }

    body.public-site .fx-opp-pdf__inner p {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .fx-opp-ecm {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Partner page */
.fx-page-hero--partner {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 55%, #f8fafc 100%);
}

.page-partner .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-partner .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-partner-quick {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.fx-partner-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-slate);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.fx-partner-chip i {
    font-size: 1.1rem;
    color: var(--brand-blue);
}

.fx-partner-chip:hover {
    border-color: rgba(0, 96, 240, 0.3);
    box-shadow: var(--shadow-sm);
    color: var(--brand-blue);
}

.fx-partner-sectors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fx-partner-sector {
    display: grid;
    grid-template-columns: minmax(0, 280px) 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-margin-top: 6rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fx-partner-sector:target {
    border-color: rgba(0, 96, 240, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 96, 240, 0.08);
}

.fx-partner-sector--reverse {
    grid-template-columns: 1fr minmax(0, 280px);
}

.fx-partner-sector--reverse .fx-partner-sector__visual {
    order: 2;
}

.fx-partner-sector--reverse .fx-partner-sector__content {
    order: 1;
}

.fx-partner-sector__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0, 96, 240, 0.05) 0%, var(--surface-alt) 100%);
    border-right: 1px solid var(--border);
}

.fx-partner-sector--reverse .fx-partner-sector__visual {
    border-right: none;
    border-left: 1px solid var(--border);
}

.fx-partner-sector__visual img {
    max-height: 200px;
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius);
}

.fx-partner-sector__visual img[src$=".jpg"] {
    object-fit: cover;
    max-height: none;
    height: 100%;
    min-height: 220px;
}

.fx-partner-sector__content {
    padding: 1.35rem 1.5rem 1.5rem;
}

.fx-partner-sector__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.fx-partner-sector__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.15rem;
}

.fx-partner-sector__head h3 {
    font-size: 1.1rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin: 0;
}

.fx-partner-block {
    margin-bottom: 1rem;
}

.fx-partner-block:last-child {
    margin-bottom: 0;
}

.fx-partner-block h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-blue);
    margin-bottom: 0.5rem;
}

.fx-partner-block ul {
    margin: 0;
    padding-left: 1.15rem;
}

.fx-partner-block li {
    margin-bottom: 0.35rem;
    font-size: 14px;
    line-height: 1.55;
}

.fx-partner-strategy {
    height: 100%;
    padding: 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fx-partner-strategy:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 96, 240, 0.2);
}

.fx-partner-strategy__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.fx-partner-strategy h3 {
    font-size: 1rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.45rem;
}

.fx-partner-strategy p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary) !important;
    margin: 0;
}

@media (max-width: 991px) {
    .fx-partner-sector,
    .fx-partner-sector--reverse {
        grid-template-columns: 1fr;
    }

    .fx-partner-sector--reverse .fx-partner-sector__visual,
    .fx-partner-sector--reverse .fx-partner-sector__content {
        order: unset;
    }

    .fx-partner-sector__visual {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: 180px;
    }

    .fx-partner-sector--reverse .fx-partner-sector__visual {
        border-left: none;
        border-bottom: 1px solid var(--border);
    }

    .fx-partner-sector__visual img[src$=".jpg"] {
        min-height: 180px;
        max-height: 220px;
    }
}

/* Vision page */
.fx-page-hero--vision {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 55%, #f8fafc 100%);
}

.page-vision .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-vision .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-vision-pillar {
    height: 100%;
    padding: 1.35rem 1.35rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fx-vision-pillar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 96, 240, 0.2);
}

.fx-vision-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.85rem;
    border-radius: 12px;
    background: rgba(0, 96, 240, 0.1);
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.fx-vision-pillar h3 {
    font-size: 1rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.75rem;
}

.fx-vision-pillar ul {
    margin: 0;
    padding-left: 1.1rem;
}

.fx-vision-pillar li {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.fx-vision-pillar li:last-child {
    margin-bottom: 0;
}

.fx-vision-close {
    padding: 4rem 0;
}

.page-vision .fx-section--muted {
    padding-bottom: 2rem;
}

.fx-vision-banner {
    padding: 2.5rem 2.75rem;
    background: linear-gradient(135deg, var(--brand-slate) 0%, #1e3a5f 50%, var(--brand-blue-dark) 100%);
    border-radius: var(--radius-lg);
    color: #fff;
}

.fx-vision-banner > .row {
    align-items: center;
}

.fx-vision-banner__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.5rem;
}

.fx-vision-banner__title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

body.public-site .fx-vision-banner h2,
body.public-site .fx-vision-banner .fx-vision-banner__title {
    color: #ffffff !important;
}

body.public-site .fx-vision-banner p,
body.public-site .fx-vision-banner p strong {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88) !important;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

body.public-site .fx-vision-banner p:last-child {
    margin-bottom: 0 !important;
}

.fx-vision-banner__visual img {
    display: block;
    width: 100%;
    border-radius: var(--radius) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    .fx-vision-banner {
        padding: 1.75rem 1.35rem;
        text-align: center;
    }

    body.public-site .fx-vision-banner p {
        margin-left: auto;
        margin-right: auto;
    }

    .fx-vision-banner__visual {
        margin-top: 0.5rem;
    }
}

/* Terms page */
.fx-page-hero--terms {
    background: linear-gradient(165deg, #f8fafc 0%, #ffffff 50%, #f0f6ff 100%);
}

.page-terms .fx-page-hero__lead {
    max-width: none;
}

@media (min-width: 1200px) {
    .page-terms .fx-page-hero__lead {
        white-space: nowrap;
    }
}

.fx-terms-main {
    padding-top: 2.5rem;
}

.fx-terms-toc {
    position: sticky;
    top: 6rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.fx-terms-toc__title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.fx-terms-toc ol {
    margin: 0;
    padding-left: 1.15rem;
}

.fx-terms-toc li {
    margin-bottom: 0.35rem;
}

.fx-terms-toc a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.fx-terms-toc a:hover {
    color: var(--brand-blue);
}

.fx-terms-doc {
    padding: 1.75rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.fx-terms-callout {
    padding: 1.15rem 1.25rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(0, 96, 240, 0.06) 0%, rgba(0, 96, 240, 0.02) 100%);
    border: 1px solid rgba(0, 96, 240, 0.15);
    border-radius: var(--radius);
}

.fx-terms-callout p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.65;
    color: var(--brand-slate) !important;
    margin: 0;
}

.fx-terms-section {
    scroll-margin-top: 6rem;
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
}

.fx-terms-section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.fx-terms-section h2 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.fx-terms-section p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-secondary) !important;
    margin-bottom: 0.65rem;
}

.fx-terms-section p:last-child {
    margin-bottom: 0;
}

.fx-terms-section strong {
    font-weight: 700;
    color: var(--brand-slate);
}

@media (max-width: 991px) {
    .fx-terms-toc {
        position: static;
    }

    .fx-terms-toc ol {
        columns: 2;
        column-gap: 1.5rem;
    }

    .fx-terms-doc {
        padding: 1.35rem 1.25rem;
    }
}

@media (max-width: 575px) {
    .fx-terms-toc ol {
        columns: 1;
    }
}

/* Media page */
.fx-page-hero--media {
    background: linear-gradient(165deg, #f0f6ff 0%, #ffffff 50%, #f8fafc 100%);
}

.fx-media-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fx-media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(32, 32, 48, 0.12);
}

.fx-media-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-alt);
}

.fx-media-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fx-media-card:hover .fx-media-card__thumb img {
    transform: scale(1.05);
}

.fx-media-card__tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background: rgba(0, 96, 240, 0.9);
    border-radius: 100px;
}

.fx-media-card__body {
    padding: 1.35rem 1.25rem 1.5rem;
}

.fx-media-card__body h3 {
    font-size: 1.1rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.5rem;
}

.fx-media-card__body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary) !important;
    margin: 0;
}

.fx-video-card {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.fx-video-card:hover {
    box-shadow: var(--shadow-md);
}

.fx-video-card__embed {
    background: #0d1117;
}

.fx-video-card__embed iframe {
    border: 0;
}

.fx-video-card__body {
    padding: 1.25rem 1.25rem 1.35rem;
}

.fx-video-card__body h3 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: var(--brand-slate) !important;
    margin-bottom: 0.4rem;
}

.fx-video-card__body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary) !important;
    margin: 0;
}

.fx-media-social {
    padding-bottom: 4rem;
}

.fx-social-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.fx-social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fx-social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.fx-social-card i {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.fx-social-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-slate);
}

.fx-social-card__handle {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.fx-social-card--facebook:hover { border-color: #1877f2; }
.fx-social-card--facebook:hover i { color: #1877f2; }

.fx-social-card--telegram:hover { border-color: #2aabee; }
.fx-social-card--telegram:hover i { color: #2aabee; }

.fx-social-card--instagram:hover { border-color: #e4405f; }
.fx-social-card--instagram:hover i { color: #e4405f; }

.fx-social-card--linkedin:hover { border-color: #0a66c2; }
.fx-social-card--linkedin:hover i { color: #0a66c2; }

.fx-social-card--x:hover { border-color: #000; }
.fx-social-card--x:hover i { color: #000; }

.fx-social-card--facebook i { color: #1877f2; }
.fx-social-card--telegram i { color: #2aabee; }
.fx-social-card--instagram i { color: #e4405f; }
.fx-social-card--linkedin i { color: #0a66c2; }
.fx-social-card--x i { color: #14171a; }

@media (max-width: 991px) {
    .fx-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .fx-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    body.public-site .navbar {
        top: 0;
    }
}
