/* ===================================
   AlgoTrader - Premium Trading Terminal UI
   Modern • Complex • Compact • Professional
   Bloomberg Terminal meets Modern Fintech
   =================================== */

/* Fonts - Premium typography stack, self-hosted (wwwroot/fonts, SIL OFL 1.1 - see fonts/README.md).
   Same faces the Google Fonts CSS served for
   family=Inter:wght@300..900 (7 weights) & JetBrains+Mono:wght@300..700 (5) & Space+Grotesk:wght@400..700 (4)
   &display=swap: one variable woff2 per unicode subset, declared once per requested weight so
   in-between weights (750, 850) still snap to the same face as before. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/greek-ext.woff2') format('woff2'); unicode-range: U+1F00-1FFF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: swap; src: url('fonts/inter/v20/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/greek.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/jetbrainsmono/v24/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/spacegrotesk/v22/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/spacegrotesk/v22/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/spacegrotesk/v22/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/spacegrotesk/v22/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/spacegrotesk/v22/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/spacegrotesk/v22/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/spacegrotesk/v22/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/spacegrotesk/v22/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/spacegrotesk/v22/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/spacegrotesk/v22/vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/spacegrotesk/v22/latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/spacegrotesk/v22/latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===================================
   CSS Variables - Premium Dark Terminal
   =================================== */
:root {
    /* ═══════════════════════════════════
       BRAND COLORS - Cyan/Teal Focus
       ═══════════════════════════════════ */
    --primary: #00e5cc;
    --primary-hover: #00c9b3;
    --primary-active: #00b3a1;
    --primary-glow: rgba(0, 229, 204, 0.2);
    --primary-glow-strong: rgba(0, 229, 204, 0.35);
    --primary-border: rgba(0, 229, 204, 0.4);
    --primary-soft: rgba(0, 229, 204, 0.08);
    
    /* Secondary - Electric Blue */
    --secondary: #3b82f6;
    --secondary-glow: rgba(59, 130, 246, 0.2);
    --secondary-border: rgba(59, 130, 246, 0.4);
    
    /* ═══════════════════════════════════
       BACKGROUNDS - Layered Depth System
       ═══════════════════════════════════ */
    --bg-void: #000000;
    --bg-base: #06080c;
    --bg-surface: #0a0e14;
    --bg-elevated: #0f141c;
    --bg-card: #141a24;
    --bg-card-hover: #1a222e;
    --bg-panel: #1e2736;
    --bg-modal: #0f141c;
    
    /* Glassmorphism */
    --bg-glass: rgba(255, 255, 255, 0.02);
    --bg-glass-light: rgba(255, 255, 255, 0.04);
    --bg-glass-medium: rgba(255, 255, 255, 0.06);
    
    /* Hover / Active states */
    --bg-hover: rgba(255, 255, 255, 0.03);
    --bg-active: rgba(0, 229, 204, 0.06);
    --bg-active-strong: rgba(0, 229, 204, 0.12);
    --bg-selected: rgba(0, 229, 204, 0.08);
    
    /* Gradient Backgrounds */
    --bg-gradient-radial: radial-gradient(ellipse at top, rgba(0, 229, 204, 0.08) 0%, transparent 50%);
    --bg-gradient-terminal: linear-gradient(180deg, #0a0e14 0%, #06080c 100%);
    --bg-gradient-card: linear-gradient(145deg, rgba(20, 26, 36, 0.95) 0%, rgba(10, 14, 20, 0.98) 100%);
    --bg-gradient-panel: linear-gradient(135deg, rgba(30, 39, 54, 0.9) 0%, rgba(15, 20, 28, 0.95) 100%);
    --bg-overlay: rgba(0, 0, 0, 0.85);
    
    /* ═══════════════════════════════════
       TEXT COLORS - High Contrast Hierarchy
       ═══════════════════════════════════ */
    --text-bright: #ffffff;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;
    --text-inverse: #06080c;
    
    /* ═══════════════════════════════════
       STATUS COLORS - Financial Data
       ═══════════════════════════════════ */
    /* Success / Bullish / Gain */
    --success: #00e5cc;
    --success-bright: #2cfee7;
    --success-dim: #00b3a1;
    --success-bg: rgba(0, 229, 204, 0.12);
    --success-bg-strong: rgba(0, 229, 204, 0.2);
    --success-border: rgba(0, 229, 204, 0.35);
    --success-glow: 0 0 20px rgba(0, 229, 204, 0.4);
    
    /* Error / Bearish / Loss */
    --error: #ff5757;
    --error-bright: #ff7575;
    --error-dim: #e04848;
    --error-bg: rgba(255, 87, 87, 0.12);
    --error-bg-strong: rgba(255, 87, 87, 0.2);
    --error-border: rgba(255, 87, 87, 0.35);
    --error-glow: 0 0 20px rgba(255, 87, 87, 0.4);
    
    /* Warning / Caution */
    --warning: #ffb547;
    --warning-bright: #ffc670;
    --warning-dim: #e5a03f;
    --warning-bg: rgba(255, 181, 71, 0.12);
    --warning-bg-strong: rgba(255, 181, 71, 0.2);
    --warning-border: rgba(255, 181, 71, 0.35);
    
    /* Chart palette tokens (consumed by chart pages/components).
       NOTE: --accent-primary and --text-muted are intentionally NOT set here:
       earnings.css :root (loaded after app.css) already defines --accent-primary,
       and --text-muted is defined above with a different value. The chart page
       scopes its own values for those on .chart-lw-viewport. */
    --color-bullish: #00e676;
    --color-bearish: #ff5252;
    --color-warning: #ffb300;
    --chart-bg: #0a0e17;

    /* Z-index tokens live in the Z-INDEX LAYERS section further down. */

    /* Radius + duration tokens (global fallbacks: .chart-lw-viewport
       re-declares these for page scope, but the chart's pattern/news/
       indicator-select modals mount outside that element) */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-pill: 999px;
    --dur-fast: 0.15s;
    --dur-med: 0.25s;

    /* Info / Neutral Actions */
    --info: #3b82f6;
    --info-bright: #60a5fa;
    --info-dim: #2563eb;
    --info-bg: rgba(59, 130, 246, 0.12);
    --info-bg-strong: rgba(59, 130, 246, 0.2);
    --info-border: rgba(59, 130, 246, 0.35);
    
    /* Accent / AI / Premium */
    --accent: #a78bfa;
    --accent-bright: #c4b5fd;
    --accent-dim: #8b5cf6;
    --accent-bg: rgba(167, 139, 250, 0.12);
    --accent-bg-strong: rgba(167, 139, 250, 0.2);
    --accent-border: rgba(167, 139, 250, 0.35);
    --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #3b82f6 100%);
    --accent-glow: 0 0 25px rgba(167, 139, 250, 0.4);
    
    /* ═══════════════════════════════════
       BORDERS - Subtle Definition
       ═══════════════════════════════════ */
    --border-subtle: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-focus: rgba(0, 229, 204, 0.5);
    --border-glow: 0 0 0 1px var(--border), 0 0 0 4px var(--primary-glow);
    
    /* ═══════════════════════════════════
       SHADOWS - Depth & Elevation
       ═══════════════════════════════════ */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.6), 0 12px 24px rgba(0, 0, 0, 0.4);
    
    /* Colored shadows */
    --shadow-success: 0 4px 20px rgba(0, 229, 204, 0.25);
    --shadow-error: 0 4px 20px rgba(255, 87, 87, 0.25);
    --shadow-info: 0 4px 20px rgba(59, 130, 246, 0.25);
    --shadow-accent: 0 4px 20px rgba(167, 139, 250, 0.25);
    
    /* Glow effects */
    --glow-primary: 0 0 30px rgba(0, 229, 204, 0.3), 0 0 60px rgba(0, 229, 204, 0.1);
    --glow-success: 0 0 20px rgba(0, 229, 204, 0.4);
    --glow-error: 0 0 20px rgba(255, 87, 87, 0.4);
    
    /* ═══════════════════════════════════
       SPACING - 4px Base Grid
       ═══════════════════════════════════ */
    --space-0: 0;
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    
    /* Legacy spacing variables */
    --spacing-xs: var(--space-1);
    --spacing-sm: var(--space-2);
    --spacing-md: var(--space-3);
    --spacing-lg: var(--space-4);
    --spacing-xl: var(--space-6);
    --spacing-2xl: var(--space-8);
    
    /* ═══════════════════════════════════
       BORDER RADIUS - Refined Corners
       ═══════════════════════════════════ */
    --radius-none: 0;
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --radius-2xl: 16px;
    --radius-3xl: 24px;
    --radius-full: 9999px;
    
    /* ═══════════════════════════════════
       TYPOGRAPHY - Premium Font Stack
       ═══════════════════════════════════ */
    --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
    
    /* Font sizes - Compact scale */
    --text-3xs: 0.5625rem;   /* 9px */
    --text-2xs: 0.625rem;    /* 10px */
    --text-xs: 0.6875rem;    /* 11px */
    --text-sm: 0.75rem;      /* 12px */
    --text-base: 0.8125rem;  /* 13px */
    --text-md: 0.875rem;     /* 14px */
    --text-lg: 1rem;         /* 16px */
    --text-xl: 1.125rem;     /* 18px */
    --text-2xl: 1.25rem;     /* 20px */
    --text-3xl: 1.5rem;      /* 24px */
    --text-4xl: 1.875rem;    /* 30px */
    --text-5xl: 2.25rem;     /* 36px */
    
    /* Line heights */
    --leading-none: 1;
    --leading-tight: 1.2;
    --leading-snug: 1.35;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;
    
    /* Letter spacing */
    --tracking-tighter: -0.03em;
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;
    
    /* ═══════════════════════════════════
       TRANSITIONS & ANIMATIONS
       ═══════════════════════════════════ */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --duration-instant: 50ms;
    --duration-fast: 100ms;
    --duration-normal: 200ms;
    --duration-slow: 300ms;
    --duration-slower: 500ms;
    
    --transition-fast: 100ms var(--ease-out);
    --transition-normal: 200ms var(--ease-out);
    --transition-slow: 300ms var(--ease-out);
    --transition-colors: 150ms var(--ease-in-out);
    --transition-transform: 200ms var(--ease-out);
    --transition-all: all 200ms var(--ease-out);
    
    /* ═══════════════════════════════════
       Z-INDEX LAYERS
       ═══════════════════════════════════ */
    --z-below: -1;
    --z-base: 0;
    --z-above: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    /* --z-overlay: page-level overlays (backdrops, in-chart floating panels,
       the error banner) — sits below modals. --z-modal is the full-screen
       modal tier; --z-modal-top stacks above sibling modals; --z-toast is
       reserved for transient notifications above everything. */
    --z-overlay: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-modal: 1000;
    --z-modal-top: 1100;
    --z-toast: 1200;
    
    /* ═══════════════════════════════════
       COMPONENT SPECIFIC
       ═══════════════════════════════════ */
    --header-height: 52px;
    --sidebar-width: 200px;
    --sidebar-collapsed: 60px;
    --content-max-width: 1920px;
}

