/* CSS Reset and Normalize */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* CSS Custom Properties */
:root {
  --primary: #1A2B3C;
  --primary-dark: #0f1a24;
  --accent: #4A90D9;
  --accent-hover: #357abd;
  --bg-primary: #E8ECEF;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #2C3E50;
  --text-secondary: #555;
  --border-color: #B0C4DE;
  --light-steel: #B0C4DE;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --container-width: 1200px;
  --section-padding: 4rem 0;
  --border-radius: 8px;
  --shadow-light: 0 4px 20px rgba(26, 43, 60, 0.08);
  --shadow-medium: 0 8px 30px rgba(26, 43, 60, 0.12);
  --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.auto-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-wrapper {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

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

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 26px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  body {
    font-size: 16px;
  }
  
  .auto-container {
    padding: 0 1rem;
  }
  
  .section-wrapper {
    padding: 2rem 0;
  }
}

/* Accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Focus styles */
*:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}