/* ==========================================================================
   INVESTKIT - Investment Portfolio Tracker & Analytics
   Premium Fintech Template
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand Colors - Wealth-Inspired Palette */
    --color-navy-950: #0a1628;
    --color-navy-900: #0d1d35;
    --color-navy-800: #132642;
    --color-navy-700: #1a3355;
    --color-navy-600: #234168;
    --color-navy-500: #2d507a;

    --color-gold-500: #d4af37;
    --color-gold-400: #e0c157;
    --color-gold-300: #ebd47a;
    --color-gold-600: #b8962d;

    --color-emerald-500: #10b981;
    --color-emerald-400: #34d399;
    --color-emerald-600: #059669;

    --color-red-500: #ef4444;
    --color-red-400: #f87171;
    --color-red-600: #dc2626;

    /* Neutral Scale */
    --color-white: #ffffff;
    --color-neutral-50: #f8fafc;
    --color-neutral-100: #f1f5f9;
    --color-neutral-200: #e2e8f0;
    --color-neutral-300: #cbd5e1;
    --color-neutral-400: #94a3b8;
    --color-neutral-500: #64748b;
    --color-neutral-600: #475569;
    --color-neutral-700: #334155;
    --color-neutral-800: #1e293b;
    --color-neutral-900: #0f172a;

    /* Semantic Colors */
    --color-primary: var(--color-gold-500);
    --color-primary-hover: var(--color-gold-400);
    --color-success: var(--color-emerald-500);
    --color-danger: var(--color-red-500);

    /* Light Mode Defaults */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--color-neutral-50);
    --bg-tertiary: var(--color-neutral-100);
    --bg-card: var(--color-white);
    --bg-card-hover: var(--color-neutral-50);
    --bg-nav: rgba(255, 255, 255, 0.85);

    --text-primary: var(--color-navy-950);
    --text-secondary: var(--color-neutral-600);
    --text-tertiary: var(--color-neutral-500);
    --text-inverse: var(--color-white);

    --border-primary: var(--color-neutral-200);
    --border-secondary: var(--color-neutral-100);

    /* Typography Scale */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    --text-hero: clamp(2.5rem, 6vw, 4.5rem);
    --text-display: clamp(2rem, 5vw, 3.75rem);
    --text-title: clamp(1.5rem, 3vw, 2.25rem);
    --text-subtitle: clamp(1.25rem, 2vw, 1.5rem);

    --leading-tight: 1.15;
    --leading-snug: 1.3;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;

    /* Spacing Scale */
    --space-px: 1px;
    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;
    --space-48: 12rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
    --shadow-gold-lg: 0 0 60px rgba(212, 175, 55, 0.3);
    --shadow-emerald: 0 0 20px rgba(16, 185, 129, 0.3);
    --shadow-red: 0 0 20px rgba(239, 68, 68, 0.3);

    /* Transitions */
    --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
    --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);
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

    --duration-75: 75ms;
    --duration-100: 100ms;
    --duration-150: 150ms;
    --duration-200: 200ms;
    --duration-300: 300ms;
    --duration-500: 500ms;
    --duration-700: 700ms;
    --duration-1000: 1000ms;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;

    /* Chart Colors */
    --chart-1: #d4af37;
    --chart-2: #10b981;
    --chart-3: #3b82f6;
    --chart-4: #8b5cf6;
    --chart-5: #f59e0b;
    --chart-6: #ec4899;
    --chart-7: #06b6d4;
    --chart-8: #84cc16;
}

/* ==========================================================================
   2. DARK MODE
   ========================================================================== */

[data-theme="dark"],
.dark {
    --bg-primary: var(--color-navy-950);
    --bg-secondary: var(--color-navy-900);
    --bg-tertiary: var(--color-navy-800);
    --bg-card: var(--color-navy-900);
    --bg-card-hover: var(--color-navy-800);
    --bg-nav: rgba(10, 22, 40, 0.9);

    --text-primary: var(--color-white);
    --text-secondary: var(--color-neutral-300);
    --text-tertiary: var(--color-neutral-400);

    --border-primary: var(--color-navy-700);
    --border-secondary: var(--color-navy-800);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   3. BASE STYLES
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--duration-300) var(--ease-default),
                color var(--duration-300) var(--ease-default);
}

