/* Design System - Win3 Engineering */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-base: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  
  --accent-primary: #00BFFF;
  --accent-secondary: #0EA5E9;
  --accent-hover: #38BDF8;
  
  --text-heading: #F8FAFC;
  --text-body: #E2E8F0;
  --text-muted: #94A3B8;
  
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 191, 255, 0.3);
  
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-bg-hover: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 3rem;      /* 48px */
  --text-5xl: 4rem;      /* 64px */
  
  /* Spacing */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */
  --space-3xl: 6rem;     /* 96px */
  
  /* Border Radius */
  --radius-sm: 0.5rem;   /* 8px */
  --radius-md: 1rem;     /* 16px */
  --radius-lg: 1.5rem;   /* 24px */
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 4px 16px rgba(0, 191, 255, 0.3);
  --shadow-accent-lg: 0 6px 24px rgba(0, 191, 255, 0.4);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container Widths */
  --container-max: 1280px;
  --container-content: 1120px;
  --container-narrow: 640px;
}

/* Base Styles */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-body);
  background-color: var(--bg-base);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  line-height: 1.7;
}

/* Utility Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-accent {
  color: var(--accent-primary);
}

.text-muted {
  color: var(--text-muted);
}

/* Responsive Typography */
@media (max-width: 1024px) {
  :root {
    --text-5xl: 3rem;    /* 48px */
    --text-4xl: 2.5rem;  /* 40px */
    --text-3xl: 1.75rem; /* 28px */
  }
}

@media (max-width: 640px) {
  :root {
    --text-5xl: 2.5rem;  /* 40px */
    --text-4xl: 2rem;    /* 32px */
    --text-3xl: 1.5rem;  /* 24px */
    --space-3xl: 4rem;   /* 64px */
    --space-2xl: 3rem;   /* 48px */
  }
  
  .container {
    padding: 0 var(--space-md);
  }
}
