:root {
  /* Color Palette */
  --primary-blue: #1C4E80;
  --light-blue: #E8F1FB;
  --orange-accent: #FF7A45;
  --bg-light: #F7F9FC;
  --text-dark: #1A1A1A;
  --text-muted: #6E7D85;
  --white: #FFFFFF;
  --shadow-soft: rgba(28, 78, 128, 0.08);
  --shadow-medium: rgba(28, 78, 128, 0.12);
  
  /* Typography */
  --font-heading: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevent horizontal scroll glitches */
}

:where(h1, h2, h3, h4, h5, h6, p, li) {
  text-wrap: balance; /* Reduce orphan words */
  widows: 2;
  orphans: 2;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(247, 249, 252, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 241, 251, 0.5);
  overflow: visible;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  gap: 2rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}


nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

/* Header Prototype Preview */
.header-prototype {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 520px;
  aspect-ratio: 16 / 10;
  z-index: 2;
  pointer-events: auto;
  overflow: visible;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
  visibility: visible !important;
  opacity: 1 !important;
}

/* Harmony Orbs Behind Prototype */
.prototype-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

.prototype-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, 
    rgba(28, 78, 128, 0.9) 0%, 
    rgba(59, 130, 246, 0.8) 50%,
    rgba(232, 241, 251, 0.6) 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(-80px, -60px);
  animation: prototypeOrbHarmony1 8s ease-in-out infinite;
}

.prototype-orb.orb-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, 
    rgba(255, 122, 69, 0.8) 0%,
    rgba(255, 107, 46, 0.9) 50%,
    rgba(255, 122, 69, 0.7) 100%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translate(70px, 50px);
  animation: prototypeOrbHarmony2 8s ease-in-out infinite;
}

@keyframes prototypeOrbHarmony1 {
  0%, 100% { 
    transform: translate(-50%, -50%) translate(-80px, -60px) scale(1);
  }
  25% { 
    transform: translate(-50%, -50%) translate(-100px, -40px) scale(1.1);
  }
  50% { 
    transform: translate(-50%, -50%) translate(-60px, -80px) scale(1.15);
  }
  75% { 
    transform: translate(-50%, -50%) translate(-90px, -70px) scale(1.05);
  }
}

@keyframes prototypeOrbHarmony2 {
  0%, 100% { 
    transform: translate(-50%, -50%) translate(70px, 50px) scale(1);
  }
  25% { 
    transform: translate(-50%, -50%) translate(90px, 30px) scale(1.1);
  }
  50% { 
    transform: translate(-50%, -50%) translate(50px, 70px) scale(1.15);
  }
  75% { 
    transform: translate(-50%, -50%) translate(80px, 60px) scale(1.05);
  }
}

.prototype-screens {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.16);
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.04);
  visibility: visible;
}

.prototype-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.prototype-screen.active {
  opacity: 1 !important;
  transform: translateX(0);
  visibility: visible !important;
}

.prototype-screen:first-child {
  opacity: 1 !important;
  transform: translateX(0);
  visibility: visible !important;
}