::selection {
    background-color: var(--color-gold-500);
    color: var(--color-navy-950);
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-neutral-400);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-neutral-500);
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--color-navy-600);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: var(--color-navy-500);
}

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
}

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-mono { font-family: var(--font-mono); }

.text-gradient {
    background: linear-gradient(135deg, var(--color-gold-500) 0%, var(--color-gold-300) 50%, var(--color-gold-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-emerald {
    background: linear-gradient(135deg, var(--color-emerald-500) 0%, var(--color-emerald-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-lg { max-width: 1440px; }
.container-sm { max-width: 1024px; }

.section { padding: var(--space-20) 0; }
.section-lg { padding: var(--space-32) 0; }

/* ==========================================================================
   6. NAVIGATION
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    transition: all var(--duration-300) var(--ease-default);
}

.nav-scrolled { box-shadow: var(--shadow-lg); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
    border-radius: var(--radius-lg);
    color: var(--color-navy-950);
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-1);
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-default);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-link.active { color: var(--color-gold-500); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--duration-200) var(--ease-default);
}

.nav-toggle:hover { background: var(--bg-tertiary); }

@media (min-width: 1024px) {
    .nav-menu-toggle { display: none; }
}

.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-modal);
    background: var(--bg-primary);
    padding: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--duration-300) var(--ease-smooth);
    overflow-y: auto;
}

.mobile-menu.active { transform: translateX(0); }

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.mobile-menu-link {
    padding: var(--space-4);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: background var(--duration-200) var(--ease-default);
}

.mobile-menu-link:hover { background: var(--bg-tertiary); }

/* ==========================================================================
   7. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-200) var(--ease-default);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
    color: var(--color-navy-950);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-gold-500);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* ==========================================================================
   8. CARDS
   ========================================================================== */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    transition: all var(--duration-300) var(--ease-default);
}

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

.card-gold {
    border-color: var(--color-gold-500);
    box-shadow: var(--shadow-gold);
}

.card-dark {
    background: var(--color-navy-900);
    border-color: var(--color-navy-700);
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-card-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    font-weight: 500;
}

.stat-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    color: var(--color-gold-500);
}

.stat-card-value {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-change {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    font-weight: 600;
}

.stat-card-change.positive { color: var(--color-emerald-500); }
.stat-card-change.negative { color: var(--color-red-500); }

.stock-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    transition: all var(--duration-200) var(--ease-default);
}

.stock-card:hover {
    border-color: var(--color-gold-500);
    box-shadow: var(--shadow-md);
}

.stock-card-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.stock-card-info {
    flex: 1;
    min-width: 0;
}

.stock-card-symbol {
    font-weight: 700;
    color: var(--text-primary);
}

.stock-card-name {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stock-card-data { text-align: right; }

.stock-card-price {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
}

.stock-card-change {
    font-size: var(--text-sm);
    font-weight: 600;
}

.stock-card-change.positive { color: var(--color-emerald-500); }
.stock-card-change.negative { color: var(--color-red-500); }

.stock-card-sparkline {
    width: 80px;
    height: 32px;
}

/* ==========================================================================
   9. CHARTS & DATA VISUALIZATION
   ========================================================================== */

.donut-chart-container {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.donut-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.donut-chart circle {
    fill: none;
    stroke-width: 35;
    stroke-linecap: round;
    transition: stroke-dashoffset var(--duration-1000) var(--ease-smooth);
}

.donut-chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.donut-chart-value {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
}

.donut-chart-label {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-top: var(--space-6);
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
}

.chart-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
}

.sparkline {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline.positive { stroke: var(--color-emerald-500); }
.sparkline.negative { stroke: var(--color-red-500); }

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-500), var(--color-gold-400));
    border-radius: var(--radius-full);
    transition: width var(--duration-700) var(--ease-smooth);
}

.progress-bar-fill.emerald {
    background: linear-gradient(90deg, var(--color-emerald-600), var(--color-emerald-500));
}

/* ==========================================================================
   10. BADGES & PILLS
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold-500);
}

.badge-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-emerald-500);
}

.badge-red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-red-500);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.badge-outline {
    background: transparent;
    border: 1px solid currentColor;
}

.gain-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-weight: 600;
}

.gain-indicator.positive { color: var(--color-emerald-500); }
.gain-indicator.negative { color: var(--color-red-500); }
.gain-indicator svg { width: 16px; height: 16px; }

/* ==========================================================================
   11. FORMS
   ========================================================================== */

.form-group { margin-bottom: var(--space-6); }

.form-label {
    display: block;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-default);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold-500);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder { color: var(--text-tertiary); }

.form-input-icon { position: relative; }
.form-input-icon .form-input { padding-left: var(--space-12); }

.form-input-icon svg {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

/* ==========================================================================
   12. TABLES
   ========================================================================== */

.table-container {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-secondary);
}

.table th {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-tertiary);
    background: var(--bg-secondary);
}

.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-tertiary); }

