/* ==========================================================================
   WEALTHGUARD CAPITAL - INSTITUTIONAL DESIGN SYSTEM
   Inspired by PU Prime & StakeAI | Corporate & Modern Forex Infrastructure
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
    --bg-dark: #070b19;
    --bg-surface: #0c1427;
    --bg-card: #101c36;
    --bg-card-hover: #162548;
    --border-color: rgba(255, 255, 255, 0.12);
    --border-glow: rgba(0, 210, 255, 0.35);
    
    --primary: #00d2ff;
    --primary-rgb: 0, 210, 255;
    --primary-gradient: linear-gradient(135deg, #00d2ff 0%, #0066ff 100%);
    --accent-blue: #0066ff;
    --accent-cyan: #38bdf8;
    --accent-gold: #f59e0b;
    --accent-green: #00e676;
    --accent-red: #ef4444;
    
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 25px rgba(0, 210, 255, 0.2);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] {
    --bg-dark: #f3f6fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: #e2e8f0;
    --border-glow: rgba(2, 132, 199, 0.25);
    
    --primary: #0284c7;
    --primary-rgb: 2, 132, 199;
    --primary-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    --accent-blue: #2563eb;
    --accent-cyan: #0284c7;
    --accent-gold: #d97706;
    --accent-green: #16a34a;
    --accent-red: #dc2626;
    
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.15);
    --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Page Loader Animation */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 210, 255, 0.15);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.25s ease;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
a:hover {
    color: var(--accent-cyan);
}

