/* =========================================================
   REUSABLE COMPONENTS
   ========================================================= */


/* -------------------------
   Glass Card
------------------------- */

.glass-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-lg);
}


/* -------------------------
   Gradient Text
------------------------- */

.gradient-text {
    background: linear-gradient(90deg,
            #ffffff,
            #20c7d9);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* -------------------------
   Divider
------------------------- */

.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

.divider-dark {
    background: var(--border-dark);
}


/* -------------------------
   Icon Box
------------------------- */

.icon-box {
    width: 54px;
    height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    background: rgba(22, 119, 255, 0.09);

    color: var(--primary);
    font-size: 1.3rem;
}


/* -------------------------
   Arrow Link
------------------------- */

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;

    transition: var(--transition);
}

.arrow-link:hover {
    gap: 12px;
}


/* -------------------------
   Status Indicator
------------------------- */

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 0.75rem;
    font-weight: 700;
}

.status::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: currentColor;
}


/* -------------------------
   Loading Skeleton
------------------------- */

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e9eef5;
}

.skeleton::after {
    content: "";

    position: absolute;
    inset: 0;

    transform: translateX(-100%);

    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.55),
            transparent);

    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}


/* =========================================================
   GLOBAL HEADER
   ========================================================= */

/*
   IMPORTANT STACKING SYSTEM

   #globalHeader       = 2147483647
   site-header         = 2147483647
   mobile navigation   = 2147483646
   mobile panel        = 2147483647
   desktop dropdown    = 2147483647
   main / hero         = 1

   The header and mobile navigation are deliberately placed
   in the highest possible practical stacking layer.

   This prevents the hero section, dashboard, glows,
   transforms or isolation contexts from covering the menu.
*/

#globalHeader {
    position: relative;
    z-index: 2147483647;

    width: 100%;
}


/* -------------------------
   Header
------------------------- */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 2147483647;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid rgba(229, 234, 241, 0.85);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;

    /*
       Creates one controlled stacking context for
       everything belonging to the header.
    */
    isolation: isolate;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.99);

    box-shadow:
        0 8px 30px rgba(7, 17, 31, 0.10);
}


/* -------------------------
   Header Container
------------------------- */

.header-container {
    width: min(calc(100% - 40px),
            var(--container));

    min-height: 78px;

    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    transition:
        min-height 0.3s ease;
}

.site-header.scrolled .header-container {
    min-height: 68px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand-logo {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex-shrink: 0;

    text-decoration: none;
}

.brand-logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;
    display: block;

    border-radius: 10px;
}

.brand-name {
    font-family: "Manrope", sans-serif;

    font-size: 1.05rem;
    font-weight: 800;

    letter-spacing: -0.03em;

    color: var(--navy);

    white-space: nowrap;
}

.brand-name span {
    color: var(--primary);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-navigation {
    flex: 1;

    display: flex;
    justify-content: center;

    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;

    gap: 5px;

    list-style: none;

    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;

    display: flex;
    align-items: center;

    height: 100%;
}


/*
   Keep dropdown parents above all normal desktop content.
*/

.nav-item.has-dropdown {
    z-index: 2147483647;
}


/* -------------------------
   Navigation Link
------------------------- */

.nav-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-height: 45px;

    padding: 0 12px;

    background: transparent;

    color: #475467;

    font-size: 0.82rem;
    font-weight: 600;

    border-radius: 8px;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-item.dropdown-open>.nav-link {
    color: var(--primary);

    background: rgba(22, 119, 255, 0.06);
}

.nav-link i {
    font-size: 0.65rem;

    transition:
        transform 0.25s ease;
}

.has-dropdown:hover .nav-link i,
.has-dropdown.dropdown-open .nav-link i {
    transform: rotate(180deg);
}


/* =========================================================
   DESKTOP DROPDOWN
   ========================================================= */

.dropdown-menu {
    position: absolute;

    top: calc(100% + 8px);
    left: 50%;

    z-index: 2147483647;

    width: 315px;

    padding: 10px;

    background: rgba(255, 255, 255, 0.99);

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 25px 70px rgba(7, 17, 31, 0.20),
        0 8px 25px rgba(7, 17, 31, 0.08);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translate(-50%, 10px);

    transition:
        opacity 0.20s ease,
        visibility 0.20s ease,
        transform 0.20s ease;
}

.nav-item.has-dropdown:hover>.dropdown-menu,
.nav-item.has-dropdown.dropdown-open>.dropdown-menu {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translate(-50%, 0);
}


/* -------------------------
   Dropdown Item
------------------------- */

.dropdown-item {
    display: flex;
    align-items: center;

    gap: 12px;

    width: 100%;

    padding: 12px;

    border-radius: 11px;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dropdown-item:hover {
    background: #f4f7fb;

    transform: translateX(2px);
}

.dropdown-icon {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: rgba(22, 119, 255, 0.08);

    color: var(--primary);
}

.dropdown-item span:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.dropdown-item strong {
    color: var(--navy);

    font-size: 0.82rem;
}

.dropdown-item small {
    color: var(--text-light);

    font-size: 0.69rem;

    line-height: 1.35;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 17px;

    flex-shrink: 0;
}

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;

    color: var(--navy);

    font-size: 0.83rem;
    font-weight: 700;

    text-decoration: none;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.login-link:hover {
    color: var(--primary);

    background: rgba(22, 119, 255, 0.06);
}

.header-account-btn {
    min-height: 43px;

    padding-inline: 18px;

    font-size: 0.78rem;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    padding: 0;

    background: var(--navy);

    border: 0;

    border-radius: 10px;

    cursor: pointer;

    position: relative;

    z-index: 2147483647;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.mobile-menu-button:hover {
    background: var(--primary);
}

.mobile-menu-button span {
    width: 19px;
    height: 2px;

    background: var(--white);

    border-radius: 99px;

    transition: var(--transition);
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

/*
   IMPORTANT:

   The mobile navigation is a separate fixed layer.

   It is NOT allowed to become part of the hero stacking
   context.

   It starts below the 78px header and occupies the remaining
   viewport.

   The backdrop and panel are both positioned above main.
*/

.mobile-navigation {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100dvh;

    z-index: 2147483646;

    background: rgba(7, 17, 31, 0.48);

    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    overflow: hidden;

    /*
       Prevent any child/hero stacking conflict.
    */
    isolation: isolate;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-navigation.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MOBILE NAVIGATION PANEL
   ========================================================= */

/*
   The panel itself has an even higher stacking level than
   the navigation backdrop.

   It begins below the desktop/mobile header.
*/

.mobile-navigation-inner {
    position: absolute;

    top: 78px;
    right: 0;
    bottom: 0;

    width: min(88%, 390px);

    height: calc(100dvh - 78px);

    overflow-y: auto;
    overflow-x: hidden;

    padding: 22px;

    background: var(--white);

    border-left: 1px solid rgba(15, 23, 42, 0.08);

    box-shadow:
        -20px 0 60px rgba(0, 0, 0, 0.18);

    z-index: 2147483647;

    transform: translateX(100%);

    /*
       The panel gets its own stacking context so that
       mobile dropdowns can never fall behind its background.
    */
    isolation: isolate;

    transition:
        transform 0.35s cubic-bezier(0.22,
            1,
            0.36,
            1);

    -webkit-overflow-scrolling: touch;
}

.mobile-navigation.active .mobile-navigation-inner {
    transform: translateX(0);
}


/* =========================================================
   MOBILE NAVIGATION SCROLLBAR
   ========================================================= */

.mobile-navigation-inner::-webkit-scrollbar {
    width: 5px;
}

.mobile-navigation-inner::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-navigation-inner::-webkit-scrollbar-thumb {
    background: rgba(102, 112, 133, 0.25);

    border-radius: 999px;
}

.mobile-navigation-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 112, 133, 0.40);
}


/* =========================================================
   MOBILE HEADER
   ========================================================= */

.mobile-navigation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.mobile-navigation-header .brand-logo img {
    width: 38px;
    height: 38px;
}


/* -------------------------
   Mobile Close Button
------------------------- */

.mobile-close-button {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background: #f1f4f8;

    color: var(--navy);

    border: 0;

    border-radius: 10px;

    font-size: 1rem;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mobile-close-button:hover {
    background: var(--navy);

    color: var(--white);
}


/* =========================================================
   MOBILE LINKS
   ========================================================= */

.mobile-links {
    padding: 22px 0;
}

.mobile-nav-link,
.mobile-dropdown-toggle {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 52px;

    padding: 0 13px;

    background: transparent;

    color: #344054;

    border: 0;

    border-radius: 10px;

    font-size: 0.9rem;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mobile-nav-link span,
.mobile-dropdown-toggle span {
    display: flex;
    align-items: center;

    gap: 12px;
}

.mobile-nav-link i,
.mobile-dropdown-toggle span i {
    width: 20px;

    color: var(--primary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-dropdown-toggle:hover {
    background: #f4f7fb;

    color: var(--primary);
}

.mobile-dropdown-toggle>i {
    font-size: 0.65rem;

    transition:
        transform 0.3s ease;
}

.mobile-dropdown.open .mobile-dropdown-toggle>i {
    transform: rotate(180deg);
}


/* =========================================================
   MOBILE DROPDOWN
   ========================================================= */

/*
   IMPORTANT MOBILE DROPDOWN FIX

   The dropdown stays inside the mobile navigation panel.

   It is deliberately NOT positioned absolute/fixed.

   This means it expands naturally in the panel's document
   flow instead of creating a competing stacking layer that
   can fall behind the hero.
*/

.mobile-dropdown {
    position: relative;

    width: 100%;

    z-index: 2;
}

.mobile-dropdown-content {
    position: relative;

    width: 100%;

    max-height: 0;

    overflow: hidden;

    padding-left: 45px;

    /*
       Keep the dropdown above normal mobile link content.
    */
    z-index: 3;

    transition:
        max-height 0.35s ease;
}

.mobile-dropdown.open .mobile-dropdown-content {
    max-height: 500px;

    overflow: visible;
}

.mobile-dropdown-content a {
    position: relative;

    display: block;

    padding: 9px 10px;

    color: var(--text-light);

    font-size: 0.82rem;

    font-weight: 600;

    text-decoration: none;

    border-left: 1px solid var(--border);

    background: transparent;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.mobile-dropdown-content a:hover {
    color: var(--primary);

    border-color: var(--primary);

    background: #f4f7fb;
}


/* =========================================================
   MOBILE ACTIONS
   ========================================================= */

.mobile-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    padding-top: 15px;

    border-top: 1px solid var(--border);
}

.mobile-action-button {
    min-height: 48px;
}


/* =========================================================
   MOBILE SECURITY NOTE
   ========================================================= */

.mobile-security-note {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-top: 25px;

    padding: 15px;

    background: #f5f8fc;

    border: 1px solid var(--border);

    border-radius: 13px;
}

.mobile-security-note>i {
    color: var(--success);

    margin-top: 3px;
}

.mobile-security-note strong {
    display: block;

    margin-bottom: 3px;

    color: var(--navy);

    font-size: 0.76rem;
}

.mobile-security-note p {
    color: var(--text-light);

    font-size: 0.68rem;

    line-height: 1.5;
}


/* =========================================================
   GLOBAL PAGE STACKING
   ========================================================= */

/*
   Main content is deliberately kept at a very low stacking
   level.

   The hero can still use its own internal layers, but it can
   never compete with the global navigation.
*/

main {
    position: relative;

    z-index: 1;
}


/*
   Hero and other page sections should never be promoted
   above the navigation.
*/

.hero-section {
    z-index: 1;
}


/*
   Reserve space for the fixed header.
*/

body {
    padding-top: 78px;
}


/*
   Prevent page scrolling while mobile navigation is open.
*/

body.mobile-menu-open {
    overflow: hidden;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;

    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(circle at 75% 25%,
            rgba(22, 119, 255, 0.18),
            transparent 32%),
        radial-gradient(circle at 90% 75%,
            rgba(32, 199, 217, 0.10),
            transparent 30%),
        var(--navy);

    color: var(--white);

    /*
       The hero can have its own internal stacking system,
       but its parent remains below the global header.
    */
    isolation: isolate;
}


/* -------------------------
   Hero Background Grid
------------------------- */

.hero-background-grid {
    position: absolute;

    inset: 0;

    z-index: -3;

    opacity: 0.25;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px);

    background-size: 55px 55px;

    mask-image:
        linear-gradient(to bottom,
            black,
            transparent);
}


/* -------------------------
   Hero Glow
------------------------- */

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    z-index: -2;

    pointer-events: none;
}

.hero-glow-one {
    width: 320px;
    height: 320px;

    top: 5%;
    right: 10%;

    background: rgba(22, 119, 255, 0.18);
}

.hero-glow-two {
    width: 260px;
    height: 260px;

    bottom: 0;
    left: 5%;

    background: rgba(32, 199, 217, 0.08);
}


/* =========================================================
   HERO CONTAINER
   ========================================================= */

.hero-container {
    width: min(calc(100% - 40px),
            1320px);

    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(420px, 0.82fr);

    align-items: center;

    gap: 75px;

    padding-top: 90px;
    padding-bottom: 100px;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    padding: 8px 13px;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 999px;

    color: #c7d5e5;

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.hero-live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--secondary);

    box-shadow:
        0 0 0 5px rgba(32, 199, 217, 0.10);

    animation:
        hero-live-pulse 2s infinite;
}

@keyframes hero-live-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(32, 199, 217, 0.30);
    }

    70% {
        box-shadow:
            0 0 0 7px rgba(32, 199, 217, 0);
    }

    100% {
        box-shadow:
            0 0 0 0 rgba(32, 199, 217, 0);
    }
}


/* -------------------------
   Hero Title
------------------------- */

.hero-title {
    max-width: 750px;

    margin-bottom: 25px;

    font-family: "Manrope", sans-serif;

    font-size: clamp(3rem,
            5.2vw,
            5.5rem);

    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -0.055em;
}

.hero-title span {
    display: block;

    background:
        linear-gradient(90deg,
            #ffffff 5%,
            #20c7d9 95%);

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* -------------------------
   Hero Description
------------------------- */

.hero-description {
    max-width: 610px;

    margin-bottom: 35px;

    color: #aebdce;

    font-size: 1.02rem;

    line-height: 1.8;
}


/* -------------------------
   Hero Actions
------------------------- */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 38px;
}

.hero-primary-btn {
    min-height: 53px;
}

.hero-secondary-btn {
    min-height: 53px;

    border-color:
        rgba(255, 255, 255, 0.20);

    color: var(--white);
}

.hero-secondary-btn:hover {
    color: var(--white);

    border-color:
        rgba(255, 255, 255, 0.40);

    background:
        rgba(255, 255, 255, 0.07);
}


/* =========================================================
   HERO TRUST
   ========================================================= */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 15px;

    color: #91a2b6;
}

.hero-trust-item {
    display: flex;
    align-items: center;

    gap: 7px;

    font-size: 0.69rem;

    font-weight: 600;
}

.hero-trust-item i {
    color: #5fdbeb;

    font-size: 0.75rem;
}

.hero-trust-divider {
    width: 1px;
    height: 15px;

    background:
        rgba(255, 255, 255, 0.14);
}


/* =========================================================
   HERO MARKET DASHBOARD
   ========================================================= */

.hero-market-dashboard {
    width: 100%;

    padding: 22px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.10),
            rgba(255, 255, 255, 0.035));

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    animation:
        dashboard-float 7s ease-in-out infinite;
}

