/*
Theme Name: ProActive ESM Theme
Theme URI: https://proactive-esm.com
Author: ProActive Development Team
Author URI: https://proactive-esm.com
Description: Executive Strategy Management 2.0 - Corporate Modern with Glassmorphic accents
Version: 1.0.0
License: GPL v2 or later
Text Domain: proactive-theme
*/

/* ================================
   CSS Variables - ProActive ESM Design System
   ================================ */
:root {
  /* Surface Colors */
  --surface: #f8f9ff;
  --surface-dim: #cbdbf5;
  --surface-bright: #f8f9ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #eff4ff;
  --surface-container: #e5eeff;
  --surface-container-high: #dce9ff;
  --surface-container-highest: #d3e4fe;
  
  /* On Surface Colors */
  --on-surface: #0b1c30;
  --on-surface-variant: #45474c;
  --inverse-surface: #213145;
  --inverse-on-surface: #eaf1ff;
  
  /* Outline Colors */
  --outline: #75777d;
  --outline-variant: #c5c6cd;
  --surface-tint: #545f74;
  
  /* Primary Colors - Deep Space */
  --deep-space: #091426;
  --primary: #091426;
  --on-primary: #ffffff;
  --primary-container: #111c2e;
  --on-primary-container: #7a849b;
  --inverse-primary: #bcc7df;
  
  /* Secondary Colors - Strategic Blue */
  --secondary: #0058be;
  --on-secondary: #ffffff;
  --secondary-container: #5b94fd;
  --on-secondary-container: #002c66;
  
  /* Tertiary Colors */
  --tertiary: #000000;
  --on-tertiary: #ffffff;
  --tertiary-container: #00201c;
  --on-tertiary-container: #009485;
  
  /* Error Colors */
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;
  
  /* Fixed Colors */
  --primary-fixed: #d8e2fc;
  --primary-fixed-dim: #bcc7df;
  --on-primary-fixed: #111c2e;
  --on-primary-fixed-variant: #3d475b;
  --secondary-fixed: #d8e2ff;
  --secondary-fixed-dim: #adc6ff;
  --on-secondary-fixed: #001a42;
  --on-secondary-fixed-variant: #004395;
  --tertiary-fixed: #62fae3;
  --tertiary-fixed-dim: #3cddc7;
  --on-tertiary-fixed: #00201c;
  --on-tertiary-fixed-variant: #005047;
  
  /* Background */
  --background: #f8f9ff;
  --on-background: #0b1c30;
  --surface-variant: #d3e4fe;
  
  /* Semantic Colors */
  --surface-dark: #091426;
  --ai-accent: #2DD4BF;
  --deep-space: #091426;
  --strategy-positive: #10B981;
  --border-subtle: #E2E8F0;
  --micro-dot: #d3e4fe;
  
  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Rounded Corners */
  --rounded-sm: 0.25rem;
  --rounded: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-xl: 1.5rem;
  --rounded-full: 9999px;
  
  /* Spacing */
  --container-max: 1440px;
  --margin-desktop: 40px;
  --margin-mobile: 16px;
  --gutter: 24px;
  --stack-sm: 8px;
  --stack-md: 16px;
  --stack-lg: 32px;
  --section-padding: 80px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-ai-glow: 0 0 20px rgba(45, 212, 191, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-surface);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================
   Typography
   ================================ */
/* Material Symbols */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
  margin-bottom: var(--stack-md);
}

h1 { 
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
}

h2 { 
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.01em;
}

h3 { 
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

h4 { 
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: var(--stack-md);
  color: var(--on-surface-variant);
}

p.body-lg {
  font-size: 18px;
  line-height: 28px;
}

p.body-sm {
  font-size: 14px;
  line-height: 20px;
}

/* Label Caps - for navigation and overlines */
.label-caps {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mono Data - for technical data */
.mono-data {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
}

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

a:hover {
  color: var(--on-secondary-container);
}

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

/* ================================
   Layout
   ================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--margin-desktop);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--margin-mobile);
  }
  
  h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  h2 {
    font-size: 24px;
    line-height: 32px;
  }
}

/* ================================
   Micro Dot Grid Background
   ================================ */
.micro-dot-grid {
  background-image: radial-gradient(circle, var(--micro-dot) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ================================
   Glassmorphism
   ================================ */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   Header
   ================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(248, 249, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  text-decoration: none;
}

.hero-title-container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-logo .logo-accent {
  color: var(--ai-accent);
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--stack-lg);
}

.main-navigation a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  text-decoration: none;
  padding: var(--stack-sm) 0;
  position: relative;
  transition: var(--transition);
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--on-surface);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.main-navigation a.active::after,
.main-navigation a:hover::after {
  transform: scaleX(1);
}

.main-navigation a.active {
  color: var(--on-surface);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--stack-sm);
  color: var(--primary);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 768px) {
  .main-navigation {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(248, 249, 255, 0.95);
    flex-direction: column;
    padding: var(--stack-md);
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-subtle);
  }
  
  .main-navigation.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .main-navigation a {
    padding: var(--stack-md);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--surface-container);
    color: var(--on-surface-variant);
  }
  
  .main-navigation a:hover,
  .main-navigation a.active {
    color: var(--on-surface);
  }
  
  .menu-toggle {
    display: block;
  }
}

