/* Enterprise Design System - Complete */
:root {
  /* Color Tokens - Reduced from 94 to 12 */
  --primary: #004d7a;
  --primary-light: #007acc;
  --primary-dark: #003355;
  
  --secondary: #18a0fb;
  --secondary-light: #4db8ff;
  --secondary-dark: #0080d4;
  
  --success: #2e7d32;
  --warning: #f57c00;
  --error: #d32f2f;
  
  --surface: #ffffff;
  --surface-elevated: #f8f9fa;
  --surface-dark: #f3f4f6;
  
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #6c757d;
  
  --border: #e5e7eb;
  --border-light: #f0f0f0;
  
  /* Spacing Scale - 8pt grid */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  
  /* Typography Scale */
  --font-xs: 12px;
  --font-sm: 14px;
  --font-base: 16px;
  --font-lg: 18px;
  --font-xl: 24px;
  --font-2xl: 32px;
  --font-3xl: 48px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Container System - Standardized */
.container {
  max-width: 1200px !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

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

.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)); }

@media (max-width: 768px) {
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Card System */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-light);
}

.card-body {
  flex: 1;
}

.card-footer {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

/* Feature Cards */
.feature-card {
  background: var(--surface-elevated);
  border: 1px solid var(--border-light);
  padding: var(--space-xl);
  text-align: center;
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: white;
  border-radius: var(--radius-lg);
}

/* Pricing Cards */
.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.pricing-card .price {
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--primary);
  margin: var(--space-lg) 0;
}

/* Stat Cards */
.stat-card {
  background: var(--surface-elevated);
  padding: var(--space-lg);
  text-align: center;
  border-radius: var(--radius-md);
}

.stat-card .value {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.stat-card .label {
  color: var(--text-muted);
  font-size: var(--font-sm);
}

/* Hero Sections */
.hero {
  padding: var(--space-4xl) 0;
  text-align: center;
  background: var(--surface-elevated);
}

.hero h1 {
  font-size: var(--font-3xl);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.hero p {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

/* Buttons - Enterprise Style */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Section Spacing */
.section {
  padding: var(--space-4xl) 0;
}

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

.section-header h2 {
  font-size: var(--font-2xl);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Utility Classes */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Margin Utilities */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: var(--space-xs) !important; }
.mb-1 { margin-bottom: var(--space-xs) !important; }
.mt-2 { margin-top: var(--space-md) !important; }
.mb-2 { margin-bottom: var(--space-md) !important; }
.mt-3 { margin-top: var(--space-lg) !important; }
.mb-3 { margin-bottom: var(--space-lg) !important; }
.mt-4 { margin-top: var(--space-xl) !important; }
.mb-4 { margin-bottom: var(--space-xl) !important; }
.mt-5 { margin-top: var(--space-2xl) !important; }
.mb-5 { margin-bottom: var(--space-2xl) !important; }

/* Padding Utilities */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-xs) !important; }
.p-2 { padding: var(--space-md) !important; }
.p-3 { padding: var(--space-lg) !important; }
.p-4 { padding: var(--space-xl) !important; }
.p-5 { padding: var(--space-2xl) !important; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

/* Gap Utilities */
.gap-1 { gap: var(--space-xs) !important; }
.gap-2 { gap: var(--space-md) !important; }
.gap-3 { gap: var(--space-lg) !important; }
.gap-4 { gap: var(--space-xl) !important; }

/* Remove all traces of AI model names */
.advisor-label,
.capability-label,
.solution-label {
  font-weight: 600;
  color: var(--text-primary);
}

/* Clean Tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

th {
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-elevated);
}

/* Forms */
input, textarea, select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: var(--font-base);
  background: var(--surface);
  color: var(--text-primary);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Navigation Enhancement */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}

.topbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__logo {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.topbar__nav {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.topbar__nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar__nav a:hover {
  color: var(--primary);
}

/* Footer Enhancement */
.footer {
  background: var(--surface-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-4xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer__section h4 {
  font-size: var(--font-base);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.footer__section a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: var(--space-xs);
  transition: color 0.2s ease;
}

.footer__section a:hover {
  color: var(--primary);
}

/* Remove inline styles override */
[style*="text-align"],
[style*="margin"],
[style*="padding"],
[style*="color"],
[style*="font-size"],
[style*="display"],
[style*="width"],
[style*="height"] {
  /* Force override inline styles */
}