@keyframes dashboard-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* -------------------------
   Market Dashboard Header
------------------------- */

.market-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.market-dashboard-label {
    display: block;

    margin-bottom: 4px;

    color: #8295aa;

    font-size: 0.62rem;

    font-weight: 700;

    letter-spacing: 0.12em;
}

.market-dashboard-header h2 {
    font-family: "Manrope", sans-serif;

    font-size: 1.15rem;

    font-weight: 700;
}

.market-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    background:
        rgba(18, 183, 106, 0.08);

    border:
        1px solid rgba(18, 183, 106, 0.15);

    border-radius: 999px;

    color: #66d9a3;

    font-size: 0.59rem;

    font-weight: 700;
}

.market-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #12b76a;
}


/* =========================================================
   CHART
   ========================================================= */

.market-chart-area {
    padding: 16px;

    background:
        rgba(0, 0, 0, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 17px;
}

.chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.chart-label {
    display: block;

    margin-bottom: 4px;

    color: #8799ad;

    font-size: 0.64rem;
}

.chart-header strong {
    color: #ffffff;

    font-size: 1.2rem;
}

.chart-period {
    padding: 5px 8px;

    background:
        rgba(22, 119, 255, 0.12);

    border-radius: 6px;

    color: #72aaff;

    font-size: 0.6rem;

    font-weight: 700;
}

.fake-chart {
    height: 150px;

    margin-top: 15px;
}

.fake-chart svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;

    stroke: #20c7d9;

    stroke-width: 3;

    vector-effect: non-scaling-stroke;
}

.chart-area-fill {
    fill: url(#chartFill);
}

.chart-axis {
    display: flex;
    justify-content: space-between;

    margin-top: 5px;

    color: #607389;

    font-size: 0.55rem;
}


/* =========================================================
   MARKET CARDS
   ========================================================= */

.hero-market-cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 9px;

    margin-top: 12px;
}

.hero-market-card {
    padding: 12px;

    background:
        rgba(255, 255, 255, 0.045);

    border:
        1px solid rgba(255, 255, 255, 0.065);

    border-radius: 12px;

    transition: var(--transition);
}

.hero-market-card:hover {
    background:
        rgba(255, 255, 255, 0.075);

    transform: translateY(-2px);
}

.market-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 9px;
}

.market-symbol {
    color: #8194aa;

    font-size: 0.57rem;

    font-weight: 700;
}

.market-positive {
    color: #51d89a;

    font-size: 0.57rem;

    font-weight: 700;
}

.hero-market-card strong {
    display: block;

    margin-bottom: 2px;

    color: #f0f5fa;

    font-size: 0.72rem;
}

.hero-market-card small {
    color: #64778c;

    font-size: 0.55rem;
}

.dashboard-disclaimer {
    margin-top: 13px;

    color: #63758a;

    font-size: 0.55rem;

    line-height: 1.5;
}


/* =========================================================
   HERO SCROLL INDICATOR
   ========================================================= */

.hero-scroll-indicator {
    position: absolute;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 9px;

    color: #63758a;

    font-size: 0.59rem;

    font-weight: 600;

    white-space: nowrap;
}

.hero-scroll-indicator i {
    animation:
        scroll-arrow 1.7s infinite;
}

@keyframes scroll-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   MARKET TICKER
   ========================================================= */

.market-ticker {
    position: relative;

    overflow: hidden;

    background: #0b172a;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
    width: max-content;

    display: flex;
    align-items: center;

    animation:
        ticker-scroll 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 28px;

    border-right:
        1px solid rgba(255, 255, 255, 0.07);

    color: #a9b7c7;

    font-size: 0.67rem;
}

.ticker-item strong {
    color: #e7edf4;

    font-size: 0.61rem;
}

.ticker-item em {
    font-style: normal;

    font-weight: 700;
}

.ticker-up {
    color: #50d69a;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.introduction-section {
    background: var(--white);
}

.introduction-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1fr;

    gap: 100px;

    align-items: start;
}

.introduction-grid .section-header {
    margin-bottom: 0;
}

.introduction-text {
    max-width: 600px;

    padding-top: 12px;
}

.introduction-text p {
    margin-bottom: 20px;

    color: var(--text-light);

    font-size: 1rem;

    line-height: 1.85;
}

.introduction-text .arrow-link {
    margin-top: 10px;
}


/* =========================================================
   DESKTOP DROPDOWN — CLICK CONTROL
   ========================================================= */

@media (min-width: 901px) {

    .nav-item.has-dropdown>.dropdown-menu {
        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translate(-50%, 10px);
    }

    .nav-item.has-dropdown.dropdown-open>.dropdown-menu {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translate(-50%, 0);
    }
}


/* =========================================================
   MOBILE STACKING SAFETY
   ========================================================= */

@media (max-width: 900px) {

    /*
       Mobile header remains above everything.
    */

    #globalHeader {
        position: relative;

        z-index: 2147483647;
    }

    .site-header {
        z-index: 2147483647;
    }


    /*
       Hide desktop navigation on mobile.
    */

    .desktop-navigation,
    .header-actions {
        display: none;
    }


    /*
       Show mobile menu button.
    */

    .mobile-menu-button {
        display: inline-flex;
    }


    /*
       Mobile navigation receives the highest practical
       stacking layer.
    */

    .mobile-navigation {
        z-index: 2147483646;
    }


    /*
       Mobile panel sits above the navigation backdrop.
    */

    .mobile-navigation-inner {
        z-index: 2147483647;
    }


    /*
       Keep the hero strictly below the navigation.
    */

    main,
    .hero-section {
        z-index: 1;
    }
}


/* =========================================================
   MOBILE HEADER HEIGHT / SMALL SCREENS
   ========================================================= */

@media (max-width: 768px) {

    .header-container {
        width: min(calc(100% - 30px),
                var(--container));

        min-height: 72px;
    }

    .site-header.scrolled .header-container {
        min-height: 64px;
    }

    body {
        padding-top: 72px;
    }

    .hero-section {
        min-height: calc(100vh - 72px);
    }

    .mobile-navigation-inner {
        top: 72px;

        height: calc(100dvh - 72px);
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 65px;
        padding-bottom: 80px;
    }
}


/* =========================================================
   VERY SMALL MOBILE DEVICES
   ========================================================= */

@media (max-width: 480px) {

    .header-container {
        width: calc(100% - 24px);

        min-height: 68px;
    }

    .site-header.scrolled .header-container {
        min-height: 62px;
    }

    body {
        padding-top: 68px;
    }

    .hero-section {
        min-height: calc(100vh - 68px);
    }

    .mobile-navigation-inner {
        top: 68px;

        width: min(92%, 390px);

        height: calc(100dvh - 68px);

        padding: 18px;
    }

    .mobile-actions {
        grid-template-columns: 1fr;
    }

    .hero-container {
        width: calc(100% - 24px);

        padding-top: 50px;
        padding-bottom: 70px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        flex-wrap: wrap;

        gap: 10px;
    }

    .hero-trust-divider {
        display: none;
    }

    .hero-market-dashboard {
        padding: 15px;

        border-radius: 18px;
    }

    .hero-market-cards {
        grid-template-columns: 1fr;
    }

    .introduction-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }
}


/* =========================================================
   ACCESSIBILITY / TOUCH SAFETY
   ========================================================= */

/*
   Prevent accidental horizontal overflow caused by mobile
   navigation or dropdown content.
*/

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/*
   Make mobile navigation links comfortable to tap.
*/

@media (max-width: 900px) {

    .mobile-nav-link,
    .mobile-dropdown-toggle,
    .mobile-close-button,
    .mobile-menu-button {
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-dropdown-content a {
        min-height: 38px;

        display: flex;
        align-items: center;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mobile-navigation,
    .mobile-navigation-inner,
    .dropdown-menu,
    .mobile-dropdown-content {
        transition: none;
    }

    .hero-market-dashboard,
    .hero-live-dot,
    .hero-scroll-indicator i,
    .ticker-track {
        animation: none;
    }
}

/* =========================================================
   STEP 5 — INVESTMENT SOLUTIONS
========================================================= */

.investment-solutions-section {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(circle at 10% 10%,
            rgba(22, 119, 255, 0.055),
            transparent 32%),
        radial-gradient(circle at 90% 80%,
            rgba(32, 199, 217, 0.055),
            transparent 30%),
        var(--background);
    overflow: hidden;
}


/* -------------------------
   Section Header
------------------------- */

.investment-solutions-header {
    max-width: 780px;
    margin: 0 auto 60px;
    text-align: center;
}

.investment-solutions-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.investment-solutions-header h2 {
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 5vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    color: var(--navy);
}

.investment-solutions-header p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* -------------------------
   Solutions Grid
------------------------- */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}


/* -------------------------
   Solution Card
------------------------- */

.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 40px rgba(7, 17, 31, 0.055);
    overflow: hidden;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.solution-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -80px;
    right: -70px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.08);
    pointer-events: none;
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(22, 119, 255, 0.25);
    box-shadow: 0 24px 60px rgba(7, 17, 31, 0.11);
}

.solution-card:hover::before {
    transform: scale(1.45);
}


/* -------------------------
   Card Top
------------------------- */

.solution-card-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 38px;
}

.solution-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary);
    background: rgba(22, 119, 255, 0.09);
    border: 1px solid rgba(22, 119, 255, 0.12);
    font-size: 1.35rem;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    color: var(--white);
    background: var(--primary);
    transform: rotate(-4deg) scale(1.05);
}

.solution-number {
    color: #aab4c2;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


/* -------------------------
   Card Content
------------------------- */

.solution-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.solution-category {
    display: block;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.solution-content h3 {
    margin: 0 0 14px;
    color: var(--navy);
    font-size: 1.65rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.solution-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.94rem;
    line-height: 1.75;
}


/* -------------------------
   Tags
------------------------- */

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.solution-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e5eaf1;
    color: #667085;
    font-size: 0.7rem;
    font-weight: 700;
}


/* -------------------------
   Card Link
------------------------- */

.solution-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: 30px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        color 0.25s ease,
        gap 0.25s ease;
}