/* Utility Colors & Text Visibility Enhancements */
.text-cyan { color: var(--primary) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-green { color: var(--accent-green) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-light { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white-fixed { color: #ffffff !important; }

.bg-surface { background-color: var(--bg-surface) !important; }
.bg-card-dark { background-color: var(--bg-card) !important; }

/* Glowing Badges */
.badge-cyan {
    background: rgba(0, 210, 255, 0.12);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Buttons */
.btn-primary-gradient {
    background: var(--primary-gradient);
    color: #070b19 !important;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 26px;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.45);
    color: #000000 !important;
}

.btn-outline-cyan {
    border: 1px solid var(--primary);
    color: var(--primary) !important;
    background: transparent;
    font-weight: 600;
    border-radius: var(--radius-sm);
    padding: 11px 24px;
    transition: all 0.2s ease;
}

.btn-outline-cyan:hover {
    background: rgba(0, 210, 255, 0.1);
    color: #ffffff !important;
    border-color: #38bdf8;
    transform: translateY(-2px);
}

/* Compact Corporate Navigation */
.corporate-navbar {
    background: rgba(7, 11, 25, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
}

.corporate-navbar.compact-nav {
    padding: 6px 0 !important;
}

.corporate-navbar.scrolled {
    background: rgba(7, 11, 25, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    padding: 4px 0 !important;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 0.85rem 0 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.brand-logo-img {
    height: 38px;
    max-height: 40px;
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.brand-logo-img:hover {
    transform: scale(1.02);
}

.footer-logo-img {
    height: 44px;
    max-height: 46px;
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.footer-logo-img:hover {
    transform: scale(1.02);
}

/* Theme-based logo switching */
.logo-dark-mode {
    display: block !important;
}
.logo-light-mode {
    display: none !important;
}

[data-theme="light"] .logo-dark-mode {
    display: none !important;
}
[data-theme="light"] .logo-light-mode {
    display: block !important;
}

[data-theme="dark"] .logo-dark-mode {
    display: block !important;
}
[data-theme="dark"] .logo-light-mode {
    display: none !important;
}

@media (max-width: 991px) {
    .brand-logo-img {
        height: 36px;
    }
    .footer-logo-img {
        height: 40px;
    }
}

.compact-nav-list .nav-link {
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 0.80rem;
    padding: 4px 7px !important;
    transition: color 0.2s ease;
    letter-spacing: 0px;
    white-space: nowrap;
}

.compact-nav-list .nav-link:hover, .compact-nav-list .nav-link.active {
    color: var(--primary) !important;
}

/* Eliminate duplicate dropdown arrows (Default Bootstrap caret removal) */
.corporate-navbar .dropdown-toggle::after,
.compact-nav-list .dropdown-toggle::after,
.custom-nav-dropdown .dropdown-toggle::after,
.compact-nav-list .nav-link::after {
    display: none !important;
    content: none !important;
}

/* Compact Top Buttons - Uniform 32px Height on Desktop */
.btn-compact-outline {
    border: 1px solid rgba(0, 210, 255, 0.6);
    color: var(--primary) !important;
    background: rgba(0, 210, 255, 0.05);
    font-weight: 600;
    font-size: 0.78rem;
    border-radius: 6px;
    height: 32px;
    padding: 0 11px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-compact-outline:hover {
    background: rgba(0, 210, 255, 0.16);
    color: #ffffff !important;
    border-color: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.2);
}

/* Theme Toggle Button - Uniform 32px Square on Desktop */
.btn-theme-toggle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.88rem;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
}

.btn-theme-toggle:hover {
    transform: rotate(15deg) scale(1.05);
}

.btn-compact-primary {
    background: var(--primary-gradient);
    color: #070b19 !important;
    font-weight: 700;
    font-size: 0.78rem;
    border: none;
    border-radius: 6px;
    height: 32px;
    padding: 0 13px;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    line-height: 1;
    box-sizing: border-box;
    white-space: nowrap;
}

.btn-compact-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(0, 210, 255, 0.5);
    color: #000000 !important;
}

/* Mobile Quick Actions & Toggler Visibility Rules */
@media (min-width: 992px) {
    .mobile-nav-actions {
        display: none !important;
    }
    .corporate-navbar .navbar-toggler {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    /* Mobile Quick Actions - Perfect 34px Uniform Height and Sizing */
    .mobile-nav-actions {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .mobile-nav-actions .btn,
    .mobile-nav-actions .btn-compact-outline,
    .mobile-nav-actions .btn-compact-primary,
    .mobile-nav-actions .btn-theme-toggle,
    .mobile-nav-actions .mobile-icon-btn {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        border-radius: 8px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.95rem !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    .mobile-nav-actions .btn i,
    .mobile-nav-actions .btn-theme-toggle i {
        font-size: 1rem !important;
        line-height: 1 !important;
        display: inline-block !important;
    }

    /* Mobile Hamburger Toggler - Matching 34px Uniform Square */
    .corporate-navbar .navbar-toggler {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 210, 255, 0.4) !important;
        background: rgba(0, 210, 255, 0.05) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--primary) !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    .corporate-navbar .navbar-toggler i {
        font-size: 1.35rem !important;
        line-height: 1 !important;
        display: inline-block !important;
    }

    [data-theme="light"] .corporate-navbar .navbar-toggler {
        border-color: #cbd5e1 !important;
        background: #f1f5f9 !important;
        color: var(--primary) !important;
    }
}

/* Custom Executive Dropdown Menus */
.custom-nav-dropdown {
    position: relative;
}

.custom-nav-dropdown .nav-chevron {
    font-size: 0.62rem;
    margin-left: 2px;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.custom-nav-dropdown:hover .nav-chevron,
.custom-nav-dropdown.show .nav-chevron {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    background: rgba(10, 18, 36, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 210, 255, 0.22) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 210, 255, 0.12) !important;
    min-width: 580px;
    margin-top: 10px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 992px) {
    .custom-nav-dropdown:hover > .custom-dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }
}

.custom-dropdown-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    padding: 10px 12px !important;
    border-radius: 10px;
    background: transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: normal !important;
    border: 1px solid transparent;
}

.custom-dropdown-item:hover {
    background: rgba(0, 210, 255, 0.08) !important;
    border-color: rgba(0, 210, 255, 0.2) !important;
    transform: translateX(4px);
}

.dropdown-icon-box {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.custom-dropdown-item:hover .dropdown-icon-box {
    transform: scale(1.1);
}

.dropdown-item-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 2px;
}

.custom-dropdown-item:hover .dropdown-item-title {
    color: var(--primary);
}

.dropdown-item-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.bg-cyan-subtle {
    background: rgba(0, 210, 255, 0.12) !important;
}
.bg-success-subtle {
    background: rgba(0, 230, 118, 0.12) !important;
}
.bg-gold-subtle {
    background: rgba(245, 158, 11, 0.15) !important;
}
.text-gold {
    color: #f59e0b !important;
}

/* Light Mode Overrides for Dropdowns */
[data-theme="light"] .custom-dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1), 0 0 15px rgba(2, 132, 199, 0.08) !important;
}

[data-theme="light"] .custom-dropdown-item:hover {
    background: rgba(2, 132, 199, 0.06) !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .dropdown-item-title {
    color: #0f172a;
}

[data-theme="light"] .dropdown-item-desc {
    color: #64748b;
}

/* Mobile responsive dropdown menu & navbar */
@media (max-width: 991.98px) {
    .custom-dropdown-menu {
        min-width: 100% !important;
        width: 100% !important;
        background: rgba(12, 20, 39, 0.96) !important;
        border-radius: 12px !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-top: 6px !important;
        margin-bottom: 8px !important;
    }
    
    [data-theme="light"] .custom-dropdown-menu {
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
    }

    .compact-nav-list {
        padding: 12px 0;
    }

    .compact-nav-list .nav-link {
        padding: 10px 14px !important;
        border-radius: 8px;
    }

    .compact-nav-list .nav-link:hover {
        background: rgba(255, 255, 255, 0.04);
    }
}

/* Ticker Bar (High Contrast & Fluid) */
.market-ticker-bar {
    background: #040816;
    border-bottom: 1px solid rgba(0, 210, 255, 0.15);
    font-size: 0.76rem;
    padding: 5px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    gap: 32px;
    animation: ticker-slide 32s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
}

.ticker-symbol {
    color: #93c5fd !important; /* Soft bright high-contrast cyan-blue */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ticker-val {
    color: #ffffff !important;
    font-weight: 700;
}

.ticker-badge-up {
    background: rgba(0, 230, 118, 0.18) !important;
    color: #00e676 !important;
    border: 1px solid rgba(0, 230, 118, 0.45) !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.ticker-badge-down {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #ff5252 !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

.ticker-badge-pegged {
    background: rgba(0, 210, 255, 0.18) !important;
    color: #00d2ff !important;
    border: 1px solid rgba(0, 210, 255, 0.45) !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
}

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

/* ==========================================================================
   ANIMATED HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 85px 0 75px;
    overflow: hidden;
    background: #070b19;
}

/* Ambient Moving Gradient Orbs */
.hero-ambient-orb-1 {
    position: absolute;
    top: -10%;
    right: 15%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, rgba(0, 102, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    animation: orbFloat1 10s ease-in-out infinite alternate;
}

.hero-ambient-orb-2 {
    position: absolute;
    bottom: -15%;
    left: 10%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, rgba(0, 210, 255, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: orbFloat2 12s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 30px) scale(1.1); }
    100% { transform: translate(-20px, 50px) scale(0.95); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, -40px) scale(1.08); }
    100% { transform: translate(30px, -20px) scale(0.92); }
}

/* Hero Cyber Grid Backdrop */
.hero-cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 75%);
}

/* Web3 AI Animated Canvas Background */
.hero-web3-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

/* Floating Web3 Architectural Badges in Hero Background */
.hero-web3-floating-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.web3-float-tag {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    pointer-events: none;
}

.tag-bsc {
    top: 7%;
    left: 45%;
    background: rgba(243, 186, 47, 0.08);
    border: 1px solid rgba(243, 186, 47, 0.35);
    color: #f3ba2f;
    animation: web3TagFloat1 7s ease-in-out infinite alternate;
}

.tag-ai {
    bottom: 5%;
    left: 3%;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
    animation: web3TagFloat2 8.5s ease-in-out infinite alternate;
}

.tag-sync {
    top: 8%;
    right: 5%;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.35);
    color: #00e676;
    animation: web3TagFloat3 9s ease-in-out infinite alternate;
}

.tag-contract {
    bottom: 4%;
    right: 44%;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    animation: web3TagFloat1 10s ease-in-out infinite alternate;
}

@keyframes web3TagFloat1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes web3TagFloat2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(18px) rotate(1.5deg); }
}

@keyframes web3TagFloat3 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(12px, -14px); }
}

/* ==========================================================================
   HERO MULTI-SLIDE CAROUSEL - SMOOTH HORIZONTAL SLIDE TRANSITION
   ========================================================================== */
.hero-slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: block !important;
    opacity: 0.25;
    transform: scale(0.97);
    transition: opacity 0.55s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    box-sizing: border-box;
}

