/* Prevent horizontal overflow globally */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}
/* ── LIGHT THEME TOKENS ── */
:root {
    /* Brand */
    --orange: #ff6600;
    --orange2: #ff8533;
    --orange-bg: #fff3eb;
    --orange-border: rgba(255, 102, 0, .18);
    --blue: #0472b3;
    --blue2: #0594e8;
    --blue-bg: #eaf4fb;
    --blue-border: rgba(4, 114, 179, .2);
    --green: #16a34a;
    --green-bg: #f0fdf4;
    --red: #dc2626;
    --red-bg: #fef2f2;

    /* Light theme surfaces */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    --bg-alt2: #e8eef5;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    /* Borders */
    --bdr: #e2e8f0;
    --bdr-dark: #cbd5e1;

    /* Shadows */
    --sh: 0 1px 4px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .06);
    --sh-md: 0 4px 24px rgba(0, 0, 0, .1);
    --sh-lg: 0 12px 48px rgba(0, 0, 0, .14);

    /* Typography */
    --ff: 'DM Sans', 'Inter', system-ui, sans-serif;
    --ff-num: 'DM Mono', 'Courier New', monospace;
    --ff2: 'Barlow', 'DM Sans', sans-serif;

    /* Misc */
    --r: 10px;
    --rlg: 16px;
    --tr: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--ff);
    background: var(--bg-body);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    text-rendering: optimizeLegibility
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

ul {
    list-style: none
}

.wrap {
    width: min(1200px, 100% - 3rem);
    margin-inline: auto
}

/* ── UNIFORM BUTTONS ── */
/* One standard size for ALL buttons across the entire page */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--ff);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.85rem;
    border-radius: var(--r);
    border: none;
    cursor: pointer;
    transition: all var(--tr);
    letter-spacing: -.01em;
    white-space: nowrap;
    line-height: 1;
    min-height: 46px;
}

/* All size modifiers unified to one medium size */
.btn-sm,
.btn-md,
.btn-lg,
.btn-xl {
    padding: 0.75rem 1.85rem;
    font-size: 0.95rem;
    border-radius: var(--r);
    min-height: 46px;
}

/* Colour variants */
.btn-primary {
    background: linear-gradient(135deg, var(--orange), #e85c00);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255, 102, 0, .28)
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7722, #cc4400);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, .36)
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    color: #fff;
    box-shadow: 0 2px 12px rgba(4, 114, 179, .25)
}

.btn-blue:hover {
    background: linear-gradient(135deg, #035a8e, #0472b3);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(4, 114, 179, .35)
}

.btn-ghost {
    background: var(--bg-surface);
    border: 1.5px solid var(--bdr);
    color: var(--text-secondary)
}

.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-bg)
}

.btn-ghost-white {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .35);
    color: #fff
}

.btn-ghost-white:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1)
}

/* ════════════ NAV & HAMBURGER ════════════ */

/* Nav bar */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    transition: box-shadow .2s;
}

.nav.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, .1);
}

.nav__inner {
    display: flex;
    align-items: center;
    height: 68px;
    gap: 0;
    width: min(1200px, 100% - 3rem);
    margin-inline: auto;
}

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 2rem;
    text-decoration: none;
}

.nav__logo img {
    height: 40px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

/* Desktop nav links */
.nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    flex: 1;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--ff);
    font-size: .85rem;
    font-weight: 500;
    color: #475569;
    padding: .45rem .75rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    transition: color .15s, background .15s;
}

.nav-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.nav-link.active {
    color: #ff6600;
    font-weight: 600;
    background: #fff3eb;
    border: 1px solid rgba(255, 102, 0, .18);
}

/* Dropdown */
.has-dd {
    position: relative;
}

.nav-dd-arrow {
    width: 10px;
    height: 10px;
    color: #94a3b8;
    transition: transform .2s;
    flex-shrink: 0;
}

.has-dd:hover .nav-dd-arrow,
.has-dd.open .nav-dd-arrow {
    transform: rotate(180deg);
}

.nav-dd {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: .4rem;
    z-index: 2000;
    width: 230px;
    animation: ddIn .16s ease;
}