.solution-link i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.solution-link:hover {
    color: var(--primary);
    gap: 12px;
}

.solution-link:hover i {
    transform: translateX(3px);
}


/* -------------------------
   Individual Card Accents
------------------------- */

.solution-equities::after,
.solution-fixed-income::after,
.solution-multi-asset::after,
.solution-systematic::after,
.solution-digital-assets::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 3px;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90deg,
            var(--primary),
            var(--secondary));
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: center;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.solution-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}


/* -------------------------
   Explore Card
------------------------- */

.solution-explore-card {
    justify-content: center;
    min-height: 430px;
    color: var(--white);
    border-color: transparent;
    background:
        linear-gradient(145deg,
            #07111f 0%,
            #0b1c33 55%,
            #0d3150 100%);
    box-shadow: 0 18px 45px rgba(7, 17, 31, 0.16);
}

.solution-explore-card::before {
    width: 260px;
    height: 260px;
    top: auto;
    right: -100px;
    bottom: -130px;
    background: rgba(32, 199, 217, 0.13);
}

.solution-explore-card::after {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.13);
}

.solution-explore-content {
    position: relative;
    z-index: 2;
}

.solution-explore-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    border-radius: 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 1.3rem;
}

.solution-explore-content h3 {
    max-width: 320px;
    margin: 0 0 16px;
    color: var(--white);
    font-size: 1.65rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.solution-explore-content p {
    max-width: 340px;
    margin: 0 0 28px;
    color: rgba(233, 240, 248, 0.72);
    font-size: 0.92rem;
    line-height: 1.75;
}

.solution-explore-content .btn {
    position: relative;
    z-index: 3;
}


/* -------------------------
   Philosophy Strip
------------------------- */

.solutions-philosophy {
    display: grid;
    grid-template-columns: auto minmax(230px, 0.9fr) minmax(300px, 1.1fr);
    align-items: center;
    gap: 28px;
    margin-top: 55px;
    padding: 28px 32px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 30px rgba(7, 17, 31, 0.04);
}

.philosophy-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 15px;
    color: var(--primary);
    background: rgba(22, 119, 255, 0.08);
    font-size: 1.2rem;
}

.philosophy-content>span {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.philosophy-content h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.4;
}

.solutions-philosophy>p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.87rem;
    line-height: 1.7;
}


/* =========================================================
   INVESTMENT SOLUTIONS — RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-explore-card {
        min-height: 390px;
    }

    .solutions-philosophy {
        grid-template-columns: auto 1fr;
    }

    .solutions-philosophy>p {
        grid-column: 2;
    }

}


@media (max-width: 700px) {

    .investment-solutions-section {
        padding: 80px 0;
    }

    .investment-solutions-header {
        margin-bottom: 42px;
    }

    .investment-solutions-header h2 {
        font-size: 2.15rem;
    }

    .investment-solutions-header p {
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .solution-card {
        min-height: auto;
        padding: 25px;
        border-radius: 20px;
    }

    .solution-card-top {
        margin-bottom: 30px;
    }

    .solution-content h3 {
        font-size: 1.45rem;
    }

    .solution-content p {
        font-size: 0.9rem;
    }

    .solution-explore-card {
        min-height: 330px;
    }

    .solutions-philosophy {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 35px;
        padding: 25px;
    }

    .solutions-philosophy>p {
        grid-column: auto;
    }

}


@media (max-width: 420px) {

    .solution-card {
        padding: 22px;
    }

    .solution-icon,
    .solution-explore-icon {
        width: 52px;
        height: 52px;
        border-radius: 14px;
    }

    .solution-number {
        font-size: 0.7rem;
    }

    .investment-solutions-header h2 {
        font-size: 1.95rem;
    }

}

/* =========================================================
   STEP 6 — MARKETS & ASSET CLASSES
========================================================= */

.markets-section {
    position: relative;
    padding: 115px 0;
    background: var(--background-dark);
    color: var(--text-white);
    overflow: hidden;
    isolation: isolate;
}

.markets-section::before {
    content: "";
    position: absolute;
    top: -250px;
    left: -180px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.10);
    filter: blur(70px);
    pointer-events: none;
}

.markets-section::after {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -280px;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: rgba(32, 199, 217, 0.07);
    filter: blur(80px);
    pointer-events: none;
}


/* -------------------------
   Section Header
------------------------- */

.markets-section-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.markets-section-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--secondary);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.markets-section-header h2 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.markets-section-header p {
    max-width: 670px;
    margin: 0 auto;
    color: rgba(233, 240, 248, 0.68);
    font-size: 1rem;
    line-height: 1.8;
}


/* -------------------------
   Market Dashboard
------------------------- */

.market-dashboard {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 28px;
    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.24);
}


/* -------------------------
   Dashboard Header
------------------------- */

.market-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.market-dashboard-label {
    display: block;
    margin-bottom: 7px;
    color: var(--secondary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.market-dashboard-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.35rem;
}

.market-status-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 183, 106, 0.08);
    border: 1px solid rgba(18, 183, 106, 0.18);
    color: rgba(233, 240, 248, 0.82);
    font-size: 0.74rem;
    font-weight: 700;
}

.market-status-live small {
    color: rgba(233, 240, 248, 0.45);
    font-size: 0.65rem;
}

.market-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.10);
}


/* -------------------------
   Asset Tabs
------------------------- */

.asset-tabs {
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
}

.asset-tabs::-webkit-scrollbar {
    display: none;
}

.asset-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 1;
    min-width: 145px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: rgba(233, 240, 248, 0.54);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.asset-tab i {
    font-size: 0.85rem;
}

.asset-tab:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.asset-tab.active {
    color: var(--white);
    background: rgba(22, 119, 255, 0.14);
    border-color: rgba(22, 119, 255, 0.24);
}


/* -------------------------
   Market Content
------------------------- */

.market-content {
    min-height: 320px;
}

.market-panel {
    display: none;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
    gap: 40px;
    align-items: center;
    padding: 42px 38px;
}

.market-panel.active {
    display: grid;
    animation: marketPanelFade 0.35s ease both;
}

@keyframes marketPanelFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* -------------------------
   Panel Main
------------------------- */

.market-panel-main {
    max-width: 600px;
}

.market-panel-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.market-asset-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 15px;
    color: var(--secondary);
    background: rgba(32, 199, 217, 0.08);
    border: 1px solid rgba(32, 199, 217, 0.14);
    font-size: 1.2rem;
}

.market-panel-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--secondary);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.market-panel-heading h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.55rem;
}

.market-panel-main>p {
    max-width: 570px;
    margin: 0;
    color: rgba(233, 240, 248, 0.63);
    font-size: 0.91rem;
    line-height: 1.8;
}


/* -------------------------
   Performance
------------------------- */

.market-performance {
    display: flex;
    align-items: baseline;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.performance-value {
    color: var(--white);
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.performance-label {
    color: rgba(233, 240, 248, 0.43);
    font-size: 0.72rem;
}


/* -------------------------
   Market Indicators
------------------------- */

.market-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.market-indicator-card {
    min-height: 145px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
}

.market-indicator-card span {
    display: block;
    margin-bottom: 18px;
    color: rgba(233, 240, 248, 0.55);
    font-size: 0.7rem;
    font-weight: 700;
}

.market-indicator-card strong {
    display: block;
    margin-bottom: 9px;
    color: var(--white);
    font-size: 1.1rem;
}

.market-indicator-card em {
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
}

.market-indicator-card em.positive {
    color: var(--success);
}

.market-indicator-card em.negative {
    color: var(--danger);
}

.market-indicator-card em.neutral {
    color: var(--secondary);
}


/* -------------------------
   Dashboard Footer
------------------------- */

.market-dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.10);
}

.market-dashboard-footer>div {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(233, 240, 248, 0.43);
    font-size: 0.69rem;
}

.market-dashboard-footer>div i {
    color: var(--secondary);
}

.market-dashboard-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.market-dashboard-footer a i {
    transition: transform 0.25s ease;
}

.market-dashboard-footer a:hover {
    color: var(--secondary);
}

.market-dashboard-footer a:hover i {
    transform: translateX(4px);
}


/* =========================================================
   ASSET CLASS CARDS
========================================================= */

.asset-class-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.asset-class-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.asset-class-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(32, 199, 217, 0.20);
}

.asset-class-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--secondary);
    background: rgba(32, 199, 217, 0.07);
    font-size: 1rem;
}

.asset-class-card span {
    display: block;
    margin-bottom: 4px;
    color: rgba(233, 240, 248, 0.30);
    font-size: 0.6rem;
    font-weight: 800;
}

.asset-class-card h3 {
    margin: 0 0 7px;
    color: var(--white);
    font-size: 0.95rem;
}

.asset-class-card p {
    margin: 0;
    color: rgba(233, 240, 248, 0.48);
    font-size: 0.72rem;
    line-height: 1.6;
}


/* =========================================================
   MARKETS — RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .market-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .market-panel-main {
        max-width: none;
    }

    .asset-class-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .markets-section {
        padding: 80px 0;
    }

    .markets-section-header {
        margin-bottom: 40px;
    }

    .markets-section-header h2 {
        font-size: 2.15rem;
    }

    .market-dashboard {
        border-radius: 21px;
    }

    .market-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .asset-tabs {
        padding: 9px;
    }

    .asset-tab {
        flex: 0 0 auto;
        min-width: 135px;
        font-size: 0.72rem;
    }

    .market-panel {
        padding: 30px 22px;
    }

    .market-indicators {
        grid-template-columns: 1fr;
    }

    .market-indicator-card {
        min-height: auto;
    }

    .market-performance {
        margin-top: 25px;
    }

    .performance-value {
        font-size: 2rem;
    }

    .market-dashboard-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 22px;
    }

    .market-dashboard-footer>div {
        align-items: flex-start;
        line-height: 1.5;
    }

    .asset-class-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 420px) {

    .market-panel-heading h4 {
        font-size: 1.3rem;
    }

    .market-asset-icon {
        width: 48px;
        height: 48px;
    }

    .performance-value {
        font-size: 1.8rem;
    }

}

/* =========================================================
   STEP 7 — CRYPTO SIGNALS
========================================================= */

.crypto-signals-section {
    position: relative;
    padding: 115px 0;
    background: var(--background);
    overflow: hidden;
}

.crypto-signals-section::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -180px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(32, 199, 217, 0.055);
    filter: blur(70px);
    pointer-events: none;
}

.crypto-signals-section::after {
    content: "";
    position: absolute;
    bottom: -250px;
    left: -180px;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.055);
    filter: blur(75px);
    pointer-events: none;
}


/* -------------------------
   Header
------------------------- */

.crypto-signals-header {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.crypto-signals-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.crypto-signals-header h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.crypto-signals-header p {
    max-width: 670px;
    margin: 0 auto;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   CRYPTO DASHBOARD
========================================================= */

.crypto-dashboard {
    position: relative;
    z-index: 2;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(7, 17, 31, 0.08);
    overflow: hidden;
}


/* -------------------------
   Dashboard Top
------------------------- */

.crypto-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px 32px;
    border-bottom: 1px solid var(--border);
}

.crypto-dashboard-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.crypto-live-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(22, 119, 255, 0.08);
    border: 1px solid rgba(22, 119, 255, 0.12);
}

.crypto-live-icon span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow:
        0 0 0 5px rgba(18, 183, 106, 0.10),
        0 0 18px rgba(18, 183, 106, 0.35);
}

.dashboard-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.crypto-dashboard-title h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.35rem;
}

.crypto-dashboard-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-meta-item {
    min-width: 85px;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8fafc;
}

.crypto-meta-item span {
    display: block;
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 0.62rem;
    font-weight: 700;
}

.crypto-meta-item strong {
    color: var(--navy);
    font-size: 0.78rem;
}


/* =========================================================
   CRYPTO ASSET GRID
========================================================= */

.crypto-assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 22px;
    background: #f8fafc;
}


/* -------------------------
   Crypto Card
------------------------- */

.crypto-asset-card {
    position: relative;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.crypto-asset-card:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 119, 255, 0.25);
    box-shadow: 0 15px 35px rgba(7, 17, 31, 0.08);
}

.crypto-asset-card.active {
    border-color: rgba(22, 119, 255, 0.40);
    box-shadow:
        0 0 0 3px rgba(22, 119, 255, 0.07),
        0 15px 35px rgba(7, 17, 31, 0.08);
}


/* -------------------------
   Card Top
------------------------- */

.crypto-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.crypto-identity {
    display: flex;
    align-items: center;
    gap: 11px;
}

.crypto-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    font-size: 1rem;
}

.bitcoin-logo {
    color: #b7791f;
    background: #fff8e6;
}