.hero-slide.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    pointer-events: auto;
}

/* Staggered Content Slide-In Animations for Active Slide */
.hero-slide.active .hero-slide-badge {
    animation: heroItemSlideUp 0.6s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-title {
    animation: heroItemSlideUp 0.65s 0.16s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-subtitle {
    animation: heroItemSlideUp 0.65s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-actions {
    animation: heroItemSlideUp 0.65s 0.30s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.active .hero-stats-row {
    animation: heroItemSlideUp 0.65s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroItemSlideUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(90deg, #00d2ff, #38bdf8, #0066ff, #00d2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleShimmer 6s linear infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 26px;
    line-height: 1.6;
}

/* Hero Slider Navigation & Progress Indicators */
.hero-slider-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.hero-slide-nav-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-slide-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 21, 44, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00d2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
    padding: 0;
}

.hero-slide-btn:hover {
    background: rgba(0, 210, 255, 0.2);
    border-color: #38bdf8;
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.3);
}

.hero-indicators-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 440px;
}

.hero-indicator-item {
    flex: 1;
    cursor: pointer;
    background: rgba(13, 21, 44, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 10px;
    transition: all 0.25s ease;
    text-align: left;
}

.hero-indicator-item:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.3);
}

.hero-indicator-item.active {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 210, 255, 0.15);
}

.hero-indicator-label {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-indicator-item.active .hero-indicator-label {
    color: var(--primary);
}

.hero-indicator-bar {
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.hero-indicator-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d2ff, #0066ff);
    border-radius: 2px;
}

.hero-indicator-item.active .hero-indicator-fill {
    animation: slideIndicatorProgress 5.5s linear infinite;
}

@keyframes slideIndicatorProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-slider-container {
        min-height: auto;
    }
}

/* Floating Gold Terminal Card */
.hero-animated-card {
    background: rgba(13, 21, 44, 0.85);
    backdrop-filter: blur(18px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 210, 255, 0.35);
    padding: 26px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    animation: heroCardFloat 5s ease-in-out infinite, borderGlowPulse 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

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

@keyframes borderGlowPulse {
    0%, 100% {
        border-color: rgba(0, 210, 255, 0.35);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.1);
    }
    50% {
        border-color: rgba(56, 189, 248, 0.65);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 210, 255, 0.25);
    }
}

/* Floating Decorative Pills on Hero Card */
.hero-floating-pill {
    position: absolute;
    z-index: 20;
    background: rgba(10, 16, 35, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.pill-top-right {
    top: -18px;
    right: 20px;
    animation: pillFloat1 4.5s ease-in-out infinite;
}

.pill-bottom-left {
    bottom: -18px;
    left: 20px;
    animation: pillFloat2 4.2s ease-in-out infinite;
}

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

@keyframes pillFloat2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(7px); }
}

/* Live Market Radar Beacon */
.live-beacon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00e676;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.35);
    padding: 3px 10px;
    border-radius: 9999px;
}

.beacon-dot {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 8px #00e676;
    animation: beaconPulse 1.4s ease-in-out infinite;
}

@keyframes beaconPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.75; }
    50% { transform: scale(1.35); opacity: 1; }
}

/* Live Trade Order Highlighting Pulse */
.trade-row-animated {
    animation: rowPulseGlow 3s ease-in-out infinite alternate;
}

@keyframes rowPulseGlow {
    0% { background: transparent; }
    100% { background: rgba(0, 210, 255, 0.04); }
}

/* Glassmorphism Cards & Dark Background Readability */
.glass-card {
    background: rgba(14, 22, 44, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.18);
}

/* Feature Box */
.feature-box {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(14, 23, 46, 0.9);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 255, 0.25);
}

/* Tables Styling */
.table-dark-custom {
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-color);
    color: var(--text-primary);
}

.table-dark-custom th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    background: rgba(10, 16, 32, 0.85);
    border-bottom: 1px solid var(--border-color);
}

.table-dark-custom td {
    padding: 16px 18px;
    vertical-align: middle;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* ==========================================================================
   LIGHT MODE DESIGN SPECIFICATIONS ([data-theme="light"])
   ========================================================================== */
[data-theme="light"] .corporate-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .compact-nav-list .nav-link {
    color: #1e293b !important;
}

[data-theme="light"] .compact-nav-list .nav-link:hover,
[data-theme="light"] .compact-nav-list .nav-link.active {
    color: #0284c7 !important;
}

[data-theme="light"] .btn-compact-outline {
    border-color: rgba(2, 132, 199, 0.7);
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.06);
}

