/* =====================================================================
   SmartFYN design system (2026 redesign)
   Loaded last on every page, after mazi-theme.css and any per-page CSS,
   so it sets the shared look: type, colour, header, buttons, cards,
   legal strip and footer. Home page sections use the .sf-* blocks below.
   ===================================================================== */

:root {
    --sf-blue: #0a6cf0;
    --sf-blue-600: #0857c8;
    --sf-blue-50: #eef5ff;
    --sf-blue-100: #dbeaff;
    --sf-sky: #4aa8ff;
    --sf-grad: linear-gradient(135deg, #0a6cf0 0%, #3b9bff 100%);
    --sf-ink: #0b1324;
    --sf-ink-2: #334155;
    --sf-muted: #64748b;
    --sf-line: #e5eaf2;
    --sf-surface: #f6f8fc;
    --sf-white: #ffffff;
    --sf-navy: #0a1022;
    --sf-up: #0e9f6e;
    --sf-down: #e5484d;
    --sf-radius: 16px;
    --sf-radius-lg: 24px;
    --sf-shadow-sm: 0 1px 2px rgba(11, 19, 36, .05), 0 1px 1px rgba(11, 19, 36, .03);
    --sf-shadow: 0 10px 30px -12px rgba(11, 19, 36, .18);
    --sf-shadow-lg: 0 30px 60px -20px rgba(10, 60, 140, .28);
    --sf-font: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    --sf-header-h: 76px;

    /* keep the older theme variables in step with the new palette */
    --mz-purple: var(--sf-blue);
    --mz-purple-2: var(--sf-sky);
    --mz-purple-deep: var(--sf-blue-600);
    --mz-grad: var(--sf-grad);
    --mz-grad-btn: var(--sf-grad);
    --mz-ink: var(--sf-ink);
    --mz-body-bg: var(--sf-white);
}

/* ---------------------------------------------------------------------
   BASE
   ------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body,
.body {
    background: var(--sf-white) !important;
    color: var(--sf-ink-2);
    font-family: var(--sf-font);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.heading,
.tf-heading .heading,
.mz-title {
    font-family: var(--sf-font);
    color: var(--sf-ink);
    letter-spacing: -0.025em;
}

p { color: var(--sf-ink-2); }

a { transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }

.tf-container {
    width: 100% !important;
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}

::selection { background: var(--sf-blue-100); color: var(--sf-ink); }

/* decorative orbs and the template's page background clash with the flat look */
.mz-orb,
#page::before,
#page::after { display: none !important; }

/* ---------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------- */
.tf-button,
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 12px !important;
    font-family: var(--sf-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    background: var(--sf-blue) !important;
    background-image: none !important;
    color: #fff !important;
    border: 1px solid transparent !important;
    box-shadow: 0 8px 20px -8px rgba(10, 108, 240, .6) !important;
    text-decoration: none;
    white-space: nowrap;
}

.sf-btn svg { flex: none; width: 18px; height: 18px; }

.tf-button:hover,
.sf-btn:hover {
    background: var(--sf-blue-600) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.tf-button::before,
.tf-button::after,
.btn-hover::before,
.btn-hover::after { display: none !important; }

.tf-button.style-3,
.sf-btn-ghost {
    background: #fff !important;
    color: var(--sf-ink) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: var(--sf-shadow-sm) !important;
}

.tf-button.style-3:hover,
.sf-btn-ghost:hover {
    background: var(--sf-surface) !important;
    color: var(--sf-ink) !important;
    border-color: #cfd8e6 !important;
}

.sf-btn-white {
    background: #fff !important;
    color: var(--sf-blue) !important;
    box-shadow: none !important;
}

.sf-btn-white:hover { background: var(--sf-blue-50) !important; color: var(--sf-blue-600) !important; }

.sf-btn-outline-light {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .35) !important;
    box-shadow: none !important;
}

.sf-btn-outline-light:hover { background: rgba(255, 255, 255, .1) !important; }

.sf-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------------------------------------------------------------------
   HEADER  — full-width white bar, fixed to the top
   ------------------------------------------------------------------- */
header.header,
.header.absolute,
.header.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    padding: 0 !important;
    background: rgba(255, 255, 255, .92) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--sf-line);
    box-shadow: none !important;
    z-index: 1000;
}