.prototype-screen.exiting {
  opacity: 0;
  transform: translateX(-40px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .header-prototype {
    width: 440px;
  }
}

@media (max-width: 1024px) {
  .header-prototype {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .header-prototype {
    display: flex;
    width: 100%;
    max-width: 320px;
    margin: 2rem auto;
  }

  .prototype-orb.orb-1 {
    width: 200px;
    height: 200px;
    filter: blur(60px);
  }

  .prototype-orb.orb-2 {
    width: 180px;
    height: 180px;
    filter: blur(60px);
  }
}

/* Buttons */
.btn {
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--orange-accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.25);
  border: 2px solid transparent; /* Match border width of hero-link for consistent height */
  box-sizing: border-box; /* Ensure border is included in height calculation */
}

.btn-primary:hover {
  background: #FF6B2E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 69, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 92vh; /* slightly shorter so quote card can peek */
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  isolation: isolate;
}

/* During snap phase: hero stays fixed as background layer, content scrolls over it */
.hero-section.hero-snapping {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 0;
  height: 100vh;
  will-change: transform;
  transform: translateZ(0); /* Force GPU acceleration */
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure quote card and sections below scroll over the fixed hero */
/* Alternating section backgrounds: white and light grey */
/* White sections */
.crisis-section,
.solution-section,
.mission-section {
  position: relative;
  z-index: 10;
  background: var(--white); /* Off-white */
  overflow: hidden; /* Prevent hero from peeking through gaps */
}

/* Light grey sections (alternating) */
.problems-section,
.proof-section {
  position: relative;
  z-index: 10;
  background: var(--bg-light); /* Light grey for alternating pattern */
  overflow: hidden;
}

/* Default section background (white) */
.section:not(.urgency-quote-section):not(.crisis-section):not(.problems-section):not(.solution-section):not(.partners-section):not(.proof-section):not(.mission-section) {
  position: relative;
  z-index: 10;
  background: var(--white);
  overflow: hidden;
}

/* Urgency quote section needs special overflow to show arrow */
.urgency-quote-section {
  position: relative !important;
  z-index: 10;
  background: radial-gradient(circle at top left, #E6EEF9 0%, #FFFFFF 55%, #FFEDE2 100%);
  overflow-x: hidden !important; /* Prevent horizontal overflow */
  overflow-y: visible !important; /* Allow arrow above to be visible */
  overflow: visible !important; /* Override .section overflow: hidden to show arrow */
}


@media (min-width: 769px) {
  .hero-section {
    min-height: 92vh;
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem;
  align-items: center;
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

/* Ambient gradient mesh inside hero */
.hero-mesh {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 15% 20%, #E6EEF9 0%, rgba(230, 238, 249, 0) 55%),
    radial-gradient(circle at 80% 25%, #BFD4F4 0%, rgba(191, 212, 244, 0) 60%),
    radial-gradient(circle at 30% 80%, #FFD9C8 0%, rgba(255, 217, 200, 0) 60%);
  filter: blur(100px);
  opacity: 0.16;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Subtle on-load motion for hero elements */
.hero-headline,
.hero-subheadline,
.hero-ctas {
  opacity: 0;
  transform: translateY(12px);
}

@keyframes heroFadeRise {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-headline {
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeRise 0.75s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0s;
}

.hero-subheadline {
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeRise 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0.05s;
}

.hero-ctas {
  opacity: 0;
  transform: translateY(12px);
  animation: heroFadeRise 0.65s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0.1s;
}

.hero-urgency-quote {
  animation-delay: 0.15s; /* uses heroUrgencyIn keyframe for exact motion */
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 500px;
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateY(0);
  animation: heroFloat 3s ease-in-out infinite 1s;
  will-change: transform;
}

.hero-visual .ai-blob {
  position: relative;
  width: 400px;
  height: 400px;
}

.particle-field {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(28, 78, 128, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 122, 69, 0.02) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  z-index: 0;
  animation: orbFloat 12s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, 
    rgba(28, 78, 128, 0.3) 0%, 
    rgba(59, 130, 246, 0.25) 50%,
    rgba(232, 241, 251, 0.2) 100%);
  top: -150px;
  right: -150px;
  animation-name: orbFloat1;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, 
    rgba(255, 122, 69, 0.25) 0%,
    rgba(255, 107, 46, 0.3) 50%,
    rgba(255, 122, 69, 0.2) 100%);
  bottom: -100px;
  left: -100px;
  animation-name: orbFloat2;
  animation-delay: 3s;
}

@keyframes orbFloat1 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
  }
  25% { 
    transform: translate(80px, -60px) scale(1.15) rotate(90deg); 
  }
  50% { 
    transform: translate(120px, -100px) scale(1.2) rotate(180deg); 
  }
  75% { 
    transform: translate(60px, -80px) scale(1.1) rotate(270deg); 
  }
}

@keyframes orbFloat2 {
  0%, 100% { 
    transform: translate(0, 0) scale(1) rotate(0deg); 
  }
  25% { 
    transform: translate(-70px, 50px) scale(1.15) rotate(-90deg); 
  }
  50% { 
    transform: translate(-100px, 80px) scale(1.2) rotate(-180deg); 
  }
  75% { 
    transform: translate(-50px, 60px) scale(1.1) rotate(-270deg); 
  }
}


.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-highlight {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #1C4E80, #3B82F6, #FF7A45);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroHighlightShimmer 2.5s linear infinite alternate;
}

/* hero-bottom-gradient removed per updated design */

.quote-scroll-hint {
  position: absolute !important;
  left: 50% !important;
  top: -50px !important; /* Move up more to ensure visibility above hero */
  transform: translateX(-50%) !important;
  z-index: 100 !important; /* Very high z-index to ensure it's above everything */
  pointer-events: none;
  animation: scrollHintPulse 2s ease-in-out infinite;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
}

.scroll-chevron {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  border-right: 3px solid rgba(15, 23, 42, 0.6) !important; /* Darker and thicker for visibility */
  border-bottom: 3px solid rgba(15, 23, 42, 0.6) !important;
  border-radius: 0 0 4px 0; /* Curved edges to match component curves */
  transform: rotate(225deg); /* Rotated to point upward */
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
}

@keyframes scrollHintPulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(-50%) translateY(-6px); /* Move upward */
    opacity: 0.9;
  }
}

.hero-visual {
  animation: heroFloat 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes heroHighlightShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.highlight {
  color: var(--primary-blue);
  position: relative;
  white-space: nowrap;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  orphans: 2;
  widows: 2;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-link {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.arrow-desktop {
  display: inline-block;
  margin-left: 0.5rem;
  width: 14px;
  height: 2.5px;
  background: currentColor;
  position: relative;
  vertical-align: middle;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.arrow-desktop::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2.5px solid currentColor;
  border-top: 2.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
}

.hero-link {
  transition: color 0.3s ease;
}

.hero-link:hover .arrow-desktop {
  transform: translateX(3px);
}

.hero-link:hover {
  color: var(--orange-accent);
}

/* Partners Section */
.partners-section {
  background: var(--bg-light);
  padding: 3rem 0;
}

.partners-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  overflow: visible;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  height: 45px;
  padding: 0 0.5rem;
  flex-shrink: 0;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.logo-item img {
  max-height: 35px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: center;
}

/* Slightly soften crisis quote sizing so it follows the hero quote */
@media (min-width: 769px) {
  .crisis-section .section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  }
}

/* Crisis Section */
.crisis-section {
  background: var(--white);
  overflow: hidden; /* Prevent hero from peeking through */
  position: relative;
  z-index: 10;
  margin-top: 0 !important; /* Remove any top margin to prevent gaps */
  padding-top: 0 !important; /* Start immediately after quote section */
  /* Ensure background extends fully to prevent any gaps */
  background-clip: padding-box;
}

.crisis-section .container {
  padding-top: 4rem; /* Internal padding for content, not section padding */
}

/* Urgency Quote Section (between hero and crisis) */
.urgency-quote-section {
  position: relative;
  background: radial-gradient(circle at top left, #E6EEF9 0%, #FFFFFF 55%, #FFEDE2 100%);
  color: var(--text-dark);
  padding: 4rem 1.5rem 4rem;
  min-height: 40vh; /* ensure card body is tall enough at pause */
  border-radius: 28px 28px 0 0;
  margin-top: -1.25rem; /* Increased peek from -0.75rem to -1.25rem */
  margin-bottom: 0 !important; /* Remove any bottom margin to prevent gaps */
  z-index: 10; /* Match other sections to ensure it's above hero */
  overflow-x: hidden; /* Prevent horizontal overflow */
  overflow-y: visible; /* Allow arrow above to be visible */
  /* Subtle shadow only along the top edge, so the bottom blends into next sections */
  box-shadow: 0 -14px 32px rgba(15, 23, 42, 0.14);
  /* Ensure no gaps - extend background to cover any potential gaps */
  background-clip: padding-box;
}

.urgency-quote-inner {
  max-width: 720px;        /* slightly narrower like the Figma card */
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;     /* stack quote and subtext vertically */
  align-items: center;
  justify-content: center;
  min-height: calc(100% - 2rem); /* account for card padding */
  padding-top: 3rem;          /* push text down further to visually center it */
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.urgency-quote-text {
  font-size: clamp(2.5rem, 4.5vw + 0.8rem, 4rem); /* Larger, more impactful */
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a; /* Darker, more dramatic */
  letter-spacing: -0.02em; /* Tighter for impact */
  font-family: var(--font-heading);
}

.urgency-quote-text .no-break {
  white-space: nowrap;
}

.urgency-quote-emphasis {
  color: #F97316;
  font-weight: 800;
  display: block; /* Put on its own line for emphasis */
  margin-top: 0.5rem;
  font-size: 1.1em; /* Slightly larger than base */
}

.urgency-quote-subtext {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.15rem);
  font-weight: 400;
  line-height: 1.6;
  color: #64748b; /* Softer gray for transition */
  margin-top: 2rem;
  max-width: 760px; /* Wider to keep “expertise” on first line (desktop) */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--font-body);
}


.crisis-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

.insight-card {
  background: #F0F4F9; /* Slightly darker than bg-light for better contrast */
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(28, 78, 128, 0.2); /* Darker, more visible border */
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1); /* Subtle shadow for depth */
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12); /* Stronger shadow on hover */
  border-color: rgba(28, 78, 128, 0.25); /* Darker border on hover */
}

.insight-visual {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-shape {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: relative;
  animation: shapeFloat 4s ease-in-out infinite;
}

.shape-warning {
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.2), rgba(255, 122, 69, 0.05));
  border: 2px solid rgba(255, 122, 69, 0.3);
}

.shape-idea {
  background: linear-gradient(135deg, rgba(28, 78, 128, 0.2), rgba(28, 78, 128, 0.05));
  border: 2px solid rgba(28, 78, 128, 0.3);
  border-radius: 50%;
}

.shape-growth {
  background: linear-gradient(135deg, var(--light-blue), rgba(232, 241, 251, 0.3));
  border: 2px solid var(--primary-blue);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  border-radius: 0;
}

.insight-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 80px;
  max-height: 80px;
  border-radius: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.05); }
}

