/* Custom Styles for Sanofi-IDEO FLOW - Medical/Tech Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global Reset & Image Sizing - ensure no content exceeds screen width */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

/* Ensure all containers respect viewport width */
.flow-section,
.flow-section-container,
.flow-hero-section,
.flow-hero-container {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* Unified Flow Hero Section */
.flow-hero-section {
  padding: 8rem 0 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.flow-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(46, 91, 186, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(40, 167, 69, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.flow-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.flow-main-card {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  align-items: start;
  background: white;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 
    0 12px 48px rgba(46, 91, 186, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(46, 91, 186, 0.08);
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.flow-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 64px rgba(46, 91, 186, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.flow-title-content {
  padding-right: 2rem;
}

.flow-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  color: #2E5BBA;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
  position: relative;
}

.flow-hero-title::after {
  content: '#';
  position: absolute;
  right: -2rem;
  top: 0.2rem;
  color: #28A745;
  font-size: 0.5em;
  opacity: 0.7;
  font-weight: 400;
}

.flow-hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: #2E5BBA;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.flow-hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #6C757D;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.flow-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.flow-feature-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #2E5BBA;
  background: rgba(46, 91, 186, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(46, 91, 186, 0.15);
  font-weight: 500;
  white-space: nowrap;
}

.flow-side-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-left: 2rem;
  border-left: 2px solid #e9ecef;
}

.flow-project-meta .flow-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.flow-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.flow-meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.flow-meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #2E5BBA;
  font-weight: 600;
  line-height: 1.2;
}

.flow-innovation-quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #2E5BBA;
  line-height: 1.4;
  margin: 0;
  position: relative;
  font-weight: 400;
  opacity: 0.9;
}

.flow-innovation-quote::before,
.flow-innovation-quote::after {
  content: '"';
  font-size: 1.2em;
  color: #6C757D;
  opacity: 0.5;
}

.flow-hero-palette {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-palette-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: #6C757D;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.flow-colors-row {
  display: flex;
  gap: 0.5rem;
}

.flow-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(46, 91, 186, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.flow-color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flow-hero-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.08);
  position: relative;
  overflow: visible;
}

.flow-hero-navigation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 4rem);
  height: 2px;
  background: linear-gradient(90deg, #e9ecef, #2E5BBA, #e9ecef);
  z-index: 0;
  border-radius: 1px;
}

.flow-nav-step {
  font-family: 'Inter', sans-serif;
  color: #2E5BBA;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  background: white;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10;
  border: 2px solid #e9ecef;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 8px rgba(46, 91, 186, 0.08);
}

.flow-nav-step:hover,
.flow-nav-step:focus {
  color: white !important;
  background: #2E5BBA !important;
  border-color: #2E5BBA !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.25) !important;
  text-decoration: none !important;
}

.flow-impact-banner {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2rem 3rem;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
  border: 1px solid rgba(46, 91, 186, 0.06);
}

.flow-impact-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #2E5BBA;
  line-height: 1.5;
  margin: 0;
  position: relative;
  font-weight: 400;
}

.flow-impact-text::before,
.flow-impact-text::after {
  content: '"';
  font-size: 1.3em;
  color: #6C757D;
  opacity: 0.5;
}

/* Mobile Responsive Styles for Flow Hero */
@media (max-width: 768px) {
  .flow-hero-section {
    padding: 6rem 0 3rem 0 !important;
  }
  
  .flow-hero-container {
    padding: 0 1rem;
  }
  
  .flow-main-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .flow-title-content {
    padding-right: 0;
    text-align: center;
  }
  
  .flow-hero-title {
    font-size: clamp(2.5rem, 10vw, 3rem) !important;
  }
  
  .flow-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .flow-hero-description {
    font-size: 0.95rem;
  }
  
  .flow-features-pills {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .flow-feature-pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .flow-side-content {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #e9ecef;
    padding-top: 2rem;
  }
  
  .flow-project-meta .flow-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .flow-innovation-quote {
    font-size: 0.9rem;
    text-align: center;
  }
  
  .flow-hero-palette {
    align-items: center;
  }
  
  .flow-colors-row {
    justify-content: center;
  }
  
  .flow-hero-navigation {
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .flow-nav-step {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .flow-impact-banner {
    padding: 1.5rem 2rem;
  }
  
  .flow-impact-text {
    font-size: 1.1rem;
  }
}

/* Flow Hero Image Section */
.flow-hero-image-section {
  padding: 2rem 0;
  background: white;
}

.flow-hero-image-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flow-hero-image {
  width: 100%;
  max-width: min(800px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.12);
  margin: 0 auto;
  display: block;
}

/* Flow Presentation-Style Sections */
.flow-section {
  padding: 4rem 0;
  position: relative;
}

.flow-challenge-section {
  background: linear-gradient(135deg, #6294d8 0%, #4876b5 100%);
  color: white;
}

.flow-research-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.flow-solution-section {
  background: linear-gradient(135deg, #2E5BBA 0%, #1a4087 100%);
  color: white;
}

.flow-section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flow-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.flow-section-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.flow-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

.flow-subsection-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin: 3rem 0 2rem 0;
}

/* Stakeholder Grid */
.flow-stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.flow-stakeholder-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.flow-stakeholder-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.flow-stakeholder-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.flow-stakeholder-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: white;
}

.flow-stakeholder-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* Pain Points Grid */
.flow-pain-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.flow-pain-quote {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.flow-pain-quote blockquote {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  color: white;
}

.flow-pain-quote blockquote::before,
.flow-pain-quote blockquote::after {
  content: '"';
  opacity: 0.7;
}

/* Patient Needs Grid */
.flow-needs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.flow-need-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.08);
  border: 1px solid rgba(46, 91, 186, 0.1);
}

.flow-need-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.flow-need-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.flow-need-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2E5BBA;
  margin: 0;
}

.flow-need-problem {
  margin-bottom: 1rem;
}

.flow-need-solution {
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.flow-need-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.flow-need-label.problem {
  color: #dc3545;
}

.flow-need-label.solution {
  color: #28a745;
}

.flow-need-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #6c757d;
}

/* Generation Showcase */
.flow-generations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.flow-generation-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.flow-generation-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.flow-generation-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.flow-generation-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: white;
}

