/* Acceler8-ai Design System v3.0 - Blue/Navy Workflow Systems */

:root {
  /* ========== V3 PALETTE ========== */
  --color-acceler8-blue: #1D4ED8;
  --color-acceler8-blue-dark: #1E3A8A;
  --color-acceler8-blue-bright: #3B82F6;
  --color-systems-navy: #0F172A;
  --color-workflow-cyan: #0E7490;
  --color-soft-workflow-blue: #DBEAFE;
  --color-pale-system-blue: #EFF6FF;
  --color-cool-off-white: #F4F7FB;

  /* Neutral Palette */
  --color-black: #111111;
  --color-charcoal: #333333;
  --color-gray-mid: #777777;
  --color-gray-light: #D9D9D9;
  --color-white-warm: #F4F7FB;
  --color-white: #FFFFFF;

  /* Legacy colors (deprecated, kept for backwards compatibility) */
  --color-blueprint-ivory: #F4F7FB;
  --color-executive-charcoal: #111111;
  --color-workflow-cobalt: #1D4ED8;
  --color-integration-teal: #0E7490;
  --color-revenue-copper: #1E3A8A;
  --color-soft-system-gray: #EFF6FF;
  --color-warm-stone: #F4F7FB;
  --color-linework-taupe: #D9D9D9;
  --color-slate-gray: #777777;

  /* Semantic Variables (v2.0) */
  --bg-primary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4F7FB;
  --bg-dark: #0F172A;
  --text-primary: #111111;
  --text-secondary: #333333;
  --text-tertiary: #777777;
  --text-light: #FFFFFF;
  --text-on-red: #FFFFFF;
  --accent-primary: #1D4ED8;
  --accent-secondary: #0F172A;
  --accent-warm: #0E7490;
  --border-color: #D9D9D9;
  --border-emphasis: #111111;
  --border-red: #1D4ED8;
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, 0.05);
  --shadow-md: 0 4px 6px rgba(17, 17, 17, 0.1);
  --shadow-lg: 0 10px 15px rgba(17, 17, 17, 0.15);

  /* Typography (v2.0 - Bain Inspired) */
  --font-family-base: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-family-heading: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-family-editorial: Georgia, "Times New Roman", serif;
  --font-family-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--color-cool-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography (v2.0 - Roboto Condensed primary) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.9rem, 5.9vw, 5.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  line-height: 1.85;
}

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-secondary);
  text-decoration-thickness: 0.12em;
}

/* Container */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
}

/* Sections */
section {
  padding: clamp(3rem, 5vw, 5rem) 0;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.scroll-fade-in {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.in-view {
  opacity: 1;
}

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

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-secondary);
}

.mt {
  margin-top: var(--space-lg);
}

.mb {
  margin-bottom: var(--space-lg);
}
