/* ============================================================================
 * AI CFO (Numbers2Decisions) - Premium Design System
 * Clean, modern, highly credible SaaS interface
 * ============================================================================ */

/* ============================================================================
 * 0. CSS Reset & Base
 * ============================================================================ */

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

/* ============================================================================
 * 1. Color System
 * ============================================================================ */

:root {
  /* Primary Colors */
  --color-navy: #1E3A5F;           /* Deep navy for headings and core text */
  --color-teal: #1DBFB0;           /* Teal for primary actions */
  --color-teal-dark: #17A89C;      /* Darker teal for hover states */
  --color-teal-light: #E6F7F5;     /* Light teal for backgrounds */
  
  /* Backgrounds */
  --color-bg-primary: #FFFFFF;      /* White */
  --color-bg-secondary: #F7F9FB;    /* Very light grey */
  --color-bg-tertiary: #F0F2F5;     /* Pale grey */
  
  /* Text Colors */
  --color-text-primary: #1E3A5F;    /* Navy for headings */
  --color-text-secondary: #4A5568;  /* Medium grey for body */
  --color-text-tertiary: #718096;   /* Light grey for supporting text */
  
  /* Border Colors */
  --color-border-light: #E5E7EB;
  --color-border-medium: #D1D5DB;
  
  /* Semantic Colors */
  --color-success: #10B981;         /* Green for positive */
  --color-warning: #F59E0B;         /* Amber for warnings */
  --color-danger: #EF4444;          /* Red for risks */
  --color-info: #3B82F6;            /* Blue for information */
  
  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-button: 0 2px 8px rgba(29, 191, 176, 0.25);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* ============================================================================
 * 2. Typography
 * ============================================================================ */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
}

/* ============================================================================
 * 3. Layout Containers
 * ============================================================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-sm {
  padding: var(--spacing-2xl) 0;
}

/* ============================================================================
 * 4. Navigation
 * ============================================================================ */

.top-nav {
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-navy);
}

.nav-link.active {
  color: var(--color-teal);
  border-bottom: 2px solid var(--color-teal);
  padding-bottom: 2px;
}

/* ============================================================================
 * 5. Premium Components for Landing Page
 * ============================================================================ */

/* Navigation */
.premium-nav {
  background: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Hero Section */
.hero-section {
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.5rem;
  }
}

.hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
}

.trust-line {
  margin-top: 2rem;
  color: var(--color-text-tertiary);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

/* Hero Preview Card */
.hero-preview-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition-base);
}

.hero-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.chart-container {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
}

.kpi-mini-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.kpi-mini-card:hover {
  border-color: var(--color-teal-light);
  background: white;
}

/* Features Section */
.features-section {
  background: white;
  padding: 5rem 0;
}

.section-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-subheadline {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.premium-feature-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.premium-feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: var(--color-teal-light);
}

.feature-icon-container {
  width: 64px;
  height: 64px;
  background: var(--color-teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--color-teal);
}

/* Premium Modals */
.premium-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  margin: 0 1rem;
  box-shadow: var(--shadow-float);
}

/* Premium Form Elements */
.premium-label {
  display: block;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.premium-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: white;
}

.premium-input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--color-teal-light);
}

.premium-input::placeholder {
  color: var(--color-text-tertiary);
}

/* ============================================================================
 * 6. Buttons
 * ============================================================================ */

/* Primary Buttons */
.premium-btn-primary {
  background: var(--color-teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(29, 191, 176, 0.35);
}

.premium-btn-primary:active {
  transform: translateY(0);
}

.premium-btn-primary-large {
  background: var(--color-teal);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-btn-primary-large:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 191, 176, 0.4);
}