/* ===================================
   GLOBAL RESET & BASE
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

html, body {
    font-family: var(--font-sans);
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Global background noise texture for premium feel */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        var(--bg-gradient-radial),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: var(--z-below);
}

/* Selection styling */
::selection {
    background: var(--primary-glow-strong);
    color: var(--text-bright);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin: 0;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
    color: var(--text-secondary);
    margin: 0 0 var(--space-3);
    line-height: var(--leading-relaxed);
}

small {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* ===================================
   LINKS
   =================================== */
a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-colors);
}

a:hover {
    color: var(--primary-hover);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ===================================
   BUTTONS - Premium Design
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-all);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn:focus-visible {
    outline: none;
    box-shadow: var(--border-glow);
}

.btn:active {
    transform: translateY(1px);
}

/* Primary Button - Glowing CTA */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--text-inverse);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    box-shadow: var(--shadow-success), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: var(--bg-panel);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-strong);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

/* Outline Variants */
.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary-border);
}

.btn-outline-primary:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
}

.btn-outline-danger {
    background: transparent;
    color: var(--error);
    border-color: var(--error-border);
}

.btn-outline-danger:hover {
    background: var(--error-bg);
    border-color: var(--error);
}

/* Button Sizes */
.btn-xs {
    padding: var(--space-1) var(--space-2);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
}

.btn-sm {
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
}

.btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-md);
}

/* Icon Button */
.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-icon.btn-sm {
    width: 28px;
    height: 28px;
}

/* ===================================
   FORM CONTROLS - Trading Terminal Style
   =================================== */
.form-control, .form-select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    transition: var(--transition-all);
}

.form-control:hover {
    border-color: var(--border-medium);
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: var(--text-dim);
}