@keyframes ddIn {
    from {
        opacity: 0;
        transform: translateY(-5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.has-dd:hover .nav-dd,
.has-dd.open .nav-dd {
    display: block;
}

.nav-dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .55rem .7rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background .13s;
}

.nav-dd-item:hover {
    background: #f1f5f9;
}

.nav-dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: .85rem;
    flex-shrink: 0;
}

.nav-dd-name {
    font-size: .82rem;
    font-weight: 600;
    color: #0f172a;
}

.nav-dd-desc {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 1px;
}

.nav-dd-sep {
    height: 1px;
    background: #e2e8f0;
    margin: .3rem .7rem;
}

/* Market live dot */
.nav-mkt-wrap {
    position: relative;
}

.nav-mkt-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16a34a;
    margin-right: 4px;
    vertical-align: middle;
    animation: pulse 1.8s ease infinite;
}

/* Right side buttons */
.nav__right {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-btn-login {
    font-family: var(--ff);
    font-size: .82rem;
    font-weight: 600;
    color: #0472b3;
    background: transparent;
    border: 1.5px solid rgba(4, 114, 179, .25);
    padding: .48rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

.nav-btn-login:hover {
    background: #eaf4fb;
    border-color: #0472b3;
}

.nav-btn-open {
    font-family: var(--ff);
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6600, #e85c00);
    border: none;
    padding: .5rem 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 102, 0, .3);
    transition: all .15s;
}

.nav-btn-open:hover {
    background: linear-gradient(135deg, #ff7722, #cc4400);
    transform: translateY(-1px);
}

.nav-btn-demo {
    font-family: var(--ff);
    font-size: .82rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    padding: .48rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
}

.nav-btn-demo:hover {
    background: #fff3eb;
    border-color: rgba(255, 102, 0, .25);
    color: #ff6600;
}

/* ═══════════════════════════════════════
       HAMBURGER MENU ICON
       Only shows on mobile (≤860px)
       ─────────────────────────────────────── */
.hamburger {
    display: none;
    /* hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    margin-left: .75rem;
    flex-shrink: 0;
    padding: 0;
    transition: background .15s, border-color .15s;
    position: relative;
    z-index: 1001;
}

.hamburger:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 3 bars */
.hamburger__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease, width .2s ease;
    transform-origin: center center;
}

/* X animation when open */
.hamburger.is-open .hamburger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open .hamburger__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger.is-open .hamburger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════
       MOBILE NAV PANEL
       ─────────────────────────────────────── */
.mob-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, .45);
}

.mob-overlay.open {
    display: block;
}

.mob-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 88vw;
    z-index: 999;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, .15);
}

.mob-nav.open {
    transform: translateX(0);
}

/* Mobile nav header */
.mn-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .85rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.mn-hdr img {
    height: 34px;
    width: auto;
    display: block;
}

.mn-hdr-close {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .15s;
    line-height: 1;
}

.mn-hdr-close:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
}

/* Scrollable body */
.mn-body {
    flex: 1;
    overflow-y: auto;
    padding: .5rem .75rem;
}

/* Section label */
.mn-label {
    display: block;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #94a3b8;
    padding: .75rem .5rem .3rem;
}

/* Row (simple link) */
.mn-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .65rem .6rem;
    border-radius: 9px;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1px;
    transition: background .13s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    font-family: var(--ff);
}

.mn-row:hover {
    background: #f1f5f9;
}

.mn-row-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: .9rem;
    flex-shrink: 0;
}

.mn-row-name {
    font-size: .875rem;
    font-weight: 600;
    color: #0f172a;
}

.mn-row-sub {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 1px;
}

/* Accordion group */
.mn-acc {
    margin-bottom: 1px;
}

.mn-acc-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: .65rem .6rem;
    border-radius: 9px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--ff);
    text-align: left;
    transition: background .13s;
}

.mn-acc-btn:hover {
    background: #f1f5f9;
}

.mn-acc-label {
    flex: 1;
    font-size: .875rem;
    font-weight: 600;
    color: #0f172a;
}

.mn-acc-chev {
    font-size: .65rem;
    color: #94a3b8;
    transition: transform .22s;
}

.mn-acc.is-open .mn-acc-chev {
    transform: rotate(90deg);
}

.mn-acc.is-open .mn-acc-btn {
    background: #f1f5f9;
}

.mn-acc-body {
    display: none;
    padding: .2rem 0 .4rem .5rem;
}

.mn-acc.is-open .mn-acc-body {
    display: block;
}

.mn-sub-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .55rem .6rem;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 1px;
    transition: background .13s;
}

.mn-sub-row:hover {
    background: #eaf4fb;
}

.mn-sub-ico {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    font-size: .82rem;
    flex-shrink: 0;
}

.mn-sub-name {
    font-size: .84rem;
    font-weight: 600;
    color: #0f172a;
}

