




* {
    box-sizing: border-box
}


:root,
[data-theme="dark"] {
    --bg: #0c0b09;
    --bg-2: #111009;
    --surface: rgba(20, 18, 12, 0.7);
    --surface-solid: #141209;
    --surfacemodal-1: #0c0b09;
    --surface-2: rgba(28, 25, 16, 0.55);
    --surface-3: #1e1b10;
    --card: #141209;
    --card-hover: #1e1b10;
    --glass: rgba(196, 162, 101, 0.05);
    --glass-border: rgba(196, 162, 101, 0.14);
    --glass-hover: rgba(196, 162, 101, 0.10);
    --border: rgba(196, 162, 101, 0.13);
    --border-hover: rgba(196, 162, 101, 0.30);
    --text: #f2ede3;
    --text-muted: #a89878;
    --text-dim: #6b5f48;
    --text-on-gold: #0c0b09;
    --accent: #c4a265;
    --accent-light: #dcc48a;
    --accent-grad: linear-gradient(135deg, #c4a265, #dcc48a, #c4a265);
    --gold: #c4a265;
    --gold-light: #dcc48a;
    --gold-dark: #8a7040;
    --gold-glow: rgba(196, 162, 101, 0.15);
    --gold-glow-strong: rgba(196, 162, 101, 0.32);
    --positive: #4ade80;
    --negative: #f87171;
    --nav-bg: rgba(12, 11, 9, 0.55);
    --nav-scrolled: rgba(12, 11, 9, 0.92);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 22px 56px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 24px rgba(196, 162, 101, 0.25);
    --pill-bg: #141209;
    --pill-active-bg: var(--accent-grad);
    --pill-active-text: #0c0b09;
    --table-hover-bg: linear-gradient(90deg, #141209, #1e1b10);
    --footer-bg: #0c0b09;
    --footer-text: #6b5f48;
    --footer-heading: #c4a265;
    --footer-border: rgba(196, 162, 101, 0.12);
    --footer-accent: #c4a265;
    --modal-bg: #141209;
    --badge-bg: rgba(196, 162, 101, 0.06);
    --badge-text: #a89878;
    --content-sheet-bg: #141209;
    --orb-opacity: 0.10;
    --hex-opacity: 0.07;
    --particle-color: #c4a265;
    --grain-opacity: 0.022;
    --hex-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='rgba(196,162,101,0.04)' stroke-width='.5'/%3E%3C/svg%3E");
}


[data-theme="light"] {
    --bg: #faf8f3;
    --bg-2: #f4f0e6;
    --surface: rgba(255, 252, 245, 0.85);
    --surface-solid: #f0ece0;
    --surfacemodal-1: #faf8f3;
    --surface-2: rgba(240, 235, 220, 0.6);
    --surface-3: #e8e2d0;
    --card: #ffffff;
    --card-hover: #fdfcf8;
    --glass: rgba(196, 162, 101, 0.06);
    --glass-border: rgba(150, 115, 55, 0.18);
    --glass-hover: rgba(196, 162, 101, 0.12);
    --border: rgba(150, 115, 55, 0.15);
    --border-hover: rgba(150, 115, 55, 0.35);
    --text: #1a1508;
    --text-muted: #5a4e36;
    --text-dim: #8a7a58;
    --text-on-gold: #1a1508;
    --accent: #9a7530;
    --accent-light: #b88c3a;
    --accent-grad: linear-gradient(135deg, #9a7530, #b88c3a, #9a7530);
    --gold: #9a7530;
    --gold-light: #b88c3a;
    --gold-dark: #6a5020;
    --gold-glow: rgba(150, 115, 48, 0.12);
    --gold-glow-strong: rgba(150, 115, 48, 0.25);
    --positive: #059669;
    --negative: #dc2626;
    --nav-bg: rgba(250, 248, 243, 0.75);
    --nav-scrolled: rgba(250, 248, 243, 0.96);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-lift: 0 22px 46px rgba(0, 0, 0, 0.10);
    --shadow-gold: 0 4px 24px rgba(150, 115, 48, 0.22);
    --pill-bg: #fff;
    --pill-active-bg: var(--accent-grad);
    --pill-active-text: #fff;
    --table-hover-bg: linear-gradient(90deg, #fff, #fdfcf8);
    --footer-bg: #f0ece0;
    --footer-text: #8a7a58;
    --footer-heading: #9a7530;
    --footer-border: rgba(150, 115, 48, 0.18);
    --footer-accent: #9a7530;
    --modal-bg: #fff;
    --badge-bg: rgba(150, 115, 48, 0.06);
    --badge-text: #5a4e36;
    --content-sheet-bg: #ffffff;
    --orb-opacity: 0.07;
    --hex-opacity: 0.08;
    --particle-color: #9a7530;
    --grain-opacity: 0.014;
    --xf-bg: #faf7f0;
    --xf-surface: #ffffff;
    --xf-surface-2: #f3ede1;
    --xf-line: #e2d9c6;
    --xf-line-soft: #ede6d8;
    --xf-ink: #2e2721;
    --xf-ink-soft: #6b6255;
    --xf-ink-faint: #9a9184;
    --xf-gold: #b08d3a;
    --xf-gold-dark: #8f7020;
    --xf-gold-soft: #f0e4c8;
    --xf-danger: #b4402f;
    --xf-danger-soft: #fbe9e6;
    --xf-warn: #a8781c;
    --xf-warn-soft: #fdf3dd;
    --xf-ok: #3f7d46;
    --xf-ok-soft: #e8f3e9;
    --xf-info: #2f6b8f;
    --xf-info-soft: #e6f0f6;

    --xf-a-gold: #b08d3a;
    --xf-a-teal: #2f8a80;
    --xf-a-purple: #6b52a8;
    --xf-a-amber: #c08a1e;
    --xf-a-gray: #7d7568;
    --xf-a-red: #b4402f;
    --xf-a-green: #3f7d46;
    --xf-a-coral: #c2643f;
    --xf-a-blue: #2f6b8f;
    --xf-radius: 10px;
    --xf-radius-sm: 6px;
    --xf-shadow: 0 1px 2px rgba(46, 39, 33, .06), 0 6px 20px rgba(46, 39, 33, .06);
    --xf-shadow-lift: 0 2px 6px rgba(46, 39, 33, .10), 0 16px 40px rgba(46, 39, 33, .12);
    --xf-sidebar-w: 280px;
    --xf-panel-w: 420px;
    --hex-pattern: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='rgba(150,115,48,0.05)' stroke-width='.5'/%3E%3C/svg%3E");
}


html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Outfit', system-ui, sans-serif;
    background: var(--bg);
    background-image: var(--hex-pattern);
    color: var(--text);
    transition: background .4s, color .4s
}

::selection {
    background: var(--gold);
    color: var(--text-on-gold)
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

h1,
h2,
h3,
.section-title,
.big-heading {
    font-family: 'Cormorant Garamond', 'Georgia', serif
}


.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: background .3s, backdrop-filter .3s, box-shadow .3s, color .2s;
    padding: 11px 0
}

    .topbar.transparent {
        background: transparent;
        color: #f2ede3
    }

    .topbar.scrolled {
        background: var(--nav-scrolled);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: 0 1px 0 var(--border);
        color: var(--text)
    }

    .topbar .container {
        display: flex;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px
    }

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    padding: 4px;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border)
}

.brand-title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 1px
}