.form-control:disabled {
    background: var(--bg-base);
    color: var(--text-dim);
    cursor: not-allowed;
    opacity: 0.5;
}

.form-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

/* Compact input */

/* ===================================
   CARDS - Glassmorphism Premium
   =================================== */
.card {
    background: var(--bg-gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    transition: var(--transition-all);
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
}

.card-header h3, .card-header h4, .card-header h5 {
    margin: 0;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
}

.card-body {
    padding: var(--space-4);
    position: relative;
}

/* Card with accent top border */

/* Stat Card - Compact Metric Display */
.stat-card {
    background: var(--bg-gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    transition: var(--transition-all);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.stat-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-label {
    font-size: var(--text-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-muted);
    margin-bottom: var(--space-1);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-none);
}

.stat-value.positive { color: var(--success); }
.stat-value.negative { color: var(--error); }

.stat-change {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    margin-top: var(--space-1);
}

/* ===================================
   TABLES - Data Grid Style
   =================================== */
.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: var(--text-sm);
}

.table th {
    font-size: var(--text-2xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-muted);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2) var(--space-3);
    text-align: left;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: var(--z-above);
}

.table td {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
    background: transparent;
    transition: background var(--transition-fast);
}

.table tbody tr {
    transition: background var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

.table tbody tr:hover td {
    background: transparent;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Compact table variant */

/* Clickable rows */
.table-hover tbody tr {
    cursor: pointer;
}

/* Column alignment */
.table .text-right { text-align: right; }
.table .text-center { text-align: center; }

/* ===================================
   BADGES - Status & Labels
   =================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-sans);
    font-size: var(--text-2xs);
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-none);
    white-space: nowrap;
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.badge-danger {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid var(--error-border);
}

.badge-info {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid var(--info-border);
}

.badge-neutral {
    background: var(--bg-glass-medium);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Pill badge */

/* Dot indicator badge */

/* ===================================
   FINANCIAL DATA STYLING
   =================================== */
.price, .number, .percent {
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
    font-variant-numeric: tabular-nums;
}

.positive, .gain, .bullish { color: var(--success) !important; }
.negative, .loss, .bearish { color: var(--error) !important; }
.neutral { color: var(--text-secondary) !important; }

/* ===================================
   BULL/BEAR ICON CLASSES
   =================================== */

/* Icon sizes */
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }

/* Inline img tag styling for bull/bear */
img.bull-icon,
img.bear-icon {
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

img.bull-icon { filter: drop-shadow(0 0 2px rgba(63, 185, 80, 0.3)); }
img.bear-icon { filter: drop-shadow(0 0 2px rgba(248, 81, 73, 0.3)); }

/* Size classes for img tags */
img.icon-xs { width: 12px; height: 12px; }
img.icon-sm { width: 16px; height: 16px; }
img.icon-md { width: 24px; height: 24px; }

/* Price with glow */

/* Symbol style */
.symbol {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
}

.symbol-link {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: var(--tracking-tight);
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.symbol-link:hover {
    color: var(--primary);
}

/* ===================================
   SCROLLBAR STYLING
   =================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dim);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-medium) var(--bg-base);
}

/* ===================================
   LOADING STATES
   =================================== */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.loading-spinner.lg {
    width: 32px;
    height: 32px;
    border-width: 3px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-surface) 0%,
        var(--bg-elevated) 40%,
        var(--bg-elevated) 60%,
        var(--bg-surface) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow-pulse {
    0%, 100% { 
        box-shadow: 0 0 4px var(--primary-glow);
    }
    50% { 
        box-shadow: 0 0 12px var(--primary-glow), 0 0 20px var(--primary-glow);
    }
}

@keyframes border-glow {
    0%, 100% { border-color: var(--primary-border); }
    50% { border-color: var(--primary); }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
/* Colors */
.text-success { color: var(--success) !important; }
.text-danger { color: var(--error) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-primary { color: var(--text-primary) !important; }

/* Backgrounds */
.bg-success { background: var(--success-bg) !important; }
.bg-danger { background: var(--error-bg) !important; }
.bg-warning { background: var(--warning-bg) !important; }
.bg-info { background: var(--info-bg) !important; }

/* Typography */

/* Text sizes */

/* Spacing utilities */
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }

/* ===================================
   MARKET INDICATORS
   =================================== */
.market-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
}

.market-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.market-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: glow-pulse 2s ease-in-out infinite;
}

.market-dot.open {
    background: var(--success);
}

.market-dot.closed {
    background: var(--error);
}

.market-dot.closed::after {
    animation: none;
}

.market-dot.premarket,
.market-dot.extended {
    background: var(--warning);
}

/* ===================================
   PROGRESS & METERS
   =================================== */

/* Spectrum bar (Fear/Greed style) */

/* ===================================
   DIVIDERS & SEPARATORS
   =================================== */
.divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-3) 0;
}

.section-header {
    font-size: var(--text-2xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-widest);
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

/* ===================================
   TOOLTIPS
   =================================== */

/* ===================================
   MODAL OVERLAY
   =================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn var(--duration-fast) var(--ease-out);
}

.modal-content {
    background: var(--bg-gradient-card);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    animation: slideUp var(--duration-normal) var(--ease-out);
}

.modal-header {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-body {
    padding: var(--space-5);
}

.modal-footer {
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border);
    background: var(--bg-glass);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
}

/* ===================================
   AI / PREMIUM FEATURES
   =================================== */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-2xs);
    font-weight: 700;
    padding: 2px 8px;
    background: var(--accent-gradient);
    color: white;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    box-shadow: var(--shadow-accent);
    animation: border-glow 3s ease-in-out infinite;
}

/* ===================================
   BLAZOR ERROR UI
   =================================== */
#blazor-error-ui {
    background: var(--error);
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
    display: none;
    left: 0;
    padding: var(--space-3) var(--space-4);
    position: fixed;
    width: 100%;
    z-index: var(--z-overlay);
    font-size: var(--text-sm);
    color: white;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: var(--space-4);
    top: var(--space-3);
}

#blazor-error-ui .reload {
    color: white;
    text-decoration: underline;
    margin-left: var(--space-2);
}

.blazor-error-boundary {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    padding: var(--space-4);
    color: var(--error);
    border-radius: var(--radius-lg);
}

/* ===================================
   CHART CONTAINER
   =================================== */
.chart-container {
    background: var(--bg-gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--info), transparent);
}