.mn-sub-desc {
    font-size: .68rem;
    color: #94a3b8;
    margin-top: 1px;
}

/* Market button in mobile */
.mn-mkt-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: .65rem .6rem;
    border-radius: 9px;
    border: 1.5px solid #bbf7d0;
    background: #f0fdf4;
    cursor: pointer;
    font-family: var(--ff);
    text-align: left;
    margin-bottom: 1px;
    transition: background .13s;
}

.mn-mkt-btn:hover {
    background: #dcfce7;
}

.mn-mkt-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #dcfce7;
    display: grid;
    place-items: center;
    font-size: .9rem;
    flex-shrink: 0;
}

.mn-mkt-name {
    font-size: .875rem;
    font-weight: 700;
    color: #15803d;
}

.mn-mkt-sub {
    font-size: .68rem;
    color: #86efac;
    margin-top: 1px;
}

.mn-live-badge {
    margin-left: auto;
    font-size: .58rem;
    font-weight: 800;
    background: #16a34a;
    color: #fff;
    padding: 2px 7px;
    border-radius: 99px;
    flex-shrink: 0;
}

/* Footer CTA */
.mn-footer {
    padding: .75rem 1rem 1rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex-shrink: 0;
}

.mn-foot-login {
    padding: .7rem;
    border-radius: 8px;
    font-family: var(--ff);
    font-size: .88rem;
    font-weight: 600;
    color: #0472b3;
    background: transparent;
    border: 1.5px solid rgba(4, 114, 179, .25);
    cursor: pointer;
    text-align: center;
    transition: all .15s;
}

.mn-foot-login:hover {
    background: #eaf4fb;
}

.mn-foot-open {
    padding: .7rem;
    border-radius: 8px;
    font-family: var(--ff);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff6600, #e85c00);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 102, 0, .28);
}

/* Responsive: show hamburger below 860px */
@media(max-width:1100px) {
    .nav-btn-demo {
        display: none;
    }
}

@media(max-width:960px) {
    .nav-btn-login {
        display: none;
    }
}

@media(max-width:960px) {
    .nav-btn-open {
        display: none;
    }
}

@media(max-width:860px) {

    .nav__links,
    .nav__right {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* ← show hamburger */
}

/* ── TICKER ── */
.ticker-bar {
    background: linear-gradient(90deg, #03274d 0%, var(--blue) 50%, #03274d 100%);
    padding: .46rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .05)
}

.ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: ticker 40s linear infinite
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 500
}

.ticker-sym {
    color: rgba(255, 255, 255, .95);
    font-weight: 700;
    font-family: var(--ff2);
    letter-spacing: .01em
}

.ticker-price {
    color: rgba(255, 255, 255, .6);
    font-family: var(--ff-num)
}

.chip-up {
    font-size: .74rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    color: #4ade80;
    background: rgba(74, 222, 128, .15)
}

.chip-dn {
    font-size: .74rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    color: #f87171;
    background: rgba(248, 113, 113, .15)
}

.ticker-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .22);
    flex-shrink: 0
}

/* ── HERO ── */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
    background: #ffffff
}

/* Clean white hero bg — subtle blue radial + light grid */
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 70% 30%, rgba(4, 114, 179, .07) 0%, transparent 65%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 102, 0, .06) 0%, transparent 60%),
        #ffffff;
}

.hero__grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(4, 114, 179, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 114, 179, .04) 1px, transparent 1px);
    background-size: 56px 56px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 5rem 0 4rem
}

.hero__layout {
    display: flex;
    justify-content: center;
    /* horizontal centering */
    align-items: center;
    /* vertical centering (optional) */
    text-align: center;
    /* centers all text inside */
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange);
    background: var(--orange-bg);
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--orange-border);
    margin-bottom: 1.5rem
}

.hero__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s ease infinite
}

.hero__h1 {
    font-family: var(--ff2);
    font-size: clamp(2.2rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin-bottom: 1.5rem;
    color: var(--text-primary)
}

.grd-o {
    background: linear-gradient(135deg, var(--orange), #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.grd-b {
    background: linear-gradient(135deg, var(--blue), var(--blue2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero__sub {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.82;
    max-width: 700px;
    text-align: center;
    /* centers text */
    margin: 0 auto 2.5rem;
    /* centers the element horizontally */
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-bottom: 3rem;
    justify-content: center;
    align-items: center;
    /* vertical alignment */
}

.hero__stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* 🔑 this centers horizontally */
    text-align: center;
    /* optional: centers text inside each block */
}

.hero__stat-num {
    font-family: var(--ff2);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--text-primary)
}

.hero__stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em
}


/* 4-product grid */
.prod-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}



/* ── SECTIONS ── */
.section {
    padding: 5rem 0
}

.section--alt {
    background: var(--bg-alt)
}

.section--white {
    background: #fff
}

.sec-ey {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: .7rem
}

.sec-ey::before {
    content: '';
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), var(--orange2));
    border-radius: 2px
}