.flow-generation-description {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Process Images */
.flow-process-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.flow-process-image {
  width: 100%;
  max-width: min(300px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.08);
  transition: all 0.3s ease;
  margin: 0 auto;
  display: block;
}

.flow-process-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.15);
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
  .flow-section {
    padding: 3rem 0;
  }
  
  .flow-section-container {
    padding: 0 1rem;
  }
  
  .flow-section-header {
    margin-bottom: 3rem;
  }
  
  .flow-stakeholders-grid,
  .flow-pain-quotes-grid,
  .flow-needs-grid,
  .flow-generations-grid,
  .flow-process-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .flow-stakeholder-card,
  .flow-need-card {
    padding: 1.5rem;
  }
  
  .flow-generation-card {
    padding: 2rem;
  }
  
  .flow-stakeholder-image {
    height: 180px;
    object-fit: cover;
    width: 100%;
  }
  
  .flow-generation-image {
    height: 280px;
    object-fit: cover;
    width: 100%;
  }
  
  /* Enhanced image handling */
  .flow-process-image,
  .flow-hero-image,
  .generation-detail-image,
  .journey-map-image,
  .exploration-image,
  .mechanism-image,
  .solution-image,
  .prototype-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
  }
  
  /* Better hero navigation on mobile */
  .flow-hero-navigation {
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .flow-nav-step {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

/* Generation Detail Sections */
.generation-detail-section {
  margin: 4rem 0;
  padding: 3rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.12);
  border: 1px solid rgba(46, 91, 186, 0.1);
}

.generation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: min(1200px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.generation-content.reverse {
  direction: rtl;
}

.generation-content.reverse > * {
  direction: ltr;
}

.generation-text {
  padding: 1rem;
}

.generation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.generation-badge {
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.generation-timeline {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

.generation-detail-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.generation-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.innovation-highlights {
  margin-bottom: 2rem;
}

.highlights-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
}

.innovation-list {
  list-style: none;
  padding: 0;
}

.innovation-list li {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.innovation-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #2E5BBA;
  font-weight: bold;
}

.patient-impact {
  margin-top: 2rem;
}

.impact-quote {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: #6c757d;
  border-left: 3px solid #2E5BBA;
  padding-left: 1.5rem;
  margin: 0;
}

.generation-detail-image {
  width: 100%;
  max-width: min(500px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  display: block;
}

.roadmap-overview {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 2rem auto 0;
}

/* Design Philosophy */
.design-philosophy {
  margin-top: 3rem;
  text-align: center;
}

.philosophy-quote {
  font-family: 'Crimson Text', serif;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.6;
  color: #2E5BBA;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(46, 91, 186, 0.1);
  border-radius: 16px;
  border-left: 4px solid #2E5BBA;
}

/* Design Process Section - White background with gradient cards */
.design-process-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 0;
  position: relative;
}

.design-process-container {
  max-width: min(1200px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.design-process-header {
  text-align: center;
  margin-bottom: 4rem;
}

.design-process-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.design-process-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Process Steps */
.process-step {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
  border: 1px solid rgba(46, 91, 186, 0.1);
}

.step-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.process-step.reverse .step-content {
  direction: rtl;
}

.process-step.reverse .step-content > * {
  direction: ltr;
}

.step-number {
  display: inline-block;
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.step-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
}

.step-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.process-step-image {
  width: 100%;
  max-width: min(500px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(46, 91, 186, 0.12);
}

/* Stakeholder Insights */
.stakeholder-insights,
.research-sources,
.hmw-questions,
.system-vision {
  background: rgba(46, 91, 186, 0.05);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid #2E5BBA;
}

.insight-item,
.source-item,
.hmw-item,
.vision-item {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 1rem;
  padding-left: 1rem;
  position: relative;
}

.insight-item::before,
.source-item::before,
.hmw-item::before,
.vision-item::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2E5BBA;
  font-weight: bold;
}

.prototype-note {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid #dee2e6;
}

.prototype-note p {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  color: #6c757d;
  margin: 0;
  text-align: center;
}

/* Journey Insights Section */
.journey-insights {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
  border: 1px solid rgba(46, 91, 186, 0.1);
}

.insights-title,
.explorations-title,
.mechanism-title,
.prototyping-title,
.storyboarding-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2E5BBA;
  text-align: center;
  margin-bottom: 1rem;
}

.insights-description,
.prototyping-description,
.storyboarding-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.journey-map-image {
  width: 100%;
  max-width: min(400px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.1);
  transition: transform 0.3s ease;
}

.journey-map-image:hover {
  transform: translateY(-4px);
}

/* Ideation Explorations */
.ideation-explorations {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
}

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

.exploration-item {
  text-align: center;
}

.exploration-image {
  width: 100%;
  max-width: min(300px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.exploration-image:hover {
  transform: translateY(-4px);
}

.exploration-caption {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Mechanism Exploration */
.mechanism-exploration {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
}

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

.mechanism-image {
  width: 100%;
  max-width: min(350px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.1);
  transition: transform 0.3s ease;
}

.mechanism-image:hover {
  transform: translateY(-4px);
}

/* Prototyping Section */
.prototyping-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
}

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

.prototype-item {
  text-align: center;
}

.prototype-image {
  width: 100%;
  max-width: min(400px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.1);
  margin-bottom: 1rem;
}

.prototype-caption {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #495057;
  font-style: italic;
  margin: 0;
}

/* Story Section - Layla and Suze */
.story-section {
  background: linear-gradient(135deg, #2E5BBA 0%, #4876b5 100%);
  padding: 5rem 0;
  color: white;
  position: relative;
}

.story-container {
  max-width: min(1400px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.story-header {
  text-align: center;
  margin-bottom: 4rem;
}

.story-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.story-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Story Panels Grid - Manga Style */
.story-panels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.story-panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.story-panel-image {
  width: 100%;
  max-width: min(400px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Story Insights */
.story-insights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.story-insight-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.insight-card-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.insight-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* Innovation Solutions Gallery */
.innovation-solutions {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
}

.solutions-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2E5BBA;
  text-align: center;
  margin-bottom: 2rem;
}

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

.solution-image {
  width: 100%;
  max-width: min(400px, calc(100vw - 4rem)) !important;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.1);
  transition: transform 0.3s ease;
}

.solution-image:hover {
  transform: translateY(-4px);
}

/* Storyboarding Section */
.storyboarding-section {
  background: white;
  border-radius: 24px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.08);
}

.storyboard-images {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.storyboard-image {
  width: 90% !important;
  max-width: 800px !important;
  height: auto !important;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive for Generation Details */
@media (max-width: 768px) {
  .generation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .generation-detail-section {
    margin: 2rem 0;
    padding: 2rem 0;
  }
  
  .generation-detail-title {
    font-size: 1.5rem;
  }
  
  .generation-description {
    font-size: 1rem;
  }
  
  .generation-detail-image {
    max-width: 100%;
  }
  
  .philosophy-quote {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  
  .step-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-step {
    padding: 2rem;
    margin: 2rem 0;
  }
  
  .step-title {
    font-size: 1.5rem;
  }
  
  .step-description {
    font-size: 1rem;
  }
  
  .explorations-grid,
  .mechanism-grid,
  .prototyping-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .journey-maps-grid {
    grid-template-columns: 1fr;
  }
  
  .storyboard-images {
    grid-template-columns: 1fr;
  }
  
  .story-panels-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .story-panel {
    padding: 0.75rem;
  }
  
  .story-insights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .story-insight-card {
    padding: 2rem;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* New FLOW Roadmap Section with gradient background */
.flow-roadmap-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 0;
  position: relative;
}

.flow-roadmap-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(46, 91, 186, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(72, 118, 181, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.roadmap-section-container {
  max-width: min(1400px, calc(100vw - 4rem));
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.roadmap-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.roadmap-section-title {
  font-family: 'Crimson Text', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.roadmap-section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Interactive Storyboard Reader - New Design */
.storyboard-reader-container {
  margin: 4rem 0;
}

.storyboard-intro-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.12);
  border: 1px solid rgba(46, 91, 186, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  transition: all 0.3s ease;
}

.storyboard-intro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 91, 186, 0.18);
}

.storyboard-intro-content {
  padding: 1.5rem;
}

.intro-badge {
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.intro-title {
  font-family: 'Crimson Text', serif;
  font-size: 2rem;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.intro-description {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.story-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  font-size: 1.2rem;
}

.feature-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #6c757d;
}

.storyboard-cta-btn {
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.2);
}

.storyboard-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.3);
}

.cta-icon {
  font-size: 1.1rem;
}

.storyboard-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.storyboard-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 91, 186, 0.2);
}

.preview-image {
  width: 100%;
  height: auto;
  display: block;
}

.preview-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.storyboard-preview:hover .preview-play-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover {
  background: white;
  transform: scale(1.1);
}

.play-icon {
  font-size: 1.5rem;
  color: #2E5BBA;
  margin-left: 3px;
}

/* Image Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 60px 20px 20px 20px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 80px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

/* Storyboard Reader Modal - Redesigned */
.storyboard-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.storyboard-modal-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Header with progress */
.storyboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 0.5rem 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.storyboard-progress-section {
  flex: 1;
}

.storyboard-modal-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  margin: 0 0 1rem 0;
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.story-counter {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  min-width: 100px;
}

.progress-bar-container {
  flex: 1;
  max-width: 300px;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.storyboard-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.storyboard-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Main content area */
.storyboard-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  position: relative;
}

.story-image-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  padding: 80px 60px 60px 60px;
  box-sizing: border-box;
}

.storyboard-image {
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}


/* Navigation arrows */
.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  z-index: 10;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.nav-btn-left {
  left: 2rem;
}

.nav-btn-right {
  right: 2rem;
}

/* Bottom controls */
.storyboard-bottom-controls {
  display: none;
}

.control-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.control-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.control-icon {
  font-size: 1rem;
}

/* Page indicator dots */
.page-indicator {
  display: flex;
  justify-content: center;
  flex: 1;
}

.page-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-dot.active {
  background: #2E5BBA;
  transform: scale(1.5);
}

.page-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

/* Enhanced Mobile Responsive for Storyboard Experience */
@media (max-width: 768px) {
  /* Storyboard intro card - better mobile layout */
  .storyboard-intro-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin: 0 1rem;
    border-radius: 16px;
  }
  
  .storyboard-intro-content {
    padding: 0.5rem;
    text-align: center;
  }
  
  .intro-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }
  
  .intro-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .story-features {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    justify-content: center;
    gap: 0.5rem;
  }
  
  .feature-text {
    font-size: 0.85rem;
  }
  
  .storyboard-cta-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  
  .storyboard-preview {
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  /* Modal header - cleaner mobile layout */
  .storyboard-header {
    padding: 1rem 1rem 0.75rem 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 80%, transparent 100%);
  }
  
  .storyboard-modal-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }
  
  .progress-info {
    justify-content: center;
    gap: 0.75rem;
  }
  
  .story-counter {
    font-size: 0.85rem;
    min-width: auto;
    text-align: center;
  }
  
  .progress-bar-container {
    flex: none;
    width: 200px;
  }
  
  .progress-bar {
    height: 3px;
  }
  
  /* Main content area - optimized for mobile viewing */
  .storyboard-main {
    padding: 0;
    background: #000;
  }
  
  .story-image-container {
    width: 100vw;
    height: 100vh;
    padding: 60px 0 40px 0; /* Account for header and safe areas */
    box-sizing: border-box;
  }
  
  .storyboard-image {
    width: calc(100vw - 20px) !important;
    height: auto !important;
    max-height: calc(100vh - 140px) !important;
    max-width: calc(100vw - 20px) !important;
    object-fit: contain !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  /* Enhanced navigation buttons */
  .nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  }
  
  .nav-btn:hover:not(:disabled) {
    background: white;
    transform: translateY(-50%) scale(1.05);
  }
  
  .nav-btn-left {
    left: 10px;
  }
  
  .nav-btn-right {
    right: 10px;
  }
  
  /* Bottom controls - hidden on mobile for cleaner experience */
  .storyboard-bottom-controls {
    display: none !important;
  }
  
  /* Close button */
  .storyboard-close {
    font-size: 18px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 20px;
  }
  
  .storyboard-close:hover {
    background: white;
    transform: scale(1.05);
  }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .storyboard-intro-card {
    padding: 2.5rem 2rem;
    margin: 0 2rem;
  }
  
  .storyboard-image {
    width: 90vw !important;
    max-height: 80vh !important;
  }
  
  .nav-btn {
    width: 48px;
    height: 48px;
  }
  
  .nav-btn-left {
    left: 20px;
  }
  
  .nav-btn-right {
    right: 20px;
  }
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: 'Inter', sans-serif;
}

/* Completion Reward Animation */
.completion-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.completion-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  max-width: 500px;
  margin: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.completion-animation {
  position: relative;
  margin-bottom: 2rem;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trophy-icon {
  font-size: 4rem;
  animation: bounceIn 0.8s ease-out;
}

.sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  font-size: 1.5rem;
  animation: sparkleFloat 2s ease-in-out infinite;
}

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

.sparkle:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 0.3s;
}

.sparkle:nth-child(3) {
  bottom: 30%;
  left: 10%;
  animation-delay: 0.6s;
}

.sparkle:nth-child(4) {
  bottom: 20%;
  right: 20%;
  animation-delay: 0.9s;
}

.sparkle:nth-child(5) {
  top: 50%;
  left: 5%;
  animation-delay: 1.2s;
}

.sparkle:nth-child(6) {
  top: 40%;
  right: 5%;
  animation-delay: 1.5s;
}

.completion-title {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.completion-message {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.completion-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.completion-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.completion-btn.primary {
  background: linear-gradient(135deg, #2E5BBA, #4876b5);
  color: white;
  box-shadow: 0 4px 20px rgba(46, 91, 186, 0.3);
}

.completion-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.4);
}

.completion-btn.secondary {
  background: transparent;
  color: #2E5BBA;
  border: 2px solid #2E5BBA;
}

.completion-btn.secondary:hover {
  background: #2E5BBA;
  color: white;
}

@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

@keyframes sparkleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-10px) rotate(180deg);
    opacity: 1;
  }
}

/* Completion Overlay */
.completion-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 91, 186, 0.98), rgba(72, 118, 181, 0.98));
  backdrop-filter: blur(20px);
  z-index: 15;
}