.header.is-fixed { box-shadow: 0 6px 24px -12px rgba(11, 19, 36, .18) !important; }

.header .tf-container { max-width: 1280px; }

.header #site-header-inner,
.header.is-fixed #site-header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: var(--sf-header-h);
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#site-logo img#logo_header { width: 168px !important; height: auto; display: block; }

header #site-header-inner .header-center { margin: 0 auto; }

#main-nav > ul,
.main-nav ul { display: flex; gap: 4px; }

#main-nav > ul > li { padding: 0 !important; }

#main-nav > ul > li > a,
.main-nav ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--sf-ink-2) !important;
}

#main-nav > ul > li > a:hover { background: var(--sf-surface); color: var(--sf-ink) !important; }

#main-nav > ul > li.current-menu-item > a,
#main-nav ul .current-menu-item a {
    color: var(--sf-blue) !important;
    background: var(--sf-blue-50);
}

#main-nav > ul > li > a::before,
#main-nav > ul > li > a::after { display: none !important; }

header #site-header-inner .login-btn { margin-left: 0; }

.login-btn .tf-button.style-2 {
    min-height: 42px;
    padding: 0 20px;
    font-size: 14px;
    background: var(--sf-blue) !important;
}

.mz-lang-switch { margin-left: 4px; }

.mz-lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--sf-line);
    background: #fff;
    color: var(--sf-ink-2);
    font-weight: 700;
    font-size: 13px;
}

.mz-lang-switch a:hover { border-color: #cfd8e6; background: var(--sf-surface); color: var(--sf-ink); }

/* mobile toggle + panel */
.mobile-menu-wrapper { position: static !important; }

.mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--sf-line) !important;
    background: #fff !important;
    color: var(--sf-ink) !important;
    font-size: 20px !important;
}

.mobile-menu {
    position: absolute !important;
    top: calc(var(--sf-header-h) - 1px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 8px 16px 18px !important;
    background: #fff !important;
    border-radius: 0 0 18px 18px !important;
    border-top: 1px solid var(--sf-line);
    box-shadow: 0 24px 40px -18px rgba(11, 19, 36, .3) !important;
}

.mobile-menu ul li a {
    padding: 14px 6px !important;
    border-bottom: 1px solid var(--sf-line);
    color: var(--sf-ink) !important;
    font-weight: 600 !important;
    font-size: 16px;
}

.mobile-menu ul li:last-child a { border-bottom: 0; }
.mobile-menu ul li a:hover { background: transparent !important; color: var(--sf-blue) !important; }

@media (max-width: 1199px) {
    :root { --sf-header-h: 66px; }
    #site-logo img#logo_header { width: 140px !important; }
    header #site-header-inner .login-btn { margin-left: auto; }
    .mz-lang-switch { display: none !important; }
}

@media (max-width: 480px) {
    .login-btn .tf-button.style-2 { min-height: 38px; padding: 0 14px; font-size: 13px; }
    #site-logo img#logo_header { width: 124px !important; }
}

/* ---------------------------------------------------------------------
   SHARED SECTION PIECES (used across inner pages too)
   ------------------------------------------------------------------- */
.mz-section-tag,
.sf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--sf-blue-50) !important;
    color: var(--sf-blue) !important;
    border: 1px solid var(--sf-blue-100);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: none !important;
}

.tf-heading .heading,
.mz-title { font-weight: 800; }

.tf-heading .sub-heading,
.mz-lead { color: var(--sf-muted); font-size: 17px; }

/* generic white cards from the old theme */
.mz-form-card,
.mz-info-card,
.mz-legal-card,
.mz-step,
.mz-quote,
.sc-product {
    border-radius: var(--sf-radius) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: var(--sf-shadow-sm) !important;
    background: #fff !important;
}

a.mz-info-card:hover,
a.mz-legal-card:hover {
    border-color: var(--sf-blue-100) !important;
    box-shadow: var(--sf-shadow) !important;
    transform: translateY(-2px);
}

/* form controls */
.mz-form input,
.mz-form select,
.mz-form textarea,
.mz-input-wrap input,
.mz-input-wrap textarea {
    font-family: var(--sf-font) !important;
}