/* ==========================================================================
   13. HERO SECTIONS
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gold-500);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-full);
}

.hero-title {
    font-size: var(--text-hero);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

.hero-description {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 540px;
    margin-bottom: var(--space-8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
}

/* ==========================================================================
   14. FEATURE SECTIONS
   ========================================================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card { padding: var(--space-8); }

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border-radius: var(--radius-xl);
    color: var(--color-gold-500);
}

.feature-title {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.feature-description {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   15. PRICING SECTION
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
    position: relative;
    padding: var(--space-8);
}

.pricing-card.featured {
    border-color: var(--color-gold-500);
    box-shadow: var(--shadow-gold);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-navy-950);
    background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-400));
    border-radius: var(--radius-full);
}

.pricing-name {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-1);
    margin-bottom: var(--space-6);
}

.pricing-currency {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-tertiary);
}

.pricing-amount {
    font-family: var(--font-serif);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-period {
    font-size: var(--text-base);
    color: var(--text-tertiary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-secondary);
}

.pricing-feature:last-child { border-bottom: none; }

.pricing-feature svg {
    width: 20px;
    height: 20px;
    color: var(--color-emerald-500);
    flex-shrink: 0;
}

/* ==========================================================================
   16. TESTIMONIALS
   ========================================================================== */

.testimonial-card { padding: var(--space-8); }

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: var(--color-gold-500);
}

.testimonial-content {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* ==========================================================================
   17. FAQ SECTION
   ========================================================================== */

.faq-item { border-bottom: 1px solid var(--border-primary); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-6) 0;
    font-size: var(--text-lg);
    font-weight: 600;
    text-align: left;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--duration-200) var(--ease-default);
}

.faq-question:hover { color: var(--color-gold-500); }

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
    transition: transform var(--duration-300) var(--ease-smooth);
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-300) var(--ease-smooth);
}

.faq-answer-inner {
    padding-bottom: var(--space-6);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   18. FOOTER
   ========================================================================== */

.footer {
    padding: var(--space-20) 0 var(--space-8);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-16);
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.footer-description {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    transition: all var(--duration-200) var(--ease-default);
}

.footer-social-link:hover {
    color: var(--color-gold-500);
    background: rgba(212, 175, 55, 0.1);
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
}

.footer-links { list-style: none; }

.footer-link {
    display: block;
    padding: var(--space-2) 0;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-default);
}

.footer-link:hover { color: var(--color-gold-500); }

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-primary);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.footer-legal {
    display: flex;
    gap: var(--space-6);
}

.footer-legal a {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--duration-200) var(--ease-default);
}

.footer-legal a:hover { color: var(--text-primary); }

/* ==========================================================================
   19. ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-smooth),
                transform 0.8s var(--ease-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s var(--ease-smooth);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }
.stagger-7 { transition-delay: 0.7s; }
.stagger-8 { transition-delay: 0.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.pulse-ring { animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin { animation: spin 8s linear infinite; }

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-ticker { animation: ticker 30s linear infinite; }

@keyframes count-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-count { animation: count-up 0.5s var(--ease-smooth) forwards; }

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

@keyframes donut-animate {
    from { stroke-dashoffset: 440; }
}

.donut-animate { animation: donut-animate 1.5s var(--ease-smooth) forwards; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   20. UTILITIES
   ========================================================================== */

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-gold { color: var(--color-gold-500); }
.text-emerald { color: var(--color-emerald-500); }
.text-red { color: var(--color-red-500); }

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.bg-card { background-color: var(--bg-card); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.mt-auto { margin-top: auto; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: var(--space-4);
    left: var(--space-4);
    z-index: var(--z-tooltip);
    width: auto;
    height: auto;
    padding: var(--space-4);
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hidden { display: none; }

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
}

/* ==========================================================================
   21. SPECIAL COMPONENTS
   ========================================================================== */

.stock-ticker {
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-primary);
    border-bottom: 1px solid var(--border-primary);
    padding: var(--space-3) 0;
}