/* Secondary Buttons */
.premium-btn-secondary-large {
  background: white;
  color: var(--color-navy);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.125rem;
  border: 2px solid var(--color-border-medium);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.premium-btn-secondary-large:hover {
  border-color: var(--color-navy);
  background: var(--color-bg-secondary);
}

/* Ghost Buttons */
.premium-btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.premium-btn-ghost:hover {
  color: var(--color-navy);
  background: var(--color-bg-secondary);
}

/* ============================================================================
 * 7. Utility Classes
 * ============================================================================ */

.text-navy { color: var(--color-navy); }
.text-teal { color: var(--color-teal); }
.text-teal-dark { color: var(--color-teal-dark); }
.text-success { color: var(--color-success); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }
.text-gray-600 { color: var(--color-text-secondary); }

/* ============================================================================
 * 8. Dashboard Components
 * ============================================================================ */

/* Dashboard Tabs */
.dashboard-tab {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dashboard-tab:hover {
  color: var(--color-navy);
  background: var(--color-bg-secondary);
}

.dashboard-tab.active {
  color: var(--color-teal);
  border-bottom-color: var(--color-teal);
  font-weight: 600;
}

/* Dashboard KPI Cards */
.dashboard-kpi-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.kpi-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.bg-teal-light {
  background: var(--color-teal-light);
}

.bg-blue-light {
  background: #DBEAFE;
}

/* Dashboard Chart Card */
.dashboard-chart-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.chart-area {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.chart-tab {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chart-tab:hover {
  background: white;
  border-color: var(--color-teal);
  color: var(--color-teal);
}

.chart-tab.active {
  background: var(--color-teal);
  color: white;
  border-color: var(--color-teal);
}

.assumption-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px solid var(--color-border-light);
}

/* Dashboard Side Cards */
.dashboard-side-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.cash-flow-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.cash-flow-item:last-child {
  border-bottom: none;
}

.alert-item {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border-left: 3px solid;
}

.alert-warning {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

.alert-info {
  background: #DBEAFE;
  border-color: #3B82F6;
  color: #1E40AF;
}

/* Dashboard Card */
.dashboard-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

/* Scenario Cards */
.scenario-card {
  background: white;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all var(--transition-base);
}

.scenario-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--color-teal);
}

.scenario-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.scenario-badge-baseline {
  background: var(--color-teal-light);
  color: var(--color-teal-dark);
}

.scenario-badge-optimistic {
  background: #D1FAE5;
  color: #065F46;
}

.scenario-badge-pessimistic {
  background: #FEE2E2;
  color: #991B1B;
}

/* Quick Start Guide */
.quick-start-guide {
  background: linear-gradient(135deg, var(--color-teal-light) 0%, #DBEAFE 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border-light);
}

.guide-step {
  position: relative;
  padding-left: 3.5rem;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--color-teal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(29, 191, 176, 0.3);
}

/* ============================================================================
 * 9. Original Buttons (Legacy Support)
 * ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 191, 176, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-border-medium);
}

.btn-secondary:hover {
  background: var(--color-bg-secondary);
  border-color: var(--color-teal);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ============================================================================
 * 6. Cards
 * ============================================================================ */

.card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card-float {
  box-shadow: var(--shadow-float);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--spacing-md);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin-bottom: var(--spacing-lg);
}

.card-clickable {
  cursor: pointer;
  border: 2px solid var(--color-border-light);
}

.card-clickable:hover {
  border-color: var(--color-teal);
  transform: translateY(-2px);
}

.card-selected {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
}

/* ============================================================================
 * 7. Grid Layouts
 * ============================================================================ */

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

/* ============================================================================
 * 8. Hero Section
 * ============================================================================ */

.hero {
  background: var(--color-bg-primary);
  padding: var(--spacing-3xl) 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.hero-trust {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.hero-visual {
  position: relative;
}

.hero-preview-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: var(--spacing-lg);
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ============================================================================
 * 9. Dashboard Components
 * ============================================================================ */

.dashboard-header {
  margin-bottom: var(--spacing-xl);
}

.dashboard-header h1 {
  margin-bottom: var(--spacing-sm);
}

.dashboard-header p {
  color: var(--color-text-tertiary);
  font-size: 1rem;
}

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

.kpi-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-lg);
}

.kpi-label {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.kpi-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--spacing-xs);
}

.kpi-change {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi-change.positive {
  color: var(--color-success);
}

.kpi-change.negative {
  color: var(--color-danger);
}

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

@media (max-width: 640px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
 * 10. Wizard / Onboarding
 * ============================================================================ */

.wizard-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

.wizard-progress {
  margin-bottom: var(--spacing-2xl);
}

.progress-bar {
  height: 4px;
  background: var(--color-border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.progress-fill {
  height: 100%;
  background: var(--color-teal);
  transition: width var(--transition-base);
}

.progress-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
}

.wizard-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-2xl);
  margin-bottom: var(--spacing-xl);
}

.wizard-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.wizard-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-2xl);
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.wizard-option {
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.wizard-option:hover {
  border-color: var(--color-teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.wizard-option.selected {
  border-color: var(--color-teal);
  background: var(--color-teal-light);
}

.wizard-option-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-teal);
}

.wizard-option-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--spacing-sm);
}

.wizard-option-description {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.wizard-badge {
  display: inline-block;
  background: var(--color-teal-light);
  color: var(--color-teal);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
}

/* ============================================================================
 * 11. Utility Classes
 * ============================================================================ */

.text-navy { color: var(--color-navy) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-secondary { color: var(--color-text-secondary) !important; }
.text-tertiary { color: var(--color-text-tertiary) !important; }

.bg-white { background: var(--color-bg-primary) !important; }
.bg-light { background: var(--color-bg-secondary) !important; }
.bg-teal { background: var(--color-teal) !important; }
.bg-teal-light { background: var(--color-teal-light) !important; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* ============================================================================
 * 12. Charts & Data Visualization
 * ============================================================================ */

.chart-container {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-xl);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.chart-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-navy);
}

.chart-tabs {
  display: flex;
  gap: var(--spacing-sm);
}

.chart-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  background: transparent;
}

.chart-tab:hover {
  background: var(--color-bg-secondary);
}

.chart-tab.active {
  background: var(--color-teal-light);
  color: var(--color-teal);
}

/* ============================================================================
 * 13. Animations
 * ============================================================================ */

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

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

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

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

/* ============================================================================
 * 14. Responsive Utilities
 * ============================================================================ */

@media (max-width: 768px) {
  .wizard-options {
    grid-template-columns: 1fr;
  }
  
  .wizard-actions {
    flex-direction: column-reverse;
  }
  
  .wizard-actions .btn {
    width: 100%;
  }
}