[data-theme="light"] .btn-compact-outline:hover {
    background: #0284c7;
    color: #ffffff !important;
}

[data-theme="light"] .btn-outline-cyan {
    border-color: #0284c7;
    color: #0284c7 !important;
}

[data-theme="light"] .btn-outline-cyan:hover {
    background: #0284c7;
    color: #ffffff !important;
}

[data-theme="light"] .hero-section {
    background: radial-gradient(circle at 75% 25%, rgba(2, 132, 199, 0.09) 0%, rgba(240, 249, 255, 0.85) 45%, #f8fafc 100%) !important;
}

[data-theme="light"] .hero-section .hero-title {
    color: #0f172a !important;
}

[data-theme="light"] .hero-section .hero-subtitle {
    color: #475569 !important;
}

[data-theme="light"] .hero-section .text-light,
[data-theme="light"] .hero-animated-card .text-light {
    color: #0f172a !important;
}

[data-theme="light"] .hero-section .text-secondary {
    color: #475569 !important;
}

[data-theme="light"] .hero-cyber-grid {
    background-image: 
        linear-gradient(rgba(2, 132, 199, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.07) 1px, transparent 1px);
}

[data-theme="light"] .hero-ambient-orb-1 {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
}

[data-theme="light"] .hero-ambient-orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(2, 132, 199, 0.03) 50%, transparent 70%);
}

[data-theme="light"] .hero-animated-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .hero-animated-card .bg-surface {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .hero-floating-pill {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .web3-float-tag {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
}
[data-theme="light"] .tag-bsc {
    background: rgba(245, 158, 11, 0.08) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    color: #b45309 !important;
}
[data-theme="light"] .tag-ai {
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}
[data-theme="light"] .tag-sync {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #047857 !important;
}
[data-theme="light"] .tag-contract {
    background: rgba(147, 51, 234, 0.08) !important;
    border-color: rgba(147, 51, 234, 0.3) !important;
    color: #7e22ce !important;
}
[data-theme="light"] .hero-slide-btn {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.4) !important;
    color: #0284c7 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
[data-theme="light"] .hero-slide-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}
[data-theme="light"] .hero-indicator-item {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: #e2e8f0 !important;
}
[data-theme="light"] .hero-indicator-item.active {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15) !important;
}
[data-theme="light"] .hero-indicator-label {
    color: #64748b !important;
}
[data-theme="light"] .hero-indicator-item.active .hero-indicator-label {
    color: #0284c7 !important;
}
[data-theme="light"] .hero-indicator-bar {
    background: #e2e8f0 !important;
}

[data-theme="light"] .glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .glass-card:hover {
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .feature-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
}

[data-theme="light"] .feature-box:hover {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    box-shadow: 0 8px 30px rgba(2, 132, 199, 0.1) !important;
}

[data-theme="light"] .feature-box h5 {
    color: #0f172a !important;
}

[data-theme="light"] .feature-box .text-secondary {
    color: #475569 !important;
}

[data-theme="light"] .feature-icon-wrapper {
    background: rgba(2, 132, 199, 0.08) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
}

[data-theme="light"] .table-dark-custom th {
    background: #f1f5f9;
    color: #334155;
    border-bottom: 2px solid #e2e8f0;
}

[data-theme="light"] .table-dark-custom td {
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}

[data-theme="light"] .border-secondary {
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .bg-surface {
    background-color: #f8fafc !important;
}

[data-theme="light"] .trade-row-animated {
    animation: rowPulseGlowLight 3s ease-in-out infinite alternate;
}

@keyframes rowPulseGlowLight {
    0% { background: transparent; }
    100% { background: rgba(2, 132, 199, 0.06); }
}

/* CTA Banner Card */
.cta-banner-card {
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.12) 0%, rgba(14, 22, 44, 0.95) 70%);
}