/* ================================
   Buttons
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--stack-sm);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  border: none;
  border-radius: var(--rounded);
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--on-secondary);
}

.btn-secondary:hover {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface-container);
}

.btn-ai {
  background: var(--ai-accent);
  color: var(--on-tertiary-fixed);
  box-shadow: var(--shadow-ai-glow);
}

.btn-ai:hover {
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.3);
}

/* ================================
   Cards - ESM Bento Style
   ================================ */
.card {
  background: var(--surface-container-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
  transition: var(--transition);
}

.card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
}

.card-dark {
  background: var(--surface-dark);
  color: var(--inverse-on-surface);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
}

.card-dark h3,
.card-dark h4 {
  color: var(--inverse-on-surface);
}

.card-ai {
  background: var(--surface-dark);
  color: var(--inverse-on-surface);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
  box-shadow: var(--shadow-ai-glow);
}

/* ================================
   Status Chips
   ================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--rounded-full);
}

.chip-ai {
  background: rgba(45, 212, 191, 0.1);
  color: var(--ai-accent);
}

.chip-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--strategy-positive);
}

.chip-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.chip-error {
  background: var(--error-container);
  color: var(--error);
}

/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  min-height: 90vh;
  padding: calc(72px + var(--section-padding)) 0 var(--section-padding);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--surface-container-low) 0%, transparent 50%, var(--surface-container-high) 100%);
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, var(--micro-dot) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: var(--stack-lg);
}

.hero-title .accent {
  color: var(--ai-accent);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
  margin-bottom: var(--stack-lg);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: var(--stack-md);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
}

/* ================================
   Sections
   ================================ */
.section {
  padding: var(--section-padding) 0;
}

.section-surface {
  background: var(--surface);
}

.section-container-low {
  background: var(--surface-container-low);
}

.section-dark {
  background: var(--surface-dark);
  color: var(--inverse-on-surface);
}

.section-dark h2,
.section-dark h3 {
  color: var(--inverse-on-surface);
}

.section-dark p {
  color: rgba(234, 241, 255, 0.8);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--section-padding);
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.01em;
  margin-bottom: var(--stack-md);
}

.section-description {
  font-size: 18px;
  line-height: 28px;
  color: var(--on-surface-variant);
}

/* ================================
   Grid Layouts
   ================================ */
.grid {
  display: grid;
  gap: var(--gutter);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

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

/* ================================
   Bento Grid
   ================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.bento-item {
  background: var(--surface-container-lowest);
  border: 1px solid var(--border-subtle);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
  transition: var(--transition);
}

.bento-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.bento-item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item-wide {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-item-large,
  .bento-item-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-item,
  .bento-item-large,
  .bento-item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ================================
   Input Fields
   ================================ */
.input-field {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 20px;
  color: var(--on-surface);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--rounded);
  transition: var(--transition);
}

.input-field:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary-fixed-dim);
}

.input-field::placeholder {
  color: var(--outline);
}

/* ================================
   Footer
   ================================ */
.site-footer {
  background: var(--surface-dark);
  color: var(--inverse-on-surface);
  padding: var(--section-padding) 0 var(--stack-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gutter);
  margin-bottom: var(--section-padding);
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--inverse-on-surface);
  margin-bottom: var(--stack-md);
}

.footer-brand .logo-accent {
  color: var(--ai-accent);
}

.footer-brand p {
  color: rgba(234, 241, 255, 0.7);
  font-size: 14px;
  line-height: 20px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--inverse-on-surface);
  margin-bottom: var(--stack-md);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--stack-sm);
}

.footer-column a {
  color: rgba(234, 241, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--ai-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--stack-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(234, 241, 255, 0.5);
  font-size: 12px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--stack-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--stack-md);
    text-align: center;
  }
}

/* ================================
   Content Styles
   ================================ */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: var(--section-padding);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: var(--stack-md);
  padding-left: var(--stack-lg);
}