.topbar.transparent .brand-title {
    color: var(--gold-light)
}

.search-pill {
    max-width: 480px;
    width: 60%;
    border-radius: 999px;
    background: rgba(196, 162, 101, .04);
    border: 1px solid rgba(196, 162, 101, .10);
    padding: 6px 14px;
    display: flex;
    align-items: center;
    transition: all .2s
}

.topbar.scrolled .search-pill {
    background: var(--surface-2);
    border-color: var(--border)
}

.search-pill:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow)
}

.search-input {
    border: none;
    background: transparent;
    color: #f2ede3;
    font-family: inherit;
    font-size: .85rem;
    outline: none;
    flex: 1;
    min-width: 120px
}

.topbar.scrolled .search-input {
    color: var(--text)
}

.search-input::placeholder {
    color: rgba(196, 162, 101, .3)
}

.topbar.scrolled .search-input::placeholder {
    color: var(--text-dim)
}

.search-icon {
    color: var(--gold);
    font-size: .85rem;
    opacity: .6
}

.topbar.scrolled .search-icon {
    color: var(--gold)
}

.shortcut {
    font-size: .65rem;
    background: rgba(196, 162, 101, .08);
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--gold);
    font-weight: 600
}

.topbar .nav-link {
    color: rgb(90 73 40 / 85%);

    padding: 6px 12px;
    font-weight: 500;
    font-size: .85rem;
    position: relative;
    transition: color .2s
}

    .topbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 20px;
        height: 1.5px;
        background: var(--gold);
        border-radius: 2px;
        transition: all .2s
    }

    .topbar .nav-link:hover::after {
        transform: translateX(-50%) scaleX(1)
    }

.topbar.scrolled .nav-link {
    color: var(--text)
}

    .topbar.scrolled .nav-link:hover {
        color: var(--gold)
    }

.topbar .nav-link.active::after {
    transform: translateX(-50%) scaleX(1)
}

.btn-cta {
    background: var(--accent-grad);
    color: var(--text-on-gold) !important;
    border-radius: 22px;
    padding: 8px 20px;
    border: none;
    font-weight: 700;
    font-size: .82rem;
    box-shadow: var(--shadow-gold);
    transition: transform .2s, box-shadow .2s
}

    .btn-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(196, 162, 101, .38)
    }

.theme-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    background: rgba(196, 162, 101, .06);
    border: 1px solid rgba(196, 162, 101, .14);
    border-radius: 40px;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 8px;
    transition: all .3s;
    display: inline-flex;
    align-items: center
}

    .theme-toggle:hover {
        border-color: var(--gold)
    }

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-grad);
    box-shadow: 0 2px 8px rgba(196, 162, 101, .3);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px
}

[data-theme="light"] .theme-toggle-thumb {
    transform: translateX(22px)
}

.theme-toggle-icon-dark,
.theme-toggle-icon-light {
    position: absolute;
    top: 50%;
    font-size: 10px;
    transform: translateY(-50%);
    opacity: .5;
    pointer-events: none;
    transition: opacity .3s
}

.theme-toggle-icon-dark {
    left: 6px
}

.theme-toggle-icon-light {
    right: 6px
}

[data-theme="dark"] .theme-toggle-icon-dark {
    opacity: 0
}

[data-theme="light"] .theme-toggle-icon-light {
    opacity: 0
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001
}

    .hamburger span {
        display: block;
        width: 20px;
        height: 1.5px;
        background: var(--text);
        margin: 5px 0;
        transition: all .3s;
        border-radius: 2px
    }

.topbar.transparent .hamburger span {
    background: #f2ede3
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 11, 9, 0.97);
    backdrop-filter: blur(24px);
    padding: 65px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain
}

[data-theme="light"] .mobile-menu {
    background: rgba(250, 248, 243, 0.98)
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: fadeIn .3s
}