.mz-input-wrap {
    border-radius: 12px !important;
    border-color: var(--sf-line) !important;
    background: #fff !important;
}

.mz-input-wrap:focus-within {
    border-color: var(--sf-blue) !important;
    box-shadow: 0 0 0 4px rgba(10, 108, 240, .12) !important;
}

.mz-submit,
.mz-otp-btn {
    border-radius: 12px !important;
    background: var(--sf-blue) !important;
    background-image: none !important;
    font-family: var(--sf-font) !important;
}

.mz-submit:hover,
.mz-otp-btn:hover { background: var(--sf-blue-600) !important; }

/* ---------------------------------------------------------------------
   HOME — layout helpers
   ------------------------------------------------------------------- */
.sf-section { padding: 104px 0; }
.sf-section-tight { padding: 72px 0; }
.sf-bg-surface { background: var(--sf-surface); }

.sf-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sf-head-left { margin-left: 0; text-align: left; }
.sf-head .sf-eyebrow { margin-bottom: 16px; }

.sf-h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.12;
    font-weight: 800;
}

.sf-sub { margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--sf-muted); }

.sf-grid { display: grid; gap: 20px; }
.sf-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sf-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sf-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.sf-card {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius);
    box-shadow: var(--sf-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sf-card:hover { transform: translateY(-3px); box-shadow: var(--sf-shadow); border-color: var(--sf-blue-100); }

.sf-card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.sf-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sf-muted); }

.sf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: var(--sf-blue-50);
    color: var(--sf-blue);
}

.sf-icon svg { width: 24px; height: 24px; }

.sf-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--sf-blue-50);
    color: var(--sf-blue);
}

.sf-check svg { width: 13px; height: 13px; }

/* ---------------------------------------------------------------------
   HOME — hero
   ------------------------------------------------------------------- */
.sf-hero {
    position: relative;
    padding: calc(var(--sf-header-h) + 72px) 0 72px;
    overflow: hidden;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(59, 155, 255, .16), transparent 60%),
        radial-gradient(700px 420px at 0% 0%, rgba(10, 108, 240, .08), transparent 60%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.sf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 19, 36, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 19, 36, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}

.sf-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 64px;
    align-items: center;
}

.sf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--sf-line);
    box-shadow: var(--sf-shadow-sm);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sf-ink-2);
}

.sf-hero-badge b {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--sf-blue-50);
    color: var(--sf-blue);
    font-size: 12px;
    font-weight: 700;
}

.sf-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.sf-hero h1 span {
    display: block;
    background: var(--sf-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sf-hero-sub {
    max-width: 560px;
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--sf-muted);
}

.sf-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.sf-hero-ctas .sf-btn { min-height: 54px; padding: 0 30px; font-size: 16px; }

.sf-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sf-hero-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--sf-ink-2); }

/* text-only hero, centred */
.sf-hero-center { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.sf-hero-center .sf-hero-copy { max-width: 860px; }
.sf-hero-center h1 { font-size: clamp(40px, 6vw, 76px); }
.sf-hero-center h1 span { display: inline; }
.sf-hero-center .sf-hero-sub { max-width: 680px; margin-left: auto; margin-right: auto; }
.sf-hero-center .sf-hero-ctas,
.sf-hero-center .sf-hero-points { justify-content: center; }

/* stats strip under the hero */
.sf-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    background: #fff;
    border: 1px solid var(--sf-line);
    border-radius: var(--sf-radius-lg);
    box-shadow: var(--sf-shadow-sm);
}

.sf-stat { padding: 26px 28px; }
.sf-stat + .sf-stat { border-left: 1px solid var(--sf-line); }
.sf-stat .counter { display: inline !important; margin: 0 !important; padding: 0 !important; font: inherit !important; color: inherit !important; }
.sf-stat strong { display: block; font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--sf-ink); letter-spacing: -0.03em; }
.sf-stat span { display: block; margin-top: 6px; font-size: 14px; color: var(--sf-muted); font-weight: 600; }

/* ---------------------------------------------------------------------
   HOME — "featured in" logos
   ------------------------------------------------------------------- */
