@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Color Palette */
  --color-primary: #14213D;       /* Navy */
  --color-primary-rgb: 20, 33, 61;
  --color-accent: #FCA311;        /* Gold */
  --color-accent-rgb: 252, 163, 17;
  --color-white: #FFFFFF;
  --color-light: #F8F9FA;         /* Premium Ultra-Light */
  --color-gray-light: #E5E5E5;    /* Light Gray */
  --color-gray-medium: #8D99AE;   /* Muted gray-blue */
  --color-gray-dark: #2B2D42;     /* Dark Charcoal-Navy for subtle contrasts */
  --color-black: #000000;
  --color-black-rgb: 0, 0, 0;

  /* Typography */
  --font-headings: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing System (Fluid & Premium whitespace) */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Layout */
  --container-max-width: 1280px;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Shadows & Glassmorphism */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(20, 33, 61, 0.08);
  --shadow-lg: 0 20px 40px rgba(20, 33, 61, 0.12);
  --shadow-accent: 0 10px 30px rgba(252, 163, 17, 0.2);
  --glass-bg: rgba(20, 33, 61, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & typography helpers */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-gray-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  margin: 0; /* Reset default browser margins */
}

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

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

/* Global Premium Utilities */
.section-padding {
  padding: var(--spacing-xxl) 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: var(--spacing-xl) 0;
  }
}

.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Premium Whitespace & Layout structures */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

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

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

/* Industrial Grid Overlay Background */
.industrial-grid {
  position: relative;
}

.industrial-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(20, 33, 61, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 33, 61, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Blueprint Accents */
.blueprint-accent {
  position: relative;
}

.blueprint-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}