.completion-message-content {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 3rem;
  animation: fadeInUp 0.8s ease-out;
}

.completion-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: bounceIn 0.8s ease-out 0.2s both;
}

.completion-title {
  font-family: 'Crimson Text', serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.completion-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.completion-exit-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.completion-exit-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

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

/* Interactive Quote Bubbles */
.interactive-quotes-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  position: relative;
}

.quote-bubble {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.15);
  border: 1px solid rgba(46, 91, 186, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.quote-bubble:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(46, 91, 186, 0.25);
  border-color: rgba(46, 91, 186, 0.2);
}

.quote-content {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.quote-content::before {
  content: "\201C";
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  color: rgba(46, 91, 186, 0.3);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  z-index: 1;
}

.quote-tail {
  position: absolute;
  bottom: -10px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 2px 4px rgba(46, 91, 186, 0.1));
}

.quote-tail-right {
  left: auto;
  right: 2rem;
}

/* Individual bubble styling with unique rotations and sizes */
.bubble-1 {
  transform: rotate(-2deg);
  background: linear-gradient(135deg, #e3f2fd, #f8f9fa);
}

.bubble-2 {
  transform: rotate(1deg);
  background: linear-gradient(135deg, #f3e5f5, #f8f9fa);
  grid-column: span 1;
}

.bubble-3 {
  transform: rotate(-1deg);
  background: linear-gradient(135deg, #e8f5e8, #f8f9fa);
}

.bubble-4 {
  transform: rotate(2deg);
  background: linear-gradient(135deg, #fff3e0, #f8f9fa);
}

.bubble-5 {
  transform: rotate(-1.5deg);
  background: linear-gradient(135deg, #fce4ec, #f8f9fa);
  grid-column: span 2;
}

.bubble-6 {
  transform: rotate(0.5deg);
  background: linear-gradient(135deg, #e1f5fe, #f8f9fa);
}

.bubble-7 {
  transform: rotate(-0.8deg);
  background: linear-gradient(135deg, #f1f8e9, #f8f9fa);
  grid-column: span 2;
}

/* Hover animations for individual bubbles */
.bubble-1:hover {
  transform: rotate(-2deg) translateY(-8px) scale(1.02);
}

.bubble-2:hover {
  transform: rotate(1deg) translateY(-8px) scale(1.02);
}

.bubble-3:hover {
  transform: rotate(-1deg) translateY(-8px) scale(1.02);
}

.bubble-4:hover {
  transform: rotate(2deg) translateY(-8px) scale(1.02);
}

.bubble-5:hover {
  transform: rotate(-1.5deg) translateY(-8px) scale(1.02);
}

.bubble-6:hover {
  transform: rotate(0.5deg) translateY(-8px) scale(1.02);
}

.bubble-7:hover {
  transform: rotate(-0.8deg) translateY(-8px) scale(1.02);
}

/* Balance and center quote bubbles on wide screens */
@media (min-width: 992px) {
  .interactive-quotes-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
  }

  /* Make each bubble span two columns for a clean 3-column layout */
  .interactive-quotes-container .quote-bubble {
    grid-column: span 2 !important;
  }

  /* Center the last single bubble on the final row (when count mod 3 = 1) */
  .interactive-quotes-container .quote-bubble:nth-child(7) {
    grid-column: 3 / span 2;
  }
}

/* Mobile responsiveness for quote bubbles */
@media (max-width: 768px) {
  .interactive-quotes-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .quote-bubble {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .bubble-5,
  .bubble-7 {
    grid-column: span 1;
  }
  
  .quote-content {
    font-size: 0.9rem;
  }
  
  .quote-content::before {
    font-size: 2.5rem;
    top: -0.8rem;
    left: -0.3rem;
  }
}

/* Navbar Styles */
.navbar {
  border-radius: 0;
  transition: background-color 0.3s, color 0.3s;
}

.navbar-brand {
  font-weight: bold;
  font-size: 24px;
}

.navbar-toggler-icon {
  font-size: 16px;
}

.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #2E5BBA;
  transition: width 0.3s ease;
}

.navbar-nav .nav-item:hover::after {
  width: 100%;
}

.navbar-nav .nav-item:nth-child(2) .nav-link {
  color: black;
}

.navbar-nav .nav-item:nth-child(2) .nav-link::after {
  width: 100%;
}

/* Responsive font size */
@media (max-width: 768px) {
  .navbar-nav .nav-link {
    font-size: 16px;
  }

  .site-title {
    font-size: 120px;
  }

  .title-section {
    padding-top: 120px;
  }
}

/* Title Section */
.title-section {
  padding-top: 256px;
}

.title-container {
  padding-left: 20px;
}

.site-title {
  --bg-size: 400%;
  --color-one: hsl(0, 0%, 0%);
  --color-two: #2E5BBA;
  font-size: clamp(3rem, 25vmin, 8rem);
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
              ) 0 0 / var(--bg-size) 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: move-bg 4s infinite linear;
  transition: letter-spacing 0.5s ease;
}

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

.site-title:hover {
  letter-spacing: 90px;
}

.title-container {
  padding-left: 17%;
}

.line {
  width: 100%;
  height: 5px;
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
            ) 0 0 / 200% 100%;
  animation: move-bg 4s infinite linear;
  --color-one: hsl(0, 0%, 0%);
  --color-two: #2E5BBA;
}

.line1 {
  width: 100%;
  height: 3px;
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
            ) 0 0 / 200% 100%;
  animation: move-bg 4s infinite linear;
  --color-one: #2E5BBA;
  --color-two: #28A745;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .title-section {
    padding-top: 120px;
  }
}

/* Disable hover effect on mobile */
@media (max-width: 768px) {
  .site-title {
    letter-spacing: normal;
  }
  .site-title:hover {
    letter-spacing: 3px;
  }

  .title-container {
    padding-left: 20px;
  }
}

/* Project Info Styles */
.project-info {
    text-align: left;
    padding-left: 0px;
}

.project-about {
  font-size: 32px;
}

.project-tagline {
  font-size: 18px;
  color: #6C757D;
  margin-top: 10px;
  font-style: italic;
}

/* Color Palette Styles */
.container1 {
  height: 200px;
  width: 700px;
  border-radius: 1em;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(46, 91, 186, 0.1);
  font-family: sans-serif;
  margin: 30px auto 0;
}

.palette {
  display: flex;
  height: 86%;
  width: 100%;
}

.color {
  height: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  transition: flex 0.1s linear;
}

.color span {
  opacity: 0;
  transition: opacity 0.1s linear;
}

/* Sanofi-IDEO Color Palette */
.color:nth-child(1) {
  background: #2E5BBA; /* Primary blue */
}

.color:nth-child(2) {
  background: #FFFFFF; /* Pure white */
  color: #333;
}

.color:nth-child(3) {
  background: #F8F9FA; /* Light grey */
  color: #333;
}

.color:nth-child(4) {
  background: #6C757D; /* Medium grey */
}

.color:nth-child(5) {
  background: #28A745; /* Success green */
}

.color:hover {
  flex: 2;
  box-shadow: rgba(46, 91, 186, 0.2) 0px 7px 29px 0px;
}

.color:hover span {
  opacity: 1;
}

#stats {
  height: 14%;
  width: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5em;
  box-sizing: border-box;
  color: #616161;
}

#stats svg {
  fill: #616161;
  transform: scale(1.2);
}

