/* Modern Icon System for Universal AI Governance Platform */
.modern-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    line-height: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Icon Sizes */
.icon-xs { width: 12px; height: 12px; font-size: 12px; }
.icon-sm { width: 16px; height: 16px; font-size: 16px; }
.icon-md { width: 20px; height: 20px; font-size: 20px; }
.icon-lg { width: 24px; height: 24px; font-size: 24px; }
.icon-xl { width: 32px; height: 32px; font-size: 32px; }
.icon-2xl { width: 48px; height: 48px; font-size: 48px; }
.icon-3xl { width: 64px; height: 64px; font-size: 64px; }

/* SVG Icon Styles */
.svg-icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Feature Card Icons */
.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 24px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.feature-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
}

/* Navigation Icons */
.nav-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 16px;
}

/* Button Icons */
.btn-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    font-size: 14px;
}

/* Hero Section Icons */
.hero-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

/* Dashboard Tab Icons */
.tab-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

/* Status Icons */
.status-icon {
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 4px;
}

/* Modern Icon Colors */
.icon-primary { color: #3b82f6; }
.icon-secondary { color: #6b7280; }
.icon-success { color: #10b981; }
.icon-warning { color: #f59e0b; }
.icon-danger { color: #ef4444; }
.icon-info { color: #06b6d4; }
.icon-purple { color: #8b5cf6; }
.icon-indigo { color: #6366f1; }
.icon-pink { color: #ec4899; }
.icon-green { color: #22c55e; }

/* Icon Backgrounds */
.icon-bg-primary { background-color: rgba(59, 130, 246, 0.1); }
.icon-bg-secondary { background-color: rgba(107, 114, 128, 0.1); }
.icon-bg-success { background-color: rgba(16, 185, 129, 0.1); }
.icon-bg-warning { background-color: rgba(245, 158, 11, 0.1); }
.icon-bg-danger { background-color: rgba(239, 68, 68, 0.1); }

/* Animated Icons */
.icon-spin {
    animation: spin 1s linear infinite;
}

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

.icon-bounce {
    animation: bounce 1s infinite;
}

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

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

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

/* Responsive Icon Scaling */
@media (max-width: 768px) {
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
}