.mobile-menu a {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 16px;
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
    transition: all .2s
}

    .mobile-menu a:hover {
        color: var(--gold);
        background: var(--glass)
    }

.mobile-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-dim);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px
}


.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--gold);
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 16px;
    cursor: pointer;
    transition: color .2s
}

    .mobile-submenu-toggle:hover {
        color: var(--gold-light)
    }

.mobile-chevron {
    font-size: .7rem;
    transition: transform .3s ease
}

.mobile-submenu-toggle[aria-expanded="true"] .mobile-chevron {
    transform: rotate(180deg)
}










.mobile-submenu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease;
}

    .mobile-submenu.open {
        max-height: 600px;
        opacity: 1;
        overflow:auto;
    }

    .mobile-submenu .mobile-sub-link {
        display: flex;
        align-items: center;
        padding: 12px 16px 12px 32px;
        font-size: .92rem
    }

        .mobile-submenu .mobile-sub-link i {
            width: 18px;
            margin-right: 6px;
            color: var(--gold);
            opacity: .75
        }


.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f2ede3;
    position: relative;
    padding: 40px 20px 60px;
    overflow: hidden;
    background: var(--bg)
}

.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--orb-opacity);
    will-change: transform
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat1 14s ease-in-out infinite
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
    bottom: 5%;
    left: -5%;
    animation: orbFloat2 18s ease-in-out infinite
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--gold-dark) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: orbFloat3 12s ease-in-out infinite
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--gold-light) 0%, transparent 70%);
    bottom: 20%;
    right: 20%;
    animation: orbFloat4 16s ease-in-out infinite
}

.hero-hex-grid {
    position: absolute;
    inset: 0;
    background-image: var(--hex-pattern);
    background-size: 60px 60px;
    opacity: var(--hex-opacity);
    pointer-events: none;
    animation: hexDrift 30s linear infinite
}

.hero-circuit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.circuit-svg {
    width: 100%;
    height: 100%;
    opacity: .90;
}

.circuit-path {
    stroke: var(--gold);
    stroke-width: 1;
    stroke-dasharray: 8 16;
    animation: circuitFlow 8s linear infinite
}

.cp-2 {
    stroke-dasharray: 12 20;
    animation-duration: 12s;
    animation-direction: reverse;
    opacity: .6
}

.cp-3 {
    stroke-dasharray: 6 24;
    animation-duration: 10s;
    opacity: .4
}

.circuit-node {
    fill: var(--gold);
    opacity: .7;
    animation: nodeGlow 3s ease-in-out infinite
}

.cn-1 {
    cx: 300;
    cy: 200
}

.cn-2 {
    cx: 700;
    cy: 350
}

.cn-3 {
    cx: 1000;
    cy: 180
}

.hero-scanline {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(196, 162, 101, 0.015) 2px, rgba(196, 162, 101, 0.015) 4px);
    animation: scanMove 8s linear infinite
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--particle-color);
    opacity: 0;
    will-change: transform, opacity
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    width: 100%;
    padding: 40px 20px
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: .5;
    animation: scrollBounce 2s ease-in-out infinite
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg)
}

.small-heading {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase
}

.big-heading {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: -1px;
    color: #f2ede3;
    line-height: 1.1
}

    .big-heading .accent {
        background: linear-gradient(135deg, #c4a265, #dcc48a, #c4a265);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text
    }

.hero-subtitle {
    color: rgba(242, 237, 227, .55);
    font-size: 1rem;
    max-width: 560px;
    margin: 16px auto 0
}

[data-theme="light"] .hero {
    background: var(--bg-2)
}

[data-theme="light"] .big-heading {
    color: #1a1508
}

    [data-theme="light"] .big-heading .accent {
        background: linear-gradient(135deg, #9a7530, #b88c3a, #9a7530);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text
    }

[data-theme="light"] .hero-subtitle {
    color: rgba(26, 21, 8, .55)
}

[data-theme="light"] .small-heading {
    color: var(--gold)
}

[data-theme="light"] .hero-badge {
    color: var(--gold);
    background: rgba(150, 115, 48, .06);
    border-color: rgba(150, 115, 48, .15)
}

[data-theme="light"] .explore-btn {
    color: #1a1508;
    background: rgba(150, 115, 48, .06);
    border-color: rgba(150, 115, 48, .18)
}

    [data-theme="light"] .explore-btn:hover {
        color: var(--gold);
        background: rgba(150, 115, 48, .12)
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold-light);
    background: rgba(196, 162, 101, .05);
    border: 1px solid rgba(196, 162, 101, .12);
    padding: 7px 20px;
    border-radius: 40px;
    margin-bottom: 24px
}

    .hero-badge .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--gold);
        box-shadow: 0 0 8px rgba(196, 162, 101, .5);
        animation: pulse 2.5s infinite
    }

.explore-btn {
    border-radius: 999px;
    padding: 12px 28px;
    background: rgba(196, 162, 101, .06);
    border: 1px solid rgba(196, 162, 101, .15);
    color: #f2ede3;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
    transition: all .2s
}

    .explore-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(196, 162, 101, .12);
        color: var(--gold-light);
        background: rgba(196, 162, 101, .12);
        border-color: rgba(196, 162, 101, .25)
    }


@media (max-width: 768px) {
    .orb {
        filter: blur(48px);
    }

    .orb-1 {
        width: 320px;
        height: 320px;
    }

    .orb-2 {
        width: 240px;
        height: 240px;
    }

    .hero-scanline {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .orb, .hero-hex-grid, .circuit-path, .circuit-node,
    .hero-scanline, .hero-scroll, .hero-particle {
        animation: none !important;
    }

    .hero-particle {
        opacity: 0 !important;
    }
}





#heroScene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1
}


