/* ========================================
   Enterprise Theme for Al Nisf Equipment
   Professional Business Styling
   ======================================== */

/* CSS Variables for Enterprise Theme */
:root {
    /* Primary Brand Colors - Website1 Orange Scheme */
    --primary: #ffb12b;
    --primary-dark: #e09e1a;
    --primary-light: #ffbe3f;
    --primary-gradient: linear-gradient(135deg, #ffb12b 0%, #e09e1a 100%);
    
    /* Secondary Colors */
    --secondary: #ff6b35;
    --secondary-dark: #e55a2b;
    --secondary-light: #ff8c5e;
    
    /* Enterprise Colors */
    --enterprise-orange: #ffb12b;
    --enterprise-steel: #4a5568;
    --enterprise-silver: #e2e8f0;
    --enterprise-gold: #d4a574;
    
    /* Status Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #ffb12b;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Shadows */
    --shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    /* Animations */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    font-feature-settings: 'kern' 1, 'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Enterprise Header */
.enterprise-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.enterprise-top-bar {
    background: var(--primary-gradient);
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.enterprise-nav {
    padding: 1rem 0;
}

.enterprise-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.enterprise-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

.enterprise-nav .nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.enterprise-nav .nav-link:hover::before {
    width: 80%;
}

.enterprise-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(42, 78, 124, 0.1) 100%);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: none;
    animation: slideDown var(--transition-base);
    border: 1px solid var(--gray-200);
    margin-top: 0.5rem;
}

.dropdown:hover .mega-menu {
    display: block;
}

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

.mega-menu-section {
    padding: 1rem;
}

.mega-menu-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mega-menu-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.mega-menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--gray-700);
    margin-bottom: 0.25rem;
}

.mega-menu-item:hover {
    background: var(--gray-50);
    color: var(--primary);
    transform: translateX(4px);
}

.mega-menu-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-right: 0.75rem;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.mega-menu-item:hover i {
    background: var(--primary);
    color: white;
}

/* Enterprise Cards */
.enterprise-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
}

.enterprise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

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

.enterprise-card-header {
    padding: 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.enterprise-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.enterprise-card-title i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

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

/* Enterprise Buttons */
.btn-enterprise {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.875rem;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-enterprise::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-enterprise:hover::before {
    width: 300px;
    height: 300px;
}

.btn-enterprise-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 6px rgba(30, 58, 95, 0.2);
}

.btn-enterprise-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 58, 95, 0.3);
    color: white;
}

.btn-enterprise-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-enterprise-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-enterprise-success {
    background: linear-gradient(135deg, var(--success) 0%, #0ea5e9 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.btn-enterprise-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #f97316 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
}

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

.enterprise-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.enterprise-form-label .required {
    color: var(--danger);
    margin-left: 0.25rem;
}

.enterprise-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: white;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.enterprise-form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
    background: var(--gray-50);
}

.enterprise-form-control.is-invalid {
    border-color: var(--danger);
}

.enterprise-form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.enterprise-form-text {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.5rem;
}

.enterprise-form-error {
    font-size: 0.875rem;
    color: var(--danger);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Enterprise Tables */
.enterprise-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.enterprise-table thead {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
}

.enterprise-table th {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
    text-align: left;
    white-space: nowrap;
}

.enterprise-table td {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.enterprise-table tbody tr {
    transition: all var(--transition-fast);
}

.enterprise-table tbody tr:hover {
    background: var(--gray-50);
}

.enterprise-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.badge-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-enterprise-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-enterprise-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-enterprise-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-enterprise-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Enterprise Stats */
.enterprise-stat {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.enterprise-stat::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100px;
    background: var(--primary-gradient);
    opacity: 0.1;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.enterprise-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.enterprise-stat:hover::before {
    transform: scale(1.5);
}

.enterprise-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.enterprise-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.enterprise-stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.enterprise-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.enterprise-stat-change.positive {
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.enterprise-stat-change.negative {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Charts Container */
.enterprise-chart {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.enterprise-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.enterprise-chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
}

.enterprise-chart-actions {
    display: flex;
    gap: 0.5rem;
}

.enterprise-chart-action {
    padding: 0.5rem 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.enterprise-chart-action:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.enterprise-chart-action.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Loading States */
.enterprise-skeleton {
    background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-100) 50%, var(--gray-200) 100%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

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

.enterprise-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Overlays */
.enterprise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn var(--transition-base);
}

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

/* Modals */
.enterprise-modal {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    animation: slideUp var(--transition-base);
}

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

.enterprise-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.enterprise-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
}

.enterprise-modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.enterprise-modal-close:hover {
    background: var(--danger);
    color: white;
}

.enterprise-modal-body {
    padding: 1.5rem;
}

.enterprise-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Alerts */
.enterprise-alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid;
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
    animation: slideInRight var(--transition-base);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.enterprise-alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
    color: var(--success);
}

.enterprise-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--warning);
    color: var(--warning);
}

.enterprise-alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger);
    color: var(--danger);
}

.enterprise-alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--info);
    color: var(--info);
}

.enterprise-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.enterprise-alert-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.enterprise-alert-message {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Timeline */
.enterprise-timeline {
    position: relative;
    padding-left: 2rem;
}

.enterprise-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.enterprise-timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.enterprise-timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.enterprise-timeline-item.completed::before {
    background: var(--primary);
}

.enterprise-timeline-date {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.5rem;
}

.enterprise-timeline-content {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

/* Progress Bars */
.enterprise-progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.enterprise-progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.enterprise-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

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

/* Tooltips */
.enterprise-tooltip {
    position: relative;
    display: inline-block;
}

.enterprise-tooltip-content {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-900);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.enterprise-tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--gray-900);
}

.enterprise-tooltip:hover .enterprise-tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* Breadcrumbs */
.enterprise-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    padding: 1rem 0;
}

.enterprise-breadcrumb-item {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
}

.enterprise-breadcrumb-item:hover {
    color: var(--primary);
}

.enterprise-breadcrumb-separator {
    margin: 0 0.75rem;
    color: var(--gray-400);
}

.enterprise-breadcrumb-item.active {
    color: var(--gray-900);
    font-weight: 600;
}

/* Tabs */
.enterprise-tabs {
    border-bottom: 2px solid var(--gray-200);
    display: flex;
    gap: 2rem;
}

.enterprise-tab {
    padding: 1rem 0;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.enterprise-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.enterprise-tab:hover {
    color: var(--primary);
}

.enterprise-tab.active {
    color: var(--primary);
}

.enterprise-tab.active::after {
    transform: scaleX(1);
}

/* Footer */
.enterprise-footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #000000 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

.enterprise-footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100"><path fill="%23111827" d="M0,50 C360,100 720,0 1440,50 L1440,100 L0,100 Z"/></svg>');
    background-size: cover;
}

.enterprise-footer-section {
    margin-bottom: 3rem;
}

.enterprise-footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--gray-300);
}

.enterprise-footer-link {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all var(--transition-fast);
}

.enterprise-footer-link:hover {
    color: white;
    transform: translateX(4px);
}

.enterprise-footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .enterprise-nav .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .enterprise-stat-value {
        font-size: 1.5rem;
    }
    
    .enterprise-modal {
        width: 95%;
        margin: 1rem;
    }
    
    .enterprise-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}