.insight-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.insight-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.expert-quotes {
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0 2.5rem;
  margin-top: 0.5rem; /* gives more breathing room below cards */
}

.expert-quotes::before,
.expert-quotes::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.expert-quotes::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.expert-quotes::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.quotes-track {
  display: flex;
  gap: 3rem;
  animation: scrollQuotes 30s linear 1.5s infinite;
  will-change: transform;
}

.quotes-track:hover {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .expert-quotes {
    padding: 1rem 0 2rem;
    overflow: hidden;
    margin-top: 0.75rem;
  }

  .expert-quotes::before,
  .expert-quotes::after {
    display: block;
    width: 80px;
  }

  .quotes-track {
    flex-direction: row;
    gap: 1.5rem;
    animation: scrollQuotes 12s linear 1s infinite;
  }

  .quote-item {
    flex-shrink: 0;
    font-size: 0.55rem;
    padding: 0.6rem 0.875rem;
    background: var(--bg-light);
    border-radius: 16px;
    max-width: 240px;
    min-width: 180px;
    width: auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
  }

  .quote-item::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 24px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-light);
  }
}

@keyframes scrollQuotes {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.quote-item {
  flex-shrink: 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  padding: 1rem 2rem;
  background: var(--bg-light);
  border-radius: 50px;
  white-space: normal;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  width: auto;
  max-width: none;
  word-wrap: break-word;
}

.quote-item:hover {
  color: var(--primary-blue);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 78, 128, 0.1);
}