.hero-stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(8,7,6,.9) 0%, rgba(8,7,6,.62) 34%, rgba(8,7,6,.15) 58%, transparent 78%)
}

[data-theme="light"] .hero-stage {
    background: linear-gradient(100deg, rgba(244,240,228,.94) 0%, rgba(244,240,228,.66) 34%, rgba(244,240,228,.18) 58%, transparent 78%)
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(130% 100% at 30% 55%, transparent 58%, rgba(0,0,0,.5) 100%)
}

[data-theme="light"] .hero-vignette {
    background: radial-gradient(130% 100% at 30% 55%, transparent 62%, rgba(120,100,60,.15) 100%)
}


.hero.hero-v2 {
    justify-content: flex-start;
    text-align: left
}

    .hero.hero-v2 .hero-content {
        max-width: 620px;
        margin-left: clamp(26px, 8vw, 132px);
        align-items: flex-start;
        display: flex;
        flex-direction: column
    }

    .hero.hero-v2 .hero-subtitle {
        margin-left: 0;
        margin-right: 0
    }

.hero-cta {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-start
}


.hero-v2 .hero-badge {
    opacity: 0;
    transform: translateY(14px);
    animation: heroRise .8s ease .2s forwards
}

.hero-v2 .small-heading {
    opacity: 0;
    animation: heroFade .9s ease .35s forwards
}

.hero-v2 .hero-subtitle {
    opacity: 0;
    transform: translateY(16px);
    animation: heroRise .9s ease 1.15s forwards
}

.hero-v2 .hero-cta {
    opacity: 0;
    transform: translateY(16px);
    animation: heroRise .9s ease 1.32s forwards
}

@keyframes heroRise {
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes heroFade {
    to {
        opacity: 1
    }
}


.hero-v2 .big-heading .hero-word {
    display: inline-block;
    white-space: nowrap
}

.hero-v2 .big-heading .h-char {
    display: inline-block;
    white-space: pre;
    opacity: 0;
    filter: blur(14px);
    transform: translateY(-6px) scale(1.7);
    animation: heroAssemble .72s cubic-bezier(.2, .75, .2, 1) forwards
}

@keyframes heroAssemble {
    to {
        opacity: 1;
        filter: blur(0);
        transform: none
    }
}


.hero-v2 .big-heading .accent .h-char {
    background: linear-gradient(135deg, #c4a265, #f0e0b0 45%, #c4a265);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}


[data-theme="light"] .hero-v2 .big-heading {
    color: #191307
}

    [data-theme="light"] .hero-v2 .big-heading .accent .h-char {
        background: linear-gradient(135deg, #8a6a28, #b8922f 50%, #8a6a28);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent
    }


.hero-variant-toggle {
    position: absolute;
    top: 92px;
    right: clamp(20px, 3vw, 32px);
    bottom: auto;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(196,162,101,.08);
    border: 1px solid rgba(196,162,101,.22);
    color: var(--gold-light);
    font-family: 'Outfit', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .4px;
    padding: 8px 14px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    transition: all .2s
}

    .hero-variant-toggle:hover {
        background: rgba(196,162,101,.16);
        border-color: rgba(196,162,101,.4);
        color: var(--gold)
    }

    .hero-variant-toggle .hero-variant-ico {
        font-size: .68rem;
        opacity: .85
    }


@media (max-width: 860px) {
    .hero.hero-v2 {
        justify-content: center;
        text-align: center;
        align-items: flex-end
    }

        .hero.hero-v2 .hero-content {
            margin: 0 auto;
            align-items: center;
            padding-bottom: 12vh
        }

    .hero-cta {
        justify-content: center
    }

    .hero-stage {
        background: radial-gradient(62% 48% at 50% 74%, rgba(8,7,6,.9), rgba(8,7,6,.5) 46%, transparent 80%)
    }

    [data-theme="light"] .hero-stage {
        background: radial-gradient(62% 48% at 50% 74%, rgba(244,240,228,.92), rgba(244,240,228,.5) 46%, transparent 80%)
    }
}

@media (max-width: 480px) {
    .hero-variant-toggle {
        top: 70px;
        left: 14px;
        right: auto;
        bottom: auto;
        padding: 7px 11px;
        font-size: .66rem
    }

    .hero-cta {
        width: 100%
    }

    .hero-v2 .hero-cta .explore-btn {
        flex: 1 1 auto;
        justify-content: center
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-v2 .h-char, .hero-v2 .hero-badge, .hero-v2 .small-heading,
    .hero-v2 .hero-subtitle, .hero-v2 .hero-cta {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important
    }
}


.content-wrapper {
    margin-top: -80px;
    padding-bottom: 40px;
    position: relative;
    z-index: 10
}

.content-sheet {
    background: var(--content-sheet-bg);
    border-radius: 16px;
    margin: 0 auto;
    padding: 28px;

    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transform: translateY(-40px)
}



@media (min-width: 1400px) {
    .content-wrapper.container {
        max-width: 1401px
    }
}

@media (min-width: 1700px) {
    .content-wrapper.container {
        max-width: 1600px
    }
}


.mv-select {
    position: relative;
    display: inline-block
}

.mv-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all .15s;
    white-space: nowrap
}

    .mv-select-btn:hover {
        border-color: var(--gold);
        color: var(--gold)
    }

.mv-select.open .mv-select-btn {
    border-color: var(--gold);
    color: var(--gold)
}

.mv-select-caret {
    font-size: .6rem;
    opacity: .6;
    transition: transform .2s
}

.mv-select.open .mv-select-caret {
    transform: rotate(180deg)
}

.mv-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 100%;
    background: var(--surfacemodal-1);
    border: 1px solid rgba(196,162,101,.15);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.28);
    padding: 4px;
    z-index: 120;
    display: none;
    max-height: 240px;
    overflow-y: auto
}

.mv-select.open .mv-select-menu {
    display: block
}

.mv-select-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: .78rem;
    color: var(--text-primary);
    white-space: nowrap;
    transition: background .12s
}

    .mv-select-opt:hover {
        background: rgba(196,162,101,.08);
        color: var(--gold)
    }

    .mv-select-opt.active {
        color: var(--gold)
    }

        .mv-select-opt.active::after {
            content: '\2713';
            font-size: .72rem;
            opacity: .85
        }


.pill-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px
}