/* ===================================
   SYMBOL PRICING COMPONENT
   =================================== */
.symbol-pricing {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--bg-glass-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-all);
}

.symbol-pricing:hover {
    border-color: var(--border-medium);
    background: var(--bg-glass-medium);
}

.symbol-pricing .symbol-name {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-xs);
    color: var(--text-primary);
    padding: 1px 6px;
    background: var(--bg-glass);
    border-radius: var(--radius-xs);
}

.symbol-pricing .symbol-price {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: var(--text-sm);
}

.symbol-pricing.price-up .symbol-price { color: var(--success); }
.symbol-pricing.price-down .symbol-price { color: var(--error); }

/* ===================================
   QUICK STATS GRID
   =================================== */
.quick-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.quick-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 var(--space-4);
    border-right: 1px solid var(--border);
}

.quick-stat:last-child {
    border-right: none;
}

.quick-stats .stat-number {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    line-height: var(--leading-none);
}

.quick-stats .stat-number.text-success { color: var(--success); }
.quick-stats .stat-number.text-danger { color: var(--error); }

.quick-stats .stat-desc {
    font-size: var(--text-2xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

/* ===================================
   POSITIONS TABLE OVERRIDES
   =================================== */
.positions-table {
    width: 100%;
}

.positions-table td,
.positions-table th {
    color: var(--text-primary);
}

.positions-table .symbol-link {
    color: var(--text-primary);
    font-weight: 700;
}

.positions-table .symbol-link:hover {
    color: var(--primary);
}

/* ===================================
   ETF / STOCK CARDS
   =================================== */
.etf-card {
    position: relative;
    background: var(--bg-gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-all);
}

.etf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.etf-card.positive::before { background: var(--success); }
.etf-card.negative::before { background: var(--error); }

.etf-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   RESPONSIVE ADJUSTMENTS
   =================================== */
@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
    
    .card-body {
        padding: var(--space-3);
    }
    
    .quick-stats {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .quick-stat {
        flex-direction: row;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: var(--space-2) 0;
    }
    
    .quick-stat:last-child {
        border-bottom: none;
    }
}

@media (min-width: 1600px) {
    html {
        font-size: 15px;
    }
}

/* ===================================
   VALIDATION STATES
   =================================== */
.valid.modified:not([type=checkbox]) {
    border-color: var(--success);
}

.invalid {
    border-color: var(--error);
}

.validation-message {
    color: var(--error);
    font-size: var(--text-xs);
    margin-top: var(--space-1);
}

/* ===================================
   CONTENT AREA DEFAULTS
   =================================== */
.content {
    padding: var(--space-4) 0;
}

/* ===================================
   SIDEBAR CONTAINER
   =================================== */
.sidebar-container {
    transition: width var(--duration-slow) var(--ease-out);
}

.sidebar-container.collapsed {
    width: var(--sidebar-collapsed) !important;
}

.sidebar-container.collapsed .nav-link {
    justify-content: center;
}

/* ===================================
   HEADER DROPDOWN OVERRIDES (Global)
   Override scoped CSS for JS-controlled show state
   =================================== */

/* Nav dropdown container */
.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Dropdown menu base styles - MUST be global for JS to work */
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    z-index: 1000;
    margin-top: 4px;
    
    /* Hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 150ms ease, visibility 150ms ease, transform 150ms ease;
    pointer-events: none;
}

/* Dropdown menu SHOW state */
.nav-dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* User menu positioning - right aligned */
.nav-dropdown-menu.user-menu {
    left: auto;
    right: 0;
    min-width: 240px;
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.dropdown-item:hover {
    background: var(--bg-glass-light);
    color: var(--text-primary);
}

.dropdown-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}

.dropdown-item:hover svg {
    opacity: 1;
}

/* Arrow rotation */
.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}

/* =====================================================================
   Formerly wwwroot/landing.css. It was loaded right after app.css on every page,
   so its rules are appended here, in their original order, to keep the cascade
   identical (its :root variables still override the ones above). Rules for markup
   that no longer exists were removed.
   ===================================================================== */
/* ===================================
   TickIQ.com Landing Page Styles
   Premium Trading Terminal Theme
   Modern Stock Market Aesthetic with Cyan Accent
   =================================== */

/* Landing-specific variables - Premium Trading Terminal Theme */
:root {
    /* Primary accent - Cyan trading terminal */
    --landing-primary: #00e5cc;
    --landing-primary-bright: #00fff2;
    --landing-primary-dark: #00b8a3;
    --landing-accent-blue: #3b82f6;
    --landing-accent-purple: #8b5cf6;
    
    /* Deep dark backgrounds for premium trading terminal feel */
    --landing-bg: #06080c;
    --landing-bg-secondary: #0a0e14;
    --landing-bg-card: rgba(15, 20, 28, 0.95);
    --landing-bg-elevated: rgba(20, 26, 36, 0.9);
    
    /* Crisp text hierarchy */
    --landing-text: #f0f4f8;
    --landing-text-secondary: #8b9cb3;
    --landing-text-muted: #5a6b7d;
    
    /* Subtle borders with premium glow */
    --landing-border: rgba(255, 255, 255, 0.06);
    --landing-border-glow: rgba(0, 229, 204, 0.4);
    
    /* Status colors */
    --landing-success: #00e5cc;
    --landing-error: #ef4444;
    --landing-warning: #f59e0b;
    
    /* Premium typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-sans);
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;
}

/* Legacy variable mappings for backward compatibility */
:root {
    --primary-green: var(--landing-primary-bright);
    --primary-green-dark: var(--landing-primary-dark);
    --accent-blue: var(--landing-accent-blue);
    --accent-purple: var(--landing-accent-purple);
    --bg-dark: var(--landing-bg);
    --bg-dark-secondary: var(--landing-bg-secondary);
    --bg-card: var(--landing-bg-card);
    --text-primary: var(--landing-text);
    --text-secondary: var(--landing-text-secondary);
    --text-muted: var(--landing-text-muted);
    --border-light: var(--landing-border);
    --border-glow: var(--landing-border-glow);
    --success-green: var(--landing-success);
    --error-red: var(--landing-error);
    --warning-orange: var(--landing-warning);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: auto !important;
    min-height: 100vh;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   HEADER STYLES (Original)
   =================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-login {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--landing-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-header-login:hover {
    border-color: var(--landing-primary);
    color: var(--landing-text);
}

.btn-header-signup {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    border-radius: 8px;
    color: var(--landing-bg);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-header-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 204, 0.3);
}

/* ===================================
   HERO SECTION
   =================================== */

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes float-ticker {
    0%, 100% { transform: translateY(0px); opacity: 0.3; }
    50% { transform: translateY(-20px); opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.creator {
    background: rgba(156, 39, 176, 0.1);
    border-color: rgba(156, 39, 176, 0.3);
    color: #bb86fc;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Courier New', monospace;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    background: rgba(0, 255, 136, 0.05);
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.metric-icon svg {
    width: 18px;
    height: 18px;
}

.metric-icon.success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    color: var(--success-green);
}

.metric-icon.profit {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05));
    color: #FFC107;
}

.metric-icon.signals {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.05));
    color: #2196F3;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--primary-green);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.winner-return {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--success-green);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.signal-card {
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid;
    background: rgba(255, 255, 255, 0.03);
}

.signal-card.buy {
    border-left-color: var(--success-green);
}

.signal-card.sell {
    border-left-color: var(--error-red);
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.signal-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.signal-card.buy .signal-badge {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-green);
}

.signal-card.sell .signal-badge {
    background: rgba(255, 71, 87, 0.2);
    color: var(--error-red);
}

.signal-time {
    font-size: 12px;
    color: var(--text-muted);
}

.signal-symbol {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-bottom: 12px;
}

.signal-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.detail-row span:first-child {
    color: var(--text-muted);
}

.detail-row .value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.detail-row .value.gain {
    color: var(--success-green);
}

.detail-row .value.loss {
    color: var(--error-red);
}

.confidence-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 600;
}