/* Hero Mockup Section */
.hero-mockup-section {
  padding-top: 0px;
  width: 100%;
  max-width: 600px;
  margin: 50px auto 0;
  overflow: hidden;
  position: relative;
}

.hero-mockup-section img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(46, 91, 186, 0.08);
  transition: transform 0.3s ease;
}

.hero-mockup-section:hover img {
  transform: translateY(-5px);
}

/* White Side Sections */
.white-side-section {
  background: #FAFBFC;
  color: rgb(0, 0, 0);
  position: relative;
  overflow: hidden;
  padding: 100px 40px;
  text-align: center;
  z-index: 0;
  margin: 0;
}

.white-side-title {
  --bg-size: 400%;
  --color-one: #2E5BBA;
  --color-two: #28A745;
  font-size: clamp(3rem, 25vmin, 8rem);
  background: linear-gradient(
                90deg,
                var(--color-one),
                var(--color-two),
                var(--color-one)
              ) 0 0 / var(--bg-size) 100%;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: move-bg 4s infinite linear;
  transition: letter-spacing 0.5s ease;
}

.white-side-title:hover {
  letter-spacing: 2px;
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none;
  }
}

.white-side-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 auto 35px auto;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #2C2C2C;
  max-width: 800px;
  text-align: center;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.white-side-smalltitle {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 auto 50px auto;
  color: #2E5BBA;
  max-width: 800px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0.9;
}