/* Problems Section */
.problems-section {
  background: var(--bg-light);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.problem-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(232, 241, 251, 0.5);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.15); /* Stronger shadow on hover */
  border-color: rgba(28, 78, 128, 0.3); /* Darker border on hover */
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.problem-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Solution Section */
.solution-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.solution-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.5;
}

.solution-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: nowrap;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 2rem 0;
}

.flow-stage {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.flow-stage.flow-outcome {
  flex: 1.2 1 0;
}

.stage-visual {
  margin-bottom: 1.5rem;
  position: relative;
}

.stage-icon,
.outcome-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(232, 241, 251, 0.4), rgba(255, 255, 255, 0.9));
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(28, 78, 128, 0.1);
}

.flow-outcome .outcome-icon {
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.1), rgba(232, 241, 251, 0.4));
  color: var(--orange-accent);
}

.stage-content {
  max-width: 280px;
}

.flow-stage h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 0.75rem;
  font-family: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.flow-stage p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.flow-path {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  min-width: 60px;
  position: relative;
  align-self: flex-start;
  padding-top: 40px;
}

.path-arrow {
  color: var(--primary-blue);
  opacity: 0.7;
  animation: arrowPulse 2s ease-in-out infinite;
  width: 32px;
  height: 32px;
}

@keyframes arrowPulse {
  0%, 100% { 
    opacity: 0.6;
    transform: translateX(0);
  }
  50% { 
    opacity: 1;
    transform: translateX(3px);
  }
}

.flow-connector {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.flow-connector.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.connector-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, rgba(28, 78, 128, 0.3), rgba(28, 78, 128, 0.1));
}

.flow-outcome {
  margin-top: 2rem;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.flow-outcome.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.outcome-visual {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.harmony-badge {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.flow-outcome.is-revealed .harmony-badge {
  opacity: 1;
  transform: scale(1);
  animation: harmonyPulse 3s ease-in-out infinite;
}

@keyframes harmonyPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.harmony-badge svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(28, 78, 128, 0.15));
}

.outcome-title {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.flow-outcome.is-revealed .outcome-title {
  opacity: 1;
  transform: translateY(0);
}

.outcome-title strong {
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.outcome-statement {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.flow-outcome.is-revealed .outcome-statement {
  opacity: 1;
  transform: translateY(0);
}

.outcome-statement strong {
  font-weight: 600;
  color: var(--primary-blue);
}

.no-break {
  white-space: nowrap;
}

.outcome-statement .no-break {
  white-space: nowrap;
}

@media (max-width: 968px) {
  .solution-flow {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
  }
  
  .flow-stage {
    width: 100%;
    max-width: 400px;
    padding: 0;
  }
  
  .flow-path {
    transform: rotate(90deg);
    min-width: auto;
    min-height: 60px;
    padding: 0;
    padding-top: 0;
    align-self: center;
  }
  
  .path-arrow {
    transform: rotate(-90deg);
  }
  
  .stage-content {
    max-width: 100%;
  }
  
  .flow-connector {
    margin-top: 2rem;
  }
  
  .connector-line {
    height: 30px;
  }
  
  .flow-outcome {
    margin-top: 1.5rem;
    padding: 0 1rem;
  }
  
  .harmony-badge {
    width: 64px;
    height: 64px;
  }
  
  .outcome-title {
    font-size: 1.5rem;
  }
  
  .outcome-statement {
    font-size: 1rem;
  }
}

.solution-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(232, 241, 251, 0.5);
  transition: all 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.solution-visual {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-motion {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  animation: motionFloat 5s ease-in-out infinite;
}

.motion-speed {
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.5));
  animation: speedMotion 3s ease-in-out infinite;
}

.motion-target {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: targetMotion 4s ease-in-out infinite;
}

.motion-connect {
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
  border-radius: 50%;
  position: relative;
}

.motion-connect::before,
.motion-connect::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--white);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  animation: connectPulse 2s ease-in-out infinite;
}

.motion-connect::before {
  left: 15%;
  animation-delay: 0s;
}

.motion-connect::after {
  right: 15%;
  animation-delay: 1s;
}

.motion-collaborate {
  background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
  border-radius: 50%;
  position: relative;
}

.motion-collaborate::before,
.motion-collaborate::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: collaborateOrbit 4s linear infinite;
}

.motion-collaborate::before {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.motion-collaborate::after {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

@keyframes motionFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.05); }
}

@keyframes speedMotion {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes targetMotion {
  0%, 100% { 
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: scale(1);
  }
  50% { 
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    transform: scale(1.1);
  }
}

@keyframes connectPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateY(-50%) scale(1.3); opacity: 1; }
}

@keyframes collaborateOrbit {
  0% { transform: translateX(-50%) rotate(0deg) translateY(0); }
  100% { transform: translateX(-50%) rotate(360deg) translateY(0); }
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.solution-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* AI Section */
.ai-section {
  background: var(--white);
  position: relative;
  padding: 4rem 0;
  min-height: auto;
}

/* AI Section */
.ai-section {
  border-color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(28, 78, 128, 0.1);
  transform: translateY(-4px);
}

.step-visual {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
  background: var(--bg-light);
}

.timeline-step-card:hover .step-icon {
  transform: scale(1.05);
}

.icon-design {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
}

.icon-design::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  border-radius: 8px;
  transform: rotate(45deg);
  opacity: 0.8;
}

.icon-design::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 4px;
  transform: rotate(45deg);
}

