/* XcelGreen - Envizi-Inspired Enterprise ESG Platform */
/* Advanced professional styling following IBM Envizi design patterns */

:root {
    /* Primary Brand Colors - IBM Inspired Enterprise Blue */
    --primary-50: #eef3ff;
    --primary-100: #dde5ff;
    --primary-200: #c2d1ff;
    --primary-300: #9db4ff;
    --primary-400: #758cff;
    --primary-500: #4c63fb;
    --primary-600: #3547f0;
    --primary-700: #2933dc;
    --primary-800: #252bb2;
    --primary-900: #252a8c;
    
    /* IBM-Style Blue Accent */
    --blue-50: #f0f4ff;
    --blue-100: #e5edff;
    --blue-200: #cddbfe;
    --blue-300: #a4bcfe;
    --blue-400: #7694fc;
    --blue-500: #4969f8;
    --blue-600: #2d3fee;
    --blue-700: #2432d3;
    --blue-800: #242ca9;
    --blue-900: #1e2875;
    
    /* Enterprise Green - ESG Focus */
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-300: #86efac;
    --green-400: #4ade80;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-800: #166534;
    --green-900: #14532d;
    
    /* Professional Neutral Palette */
    --gray-25: #fcfcfd;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Status Colors */
    --success-50: #f0fdf4;
    --success-500: #22c55e;
    --success-600: #16a34a;
    
    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    --error-50: #fef2f2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    
    /* Framework Comparison Action Button Colors */
    --export-success: #16a34a;
    --export-success-hover: #15803d;
    --contact-primary: #3b82f6;
    --contact-primary-hover: #2563eb;
    
    /* Typography */
    --font-sans: 'Inter', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    /* Sophisticated Shadows */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Enterprise Depth */
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-outline: 0 0 0 3px rgba(53, 71, 240, 0.1);
    --shadow-focused: 0 0 0 3px rgba(53, 71, 240, 0.2);
    
    /* Border Radius */
    --radius-xs: 0.25rem;
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Precise Spacing */
    --space-px: 1px;
    --space-0: 0;
    --space-0-5: 0.125rem;
    --space-1: 0.25rem;
    --space-1-5: 0.375rem;
    --space-2: 0.5rem;
    --space-2-5: 0.625rem;
    --space-3: 0.75rem;
    --space-3-5: 0.875rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-7: 1.75rem;
    --space-8: 2rem;
    --space-9: 2.25rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 200ms ease-out;
    --transition-slow: 300ms ease-out;
    
    /* Z-Index Layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-modal: 1050;
    --z-tooltip: 1070;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-25);
    font-feature-settings: 'kern' 1, 'liga' 1, 'frac' 1, 'tnum' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
}

/* Custom Layout - Renamed to avoid Bootstrap conflicts */
.xg-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-sm {
    max-width: 640px;
}

.container-md {
    max-width: 768px;
}

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

.container-xl {
    max-width: 1280px;
}

.container-2xl {
    max-width: 1536px;
}

.page {
    padding: var(--space-xl) 0;
    min-height: 100vh;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }

/* Enterprise Navigation - Envizi Style */
.navbar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 0;
    position: relative;
    z-index: var(--z-sticky);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
}

.navbar-brand {
    font-size: 1.375rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    padding: 1rem 0;
}

.navbar-brand:hover {
    color: #1d4ed8;
    text-decoration: none;
    transform: translateY(-1px);
}

.navbar-brand span {
    display: inline-block;
    font-weight: 700;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Fallback for browsers that don't support gradient text */
    color: #2563eb;
}

/* Enhanced navbar button styling */
.navbar .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.25);
}

.navbar .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
}

.navbar-brand img {
    height: 28px;
    width: auto;
}

.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.navbar-toggler:hover {
    border-color: var(--primary-300);
    background: var(--gray-50);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--space-1);
    align-items: center;
    margin: 0;
    height: 64px;
}

/* Only apply to navbar navigation, not Bootstrap tabs */
.navbar-nav .nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    text-decoration: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    height: 40px;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-700);
    background: var(--primary-50);
    text-decoration: none;
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-700);
    background: var(--primary-100);
    box-shadow: var(--shadow-sm);
}

.navbar-nav .nav-link i {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Diff Comparison Utilities */
.diff-highlight-positive {
    border-left: 4px solid var(--success-500);
    background: var(--success-50);
}

.diff-highlight-negative {
    border-left: 4px solid var(--error-500);
    background: var(--error-50);
}

.diff-highlight-neutral {
    border-left: 4px solid var(--gray-400);
    background: var(--gray-50);
}

.comparison-spine {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.comparison-header {
    text-align: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

/* Enterprise Dropdown System */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all var(--transition-base);
    z-index: var(--z-dropdown);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    padding: var(--space-2) var(--space-3);
    margin-bottom: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border-bottom: 1px solid var(--gray-100);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-3);
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    line-height: 1.25;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-700);
    text-decoration: none;
    transform: translateX(2px);
}

.dropdown-item i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 0.875rem;
}

.dropdown-item:hover i {
    color: var(--primary-600);
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-100);
    margin: var(--space-2) 0;
}

/* Buttons */
.btn {
    padding: var(--space-sm) var(--space-6);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.25;
    white-space: nowrap;
    user-select: none;
}

.btn:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-xs {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-xl {
    padding: var(--space-6) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
}

.btn-primary:hover {
    background: var(--primary-700);
    border-color: var(--primary-700);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--gray-600);
    color: white;
    border-color: var(--gray-600);
}