.ethereum-logo {
    color: #6875f5;
    background: #f0f2ff;
}

.solana-logo {
    color: #8b5cf6;
    background: #f5f1ff;
}

.bnb-logo {
    color: #c68b00;
    background: #fff8df;
}

.xrp-logo {
    color: #475467;
    background: #f2f4f7;
}

.ada-logo {
    color: #2563eb;
    background: #eef4ff;
}

.crypto-identity h4 {
    margin: 0 0 3px;
    color: var(--navy);
    font-size: 0.9rem;
}

.crypto-identity span {
    color: #98a2b3;
    font-size: 0.65rem;
    font-weight: 700;
}


/* -------------------------
   Status
------------------------- */

.crypto-status,
.signal-label {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
}

.crypto-status.bullish,
.signal-label.bullish {
    color: #087443;
    background: rgba(18, 183, 106, 0.09);
    border: 1px solid rgba(18, 183, 106, 0.15);
}

.crypto-status.bearish {
    color: #b42318;
    background: rgba(240, 68, 56, 0.08);
    border: 1px solid rgba(240, 68, 56, 0.14);
}

.crypto-status.neutral {
    color: #b54708;
    background: rgba(247, 144, 9, 0.08);
    border: 1px solid rgba(247, 144, 9, 0.14);
}


/* -------------------------
   Price
------------------------- */

.crypto-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 25px;
}

.crypto-price {
    color: var(--navy);
    font-size: 1.45rem;
    letter-spacing: -0.025em;
}

.crypto-change {
    font-size: 0.7rem;
    font-weight: 800;
}

.crypto-change.positive {
    color: var(--success);
}

.crypto-change.negative {
    color: var(--danger);
}


/* -------------------------
   Mini Chart
------------------------- */

.crypto-mini-chart {
    height: 72px;
    margin: 12px -5px 5px;
    color: var(--primary);
}

.crypto-mini-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}


/* -------------------------
   Signal Box
------------------------- */

.crypto-signal-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.crypto-signal-box span:first-child {
    display: block;
}

.crypto-signal-box div span {
    display: block;
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 0.6rem;
}

.crypto-signal-box div strong {
    color: var(--navy);
    font-size: 0.68rem;
}

.signal-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
}

.positive-dot {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.10);
}

.negative-dot {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.09);
}

.neutral-dot {
    background: var(--warning);
    box-shadow: 0 0 0 4px rgba(247, 144, 9, 0.09);
}


/* =========================================================
   SIGNAL DETAIL
========================================================= */

.signal-detail-panel {
    margin: 0 22px 22px;
    padding: 26px;
    border-radius: 20px;
    color: var(--white);
    background:
        linear-gradient(135deg,
            #07111f,
            #0b1c33);
}

.signal-detail-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.signal-detail-heading>div>span {
    display: block;
    margin-bottom: 6px;
    color: var(--secondary);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.signal-detail-heading h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.4rem;
}

.signal-detail-heading h3 small {
    margin-left: 6px;
    color: rgba(233, 240, 248, 0.45);
    font-size: 0.7rem;
    font-weight: 600;
}


/* -------------------------
   Metrics
------------------------- */

.signal-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.signal-metric {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
}

.signal-metric span {
    display: block;
    margin-bottom: 7px;
    color: rgba(233, 240, 248, 0.45);
    font-size: 0.61rem;
}

.signal-metric strong {
    color: var(--white);
    font-size: 0.85rem;
}

.metric-positive {
    color: var(--success) !important;
}


/* -------------------------
   Analysis
------------------------- */

.signal-analysis {
    margin-top: 18px;
    padding: 17px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
}

.analysis-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 800;
}

.signal-analysis p {
    margin: 0;
    color: rgba(233, 240, 248, 0.58);
    font-size: 0.73rem;
    line-height: 1.7;
}


/* -------------------------
   Disclaimer
------------------------- */

.crypto-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 24px;
    border-top: 1px solid var(--border);
    background: #fffdf7;
}

.crypto-disclaimer>i {
    margin-top: 2px;
    color: var(--warning);
    font-size: 0.85rem;
}

.crypto-disclaimer p {
    margin: 0;
    color: #667085;
    font-size: 0.68rem;
    line-height: 1.65;
}

.crypto-disclaimer strong {
    color: var(--navy);
}


/* =========================================================
   SIGNAL HISTORY
========================================================= */

.signal-history-section {
    position: relative;
    z-index: 2;
    margin-top: 60px;
}

.signal-history-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.section-mini-label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.signal-history-header h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.45rem;
}


/* -------------------------
   History Table
------------------------- */

.signal-history-table {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(7, 17, 31, 0.04);
}

.signal-history-row {
    display: grid;
    grid-template-columns:
        1.1fr 1fr 1fr 1fr 0.7fr;
    align-items: center;
    gap: 15px;
    min-height: 65px;
    padding: 10px 22px;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.72rem;
}

.signal-history-row:last-child {
    border-bottom: 0;
}

.signal-history-head {
    min-height: 48px;
    background: #f8fafc;
    color: #98a2b3;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.history-asset {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 800;
}

.history-asset i {
    color: var(--primary);
}

.history-positive {
    color: var(--success);
    font-weight: 800;
}

.history-negative {
    color: var(--danger);
    font-weight: 800;
}

.history-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 800;
    font-style: normal;
}

.history-status.active {
    color: #087443;
    background: rgba(18, 183, 106, 0.08);
}

.history-status.closed {
    color: #667085;
    background: #f2f4f7;
}


/* =========================================================
   CRYPTO RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .crypto-assets-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .signal-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .crypto-signals-section {
        padding: 80px 0;
    }

    .crypto-signals-header {
        margin-bottom: 40px;
    }

    .crypto-signals-header h2 {
        font-size: 2.15rem;
    }

    .crypto-dashboard {
        border-radius: 21px;
    }

    .crypto-dashboard-top {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .crypto-dashboard-meta {
        width: 100%;
    }

    .crypto-meta-item {
        flex: 1;
        min-width: 0;
    }

    .crypto-assets-grid {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .signal-detail-panel {
        margin: 0 14px 14px;
        padding: 21px;
    }

    .signal-detail-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .signal-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .signal-history-section {
        margin-top: 45px;
    }

    .signal-history-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .signal-history-table {
        overflow-x: auto;
    }

    .signal-history-row {
        min-width: 650px;
    }

}


@media (max-width: 430px) {

    .crypto-dashboard-meta {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .crypto-meta-item {
        padding: 9px;
    }

    .crypto-meta-item strong {
        font-size: 0.7rem;
    }

    .crypto-asset-card {
        padding: 19px;
    }

    .crypto-status {
        font-size: 0.58rem;
    }

    .signal-metrics {
        grid-template-columns: 1fr;
    }

    .signal-detail-heading h3 {
        font-size: 1.2rem;
    }

}

/* =========================================================
   STEP 8 — TESLA / STOCK INVESTMENT INTERFACE
========================================================= */

.stock-investment-section {
    position: relative;
    padding: 120px 0;
    background:
        radial-gradient(circle at 10% 20%,
            rgba(22, 119, 255, 0.08),
            transparent 35%),
        var(--background);
    overflow: hidden;
}

.stock-section-header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.stock-section-header .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.stock-dashboard {
    position: relative;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}


/* =========================================================
   STOCK HEADER
========================================================= */

.stock-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px 32px;
    border-bottom: 1px solid var(--border);
}

.stock-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stock-logo {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg,
            var(--navy),
            var(--navy-soft));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 25px rgba(7, 17, 31, 0.16);
}

.stock-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stock-name-row h3 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
}

.stock-exchange {
    padding: 5px 9px;
    border-radius: 7px;
    background: rgba(22, 119, 255, 0.08);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.stock-symbol {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 13px;
}

.stock-market-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.stock-market-status small {
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(18, 183, 106, 0.09);
    color: var(--success);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.stock-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(18, 183, 106, 0.10);
}


/* =========================================================
   PRICE SUMMARY
========================================================= */

.stock-price-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

.stock-price-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.stock-price-main>strong {
    display: block;
    color: var(--text);
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.stock-price-change {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 12px;
}

.stock-positive {
    color: var(--success);
    font-weight: 800;
}

.stock-change-period {
    color: var(--text-light);
    font-size: 12px;
}

.stock-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 12px;
}

.stock-mini-stats>div {
    min-width: 115px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background);
}

.stock-mini-stats span,
.stock-stat-card span {
    display: block;
    margin-bottom: 7px;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
}

.stock-mini-stats strong {
    color: var(--text);
    font-size: 14px;
}


/* =========================================================
   MAIN GRID
========================================================= */

.stock-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   CHART
========================================================= */

.stock-chart-panel {
    min-width: 0;
    padding: 32px;
    border-right: 1px solid var(--border);
}

.stock-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.stock-chart-header>div:first-child span {
    display: block;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 700;
}

.stock-chart-header>div:first-child strong {
    display: block;
    margin-top: 4px;
    color: var(--text);
    font-size: 17px;
}

.stock-chart-performance {
    text-align: right;
}

.stock-chart-performance span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.stock-chart-performance strong {
    display: block;
    margin-top: 3px;
    color: var(--success);
    font-size: 16px;
}

.stock-chart {
    position: relative;
    height: 330px;
    padding-right: 50px;
}

.stock-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stock-grid-line {
    stroke: #e7ecf3;
    stroke-width: 1;
}

.stock-chart-fill {
    fill: url(#stockChartFill);
}

.stock-chart-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stock-chart-y-axis {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 0 0 8px;
}

.stock-chart-y-axis span {
    color: var(--text-light);
    font-size: 10px;
    text-align: right;
}

.stock-chart-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
}

.stock-range-btn {
    min-width: 42px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.stock-range-btn:hover,
.stock-range-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}


/* =========================================================
   SIMULATION PANEL
========================================================= */

.stock-action-panel {
    padding: 32px;
    background: linear-gradient(145deg,
            #f9fbff,
            #f2f6fc);
}

.stock-action-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
}

.stock-action-heading i {
    color: var(--primary);
}

.stock-action-description {
    margin: 12px 0 25px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

.stock-input-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.stock-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.stock-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.08);
}

.stock-input-wrapper>span {
    padding-left: 15px;
    color: var(--text-light);
    font-weight: 800;
}

.stock-input-wrapper input {
    width: 100%;
    padding: 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.stock-estimate {
    display: grid;
    gap: 1px;
    margin: 18px 0;
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
    background: var(--border);
}

.stock-estimate>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 14px;
    background: #fff;
}

.stock-estimate span {
    color: var(--text-light);
    font-size: 11px;
}

.stock-estimate strong {
    color: var(--text);
    font-size: 12px;
}

.stock-simulate-btn {
    width: 100%;
    justify-content: center;
}

.stock-simulation-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 10px;
    background: rgba(22, 119, 255, 0.06);
    color: var(--text-light);
    font-size: 10px;
    line-height: 1.6;
}

.stock-simulation-note i {
    margin-top: 2px;
    color: var(--primary);
}


/* =========================================================
   STATISTICS
========================================================= */

.stock-statistics {
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

.stock-statistics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.stock-statistics-header>div>span {
    color: var(--text-light);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stock-statistics-header h3 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 21px;
}

.stock-demo-badge {
    padding: 7px 11px;
    border-radius: 8px;
    background: rgba(247, 144, 9, 0.09);
    color: var(--warning);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.stock-stat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.stock-stat-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--background);
}

.stock-stat-card strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   COMPANY / RESEARCH
========================================================= */

.stock-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 32px;
    border-bottom: 1px solid var(--border);
}

.stock-company-card,
.stock-research-card {
    display: flex;
    gap: 17px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--background);
}

.stock-company-icon,
.stock-research-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(22, 119, 255, 0.09);
    color: var(--primary);
}

.stock-company-card>div:last-child>span,
.stock-research-card>div:last-child>span {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.stock-company-card h3,
.stock-research-card h3 {
    margin: 5px 0 8px;
    color: var(--text);
    font-size: 19px;
}

.stock-company-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}

.stock-research-card ul {
    display: grid;
    gap: 9px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
}

.stock-research-card li {
    display: flex;
    gap: 8px;
    color: var(--text-light);
    font-size: 12px;
}

.stock-research-card li i {
    margin-top: 3px;
    color: var(--success);
    font-size: 10px;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.stock-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 24px 32px 32px;
    padding: 17px;
    border: 1px solid rgba(247, 144, 9, 0.20);
    border-radius: 14px;
    background: rgba(247, 144, 9, 0.06);
}

.stock-disclaimer>i {
    margin-top: 3px;
    color: var(--warning);
}

.stock-disclaimer strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 12px;
}

.stock-disclaimer p {
    margin: 0;
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.7;
}