[data-theme="light"] .cta-banner-card {
    background: radial-gradient(circle at center, rgba(2, 132, 199, 0.08) 0%, #ffffff 80%) !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 45px rgba(15, 23, 42, 0.07) !important;
}

[data-theme="light"] .cta-banner-card h2 {
    color: #0f172a !important;
}

[data-theme="light"] .cta-banner-card .text-secondary {
    color: #475569 !important;
}

[data-theme="light"] .cta-banner-card .cta-stat-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .cta-banner-card .cta-stat-item .text-light {
    color: #0f172a !important;
}

/* Footer */
.corporate-footer {
    background: #050812;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

[data-theme="light"] .corporate-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .corporate-footer h6,
[data-theme="light"] .corporate-footer .text-light {
    color: #0f172a !important;
}

[data-theme="light"] .corporate-footer .text-secondary,
[data-theme="light"] .corporate-footer p {
    color: #475569 !important;
}

.footer-link {
    color: var(--text-secondary);
    transition: color 0.2s;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 10px;
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 4px;
}

[data-theme="light"] .footer-link {
    color: #475569 !important;
}

[data-theme="light"] .footer-link:hover {
    color: #0284c7 !important;
}

[data-theme="light"] .corporate-footer .text-muted,
[data-theme="light"] .corporate-footer .text-muted a {
    color: #64748b !important;
}

[data-theme="light"] .corporate-footer .border-top {
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .corporate-footer .badge-cyan {
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    color: #0284c7 !important;
}

[data-theme="light"] .corporate-footer .badge-gold {
    background: rgba(217, 119, 6, 0.08) !important;
    border-color: rgba(217, 119, 6, 0.25) !important;
    color: #b45309 !important;
}

[data-theme="light"] .corporate-footer .btn-outline-cyan {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
}

[data-theme="light"] .corporate-footer .btn-outline-cyan:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Footer Social Media Buttons */
.footer-social-links {
    flex-wrap: wrap;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social-btn:hover {
    color: var(--primary);
    background: rgba(0, 210, 255, 0.14);
    border-color: rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

[data-theme="light"] .footer-social-btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .footer-social-btn:hover {
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.08) !important;
    border-color: #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

/* Footer Forex Risk Disclaimer */
.footer-risk-disclaimer {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer-risk-disclaimer p {
    color: var(--text-muted);
}

.footer-risk-disclaimer strong {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-risk-disclaimer {
    border-color: #e2e8f0 !important;
}

[data-theme="light"] .footer-risk-disclaimer p {
    color: #64748b !important;
}

[data-theme="light"] .footer-risk-disclaimer strong {
    color: #1e293b !important;
}


/* ==========================================================================
   CLIENT REVIEWS CONTAINER SLIDER WITH ARROW NAVIGATION
   ========================================================================== */
.reviews-container-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 10px 4px 20px;
}

.reviews-container-scroll::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.review-card {
    width: 360px;
    flex-shrink: 0;
    background: rgba(14, 22, 44, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .review-card .text-light {
    color: #0f172a !important;
}

[data-theme="light"] .review-card .text-secondary {
    color: #475569 !important;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15);
}

.btn-review-nav {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.btn-review-nav:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: scale(1.08);
}

[data-theme="light"] .btn-review-nav {
    border-color: #cbd5e1;
    color: #334155 !important;
    background: #ffffff;
}

[data-theme="light"] .btn-review-nav:hover {
    border-color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7 !important;
}

/* ==========================================================================
   COPY TRADING WORKFLOW & STRATEGY ANIMATIONS
   ========================================================================== */
.workflow-step-card {
    background: rgba(14, 23, 46, 0.88);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
}

[data-theme="light"] .workflow-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
}

.workflow-step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.15);
}

.step-num-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: var(--font-mono);
    margin-bottom: 20px;
}

.strategy-badge-live {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border: 1px solid rgba(0, 230, 118, 0.35);
    font-weight: 700;
}

.pill-left-middle {
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    animation: pillFloatLeft 4.8s ease-in-out infinite;
}

@keyframes pillFloatLeft {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-58%); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title { font-size: 2.6rem; }
    .hero-section { padding: 60px 0 40px; }
    .pill-left-middle { display: none; }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2.1rem; }
    .review-card { width: 300px; padding: 18px; }
}

/* ==========================================================================
   GLOBAL TRUST, VERIFIED (PU PRIME INSPIRED) STYLES
   ========================================================================== */
.trust-verified-section {
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.06) 0%, rgba(11, 15, 25, 0.98) 75%);
}

.trust-bento-card {
    background: rgba(14, 23, 46, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.16);
}

.bg-surface-2 {
    background: rgba(10, 16, 32, 0.65);
}

.bg-surface-card {
    background: rgba(14, 23, 46, 0.7);
    backdrop-filter: blur(14px);
}

.trust-mini-review {
    transition: transform 0.2s ease, background 0.2s ease;
}

.trust-mini-review:hover {
    transform: translateX(4px);
    background: rgba(0, 210, 255, 0.06);
}

.trust-globe-bg {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(0, 102, 255, 0.06) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlobe 4s ease-in-out infinite alternate;
}

@keyframes pulseGlobe {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.6; }
    100% { transform: scale(1.15) rotate(15deg); opacity: 1; }
}

.award-badge-item {
    padding: 16px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.award-badge-item:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Light Theme Overrides for Trust Section */
[data-theme="light"] .trust-verified-section {
    background: #f8fafc;
}

[data-theme="light"] .trust-bento-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .bg-surface-2 {
    background: #f1f5f9;
}

[data-theme="light"] .bg-surface-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .award-badge-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

[data-theme="light"] .award-badge-item:hover {
    background: #e0f2fe;
    border-color: #0284c7;
}

[data-theme="light"] .trust-bento-card .text-light,
[data-theme="light"] .award-title {
    color: #0f172a !important;
}

[data-theme="light"] .trust-bento-card .text-secondary {
    color: #475569 !important;
}

/* ==========================================================================
   HOMEPAGE INTERACTIVE & CORPORATE GRAPHICS & ANIMATIONS
   ========================================================================== */

/* 1. Hero Radar Interactive Tabs & Controls */
.radar-tab-btn {
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.radar-tab-btn:hover,
.radar-tab-btn.active {
    background: rgba(0, 210, 255, 0.16);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="light"] .radar-tab-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="light"] .radar-tab-btn.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

/* 2. Global Trust Interactive Ping Gauge */
.btn-ping-nodes {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid rgba(0, 210, 255, 0.35);
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-ping-nodes:hover {
    background: var(--primary);
    color: #040914 !important;
}

.ping-success-flash {
    animation: pingFlash 0.7s ease-in-out;
}

@keyframes pingFlash {
    0% { background-color: rgba(0, 230, 118, 0.35); }
    100% { background-color: transparent; }
}

/* Gauge SVG Animation */
.ai-gauge-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 28;
    animation: gaugeFill 1.8s ease-out forwards;
}

@keyframes gaugeFill {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 28; }
}

/* 3. Section 2: Animated Workflow Stream & Interactive Step Highlights */
.workflow-connector-wrap {
    position: relative;
}