.btn-secondary:hover {
    background: var(--gray-700);
    border-color: var(--gray-700);
    color: white;
    text-decoration: none;
}

.btn-success {
    background: var(--green-600);
    color: white;
    border-color: var(--green-600);
}

.btn-success:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-600);
    color: var(--primary-600);
}

.btn-outline:hover {
    background: var(--primary-600);
    color: white;
    text-decoration: none;
}

.btn-outline-secondary {
    background: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    color: var(--gray-800);
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-800);
    text-decoration: none;
}

.btn-disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Enterprise Cards - Professional Layout */
.card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: var(--space-8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card-sm {
    padding: var(--space-5);
}

.card-lg {
    padding: var(--space-10);
}

.card-header {
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: var(--space-5);
    margin-bottom: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: var(--space-2);
    font-weight: 400;
}

.card-badge {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-body {
    padding: 0;
}

.card-footer {
    border-top: 1px solid var(--gray-100);
    padding-top: var(--space-5);
    margin-top: var(--space-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-actions {
    display: flex;
    gap: var(--space-3);
}

.card-elevated {
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
}

.card-flat {
    box-shadow: none;
    border: 1px solid var(--gray-200);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Enterprise Dashboard - Envizi Style */
.dashboard {
    padding: var(--space-6) 0 var(--space-12);
    background: var(--gray-25);
    min-height: 100vh;
}

.welcome {
    background: linear-gradient(135deg, white 0%, var(--gray-50) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(25%, -25%);
}

.welcome h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.welcome p {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin: 0;
    font-weight: 400;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    border-radius: 16px 16px 0 0;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #cbd5e1;
}

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

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: var(--space-2);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.stat-label {
    color: #64748b;
    font-size: 0.813rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-trend {
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.stat-trend.positive {
    color: var(--success-600);
}

.stat-trend.negative {
    color: var(--error-600);
}

.stat-trend i {
    font-size: 0.625rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.metric {
    text-align: center;
    margin: 1.5rem 0;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.progress {
    margin: 1rem 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.progress-fill {
    height: 100%;
    background: #059669;
    border-radius: 4px;
}

.chart {
    height: 200px;
    margin: 1rem 0;
}

.insights {
    list-style: none;
    padding: 0;
}

.insight {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 3px solid #059669;
}

.insight h4 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.875rem;
}

.insight p {
    color: #6b7280;
    font-size: 0.8rem;
    margin: 0;
}

/* Enterprise Action Cards */
.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.action {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--gray-800);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    position: relative;
    overflow: hidden;
}

.action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--blue-500));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.action:hover {
    border-color: var(--primary-300);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--gray-800);
    box-shadow: var(--shadow-lg);
}

.action:hover::before {
    transform: scaleX(1);
}

.action-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-500), var(--blue-500));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.action-content {
    flex: 1;
    min-width: 0;
}

.action-content h4 {
    margin-bottom: var(--space-2);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
}

.action-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.action-content .badge {
    display: inline-block;
    background: var(--green-100);
    color: var(--green-700);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-2);
}

/* Landing Page */
.hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 50%, #7c3aed 100%);
    color: white;
    padding: var(--space-3xl) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

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

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-6);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.features {
    padding: var(--space-3xl) 0;
    background: white;
}

.features-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.features-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.features-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.feature {
    text-align: center;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    background: white;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.feature p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: var(--space-sm);
        width: 100%;
        margin-top: var(--space-md);
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .actions {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* ==================================================
   FRAMEWORK NAVIGATOR STYLES
   ================================================== */

/* Framework Navigator Variables */
:root {
    --neutral-25: #fcfcfd;
}

/* Modern Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

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

.page-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Modern Navigation Tabs */
.modern-tabs {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: -1rem 0 2rem;
    overflow: hidden;
}

.modern-tabs .nav {
    border: none;
    background: var(--gray-50);
    padding: 0.5rem;
}

.modern-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--gray-600);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.25rem;
}

.modern-tabs .nav-link:hover {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-sm);
}

.modern-tabs .nav-link.active {
    background: var(--primary-600);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Framework Cards with Modern Design */
.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.framework-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.framework-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-600) 0%, var(--green-500) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.framework-card:hover {
    box-shadow: var(--shadow-2xl);
    transform: translateY(-4px);
    border-color: var(--primary-600);
}

.framework-card:hover::before {
    transform: scaleX(1);
}

.framework-card.selected {
    border-color: var(--primary-600);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1), 0 10px 10px -5px rgba(37, 99, 235, 0.04);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(124, 58, 237, 0.02) 100%);
}

.framework-card.selected::before {
    transform: scaleX(1);
}

.framework-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
}