.icon-curriculum {
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.7));
  border: 3px solid var(--primary-blue);
}

.icon-curriculum::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.8));
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255, 122, 69, 0.3);
}

.icon-curriculum::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 28px;
  background: var(--white);
  border-radius: 4px;
  top: 6px;
  left: 7.5px;
}

.icon-implement {
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
}

.icon-implement::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 20px solid var(--primary-blue);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.icon-harmony {
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
  border: 3px solid var(--orange-accent);
  position: relative;
  overflow: visible;
}

.harmony-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.harmony-human {
  position: absolute;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50% 50% 50% 0;
  transform: translate(-15px, -8px) rotate(-45deg);
  animation: harmonyFloat1 4s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(28, 78, 128, 0.3);
}

.harmony-ai {
  position: absolute;
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.8));
  border-radius: 50%;
  transform: translate(15px, -8px);
  animation: harmonyFloat2 4s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.3);
}

.harmony-connection {
  position: absolute;
  width: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-blue), var(--orange-accent));
  transform: translateY(-8px);
  border-radius: 2px;
  animation: harmonyPulse 2s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes harmonyFloat1 {
  0%, 100% { transform: translate(-15px, -8px) rotate(-45deg) scale(1); }
  50% { transform: translate(-15px, -12px) rotate(-45deg) scale(1.1); }
}

@keyframes harmonyFloat2 {
  0%, 100% { transform: translate(15px, -8px) scale(1); }
  50% { transform: translate(15px, -12px) scale(1.1); }
}

@keyframes harmonyPulse {
  0%, 100% { opacity: 0.6; transform: translateY(-8px) scaleX(1); }
  50% { opacity: 1; transform: translateY(-8px) scaleX(1.2); }
}

.step-content {
  width: 100%;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.step-subtitle {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 0;
}

.step-description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.step-visual-motion {
  position: relative;
  margin-bottom: 1.5rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motion-blob {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

.blob-1 {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  animation: blobFloat1 6s ease-in-out infinite;
}

.blob-2 {
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.5));
  animation: blobFloat2 6s ease-in-out infinite;
  animation-delay: 2s;
}

.blob-3 {
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
  animation: blobFloat3 6s ease-in-out infinite;
  animation-delay: 4s;
}

.blob-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: innerPulse 3s ease-in-out infinite;
}

.blob-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: particleOrbit 4s linear infinite;
}

.particle:nth-child(1) {
  top: 10%;
  left: 50%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 50%;
  right: 10%;
  animation-delay: 1.3s;
}

.particle:nth-child(3) {
  bottom: 10%;
  left: 50%;
  animation-delay: 2.6s;
}

@keyframes blobFloat1 {
  0%, 100% { 
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    transform: translate(0, 0) scale(1);
  }
  33% { 
    border-radius: 60% 40% 50% 50% / 40% 60% 50% 50%;
    transform: translate(5px, -5px) scale(1.05);
  }
  66% { 
    border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
    transform: translate(-5px, 5px) scale(0.95);
  }
}

@keyframes blobFloat2 {
  0%, 100% { 
    border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    transform: translate(0, 0) scale(1);
  }
  33% { 
    border-radius: 50% 50% 60% 40% / 50% 50% 40% 60%;
    transform: translate(-5px, -5px) scale(1.05);
  }
  66% { 
    border-radius: 50% 50% 40% 60% / 50% 50% 60% 40%;
    transform: translate(5px, 5px) scale(0.95);
  }
}

/* AI Section */
.ai-section {
  background: var(--white);
  position: relative;
  padding: 4rem 0;
  min-height: auto;
}

.ai-layout-scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  margin-top: 4rem;
}

.ai-points {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.ai-point {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  position: relative;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: default;
  max-width: 90%;
  width: 100%;
  margin-bottom: 0;
}

/* Align cards to curve of motion graphic - creating a subtle arc, centered */
/* First card: top area, slightly left (more centered vertically) */
.ai-point:nth-child(1) {
  transform: translateX(10px) translateY(-25px);
  animation: cardFloatCurve1 4s ease-in-out infinite;
}

/* Middle card: left side (more to the left horizontally, centered vertically) */
.ai-point:nth-child(2) {
  transform: translateX(-5px) translateY(0px);
  animation: cardFloatCurve2 4s ease-in-out infinite;
  animation-delay: 1s;
}

/* Last card: bottom area, slightly left (more centered vertically) */
.ai-point:nth-child(3) {
  transform: translateX(10px) translateY(25px);
  animation: cardFloatCurve3 4s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes cardFloatCurve1 {
  0%, 100% {
    transform: translateX(10px) translateY(-25px);
  }
  25% {
    transform: translateX(13px) translateY(-25px);
  }
  50% {
    transform: translateX(12px) translateY(-28px);
  }
  75% {
    transform: translateX(9px) translateY(-25px);
  }
}

@keyframes cardFloatCurve2 {
  0%, 100% {
    transform: translateX(-5px) translateY(0px);
  }
  25% {
    transform: translateX(-2px) translateY(0px);
  }
  50% {
    transform: translateX(-3px) translateY(-3px);
  }
  75% {
    transform: translateX(-8px) translateY(0px);
  }
}

@keyframes cardFloatCurve3 {
  0%, 100% {
    transform: translateX(10px) translateY(25px);
  }
  25% {
    transform: translateX(13px) translateY(25px);
  }
  50% {
    transform: translateX(12px) translateY(22px);
  }
  75% {
    transform: translateX(9px) translateY(25px);
  }
}

.ai-point h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.ai-point p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.ai-visual-scroll {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.ai-blob {
  position: relative;
  width: 400px;
  height: 400px;
}

.blob-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: conic-gradient(
    from 0deg,
    var(--primary-blue) 0deg,
    rgba(28, 78, 128, 0.8) 60deg,
    rgba(255, 122, 69, 0.7) 120deg,
    var(--orange-accent) 180deg,
    rgba(255, 122, 69, 0.7) 240deg,
    rgba(28, 78, 128, 0.8) 300deg,
    var(--primary-blue) 360deg
  );
  border-radius: 50%;
  animation: colorRotate 20s linear infinite, blobMorph 10s ease-in-out infinite;
  filter: blur(40px);
  opacity: 0.8;
  z-index: 2;
}

.network-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  width: 100vw;
  height: 100vh;
  max-width: none;
  color: var(--primary-blue);
  z-index: 1;
  animation: networkPulse 6s ease-in-out infinite;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0.6) 75%, rgba(0,0,0,1) 100%);
  overflow: hidden;
}