.sf-logos { padding: 40px 0 8px; overflow: hidden; }
.sf-logos p { margin: 0 0 20px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.sf-logos .mz-logos { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.sf-logos .mz-logo { filter: grayscale(1); opacity: .55; }

/* ---------------------------------------------------------------------
   HOME — markets
   ------------------------------------------------------------------- */
.sf-card.sf-market { padding: 0; }
.sf-market { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; }
.sf-market-top {
    position: relative;
    height: 132px;
    padding: 22px 24px;
    background: linear-gradient(160deg, #0d1b3d 0%, #0a2a63 100%);
    color: #fff;
    overflow: hidden;
}

.sf-market-top svg.sf-spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; }
.sf-market-tag { position: relative; display: inline-block; padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .12); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.sf-market-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.sf-market-body p { flex: 1; margin-bottom: 18px; }
.sf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--sf-blue) !important; }
.sf-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.sf-card:hover .sf-link svg,
.sf-link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------------
   HOME — feature bento
   ------------------------------------------------------------------- */
.sf-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.sf-bento > * { grid-column: span 2; }
.sf-bento > .sf-wide { grid-column: span 3; }

.sf-feature-hl {
    background: var(--sf-navy);
    border-color: var(--sf-navy);
    color: #fff;
    overflow: hidden;
}

.sf-feature-hl::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 155, 255, .45), transparent 70%);
}