.pill {
    background: var(--pill-bg);
    border-radius: 14px;
    padding: 10px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text)
}

    .pill:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-gold);
        border-color: var(--border-hover)
    }

    .pill.active {
        background: var(--pill-active-bg);
        color: var(--pill-active-text);
        border-color: transparent;
        box-shadow: var(--shadow-gold)
    }

    .pill small {
        font-size: .65rem;
        color: var(--text-dim);
        display: block
    }

    .pill.active small {
        color: rgba(12, 11, 9, .5)
    }

    .pill i {
        font-size: .9rem
    }


.market-card {
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    transition: all .2s;
    padding: 20px
}

    .market-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-gold);
        border-color: var(--border-hover)
    }

.market-title {
    font-weight: 700;
    color: var(--text);
    font-size: .95rem
}

.market-value {
    font-weight: 800;
    color: var(--positive);
    font-size: 1.1rem
}

.market-extra {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.extra-tag {
    font-size: .7rem;
    font-weight: 500;
    color: var(--badge-text);
    background: var(--badge-bg);
    border-radius: 6px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all .15s
}

    .extra-tag:hover {
        background: var(--accent-grad);
        color: var(--text-on-gold);
        border-color: transparent
    }

.market-summary-line {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text)
}

    .market-summary-line .divider {
        margin: 0 6px;
        color: var(--text-dim)
    }

.summary-item {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted)
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--positive)
}

    .live-indicator .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--positive);
        box-shadow: 0 0 0 0 rgba(74, 222, 128, .5);
        animation: pulse 1.5s infinite
    }

    .live-indicator .live-text {
        color: var(--text);
        font-weight: 600
    }

.data-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text)
}

    .data-table thead th {
        border-bottom: 1px solid var(--border);
        font-weight: 600;
        color: var(--text-muted);
        background: transparent;
        font-size: .78rem;
        padding: 10px 12px
    }

    .data-table tbody td {
        padding: 14px 12px;
        vertical-align: middle;
        color: var(--text);
        font-size: .85rem
    }

    .data-table tbody tr {
        transition: all .15s;
        position: relative
    }

        .data-table tbody tr:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            background: var(--table-hover-bg)
        }

.change {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: .8rem
}

    .change.up {
        color: var(--positive);
        background: rgba(74, 222, 128, .06);
        border: 1px solid rgba(74, 222, 128, .08)
    }

    .change.down {
        color: var(--negative);
        background: rgba(248, 113, 113, .06);
        border: 1px solid rgba(248, 113, 113, .08)
    }

.table-action-btn {
    border: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    font-size: .82rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .15s
}

    .table-action-btn:hover {
        background: var(--badge-bg);
        transform: translateY(-2px);
        color: var(--gold)
    }

.data-table .badge {
    font-weight: 600;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: .72rem
}

.btn-group .btn {
    border-radius: 20px;
    padding: 4px 14px;
    font-size: .75rem;
    font-weight: 600
}

.chart-container {
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 16px
}

.action-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.action-btn {
    flex: 1;
    border-radius: 12px;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all .15s;
    color: var(--text);
    font-weight: 600;
    font-size: .82rem;
    min-width: 140px
}

    .action-btn:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold);
        border-color: var(--border-hover);
        color: var(--gold)
    }

.metric-card {
    padding: 14px 20px;
    border-radius: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: .85rem
}


.section {
    padding: 100px 0;
    position: relative
}

.section--surface {
    background: var(--surface-solid, var(--surface-2));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.container--narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px
}

.section-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px
}

    .section-label::before {
        content: '';
        width: 24px;
        height: 1px;
        background: var(--gold)
    }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 14px
}

.section-subtitle {
    color: var(--text-muted);
    font-size: .95rem;
    margin-bottom: 48px
}

.page-header {
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-2);
    background-image: var(--hex-pattern)
}

    .page-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1.5px;
        background: var(--accent-grad)
    }

.glass-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all .25s
}

    .glass-card::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--gold-glow) 0%, transparent 50%);
        opacity: 0;
        transition: opacity .4s;
        pointer-events: none
    }

    .glass-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-4px);
        box-shadow: var(--shadow-gold)
    }

        .glass-card:hover::after {
            opacity: 1
        }

    .glass-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 10px
    }

    .glass-card p {
        color: var(--text-muted);
        font-size: .88rem;
        line-height: 1.8;
        margin-bottom: 0
    }

.glass-card--risk {
    border-color: rgba(248, 113, 113, .12)
}

    .glass-card--risk:hover {
        border-color: rgba(248, 113, 113, .25);
        box-shadow: 0 8px 32px rgba(248, 113, 113, .06)
    }

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--badge-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.3rem;
    transition: all .25s
}