.white-side-paragraph {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 0 auto 80px auto;
  text-align: center;
  color: #4A4A4A;
  max-width: 700px;
  line-height: 1.8;
  font-weight: 400;
}

.lead-text {
  font-size: 1.3em !important;
  font-weight: 500;
  color: #2E5BBA !important;
  line-height: 1.4;
}

/* Problem Section Enhancements */
.problem-intro {
  margin-bottom: 40px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px auto;
  max-width: 75%;
}

.insight-card {
  background: #F8F9FA;
  padding: 35px 30px;
  border-radius: 16px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(46, 91, 186, 0.08);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.1);
  border-color: #2E5BBA;
}

.insight-card.patient-voices {
  border-left: 4px solid #28A745;
}

.insight-card.research-findings {
  border-left: 4px solid #2E5BBA;
}

.insight-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 15px;
}

.insight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insight-list li {
  padding: 12px 0;
  color: #495057;
  font-size: 1em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.insight-icon {
  width: 20px;
  height: 20px;
  stroke: #2E5BBA;
  flex-shrink: 0;
}

/* Key Insights Grid */
.key-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin: 80px auto;
  max-width: 1000px;
}

.insight-block.primary {
  background: transparent;
  padding: 0;
  border: none;
  transition: none;
  position: relative;
  display: block;
  text-align: center;
}