.sec-h2 {
    font-family: var(--ff2);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .85rem;
    color: var(--text-primary)
}

.sec-h2 .o {
    color: var(--orange)
}

.sec-h2 .b {
    color: var(--blue)
}

.sec-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.82;
    max-width: 580px
}

/* ── FEATURE CARDS ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2.75rem
}

.feat-card {
    background: var(--bg-surface);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    padding: 1.6rem;
    transition: all var(--tr);
    position: relative;
    overflow: hidden
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--blue));
    opacity: 0;
    transition: opacity var(--tr)
}

.feat-card:hover {
    box-shadow: var(--sh-md);
    transform: translateY(-2px);
    border-color: rgba(4, 114, 179, .2)
}

.feat-card:hover::before {
    opacity: 1
}

.feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    border: 1px solid var(--bdr)
}

.feat-icon-b {
    background: var(--blue-bg);
    border-color: var(--blue-border)
}

.feat-icon-o {
    background: var(--orange-bg);
    border-color: var(--orange-border)
}

.feat-title {
    font-family: var(--ff2);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: var(--text-primary);
    letter-spacing: -.01em
}

.feat-body {
    font-size: .92rem;
    color: var(--text-secondary);
    line-height: 1.78
}



.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem
}

.stat-item {
    text-align: center;
    position: relative
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, .15)
}

.stat-item:last-child::after {
    display: none
}

.stat-num {
    font-family: var(--ff2);
    font-size: 2.3rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .4rem;
    color: #fff
}

.stat-label {
    font-size: .84rem;
    color: rgba(255, 255, 255, .65);
    text-transform: uppercase;
    letter-spacing: .06em
}

/* ── PRODUCT SECTIONS ── */
.ps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center
}

.ps-layout--rev {
    direction: rtl
}

.ps-layout--rev>* {
    direction: ltr
}

.ps-img {
    position: relative
}

.ps-img-glow {
    position: absolute;
    inset: -50px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(4, 114, 179, .1) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1
}

.ps-img-glow--o {
    background: radial-gradient(ellipse, rgba(255, 102, 0, .08) 0%, transparent 65%)
}

.ps-img-wrap {
    border-radius: var(--rlg);
    overflow: hidden;
    /* border: 1px solid var(--bdr);
      box-shadow: var(--sh-lg) */
}

.ps-img-wrap img {
    width: 100%;
    display: block
}

.ps-badge {
    position: absolute;
    bottom: -14px;
    right: -14px;
    background: var(--bg-surface);
    border: 1px solid var(--bdr);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--sh-md);
    white-space: nowrap
}

.ps-badge--l {
    right: auto;
    left: -14px
}

.ps-badge-icon {
    font-size: 1.1rem
}

.ps-badge-title {
    font-size: .84rem;
    font-weight: 700;
    color: var(--text-primary)
}

.ps-badge-sub {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 2px
}

.ps-feats {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    margin-top: 1.75rem
}

.ps-feat {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: .9rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--bdr);
    border-radius: var(--r);
    transition: all var(--tr)
}

.ps-feat:hover {
    box-shadow: var(--sh);
    border-color: rgba(4, 114, 179, .2)
}

.ps-feat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-size: .88rem;
    background: var(--blue-bg);
    border: 1px solid var(--blue-border)
}

.ps-feat-icon--o {
    background: var(--orange-bg);
    border-color: var(--orange-border)
}

.ps-feat-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-primary)
}

.ps-feat-body {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.68
}

.ps-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1.4rem
}

.tag {
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1px solid var(--bdr);
    color: var(--text-secondary);
    background: var(--bg-surface)
}

.tag-b {
    border-color: var(--blue-border);
    color: var(--blue);
    background: var(--blue-bg)
}

.tag-o {
    border-color: var(--orange-border);
    color: var(--orange);
    background: var(--orange-bg)
}

.tag-g {
    border-color: rgba(22, 163, 74, .2);
    color: var(--green);
    background: var(--green-bg)
}

.ps-ctas {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    align-items: center
}