.stock-ticker-inner {
    display: flex;
    gap: var(--space-8);
    width: max-content;
}

.stock-ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    white-space: nowrap;
}

.stock-ticker-symbol {
    font-weight: 700;
    color: var(--text-primary);
}

.stock-ticker-price {
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.stock-ticker-change {
    font-family: var(--font-mono);
    font-weight: 600;
}

.dividend-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--space-1);
}

.dividend-calendar-header {
    padding: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    text-align: center;
}

.dividend-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--duration-200) var(--ease-default);
}

.dividend-calendar-day:hover { background: var(--bg-tertiary); }

.dividend-calendar-day.today {
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
}

.dividend-calendar-day.has-dividend {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold-500);
    font-weight: 600;
    cursor: pointer;
}

.dividend-calendar-day.has-dividend:hover {
    background: rgba(212, 175, 55, 0.25);
}

.goal-card { padding: var(--space-6); }

.goal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.goal-title {
    font-weight: 600;
    color: var(--text-primary);
}

.goal-target {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.goal-progress { margin-bottom: var(--space-4); }

.goal-stats {
    display: flex;
    justify-content: space-between;
    font-size: var(--text-sm);
}

.goal-current {
    color: var(--color-emerald-500);
    font-weight: 600;
}

.goal-remaining { color: var(--text-tertiary); }

.holdings-bar {
    display: flex;
    height: 12px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--bg-tertiary);
}

.holdings-bar-segment {
    height: 100%;
    transition: width var(--duration-700) var(--ease-smooth);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .stats-row { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   22. PAGE-SPECIFIC STYLES
   ========================================================================== */

.dashboard-layout { padding-top: 72px; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 1024px) {
    .dashboard-grid { grid-template-columns: 2fr 1fr; }
}

.login-page {
    min-height: 100vh;
    display: flex;
}

.login-visual {
    display: none;
    flex: 1;
    background: var(--color-navy-950);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .login-visual { display: block; }
}

.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.login-form {
    width: 100%;
    max-width: 400px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card { overflow: hidden; }

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-500) var(--ease-smooth);
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-content { padding: var(--space-6); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-16);
}

.section-eyebrow {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-gold-500);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: var(--text-display);
    margin-bottom: var(--space-4);
}

.section-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.cta-section {
    position: relative;
    padding: var(--space-24) 0;
    background: var(--color-navy-950);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--text-title);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: var(--text-lg);
    color: var(--color-neutral-400);
    margin-bottom: var(--space-8);
}

/* ==========================================================================
   23. HERO WIDGET & PORTFOLIO WIDGET
   ========================================================================== */

.hero-widget {
    position: relative;
    z-index: 10;
}

.portfolio-widget {
    background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-900));
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    max-width: 400px;
}

.dark .portfolio-widget {
    background: linear-gradient(135deg, var(--color-navy-800), var(--color-navy-950));
}

.portfolio-widget-header {
    margin-bottom: 1.5rem;
}

.portfolio-widget-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-neutral-400);
    margin-bottom: 0.5rem;
}

.portfolio-widget-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    font-family: var(--font-serif);
}

.portfolio-widget-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-emerald-400);
    margin-top: 0.5rem;
}

.portfolio-widget-body {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.portfolio-widget-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.portfolio-widget-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.portfolio-widget-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.portfolio-widget-item-name {
    display: block;
    font-weight: 600;
    color: var(--color-white);
}

.portfolio-widget-item-shares {
    display: block;
    font-size: 0.75rem;
    color: var(--color-neutral-400);
}

.portfolio-widget-item-value {
    text-align: right;
}

.portfolio-widget-item-price {
    display: block;
    font-weight: 600;
    color: var(--color-white);
}

.portfolio-widget-item-change {
    display: block;
    font-size: 0.75rem;
}

.portfolio-widget-item-change.positive {
    color: var(--color-emerald-400);
}

.portfolio-widget-item-change.negative {
    color: var(--color-red-400);
}

.portfolio-widget-footer {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-widget-dividend-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-neutral-400);
    margin-bottom: 0.25rem;
}

.portfolio-widget-dividend-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gold-400);
}

/* ==========================================================================
   24. PRINT STYLES
   ========================================================================== */

@media print {
    body {
        background: white;
        color: black;
    }

    .nav, .footer, .btn, .mobile-menu {
        display: none !important;
    }

    .card {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}