.network-pattern svg {
  width: 100%;
  height: 100%;
  opacity: 0.25;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.blob-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.ring-1 {
  width: 220px;
  height: 220px;
  border: 3px solid var(--primary-blue);
  opacity: 0.5;
  animation: ringPulse 4s ease-in-out infinite;
  animation-delay: 0s;
}

.ring-2 {
  width: 300px;
  height: 300px;
  border: 3px solid var(--orange-accent);
  opacity: 0.4;
  animation: ringPulse 4s ease-in-out infinite;
  animation-delay: 1.33s;
}

.ring-3 {
  width: 380px;
  height: 380px;
  border: 3px solid var(--light-blue);
  opacity: 0.35;
  animation: ringPulse 4s ease-in-out infinite;
  animation-delay: 2.66s;
}

@keyframes blobMorph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  33% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  66% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes colorRotate {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(360deg);
  }
}

@keyframes networkPulse {
  0%, 100% {
    transform: translate(-30%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-30%, -50%) scale(1.05);
    opacity: 0.8;
  }
}

@keyframes ringPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1); 
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.15); 
  }
}

/* Proof Section */
.proof-section {
  background: var(--bg-light); /* Light grey to continue from partners section */
  padding-top: 0;
}

.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.accolade-badge {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(232, 241, 251, 0.5);
  text-align: center;
  transition: all 0.3s ease;
}

.accolade-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-soft);
}

.badge-visual {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-award {
  width: 100%;
  height: 100%;
  position: relative;
  animation: awardFloat 4s ease-in-out infinite;
}

.award-trophy {
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.5));
  clip-path: polygon(30% 0%, 70% 0%, 70% 40%, 100% 40%, 100% 60%, 70% 60%, 70% 100%, 30% 100%, 30% 60%, 0% 60%, 0% 40%, 30% 40%);
  border-radius: 0;
}

.award-star {
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border-radius: 0;
}

.award-handshake {
  background: linear-gradient(135deg, var(--primary-blue), var(--orange-accent));
  border-radius: 50%;
  position: relative;
}

.award-handshake::before,
.award-handshake::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.award-handshake::before {
  left: 15%;
}

.award-handshake::after {
  right: 15%;
}

@keyframes awardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.accolade-badge h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.accolade-badge p {
  color: var(--text-muted);
  line-height: 1.7;
}

.accolade-badge strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.press-logos {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.press-logos::before,
.press-logos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.press-logos::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-light), transparent);
}

.press-logos::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-light), transparent);
}

.press-track {
  display: flex;
  gap: 2rem;
  animation: scrollPress 18s linear infinite;
  will-change: transform;
}

.press-track:hover {
  animation-play-state: paused;
}

@keyframes scrollPress {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.press-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(232, 241, 251, 0.5);
  transition: all 0.3s ease;
  height: 70px;
  min-width: 150px;
}

.press-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 78, 128, 0.1);
}

.press-item img {
  max-height: 40px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}

.press-item:hover img {
  filter: grayscale(0%) opacity(1);
}

@media (max-width: 768px) {
  .press-logos {
    padding: 0.5rem 0 1rem;
    margin-top: -1rem;
  }

  .press-item {
    padding: 0.5rem 0.75rem;
  }

  .press-item img {
    max-height: 20px;
    max-width: 80px;
  }

  .press-track {
    gap: 1rem;
    animation: scrollPress 12s linear infinite;
  }
}

/* Mission Section */
.mission-section {
  background: var(--white); /* White background for last section above footer */
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.mission-statement {
  font-size: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.mission-statement strong {
  color: var(--primary-blue);
  font-weight: 700;
}

.mission-visuals {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.harmony-visual-large {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.harmony-human-large {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  border-radius: 50% 50% 50% 0;
  transform: translate(-50px, -20px) rotate(-45deg);
  animation: harmonyFloatLarge1 5s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(28, 78, 128, 0.3);
  z-index: 2;
}

.harmony-ai-large {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--orange-accent), rgba(255, 122, 69, 0.8));
  border-radius: 50%;
  transform: translate(50px, -20px);
  animation: harmonyFloatLarge2 5s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(255, 122, 69, 0.3);
  z-index: 2;
}

.harmony-connection-large {
  position: absolute;
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-blue), var(--orange-accent));
  transform: translateY(-20px);
  border-radius: 3px;
  animation: harmonyPulseLarge 2.5s ease-in-out infinite;
  opacity: 0.8;
  z-index: 1;
}