.framework-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.framework-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.framework-description {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.framework-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.framework-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern:hover {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-outline-modern {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
}

.btn-outline-modern:hover {
    background: var(--primary-600);
    color: white;
    text-decoration: none;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1rem;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Version Tracking Layout */
.tracking-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
}

.version-sidebar {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    max-height: 600px;
    overflow-y: auto;
}

.version-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.version-item:hover {
    border-color: var(--primary-600);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.version-item.active {
    border-color: var(--primary-600);
    background: rgba(37, 99, 235, 0.05);
}

.details-panel {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-400);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    font-size: 1rem;
}

/* Framework Navigator Responsive Design */
@media (max-width: 1024px) {
    .tracking-layout {
        grid-template-columns: 1fr;
    }
    
    .version-sidebar {
        max-height: 300px;
    }
    
    .framework-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .framework-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        grid-template-columns: 1fr;
    }
    
    .framework-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .framework-actions {
        flex-direction: column;
    }
    
    .feature-badges {
        justify-content: center;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .modern-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ==================================================
   ESG NAVIGATOR SPECIFIC STYLES
   ================================================== */

/* ESG Navigator specific styles */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
}

/* Header - MINIMAL PROFESSIONAL SPACING */
.compact-hero {
    padding: 0.75rem 0 !important;
    margin-bottom: 0.5rem !important;
}

@media (min-width: 768px) {
    .compact-hero {
        padding: 1rem 0 !important;
    }
}

@media (max-width: 767px) {
    .compact-hero {
        padding: 0.5rem 0 !important;
    }
    .compact-hero h1 {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.25rem !important;
        font-weight: 600 !important;
    }
    .compact-hero p {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
        opacity: 0.85 !important;
        margin-bottom: 0.25rem !important;
    }
    .compact-hero .w-12 {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }
    .compact-hero .grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
}

.btn-enterprise-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-enterprise-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    color: white;
    text-decoration: none;
}

.btn-enterprise-secondary {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-600);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-enterprise-secondary:hover {
    background: var(--primary-600);
    color: white;
    text-decoration: none;
}

.enterprise-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.enterprise-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .card {
        padding: var(--space-6);
    }
    
    .welcome {
        padding: var(--space-xl);
    }
    
    .welcome h1 {
        font-size: 1.25rem;
    }
    
    .features-header h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-cta .btn {
        width: auto;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.text-primary { color: #2563eb; }
.text-success { color: #059669; }
.text-danger { color: #dc2626; }
.text-muted { color: #6b7280; }

.bg-primary { background-color: #2563eb; }
.bg-success { background-color: #059669; }
.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: white; }

/* === Framework Navigator === */

/* FIXED FRAMEWORK CARD STYLES - BRAND ALIGNED */
.frameworks-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
    align-items: start !important;
}

.framework-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(37, 99, 235, 0.04) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(124, 58, 237, 0.1) !important;
    min-height: 280px !important;
    max-height: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative;
    backdrop-filter: blur(20px);
}

.framework-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #059669 100%) !important;
    border-radius: 16px 16px 0 0 !important;
}

.framework-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15), 0 8px 25px rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
}

.framework-header {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 1rem !important;
    flex-shrink: 0 !important;
}

.framework-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: white !important;
    margin-right: 1rem !important;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 70%, #059669 100%) !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3) !important;
}

.framework-info h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.2 !important;
}

.framework-badge {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1)) !important;
    color: #7c3aed !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
}

.framework-description {
    color: #64748b !important;
    line-height: 1.4 !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.75rem !important;
    flex-grow: 1 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.framework-actions {
    display: flex !important;
    gap: 0.5rem !important;
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

.try-free-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 10px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
    flex: 1 !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2) !important;
}

.try-free-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), 0 4px 12px rgba(59, 130, 246, 0.2) !important;
    color: white !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #60a5fa 100%) !important;
}

.history-btn {
    background: rgba(124, 58, 237, 0.05) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    color: #7c3aed !important;
    font-weight: 500 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-size: 0.875rem !important;
    flex-shrink: 0 !important;
}

.history-btn:hover {
    background: rgba(124, 58, 237, 0.1) !important;
    border-color: #7c3aed !important;
    color: #6d28d9 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15) !important;
}

/* Hero Section Alignment - Background image handled in templates */
.hero-section {
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem !important;
    opacity: 0.95;
    margin-bottom: 2.5rem !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.stats-bar {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(30px) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    margin-top: 3rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    color: white !important;
}

.stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    display: block;
    color: #0066cc !important;
}

.stat-label {
    font-size: 0.95rem !important;
    opacity: 0.9;
    font-weight: 500;
}

/* Main Content Styling */
.main-content {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    padding: 3rem 0;
}

.usage-alert {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.05)) !important;
    border: 1px solid rgba(124, 58, 237, 0.2) !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem !important;
}

.section-title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem !important;
}

.section-subtitle {
    font-size: 1.2rem !important;
    color: #64748b !important;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Navigation Tabs Styling */
.nav-tabs {
    border: none !important;
    margin-bottom: 3rem !important;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0.75rem;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
}

.nav-tabs .nav-link {
    color: #64748b !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    border-radius: 15px !important;
    margin: 0 0.5rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-tabs .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.nav-tabs .nav-link:hover:not(.active) {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #7c3aed !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .frameworks-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .framework-card {
        height: 280px !important;
        padding: 1.25rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
}
/* Removed duplicate hero-section rule - handled in templates */

/* Framework Navigator container */
.navigator-container {
    min-height: calc(100vh - 200px);
    padding-bottom: var(--space-4xl);
}

.framework-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: 1.5rem;
    color: white;
}

.navigator-container {
    display: block !important;
    min-height: 80vh;
}

.versions-sidebar {
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
}

.version-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.version-item:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.version-item.active {
    border-color: var(--success-500);
    background: var(--success-50);
}

.version-item.compare-selected {
    border-color: var(--warning-500);
    background: var(--warning-50);
}

.version-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-600);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.version-badge.latest {
    background: var(--success-500);
}

.details-panel {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
    min-height: 80vh;
    box-shadow: var(--shadow-sm);
}

.diff-container {
    background: var(--gray-50);
    border-radius: var(--border-radius-md);
    padding: var(--space-xl);
    margin: var(--space-6) 0;
}

