:root {
  --primary: #0F172A;
  --primary-dark: #080c17;
  --accent: #22C55E;
  --accent-hover: #1b9d4b;
  --bg-primary: #020617;
  --bg-secondary: #010516;
  --bg-card: #fff;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --border-color: #334155;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --financial-success: #22C55E;
  --financial-warning: #F59E0B;
  --financial-danger: #EF4444;
  --financial-neutral: #6B7280;
  --dashboard-bg: #0F172A;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.auto-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col {
  flex: 1;
  padding: 0 12px;
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.333%; }
.col-3 { width: 25%; }

@media (max-width: 768px) {
  .col-6, .col-4, .col-3 {
    width: 100%;
    margin-bottom: 24px;
  }
}

.section-padding {
  padding: 80px 0;
}

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

.text-white {
  color: #fff;
}

.bg-primary {
  background: var(--bg-primary);
}

.bg-secondary {
  background: var(--bg-secondary);
}

.bg-white {
  background: #fff;
  color: var(--text-primary);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, #22C55E, #16A34A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
}

p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.05);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.financial-metric {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1.5em;
}

.profit {
  color: var(--financial-success);
}

.loss {
  color: var(--financial-danger);
}

.neutral {
  color: var(--financial-neutral);
}

.trend-up::before {
  content: '↗';
  color: var(--financial-success);
  margin-right: 4px;
}

.trend-down::before {
  content: '↘';
  color: var(--financial-danger);
  margin-right: 4px;
}

.glass-morphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.count-animation {
  animation: countUp 0.8s ease-out;
}

@keyframes pulse-success {
  0%, 100% { background-color: var(--financial-success); }
  50% { background-color: var(--accent-hover); }
}

.alert-pulse {
  animation: pulse-success 2s infinite;
}