.harmony-rings {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.harmony-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.2;
}

.harmony-ring.ring-1 {
  width: 200px;
  height: 200px;
  border-color: var(--primary-blue);
  animation: harmonyRingRotate1 8s linear infinite;
}

.harmony-ring.ring-2 {
  width: 240px;
  height: 240px;
  border-color: var(--orange-accent);
  animation: harmonyRingRotate2 10s linear infinite reverse;
}

.harmony-ring.ring-3 {
  width: 280px;
  height: 280px;
  border-color: var(--light-blue);
  animation: harmonyRingRotate3 12s linear infinite;
  opacity: 0.15;
}

@keyframes harmonyFloatLarge1 {
  0%, 100% { transform: translate(-50px, -20px) rotate(-45deg) scale(1); }
  50% { transform: translate(-50px, -30px) rotate(-45deg) scale(1.05); }
}

@keyframes harmonyFloatLarge2 {
  0%, 100% { transform: translate(50px, -20px) scale(1); }
  50% { transform: translate(50px, -30px) scale(1.05); }
}

@keyframes harmonyPulseLarge {
  0%, 100% { opacity: 0.6; transform: translateY(-20px) scaleX(1); }
  50% { opacity: 1; transform: translateY(-20px) scaleX(1.15); }
}

@keyframes harmonyRingRotate1 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes harmonyRingRotate2 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes harmonyRingRotate3 {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.org-chart-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.org-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.node-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  box-shadow: 0 8px 24px var(--shadow-soft);
  animation: nodeFloat 4s ease-in-out infinite;
}

.human-node .node-core {
  animation-delay: 0s;
}

.ai-node .node-core {
  animation-delay: 2s;
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.org-node span {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.org-connections {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connection-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--primary-blue), var(--light-blue));
  opacity: 0.5;
}

@media (max-width: 768px) {
  .mission-headline {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .mission-statement {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .org-chart-visual {
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .org-connections {
    flex-direction: row;
    gap: 0.5rem;
    height: 60px;
    align-items: center;
    justify-content: center;
  }

  .connection-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--orange-accent));
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--light-blue), rgba(232, 241, 251, 0.5));
  position: relative;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: ctaFloat 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-blue);
  top: -100px;
  right: -100px;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--orange-accent);
  bottom: -50px;
  left: -50px;
  animation-delay: 5s;
}

@keyframes ctaFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.cta-subheadline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--light-blue), rgba(232, 241, 251, 0.5));
  color: var(--text-dark);
  padding: 4rem 0 2rem;
  border-top: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .logo {
  color: var(--text-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  height: 32px;
}

.footer-brand .logo img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.link-group h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.link-group a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: var(--primary-blue);
}