/* =========================================================
   STEP 8 RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .stock-main-grid {
        grid-template-columns: 1fr;
    }

    .stock-chart-panel {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stock-stat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 800px) {

    .stock-investment-section {
        padding: 85px 0;
    }

    .stock-dashboard-top,
    .stock-price-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .stock-market-status {
        align-self: flex-start;
    }

    .stock-mini-stats {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .stock-company-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .stock-dashboard-top,
    .stock-price-summary,
    .stock-chart-panel,
    .stock-action-panel,
    .stock-statistics,
    .stock-company-grid {
        padding: 22px;
    }

    .stock-disclaimer {
        margin: 20px 22px 22px;
    }

    .stock-mini-stats {
        grid-template-columns: 1fr;
    }

    .stock-mini-stats>div {
        min-width: 0;
    }

    .stock-chart {
        height: 250px;
        padding-right: 40px;
    }

    .stock-chart-y-axis {
        width: 35px;
    }

    .stock-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stock-stat-card {
        padding: 13px;
    }

    .stock-company-card,
    .stock-research-card {
        padding: 18px;
    }

    .stock-chart-controls {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .stock-range-btn {
        flex: 0 0 auto;
    }

}

/* =========================================================
   STEP 9 — TOP INVESTORS
========================================================= */

.top-investors-section {
    position: relative;
    padding: 120px 0;
    background: #07111f;
    color: var(--text-white);
    overflow: hidden;
}

.top-investors-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -220px;
    right: -180px;
    border-radius: 50%;
    background: rgba(22, 119, 255, 0.10);
    filter: blur(80px);
    pointer-events: none;
}

.top-investors-section .section-header {
    position: relative;
    z-index: 1;
}

.top-investors-header {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

.top-investors-header h2 {
    color: #fff;
}

.top-investors-header p {
    color: rgba(233, 240, 248, 0.68);
}


/* =========================================================
   DEMO NOTICE
========================================================= */

.investors-demo-notice {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 850px;
    margin: 0 auto 35px;
    padding: 12px 18px;
    border: 1px solid rgba(247, 144, 9, 0.20);
    border-radius: 12px;
    background: rgba(247, 144, 9, 0.06);
    color: rgba(233, 240, 248, 0.72);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.investors-demo-notice i {
    flex: 0 0 auto;
    color: var(--warning);
}


/* =========================================================
   FEATURED INVESTOR
========================================================= */

.featured-investor-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 100px minmax(200px, 1fr) 1.5fr auto;
    align-items: center;
    gap: 25px;
    padding: 28px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 22px;
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.035));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.featured-investor-rank span {
    display: block;
    color: rgba(233, 240, 248, 0.50);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.featured-investor-rank strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
}

.featured-investor-profile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.investor-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.featured-investor-profile .investor-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
}

.investor-avatar-gold {
    background: linear-gradient(135deg, #8d6616, #d9ad48);
}

.investor-avatar-blue {
    background: linear-gradient(135deg, #1252aa, #3297ff);
}

.investor-avatar-purple {
    background: linear-gradient(135deg, #5632a6, #9d70f4);
}

.investor-avatar-cyan {
    background: linear-gradient(135deg, #087c8c, #31d1e1);
}

.investor-avatar-orange {
    background: linear-gradient(135deg, #a95116, #f49b4d);
}

.investor-status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8bdcb6;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.investor-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.featured-investor-profile h3 {
    margin: 4px 0 2px;
    color: #fff;
    font-size: 19px;
}

.featured-investor-profile p {
    margin: 0;
    color: rgba(233, 240, 248, 0.56);
    font-size: 11px;
}

.featured-investor-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.featured-investor-metrics>div {
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.featured-investor-metrics span {
    display: block;
    margin-bottom: 6px;
    color: rgba(233, 240, 248, 0.48);
    font-size: 9px;
    line-height: 1.4;
}

.featured-investor-metrics strong {
    color: #fff;
    font-size: 12px;
}

.featured-investor-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.featured-investor-action>span {
    color: rgba(233, 240, 248, 0.45);
    font-size: 9px;
}

.featured-investor-action>span i {
    color: var(--secondary);
}

.investor-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.investor-view-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
}


/* =========================================================
   LEADERBOARD
========================================================= */

.investor-leaderboard {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.leaderboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.leaderboard-header>div:first-child span {
    color: rgba(233, 240, 248, 0.42);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.leaderboard-header h3 {
    margin: 5px 0 0;
    color: #fff;
    font-size: 20px;
}

.leaderboard-period {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(233, 240, 248, 0.52);
    font-size: 9px;
    font-weight: 700;
}

.investor-table-header,
.investor-row {
    display: grid;
    grid-template-columns: 2fr 1.25fr 1fr 1.25fr 0.8fr;
    align-items: center;
    gap: 15px;
}

.investor-table-header {
    padding: 13px 28px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(233, 240, 248, 0.38);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.investor-row {
    padding: 17px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    transition: background 0.25s ease;
}

.investor-row:hover {
    background: rgba(255, 255, 255, 0.035);
}

.investor-cell {
    min-width: 0;
}

.investor-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.investor-rank {
    width: 22px;
    color: rgba(233, 240, 248, 0.35);
    font-size: 9px;
    font-weight: 800;
}

.investor-cell strong {
    display: block;
    color: #fff;
    font-size: 11px;
}

.investor-cell small {
    display: block;
    margin-top: 3px;
    color: rgba(233, 240, 248, 0.40);
    font-size: 9px;
}

.investor-style-badge,
.investor-active-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 7px;
    font-size: 8px;
    font-weight: 800;
}

.investor-style-badge {
    background: rgba(22, 119, 255, 0.10);
    color: #72b0ff;
}

.investor-style-badge.systematic {
    background: rgba(32, 199, 217, 0.10);
    color: #72e1ec;
}

.investor-style-badge.income {
    background: rgba(18, 183, 106, 0.10);
    color: #72d8a8;
}

.investor-style-badge.digital {
    background: rgba(157, 112, 244, 0.12);
    color: #bda1ff;
}

.investor-style-badge.multi {
    background: rgba(247, 144, 9, 0.10);
    color: #ffc16e;
}

.investor-active-badge {
    background: rgba(18, 183, 106, 0.09);
    color: #78dca9;
}


/* =========================================================
   INVESTOR INSIGHTS
========================================================= */

.investor-insights-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.investor-insight-card {
    display: flex;
    gap: 15px;
    padding: 23px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
}

.investor-insight-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(22, 119, 255, 0.10);
    color: #68aaff;
}

.investor-insight-card span {
    color: rgba(233, 240, 248, 0.40);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.investor-insight-card h3 {
    margin: 5px 0 7px;
    color: #fff;
    font-size: 15px;
}

.investor-insight-card p {
    margin: 0;
    color: rgba(233, 240, 248, 0.54);
    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .featured-investor-card {
        grid-template-columns: 80px 1fr;
    }

    .featured-investor-metrics {
        grid-column: 2;
    }

    .featured-investor-action {
        grid-column: 2;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }

}


@media (max-width: 850px) {

    .top-investors-section {
        padding: 90px 0;
    }

    .investor-table-header {
        display: none;
    }

    .investor-row {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
    }

    .investor-row .investor-cell:nth-child(2)::before,
    .investor-row .investor-cell:nth-child(3)::before,
    .investor-row .investor-cell:nth-child(4)::before,
    .investor-row .investor-cell:nth-child(5)::before {
        display: block;
        margin-bottom: 5px;
        color: rgba(233, 240, 248, 0.35);
        font-size: 8px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .investor-row .investor-cell:nth-child(2)::before {
        content: "Style";
    }

    .investor-row .investor-cell:nth-child(3)::before {
        content: "Portfolio";
    }

    .investor-row .investor-cell:nth-child(4)::before {
        content: "Focus";
    }

    .investor-row .investor-cell:nth-child(5)::before {
        content: "Status";
    }

    .investor-insights-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .investors-demo-notice {
        align-items: flex-start;
        text-align: left;
    }

    .featured-investor-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .featured-investor-metrics {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .featured-investor-action {
        grid-column: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .leaderboard-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }

    .investor-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .investor-person {
        padding-bottom: 5px;
    }

}

/* =========================================================
   STEP 10 — ACTIVITY / NOTIFICATIONS
========================================================= */

.activity-section {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(circle at 10% 15%,
            rgba(22, 119, 255, 0.07),
            transparent 30%),
        linear-gradient(180deg,
            #f5f8fc 0%,
            #ffffff 100%);
    overflow: hidden;
}


/* -------------------------
   Section Header
------------------------- */

.activity-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.activity-header h2 {
    margin-bottom: 16px;
}

.activity-header p {
    max-width: 650px;
    margin: 0 auto;
}


/* -------------------------
   Demo Notice
------------------------- */

.activity-demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    max-width: 900px;
    margin: 0 auto 34px;
    padding: 18px 22px;

    background: rgba(22, 119, 255, 0.055);
    border: 1px solid rgba(22, 119, 255, 0.15);
    border-radius: 16px;
}

.activity-demo-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(22, 119, 255, 0.10);
    color: var(--primary);
    font-size: 17px;
}

.activity-demo-notice strong {
    display: block;
    margin-bottom: 4px;

    color: var(--text);
    font-size: 14px;
}

.activity-demo-notice p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   ACTIVITY TICKER
========================================================= */

.activity-ticker-wrapper {
    display: flex;
    align-items: stretch;

    margin-bottom: 34px;

    border-radius: 18px;
    overflow: hidden;

    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 18px 50px rgba(7, 17, 31, 0.12);
}

.activity-ticker-label {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 9px;

    min-width: 150px;
    padding: 0 20px;

    background: var(--navy-light);
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.activity-live-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--success);

    box-shadow:
        0 0 0 5px rgba(18, 183, 106, 0.12);

    animation: activityLivePulse 1.8s infinite;
}

@keyframes activityLivePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.55;
        transform: scale(0.8);
    }
}

.activity-ticker-window {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.activity-ticker-track {
    display: flex;
    width: max-content;

    animation: activityTickerMove 34s linear infinite;
}

.activity-ticker-track:hover {
    animation-play-state: paused;
}

.activity-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;

    min-width: 290px;
    padding: 15px 24px;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-ticker-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 14px;
}

.activity-ticker-item strong {
    display: block;

    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.activity-ticker-item small {
    display: block;
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}

@keyframes activityTickerMove {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =========================================================
   COLOR HELPERS
========================================================= */

.activity-ticker-icon.blue,
.activity-list-icon.blue,
.activity-summary-stat-icon.blue {
    background: rgba(22, 119, 255, 0.11);
    color: var(--primary);
}

.activity-ticker-icon.green,
.activity-list-icon.green,
.activity-summary-stat-icon.green {
    background: rgba(18, 183, 106, 0.11);
    color: var(--success);
}

.activity-ticker-icon.purple,
.activity-list-icon.purple,
.activity-summary-stat-icon.purple {
    background: rgba(124, 92, 255, 0.11);
    color: #7357e8;
}

.activity-ticker-icon.orange,
.activity-list-icon.orange,
.activity-summary-stat-icon.orange {
    background: rgba(247, 144, 9, 0.11);
    color: var(--warning);
}

.activity-ticker-icon.cyan,
.activity-list-icon.cyan,
.activity-summary-stat-icon.cyan {
    background: rgba(32, 199, 217, 0.11);
    color: var(--secondary);
}

.activity-ticker-icon.red,
.activity-list-icon.red,
.activity-summary-stat-icon.red {
    background: rgba(240, 68, 56, 0.11);
    color: var(--danger);
}


/* =========================================================
   ACTIVITY GRID
========================================================= */

.activity-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.75fr) minmax(280px, 0.75fr);

    gap: 24px;
    align-items: start;
}


/* =========================================================
   MAIN ACTIVITY CARD
========================================================= */

.activity-card,
.activity-summary-card {
    position: relative;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;

    box-shadow:
        0 12px 35px rgba(7, 17, 31, 0.055);
}

.activity-main-card {
    padding: 28px;
}

.activity-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    margin-bottom: 20px;
}

.activity-card-eyebrow {
    display: block;
    margin-bottom: 5px;

    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-card-header h3,
.activity-summary-header h3 {
    margin: 0;

    color: var(--text);
    font-size: 23px;
    line-height: 1.25;
}


/* -------------------------
   Filter Button
------------------------- */

.activity-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--text);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.activity-filter-btn:hover {
    border-color: rgba(22, 119, 255, 0.25);
    background: rgba(22, 119, 255, 0.05);
    color: var(--primary);
}


/* -------------------------
   Filter Menu
------------------------- */

.activity-filter-menu {
    display: none;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 20px;
    padding: 10px;

    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.activity-filter-menu.show {
    display: flex;
}

.activity-filter-menu button {
    padding: 8px 12px;

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;
    color: var(--text-light);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}

.activity-filter-menu button:hover,
.activity-filter-menu button.active {
    background: #ffffff;
    border-color: var(--border);
    color: var(--primary);
}


/* =========================================================
   ACTIVITY LIST
========================================================= */

.activity-list {
    display: flex;
    flex-direction: column;
}

.activity-list-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 19px 0;

    border-bottom: 1px solid var(--border);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.activity-list-item:first-child {
    padding-top: 5px;
}

.activity-list-item:last-child {
    padding-bottom: 4px;
    border-bottom: none;
}

.activity-list-item.activity-hidden {
    display: none;
}

.activity-list-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    font-size: 15px;
}

.activity-list-content {
    min-width: 0;
    flex: 1;
}

.activity-list-top {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.activity-list-top h4 {
    margin: 0;

    color: var(--text);
    font-size: 14px;
    font-weight: 750;
}

.activity-list-content p {
    margin: 6px 0;

    color: var(--text-light);
    font-size: 12px;
    line-height: 1.65;
}

.activity-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #98a2b3;
    font-size: 10px;
}

.activity-demo-badge {
    display: inline-flex;
    align-items: center;

    padding: 3px 7px;

    border-radius: 5px;

    background: rgba(22, 119, 255, 0.08);
    color: var(--primary);

    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.06em;
}


/* =========================================================
   SUMMARY CARD
========================================================= */

.activity-summary-card {
    padding: 28px;
}

.activity-summary-header {
    margin-bottom: 25px;
}

.activity-summary-stat {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px 0;

    border-bottom: 1px solid var(--border);
}

.activity-summary-stat-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;
    font-size: 13px;
}

.activity-summary-stat span {
    display: block;

    color: var(--text-light);
    font-size: 10px;
}

.activity-summary-stat strong {
    display: block;
    margin-top: 3px;

    color: var(--text);
    font-size: 17px;
}


/* =========================================================
   SECURITY BOX
========================================================= */

.activity-security {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 22px;
    padding: 15px;

    background: #f7f9fc;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.activity-security-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(18, 183, 106, 0.10);
    color: var(--success);

    font-size: 13px;
}

.activity-security strong {
    display: block;

    color: var(--text);
    font-size: 11px;
}

.activity-security p {
    margin: 5px 0 0;

    color: var(--text-light);
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   STEP 10 RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .activity-section {
        padding: 85px 0;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .activity-summary-card {
        order: -1;
    }

    .activity-ticker-wrapper {
        display: block;
    }

    .activity-ticker-label {
        min-height: 48px;
    }

    .activity-ticker-item {
        min-width: 260px;
    }
}


@media (max-width: 600px) {

    .activity-section {
        padding: 70px 0;
    }

    .activity-demo-notice {
        padding: 15px;
        gap: 11px;
    }

    .activity-demo-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .activity-main-card,
    .activity-summary-card {
        padding: 20px;
        border-radius: 18px;
    }

    .activity-card-header {
        align-items: flex-start;
    }

    .activity-card-header h3,
    .activity-summary-header h3 {
        font-size: 20px;
    }

    .activity-filter-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .activity-list-item {
        gap: 11px;
    }

    .activity-list-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .activity-list-top h4 {
        font-size: 13px;
    }

    .activity-list-content p {
        font-size: 11px;
    }

    .activity-ticker-item {
        min-width: 245px;
        padding: 13px 17px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .activity-ticker-track {
        animation: none;
    }

    .activity-live-dot {
        animation: none;
    }
}

/* =========================================================
   STEP 11 — RESEARCH & INSIGHTS
========================================================= */

.research-section {
    position: relative;
    padding: 115px 0;

    background:
        radial-gradient(circle at 85% 15%,
            rgba(22, 119, 255, 0.08),
            transparent 30%),
        #ffffff;

    overflow: hidden;
}


/* =========================================================
   HEADER
========================================================= */

.research-header {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.research-header h2 {
    margin-bottom: 16px;
}

.research-header p {
    max-width: 690px;
    margin: 0 auto;
}


/* =========================================================
   FEATURED RESEARCH
========================================================= */

.featured-research-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    min-height: 440px;

    margin-bottom: 42px;

    overflow: hidden;

    border-radius: 26px;

    background: var(--navy);

    box-shadow:
        0 25px 65px rgba(7, 17, 31, 0.16);
}

.featured-research-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px;
}

.research-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
}

.research-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.research-category {
    padding: 7px 10px;

    border: 1px solid rgba(32, 199, 217, 0.25);
    border-radius: 7px;

    background: rgba(32, 199, 217, 0.09);
    color: var(--secondary) !important;

    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.featured-research-content h3 {
    max-width: 650px;

    margin: 0 0 18px;

    color: #ffffff;

    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.featured-research-content>p {
    max-width: 620px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.8;
}

.featured-research-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.research-author {
    display: flex;
    align-items: center;
    gap: 11px;
}

.research-author-avatar {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.10);

    color: #ffffff;
}

.research-author strong {
    display: block;

    color: #ffffff;
    font-size: 11px;
}

.research-author span {
    display: block;
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.50);

    font-size: 9px;
}


/* =========================================================
   FEATURED VISUAL
========================================================= */

.featured-research-visual {
    position: relative;

    min-height: 440px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(circle at 50% 50%,
            rgba(22, 119, 255, 0.25),
            transparent 45%),
        #091a2f;
}

.research-visual-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.045) 1px,
            transparent 1px);

    background-size: 42px 42px;

    mask-image: linear-gradient(to bottom,
            black,
            transparent);
}