.confidence-bar span:first-child {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 4px;
    transition: width 0.3s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   SIGNAL FLOW DIAGRAM SECTION
   =================================== */

.signal-flow-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.step-icon.monitoring {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    border: 2px solid var(--border-glow);
    color: var(--primary-green);
}

.step-icon.ai {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.05));
    border: 2px solid rgba(156, 39, 176, 0.3);
    color: #9C27B0;
}

.step-icon.delivery {
    background: linear-gradient(135deg, rgba(255, 165, 2, 0.2), rgba(255, 165, 2, 0.05));
    border: 2px solid rgba(255, 165, 2, 0.3);
    color: #ffa502;
}

.step-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.step-metric {
    margin-top: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Courier New', monospace;
}

.metric-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.signal-actions {
    margin-bottom: 60px;
}

.signal-actions h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.tag {
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    font-size: 12px;
    color: var(--primary-green);
}

.verdict-bar {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    overflow: hidden;
}

.verdict-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-dark));
    border-radius: 8px;
    transition: width 0.5s ease;
}

.verdict-text {
    position: relative;
    z-index: 1;
    font-weight: 700;
    font-size: 14px;
}

/* ===================================
   FEATURES SECTION
   =================================== */

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.regime-color {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.05));
    color: #2196F3;
}

.feature-icon.sizing-color {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05));
    color: #FFC107;
}

.feature-icon.exit-color {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.05));
    color: #4CAF50;
}

.integrations h3 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--bg-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.price-amount {
    font-size: 56px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 32px;
}

.plan-features li {
    padding: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features svg {
    flex-shrink: 0;
    color: var(--success-green);
    margin-top: 2px;
}

.btn-plan {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-green);
}

.btn-plan.primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--bg-dark);
    border-color: transparent;
}

.btn-plan.primary:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 700;
    font-size: 14px;
}

.comparison-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

.comparison-table .check {
    color: var(--success-green);
    font-size: 18px;
}

.comparison-table .cross {
    color: var(--text-muted);
    font-size: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-item svg {
    color: var(--primary-green);
}

/* ===================================
   MARKETPLACE SECTION
   =================================== */

.marketplace-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 50%, var(--bg-dark) 100%);
}

.marketplace-header {
    text-align: center;
    margin-bottom: 60px;
}