.diff-added {
    background: var(--success-50);
    color: var(--success-800);
    padding: var(--space-md);
    border-left: 4px solid var(--success-500);
    margin: var(--space-sm) 0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.diff-removed {
    background: var(--error-50);
    color: var(--error-800);
    padding: var(--space-md);
    border-left: 4px solid var(--error-500);
    margin: var(--space-sm) 0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.diff-modified {
    background: var(--warning-50);
    color: var(--warning-800);
    padding: var(--space-md);
    border-left: 4px solid var(--warning-500);
    margin: var(--space-sm) 0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.update-timestamp {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.compare-mode {
    background: linear-gradient(135deg, var(--warning-500) 0%, #f97316 100%);
    color: white;
    padding: var(--space-6);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-6);
    text-align: center;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-sm) var(--space-6);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Modern Design System Classes */
.modern-page-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.modern-page-header {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.modern-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.modern-page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.modern-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-visual-element {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 400px;
}

.modern-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    color: white;
}

.modern-icon-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.modern-icon-item span {
    font-size: 0.875rem;
    opacity: 0.8;
}

.modern-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
    overflow: hidden;
}

.modern-card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
    padding-bottom: 1.5rem;
}

.modern-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.modern-card-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

.modern-card-body {
    padding: 1.5rem;
}

.modern-form-group {
    margin-bottom: 1.5rem;
}

.modern-form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.modern-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.modern-form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.modern-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
}

.modern-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

.modern-btn-outline {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.modern-btn-outline:hover {
    background: #2563eb;
    color: white;
}

.modern-tabs {
    margin-bottom: 2rem;
}

.modern-tabs .nav-tabs {
    border: none;
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.modern-tabs .nav-link {
    border: none;
    border-radius: 0.5rem;
    color: #64748b;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    transition: all 0.2s ease;
}

.modern-tabs .nav-link.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-tabs .nav-link:hover {
    color: #2563eb;
}

/* Modern Toast Notification System */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    max-width: 420px;
    pointer-events: none;
}

.modern-toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 1rem;
    padding: 1.5rem;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.modern-toast.hide {
    transform: translateX(100%);
    opacity: 0;
}

.modern-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.modern-toast.info::before {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.modern-toast.warning::before {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.modern-toast.error::before,
.modern-toast.danger::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modern-toast.success::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.toast-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.125rem;
    color: white;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

.modern-toast.info .toast-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
}

.modern-toast.warning .toast-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.modern-toast.error .toast-icon,
.modern-toast.danger .toast-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modern-toast.success .toast-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.toast-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
    margin: 0;
    flex-grow: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    font-size: 1.25rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.toast-message {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.toast-feature-info {
    background: rgba(37, 99, 235, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.toast-feature-title {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.toast-feature-title i {
    margin-right: 0.5rem;
}

.toast-benefits {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.toast-benefits li {
    color: #4b5563;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.toast-benefits li:before {
    content: '✓';
    color: #10b981;
    font-weight: 600;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

.toast-cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.toast-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.toast-btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
}

.toast-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
    text-decoration: none;
}

.toast-btn-outline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
}

.toast-btn-outline:hover {
    background: #f9fafb;
    color: #374151;
    text-decoration: none;
}

/* Enhanced ESG Advisor Report Styling - Professional Enterprise Grade */
.enterprise-report-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

/* Hero Section Improvements */
.executive-summary-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.summary-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.summary-content {
    position: relative;
    z-index: 2;
}

.confidence-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: fit-content;
}

.confidence-meter {
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-right: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.confidence-text {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.executive-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.framework-highlight {
    color: #fbbf24;
    font-weight: 800;
}

.executive-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.executive-metrics-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.metric-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Tab System Styling */
.enterprise-tabs-container {
    margin-bottom: 2rem;
}

.enterprise-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    margin-right: 0.5rem;
}

.tab-btn:last-child {
    margin-right: 0;
}

.tab-btn i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

.tab-btn:hover:not(.active) {
    background: #f3f4f6;
    color: #374151;
}

.tab-content-area {
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

/* Bootstrap Tab Pane Fix - Ensure active tabs are visible */
.tab-content .tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.tab-content .tab-pane.show,
.tab-content .tab-pane.active {
    display: block !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
}

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

/* Strategic Advantages and Timeline Preview */
.strategic-advantage-grid, .implementation-preview {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #3b82f6;
}

.advantage-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.advantage-item i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.advantage-item span {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.timeline-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.timeline-marker {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

.timeline-phase {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.timeline-desc {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Framework Details Tab Styling */
.framework-details-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.framework-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.framework-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.framework-section {
    margin-bottom: 2rem;
}

.framework-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.framework-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.framework-requirements li {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.framework-requirements li i {
    color: #10b981;
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.reporting-standards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.standard-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.standard-item:hover {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.standard-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.standard-content {
    flex: 1;
}

.standard-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.standard-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Compliance Scorecard */
.compliance-scorecard, .adoption-stats {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.compliance-scorecard h4, .adoption-stats h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.score-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.score-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.score-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
}

.adoption-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: conic-gradient(#3b82f6 0deg 270deg, #e5e7eb 270deg 360deg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adoption-circle::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
}

.adoption-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.adoption-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.adoption-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Implementation Roadmap Styling */
.implementation-roadmap {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.implementation-roadmap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roadmap-phase {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.roadmap-phase:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.phase-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.phase-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.phase-duration {
    font-size: 0.875rem;
    color: #6b7280;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}

.phase-tasks {
    display: grid;
    gap: 0.75rem;
}

.task-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.task-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
}

.task-item i {
    margin-right: 0.75rem;
    margin-top: 0.125rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.task-item i.fa-check {
    color: #10b981;
}

.task-item i.fa-clock {
    color: #f59e0b;
}

.task-item i.fa-hourglass-half {
    color: #6b7280;
}

/* Resource Requirements and Investment Summary */
.resource-requirements, .investment-summary {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    height: 100%;
}

.resource-requirements h4, .investment-summary h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.resource-list, .investment-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.resource-item:hover {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.resource-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.resource-details {
    flex: 1;
}

.resource-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.resource-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.investment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.investment-category {
    font-size: 0.875rem;
    color: #374151;
    font-weight: 500;
}

.investment-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.investment-total {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    border-radius: 10px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-weight: 600;
}

.total-amount {
    font-size: 1.125rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
    
    .modern-toast {
        padding: 1rem;
    }
    
    .toast-header {
        margin-bottom: 0.5rem;
    }
    
    .toast-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .toast-cta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-section {
        padding: var(--space-2xl) 0;
        min-height: 300px;
    }
    
    .details-panel, .versions-sidebar {
        margin-bottom: var(--space-6);
    }
    
    .framework-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .navigator-container {
        min-height: calc(100vh - 150px);
    }
    
    .modern-page-title {
        font-size: 1.875rem;
    }
    
    .modern-icon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modern-card-header,
    .modern-card-body {
        padding: 1rem;
    }
    
    /* Mobile Responsive Adjustments for Enhanced ESG Advisor */
    .executive-title {
        font-size: 1.75rem;
    }
    
    .confidence-badge {
        padding: 0.5rem 1rem;
    }
    
    .confidence-meter {
        width: 60px;
    }
    
    .enterprise-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .tab-btn {
        justify-content: center;
        margin-right: 0;
    }
    
    .phase-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .roadmap-timeline {
        gap: 1rem;
    }
    
    .roadmap-phase {
        padding: 1rem;
    }
    
    .standard-item, .resource-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .standard-icon, .resource-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
/* Updates Timeline Styling */
.updates-content {
    padding: 1.5rem 0;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.section-header h5 {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.updates-timeline {
    position: relative;
}

.update-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-25);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.update-item:hover {
    background: white;
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.update-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    margin-right: 1rem;
    flex-shrink: 0;
}

.update-content {
    flex: 1;
    min-width: 0;
}

.update-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.update-title {
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
    font-size: 0.95rem;
}

.update-badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.update-description {
    color: var(--gray-700);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.update-date, .update-type {
    display: flex;
    align-items: center;
}

.update-date i, .update-type i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive updates timeline */
@media (max-width: 768px) {
    .update-item {
        flex-direction: column;
        text-align: center;
    }
    
    .update-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .update-header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .update-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Framework Filters Styling */
.framework-filters {
    padding: 1.5rem;
    background: var(--gray-25);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.search-box .input-group-text {
    border-color: var(--gray-300);
}

.search-box .form-control {
    border-color: var(--gray-300);
}

.search-box .form-control:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 0.2rem rgba(76, 99, 251, 0.25);
}

.form-select {
    border-color: var(--gray-300);
    border-radius: 8px;
}

.form-select:focus {
    border-color: var(--primary-500);
    box-shadow: 0 0 0 0.2rem rgba(76, 99, 251, 0.25);
}

.active-filters {
    padding: 1rem;
    background: var(--blue-50);
    border-radius: 8px;
    border: 1px solid var(--blue-200);
}

.filter-tags .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.results-counter {
    text-align: center;
}

.framework-meta {
    padding-top: 0.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.mandatory-indicator {
    display: inline-flex;
    align-items: center;
}

/* Enhanced framework cards for better filtering display */
.framework-card {
    transition: all 0.4s ease;
}

.framework-card.hidden {
    display: none !important;
}

/* Force override for framework grid display */
.frameworks-grid .framework-card {
    display: block !important;
}

.frameworks-grid .framework-card[style*="display: none"] {
    display: flex !important;
}

/* Version History and Compare Tabs */
.history-content, .compare-content {
    padding: 2rem 0;
}

.history-header, .compare-header {
    text-align: center;
    margin-bottom: 2rem;
}

.framework-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #7c3aed, #3b82f6);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-left: 1rem;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: #7c3aed;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.3);
}

.version-meta .badge {
    font-size: 0.75rem;
}

.compare-selector {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.comparison-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: 100%;
}

.feature-list {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.feature-item i {
    margin-right: 0.75rem;
    width: 16px;
}

/* Enhanced Modal Styling */
.framework-details h6 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.framework-details ul, .framework-details ol {
    margin-bottom: 0;
}

.framework-details li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.deadline-item {
    background: #f8fafc;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0 8px 8px 0;
}

.deadline-date {
    font-weight: 600;
    color: #dc2626;
    font-size: 0.875rem;
}

.deadline-title {
    font-weight: 600;
    color: #1e293b;
    margin: 0.25rem 0;
}

.deadline-desc {
    color: #64748b;
    font-size: 0.875rem;
}

/* Modal Button Enhancements */
.modal .btn-outline-secondary:hover {
    background-color: #f3f4f6 !important;
    border-color: #d1d5db !important;
    color: #374151 !important;
    transform: translateY(-1px);
}

.modal .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4) !important;
}

.modal .btn {
    transition: all 0.2s ease !important;
}

.modal-content {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.btn-close:hover {
    opacity: 0.75;
    transform: scale(1.1);
    transition: all 0.2s ease;
}
}

.pricing-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

.pricing-card.featured {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

/* Enhanced Timeline Styling */
.version-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.version-details h7 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 0.5rem;
}

.implementation-text, .deadline-text {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0;
    border-left: 3px solid #3b82f6;
}

.deadline-text {
    border-left-color: #ef4444;
}

/* Mobile responsive filters */
@media (max-width: 768px) {
    .framework-filters .row > div {
        margin-bottom: 1rem;
    }
    
    .framework-filters .row > div:last-child {
        margin-bottom: 0;
    }
    
    .active-filters {
        text-align: center;
    }
    
    .filter-tags {
        display: block;
        margin: 0.5rem 0;
    }
}

/* Loading state for filtered results */
.frameworks-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}

.frameworks-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--gray-300);
    border-top: 3px solid var(--primary-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ============================================================================
   PAGE THEMES - Distinct Visual Identities
   ============================================================================ */

/* Theme: ESG Compass - Dark, Green, Modern */
.theme-compass {
    --theme-hero-bg: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    --theme-brand: #22c55e;
    --theme-brand-light: rgba(34, 197, 94, 0.2);
    --theme-brand-border: rgba(34, 197, 94, 0.3);
    --theme-accent: #16a34a;
    --theme-text-light: #d1d5db;
    --theme-text-muted: #9ca3af;
    --theme-radius: var(--radius-lg);
    --theme-shadow: var(--shadow-lg);
}

/* Theme: Unified Navigator - Light Blue, Professional */
.theme-navigator {
    --theme-hero-bg: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --theme-brand: #2563eb;
    --theme-brand-light: rgba(37, 99, 235, 0.1);
    --theme-brand-border: rgba(37, 99, 235, 0.2);
    --theme-accent: #1d4ed8;
    --theme-text-light: #e2e8f0;
    --theme-text-muted: #94a3b8;
    --theme-radius: var(--radius-md);
    --theme-shadow: var(--shadow-md);
}

/* ============================================================================
   HERO COMPONENT - Unified with Theme Support
   ============================================================================ */

.hero {
    background: var(--theme-hero-bg);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero__badge {
    background: var(--theme-brand-light);
    border: 1px solid var(--theme-brand-border);
    color: var(--theme-brand);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1rem;
    color: var(--theme-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero__stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding: 0;
}

.hero__stat {
    text-align: center;
    flex: 1;
}

.hero__stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--theme-brand);
    display: block;
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--theme-text-muted);
    margin-top: 0.25rem;
}

/* ============================================================================
   BUTTON COMPONENTS - Themed
   ============================================================================ */

.btn--primary {
    background: var(--theme-brand);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--theme-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
}

.btn--primary:hover {
    background: var(--theme-accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--theme-shadow);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: var(--theme-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-base);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Framework Comparison Action Buttons */
.comparison-export-btn {
    background: var(--export-success);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
}

.comparison-export-btn:hover {
    background: var(--export-success-hover);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.comparison-export-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.comparison-contact-btn {
    background: transparent;
    color: var(--contact-primary);
    border: 1px solid var(--contact-primary);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
}

.comparison-contact-btn:hover {
    background: var(--contact-primary);
    color: white;
    border-color: var(--contact-primary);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.comparison-contact-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.comparison-action-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* ============================================================================
   CARD COMPONENTS - Unified Framework & Feature Cards
   ============================================================================ */

.card--framework {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--theme-radius);
    padding: 1.25rem;
    height: 100%;
    margin-bottom: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.card--framework:hover {
    transform: translateY(-2px);
    box-shadow: var(--theme-shadow);
}

.card--framework .badge {
    background: var(--theme-brand);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.card--framework .title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.card--framework .description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.card--framework .meta {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.card--feature {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--theme-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.card--feature .icon {
    width: 48px;
    height: 48px;
    background: var(--theme-brand);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.card--feature .title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.card--feature .description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* ============================================================================
   SECTION COMPONENTS
   ============================================================================ */

.section {
    padding: 2rem 0;
}

.section .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

.section__header {
    text-align: center;
    margin-bottom: 2rem;
}

.section__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.section__subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero__title {
        font-size: 3rem;
    }
    
    .hero__subtitle {
        font-size: 1.25rem;
    }
    
    .hero__stats {
        justify-content: flex-start;
        gap: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card--feature {
        text-align: left;
    }
    
    .card--feature .icon {
        margin: 0 0 1rem 0;
    }
}

/* ============================================================================
   THEME-SPECIFIC OVERRIDES FOR VISUAL DISTINCTION
   ============================================================================ */

/* ESG Compass: Glassmorphism effects and green accents */
.theme-compass .card--framework {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-compass .card--feature {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Navigator: Clean professional cards with blue accents */
.theme-navigator .card--framework {
    border-left: 3px solid var(--theme-brand);
}

.theme-navigator .card--feature {
    border-top: 3px solid var(--theme-brand);
}

/* ============================================================================
   MODERN RESPONSIVE LAYOUT SYSTEM - ESG MATIS
   ============================================================================ */

/* Full-bleed sections for edge-to-edge design */
.xg-section {
    width: 100%;
}

.xg-band {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.xg-container {
    max-width: min(1200px, 100% - 2rem);
    margin-inline: auto;
    padding-inline: 1rem;
}

/* Fluid Typography Scale using clamp() */
:root {
    /* Fluid typography scale - scales from mobile to desktop */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.625rem);
    --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --fs-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
    --fs-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
    
    /* Fluid spacing scale */
    --space-fluid-xs: clamp(0.25rem, 0.2rem + 0.25vw, 0.375rem);
    --space-fluid-sm: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
    --space-fluid-md: clamp(1rem, 0.8rem + 1vw, 1.5rem);
    --space-fluid-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    --space-fluid-xl: clamp(2rem, 1.6rem + 2vw, 3rem);
    --space-fluid-2xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
    --space-fluid-3xl: clamp(3rem, 2.4rem + 3vw, 4.5rem);
}

/* Modern Panel System - replacing heavy cards */
.xg-panel {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-fluid-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.xg-panel:hover {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.xg-panel-soft {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-fluid-lg);
}

/* Segmented Control for modern navigation */
.xg-segmented {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-lg);
    padding: 4px;
    gap: 2px;
    width: 100%;
    max-width: 480px;
}

.xg-segmented-item {
    flex: 1;
    padding: var(--space-fluid-sm) var(--space-fluid-md);
    border: none;
    background: transparent;
    border-radius: calc(var(--radius-lg) - 2px);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.xg-segmented-item:hover {
    color: var(--gray-800);
    background: rgba(0, 0, 0, 0.02);
}

.xg-segmented-item.active {
    background: white;
    color: var(--primary-700);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Modern grid system */
.xg-grid {
    display: grid;
    gap: var(--space-fluid-lg);
}

.xg-grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.xg-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Responsive utilities */
.xg-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-fluid-md);
}

.xg-flow > * + * {
    margin-top: var(--space-fluid-md);
}

/* Hide on mobile, show on tablet+ */
@media (max-width: 767px) {
    .xg-hide-mobile { display: none !important; }
}

/* Show on mobile only */
@media (min-width: 768px) {
    .xg-show-mobile { display: none !important; }
}

/* ============================================================================
   HERO BUTTONS - Site-wide CTA styling
   ============================================================================ */

.btn-hero-primary {
    background: var(--green-600);
    border: none;
    color: white;
    padding: var(--space-3) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: var(--green-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    background: white;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: var(--space-3) var(--space-8);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--green-500);
    color: var(--green-600);
    text-decoration: none;
}

.cta-expert-link {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.cta-expert-link:hover {
    color: #22c55e;
    text-decoration: none;
}

/* ========================================
   DASHBOARD - ENTERPRISE STYLING
   ======================================== */

/* Welcome Section */
.dashboard-welcome {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary-600, #3547f0);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dashboard-welcome h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.dashboard-welcome p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}

/* Professional Stats Cards */
.dashboard .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard .stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    position: relative;
    transition: all 0.2s;
}

.dashboard .stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-500, #4c63fb);
    border-radius: 8px 8px 0 0;
}

.dashboard .stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.dashboard .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.dashboard .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Clickable Stats */
.stat-clickable {
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
}

.stat-clickable .stat-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--primary-500);
    opacity: 0;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.stat-clickable:hover .stat-arrow {
    opacity: 1;
    right: 0.75rem;
}

.stat-clickable:hover {
    border-color: var(--primary-300);
}

/* Clickable Metrics */
.metric-clickable {
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s;
}

.metric-clickable:hover {
    background: var(--gray-50);
}

.metric-clickable .metric-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--primary-500);
    opacity: 0;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.metric-clickable:hover .metric-arrow {
    opacity: 1;
    right: 0.75rem;
}

/* Clickable Metric Tiles */
.metric-tile-clickable {
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 0.2s;
}

.metric-tile-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--primary-300);
}

.metric-tile-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--primary-500);
    opacity: 0;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.metric-tile-clickable:hover .metric-tile-arrow {
    opacity: 1;
    right: 0.75rem;
}

/* Professional Card Headers */
.card-header-pro {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.card-title-pro {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.card-subtitle-pro {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.25rem 0 0;
}

/* Chart Panels */
.chart-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.chart-panel-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.75rem;
}

.chart-panel-canvas {
    height: 200px;
    position: relative;
}

.chart-panel-canvas-sm {
    height: 150px;
    position: relative;
}

/* Chart Grid Layouts */
.charts-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.charts-grid-2col-mt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
    transform: translateY(-1px);
    text-decoration: none;
}

.action-btn i {
    font-size: 0.875rem;
    color: var(--primary-600, #3547f0);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 6px;
    margin-top: 1rem;
}

.empty-state-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* Water & Waste Grid */
.metrics-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.metric-value-lg {
    font-size: 24px;
}

/* Insight Icons */
.insight-icon {
    margin-right: 8px;
}

.insight-icon-green {
    color: #107c10;
}

.insight-icon-blue {
    color: #00bcf2;
}

.insight-icon-primary {
    color: #0078d4;
}

.insight-icon-orange {
    color: #ff8c00;
}

.insight-icon-purple {
    color: #5c2d91;
}

/* Activity & Recommendations Grid */
.activity-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f2f1;
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
}

.activity-dot-green {
    background: #107c10;
}

.activity-dot-blue {
    background: #0078d4;
}

.activity-dot-orange {
    background: #ff8c00;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    font-size: 14px;
}

.activity-subtitle {
    font-size: 12px;
    color: #605e5c;
}

/* Recommendations */
.recommendation-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.recommendation-green {
    background: rgba(16, 124, 16, 0.1);
    border-left: 4px solid #107c10;
}

.recommendation-blue {
    background: rgba(0, 120, 212, 0.1);
    border-left: 4px solid #0078d4;
}

.recommendation-purple {
    background: rgba(92, 45, 145, 0.1);
    border-left: 4px solid #5c2d91;
}

.recommendation-title {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.recommendation-title-green {
    color: #107c10;
}

.recommendation-title-blue {
    color: #0078d4;
}

.recommendation-title-purple {
    color: #5c2d91;
}

.recommendation-subtitle {
    font-size: 12px;
    color: #323130;
}

.empty-activity {
    text-align: center;
    padding: 20px;
    color: #605e5c;
}

.empty-activity-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.empty-activity p {
    margin: 0;
}

.empty-activity-link {
    color: #0078d4;
    text-decoration: none;
    font-size: 12px;
}

.card-icon-header {
    margin-right: 8px;
    color: #605e5c;
}

.card-icon-header-orange {
    color: #ff8c00;
}

/* ========================================
   ENTERPRISE DASHBOARD - PROFESSIONAL REDESIGN
   ======================================== */

/* Executive Dashboard Container */
.dashboard-enterprise {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 2rem;
}

/* Enterprise Welcome Banner */
.dashboard-welcome-enterprise {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: none;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.dashboard-welcome-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(76, 99, 251, 0.15), transparent);
    pointer-events: none;
}

.dashboard-welcome-enterprise h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.dashboard-welcome-enterprise p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Executive KPI Cards */
.stats-enterprise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-enterprise {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-enterprise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
    border-radius: 16px 16px 0 0;
}

.stat-enterprise:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    border-color: #cbd5e1;
}

.stat-enterprise-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-enterprise-label {
    font-size: 0.813rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.stat-enterprise-delta {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.stat-delta-positive {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
}

.stat-delta-negative {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* Professional Card System */
.card-enterprise {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.2s;
    margin-bottom: 1.5rem;
}

.card-enterprise:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.card-enterprise-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
}

.card-enterprise-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-enterprise-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 8px;
    color: var(--primary-600);
    font-size: 1rem;
}

.card-enterprise-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.5rem 0 0 0;
    font-weight: 500;
}

/* Chart Containers - Professional */
.chart-container-enterprise {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-title-enterprise {
    font-size: 0.875rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chart-canvas-wrapper {
    height: 280px;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
}

.chart-canvas-wrapper-sm {
    height: 180px;
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
}

/* Charts Grid - Executive Layout */
.charts-grid-enterprise {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .charts-grid-enterprise {
        grid-template-columns: 1fr;
    }
}

/* Metric Tiles */
.metrics-grid-enterprise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.metric-tile-enterprise {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.metric-tile-enterprise:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.metric-tile-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.metric-tile-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.metric-tile-unit {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Empty States - Professional */
.empty-state-enterprise {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    margin-top: 2rem;
}

.empty-state-enterprise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    font-size: 2rem;
}

.empty-state-enterprise h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.empty-state-enterprise p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Action Buttons - Executive Style */
.action-bar-enterprise {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
    flex-wrap: wrap;
}

.action-btn-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.938rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.action-btn-enterprise:hover {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-color: var(--primary-300);
    color: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    text-decoration: none;
}

.action-btn-enterprise i {
    font-size: 1rem;
    color: var(--primary-600);
}

.action-btn-primary-enterprise {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    border-color: var(--primary-600);
    color: #ffffff;
}

.action-btn-primary-enterprise:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    border-color: var(--primary-700);
    color: #ffffff;
}

.action-btn-primary-enterprise i {
    color: #ffffff;
}

/* Insights List - Professional */
.insights-enterprise {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-enterprise {
    padding: 1.25rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-left: 4px solid var(--primary-500);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    transition: all 0.2s;
}

.insight-enterprise:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.insight-enterprise h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.insight-enterprise p {
    margin: 0;
    font-size: 0.938rem;
    color: #475569;
    line-height: 1.6;
}

/* Activity Feed - Enterprise */
.activity-feed-enterprise {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item-enterprise {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.activity-item-enterprise:hover {
    background: #f8fafc;
    border-radius: 8px;
}

.activity-dot-enterprise {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 0.375rem;
    flex-shrink: 0;
}

.activity-content-enterprise {
    flex: 1;
}

.activity-title-enterprise {
    font-weight: 600;
    font-size: 0.938rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.activity-subtitle-enterprise {
    font-size: 0.813rem;
    color: #64748b;
}

/* Glassmorphism Topbar Enhancement */
.topbar-enterprise {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

/* Dashboard Grid Layout */
.dashboard-grid-enterprise {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1280px) {
    .dashboard-grid-enterprise {
        grid-template-columns: 1fr;
    }
}

/* === IVY Assistant Specific Styles === */
.ivy-hero-card {
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
    text-align: center;
}

.ivy-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-6);
}

.ivy-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ivy-result-container {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.ivy-metric-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    text-align: center;
}

.ivy-data-table-container {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-4);
}

.ivy-stat-tile {
    text-align: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.ivy-progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.ivy-progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
}

/* === Additional Utility Classes === */
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

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

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

.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }

.border-t { border-top: 1px solid var(--gray-200); }
.pt-4 { padding-top: var(--space-4); }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.75rem; }

.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }

.text-primary-600 { color: var(--primary-600); }
.text-primary-700 { color: var(--primary-700); }
.text-green-600 { color: var(--green-600); }
.text-blue-600 { color: var(--blue-600); }
.text-warning-500 { color: var(--warning-500); }
.text-warning-600 { color: var(--warning-600); }

.bg-primary-600 { background-color: var(--primary-600); }
.bg-green-600 { background-color: var(--green-600); }
.bg-blue-600 { background-color: var(--blue-600); }