/* ── ALGO CARD (stays dark — terminal aesthetic) ── */
.algo-card {
    background: #0d1628;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--rlg);
    overflow: hidden;
    box-shadow: var(--sh-lg)
}

.algo-hdr {
    background: linear-gradient(135deg, #04305c, var(--blue));
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.algo-hdr-title {
    font-family: var(--ff2);
    font-size: .88rem;
    font-weight: 700;
    color: #fff
}

.algo-live {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .63rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, .1);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(74, 222, 128, .22)
}

.algo-live::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 1.5s ease infinite
}

.algo-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.algo-metric {
    background: #0d1628;
    padding: 10px 14px
}

.algo-metric-label {
    font-size: .7rem;
    color: rgba(255, 255, 255, .38);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 3px
}

.algo-metric-val {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--ff-num)
}

.algo-strats {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.algo-strat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06)
}

.algo-strat:first-child {
    border-color: rgba(4, 114, 179, .38);
    background: rgba(4, 114, 179, .08)
}

.algo-strat-name {
    font-size: .88rem;
    font-weight: 700;
    color: #fff
}

.algo-strat-sub {
    font-size: .73rem;
    color: rgba(255, 255, 255, .4);
    margin-top: 1px
}

.algo-strat-val {
    font-size: .92rem;
    font-weight: 800;
    text-align: right;
    font-family: var(--ff-num)
}

.algo-log {
    padding: 10px 16px;
    background: #060e1c;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-family: 'Courier New', monospace
}

.algo-log-line {
    font-size: .75rem;
    line-height: 1.8;
    color: #5a6474;
    font-family: var(--ff-num)
}

.algo-log-line b {
    color: #3fb950
}

/* ── CTA ── */
.cta {
    background: linear-gradient(135deg, #0d1f3c 0%, var(--blue) 50%, #04305c 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden
}

.cta::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, .06) 0%, transparent 60%);
    pointer-events: none
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -90px;
    right: 8%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 102, 0, .1);
    pointer-events: none
}

.cta .wrap {
    position: relative;
    z-index: 1
}

.cta-h2 {
    font-family: var(--ff2);
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: .85rem;
    color: #fff
}

.cta-h2 span {
    background: linear-gradient(135deg, var(--orange), #ffaa55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.cta-sub {
    font-size: 1.06rem;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 2.5rem
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: .85rem;
    flex-wrap: wrap;
    align-items: center
}

/* CTA section buttons need white ghost */
.cta .btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff
}

.cta .btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff
}

/* White fill button for CTA */
.btn-white {
    background: #fff;
    color: var(--blue);
    box-shadow: 0 2px 12px rgba(255, 255, 255, .18)
}

.btn-white:hover {
    background: #f0f8ff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, .25)
}

/* ── FOOTER ── */
.footer {
    background: #0a1628;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 4rem 0 2.5rem;
    color: rgba(255, 255, 255, .85)
}

.footer__grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 1rem;
    font-family: var(--ff2);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff
}

.footer__logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange), var(--blue));
    display: grid;
    place-items: center
}

.footer__about {
    font-size: .88rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.8;
    max-width: 260px
}

.footer__ctl {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .42);
    margin-bottom: 1rem
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: .55rem
}

.footer__links a {
    font-size: .88rem;
    color: rgba(255, 255, 255, .45);
    transition: color var(--tr)
}

.footer__links a:hover {
    color: var(--orange)
}

.footer__reg {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .07)
}

.footer__reg-links {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem
}

.footer__reg-links a {
    font-size: .74rem;
    color: rgba(255, 255, 255, .4);
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    transition: all var(--tr)
}

.footer__reg-links a:hover {
    border-color: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .72)
}

.footer__sebi {
    font-size: .78rem;
    color: rgba(255, 255, 255, .32);
    line-height: 1.6
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    flex-wrap: wrap;
    gap: 1rem
}

.footer__copy {
    font-size: .82rem;
    color: rgba(255, 255, 255, .34)
}

.footer__ll {
    display: flex;
    gap: 1.5rem
}

.footer__ll a {
    font-size: .82rem;
    color: rgba(255, 255, 255, .34);
    transition: color var(--tr)
}

.footer__ll a:hover {
    color: rgba(255, 255, 255, .7)
}