@media (min-width: 992px) {
    .workflow-connector-line {
        position: absolute;
        top: 48px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, rgba(0, 210, 255, 0.3), rgba(0, 230, 118, 0.6), rgba(245, 158, 11, 0.3));
        z-index: 1;
        pointer-events: none;
    }
    
    .workflow-pulse-dot {
        position: absolute;
        top: -4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--primary);
        box-shadow: 0 0 12px var(--primary);
        animation: flowAcross 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    }
}

@keyframes flowAcross {
    0% { left: 0%; opacity: 0; transform: scale(0.6); }
    15% { opacity: 1; transform: scale(1.2); }
    85% { opacity: 1; transform: scale(1.2); }
    100% { left: 100%; opacity: 0; transform: scale(0.6); }
}

.workflow-step-card {
    cursor: pointer;
}

.workflow-step-card.active-step {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.22);
    transform: translateY(-4px);
}

.workflow-interactive-preview {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.04);
    border: 1px dashed rgba(0, 210, 255, 0.25);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

/* 4. Section 3: Interactive Profit Simulator Strategy Modes & Projection Bar */
.risk-profile-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.risk-profile-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.risk-profile-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(0, 102, 255, 0.2) 100%);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

[data-theme="light"] .risk-profile-btn {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="light"] .risk-profile-btn.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

.compounding-bar-container {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

[data-theme="light"] .compounding-bar-container {
    background: #e2e8f0;
}

.compounding-bar-fill {
    height: 100%;
    width: 35%;
    border-radius: 4px;
    background: linear-gradient(90deg, #00d2ff, #00e676);
    transition: width 0.4s ease;
}

/* 5. Section 4: Master Strategy Desks Interactive Sparklines & Live Radar Drawer */
.strategy-sparkline-wrap {
    height: 54px;
    width: 100%;
    margin-bottom: 12px;
}

.sparkline-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.sparkline-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawSparkline 1.6s ease-out forwards;
}

.sparkline-area {
    opacity: 0.15;
}

@keyframes drawSparkline {
    to { stroke-dashoffset: 0; }
}

.btn-toggle-orders {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-toggle-orders:hover {
    color: var(--primary);
}

.strategy-orders-drawer {
    display: none;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    background: rgba(4, 9, 20, 0.75);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
}

[data-theme="light"] .strategy-orders-drawer {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* 6. Section 5: Feature Box Animated Micro-Graphics */
.feature-box {
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover::after {
    opacity: 1;
}

.feature-box:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(4deg);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.micro-pulse-ring {
    animation: ringOscillate 2s infinite ease-in-out;
}

@keyframes ringOscillate {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 0.4; }
}

/* 7. Section 6: Client Reviews Category Filter Chips */
.review-filter-chip {
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-filter-chip:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.review-filter-chip.active {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="light"] .review-filter-chip {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="light"] .review-filter-chip.active {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0284c7;
}

/* 8. Section 7: CTA Live Platform Pulse Stats Bar */
.cta-live-pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.cta-stat-item {
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease;
}

.cta-stat-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

[data-theme="light"] .cta-stat-item {
    background: #ffffff;
    border-color: #e2e8f0;
}

/* ==========================================================================
   INNER PAGES HERO SECTION & FOREX CHART BACKGROUND
   ========================================================================== */
.inner-page-hero {
    position: relative !important;
    overflow: hidden !important;
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--border-color);
}

.inner-page-hero .container {
    position: relative;
    z-index: 2;
}

/* Institutional Forex Chart Backdrop */
.inner-hero-chart-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 62%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Ambient Radial Glow */
.inner-hero-chart-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 450px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.16) 0%, rgba(0, 102, 255, 0.06) 55%, transparent 75%);
    filter: blur(40px);
    z-index: 1;
}

[data-theme="light"] .inner-hero-chart-glow {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.10) 0%, rgba(37, 99, 235, 0.04) 55%, transparent 75%);
}

/* Seamless Left Fade Gradient Mask to Guarantee Text Legibility */
.inner-hero-chart-fade-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    background: linear-gradient(90deg, var(--bg-surface) 0%, rgba(12, 20, 39, 0.85) 35%, rgba(12, 20, 39, 0.4) 70%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

[data-theme="light"] .inner-hero-chart-fade-left {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 35%, rgba(255, 255, 255, 0.45) 70%, transparent 100%);
}

.inner-hero-chart-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(0deg, var(--bg-surface) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

[data-theme="light"] .inner-hero-chart-fade-bottom {
    background: linear-gradient(0deg, #ffffff 0%, transparent 100%);
}

/* SVG Chart Sizing & Positioning */
.inner-hero-chart-svg-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 290px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 3%;
    z-index: 2;
}

.forex-chart-svg {
    width: 100%;
    height: 100%;
    max-width: 660px;
    opacity: 0.88;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
    transition: opacity 0.3s ease;
}

[data-theme="light"] .forex-chart-svg {
    opacity: 0.95;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.06));
}

/* Candlesticks & Indicators */
.candle-wick-bull {
    stroke: #00e676;
    stroke-width: 1.2;
}

.candle-body-bull {
    fill: #00e676;
    fill-opacity: 0.85;
    stroke: #00e676;
    stroke-width: 0.8;
}

.candle-wick-bear {
    stroke: #ef4444;
    stroke-width: 1.2;
}

.candle-body-bear {
    fill: #ef4444;
    fill-opacity: 0.75;
    stroke: #ef4444;
    stroke-width: 0.8;
}

[data-theme="light"] .candle-wick-bull,
[data-theme="light"] .candle-body-bull {
    stroke: #16a34a;
    fill: #16a34a;
}

[data-theme="light"] .candle-wick-bear,
[data-theme="light"] .candle-body-bear {
    stroke: #dc2626;
    fill: #dc2626;
}