.insight-number {
  background: transparent;
  color: #2E5BBA;
  width: auto;
  height: auto;
  border-radius: 0;
  display: block;
  font-weight: 300;
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.3;
}

.insight-block.primary .insight-block-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2C2C2C;
  margin-bottom: 15px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.insight-block.primary .insight-block-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4A4A;
  margin: 0;
  font-weight: 400;
}

/* Image Styles */
.images-container {
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* Single Image Display */
.memory-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.12);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.memory-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 91, 186, 0.18);
}

.memory-image.enhanced {
  border: 3px solid #E9ECEF;
  box-shadow: 0 10px 36px rgba(46, 91, 186, 0.15);
}

/* Dual Image Layout for Portrait Images */
.images-container.dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.images-container.dual .memory-image {
  max-width: 100%;
  margin: 0;
}

.images-container.dual .image-caption {
  grid-column: 1 / -1;
  margin-top: 25px;
}

.image-caption {
  font-size: 0.95em;
  color: #2E5BBA;
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Project Title Styles */
.project-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5em;
}

.project-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 1em;
}

/* Related Projects Section */
#projects {
  background-color: #fff;
  padding: 50px 0;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
  color: inherit;
}

.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 140px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.description-text {
  font-size: 0.9rem;
  color: #6C757D;
  line-height: 1.4;
  flex-grow: 1;
}

/* Design Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin: 60px auto;
  max-width: 80%;
}

.principle-card {
  background: #F8F9FA;
  padding: 35px 30px;
  border-radius: 16px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(46, 91, 186, 0.08);
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.1);
  border-color: #2E5BBA;
}

.principle-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2E5BBA;
  border-radius: 12px;
  padding: 12px;
}

.principle-icon svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
}

.principle-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 12px;
}

.principle-description {
  color: #495057;
  font-size: 0.95em;
  line-height: 1.5;
  margin: 0;
}

.design-philosophy {
  margin: 60px auto;
  max-width: 70%;
}

.philosophy-quote {
  background: #2E5BBA;
  color: #FFFFFF;
  padding: 30px 40px;
  border-radius: 20px;
  font-size: 1.3em;
  line-height: 1.7;
  text-align: center;
  margin: 0;
  font-style: italic;
  position: relative;
  box-shadow: 0 8px 30px rgba(46, 91, 186, 0.25);
}

.philosophy-quote::before {
  content: '"';
  font-size: 3em;
  position: absolute;
  top: -10px;
  left: 20px;
  color: #28A745;
  line-height: 1;
}

/* Process Stages */
.process-overview {
  margin-bottom: 50px;
}

.process-stage {
  margin-bottom: 50px;
}

.process-content-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.process-content-layout.reverse {
  grid-template-columns: 1fr 1fr;
}

.process-content-layout.reverse .process-text {
  order: 2;
}

.process-content-layout.reverse .process-image {
  order: 1;
}

.process-text {
  padding-right: 30px;
}

.process-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.process-stage-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 15px;
}