/* ── MODALS (always light/white) ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 1rem
}

.modal-overlay.open {
    display: flex
}

.modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    animation: modalIn .3s ease;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, .22)
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(.95) translateY(12px)
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0)
    }
}

.modal__hdr {
    padding: 1.5rem 1.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start
}

.modal__hdr--b {
    background: linear-gradient(135deg, var(--blue), #023f70);
    color: #fff
}

.modal__hdr--o {
    background: linear-gradient(135deg, var(--orange), #a03300);
    color: #fff
}

.modal__title {
    font-family: var(--ff2);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.015em
}

.modal__sub {
    font-size: .88rem;
    color: rgba(255, 255, 255, .65);
    margin-top: 4px
}

.modal__close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    font-size: .95rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .2s
}

.modal__close:hover {
    background: rgba(255, 255, 255, .28)
}

.modal__body {
    padding: 1.5rem 1.75rem 0;
    background: #fff
}

.f-row {
    margin-bottom: 1.1rem
}

.f-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .85rem;
    margin-bottom: 1.1rem
}

.f-lbl {
    font-size: .84rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .42rem;
    display: block;
    letter-spacing: .01em
}

.f-inp,
.f-sel,
.f-ta {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-family: var(--ff);
    font-size: .95rem;
    color: #1e293b;
    outline: none;
    transition: all .2s;
    background: #fff;
    appearance: auto
}

.f-inp:focus,
.f-sel:focus,
.f-ta:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(4, 114, 179, .1)
}

.modal__foot {
    padding: 1.25rem 1.75rem 1.75rem;
    background: #fff
}

.f-note {
    font-size: .8rem;
    color: #94a3b8;
    margin-top: .75rem;
    text-align: center;
    line-height: 1.55
}

/* ── TOAST ── */
#toast {
    display: none;
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0f172a;
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
    z-index: 2000;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .08)
}

/* ── ANIMATIONS ── */
@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .32
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ── RESPONSIVE ── */
@media(max-width:1024px) {

    .hero__layout,
    .ps-layout {
        grid-template-columns: 1fr;
        gap: 3rem
    }

    .ps-layout--rev {
        direction: ltr
    }

    .feat-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 2.5rem
    }
}

@media(max-width:768px) {

    .nav__links,
    .nav__right {
        display: none
    }

    .nav__hamburger {
        display: flex
    }

    .feat-grid {
        grid-template-columns: 1fr
    }

    .footer__grid {
        grid-template-columns: 1fr
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center
    }

    .footer__ll {
        justify-content: center
    }

    .algo-metrics {
        grid-template-columns: repeat(2, 1fr)
    }

    .f-row2 {
        grid-template-columns: 1fr
    }

    .prod-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .hero__stats {
        gap: 1.25rem
    }

    .cta-actions {
        flex-direction: column;
        align-items: center
    }

    .prod-grid {
        grid-template-columns: 1fr
    }

    .ps-badge,
    .ps-badge--l {
        display: none
    }
}

/* Product images are now transparent PNGs — no blend mode needed */
.nav__logo {
    width: auto;
}

.nav__logo img {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.ps-img-wrap {
    background: transparent;
}

/* ── MARKET DATA MODAL ── */
#mkt-modal-box {
    font-family: var(--ff);
}

.mkt-tab {
    padding: .7rem 1.25rem;
    font-family: var(--ff);
    font-size: .83rem;
    font-weight: 600;
    color: #64748b;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
}

.mkt-tab:hover {
    color: #0472b3;
    background: #eaf4fb;
}

.mkt-tab.active {
    color: #0472b3;
    border-bottom-color: #0472b3;
    background: #eaf4fb;
}

.mkt-th {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
    padding: 0 4px;
}

.mkt-th:hover {
    color: #0472b3;
}

.mkt-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr 60px;
    gap: 0;
    padding: .72rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    transition: background .15s;
}

.mkt-row:hover {
    background: #f8fafc;
}

.mkt-row:last-child {
    border-bottom: none;
}

.mkt-co-name {
    font-weight: 700;
    font-size: .88rem;
    color: #0f172a;
}

.mkt-co-sym {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 2px;
    font-family: var(--ff-num);
}

.mkt-price {
    font-family: var(--ff-num);
    font-size: .9rem;
    font-weight: 600;
    text-align: right;
    color: #0f172a;
}

.mkt-chg {
    font-size: .8rem;
    font-weight: 600;
    text-align: right;
    font-family: var(--ff-num);
}

.mkt-chg--up {
    color: #16a34a;
}

.mkt-chg--dn {
    color: #dc2626;
}

.mkt-close {
    font-family: var(--ff-num);
    font-size: .85rem;
    color: #475569;
    text-align: right;
}