.entry-content li {
  margin-bottom: var(--stack-sm);
  color: var(--on-surface-variant);
}

/* ================================
   404 Page
   ================================ */
.error-404 {
  text-align: center;
  padding: var(--section-padding) 0;
}

.error-code {
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 700;
  color: var(--ai-accent);
  line-height: 1;
  margin-bottom: var(--stack-md);
}

/* ================================
   Utility Classes
   ================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--stack-sm); }
.mt-md { margin-top: var(--stack-md); }
.mt-lg { margin-top: var(--stack-lg); }

.mb-sm { margin-bottom: var(--stack-sm); }
.mb-md { margin-bottom: var(--stack-md); }
.mb-lg { margin-bottom: var(--stack-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ================================
   Hero — Grid & Images
   ================================ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.hero-title-container {
  margin-bottom: var(--stack-md);
}

.hero-logo-mark {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.hero-img-wrap {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -20px;
  background: rgba(45, 212, 191, 0.1);
  filter: blur(60px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-dashboard-img {
  border-radius: var(--rounded-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 10;
  width: 100%;
  height: auto;
}

/* ================================
   Overview Section
   ================================ */
.section-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  color: var(--on-surface-variant);
  letter-spacing: 0.15em;
  margin-bottom: var(--stack-md);
  display: block;
  font-size: 14px;
}

.overview-img-wrap {
  margin-top: var(--section-padding);
  position: relative;
}

.overview-glow {
  position: absolute;
  inset: -8px;
  background: rgba(0, 88, 190, 0.04);
  filter: blur(40px);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.7s;
  pointer-events: none;
}

.overview-img-wrap:hover .overview-glow {
  opacity: 1;
}

.overview-dashboard-img {
  position: relative;
  z-index: 10;
  border-radius: var(--rounded-xl);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  border: 1px solid rgba(226, 232, 240, 0.5);
  width: 100%;
  height: auto;
  transition: box-shadow 0.7s;
}

/* ================================
   Section Utilities
   ================================ */
.section-title--centered {
  text-align: center;
  margin-bottom: var(--section-padding);
}

.section-header-center {
  text-align: center;
  margin-bottom: calc(var(--section-padding) * 0.75);
}

.section-title--on-primary {
  color: var(--on-primary);
  margin-bottom: var(--stack-md);
}

.section-subtitle-dark {
  color: var(--primary-fixed-dim);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.section-body {
  font-size: 16px;
  color: var(--on-surface-variant);
}

.section-body-lg {
  font-size: 18px;
  color: var(--on-surface-variant);
  margin-bottom: var(--stack-lg);
}

.section-summary {
  font-size: 16px;
  color: var(--on-surface-variant);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.section-divider {
  margin: var(--stack-lg) 0;
  border: 0;
  border-top: 1px solid var(--border-subtle);
}

.section-intro-header {
  margin-bottom: var(--section-padding);
}

/* ================================
   Reality Check Cards
   ================================ */
.card-icon {
  margin-bottom: var(--stack-md);
}

.icon-card {
  font-size: 40px !important;
  color: var(--secondary);
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  line-height: 1 !important;
}

.card-body-text {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

/* ================================
   Strategy Challenges (Stats)
   ================================ */
.grid--text-center {
  text-align: center;
}

.stat-item {
  padding: var(--stack-lg);
}

.stat-number {
  font-size: 56px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: var(--stack-sm);
}

.stat-label {
  color: var(--primary-fixed-dim);
  margin-bottom: var(--stack-sm);
}

.stat-description {
  color: var(--on-primary-container);
  font-size: 14px;
  padding: 0 var(--stack-md);
}

.stat-icon {
  margin-bottom: var(--stack-sm);
}

.icon-stat {
  font-size: 64px !important;
  color: #ffffff;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
  line-height: 1 !important;
}

/* ================================
   ESM 2.0 Evolution
   ================================ */
.esm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--stack-lg);
}

.esm-card-legacy {
  background: var(--surface-container-low);
  padding: var(--stack-lg);
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(0,0,0,0.1);
}

.esm-card-modern {
  background: var(--primary);
  padding: var(--stack-lg);
  border-radius: var(--rounded-xl);
  border: 1px solid rgba(45, 212, 191, 0.3);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.15);
  position: relative;
  overflow: hidden;
}

.esm-card-header {
  display: flex;
  align-items: center;
  gap: var(--stack-md);
  margin-bottom: var(--stack-lg);
}

.esm-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.esm-icon-circle--legacy { background: rgba(0,0,0,0.1); }
.esm-icon-circle--modern { background: rgba(45, 212, 191, 0.2); }

