/* Universal AI Governance Platform - Modern Color Theme */
:root {
    /* New Color Theme Variables */
    --primary: #2563eb;        /* Blue 600 - Primary buttons, icons, highlights */
    --dark: #0f172a;          /* Slate 900 - Page backgrounds */
    --surface: #1e293b;       /* Slate 800 - Card backgrounds */
    --text: #f8fafc;          /* Slate 50 - Primary text */
    --muted: #94a3b8;         /* Slate 400 - Secondary/support text */
    --accent-hover: #3b82f6;  /* Blue 500 - CTA/button hover states */
    --black: #000000;         /* Logo and contrast when needed */
    
    /* Additional supporting colors */
    --success: #10b981;       /* Green 500 */
    --warning: #f59e0b;       /* Amber 500 */
    --error: #ef4444;         /* Red 500 */
    --info: #3b82f6;          /* Blue 500 */
}

/* Modern Dark Theme Base */
body {
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Modern Gradient Backgrounds */
.modern-gradient {
    background: linear-gradient(135deg, var(--dark) 0%, var(--surface) 50%, var(--dark) 100%);
}

.modern-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-hover) 100%);
}

/* Modern Card Styling */
.modern-card {
    background-color: var(--surface);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Modern Button Styling */
.modern-btn {
    background-color: var(--primary);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.modern-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.modern-btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-btn-outline:hover {
    background-color: var(--primary);
    color: var(--text);
    transform: translateY(-1px);
}

/* Modern Text Styling */
.modern-text {
    color: var(--text);
}

.modern-text-muted {
    color: var(--muted);
}

.modern-text-primary {
    color: var(--primary);
}

/* Modern Hero Section */
.modern-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--surface) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
}

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

/* Modern Feature Cards */
.modern-feature-card {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    z-index: 1;
}

.modern-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

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

/* Modern Icon Styling */
.modern-icon {
    color: var(--primary);
    font-size: 2rem;
}

.modern-icon-large {
    color: var(--primary);
    font-size: 3rem;
}

/* Modern Status Indicators */
.modern-status-active {
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.modern-status-warning {
    background-color: var(--warning);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.modern-status-error {
    background-color: var(--error);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Modern Navigation */
.modern-nav {
    background-color: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.modern-nav-item {
    color: var(--muted);
    transition: color 0.3s ease;
}

.modern-nav-item:hover {
    color: var(--text);
}

.modern-nav-item.active {
    color: var(--primary);
}

/* Modern Footer */
.modern-footer {
    background-color: var(--surface);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* Animation Classes */
.modern-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.modern-slide-up {
    animation: slideUp 0.8s ease-out;
}

.modern-pulse {
    animation: pulse 2s infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-card {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .modern-feature-card {
        padding: 1.5rem;
    }
    
    .modern-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Modern Form Elements */
.modern-input {
    background-color: var(--surface);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: var(--text);
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

.modern-input::placeholder {
    color: var(--muted);
}