.marketplace-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.marketplace-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.step-num {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    font-weight: 700;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.feature-item {
    display: flex;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.feature-item svg {
    flex-shrink: 0;
    color: #bb86fc;
}

.feature-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.marketplace-cta {
    text-align: center;
    background: var(--bg-card);
    border: 2px solid rgba(156, 39, 176, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
}

.marketplace-cta h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.marketplace-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-creator-join {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-creator-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(156, 39, 176, 0.4);
}

/* ===================================
   FOOTER CTA
   =================================== */

/* ===================================
   AUTH MODAL
   =================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.auth-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid var(--error-red);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--error-red);
}

.btn-oauth {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.btn-oauth:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.btn-oauth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-green);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-auth-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    border: none;
    border-radius: 10px;
    color: var(--bg-dark);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(10, 14, 39, 0.3);
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.signup-benefit {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===================================
   USER SIGNALS SECTION
   =================================== */

.user-signals-section {
    padding: 60px 0;
    background: var(--bg-dark);
}

.user-signals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row .stat-label {
    color: var(--text-muted);
}

.stat-row .stat-value {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.stat-row .stat-value.success {
    color: var(--success-green);
}

.btn-subscribe {
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-subscribe:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-explore:hover {
    border-color: var(--primary-green);
    background: rgba(0, 255, 136, 0.05);
}

/* ===================================
   CLOSED TRADES SECTION
   =================================== */

.summary-stat {
    text-align: center;
}

.summary-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.disclaimer {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    font-style: italic;
}

/* ===================================
   SIMPLE PRICING SECTION
   =================================== */

.simple-pricing-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.single-plan-container {
    max-width: 800px;
    margin: 0 auto;
}

.single-plan-card {
    background: var(--bg-card);
    border: 2px solid var(--border-glow);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.plan-tagline {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-plan-large {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--bg-dark);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-plan-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

/* ===================================
   COMPACT SIGNAL FLOW SECTION
   =================================== */

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .user-signals-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .marketplace-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 32px;
    }
}

/* ===================================
   CLEAN HERO SECTION
   =================================== */

/* Pipeline Sidebar */

/* Main Hero Content */

.stat-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-value-inline {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-green);
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.stat-label-inline {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Performance Sidebar */

.btn-performance-details {
    width: 100%;
    padding: 12px 18px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-performance-details:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
    transform: translateY(-1px);
}

/* Responsive for Clean Hero */

@media (max-width: 768px) {
    
    .stat-inline {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .stat-value-inline {
        font-size: 32px;
    }
}

/* ===================================
   COMPACT PERFORMANCE PREVIEW
   =================================== */

.btn-details {
    width: 100%;
    padding: 12px 20px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: 8px;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-details:hover {
    background: var(--primary-green);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 136, 0.3);
}

/* ===================================
   PLATFORM PERFORMANCE SECTION
   =================================== */

.top-performers {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.top-performers h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.performer-symbol {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 800;
}

.performer-return {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
}

.performer-return.positive {
    color: var(--success-green);
}

/* ===================================
   SIMPLIFIED HOME PAGE
   =================================== */

.simplified-home {
    min-height: 100vh !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    overflow: hidden !important;
    background: var(--bg-dark) !important;
}

.simplified-home .brand-header {
    text-align: center !important;
    margin-bottom: 12px !important;
}

/* Inline Auth Card */

.simplified-home .btn-auth-inline,
.simplified-home button.btn-auth-inline {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #00ff88, #00d4aa) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #0a0e27 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.simplified-home .btn-auth-inline:hover:not(:disabled),
.simplified-home button.btn-auth-inline:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3) !important;
}

.simplified-home .btn-auth-inline:disabled,
.simplified-home button.btn-auth-inline:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Profit Stats Card */

.simplified-home .stats-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

.simplified-home .stats-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05)) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #00ff88 !important;
}

.simplified-home .stats-title h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: #ffffff !important;
}

.simplified-home .demo-badge {
    font-size: 10px !important;
    background: rgba(255, 165, 2, 0.2) !important;
    color: #ffa502 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    display: inline-block !important;
}

.simplified-home .stats-loading {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 24px !important;
    color: #718096 !important;
}

.simplified-home .loading-spinner {
    width: 32px !important;
    height: 32px !important;
    border: 3px solid rgba(255, 255, 255, 0.1) !important;
    border-top-color: #00ff88 !important;
    border-radius: 50% !important;
    animation: spin 0.8s linear infinite !important;
}

.simplified-home .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

.simplified-home .stat-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 10px !important;
    padding: 14px !important;
    text-align: center !important;
}

.simplified-home .stat-item .stat-value {
    font-size: 22px !important;
    font-weight: 800 !important;
    font-family: 'Courier New', monospace !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.simplified-home .stat-item .stat-value.positive {
    color: #00ff88 !important;
}

.simplified-home .stat-item .stat-value.negative {
    color: #ff4757 !important;
}

.simplified-home .stat-item .stat-label {
    font-size: 11px !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
}

.simplified-home .stat-item.profit .stat-value {
    font-size: 24px !important;
}

.simplified-home .btn-learn-more,
.simplified-home button.btn-learn-more {
    width: 100% !important;
    padding: 12px !important;
    background: rgba(0, 255, 136, 0.1) !important;
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
    border-radius: 8px !important;
    color: #00ff88 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.simplified-home .btn-learn-more:hover,
.simplified-home button.btn-learn-more:hover {
    background: #00ff88 !important;
    color: #0a0e27 !important;
    transform: translateY(-2px) !important;
}

/* ===================================
   TRADE HISTORY PAGE
   =================================== */

.trade-history-page {
    min-height: 100vh;
    background: var(--bg-dark);
    padding: 20px 0;
}

.trade-history-page .container {
    max-width: 1200px;
}

.page-header {
    margin-bottom: 16px;
}

.page-header.compact {
    margin-bottom: 12px;
}

.page-header.compact h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.page-header.compact .page-subtitle {
    font-size: 14px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--primary-green);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Summary Stats Grid */
.stats-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.stats-summary-grid.five-columns {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.summary-card.compact {
    padding: 12px 10px;
    border-radius: 8px;
}

.summary-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.summary-card.highlight {
    border-color: var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.summary-card.compact .summary-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.summary-icon.profit {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05));
    color: #FFC107;
}

.summary-icon.success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    color: var(--success-green);
}

.summary-icon.trades {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.05));
    color: #2196F3;
}

.summary-icon.return {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.05));
    color: #bb86fc;
}

.summary-icon.drawdown {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.2), rgba(255, 87, 34, 0.05));
    color: #FF5722;
}

.summary-value {
    font-size: 21px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    margin-bottom: 4px;
}

.summary-card.compact .summary-value {
    font-size: 18px;
    margin-bottom: 2px;
}

.summary-value.positive {
    color: var(--success-green);
}

.summary-value.negative {
    color: var(--error-red);
}