.esm-card-title { margin: 0; }
.esm-card-title--legacy { color: var(--on-surface-variant); }
.esm-card-title--modern { color: #ffffff; }

.esm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.esm-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--stack-sm);
}

.esm-list-item--legacy { color: var(--on-surface-variant); }
.esm-list-item--modern { color: #ffffff; }

.icon-remove {
  font-size: 22px;
  color: var(--error);
  margin-top: 1px;
  flex-shrink: 0;
}

.icon-check {
  font-size: 22px;
  color: #10B981;
  margin-top: 1px;
  flex-shrink: 0;
}

.icon-esm-legacy { font-size: 24px; color: var(--on-surface-variant); }
.icon-esm-modern { font-size: 24px; color: #2DD4BF; }

/* ================================
   Leadership / Methodology
   ================================ */
.methodology-card {
  background: #ffffff;
  padding: var(--section-padding);
  border-radius: var(--rounded-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.methodology-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--stack-lg);
  padding-bottom: var(--stack-md);
  border-bottom: 4px solid var(--border-subtle);
  text-align: center;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gutter);
}

.methodology-col { padding: 0 var(--stack-md); }
.methodology-col--divided {
  padding: 0 var(--stack-md);
  border-left: 1px solid rgba(197,198,205,0.3);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--rounded);
  background: rgba(0,88,190,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--stack-md);
}

.icon-feature { font-size: 24px; color: #0058be; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: var(--stack-sm); }
.feature-body { font-size: 14px; color: var(--on-surface-variant); margin: 0; }

/* ================================
   Governance & Mindset
   ================================ */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: center;
}

.governance-items {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.governance-item {
  display: flex;
  align-items: flex-start;
  gap: var(--stack-md);
}

.governance-icon-wrap {
  padding: var(--stack-sm);
  background: rgba(45, 55, 72, 0.1);
  border-radius: var(--rounded);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-governance { color: #2D3748; font-size: 24px; }
.governance-item-title { font-weight: 600; margin: 0; }
.governance-item-body { font-size: 14px; color: var(--on-surface-variant); margin: 0; }

.governance-img-card {
  background: #ffffff;
  padding: 8px;
  border-radius: var(--rounded-xl);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  margin-top: 96px;
}

.governance-img {
  border-radius: var(--rounded-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  position: relative;
  z-index: 10;
  display: block;
}

.governance-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9,20,38,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.governance-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  color: #ffffff;
}

.governance-caption-title { font-size: 24px; font-weight: 600; margin: 0; }
.governance-caption-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  margin: 0;
}

/* ================================
   CTA / Form
   ================================ */
.section-cta {
  background: var(--surface-container-highest);
  padding: calc(var(--section-padding) * 1.5) 0;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--on-surface-variant);
  margin-bottom: var(--section-padding);
}

.form-card {
  background: #ffffff;
  padding: var(--stack-lg);
  border-radius: var(--rounded-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
}

.form-field--full {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  grid-column: span 2;
}

.form-submit { grid-column: span 2; }
.btn-full { width: 100%; padding: var(--stack-md); }

/* ================================
   Footer (Proactive Layout)
   ================================ */
.site-footer {
  background: var(--primary);
  color: var(--on-primary);
}

.footer-container {
  padding: var(--section-padding) 0 var(--stack-lg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--stack-lg);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--stack-md);
}

.footer-logo-img { height: 40px; width: auto; }
.footer-logo-text { display: none; font-size: 24px; font-weight: 700; color: #ffffff; }

.footer-hq {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--on-primary-container);
}

.footer-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 6px;
}

.footer-company-name { font-weight: 600; color: #ffffff; margin: 0; }
.footer-address-line { margin: 0; }

.footer-link {
  color: var(--on-primary-container);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}
.footer-link:hover { color: #ffffff; }
.footer-link--mt { margin-top: 4px; }

.footer-map-wrap { display: flex; justify-content: center; }

.footer-map {
  width: 100%;
  height: 260px;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-map-iframe { border: 0; display: block; width: 100%; height: 100%; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  justify-self: end;
  align-items: flex-start;
}

.footer-nav-link {
  color: var(--on-primary-container);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav-link:hover { color: #ffffff; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--stack-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--stack-md);
}

.footer-copyright { color: var(--on-primary-container); font-size: 14px; margin: 0; }

/* ================================
   Header Logo
   ================================ */
.header-logo-img { height: 32px; width: auto; }
.header-logo-text { display: none; font-size: 20px; font-weight: 700; color: var(--primary); }
