/* ============================================================
   SMB CATALYST - World-Class Website Design System
   Inspired by: McKinsey, BCG, Bain, Kearney
   Brand Colors from Company Profile PDF
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors - EXACT from Company Profile Presentation */
  --navy: #1A4F8A;           /* CATALYST text color - primary blue */
  --navy-deep: #123762;      /* Deeper navy for hero/dark sections */
  --navy-light: #2565A3;     /* Lighter navy for gradients */
  --charcoal: #636363;       /* SMB text color */
  --orange: #EFA030;         /* Accent arrow in logo "A" */
  --orange-light: #F4BA5E;   /* Lighter orange for hover */
  --orange-dark: #D48A1E;    /* Darker orange for active */
  --teal: #0E8A7B;           /* Secondary accent from palette */
  --teal-light: #3AA898;     /* Lighter teal */

  /* Legacy aliases for backward compatibility */
  --gold: var(--orange);
  --gold-light: var(--orange-light);
  --gold-dark: var(--orange-dark);

  /* Neutrals */
  --white: #FFFFFF;
  --off-white: #FAFBFC;
  --gray-50: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Type Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Widths */
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-wide: 1440px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, var(--text-7xl)); }
h2 { font-size: clamp(2rem, 4vw, var(--text-5xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-700);
}

.lead {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: var(--gray-600);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--wide {
  max-width: var(--max-width-wide);
}

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

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

.section--navy {
  background: var(--navy-deep);
  color: var(--white);
}

.section--navy > .container > .section-header h2,
.section--navy > .container > .section-header h3 {
  color: var(--white);
}

.section--navy > .container > .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.section--navy .card {
  color: var(--gray-700);
}

.section--navy .card h4 {
  color: var(--navy);
}

.section--navy .card .card__text {
  color: var(--gray-600);
}

.section--gray {
  background: var(--gray-50);
}

.section--gradient {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
}

.section--gradient > .container > .section-header h2,
.section--gradient > .container > .section-header h3 {
  color: var(--white);
}

.section--gradient .card {
  color: var(--gray-700);
}

.section--gradient .card__title {
  color: var(--navy);
}

.section--gradient .card__text {
  color: var(--gray-600);
}

/* ---------- Section Header ---------- */
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  display: block;
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--gray-600);
  max-width: 720px;
  line-height: 1.6;
}

.section--navy .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  margin-bottom: var(--space-16);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Gold Divider ---------- */
.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-6) 0;
  border: none;
}

.section-header--center .divider-gold {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo-img {
  height: 44px;
  width: auto;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__logo-text span {
  color: var(--orange);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: var(--navy);
  font-weight: 600;
}

.nav__link--active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: all var(--transition-fast);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn--gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--white:hover {
  background: var(--off-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 18px 40px;
  font-size: var(--text-base);
}

.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.btn-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-16) var(--space-8);
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  color: var(--white);
  max-width: 800px;
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero - Page variant (shorter) */
.hero--page {
  min-height: auto;
  padding-top: 72px;
}

.hero--page .hero__inner {
  padding: var(--space-20) var(--space-8) var(--space-16);
}

.hero--page::after {
  display: none;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stats-bar__item {
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--gray-200);
}

.stats-bar__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.stats-bar__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-100);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card--bordered-top {
  border-top: 3px solid var(--navy);
}

.card--bordered-top-gold {
  border-top: 3px solid var(--gold);
}

.card--bordered-top-teal {
  border-top: 3px solid var(--teal);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--white);
  font-size: var(--text-2xl);
}

.card__icon--gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
}

.card__icon--teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
}

.card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--navy);
  margin-top: var(--space-4);
}

.card__tag--gold {
  background: rgba(212, 168, 67, 0.12);
  color: var(--gold-dark);
}

/* ---------- Service Cards (larger) ---------- */
.service-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-8) var(--space-10);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.service-card__content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: var(--navy-deep);
}

.service-card__content p {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin-bottom: 0;
}

.service-card__metric {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  text-align: center;
  min-width: 180px;
}

.service-card__metric-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.service-card__metric-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--space-1);
}

/* ---------- Pain Point Cards ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.pain-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.pain-card__text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.pain-card__stat {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-100);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* ---------- Comparison Table ---------- */
.comparison {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.comparison__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.comparison__header-cell {
  padding: var(--space-5) var(--space-8);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison__header-cell--them {
  background: var(--gray-200);
  color: var(--gray-600);
}

.comparison__header-cell--us {
  background: var(--navy);
  color: var(--white);
}

.comparison__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--gray-100);
}

.comparison__cell {
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-base);
}

.comparison__cell--them {
  background: var(--gray-50);
  color: var(--gray-500);
}

.comparison__cell--us {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Testimonial ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.testimonial__quote-mark {
  font-size: var(--text-5xl);
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-2);
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: var(--text-base);
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  flex: 1;
  margin-bottom: var(--space-6);
}

.testimonial__divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: var(--space-4);
}

.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: var(--text-base);
}

.testimonial__role {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

/* ---------- Phase / Process Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}

.timeline__phase {
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--white);
}

.timeline__number--navy { background: var(--navy); }
.timeline__number--teal { background: var(--teal); }
.timeline__number--gold { background: var(--gold); color: var(--navy-deep); }
.timeline__number--green { background: #27AE60; }

.timeline__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.timeline__items {
  list-style: none;
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.8;
}

.timeline__duration {
  display: inline-block;
  margin-top: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--navy);
}

/* ---------- Ecosystem Cards ---------- */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.ecosystem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--navy);
  transition: all var(--transition-base);
}

.ecosystem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.ecosystem-card--navy { border-top-color: var(--navy); }
.ecosystem-card--teal { border-top-color: var(--teal); }
.ecosystem-card--purple { border-top-color: #7C3AED; }
.ecosystem-card--green { border-top-color: #27AE60; }

.ecosystem-card__name {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: var(--space-1);
}

.ecosystem-card__type {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: var(--space-4);
}

.ecosystem-card__desc {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------- Case Study Cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.case-card__header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.case-card__company {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
}

.case-card__industry {
  font-size: var(--text-xs);
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 100px;
}

.case-card__body {
  padding: 0 var(--space-6);
}

.case-card__text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.6;
}

.case-card__result {
  margin: var(--space-6) var(--space-6);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-xl);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__logo-img {
  height: 48px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.footer__brand-name span {
  color: var(--orange);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
}

.footer__tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
}

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ---------- Industry Icons Grid ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.industry-item {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.industry-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-item__icon {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.industry-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--gray-700);
}

/* ---------- Founder Quote Banner ---------- */
.quote-banner {
  background: var(--navy);
  padding: var(--space-10) var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
}

.quote-banner__text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--white);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

.quote-banner__text em {
  color: var(--gold);
  font-style: italic;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 100ms; }
.stagger-children > *:nth-child(3) { transition-delay: 200ms; }
.stagger-children > *:nth-child(4) { transition-delay: 300ms; }
.stagger-children > *:nth-child(5) { transition-delay: 400ms; }
.stagger-children > *:nth-child(6) { transition-delay: 500ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline::before { display: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-24: 4rem;
    --space-32: 5rem;
  }

  .nav__links { display: none; }
  .nav__toggle { display: block; }

  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .hero__inner {
    padding: var(--space-12) var(--space-6);
  }

  .stats-bar {
    margin-top: -40px;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .stats-bar__item:not(:last-child)::after {
    display: none;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .testimonial-grid,
  .case-grid,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .comparison__header,
  .comparison__row {
    grid-template-columns: 1fr 1fr;
  }

  .comparison__cell {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }

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

@media (max-width: 480px) {
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
  }

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