.summary-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-detail {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.demo-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    background: rgba(255, 165, 2, 0.2);
    color: var(--warning-orange);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Performers Row */
.performers-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.performer-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.performer-card.best {
    border-left: 3px solid var(--success-green);
}

.performer-card.worst {
    border-left: 3px solid var(--error-red);
}

.performer-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.performer-card .performer-symbol {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

.performer-card .performer-return {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    margin-left: auto;
}

.performer-card .performer-return.positive {
    color: var(--success-green);
}

.performer-card .performer-return.negative {
    color: var(--error-red);
}

/* Filters Section */

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.filter-group select {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-green);
}

.filter-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

/* Trades Table Section */
.trades-table-section {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px;
    color: var(--text-muted);
}

.loading-spinner-large {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-light);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 60px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state svg {
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0;
}

.empty-state p {
    font-size: 14px;
    max-width: 400px;
    margin: 0;
}

.trades-count {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.trades-table-wrapper {
    overflow-x: auto;
}

.trades-table {
    width: 100%;
    border-collapse: collapse;
}

.trades-table th,
.trades-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.trades-table th {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
}

.trades-table td {
    font-size: 13px;
    color: var(--text-secondary);
}

.trades-table tbody tr {
    transition: background 0.3s;
}

.trades-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.trades-table tbody tr.winner {
    border-left: 3px solid var(--success-green);
}

.trades-table tbody tr.loser {
    border-left: 3px solid var(--error-red);
}

.trades-table .symbol {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--text-primary);
}

.trades-table .direction {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.trades-table .direction.long {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-green);
}

.trades-table .direction.short {
    background: rgba(255, 71, 87, 0.2);
    color: var(--error-red);
}

.trades-table .date {
    font-size: 12px;
    white-space: nowrap;
}

.trades-table .qty {
    font-family: 'Courier New', monospace;
}

.trades-table .price {
    font-family: 'Courier New', monospace;
}

.trades-table .pnl,
.trades-table .return {
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.trades-table .pnl.positive,
.trades-table .return.positive {
    color: var(--success-green);
}

.trades-table .pnl.negative,
.trades-table .return.negative {
    color: var(--error-red);
}

.trades-table .days {
    font-family: 'Courier New', monospace;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--primary-green);
    background: rgba(0, 255, 136, 0.1);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-info {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Disclaimer Section */
.disclaimer-section {
    background: rgba(255, 165, 2, 0.1);
    border: 1px solid rgba(255, 165, 2, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.disclaimer-section p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Trade History */
@media (max-width: 1200px) {
    .stats-summary-grid.five-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .stats-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-summary-grid.five-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-summary-grid,
    .stats-summary-grid.five-columns {
        grid-template-columns: 1fr;
    }
    
    .summary-card.compact {
        padding: 14px;
    }
    
    .summary-card.compact .summary-value {
        font-size: 20px;
    }
    
    .performers-row {
        flex-direction: column;
    }
    
    .trades-table th,
    .trades-table td {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header.compact h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .trade-history-page {
        padding: 16px 0;
    }

    .page-header h1,
    .page-header.compact h1 {
        font-size: 22px;
    }

    .summary-value,
    .summary-card.compact .summary-value {
        font-size: 18px;
    }
}

/* ===================================
   SIDE-BY-SIDE LAYOUT FOR HOME PAGE
   =================================== */

/* Wide Content Container for Side-by-Side Layout */

/* Side-by-Side Cards Row */

/* How It Works Banner */

.simplified-home .step-number {
    position: absolute !important;
    top: -8px !important;
    left: -8px !important;
    width: 18px !important;
    height: 18px !important;
    background: linear-gradient(135deg, #00ff88, #00d4aa) !important;
    color: #0a0e27 !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
}

.simplified-home .step-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.simplified-home .step-icon.analysis {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05)) !important;
    border: 1px solid rgba(0, 255, 136, 0.3) !important;
    color: #00ff88 !important;
}

.simplified-home .step-icon.entry {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(156, 39, 176, 0.05)) !important;
    border: 1px solid rgba(156, 39, 176, 0.3) !important;
    color: #bb86fc !important;
}

.simplified-home .step-icon.exit {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.05)) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    color: #FFC107 !important;
}

.simplified-home .step-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.simplified-home .step-text strong {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.simplified-home .step-text span {
    font-size: 10px !important;
    color: #718096 !important;
    line-height: 1.2 !important;
}

.simplified-home .step-arrow {
    font-size: 18px !important;
    color: rgba(0, 255, 136, 0.4) !important;
    flex-shrink: 0 !important;
}

/* Responsive for Side-by-Side Layout */
@media (max-width: 768px) {
    
    .simplified-home .step-arrow {
        transform: rotate(90deg) !important;
    }
}

/* ===================================
   DEMO STOCK SELECTION (Home Page)
   =================================== */

.simplified-home .demo-stock-section {
    margin-bottom: 16px !important;
    padding: 14px !important;
    background: rgba(0, 255, 136, 0.03) !important;
    border: 1px solid rgba(0, 255, 136, 0.15) !important;
    border-radius: 10px !important;
}

.simplified-home .demo-stock-label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #00ff88 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.simplified-home .stock-search-inline {
    margin-bottom: 10px !important;
}

.simplified-home .stock-search-input {
    width: 100% !important;
    padding: 10px 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-size: 13px !important;
}

.simplified-home .stock-search-input:focus {
    border-color: #00ff88 !important;
    outline: none !important;
}

.simplified-home .stock-results-inline {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    margin-bottom: 10px !important;
}

.simplified-home .stock-item-inline {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.simplified-home .stock-item-inline:last-child {
    border-bottom: none !important;
}

.simplified-home .stock-item-inline:hover {
    background: rgba(0, 255, 136, 0.08) !important;
}

.simplified-home .stock-item-inline.selected {
    background: rgba(0, 255, 136, 0.15) !important;
}

.simplified-home .stock-symbol-inline {
    font-weight: 700 !important;
    color: #00ff88 !important;
    font-size: 13px !important;
    width: 60px !important;
    font-family: 'Courier New', monospace !important;
}

.simplified-home .stock-name-inline {
    flex: 1 !important;
    color: #a0aec0 !important;
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* ===================================
   LANDING PAGE V2 - Complete Redesign
   Modern, Clean, Conversion-Focused
   =================================== */

/* Ensure all SVG elements are properly constrained */

/* Override for small icon SVGs that need fixed dimensions */

/* ===================================
   V2 HEADER
   =================================== */

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login-compact {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--landing-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login-compact:hover {
    border-color: var(--landing-primary);
    color: var(--landing-text);
}

.btn-signup-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    border-radius: 8px;
    color: var(--landing-bg);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signup-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 204, 0.3);
}

/* ===================================
   V2 HERO SECTION
   =================================== */

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--landing-primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    border-radius: 12px;
    color: var(--landing-bg);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero-primary svg {
    width: 18px;
    height: 18px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 229, 204, 0.4);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--landing-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero-secondary svg {
    width: 18px;
    height: 18px;
    color: var(--landing-primary);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    border-radius: 12px;
    color: var(--landing-bg);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 229, 204, 0.35);
}

.btn-primary-v2.large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Hero Stats Cards */

.stat-card-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(20, 26, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-card-v2:hover {
    border-color: rgba(0, 229, 204, 0.25);
    transform: translateX(-4px);
}

.stat-icon-v2 {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-v2.charts {
    background: linear-gradient(135deg, rgba(0, 229, 204, 0.2), rgba(0, 229, 204, 0.05));
    color: var(--landing-primary);
}

.stat-icon-v2.market {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
    color: var(--landing-accent-blue);
}

.stat-content {
    flex: 1;
}

.stat-value-v2 {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--landing-text);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label-v2 {
    font-size: 13px;
    color: var(--landing-text-muted);
}

/* ===================================
   V2 FEATURES SECTION
   =================================== */

/* ===================================
   V2 USER TYPES SECTION
   =================================== */

.user-types-section-v2 {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 229, 204, 0.02) 50%, transparent 100%);
}

.user-types-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.user-type-card-v2 {
    background: rgba(20, 26, 36, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.user-type-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.user-type-card-v2.professional:hover {
    border-color: rgba(0, 229, 204, 0.4);
}

.user-type-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.user-type-card-v2 h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.user-type-card-v2 > p {
    font-size: 15px;
    color: var(--landing-text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.user-type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.user-type-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--landing-text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-type-features li:last-child {
    border-bottom: none;
}

.user-type-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: #4CAF50;
}

.user-type-badge.pro {
    background: rgba(0, 229, 204, 0.15);
    border-color: rgba(0, 229, 204, 0.3);
    color: var(--landing-primary);
}

/* ===================================
   V2 HOW IT WORKS SECTION
   =================================== */

.step-number-v2 {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--landing-bg);
}

.step-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step-icon-v2.data {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--landing-accent-blue);
}

.step-icon-v2.engine {
    background: linear-gradient(135deg, rgba(0, 229, 204, 0.2), rgba(0, 229, 204, 0.05));
    border: 1px solid rgba(0, 229, 204, 0.3);
    color: var(--landing-primary);
}

.step-icon-v2.intelligence {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--landing-accent-purple);
}

/* ===================================
   V2 PERFORMANCE SECTION
   =================================== */

/* ===================================
   V2 FINAL CTA SECTION
   =================================== */

/* ===================================
   V2 FOOTER
   =================================== */

/* ===================================
   V2 AUTH MODAL
   =================================== */

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-auth-v2 {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    border-radius: 10px;
    color: var(--landing-bg);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-auth-v2:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.3);
}

.btn-auth-v2:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   V2 RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1200px) {
    
    .stat-card-v2 {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    
    .user-types-grid-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    
    .btn-primary-v2 {
        width: 100%;
        justify-content: center;
    }
    
    .stat-card-v2 {
        min-width: 100%;
    }
}

/* ===================================
   LANDING COMPONENTS - ADDITIONAL STYLES
   MoverTicker, RotatingSignalCards, MiniChartSvg
   ProofStats, DemoModal, PricingCTA
   =================================== */

/* ========== MOVER TICKER ========== */

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== ROTATING SIGNAL CARDS ========== */
.signal-card-container {
    margin: 16px 0;
}

.signal-card-container .signal-card {
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 12px;
    padding: 16px;
    animation: fadeInSlide 0.5s ease-out;
    transition: all 0.3s;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signal-card-container .signal-card:hover {
    border-color: rgba(0, 229, 204, 0.3);
}

.signal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.signal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signal-badge.bullish {
    background: rgba(0, 229, 204, 0.15);
    color: var(--landing-primary);
}

.signal-badge.bearish {
    background: rgba(239, 68, 68, 0.15);
    color: var(--landing-error);
}

.signal-timestamp {
    font-size: 11px;
    color: var(--landing-text-muted);
}

.signal-card-body {
    margin-bottom: 12px;
}

.signal-symbol-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.signal-symbol {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--landing-text);
}

.signal-type {
    font-size: 12px;
    color: var(--landing-primary);
    font-weight: 600;
}

.signal-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.signal-metric {
    text-align: center;
}

.signal-metric-label {
    font-size: 10px;
    color: var(--landing-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.signal-metric-value {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--landing-text);
}

.signal-metric-value.positive {
    color: var(--landing-success);
}

.signal-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--landing-border);
}