.research-orb {
    position: absolute;

    border-radius: 50%;
    filter: blur(2px);

    pointer-events: none;
}

.research-orb-one {
    width: 220px;
    height: 220px;

    top: -80px;
    right: -50px;

    background: rgba(32, 199, 217, 0.14);
}

.research-orb-two {
    width: 160px;
    height: 160px;

    bottom: -60px;
    left: -40px;

    background: rgba(22, 119, 255, 0.18);
}

.research-chart-card {
    position: relative;
    z-index: 2;

    width: 82%;
    max-width: 470px;

    padding: 22px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.065);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);
}

.research-chart-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.research-chart-top i {
    color: var(--secondary);
    font-size: 14px;
}

.research-chart {
    width: 100%;
    height: 190px;
}

.research-chart svg {
    width: 100%;
    height: 100%;
    display: block;
}

.research-chart-labels {
    display: flex;
    justify-content: space-between;

    margin-top: 10px;

    color: rgba(255, 255, 255, 0.38);

    font-size: 9px;
}


/* =========================================================
   CATEGORY FILTER
========================================================= */

.research-category-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 34px;
}

.research-category-btn {
    padding: 10px 16px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--text-light);

    font-family: inherit;
    font-size: 11px;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.research-category-btn:hover {
    border-color: rgba(22, 119, 255, 0.25);
    color: var(--primary);
    transform: translateY(-1px);
}

.research-category-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}


/* =========================================================
   RESEARCH LIBRARY
========================================================= */

.research-library {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.research-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(7, 17, 31, 0.045);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.research-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 40px rgba(7, 17, 31, 0.10);
}

.research-card.research-hidden {
    display: none;
}


/* =========================================================
   CARD VISUALS
========================================================= */

.research-card-visual {
    position: relative;

    height: 190px;

    padding: 20px;

    overflow: hidden;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    color: #ffffff;
}

.research-card-visual.equities {
    background:
        radial-gradient(circle at 80% 20%,
            rgba(32, 199, 217, 0.22),
            transparent 35%),
        #091a2f;
}

.research-card-visual.markets {
    background:
        radial-gradient(circle at 30% 30%,
            rgba(22, 119, 255, 0.30),
            transparent 38%),
        #0a1d32;
}

.research-card-visual.digital-assets {
    background:
        radial-gradient(circle at 50% 40%,
            rgba(247, 144, 9, 0.25),
            transparent 40%),
        #101b2d;
}

.research-card-visual.strategy {
    background:
        radial-gradient(circle at 80% 30%,
            rgba(124, 92, 255, 0.24),
            transparent 38%),
        #11162b;
}

.research-card-visual.education {
    background:
        radial-gradient(circle at 30% 30%,
            rgba(18, 183, 106, 0.22),
            transparent 40%),
        #0a1f24;
}

.research-card-visual.fixed-income {
    background:
        radial-gradient(circle at 70% 25%,
            rgba(32, 199, 217, 0.22),
            transparent 38%),
        #0b1d2c;
}

.research-card-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(10px);

    font-size: 16px;
}

.research-card-label {
    padding: 7px 9px;

    border-radius: 7px;

    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.72);

    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
}


/* =========================================================
   MINI CHART
========================================================= */

.research-mini-chart {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 18px;

    height: 80px;

    color: var(--secondary);
}

.research-mini-chart svg {
    width: 100%;
    height: 100%;
}


/* =========================================================
   GLOBAL MARKET VISUAL
========================================================= */

.research-world-lines {
    position: absolute;

    width: 210px;
    height: 120px;

    left: 50%;
    bottom: 12px;

    transform: translateX(-50%);
}

.research-world-lines span {
    position: absolute;

    left: 0;
    right: 0;

    height: 1px;

    background: rgba(255, 255, 255, 0.16);

    transform: rotate(calc(var(--line, 0) * 1deg));
}

.research-world-lines span:nth-child(1) {
    top: 25px;
    transform: rotate(8deg);
}

.research-world-lines span:nth-child(2) {
    top: 60px;
    transform: rotate(-7deg);
}

.research-world-lines span:nth-child(3) {
    top: 90px;
    transform: rotate(5deg);
}


/* =========================================================
   DIGITAL ASSET VISUAL
========================================================= */

.research-coin-orbit {
    position: absolute;

    width: 120px;
    height: 120px;

    left: 50%;
    bottom: 5px;

    transform: translateX(-50%);

    border: 1px dashed rgba(255, 255, 255, 0.20);
    border-radius: 50%;
}

.research-coin {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: rgba(247, 144, 9, 0.15);
    border: 1px solid rgba(247, 144, 9, 0.30);

    color: #f7a62b;

    font-size: 24px;
    font-weight: 800;
}


/* =========================================================
   STRATEGY VISUAL
========================================================= */

.strategy-lines {
    position: absolute;

    left: 30px;
    right: 30px;
    bottom: 22px;

    height: 80px;

    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.strategy-lines span {
    flex: 1;

    border-radius: 7px 7px 0 0;

    background: linear-gradient(to top,
            rgba(115, 87, 232, 0.16),
            rgba(115, 87, 232, 0.70));
}

.strategy-lines span:nth-child(1) {
    height: 38%;
}

.strategy-lines span:nth-child(2) {
    height: 65%;
}

.strategy-lines span:nth-child(3) {
    height: 48%;
}

.strategy-lines span:nth-child(4) {
    height: 85%;
}


/* =========================================================
   EDUCATION VISUAL
========================================================= */

.education-bars {
    position: absolute;

    left: 35px;
    right: 35px;
    bottom: 25px;

    height: 80px;

    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.education-bars span {
    flex: 1;

    min-height: 20px;

    border-radius: 6px 6px 0 0;

    background: rgba(18, 183, 106, 0.65);
}


/* =========================================================
   FIXED INCOME VISUAL
========================================================= */

.bond-lines {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    display: flex;
    flex-direction: column;
    gap: 13px;
}

.bond-lines span {
    height: 2px;

    border-radius: 4px;

    background:
        linear-gradient(90deg,
            rgba(32, 199, 217, 0.15),
            rgba(32, 199, 217, 0.75),
            rgba(32, 199, 217, 0.15));
}


/* =========================================================
   CARD BODY
========================================================= */

.research-card-body {
    padding: 22px;
}

.research-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 10px;

    color: #98a2b3;

    font-size: 9px;
    font-weight: 700;
}

.research-card-meta span:first-child {
    color: var(--primary);
}

.research-card-body h3 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.35;
}

.research-card-body p {
    min-height: 62px;

    margin: 0 0 18px;

    color: var(--text-light);

    font-size: 11px;
    line-height: 1.7;
}

.research-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition: gap 0.2s ease;
}

.research-read-link:hover {
    gap: 12px;
}


/* =========================================================
   BOTTOM RESEARCH CTA
========================================================= */

.research-bottom {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 36px;
    padding: 22px 25px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: #f8fafc;
}

.research-bottom-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(22, 119, 255, 0.09);
    color: var(--primary);
}

.research-bottom strong {
    display: block;

    color: var(--text);

    font-size: 13px;
}

.research-bottom p {
    margin: 4px 0 0;

    color: var(--text-light);

    font-size: 10px;
    line-height: 1.6;
}