.mkt-cap {
    font-family: var(--ff-num);
    font-size: .85rem;
    color: #475569;
    text-align: right;
}

.mkt-sector {
    font-size: .72rem;
    color: #64748b;
    text-align: right;
}

.mkt-add-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #0472b3;
    background: transparent;
    color: #0472b3;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    display: grid;
    place-items: center;
    margin-left: auto;
    transition: all .18s;
    line-height: 1;
}

.mkt-add-btn:hover {
    background: #0472b3;
    color: #fff;
}

.mkt-spark {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.idx-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all .2s;
}

.idx-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.idx-name {
    font-size: .75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.idx-val {
    font-family: var(--ff-num);
    font-size: 1.5rem;
    font-weight: 700;
    margin: .25rem 0 .2rem;
    color: #0f172a;
}

.idx-chg {
    font-size: .8rem;
    font-weight: 600;
    font-family: var(--ff-num);
}

@media(max-width:768px) {

    .mkt-row,
    #mkt-table-header>div {
        grid-template-columns: 2fr 1fr 1fr 60px;
    }

    .mkt-close,
    .mkt-cap,
    .mkt-sector,
    #mkt-table-header div:nth-child(4),
    #mkt-table-header div:nth-child(5),
    #mkt-table-header div:nth-child(6) {
        display: none;
    }

    .idx-card {
        grid-column: span 1;
    }

    #indices-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ═══ REBUILT NAV CSS ═══ */
/* clear old nav link styles */
.nav__links {
    gap: 0;
    margin-left: .5rem;
    align-items: center;
}

.nav__links>li {
    position: relative;
}

/* all top-level links / buttons */
.nav__links>li>a,
.nav__links>li>button {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--ff);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: .4rem .72rem;
    border-radius: 7px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all var(--tr);
    white-space: nowrap;
    line-height: 1.4;
}

.nav__links>li>a:hover,
.nav__links>li>button:hover {
    color: var(--text-primary);
    background: var(--bg-alt);
}

.nav__links>li>a.active,
.nav__links>li>button.active {
    color: var(--orange);
    font-weight: 700;
    background: var(--orange-bg);
    border: 1px solid var(--orange-border);
}

/* chevron icon */
.nav-chevron {
    width: 14px;
    height: 14px;
    display: inline-block;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%2394a3b8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform .2s;
}

.has-dropdown:hover .nav-chevron,
.has-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}

/* ── DROPDOWN ── */
.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--bdr);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    padding: .5rem;
    z-index: 300;
    animation: ddFadeIn .18s ease;
}

@keyframes ddFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.open .nav-dropdown {
    display: block;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .58rem .85rem;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all .15s;
    text-decoration: none;
}

.nav-dropdown a:hover {
    background: var(--bg-alt);
    color: var(--text-primary);
}

.nav-dropdown a:hover .dd-icon {
    background: var(--blue);
    color: #fff;
}

.nav-dropdown .dd-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
    background: var(--blue-bg);
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: .9rem;
    transition: all .15s;
}

.nav-dropdown .dd-label {
    font-weight: 600;
    font-size: .82rem;
    color: var(--text-primary);
}

.nav-dropdown .dd-sub {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--bdr);
    margin: .35rem .85rem;
}

/* Market btn active glow */
.nav-market-btn {
    position: relative;
}

.nav-market-btn::before {
    content: '';
    position: absolute;
    left: .72rem;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulse 1.8s ease infinite;
}

.nav-market-btn span {
    margin-left: 14px;
}

/* ── RIGHT SIDE BUTTONS ── */
.nav__right {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-left: auto;
}

.nav-login-btn {
    font-family: var(--ff);
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue);
    background: transparent;
    border: 1.5px solid var(--blue-border);
    padding: .52rem 1.1rem;
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--tr);
    white-space: nowrap;
}

.nav-login-btn:hover {
    background: var(--blue-bg);
    border-color: var(--blue);
}

.nav-open-btn {
    font-family: var(--ff);
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #e85c00);
    border: none;
    padding: .52rem 1.2rem;
    border-radius: var(--r);
    cursor: pointer;
    transition: all var(--tr);
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 102, 0, .28);
}

.nav-open-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(255, 102, 0, .38);
}

/* ── MOBILE NAV REDESIGN ── */
.mob-nav {
    padding: 0;
    gap: 0;
}

.mob-nav-section {
    padding: .75rem 1.25rem .35rem;
}

.mob-nav-section-title {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .4rem;
}