.sf-feature-hl h3 { color: #fff; }
.sf-feature-hl p { color: #a9b7d0; }
.sf-feature-hl .sf-icon { background: rgba(255, 255, 255, .08); color: #7cc0ff; }
.sf-feature-hl:hover { border-color: var(--sf-navy); }

/* ---------------------------------------------------------------------
   HOME — platform split
   ------------------------------------------------------------------- */
.sf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.sf-checklist { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.sf-checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; color: var(--sf-ink-2); }

.sf-device {
    position: relative;
    padding: 18px;
    border-radius: var(--sf-radius-lg);
    background: linear-gradient(160deg, #0d1b3d 0%, #081430 100%);
    box-shadow: var(--sf-shadow-lg);
}

.sf-device-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.sf-device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.sf-device-chart { position: relative; height: 300px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.sf-device-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sf-device-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.sf-device-row div { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.sf-device-row small { display: block; color: #8ea2c4; font-size: 12px; font-weight: 600; }
.sf-device-row strong { color: #fff; font-size: 15px; font-weight: 700; }

/* ---------------------------------------------------------------------
   HOME — steps
   ------------------------------------------------------------------- */
.sf-steps { position: relative; counter-reset: sf-step; }

.sf-steps::before {
    content: "";
    position: absolute;
    top: 52px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed var(--sf-blue-100);
}

.sf-step { text-align: center; background: transparent; border: 0; box-shadow: none; }
.sf-step:hover { transform: none; box-shadow: none; }

.sf-step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--sf-blue);
    color: #fff;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 0 0 8px #fff, 0 0 0 9px var(--sf-blue-100);
}

.sf-bg-surface .sf-step-num { box-shadow: 0 0 0 8px var(--sf-surface), 0 0 0 9px var(--sf-blue-100); }
.sf-step p { max-width: 300px; margin: 0 auto; }

/* ---------------------------------------------------------------------
   HOME — testimonials
   ------------------------------------------------------------------- */
.sf-quote { display: flex; flex-direction: column; gap: 22px; }
.sf-stars { color: #f5a524; letter-spacing: 2px; font-size: 15px; }
.sf-quote blockquote { flex: 1; margin: 0; padding: 0; border: 0; font-style: normal; font-size: 16.5px; line-height: 1.65; color: var(--sf-ink); font-weight: 500; }
.sf-person { display: flex; align-items: center; gap: 12px; }
.sf-avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sf-grad); color: #fff; font-weight: 800; }
.sf-person strong { display: block; color: var(--sf-ink); font-size: 15px; }
.sf-person small { color: var(--sf-muted); font-size: 13px; }

/* ---------------------------------------------------------------------
   HOME — CTA band
   ------------------------------------------------------------------- */
.sf-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) auto;
    gap: 40px;
    align-items: center;
    padding: 56px 60px;
    border-radius: 28px;
    background: var(--sf-navy);
    overflow: hidden;
}

.sf-cta::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 108, 240, .55), transparent 65%);
}

.sf-cta > * { position: relative; }
.sf-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 800; }
.sf-cta p { margin: 0; color: #a9b7d0; font-size: 17px; }
.sf-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.sf-cta-btns .sf-btn { min-height: 54px; padding: 0 28px; }

/* ---------------------------------------------------------------------
   LEGAL STRIP (all pages)
   ------------------------------------------------------------------- */
.mz-legal { background: var(--sf-white) !important; padding: 88px 0 96px !important; border-top: 1px solid var(--sf-line); }
.mz-legal-head h3 { font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 800; color: var(--sf-ink); }
.mz-legal-head p { color: var(--sf-muted) !important; }
.mz-legal-grid { max-width: 1200px; margin-left: auto; margin-right: auto; }
.mz-legal-ic { border-radius: 12px !important; background: var(--sf-blue-50) !important; color: var(--sf-blue) !important; box-shadow: none !important; }
.mz-legal-go { color: var(--sf-muted) !important; }

/* ---------------------------------------------------------------------
   FOOTER (all pages)
   ------------------------------------------------------------------- */
.mz-footer {
    background: var(--sf-navy) !important;
    border-top: 0 !important;
    color: #a9b7d0;
}

.mz-footer::before { display: none !important; }
.mz-footer .container { max-width: 1240px; }
.mz-footer-top { padding-top: 72px !important; }
.mz-footer-brand .footer_logo { width: 168px !important; height: auto; margin-bottom: 22px; }
.mz-footer-brand p { color: #8ea2c4 !important; font-size: 13.5px !important; line-height: 1.7 !important; }

.mz-footer-title {
    margin-bottom: 18px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
}

.mz-footer-title::after { display: none !important; }
.mz-footer-links a,
.mz-footer-contact,
.mz-footer-contact a { color: #a9b7d0 !important; font-size: 14.5px !important; }
.mz-footer-links a:hover,
.mz-footer-contact a:hover { color: #fff !important; padding-left: 0 !important; }
.mz-footer-contact i { color: var(--sf-sky) !important; }

.mz-footer-social a {
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    color: #cbd5e1 !important;
}

.mz-footer-social a:hover { background: var(--sf-blue) !important; border-color: var(--sf-blue) !important; color: #fff !important; }
.mz-footer-legal { border-top: 1px solid rgba(255, 255, 255, .08) !important; }
.mz-footer-legal .footer_info { color: #7487a8 !important; font-size: 12.5px !important; line-height: 1.7 !important; }
.mz-footer-legal .footer_info b { color: #cbd5e1 !important; }
.mz-footer-legal a { color: var(--sf-sky) !important; }
.mz-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08) !important; background: transparent !important; }
.mz-footer-bottom .copy-right { color: #7487a8 !important; font-size: 13px !important; }

/* ---------------------------------------------------------------------
   INNER PAGES  (instruments, open account, contact, registration)
   ------------------------------------------------------------------- */
.mz-instr,
.mz-open,
.mz-contact,
.mz-register {
    position: relative;
    padding-top: calc(var(--sf-header-h) + 72px) !important;
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(59, 155, 255, .14), transparent 60%),
        radial-gradient(700px 380px at 0% 0%, rgba(10, 108, 240, .07), transparent 60%),
        linear-gradient(180deg, #f7faff 0, #ffffff 520px) !important;
}

.mz-instr::before,
.mz-open::before,
.mz-contact::before,
.mz-register::before,
.mz-instr::after,
.mz-open::after,
.mz-contact::after,
.mz-register::after { display: none !important; }

.mz-instr-head .mz-title,
.mz-open-head .mz-title,
.mz-contact-head .mz-title,
.mz-register-head .mz-title {
    margin: 16px 0 14px !important;
    font-size: clamp(32px, 4.2vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.035em !important;
}

.mz-instr-sub,
.mz-open-sub,
.mz-contact-sub,
.mz-register-sub {
    max-width: 640px;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 17.5px !important;
    line-height: 1.65 !important;
    color: var(--sf-muted) !important;
}

.mz-cal-head h3,
.mz-faq-title,
.mz-instr-head ~ * h3 { letter-spacing: -0.025em; }

/* page buttons from the old theme */
.mz-btn-primary,
.mz-btn-ghost {
    min-height: 48px;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-family: var(--sf-font) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.mz-btn-primary {
    background: var(--sf-blue) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 8px 20px -8px rgba(10, 108, 240, .6) !important;
}

.mz-btn-primary:hover { background: var(--sf-blue-600) !important; color: #fff !important; }

.mz-btn-ghost {
    background: #fff !important;
    color: var(--sf-ink) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: var(--sf-shadow-sm) !important;
}

.mz-btn-ghost:hover { background: var(--sf-surface) !important; }
.mz-btn-ghost i { color: var(--sf-blue) !important; }

/* closing banner on inner pages -> same navy band as the home CTA */
.mz-open-band {
    position: relative;
    overflow: hidden;
    padding: 48px 52px !important;
    border-radius: 28px !important;
    background: var(--sf-navy) !important;
    background-image: none !important;
    box-shadow: none !important;
}

.mz-open-band::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -180px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 108, 240, .55), transparent 65%);
    pointer-events: none;
}

.mz-open-band > * { position: relative; }
.mz-open-band h3 { color: #fff !important; font-size: clamp(24px, 2.6vw, 34px) !important; font-weight: 800 !important; }
.mz-open-band p { color: #a9b7d0 !important; }
.mz-open-band .mz-btn-primary { background: #fff !important; color: var(--sf-blue) !important; box-shadow: none !important; }
.mz-open-band .mz-btn-primary:hover { background: var(--sf-blue-50) !important; }
.mz-open-band .mz-btn-ghost,
.mz-btn-ghost-light { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .35) !important; box-shadow: none !important; }
.mz-open-band .mz-btn-ghost:hover,
.mz-btn-ghost-light:hover { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.mz-open-band .mz-btn-ghost i { color: #fff !important; }

/* cards and panels on inner pages */
.mz-instr-card,
.mz-panel,
.mz-faq-item,
.mz-map-card { border-radius: var(--sf-radius) !important; }
.mz-instr-card { border: 1px solid var(--sf-line) !important; box-shadow: var(--sf-shadow-sm) !important; }
.mz-instr-card:hover { box-shadow: var(--sf-shadow) !important; }
.mz-form-card::before { display: none !important; }
.mz-form-card { padding: 36px !important; }
.mz-info-icon,
.mz-legal-ic { border-radius: 12px !important; }

@media (max-width: 991px) {
    .mz-instr,
    .mz-open,
    .mz-contact,
    .mz-register { padding-top: calc(var(--sf-header-h) + 48px) !important; }
    .mz-open-band { padding: 40px 28px !important; text-align: center; }
}

@media (max-width: 640px) {
    .mz-form-card { padding: 24px 20px !important; }
    .mz-open-band { padding: 36px 22px !important; border-radius: 22px !important; }
}

/* ---------------------------------------------------------------------
   LANDING PAGES  (grow, marketdesk, market pulse, learn & earn,
   live trading, live trading smart, event) — navy hero, white form
   ------------------------------------------------------------------- */
.mz-event { background: var(--sf-white) !important; }

.mz-event-hero {
    padding: calc(var(--sf-header-h) + 72px) 0 80px !important;
    background:
        radial-gradient(800px 460px at 85% 0%, rgba(10, 108, 240, .55), transparent 62%),
        radial-gradient(600px 380px at 0% 100%, rgba(59, 155, 255, .18), transparent 60%),
        var(--sf-navy) !important;
}

.mz-event-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.mz-event-hero h1,
.mz-event-title {
    color: #fff !important;
    font-size: clamp(34px, 4.4vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
}

.mz-event-sub { color: #b4c2da !important; }
.mz-event-facts li { color: #e2e8f0; }
.mz-event-facts i { background: rgba(255, 255, 255, .08) !important; color: #7cc0ff !important; }

.mz-event-badge {
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #e2e8f0 !important;
}

.mz-event-form-card {
    border-radius: var(--sf-radius-lg) !important;
    border: 0 !important;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55) !important;
}

.mz-event-form-card::before { display: none !important; }

.mz-event-section-head h2,
.mz-event-section-head h3 {
    font-size: clamp(28px, 3vw, 40px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}

.mz-event-benefit,
.mz-event-step,
.mz-agenda-item,
.mz-event-venue-card,
.mz-event-faq-item {
    border-radius: var(--sf-radius) !important;
    border: 1px solid var(--sf-line) !important;
    box-shadow: var(--sf-shadow-sm) !important;
}

.mz-event-sticky {
    background: rgba(255, 255, 255, .96) !important;
    border-top: 1px solid var(--sf-line) !important;
    box-shadow: 0 -10px 30px -18px rgba(11, 19, 36, .3) !important;
}

@media (max-width: 991px) {
    .mz-event-hero { padding: calc(var(--sf-header-h) + 44px) 0 56px !important; }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 1199px) {
    .sf-hero-grid { gap: 48px; }
    .sf-float-a,
    .sf-float-c { left: -12px; }
    .sf-float-b { right: -12px; }
}

@media (max-width: 991px) {
    .sf-section { padding: 80px 0; }
    .sf-hero { padding: calc(var(--sf-header-h) + 48px) 0 56px; }
    .sf-hero-grid,
    .sf-split { grid-template-columns: 1fr; gap: 48px; }
    .sf-hero-copy { text-align: center; }
    .sf-hero-sub { margin-left: auto; margin-right: auto; }
    .sf-hero-ctas,
    .sf-hero-points { justify-content: center; }
    .sf-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
    .sf-stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
    .sf-stat:nth-child(3) { border-left: 0; }
    .sf-stat:nth-child(n+3) { border-top: 1px solid var(--sf-line); }
    .sf-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-bento > *,
    .sf-bento > .sf-wide { grid-column: span 3; }
    .sf-steps::before { display: none; }
    .sf-cta { grid-template-columns: 1fr; padding: 44px 32px; text-align: center; }
    .sf-cta-btns { justify-content: center; }
    .sf-split-visual { order: 2; }
}

@media (max-width: 640px) {
    .sf-section { padding: 64px 0; }
    .sf-head { margin-bottom: 36px; }
    .sf-sub { font-size: 16px; }
    .sf-hero h1 { font-size: 38px; }
    .sf-hero-sub { font-size: 16.5px; }
    .sf-hero-ctas .sf-btn { flex: 1 1 100%; }
    .sf-hero-points { flex-direction: column; align-items: flex-start; max-width: 300px; margin: 0 auto; }
    .sf-float { display: none; }
    .sf-phone { width: 270px; transform: none; }
    .sf-phone-screen { min-height: 520px; }
    .sf-glow { width: 380px; height: 380px; }
    .sf-stat { padding: 20px; }
    .sf-stat strong { font-size: 26px; }
    .sf-grid-4,
    .sf-grid-3,
    .sf-grid-2 { grid-template-columns: 1fr; }
    .sf-bento { grid-template-columns: 1fr; }
    .sf-bento > *,
    .sf-bento > .sf-wide { grid-column: auto; }
    .sf-card { padding: 24px; }
    .sf-cta { padding: 40px 22px; border-radius: 22px; }
    .sf-cta-btns .sf-btn { flex: 1 1 100%; }
    .sf-device-chart { height: 220px; }
    .mz-legal { padding: 64px 0 72px !important; }
}

/* ---------------------------------------------------------------------
   RTL (Arabic)
   ------------------------------------------------------------------- */
[dir="rtl"] body,
[dir="rtl"] .body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .tf-button,
[dir="rtl"] .sf-btn { font-family: "Noto Kufi Arabic", var(--sf-font); letter-spacing: 0; }

[dir="rtl"] .sf-head-left { text-align: right; }
[dir="rtl"] .sf-stat + .sf-stat { border-left: 0; border-right: 1px solid var(--sf-line); }
[dir="rtl"] .sf-float-a { left: auto; right: 0; }
[dir="rtl"] .sf-float-b { right: auto; left: 0; }
[dir="rtl"] .sf-float-c { left: auto; right: 2%; }
[dir="rtl"] .sf-btn svg,
[dir="rtl"] .sf-link svg { transform: scaleX(-1); }
[dir="rtl"] .sf-card:hover .sf-link svg,
[dir="rtl"] .sf-link:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .sf-cta::before { right: auto; left: -120px; }

@media (max-width: 991px) {
    [dir="rtl"] .sf-stat:nth-child(3) { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sf-float,
    .sf-live::before { animation: none; }
    .sf-card,
    .tf-button,
    .sf-btn { transition: none; }
}