.research-library-link {
    margin-left: auto;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    white-space: nowrap;

    color: var(--primary);

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.research-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 20px;

    color: #98a2b3;

    font-size: 9px;
    line-height: 1.7;
}

.research-disclaimer i {
    margin-top: 2px;
    color: #98a2b3;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .featured-research-card {
        grid-template-columns: 1fr;
    }

    .featured-research-visual {
        min-height: 350px;
    }

    .research-library {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .research-section {
        padding: 80px 0;
    }

    .featured-research-content {
        padding: 35px 25px;
    }

    .featured-research-content h3 {
        font-size: 30px;
    }

    .featured-research-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .featured-research-visual {
        min-height: 300px;
    }

    .research-chart-card {
        width: 88%;
        padding: 16px;
    }

    .research-chart {
        height: 145px;
    }

    .research-category-row {
        justify-content: flex-start;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .research-category-row::-webkit-scrollbar {
        display: none;
    }

    .research-category-btn {
        flex: 0 0 auto;
    }

    .research-library {
        grid-template-columns: 1fr;
    }

    .research-card-body p {
        min-height: auto;
    }

    .research-bottom {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .research-library-link {
        width: 100%;
        margin-left: 58px;
    }

}


@media (max-width: 480px) {

    .research-header {
        margin-bottom: 35px;
    }

    .featured-research-content {
        padding: 28px 20px;
    }

    .featured-research-content h3 {
        font-size: 27px;
    }

    .research-meta {
        gap: 9px;
    }

    .research-meta span {
        font-size: 9px;
    }

    .featured-research-visual {
        min-height: 265px;
    }

    .research-chart-card {
        width: 92%;
    }

    .research-bottom {
        padding: 18px;
    }

    .research-library-link {
        margin-left: 0;
    }

}

/* =========================================================
   STEP 12 — ABOUT
========================================================= */

.about-section {
    position: relative;

    padding: 115px 0;

    background:
        radial-gradient(circle at 10% 10%,
            rgba(22, 119, 255, 0.06),
            transparent 28%),
        #f5f8fc;

    overflow: hidden;
}


/* =========================================================
   ABOUT INTRO
========================================================= */

.about-intro {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(400px, 0.9fr);

    gap: 75px;
    align-items: center;

    margin-bottom: 115px;
}

.about-intro-content h2 {
    max-width: 650px;

    margin: 0 0 22px;

    color: var(--text);

    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.about-intro-content>p {
    max-width: 650px;

    margin: 0 0 16px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.85;
}

.about-intro-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;

    margin-top: 30px;
}

.about-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--text);

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.about-text-link:hover {
    color: var(--primary);
    gap: 12px;
}


/* =========================================================
   ABOUT VISUAL
========================================================= */

.about-intro-visual {
    position: relative;

    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 30px;

    background:
        radial-gradient(circle at center,
            rgba(22, 119, 255, 0.25),
            transparent 42%),
        #08172b;

    overflow: hidden;

    box-shadow:
        0 30px 75px rgba(7, 17, 31, 0.18);
}

.about-intro-visual::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 1px,
            transparent 1px);

    background-size: 42px 42px;
}

.about-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(20px);
}

.about-glow-one {
    width: 220px;
    height: 220px;

    top: -80px;
    right: -70px;

    background: rgba(32, 199, 217, 0.14);
}

.about-glow-two {
    width: 180px;
    height: 180px;

    bottom: -70px;
    left: -60px;

    background: rgba(22, 119, 255, 0.20);
}

.about-orbit {
    position: absolute;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    transform: rotate(-20deg);
}

.orbit-one {
    width: 340px;
    height: 180px;
}

.orbit-two {
    width: 430px;
    height: 250px;

    transform: rotate(35deg);
}


/* =========================================================
   CENTER CARD
========================================================= */

.about-center-card {
    position: relative;
    z-index: 4;

    width: 210px;
    min-height: 170px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.25);
}

.about-center-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    border-radius: 16px;

    background: rgba(22, 119, 255, 0.18);
    color: #63a2ff;

    font-size: 21px;
}

.about-center-card strong {
    color: #ffffff;

    font-size: 14px;
}

.about-center-card span {
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.50);

    font-size: 9px;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.about-floating-card {
    position: absolute;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 14px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.075);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.18);

    animation: aboutFloat 5s ease-in-out infinite;
}

.about-card-market {
    top: 80px;
    left: 35px;
}

.about-card-research {
    top: 50%;
    right: 25px;

    animation-delay: -1.5s;
}

.about-card-security {
    bottom: 55px;
    left: 45px;

    animation-delay: -3s;
}

.about-floating-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    font-size: 12px;
}

.about-floating-icon.blue {
    background: rgba(22, 119, 255, 0.16);
    color: #63a2ff;
}

.about-floating-icon.purple {
    background: rgba(124, 92, 255, 0.16);
    color: #a38fff;
}

.about-floating-icon.green {
    background: rgba(18, 183, 106, 0.16);
    color: #49d88f;
}

.about-floating-card strong {
    display: block;

    color: #ffffff;

    font-size: 10px;
}

.about-floating-card span {
    display: block;
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.43);

    font-size: 8px;
}

@keyframes aboutFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   SECTION HEADING
========================================================= */

.about-section-heading {
    max-width: 650px;

    margin-bottom: 40px;
}

.about-section-heading h2 {
    margin: 0 0 13px;

    color: var(--text);

    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.about-section-heading p {
    margin: 0;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   PRINCIPLES
========================================================= */

.about-principles {
    margin-bottom: 100px;
}

.principles-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.principle-card {
    position: relative;

    min-height: 280px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(7, 17, 31, 0.045);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.principle-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(7, 17, 31, 0.08);
}

.principle-number {
    position: absolute;

    top: 20px;
    right: 22px;

    color: #e8edf4;

    font-size: 28px;
    font-weight: 900;
}

.principle-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 13px;

    background: rgba(22, 119, 255, 0.09);
    color: var(--primary);

    font-size: 16px;
}

.principle-card h3 {
    margin: 0 0 10px;

    color: var(--text);

    font-size: 17px;
}

.principle-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 11px;
    line-height: 1.75;
}


/* =========================================================
   MISSION / VISION
========================================================= */

.mission-vision-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin-bottom: 100px;
}

.mission-card,
.vision-card {
    position: relative;

    padding: 42px;

    min-height: 320px;

    overflow: hidden;

    border-radius: 23px;

    background: var(--navy);

    box-shadow:
        0 20px 50px rgba(7, 17, 31, 0.10);
}

.vision-card {
    background:
        linear-gradient(135deg,
            #0a2037,
            #102d4a);
}

.mission-card::after,
.vision-card::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(22, 119, 255, 0.13);
}

.mission-card-icon {
    position: relative;
    z-index: 2;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 13px;

    background: rgba(255, 255, 255, 0.08);
    color: var(--secondary);

    font-size: 17px;
}

.mission-card>span,
.vision-card>span {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.10em;
}

.mission-card h3,
.vision-card h3 {
    position: relative;
    z-index: 2;

    max-width: 500px;

    margin: 0 0 15px;

    color: #ffffff;

    font-size: 27px;
    line-height: 1.2;
}

.mission-card p,
.vision-card p {
    position: relative;
    z-index: 2;

    max-width: 550px;

    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.about-technology {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(400px, 0.85fr);

    gap: 70px;
    align-items: center;

    margin-bottom: 85px;
}

.about-tech-content h2 {
    max-width: 600px;

    margin: 0 0 16px;

    color: var(--text);

    font-size: clamp(31px, 3.5vw, 45px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.about-tech-content>p {
    max-width: 600px;

    margin: 0 0 28px;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.8;
}

.technology-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.technology-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.technology-check {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(18, 183, 106, 0.09);
    color: var(--success);

    font-size: 11px;
}

.technology-item strong {
    display: block;

    color: var(--text);

    font-size: 12px;
}

.technology-item p {
    margin: 4px 0 0;

    color: var(--text-light);

    font-size: 10px;
    line-height: 1.65;
}


/* =========================================================
   ARCHITECTURE PANEL
========================================================= */

.about-tech-panel {
    padding: 30px;

    border-radius: 23px;

    background:
        radial-gradient(circle at 50% 50%,
            rgba(22, 119, 255, 0.17),
            transparent 50%),
        var(--navy);

    box-shadow:
        0 25px 60px rgba(7, 17, 31, 0.15);
}

.tech-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);

    color: rgba(255, 255, 255, 0.50);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.tech-panel-header i {
    color: var(--secondary);
    font-size: 14px;
}

.architecture-flow {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 32px 0;
}

.architecture-node {
    width: 80%;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.055);
}

.architecture-node i {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(22, 119, 255, 0.15);
    color: #63a2ff;

    font-size: 12px;
}

.architecture-node span {
    color: rgba(255, 255, 255, 0.80);

    font-size: 10px;
    font-weight: 700;
}

.architecture-line {
    width: 1px;
    height: 30px;

    background: rgba(255, 255, 255, 0.13);
}

.tech-panel-footer {
    display: flex;
    align-items: center;
    gap: 8px;

    padding-top: 17px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    color: rgba(255, 255, 255, 0.48);

    font-size: 9px;
}

.tech-panel-footer i {
    color: var(--success);
}


/* =========================================================
   METRICS
========================================================= */

.about-metrics {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    border: 1px solid var(--border);
    border-radius: 20px;

    background: #ffffff;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(7, 17, 31, 0.04);
}

.about-metric {
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 28px 20px;

    text-align: center;

    border-right: 1px solid var(--border);
}

.about-metric:last-child {
    border-right: none;
}

.about-metric-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 12px;

    border-radius: 11px;

    background: rgba(22, 119, 255, 0.08);
    color: var(--primary);

    font-size: 14px;
}

.about-metric strong {
    color: var(--text);

    font-size: 13px;
}

.about-metric span {
    margin-top: 4px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   DISCLAIMER
========================================================= */

.about-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin-top: 22px;

    color: #98a2b3;

    font-size: 9px;
    line-height: 1.7;
}

.about-disclaimer i {
    margin-top: 2px;
}

.about-disclaimer p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .about-intro {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-intro-visual {
        min-height: 460px;
    }

    .principles-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-technology {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 750px) {

    .about-section {
        padding: 80px 0;
    }

    .about-intro {
        margin-bottom: 80px;
    }

    .about-intro-content h2 {
        font-size: 37px;
    }

    .about-intro-visual {
        min-height: 390px;
        border-radius: 22px;
    }

    .about-card-market {
        top: 35px;
        left: 18px;
    }

    .about-card-research {
        top: auto;
        right: 18px;
        bottom: 100px;
    }

    .about-card-security {
        left: 20px;
        bottom: 30px;
    }

    .about-orbit {
        transform: scale(0.8) rotate(-20deg);
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;

        margin-bottom: 80px;
    }

    .mission-card,
    .vision-card {
        padding: 30px;

        min-height: auto;
    }

    .mission-card h3,
    .vision-card h3 {
        font-size: 24px;
    }

    .about-metrics {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-metric:nth-child(2) {
        border-right: none;
    }

    .about-metric:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }

}


@media (max-width: 480px) {

    .about-intro-content h2 {
        font-size: 32px;
    }

    .about-intro-content>p {
        font-size: 12px;
    }

    .about-intro-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-intro-visual {
        min-height: 340px;
    }

    .about-center-card {
        width: 175px;
        min-height: 145px;
    }

    .about-center-icon {
        width: 46px;
        height: 46px;

        font-size: 17px;
    }

    .about-floating-card {
        padding: 9px 10px;
    }

    .about-floating-card span {
        display: none;
    }

    .about-card-market {
        top: 20px;
        left: 12px;
    }

    .about-card-research {
        right: 12px;
        bottom: 90px;
    }

    .about-card-security {
        left: 12px;
        bottom: 20px;
    }

    .about-principles {
        margin-bottom: 70px;
    }

    .mission-vision-grid {
        gap: 15px;
    }

    .about-technology {
        margin-bottom: 65px;
    }

    .about-tech-panel {
        padding: 20px;
    }

    .architecture-node {
        width: 100%;
    }

    .about-metrics {
        grid-template-columns: 1fr;
    }

    .about-metric {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .about-metric:last-child {
        border-bottom: none;
    }

}

/* =========================================================
   STEP 13 — ACCOUNT OPENING CTA
   ========================================================= */

.account-cta-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background:
        radial-gradient(circle at 15% 20%,
            rgba(22, 119, 255, 0.16),
            transparent 32%),
        radial-gradient(circle at 85% 80%,
            rgba(32, 199, 217, 0.12),
            transparent 30%),
        linear-gradient(135deg,
            #07111f 0%,
            #09172a 48%,
            #06101d 100%);
    isolation: isolate;
}

.account-cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px,
            transparent 1px),
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px);
    background-size: 60px 60px;
}