.glass-card:hover .card-icon {
    background: var(--accent-grad);
    transform: scale(1.06);
    border-color: transparent
}

.risk-banner {
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-2);
    background-image: var(--hex-pattern)
}

.risk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--negative);
    margin-bottom: 16px
}

    .risk-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--negative);
        box-shadow: 0 0 12px rgba(248, 113, 113, .4);
        animation: pulse 2s infinite
    }

.risk-banner h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 12px
}

.risk-banner p {
    color: var(--text-muted);
    font-size: .88rem;
    max-width: 540px;
    margin: 0 auto
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card);
    transition: all .2s
}

    .contact-item:hover {
        border-color: var(--border-hover);
        transform: translateX(4px);
        box-shadow: var(--shadow-gold)
    }

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--badge-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid var(--border)
}

.contact-item h4 {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 4px
}

.contact-item p {
    font-size: .82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6
}

.form-group {
    margin-bottom: 18px
}

    .form-group label {
        display: block;
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-muted);
        margin-bottom: 6px
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 12px 14px;
        color: var(--text);
        font-family: 'Outfit', sans-serif;
        font-size: .88rem;
        transition: all .2s;
        outline: none
    }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: var(--gold);
            box-shadow: 0 0 0 3px var(--gold-glow)
        }

    .form-group textarea {
        min-height: 120px;
        resize: vertical
    }

.btn-primary-custom {
    background: var(--accent-grad);
    color: var(--text-on-gold);
    border: none;
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .btn-primary-custom:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-gold)
    }

.btn-glass-custom {
    background: var(--glass);
    color: var(--gold);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .btn-glass-custom:hover {
        background: var(--glass-hover);
        border-color: var(--border-hover);
        transform: translateY(-2px)
    }


.footer {
    border-top: 1px solid var(--footer-border);
    padding: 72px 0 32px;
    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
    color: var(--footer-text)
}

    .footer a {
        color: var(--footer-text);
        transition: color .2s
    }

        .footer a:hover {
            color: var(--gold-light)
        }

.footer-glow {
    position: absolute;
    width: 120%;
    height: 400px;
    bottom: -100px;
    left: -10%;
    background: radial-gradient(ellipse at var(--fx, 50%) 100%, var(--gold-glow) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none
}

.footer:hover .footer-glow {
    opacity: 1
}

.footer-circuit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    overflow: visible;
    pointer-events: none
}

    .footer-circuit::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, var(--footer-accent) var(--trail-pos, 0%), transparent calc(var(--trail-pos, 0%) + 15%));
        animation: trailSlide 5s linear infinite
    }

.footer-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden
}

.footer-particle {
    position: absolute;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to top, var(--footer-accent), transparent);
    opacity: 0;
    animation: footerParticleRise linear infinite;
    border-radius: 1px
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 1
}

.footer-brand {
    max-width: 320px
}

    .footer-brand .logo-text {
        font-size: 1.4rem;
        font-weight: 700;
        display: block;
        margin-bottom: 14px;
        color: var(--footer-heading);
        font-family: 'Cormorant Garamond', serif
    }

        .footer-brand .logo-text .x {
            color: var(--gold-light)
        }

        .footer-brand .logo-text .dot {
            color: var(--gold-light)
        }

    .footer-brand > p {
        font-size: .8rem;
        line-height: 1.75
    }

.footer-newsletter {
    margin-top: 18px;
    display: flex;
    gap: 8px
}

    .footer-newsletter input {
        background: var(--glass);
        border: 1px solid var(--footer-border);
        border-radius: 8px;
        color: var(--text);
        padding: 9px 12px;
        font-family: 'Outfit', sans-serif;
        font-size: .78rem;
        flex: 1;
        transition: all .2s
    }

        .footer-newsletter input:focus {
            outline: none;
            border-color: var(--footer-accent)
        }

        .footer-newsletter input::placeholder {
            color: var(--text-dim)
        }

    .footer-newsletter button {
        background: var(--accent-grad);
        border: none;
        border-radius: 8px;
        color: var(--text-on-gold);
        padding: 9px 14px;
        font-family: 'Outfit', sans-serif;
        font-size: .75rem;
        font-weight: 700;
        cursor: pointer;
        transition: all .2s;
        white-space: nowrap
    }

        .footer-newsletter button:hover {
            transform: translateY(-1px);
            box-shadow: var(--shadow-gold)
        }

.footer-col h4 {
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--footer-heading);
    margin-bottom: 18px;
    position: relative
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 18px;
        height: 1px;
        background: var(--footer-accent);
        opacity: .5
    }

.footer-col a {
    display: flex;
    align-items: center;
    font-size: .82rem;
    padding: 5px 0;
    transition: all .25s
}

    .footer-col a::before {
        content: '>';
        color: var(--footer-accent);
        margin-right: 0;
        opacity: 0;
        transform: translateX(-6px);
        transition: all .25s;
        flex-shrink: 0
    }

    .footer-col a:hover {
        color: var(--gold);
        transform: translateX(8px)
    }

        .footer-col a:hover::before {
            opacity: 1;
            transform: translateX(0);
            margin-right: 6px
        }

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1
}

    .footer-bottom p {
        font-size: .72rem
    }

.footer-bottom-right {
    display: flex;
    gap: 16px;
    align-items: center
}

    .footer-bottom-right a {
        font-size: .72rem
    }

        .footer-bottom-right a:hover {
            color: var(--gold)
        }

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 12px
}

    .social-icons a img {
        height: 20px;
        opacity: .9;
        transition: all .2s;
        filter: brightness(0) invert(1)
    }