.process-description {
  color: #495057;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.process-decisions,
.process-validation,
.process-learnings {
  background: #F8F9FA;
  padding: 20px;
  border-radius: 12px;
  border-left: 3px solid #2E5BBA;
  margin-top: 20px;
}

.decisions-title,
.validation-title,
.learnings-title {
  font-size: 1em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 10px;
}

.decisions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.decisions-list li {
  padding: 5px 0 5px 20px;
  color: #495057;
  position: relative;
  line-height: 1.4;
}

.decisions-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28A745;
  font-weight: bold;
}

.validation-text,
.learnings-text {
  color: #495057;
  font-size: 1em;
  line-height: 1.5;
  margin: 0;
}

/* Side Image Styles for Process Layouts */
.side-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(46, 91, 186, 0.12);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.side-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46, 91, 186, 0.18);
}

/* Enhanced responsive styles for mobile devices */
@media (max-width: 768px) {
  .white-side-section {
    padding: 60px 20px;
  }

  .hero-mockup-section {
    max-width: 320px; /* Slightly larger for better visibility */
    margin: 30px auto 0;
  }

  .white-side-title {
    max-width: 100%;
    margin-bottom: 30px;
    white-space: normal;
    overflow: visible;
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .white-side-smalltitle {
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
  }

  .white-side-paragraph {
    max-width: 100%;
    text-align: left;
    padding: 0 10px;
    margin-bottom: 60px;
  }

  .images-container {
    margin: 40px auto;
    padding: 0 15px;
  }

  .images-container.dual {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .memory-image {
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(46, 91, 186, 0.12);
  }

  .memory-image.enhanced {
    border: 2px solid #E9ECEF;
  }

  .image-caption {
    font-size: 0.9em;
    margin-top: 15px;
    padding: 0 10px;
  }

  .insight-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 25px;
    margin: 40px auto;
  }

  .insight-card {
    padding: 25px 20px;
  }

  .insight-icon {
    width: 18px;
    height: 18px;
  }

  .key-insights-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 60px auto;
  }

  .insight-number {
    font-size: 3rem;
  }

  .insight-block.primary .insight-block-title {
    font-size: 1.3rem;
    white-space: normal;
    overflow: visible;
    text-overflow: none;
  }

  .insight-block.primary .insight-block-text {
    font-size: 1rem;
  }

  .lead-text {
    font-size: 1.2em !important;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    max-width: 90%;
    gap: 25px;
    margin: 40px auto;
  }

  .principle-card {
    padding: 25px 20px;
  }

  .principle-icon {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .principle-icon svg {
    width: 20px;
    height: 20px;
  }

  .design-philosophy {
    max-width: 90%;
  }

  .philosophy-quote {
    padding: 20px;
    font-size: 1.1em;
  }

  .philosophy-quote::before {
    font-size: 2.5em;
    left: 15px;
  }

  .process-content-layout,
  .process-content-layout.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 30px auto;
    max-width: 90%;
  }

  .process-content-layout.reverse .process-text,
  .process-content-layout.reverse .process-image {
    order: initial;
  }

  .process-text {
    padding-right: 0;
  }

  .side-image {
    max-width: 100%;
  }

  .process-decisions,
  .process-validation,
  .process-learnings {
    padding: 15px;
  }
}

/* Generation Timeline */
.generation-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin: 80px auto;
  max-width: 1400px;
}

.generation-card {
  background: #F8F9FA;
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(46, 91, 186, 0.1);
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.generation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(46, 91, 186, 0.15);
  border-color: #2E5BBA;
}

.generation-card.gen1 {
  border-left: 4px solid #2E5BBA;
}

.generation-card.gen2 {
  border-left: 4px solid #28A745;
}

.generation-card.gen3 {
  border-left: 4px solid #6C757D;
}

.generation-card.gen4 {
  border-left: 4px solid #FFC107;
}

.generation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.generation-number {
  background: #2E5BBA;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.5px;
}

.generation-timeline {
  color: #6C757D;
  font-size: 1em;
  font-weight: 600;
  background: #E9ECEF;
  padding: 8px 16px;
  border-radius: 15px;
}

.generation-title {
  font-size: 1.6em;
  font-weight: 700;
  color: #2E5BBA;
  margin-bottom: 20px;
  line-height: 1.2;
}

.generation-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.generation-features li {
  padding: 12px 0 12px 25px;
  color: #495057;
  position: relative;
  line-height: 1.5;
  font-size: 1.05em;
  margin-bottom: 8px;
}

.generation-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2E5BBA;
  font-weight: bold;
  font-size: 1.2em;
}

.generation-image {
  margin-top: 30px;
  flex-shrink: 0;
}

.generation-image .memory-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(46, 91, 186, 0.15);
  transition: all 0.3s ease;
}

.generation-image .memory-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(46, 91, 186, 0.2);
}

/* Competitive Table */
.competitive-table-container {
  margin: 40px auto;
  max-width: 1000px;
  overflow-x: auto;
}

.competitive-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.08);
}

.competitive-table th {
  background: #2E5BBA;
  color: white;
  padding: 15px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9em;
}

.competitive-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #E9ECEF;
  font-size: 0.9em;
}

.device-name {
  text-align: left !important;
  font-weight: 500;
  color: #495057;
}

.flow-device {
  color: #2E5BBA !important;
  font-weight: 600 !important;
}

.feature-yes {
  color: #28A745;
  font-weight: 600;
}

.feature-partial {
  color: #FFC107;
  font-weight: 500;
}

.feature-no {
  color: #DC3545;
  font-weight: 500;
}

.flow-row {
  background: #F8F9FA;
  border: 2px solid #2E5BBA;
}