.account-cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}

.account-cta-glow-one {
    width: 360px;
    height: 360px;
    top: -180px;
    left: -120px;
    background: rgba(22, 119, 255, 0.13);
}

.account-cta-glow-two {
    width: 320px;
    height: 320px;
    right: -100px;
    bottom: -160px;
    background: rgba(32, 199, 217, 0.10);
}


/* ---------------------------------------------------------
   CTA WRAPPER
   --------------------------------------------------------- */

.account-cta-wrapper {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr) minmax(420px, 0.95fr);

    gap: 70px;
    align-items: center;
}


/* ---------------------------------------------------------
   LEFT CONTENT
   --------------------------------------------------------- */

.account-cta-content {
    max-width: 700px;
}

.account-cta-eyebrow {
    color: #8dbdff;
    margin-bottom: 22px;
}

.account-cta-eyebrow i {
    margin-right: 8px;
}

.account-cta-content h2 {
    margin: 0 0 24px;
    color: #ffffff;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.account-cta-content h2 span {
    background: linear-gradient(90deg,
            #4b9aff,
            #56d7e7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.account-cta-content>p {
    max-width: 650px;
    margin: 0;
    color: rgba(233, 240, 248, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   CTA BUTTONS
   --------------------------------------------------------- */

.account-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.account-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.account-primary-btn i {
    transition: transform 0.25s ease;
}

.account-primary-btn:hover i {
    transform: translateX(4px);
}

.account-secondary-btn {
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.account-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.10);
}


/* ---------------------------------------------------------
   TRUST ITEMS
   --------------------------------------------------------- */

.account-cta-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.account-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
}

.account-trust-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
    color: #72b3ff;
    background: rgba(22, 119, 255, 0.12);
    border: 1px solid rgba(22, 119, 255, 0.18);
}

.account-trust-item strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 700;
}

.account-trust-item small {
    display: block;
    color: rgba(233, 240, 248, 0.50);
    font-size: 0.70rem;
    line-height: 1.45;
}


/* ---------------------------------------------------------
   RIGHT VISUAL
   --------------------------------------------------------- */

.account-cta-visual {
    position: relative;
}

.account-panel {
    position: relative;
    padding: 30px;

    border-radius: 24px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.045));

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.30),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.account-panel::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(86, 215, 231, 0.7),
            transparent);
}


/* ---------------------------------------------------------
   PANEL HEADER
   --------------------------------------------------------- */

.account-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    padding-bottom: 24px;
    margin-bottom: 8px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-panel-label {
    display: block;
    margin-bottom: 7px;

    color: #68b4ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.account-panel-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 700;
}

.account-panel-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 10px;
    border-radius: 999px;

    color: #9af0c5;
    background: rgba(18, 183, 106, 0.09);
    border: 1px solid rgba(18, 183, 106, 0.16);

    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
}

.account-panel-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #12b76a;
    box-shadow: 0 0 10px rgba(18, 183, 106, 0.7);
}


/* ---------------------------------------------------------
   ACCOUNT STEPS
   --------------------------------------------------------- */

.account-steps {
    padding-top: 16px;
}

.account-step {
    position: relative;

    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 14px;

    padding: 17px 14px;

    border-radius: 15px;
    border: 1px solid transparent;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.account-step:hover {
    transform: translateY(-2px);

    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.08);
}

.account-step.active {
    background: rgba(22, 119, 255, 0.07);
    border-color: rgba(22, 119, 255, 0.12);
}

.account-step-number {
    color: rgba(255, 255, 255, 0.30);
    font-size: 0.68rem;
    font-weight: 800;
}

.account-step.active .account-step-number {
    color: #5ca8ff;
}

.account-step-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #7bb8ff;
    background: rgba(22, 119, 255, 0.10);
    border: 1px solid rgba(22, 119, 255, 0.13);
}

.account-step-content h4 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
}

.account-step-content p {
    margin: 0;
    color: rgba(233, 240, 248, 0.48);
    font-size: 0.72rem;
    line-height: 1.55;
}

.account-step-check {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.045);

    font-size: 0.68rem;
}

.account-step.active .account-step-check {
    color: #8ee7bd;
    background: rgba(18, 183, 106, 0.10);
}

.account-step-line {
    width: 1px;
    height: 18px;
    margin-left: 78px;

    background: rgba(255, 255, 255, 0.10);
}


/* ---------------------------------------------------------
   PANEL FOOTER
   --------------------------------------------------------- */

.account-panel-footer {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.account-panel-footer-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #76b6ff;
    background: rgba(22, 119, 255, 0.08);
}

.account-panel-footer p {
    margin: 0;
    color: rgba(233, 240, 248, 0.45);
    font-size: 0.70rem;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   BOTTOM NOTE
   --------------------------------------------------------- */

.account-cta-note {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 42px;
    padding: 14px 20px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.025);

    color: rgba(233, 240, 248, 0.50);
    font-size: 0.73rem;
    text-align: center;
}

.account-cta-note i {
    color: #53d79c;
}


/* =========================================================
   STEP 13 — RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .account-cta-wrapper {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .account-cta-content {
        max-width: 850px;
    }

    .account-cta-visual {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }

}


@media (max-width: 750px) {

    .account-cta-section {
        padding: 80px 0 65px;
    }

    .account-cta-content h2 {
        font-size: clamp(2.1rem, 8vw, 3rem);
    }

    .account-cta-content>p {
        font-size: 0.95rem;
    }

    .account-cta-trust {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .account-panel {
        padding: 22px;
        border-radius: 20px;
    }

    .account-panel-header {
        flex-direction: column;
        gap: 14px;
    }

    .account-step {
        grid-template-columns: 30px 42px minmax(0, 1fr) 28px;
        gap: 10px;
        padding: 15px 8px;
    }

    .account-step-icon {
        width: 42px;
        height: 42px;
    }

    .account-step-content h4 {
        font-size: 0.82rem;
    }

    .account-step-content p {
        font-size: 0.68rem;
    }

    .account-step-line {
        margin-left: 64px;
    }

}


@media (max-width: 480px) {

    .account-cta-section {
        padding: 65px 0 55px;
    }

    .account-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .account-cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .account-panel {
        padding: 17px;
    }

    .account-step {
        grid-template-columns: 1fr 34px 27px;
        gap: 10px;
    }

    .account-step-number {
        display: none;
    }

    .account-step-icon {
        grid-column: 1;
        grid-row: 1;
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .account-step-content {
        grid-column: 2;
        grid-row: 1;
    }

    .account-step-check {
        grid-column: 3;
        grid-row: 1;
    }

    .account-step-line {
        margin-left: 17px;
    }

    .account-panel-footer {
        margin-top: 16px;
        padding-top: 16px;
    }

    .account-cta-note {
        align-items: flex-start;
        text-align: left;
    }

}

/* =========================================================
   STEP 14 — PROFESSIONAL FOOTER
   ========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;

    padding: 80px 0 0;

    color: #e9f0f8;

    background:
        radial-gradient(circle at 85% 10%,
            rgba(22, 119, 255, 0.08),
            transparent 28%),
        linear-gradient(180deg,
            #07111f 0%,
            #050d18 100%);

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background: linear-gradient(90deg,
            transparent,
            rgba(22, 119, 255, 0.55),
            rgba(32, 199, 217, 0.40),
            transparent);

    pointer-events: none;
}


/* ---------------------------------------------------------
   FOOTER TOP
   --------------------------------------------------------- */

.footer-top {
    display: grid;

    grid-template-columns:
        minmax(260px, 1.5fr) repeat(3, minmax(120px, 0.75fr)) minmax(180px, 1fr);

    gap: 45px;

    padding-bottom: 65px;
}


/* ---------------------------------------------------------
   BRAND
   --------------------------------------------------------- */

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #ffffff;
    text-decoration: none;

    margin-bottom: 20px;
}

.footer-logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;

    border-radius: 10px;
}

.footer-logo span {
    color: #ffffff;

    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;

    letter-spacing: -0.02em;
}

.footer-brand>p {
    margin: 0;

    color: rgba(233, 240, 248, 0.55);

    font-size: 0.80rem;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   SECURITY BADGE
   --------------------------------------------------------- */

.footer-security-badge {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 25px;
    padding: 12px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-security-badge>i {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: #74b6ff;
    background: rgba(22, 119, 255, 0.10);
}

.footer-security-badge strong {
    display: block;

    margin-bottom: 2px;

    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 700;
}

.footer-security-badge span {
    display: block;

    color: rgba(233, 240, 248, 0.42);

    font-size: 0.65rem;
}


/* ---------------------------------------------------------
   FOOTER COLUMNS
   --------------------------------------------------------- */

.footer-column h3 {
    margin: 4px 0 18px;

    color: #ffffff;

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.02em;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 11px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.footer-column ul li a {
    color: rgba(233, 240, 248, 0.52);

    font-size: 0.76rem;
    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   SUPPORT
   --------------------------------------------------------- */

.footer-support>p {
    margin: 0 0 15px;

    color: rgba(233, 240, 248, 0.50);

    font-size: 0.75rem;
    line-height: 1.65;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #78b8ff;

    font-size: 0.75rem;
    font-weight: 700;

    text-decoration: none;
}

.footer-contact-link i {
    transition: transform 0.2s ease;
}

.footer-contact-link:hover {
    color: #ffffff;
}

.footer-contact-link:hover i {
    transform: translateX(4px);
}


/* ---------------------------------------------------------
   SOCIALS
   --------------------------------------------------------- */

.footer-socials {
    display: flex;
    gap: 8px;

    margin-top: 23px;
}

.footer-socials a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    color: rgba(255, 255, 255, 0.62);

    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);

    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background: rgba(22, 119, 255, 0.16);
    transform: translateY(-2px);
}


/* ---------------------------------------------------------
   NEWSLETTER
   --------------------------------------------------------- */

.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 25px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-newsletter-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    border-radius: 12px;

    color: #72b6ff;
    background: rgba(22, 119, 255, 0.09);
    border: 1px solid rgba(22, 119, 255, 0.13);

    font-size: 0.95rem;
}

.footer-newsletter-content h3 {
    margin: 0 0 3px;

    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 800;
}

.footer-newsletter-content p {
    margin: 0;

    color: rgba(233, 240, 248, 0.46);

    font-size: 0.70rem;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;

    width: min(100%, 430px);

    padding: 4px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-newsletter-form input {
    flex: 1;

    min-width: 0;

    height: 44px;

    padding: 0 13px;

    color: #ffffff;

    background: transparent;

    border: 0;
    outline: none;

    font-family: inherit;
    font-size: 0.75rem;
}

.footer-newsletter-form input::placeholder {
    color: rgba(233, 240, 248, 0.35);
}

.footer-newsletter-form .btn {
    flex: 0 0 auto;

    height: 44px;

    padding: 0 17px;

    font-size: 0.72rem;
}


/* ---------------------------------------------------------
   DISCLAIMER
   --------------------------------------------------------- */

.footer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 30px 0;

    color: rgba(233, 240, 248, 0.42);
}

.footer-disclaimer-icon {
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: #7db8ff;
    background: rgba(22, 119, 255, 0.08);

    font-size: 0.75rem;
}

.footer-disclaimer strong {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.70);

    font-size: 0.72rem;
}

.footer-disclaimer p {
    max-width: 1050px;

    margin: 0 0 7px;

    font-size: 0.66rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   FOOTER BOTTOM
   --------------------------------------------------------- */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 72px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    color: rgba(233, 240, 248, 0.38);

    font-size: 0.67rem;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;

    gap: 18px;
}

.footer-legal-links a {
    color: rgba(233, 240, 248, 0.42);

    font-size: 0.67rem;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   STEP 14 — RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .footer-top {
        grid-template-columns:
            1.4fr repeat(2, 1fr) 1fr;

        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 500px;
    }

}


@media (max-width: 800px) {

    .site-footer {
        padding-top: 65px;
    }

    .footer-top {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 35px 25px;

        padding-bottom: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-newsletter-form {
        width: 100%;
        max-width: 600px;
    }

}


@media (max-width: 560px) {

    .site-footer {
        padding-top: 55px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-column h3 {
        margin-bottom: 13px;
    }

    .footer-newsletter {
        gap: 18px;
    }

    .footer-newsletter-content {
        align-items: flex-start;
    }

    .footer-newsletter-form {
        flex-direction: column;
        align-items: stretch;

        padding: 7px;
    }

    .footer-newsletter-form input {
        width: 100%;
    }

    .footer-newsletter-form .btn {
        width: 100%;
    }

    .footer-disclaimer {
        padding: 25px 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        padding: 22px 0;
    }

    .footer-legal-links {
        justify-content: flex-start;
        gap: 12px 17px;
    }

}