/* ==========================================================================
   Global Variables & Design System
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@300;400;600&display=swap');

:root {
  /* Colors */
  --bg-color: #0B0B0B;
  --bg-light: #1F1F1F;
  --bg-lighter: #2a3644;
  --primary: #2563EB; /* Automotive Blue */
  --primary-hover: #1D4ED8;
  --text-main: #C0C0C0; /* Metallic Silver */
  --text-light: #ffffff;
  --text-dim: #8A8A8A; /* Steel Gradient start */
  --border-color: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Other */
  --border-radius: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-primary: 0 4px 20px -5px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  margin-bottom: var(--space-sm);
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
  display: block;
  font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background-color: var(--bg-light); }

/* Responsive Adjustments */
@media (max-width: 768px) {
  :root {
    --space-md: 1.25rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
  }

  p {
    font-size: 0.95rem;
  }
}