.footer-legal {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 0;
  }

  .nav {
    padding: 0.75rem 0;
    gap: 1rem;
  }

  .logo {
    height: 24px;
  }

  .logo img {
    max-height: 24px;
    max-width: 100px;
  }

  .btn-outline {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  nav {
    display: none;
  }

  .hero-section {
    padding: 2rem 0;
    min-height: calc(100vh - 1.5rem); /* Slightly shorter to allow quote card peek */
    display: flex;
    align-items: center; /* Vertically center content */
    justify-content: center;
  }

  .hero-container {
    align-self: center; /* Ensure container is centered vertically */
  }

  .hero-container {
    grid-template-columns: 1fr !important;
    gap: 0.5rem; /* Reduced from 1rem */
    display: grid !important;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subheadline {
    font-size: 0.9rem;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    line-height: 1.5;
  }

  .hero-ctas {
    justify-content: center;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .hero-ctas .btn,
  .hero-ctas .hero-link {
    font-size: 0.75rem;
    padding: 0.6rem 0.85rem;
    display: inline-flex;
    align-items: center;
    flex: 1;
    max-width: 160px;
    justify-content: center;
    white-space: nowrap; /* Prevent text wrapping */
    box-sizing: border-box; /* Ensure border is included in height calculation */
  }

  .hero-link {
    background: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    color: var(--primary-blue);
    font-weight: 600;
  }

  .hero-visual {
    min-height: auto;
    order: 2; /* Image goes below text */
    margin-bottom: 0; /* Removed margin */
    margin-top: 0.5rem; /* Small gap after text */
  }

  .hero-visual .ai-blob {
    display: none;
  }

  .hero-container {
    flex-direction: column;
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  /* Use display: contents to allow children to participate in parent grid ordering */
  .hero-content {
    order: 1; /* Title section goes on top */
    display: contents; /* Allow children to participate in parent grid */
  }

  .hero-headline,
  .hero-subheadline {
    order: 1; /* Text content stays at top */
  }

  .hero-visual {
    order: 2; /* Prototype images go below text */
  }

  .hero-ctas {
    order: 3; /* Buttons appear after images */
    margin-top: 0.75rem; /* Reduced from 1.5rem */
    margin-bottom: 0;
  }

  .hero-headline {
    font-size: 1.75rem;
    margin-bottom: 0.5rem; /* Reduced from 1rem */
    line-height: 1.3;
  }

  /* Arrow mobile adjustments */
  .quote-scroll-hint {
    top: -40px !important; /* Move down a little (was -50px) */
  }

  .scroll-chevron {
    width: 18px !important; /* Smaller (was 24px) */
    height: 18px !important; /* Smaller (was 24px) */
    border-right: 2.5px solid rgba(15, 23, 42, 0.6) !important; /* Slightly thinner */
    border-bottom: 2.5px solid rgba(15, 23, 42, 0.6) !important; /* Slightly thinner */
  }

  /* Quote card mobile adjustments */
  .urgency-quote-section {
    padding: 3rem 2rem 3rem !important; /* Increased side padding from 1.5rem to 2rem */
    min-height: auto !important;
    margin-top: -1.5rem !important; /* Increased peek to ensure card is visible on initial load */
  }

  .urgency-quote-inner {
    padding-top: 1.5rem !important; /* Reduced top padding for better fit */
    padding-bottom: 1rem !important;
    padding-left: 1.5rem !important; /* Slightly narrower than title padding */
    padding-right: 1.5rem !important; /* Slightly narrower than title padding */
  }

  .urgency-quote-text {
    font-size: clamp(1.5rem, 5vw, 2rem) !important; /* Much smaller on mobile */
    line-height: 1.3 !important;
  }

  .urgency-quote-subtext {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important; /* Smaller subtext */
    margin-top: 1.5rem !important;
  }

  .section {
    padding: 2rem 0;
  }

  .partners-section {
    padding: 1.5rem 0;
  }

  .partners-section .container {
    padding: 0 1rem;
  }

  .partners-caption {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    padding: 0;
    max-width: 100%;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trust-logos {
    gap: 0.75rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
  }

  .logo-item {
    height: 32px;
    padding: 0 0.4rem;
    width: 100%;
  }

  .logo-item img {
    max-height: 24px;
    max-width: 70px;
  }

  .ai-layout-scroll {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }

  .ai-visual-scroll {
    position: relative;
    top: auto;
    transform: none;
    height: 300px;
  }

  .ai-blob {
    width: 300px;
    height: 300px;
  }


  .motion-blob {
    width: 80px;
    height: 80px;
  }

  .program-motion {
    width: 120px;
    height: 120px;
  }

  .orb-center {
    width: 60px;
    height: 60px;
  }

  .ring-outer {
    width: 100px;
    height: 100px;
  }

  .ring-inner {
    width: 80px;
    height: 80px;
  }

  .site-footer {
    padding: 2rem 0 1rem;
    background: linear-gradient(135deg, var(--light-blue), rgba(232, 241, 251, 0.5));
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    margin-bottom: 0;
  }

  .footer-brand p {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  .footer-links {
    gap: 1.5rem;
  }

  .link-group h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .link-group a {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .footer-legal {
    padding-top: 1rem;
    font-size: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-headline {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }

  .cta-subheadline {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }

  .cta-buttons .btn,
  .cta-buttons .hero-link {
    font-size: 0.75rem;
    padding: 0.6rem 0.85rem;
    white-space: nowrap; /* Prevent text wrapping */
    flex: 1;
    max-width: 160px;
    justify-content: center;
  }

  .cta-buttons .btn,
  .cta-buttons .hero-link {
    font-size: 0.75rem;
    padding: 0.6rem 0.85rem;
    display: inline-flex;
    align-items: center;
    flex: 1;
    max-width: 160px;
    justify-content: center;
    white-space: nowrap; /* Prevent text wrapping */
    box-sizing: border-box; /* Ensure border is included in height calculation */
    height: auto; /* Allow natural height based on padding */
  }

  .cta-buttons .hero-link {
    background: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    color: var(--primary-blue);
    font-weight: 600;
  }

  .arrow-desktop {
    display: none;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .crisis-insights,
  .problems-grid,
  .accolades-grid {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  /* Mobile Typography System */
  /* H1 - Hero Headline: 1.75rem (already set above) */
  
  /* H2 - Section Titles */
  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
  }

  /* H3 - Subsection Titles */
  .insight-card h3,
  .problem-card h3,
  .accolade-badge h3,
  .stage-content h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  /* Body Text */
  .hero-subheadline,
  .partners-caption,
  .insight-card p,
  .problem-card p,
  .accolade-badge p,
  .stage-content p,
  .mission-statement,
  .cta-subheadline,
  .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Small Text */
  .footer-links a,
  .link-group a,
  .footer-legal {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Buttons */
  .btn,
  .hero-link {
    font-size: 0.8rem;
  }

  /* Special Cases */
  .quote-item {
    font-size: 0.55rem;
  }

  .outcome-title {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .outcome-statement {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Contact Form Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox[aria-hidden="false"] .lightbox-container {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lightbox-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}

.lightbox-content {
  width: 100%;
  height: 90vh;
  max-height: 800px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.lightbox-content iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: none;
}

/* Mobile adjustments for lightbox */
@media (max-width: 768px) {
  .lightbox-container {
    width: 95%;
    max-height: 95vh;
    border-radius: 12px;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .lightbox-content {
    height: 95vh;
    max-height: none;
  }

  .lightbox-content iframe {
    min-height: 500px;
  }
}


