/* Main CSS for Quantoo - Corporate Landing */

/* 1. Variables & Reset */
:root {
  /* Colors */
  --color-bg: #FFFFFF;
  --color-text-primary: #111111;
  --color-text-secondary: #555555;
  --color-text-tertiary: #888888;
  --color-accent: #5AC6F3; /* Professional Tech Cyan */
  --color-accent-hover: #4AB6E3;
  --color-surface: #F9F9F9;
  --color-surface-hover: #F0F0F0;
  --color-border: #EEEEEE;

  /* Spacing */
  --spacing-xs: 0.5rem;   /* 8px */
  --spacing-sm: 1rem;     /* 16px */
  --spacing-md: 2rem;     /* 32px */
  --spacing-lg: 4rem;     /* 64px */
  --spacing-xl: 8rem;     /* 128px */
  --spacing-xxl: 12rem;   /* 192px */

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --text-xs: 0.875rem;
  --text-sm: 1rem;
  --text-base: 1.125rem;
  --text-lg: 1.5rem;
  --text-xl: 2.25rem;
  --text-2xl: 3.5rem;
  --text-3xl: 4.5rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* 2. Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-wide {
  width: 95%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-light { color: var(--color-text-secondary); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-md { margin-bottom: var(--spacing-md); }

/* Utility additions for refinement */
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.bg-black { background-color: #111111; }
.bg-translucent { background: rgba(255,255,255,0.1); }
.mw-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
}

p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* 8. Utility for images */
.img-constrained {
    max-height: 60px;
    width: auto;
}