.competitive-insight {
  background: linear-gradient(135deg, #F8F9FA, #E9ECEF);
  padding: 25px 30px;
  border-radius: 16px;
  border-left: 4px solid #2E5BBA;
  margin: 40px auto;
  max-width: 80%;
}

.insight-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 10px;
}

.insight-text {
  color: #495057;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

/* Impact Grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
}

.impact-card {
  background: #F8F9FA;
  padding: 30px 25px;
  border-radius: 16px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.08);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.12);
  border-color: #2E5BBA;
}

.impact-card.patients {
  border-left: 4px solid #28A745;
}

.impact-card.pharma {
  border-left: 4px solid #2E5BBA;
}

.impact-card.environment {
  border-left: 4px solid #6C757D;
}

.impact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2E5BBA;
  border-radius: 12px;
  padding: 12px;
}

.impact-icon svg {
  width: 24px;
  height: 24px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
}

.impact-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 15px;
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.impact-list li {
  padding: 8px 0 8px 20px;
  color: #495057;
  position: relative;
  line-height: 1.4;
  font-size: 0.95em;
}

.impact-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28A745;
  font-weight: bold;
}

/* Before/After Storyboard */
.before-after-section {
  margin: 60px auto;
  max-width: 1000px;
}

.storyboard-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: start;
  margin: 40px auto;
}

.storyboard-frame {
  background: #F8F9FA;
  padding: 25px;
  border-radius: 16px;
  border: 2px solid #E9ECEF;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.08);
}

.storyboard-frame.before {
  border-left: 4px solid #DC3545;
}

.storyboard-frame.after {
  border-left: 4px solid #28A745;
}

.storyboard-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 15px;
  text-align: center;
}

.storyboard-content {
  color: #495057;
  font-size: 0.95em;
  line-height: 1.6;
}

.storyboard-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.storyboard-content li {
  padding: 6px 0 6px 20px;
  position: relative;
}

.storyboard-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2E5BBA;
  font-weight: bold;
}

.storyboard-arrow {
  font-size: 2em;
  color: #2E5BBA;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

/* Reflection Section */
.reflection-intro {
  margin-bottom: 40px;
}

.reflection-insights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 60px auto;
  max-width: 1000px;
}

.reflection-card {
  background: #F8F9FA;
  padding: 25px;
  border-radius: 16px;
  border-left: 4px solid #2E5BBA;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.08);
}

.reflection-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.12);
}

.reflection-subtitle {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 12px;
}

.reflection-text {
  color: #495057;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.next-steps {
  margin: 50px auto;
  max-width: 80%;
  background: linear-gradient(135deg, #F8F9FA, #E9ECEF);
  padding: 25px 30px;
  border-radius: 16px;
  border: 2px solid #2E5BBA;
}

.personal-note {
  margin: 50px auto;
  max-width: 70%;
}

.personal-quote {
  background: #2E5BBA;
  color: #FFFFFF;
  padding: 25px 30px;
  border-radius: 16px;
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin: 0;
  font-style: italic;
  position: relative;
  box-shadow: 0 8px 30px rgba(46, 91, 186, 0.25);
}

.personal-quote::before {
  content: '"';
  font-size: 3em;
  position: absolute;
  top: -10px;
  left: 20px;
  color: #28A745;
  line-height: 1;
}

/* Sources Grid */
.sources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
}

.source-category {
  background: #F8F9FA;
  padding: 25px;
  border-radius: 16px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(46, 91, 186, 0.08);
}

.source-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(46, 91, 186, 0.12);
  border-color: #2E5BBA;
}

.source-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2E5BBA;
  margin-bottom: 15px;
  text-align: center;
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.source-list li {
  padding: 8px 0 8px 20px;
  color: #495057;
  position: relative;
  line-height: 1.4;
  font-size: 0.95em;
  border-bottom: 1px solid #E9ECEF;
}

.source-list li:last-child {
  border-bottom: none;
}

.source-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2E5BBA;
  font-weight: bold;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .generation-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 50px auto;
    max-width: 95%;
  }

  .generation-card {
    padding: 25px;
    min-height: auto;
  }

  .generation-number {
    padding: 10px 16px;
    font-size: 1em;
  }

  .generation-timeline {
    font-size: 0.9em;
    padding: 6px 12px;
  }

  .generation-title {
    font-size: 1.4em;
  }

  .generation-features li {
    font-size: 1em;
    padding: 10px 0 10px 20px;
  }

  .competitive-table-container {
    margin: 20px auto;
  }

  .competitive-table th,
  .competitive-table td {
    padding: 8px 6px;
    font-size: 0.8em;
  }

  .competitive-insight {
    max-width: 90%;
    padding: 20px;
    margin: 30px auto;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px auto;
  }

  .impact-card {
    padding: 20px;
  }

  .storyboard-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .storyboard-arrow {
    transform: rotate(90deg);
    margin: 10px auto;
  }

  .reflection-insights {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px auto;
  }

  .reflection-card {
    padding: 20px;
  }

  .next-steps {
    max-width: 90%;
    padding: 20px;
    margin: 40px auto;
  }

  .personal-note {
    max-width: 90%;
  }

  .personal-quote {
    padding: 20px;
    font-size: 1em;
  }

  .personal-quote::before {
    font-size: 2.5em;
    left: 15px;
  }

  .sources-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px auto;
  }

  .source-category {
    padding: 20px;
  }
}

/* Device Character for Title */
.device-character-title {
  width: 180px;
  height: 180px;
  vertical-align: middle;
  margin-left: 24px;
  opacity: 0.9;
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
}

.device-character-title:hover {
  opacity: 1;
  transform: scale(1.15);
  animation-play-state: paused;
}

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