[data-theme="light"] .social-icons a img {
    filter: brightness(1)
}

[data-theme="dark"] .social-icons a img
{
    filter: brightness(1) invert(1);
}

.social-icons a:hover img {
    opacity: 1;
    transform: translateY(-2px)
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-grad);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-on-gold);
    box-shadow: var(--shadow-gold);
    opacity: 0;
    transform: translateY(16px);
    transition: all .3s;
    font-weight: 700
}

    .back-to-top.visible {
        opacity: 1;
        transform: translateY(0)
    }

    .back-to-top:hover {
        transform: translateY(-3px)
    }


.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all .7s cubic-bezier(.22, 1, .36, 1)
}

    .reveal.visible {
        opacity: 1 !important;
        transform: translateY(0) !important
    }

.reveal-delay-1 {
    transition-delay: .1s
}

.reveal-delay-2 {
    transition-delay: .2s
}

.reveal-delay-3 {
    transition-delay: .3s
}

.reveal-delay-4 {
    transition-delay: .4s
}

.reveal-delay-5 {
    transition-delay: .5s
}


@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes pulse {

    0%, 100% {
        transform: scale(.95);
        box-shadow: 0 0 0 0 rgba(196, 162, 101, .5)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(196, 162, 101, 0)
    }
}

@keyframes trailSlide {
    0% {
        --trail-pos: -15%
    }

    100% {
        --trail-pos: 115%
    }
}

@keyframes footerParticleRise {
    0% {
        opacity: 0;
        transform: translateY(0)
    }

    20% {
        opacity: .4
    }

    80% {
        opacity: .2
    }

    100% {
        opacity: 0;
        transform: translateY(-120px)
    }
}

@keyframes orbFloat1 {

    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-40px, 30px)
    }
}

@keyframes orbFloat2 {

    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(30px, -25px)
    }
}

@keyframes orbFloat3 {

    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(-20px, -35px)
    }
}

@keyframes orbFloat4 {

    0%, 100% {
        transform: translate(0, 0)
    }

    50% {
        transform: translate(25px, 20px)
    }
}

@keyframes hexDrift {
    0% {
        background-position: 0 0
    }

    100% {
        background-position: 60px 60px
    }
}

@keyframes circuitFlow {
    to {
        stroke-dashoffset: -100
    }
}

@keyframes nodeGlow {

    0%, 100% {
        opacity: .4;
        r: 2.5
    }

    50% {
        opacity: 1;
        r: 4
    }
}

@keyframes scanMove {
    0% {
        transform: translateY(0)
    }

    100% {
        transform: translateY(4px)
    }
}

@keyframes scrollBounce {

    0%, 100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(8px)
    }
}

@keyframes heroParticleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0)
    }

    15% {
        opacity: 1;
        transform: translateY(-20px) scale(1)
    }

    85% {
        opacity: .6
    }

    100% {
        opacity: 0;
        transform: translateY(-180px) scale(0.3)
    }
}


@media(max-width:991.98px) {
    .search-pill {
        display: none !important
    }

    .hamburger {
        display: block !important
    }


    .topbar .container {
        padding-left: 16px;
        padding-right: 16px
    }
}

@media(max-width:767.98px) {
    .big-heading {
        font-size: 1.8rem
    }

    .hero {
        min-height: 85vh;
        padding: 70px 16px 60px
    }

    .content-wrapper {
        margin-top: -20px;
        padding: 0 12px
    }

    .content-sheet {
        padding: 16px;
        border-radius: 12px
    }


    .pill-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding-bottom: 4px
    }

        .pill-tabs::-webkit-scrollbar {
            display: none
        }

    .pill {
        min-width: 140px;
        padding: 8px 12px;
        flex-shrink: 0
    }


    .topbar .theme-toggle {
        display: none
    }


    .nav-links-desktop {
        margin-left: auto
    }


    .btn-cta {
        display: none !important
    }

    .section {
        padding: 64px 0
    }

    .container--narrow {
        padding: 0 16px
    }

    .footer-inner {
        flex-direction: column
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .footer-bottom-right {
        justify-content: center
    }

    .action-bar {
        flex-direction: column
    }

    .action-btn {
        min-width: 100%
    }

    .fin-stat {
        min-width: calc(50% - 8px)
    }

    .orb-1 {
        width: 300px;
        height: 300px
    }

    .orb-2 {
        width: 200px;
        height: 200px
    }
}


.fin-metrics {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border)
}

.fin-metrics-title {
    font-size: .88rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px
}

    .fin-metrics-title i {
        color: var(--gold);
        font-size: .8rem
    }

.fin-chart-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s
}

    .fin-chart-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold)
    }

    .fin-chart-card h6 {
        font-size: .78rem;
        font-weight: 700;
        color: var(--text);
        margin-bottom: 4px
    }

    .fin-chart-card .fin-sub {
        font-size: .68rem;
        color: var(--text-dim);
        margin-bottom: 14px
    }

    .fin-chart-card canvas {
        width: 100% !important;
        max-height: 180px
    }

.fin-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px
}

.fin-stat {
    flex: 1;
    min-width: 80px;
    background: var(--surface-2);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid var(--border)
}

    .fin-stat .label {
        font-size: .62rem;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--text-dim);
        font-weight: 600
    }

    .fin-stat .val {
        font-size: 1rem;
        font-weight: 800;
        color: var(--text);
        margin-top: 2px
    }

        .fin-stat .val.up {
            color: var(--positive)
        }

        .fin-stat .val.down {
            color: var(--negative)
        }