.forex-grid-lines {
    color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .forex-grid-lines {
    color: rgba(15, 23, 42, 0.07);
}

.forex-price-text {
    fill: rgba(255, 255, 255, 0.38);
}

[data-theme="light"] .forex-price-text {
    fill: rgba(15, 23, 42, 0.45);
}

.forex-volume-bars {
    color: rgba(0, 210, 255, 0.12);
}

[data-theme="light"] .forex-volume-bars {
    color: rgba(2, 132, 199, 0.12);
}

/* Pulsing Ping Indicator */
.forex-chart-ping {
    animation: chartPingRipple 2.2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    transform-origin: 595px 28px;
}

@keyframes chartPingRipple {
    0% {
        r: 4.5;
        opacity: 0.9;
    }
    100% {
        r: 18;
        opacity: 0;
    }
}

/* Floating Live Market Indicator Badge */
.inner-hero-chart-badge {
    position: absolute;
    top: 18px;
    right: 32px;
    background: rgba(12, 20, 39, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 210, 255, 0.35);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 0.76rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    z-index: 4;
    animation: chartBadgeFloat 6s ease-in-out infinite alternate;
}

@keyframes chartBadgeFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-4px); }
}

.chart-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    display: inline-block;
}

.chart-badge-symbol {
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

[data-theme="light"] .inner-hero-chart-badge {
    background: rgba(255, 255, 255, 0.95);
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .chart-badge-symbol {
    color: #0f172a;
}

/* High-contrast Text Visibility Rules for Inner Pages Hero */
.inner-page-hero h1,
.inner-page-hero .display-5 {
    color: var(--text-primary) !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.inner-page-hero .lead,
.inner-page-hero .text-secondary {
    color: var(--text-secondary) !important;
    max-width: 640px;
}

[data-theme="light"] .inner-page-hero h1,
[data-theme="light"] .inner-page-hero .display-5 {
    color: #0f172a !important;
    text-shadow: none !important;
}

[data-theme="light"] .inner-page-hero .lead,
[data-theme="light"] .inner-page-hero .text-secondary {
    color: #334155 !important;
}

/* Mobile Responsiveness for Inner Hero Chart */
@media (max-width: 991.98px) {
    .inner-hero-chart-backdrop {
        width: 100%;
        opacity: 0.32;
    }
    .inner-hero-chart-svg-wrap {
        padding-right: 0;
        justify-content: center;
    }
    .inner-hero-chart-fade-left {
        width: 60%;
    }
}

/* ==========================================================================
   INNER PAGES COMPACT DESIGN SYSTEM & BOTTOM GAP REMOVAL
   Applies to all inner pages (Markets, Copy Trading, About, IB, Risk, FAQs, Contact, Terms, Privacy)
   ========================================================================== */

/* 1. Inner Page Hero: Reduced Padding & Proportional Compact Layout */
.inner-page-hero {
    padding-top: 1.65rem !important;
    padding-bottom: 1.15rem !important;
}

.inner-page-hero .container {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
}

/* 2. Reduced Inner Page Typography & Heading Sizes */
.inner-page-hero h1,
.inner-page-hero .display-5,
.inner-page-body .inner-page-hero h1,
.inner-page-body .inner-page-hero .display-5 {
    font-size: 1.85rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.45rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.inner-page-hero .lead,
.inner-page-hero .text-secondary,
.inner-page-body .inner-page-hero .lead {
    font-size: 0.90rem !important;
    line-height: 1.52 !important;
    max-width: 620px;
    margin-bottom: 0 !important;
}

.inner-page-hero .badge-cyan,
.inner-page-hero .badge-gold,
.inner-page-body .inner-page-hero .badge-cyan {
    font-size: 0.72rem !important;
    padding: 3px 11px !important;
    margin-bottom: 0.35rem !important;
}

.inner-page-hero .btn-lg,
.inner-page-body .inner-page-hero .btn-lg {
    padding: 7px 18px !important;
    font-size: 0.86rem !important;
    border-radius: var(--radius-sm) !important;
}

.inner-hero-chart-badge {
    font-size: 0.70rem !important;
    padding: 3px 10px !important;
    top: 12px;
    right: 20px;
}

/* 3. Inner Page Content Sections: Eliminate Huge Padding & Gaps */
.inner-page-body section:not(.inner-page-hero),
.inner-page-main section:not(.inner-page-hero),
.inner-page-hero + section,
.inner-page-hero ~ section {
    padding-top: 1.35rem !important;
    padding-bottom: 1.25rem !important;
}

/* Inner Page Containers: Compact py-4 and py-5 */
.inner-page-body section .container.py-4,
.inner-page-body section .container.py-5,
.inner-page-main section .container.py-4,
.inner-page-main section .container.py-5,
.inner-page-hero ~ section .container.py-4 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.5rem !important;
}

/* REMOVE BOTTOM GAP: Target the last section before the footer */
.inner-page-body section:last-of-type,
.inner-page-main section:last-of-type,
.inner-page-hero ~ section:last-of-type,
main:has(.inner-page-hero) section:last-of-type {
    padding-bottom: 0.5rem !important;
}

.inner-page-body section:last-of-type .container,
.inner-page-main section:last-of-type .container,
.inner-page-hero ~ section:last-of-type .container {
    padding-bottom: 0 !important;
}

/* Remove bottom margin from last children inside the container */
.inner-page-body section:last-of-type > .container > *:last-child,
.inner-page-main section:last-of-type > .container > *:last-child,
.inner-page-body section:last-of-type .glass-card:last-child,
.inner-page-main section:last-of-type .glass-card:last-child,
.inner-page-hero ~ section:last-of-type > .container > *:last-child {
    margin-bottom: 0 !important;
}

/* Compact spacing utilities on inner pages */
.inner-page-body .mb-5,
.inner-page-main .mb-5,
.inner-page-hero ~ section .mb-5 {
    margin-bottom: 1.35rem !important;
}

.inner-page-body .mb-4,
.inner-page-main .mb-4,
.inner-page-hero ~ section .mb-4 {
    margin-bottom: 1.0rem !important;
}

/* Compact Footer on Inner Pages: Remove excessive top padding */
.inner-page-body .corporate-footer,
.inner-page-main + .corporate-footer,
body:has(.inner-page-hero) .corporate-footer,
main:has(.inner-page-hero) + .corporate-footer {
    padding-top: 26px !important;
    padding-bottom: 22px !important;
}

.inner-page-body .corporate-footer .row.mb-5,
.inner-page-main + .corporate-footer .row.mb-5,
body:has(.inner-page-hero) .corporate-footer .row.mb-5 {
    margin-bottom: 1.25rem !important;
}

/* 4. Reduced Font Sizes Across All Inner Page Content */
.inner-page-body h2,
.inner-page-main h2,
.inner-page-hero ~ section h2,
.inner-page-body .display-6,
.inner-page-main .display-6 {
    font-size: 1.45rem !important;
    line-height: 1.28 !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}

.inner-page-body h3,
.inner-page-main h3,
.inner-page-hero ~ section h3 {
    font-size: 1.20rem !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    margin-bottom: 0.45rem !important;
}

.inner-page-body h4,
.inner-page-main h4,
.inner-page-hero ~ section h4 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-bottom: 0.35rem !important;
}

.inner-page-body h5,
.inner-page-main h5,
.inner-page-hero ~ section h5 {
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
}

.inner-page-body h6,
.inner-page-main h6,
.inner-page-hero ~ section h6 {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

/* Paragraphs & Text */
.inner-page-body p,
.inner-page-main p,
.inner-page-hero ~ section p {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 0.65rem;
}

.inner-page-body p.small,
.inner-page-body .small,
.inner-page-body small,
.inner-page-main p.small,
.inner-page-main .small,
.inner-page-main small,
.inner-page-hero ~ section .small {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
}

/* Bootstrap fs-* utility scale overrides for inner pages */
.inner-page-body .fs-1, .inner-page-main .fs-1 { font-size: 1.80rem !important; }
.inner-page-body .fs-2, .inner-page-main .fs-2 { font-size: 1.45rem !important; }
.inner-page-body .fs-3, .inner-page-main .fs-3 { font-size: 1.20rem !important; }
.inner-page-body .fs-4, .inner-page-main .fs-4 { font-size: 1.05rem !important; }
.inner-page-body .fs-5, .inner-page-main .fs-5 { font-size: 0.94rem !important; }
.inner-page-body .fs-6, .inner-page-main .fs-6 { font-size: 0.84rem !important; }

/* Tables in Inner Pages (Markets, Risk) */
.inner-page-body .table th,
.inner-page-main .table th {
    font-size: 0.75rem !important;
    padding: 7px 11px !important;
    letter-spacing: 0.5px;
}

.inner-page-body .table td,
.inner-page-main .table td {
    font-size: 0.80rem !important;
    padding: 7px 11px !important;
}

/* Glass Card internal padding for executive density */
.inner-page-body .glass-card,
.inner-page-main .glass-card,
.inner-page-hero ~ section .glass-card {
    padding: 1.2rem !important;
}

.inner-page-body .glass-card.p-4,
.inner-page-main .glass-card.p-4 {
    padding: 1.2rem !important;
}

.inner-page-body .glass-card.p-md-5,
.inner-page-main .glass-card.p-md-5 {
    padding: 1.45rem !important;
}

/* Accordion in FAQs page */
.inner-page-body .accordion-button,
.inner-page-main .accordion-button {
    font-size: 0.88rem !important;
    padding: 9px 13px !important;
}

.inner-page-body .accordion-body,
.inner-page-main .accordion-body {
    font-size: 0.82rem !important;
    line-height: 1.52 !important;
    padding: 9px 13px !important;
}

/* Form Controls in Contact Page */
.inner-page-body .form-control,
.inner-page-body .form-select,
.inner-page-main .form-control,
.inner-page-main .form-select {
    font-size: 0.84rem !important;
    padding: 6px 11px !important;
}

.inner-page-body .form-label,
.inner-page-main .form-label {
    font-size: 0.76rem !important;
    margin-bottom: 0.25rem !important;
}

/* Badges on inner pages */
.inner-page-body .badge,
.inner-page-main .badge {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
}

/* Light Theme Contrast Support for Inner Pages */
[data-theme="light"].inner-page-body h1,
[data-theme="light"].inner-page-body h2,
[data-theme="light"].inner-page-body h3,
[data-theme="light"].inner-page-body h4,
[data-theme="light"].inner-page-body h5,
[data-theme="light"].inner-page-body h6,
[data-theme="light"] .inner-page-main h1,
[data-theme="light"] .inner-page-main h2,
[data-theme="light"] .inner-page-main h3,
[data-theme="light"] .inner-page-main h4,
[data-theme="light"] .inner-page-main h5,
[data-theme="light"] .inner-page-main h6 {
    color: #0f172a !important;
}

[data-theme="light"].inner-page-body p,
[data-theme="light"] .inner-page-main p {
    color: #334155 !important;
}

[data-theme="light"].inner-page-body .text-secondary,
[data-theme="light"] .inner-page-main .text-secondary {
    color: #334155 !important;
}

[data-theme="light"].inner-page-body .text-muted,
[data-theme="light"] .inner-page-main .text-muted {
    color: #64748b !important;
}