.signal-confidence {
    display: flex;
    align-items: center;
    gap: 12px;
}

.confidence-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--landing-primary), var(--landing-primary-bright));
    border-radius: 3px;
    transition: width 0.5s ease;
}

.confidence-value {
    font-size: 11px;
    color: var(--landing-text-secondary);
    white-space: nowrap;
}

/* ========== MINI CHART SVG ========== */

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pulseDot {
    0%, 100% { r: 4; opacity: 1; }
    50% { r: 6; opacity: 0.7; }
}

/* ========== PROOF STATS SECTION ========== */

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Equity Curve */

.chart-grid line {
    stroke: var(--landing-border);
    stroke-dasharray: 4, 4;
}

/* Trust Bullets */

/* ========== PRICING CTA SECTION ========== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.btn-pricing {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pricing-primary {
    background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-dark));
    border: none;
    color: var(--landing-bg);
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 204, 0.3);
}

.btn-pricing-secondary {
    background: transparent;
    border: 2px solid var(--landing-border);
    color: var(--landing-text);
}

.btn-pricing-secondary:hover {
    border-color: var(--landing-primary);
    background: rgba(0, 229, 204, 0.05);
}

.btn-pricing-accent {
    background: linear-gradient(135deg, var(--landing-accent-blue), #2563eb);
    border: none;
    color: white;
}

.btn-pricing-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Pricing Trust */

/* ========== DEMO MODAL ========== */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.demo-modal-content {
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16/9;
    background: var(--landing-bg-card);
    border: 1px solid var(--landing-border);
    border-radius: 16px;
    position: relative;
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.demo-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: var(--landing-text);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.demo-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--landing-primary);
}

.demo-modal-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ========== SIGNAL FLOW DIAGRAM ========== */
.signal-flow-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-icon.monitoring {
    background: linear-gradient(135deg, rgba(0, 229, 204, 0.2), rgba(0, 229, 204, 0.05));
    border: 1px solid rgba(0, 229, 204, 0.3);
    color: var(--landing-primary);
}

.step-icon.ai {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--landing-accent-purple);
}

.step-icon.delivery {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--landing-text-muted);
    font-family: 'Courier New', monospace;
}

.step-metric {
    padding-top: 12px;
    border-top: 1px solid var(--landing-border);
    text-align: center;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--landing-primary);
    display: block;
}

.metric-label {
    font-size: 10px;
    color: var(--landing-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Signal Actions */
.signal-actions {
    margin-bottom: 60px;
}

.signal-actions h3 {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Live Example */

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--landing-success);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--landing-success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.verdict-bar {
    position: relative;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.verdict-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--landing-primary-dark), var(--landing-primary));
    border-radius: 8px;
    transition: width 1s ease;
}

.verdict-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--landing-bg);
    z-index: 1;
}

/* ========== FEATURES SECTION ========== */

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.regime-color {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--landing-accent-blue);
}

.feature-icon.sizing-color {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.feature-icon.exit-color {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

/* ========== PLATFORM PERFORMANCE ========== */

/* Top Performers */
.top-performers {
    margin-bottom: 40px;
}

.top-performers h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.performer-symbol {
    font-size: 16px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
}

.performer-return {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.performer-return.positive {
    color: var(--landing-success);
}

.performer-return.negative {
    color: var(--landing-error);
}

/* Performance Disclaimer */

/* ========== RESPONSIVE ADDITIONS ========== */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 480px) {
    .signal-flow-section {
        padding: 60px 0;
    }
    
    .signal-metrics {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .demo-modal-content {
        width: 95%;
        border-radius: 12px;
    }
    
    .demo-modal-close {
        top: -44px;
    }
}