.nav-watchlist-link {
    position: relative;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.4rem;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

    .nav-watchlist-link:hover {
        color: var(--gold);
        background: rgba(196,162,101,0.08);
    }

.nav-wl-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--gold);
    color: #1e1c18;
    font-size: 0.55rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

    .nav-wl-count:empty {
        display: none;
    }


.profile-avatar-btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

    .profile-avatar-btn::after {

        display: none !important;
    }

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c4a265, #9a7530);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(196,162,101,0.3);
    transition: all 0.2s;
}

.profile-avatar-btn:hover .profile-avatar {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(196,162,101,0.3);
}


.profile-dropdown {
    background: #1e1c18 !important;
    border: 1px solid rgba(196,162,101,0.15) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4) !important;
    padding: 0.5rem 0 !important;
    min-width: 200px;
    margin-top: 0.5rem !important;
}

    .profile-dropdown .dropdown-header {
        padding: 0.6rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
    }

.profile-dd-name {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #e8dcc8;
}

.profile-dd-email {
    font-size: 0.7rem;
    color: #7a7060;
}

.profile-dd-item {
    color: #a89878 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    padding: 0.4rem 1rem !important;
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s !important;
}

    .profile-dd-item:hover {
        background: rgba(196,162,101,0.08) !important;
        color: var(--gold) !important;
    }

    .profile-dd-item i {
        width: 16px;
        text-align: center;
        font-size: 0.75rem;
    }

.profile-dd-logout {
    color: #f87171 !important;
}

    .profile-dd-logout:hover {
        background: rgba(220,38,38,0.08) !important;
        color: #f87171 !important;
    }


.auth-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

    .auth-modal-btn.primary {
        background: linear-gradient(135deg, #c4a265, #9a7530);
        color: #fff;
        border: none;
        box-shadow: 0 4px 16px rgba(196,162,101,0.3);
    }

        .auth-modal-btn.primary:hover {
            filter: brightness(1.12);
            transform: translateY(-1px);
            color: #fff;
        }

    .auth-modal-btn.secondary {
        background: rgba(196,162,101,0.06);
        color: #e8dcc8;
        border: 1px solid rgba(196,162,101,0.2);
    }

        .auth-modal-btn.secondary:hover {
            border-color: var(--gold);
            color: var(--gold);
        }


.xat-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1e1c18;
    border: 1px solid rgba(196,162,101,0.2);
    color: #e8dcc8;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 1200;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

    .xat-toast.visible {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .xat-toast.success i {
        color: #4ade80;
    }

    .xat-toast.info i {
        color: #c4a265;
    }


.action-badge {
    display: inline-block;
    background: rgba(196,162,101,0.15);
    color: var(--gold);
    font-size: 0.65rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.3rem;
    font-weight: 600;
}

.inst-action-btn.in-watchlist {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    background: rgba(196,162,101,0.05);
}



.flash-up {
    animation: flashGreen 0.6s ease-out;
}

.flash-down {
    animation: flashRed 0.6s ease-out;
}

@keyframes flashGreen {
    0% {
        background: rgba(74, 222, 128, 0.25);
    }

    100% {
        background: transparent;
    }
}

@keyframes flashRed {
    0% {
        background: rgba(248, 113, 113, 0.25);
    }

    100% {
        background: transparent;
    }
}


.live-indicator .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    background: var(--positive);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}






@media (max-width: 991.98px) {
    .data-table thead th,
    .data-table tbody td {
        padding-left: 8px;
        padding-right: 8px
    }

    .content-sheet {
        padding: 22px
    }
}


@media (max-width: 767.98px) {
    .data-table {
        font-size: .82rem
    }

        .data-table thead th,
        .data-table tbody td {
            padding: 9px 8px
        }

    .mv-select-btn {
        font-size: .74rem;
        padding: 6px 10px
    }

    .market-card {
        padding: 16px
    }

    .market-price {
        font-size: 1.15rem
    }


    .content-sheet h5 {
        font-size: 1.05rem
    }
}


@media (max-width: 480px) {
    .content-wrapper {
        padding: 0 10px
    }

    .content-sheet {
        padding: 14px;
        border-radius: 12px
    }

    .pill {
        min-width: 120px;
        font-size: .8rem;
        padding: 8px 10px
    }


    .mv-toolbar {
        flex-direction: column;
        align-items: stretch
    }

    .mv-toolbar-controls {
        width: 100%
    }

        .mv-toolbar-controls .mv-select {
            flex: 1
        }

        .mv-toolbar-controls .mv-select-btn {
            width: 100%;
            justify-content: space-between
        }


    .data-table {
        font-size: .76rem
    }

        .data-table thead th,
        .data-table tbody td {
            padding: 8px 6px
        }

    .table-action-btn {
        padding: 5px
    }


    .market-card {
        padding: 14px
    }

    .market-price {
        font-size: 1.1rem
    }


    .fin-stat {
        min-width: calc(50% - 6px)
    }

    .metric-card {
        padding: 12px
    }


    .mkt-settings-dropdown {
        width: min(280px, calc(100vw - 28px))
    }


    .xat-search-dropdown {
        min-width: min(491px, calc(100vw - 24px))
    }


    .content-sheet h5 {
        font-size: 1rem
    }
}


.footer-statutory {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    justify-content: center;
    font-size: .72rem;
    line-height: 1.6;
    color: var(--text-dim);
    text-align: center;
}

    .footer-statutory strong {
        color: var(--text-muted);
        font-weight: 600;
        letter-spacing: .04em;
    }

    .footer-statutory a {
        color: var(--text-muted);
        text-decoration: none;
    }

        .footer-statutory a:hover {
            color: var(--gold);
        }