.mob-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .72rem .5rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bdr);
    transition: color var(--tr);
    cursor: pointer;
    text-decoration: none;
}

.mob-nav-link:last-child {
    border-bottom: none;
}

.mob-nav-link:hover,
.mob-nav-link.active {
    color: var(--orange);
}

.mob-nav-link .mob-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-alt);
    display: grid;
    place-items: center;
    font-size: .9rem;
    flex-shrink: 0;
}

.mob-nav-sub {
    padding: 0 1.25rem;
    border-bottom: 1px solid var(--bdr);
}

.mob-nav-sub a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .6rem 0;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--tr);
}

.mob-nav-sub a:hover {
    color: var(--orange);
}

.mob-nav-sub a span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bdr-dark);
    flex-shrink: 0;
}

.mob-nav-footer {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}





.ig-accordion {
    border-bottom: 1px solid #e5e5e5;
}

.ig-accordion__hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    background: #f7f7f7;
    border-bottom: 1px solid #e5e5e5;
    user-select: none;
}

.ig-accordion__hdr:hover {
    background: #f0f0f0;
}

.ig-accordion__hdr.active {
    background: #0479bd;
    color: #fff;
}

.ig-accordion__hdr.active .ig-chevron {
    transform: rotate(180deg);
    color: #fff;
}

.ig-accordion__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
}

.ig-accordion__title svg {
    flex-shrink: 0;
}

.ig-chevron {
    transition: transform 0.25s ease;
    color: #888;
    font-size: 1rem;
}

.ig-accordion__body {
    display: none;
    background: #fff;
}

.ig-accordion__body.open {
    display: block;
}

.ig-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.ig-table th {
    background: #f7f7f7;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e5e5e5;
    color: #333;
}

.ig-table th:last-child {
    text-align: center;
    width: 90px;
}

.ig-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: middle;
}

.ig-table td:last-child {
    text-align: center;
}

.ig-table tr:last-child td {
    border-bottom: none;
}

.ig-table tr:hover td {
    background: #fdf5f0;
}

.ig-dl-btn {
    color: #e05c00;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.2s;
}

.ig-dl-btn:hover {
    background: #fde8dc;
}






































    /* DISCLAIMER POPUP  */

    #disc__overlay {
      position: fixed;
      inset: 0;
      /* background: rgba(10, 18, 40, 0.55); */
      backdrop-filter: blur(3px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: disc__fadeIn .35s ease;
    }
    #disc__overlay.disc__hidden {
      display: none;
    }

    @keyframes disc__fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

    .disc__modal {
      background: #ffffff;
      border-radius: 20px;
      width: min(520px, 92vw);
      box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.08);
      animation: disc__slideUp .4s cubic-bezier(.22,1,.36,1);
      overflow: hidden;
      position: relative;
      font-family: 'DM Sans', sans-serif;
    }

    @keyframes disc__slideUp {
      from { opacity: 0; transform: translateY(28px) scale(.97); }
      to   { opacity: 1; transform: translateY(0) scale(1); }
    }


    .disc__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 22px 14px;
      border-bottom: 1px solid #d8d0c4;
    }

    .disc__title {
      font-size: 1.0rem;
      font-weight: 600;
      color: #030914;
      letter-spacing: .02em;
      margin: 0;
    }

    .disc__close-x {
      background: none;
      border: none;
      cursor: pointer;
      color: #6b6b7b;
      font-size: 1.1rem;
      line-height: 1;
      padding: 4px 6px;
      border-radius: 3px;
      transition: color .2s, background .2s;
      font-family: inherit;
    }
    .disc__close-x:hover { color: #1a1a2e; background: #f5f0e8; }

    .disc__body {
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }


    .disc__notice-text {
      font-size: .825rem;
      line-height: 1.65;
      color: #2e2e3a;
      margin: 0;
    }

    .disc__footer {
      padding: 14px 24px 20px;
      display: flex;
      justify-content: flex-end;
    }

    .disc__btn-close {
      background: #1a3a7a;
      color: #fff;
      border: none;
      padding: 9px 28px;
      border-radius: 3px;
      font-family: 'DM Sans', sans-serif;
      font-size: .82rem;
      font-weight: 500;
      letter-spacing: .08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background .2s, transform .15s;
    }
    .disc__btn-close:hover  { background: #253d8a; }
    .disc__btn-close:active { transform: scale(.97); }

    .demo-page-content {
      text-align: center;
      color: #6b6b7b;
      font-size: .9rem;
    }








    