/* ============================================
   INTERFACIAL INTEGRITY BLOG - STYLES
   Brand Colors: Red #bf3425, Blue #47577c, Gray #9d9d9c
   Typography: Archivo (headers), Assistant (body)
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Assistant", sans-serif;
  font-weight: 400;
  color: #334155;
  line-height: 1.8;
  background-color: #fff;
}

/* ============================================
   LAYOUT
   ============================================ */
.blog-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 60px;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.blog-sidebar {
  position: sticky;
  top: 40px;
  width: 280px;
  min-width: 280px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-sidebar::-webkit-scrollbar {
  display: none;
}

.blog-sidebar-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9d9d9c;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 12px;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-sidebar-link {
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.blog-sidebar-link:hover {
  color: #47577c;
  background-color: #f8fafc;
}

.blog-sidebar-link.active {
  color: #bf3425;
  background-color: #fef7f6;
  font-weight: 700;
}

/* ============================================
   MOBILE NAVIGATION TOGGLE
   ============================================ */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(191, 52, 37, 0.4);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.blog-content {
  flex: 1;
  max-width: 900px;
}

/* ============================================
   BLOG META
   ============================================ */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.blog-content h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.15;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #1e293b;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #bf3425;
}

.blog-content h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #47577c;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.blog-content h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
}

.blog-content a {
  color: #47577c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-content a:hover {
  color: #bf3425;
}

/* Subtitle */
.subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: #47577c;
  margin-bottom: 2rem;
}

/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: "Archivo", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #bf3425;
  margin-right: 12px;
  margin-top: 8px;
}

/* ============================================
   IMAGES
   ============================================ */
.full-width-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.image-caption {
  font-size: 0.875rem;
  color: #9d9d9c;
  text-align: center;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* ============================================
   INTRO CARD
   ============================================ */
.intro-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle,
    rgba(191, 52, 37, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.intro-card h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* ============================================
   KEY QUESTION BOX
   ============================================ */
.key-question {
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
}

.key-question p {
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  font-style: italic;
  margin: 0;
}

/* ============================================
   DATA TABLES
   ============================================ */
.data-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table thead {
  background-color: #47577c;
  color: white;
}

.data-table th {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table.comparison-matrix {
  font-size: 0.85rem;
}

.data-table.comparison-matrix th,
.data-table.comparison-matrix td {
  padding: 0.75rem 1rem;
}

/* ============================================
   INFOGRAPHIC PLACEHOLDERS
   ============================================ */
.infographic-placeholder {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 2px dashed #cbd5e1;
}

.infographic-label {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #47577c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.infographic-description {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: #475569;
}

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.split-content {
  padding: 0;
}

.split-content h3,
.split-content h4 {
  margin-top: 0;
}

/* ============================================
   TWO COLUMN LIST
   ============================================ */
.two-column-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.two-column-list .column h4 {
  margin-top: 0;
  color: #47577c;
}

.two-column-list ul {
  margin-bottom: 0;
}

/* ============================================
   SPECS
   ============================================ */
.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
}

.spec-label {
  font-weight: 600;
  color: #475569;
}

.spec-value {
  color: #1e293b;
  text-align: right;
  flex: 1;
  padding-left: 1rem;
}

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

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

.stat-number {
  font-family: "Archivo", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #bf3425;
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.5rem;
  display: block;
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(191, 52, 37, 0.2);
}

.highlight-box h4 {
  margin-top: 0;
  color: #bf3425;
}

.highlight-box p {
  margin: 0;
  color: #1e293b;
}

.highlight-box ul {
  margin-bottom: 0;
}

/* ============================================
   CONCLUSIONS GRID
   ============================================ */
.conclusions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.conclusion-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.conclusion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.conclusion-number {
  position: absolute;
  top: -12px;
  left: 16px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #bf3425, #47577c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
}

.conclusion-card h4 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.conclusion-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #475569;
}

/* ============================================
   FINAL STATEMENT
   ============================================ */
.final-statement {
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.final-statement p {
  color: #ffffff;
  font-family: "Archivo", sans-serif;
  font-weight: 500;
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   REFERENCES
   ============================================ */
.references-list {
  font-size: 0.875rem;
  color: #475569;
}

.references-list p {
  margin-bottom: 1rem;
  padding-left: 2rem;
  text-indent: -2rem;
}

.references-list em {
  color: #47577c;
}

/* ============================================
   LEARN MORE SECTION
   ============================================ */
.learn-more-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.learn-more-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-card:hover {
  border-color: #bf3425;
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.15);
  transform: translateY(-2px);
}

.learn-more-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.learn-more-card:hover .learn-more-icon {
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
}

.learn-more-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.learn-more-text {
  display: flex;
  flex-direction: column;
}

.learn-more-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  transition: color 0.3s;
}

.learn-more-card:hover .learn-more-title {
  color: #bf3425;
}

.learn-more-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border: 2px solid #bf3425;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #bf3425, #47577c);
}

.cta-section p {
  margin-bottom: 1.25rem;
  color: #1e293b;
  font-size: 1.125rem;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  color: #ffffff !important;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.4);
  color: #ffffff;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */
.author-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.author-image-wrapper {
  flex-shrink: 0;
}

.author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 4px;
  text-decoration: underline;
  text-decoration-color: #bf3425;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.author-title {
  font-size: 1rem;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 16px;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 10px;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  transform: scale(1.1);
  background: #e2e8f0;
}

.author-social svg {
  width: 24px;
  height: 24px;
}

.about-author-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* ============================================
   SECTION SCROLL MARGIN
   ============================================ */
section {
  scroll-margin-top: 40px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablet Large & Below (1024px) */
@media (max-width: 1024px) {
  .blog-layout {
    flex-direction: column;
    gap: 32px;
  }

  .blog-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-width: 100%;
    max-height: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
  }

  .blog-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .blog-sidebar-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .blog-content {
    max-width: 100%;
  }

  .blog-content h1 {
    font-size: 2.25rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .split-layout.reverse {
    direction: ltr;
  }

  .two-column-list,
  .feature-grid,
  .conclusions-grid,
  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  .author-bio {
    text-align: center;
  }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .blog-layout {
    padding: 24px 16px;
  }

  .blog-content h1 {
    font-size: 2rem;
  }

  .blog-content h2 {
    font-size: 1.5rem;
  }

  /* Mobile Nav Toggle */
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide sidebar on mobile, show on toggle */
  .blog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: none;
    max-height: 100vh;
  }

  .blog-sidebar.active {
    transform: translateY(0);
  }

  .blog-sidebar-nav {
    flex-direction: column;
    gap: 4px;
  }

  .blog-sidebar-link {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .blog-sidebar-title {
    font-size: 12px;
    margin-bottom: 20px;
    padding-top: 40px;
  }

  .drop-cap::first-letter {
    font-size: 3.5rem;
  }

  .intro-card {
    padding: 1.5rem;
  }

  .key-question {
    padding: 1.25rem 1.5rem;
  }

  .key-question p {
    font-size: 1rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }

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

  .stat-number {
    font-size: 2rem;
  }

  .spec-item {
    flex-direction: column;
    gap: 4px;
  }

  .spec-value {
    text-align: left;
    padding-left: 0;
  }
}

/* Mobile Large (640px) */
@media (max-width: 640px) {
  .blog-layout {
    padding: 20px 12px;
  }

  .blog-content h1 {
    font-size: 1.75rem;
  }

  .intro-card,
  .highlight-box,
  .key-question {
    padding: 1.25rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .learn-more-card {
    padding: 1rem;
  }

  .learn-more-icon {
    width: 40px;
    height: 40px;
  }

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

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .final-statement {
    padding: 1.5rem;
  }

  .final-statement p {
    font-size: 1rem;
  }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
  .blog-layout {
    padding: 16px 10px;
  }

  .blog-content h1 {
    font-size: 1.5rem;
  }

  .blog-content h2 {
    font-size: 1.25rem;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .author-image {
    width: 120px;
    height: 120px;
  }

  .author-card {
    padding: 1.25rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin: 0 auto;
  }

  .cta-section {
    padding: 1.25rem;
  }

  .drop-cap::first-letter {
    font-size: 3rem;
  }

  .conclusion-card {
    padding: 1.25rem 1rem 1rem;
  }

  .data-table-container {
    margin: 1.5rem -10px;
    border-radius: 0;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .blog-sidebar,
  .mobile-nav-toggle,
  .cta-section,
  .author-social,
  .learn-more-container {
    display: none;
  }

  .blog-layout {
    display: block;
    padding: 0;
  }

  .blog-content {
    max-width: 100%;
  }

  .blog-content h1 {
    font-size: 24pt;
  }

  .blog-content h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .blog-content h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .full-width-image {
    max-width: 100%;
    page-break-inside: avoid;
  }

  .data-table-container {
    overflow: visible;
  }

  .data-table {
    font-size: 10pt;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  .intro-card,
  .highlight-box,
  .key-question {
    page-break-inside: avoid;
  }
}

/* ============================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
  .blog-sidebar-link.active {
    outline: 2px solid #bf3425;
  }

  .cta-button {
    border: 2px solid #ffffff;
  }

  .data-table th,
  .data-table td {
    border: 1px solid #334155;
  }
}

/* <!-- Infographic Placeholder 1 --> */
.compaction-roller-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.compaction-roller-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.compaction-roller-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.compaction-roller-diagram {
  position: relative;
  width: 100%;
  height: 450px;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border-radius: 12px;
  overflow: hidden;
}

/* Compaction Roller */
.roller-assembly {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.roller-assembly:hover {
  transform: translateX(-50%) scale(1.05);
}

.roller-shafts {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.roller-shaft {
  width: 6px;
  height: 20px;
  background: linear-gradient(180deg, #47577c 0%, #5a6b8a 100%);
  border-radius: 2px;
}

.roller-body {
  width: 160px;
  height: 40px;
  background: linear-gradient(180deg, #9d9d9c 0%, #7a7a7a 50%, #9d9d9c 100%);
  border-radius: 20px;
  margin: 0 auto;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  position: relative;
}

.roller-body::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  right: 10px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.roller-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
  text-align: center;
}

/* Incoming Tape */
.incoming-tape {
  position: absolute;
  top: 70px;
  left: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.incoming-tape:hover .tape-line {
  stroke-width: 14;
}

.tape-arrow {
  font-size: 14px;
  color: #bf3425;
  position: absolute;
  left: 0;
  top: 8px;
  animation: pulseArrow 1.5s ease-in-out infinite;
}

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

.tape-label {
  position: absolute;
  left: 0;
  top: -20px;
  font-size: 11px;
  font-weight: 600;
  color: #bf3425;
  white-space: nowrap;
}

/* Temperature Zones */
.temp-zone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.temp-zone:hover {
  transform: translateX(-50%) scale(1.02);
}

.temp-zone:hover .zone-bar {
  box-shadow: 0 0 20px rgba(191, 52, 37, 0.4);
}

.zone-bar {
  height: 24px;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.zone-label {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zone-label-left {
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
}

.temp-badge {
  background: #bf3425;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

/* Nip Point Zone */
.nip-point-zone {
  top: 115px;
}

.nip-point-zone .zone-bar {
  background: linear-gradient(90deg, #bf3425 0%, #ff6b5b 50%, #bf3425 100%);
  animation: heatPulse 2s ease-in-out infinite;
}

@keyframes heatPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* Interface Zone */
.interface-zone {
  top: 155px;
}

.interface-zone .zone-bar {
  background: linear-gradient(90deg, #d4553f 0%, #e8735f 50%, #d4553f 100%);
}

/* Liner Surface Zone */
.liner-surface-zone {
  top: 195px;
}

.liner-surface-zone .zone-bar {
  background: linear-gradient(180deg, #9d9d9c 0%, #b8b8b8 100%);
  border: 2px solid #8a8a8a;
}

/* Liner Bulk Zone */
.liner-bulk-zone {
  top: 235px;
  height: 60px;
}

.liner-bulk-zone .zone-bar {
  height: 60px;
  background: repeating-linear-gradient(
    45deg,
    #e8e8e8,
    #e8e8e8 10px,
    #d4d4d4 10px,
    #d4d4d4 20px
  );
  border: 2px solid #9d9d9c;
}

/* Mandrel/Support */
.mandrel-zone {
  top: 310px;
}

.mandrel-zone .zone-bar {
  height: 30px;
  background: linear-gradient(180deg, #47577c 0%, #3a4766 100%);
  border-radius: 4px 4px 8px 8px;
}

/* Temperature Gradient Sidebar */
.temp-gradient {
  position: absolute;
  right: 20px;
  top: 100px;
  width: 30px;
  height: 250px;
  border-radius: 15px;
  background: linear-gradient(
    180deg,
    #bf3425 0%,
    #e8735f 25%,
    #f4a896 50%,
    #d4d4d4 75%,
    #47577c 100%
  );
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.temp-gradient-label {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  right: 40px;
  white-space: nowrap;
}

.temp-gradient-label.high {
  top: -5px;
  color: #bf3425;
}

.temp-gradient-label.mid {
  top: 115px;
  color: #9d9d9c;
}

.temp-gradient-label.low {
  bottom: -5px;
  color: #47577c;
}

/* Tooltip */
.process-tooltip {
  position: absolute;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 220px;
  pointer-events: none;
}

.process-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.tooltip-title {
  font-size: 13px;
  font-weight: 700;
  color: #47577c;
  margin-bottom: 6px;
}

.tooltip-temp {
  font-size: 20px;
  font-weight: 700;
  color: #bf3425;
  margin-bottom: 4px;
}

.tooltip-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* Process Flow Arrows */
.flow-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #47577c;
  font-size: 16px;
  opacity: 0.6;
  animation: flowDown 1.5s ease-in-out infinite;
}

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

.flow-1 {
  top: 140px;
}
.flow-2 {
  top: 180px;
}
.flow-3 {
  top: 300px;
}

/* Legend */
.compaction-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-color.hot {
  background: linear-gradient(135deg, #bf3425, #ff6b5b);
}

.legend-color.warm {
  background: linear-gradient(135deg, #d4553f, #e8735f);
}

.legend-color.cool {
  background: linear-gradient(135deg, #9d9d9c, #b8b8b8);
}

.legend-color.cold {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
}

/* Source */
.compaction-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.compaction-source a {
  color: #47577c;
  text-decoration: none;
  font-weight: 500;
}

.compaction-source a:hover {
  text-decoration: underline;
}

/* Pressure indicator */
.pressure-arrows {
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
}

.pressure-arrow {
  width: 2px;
  height: 20px;
  background: #47577c;
  position: relative;
  animation: pressDown 1s ease-in-out infinite;
}

.pressure-arrow::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -4px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #47577c;
}

@keyframes pressDown {
  0%,
  100% {
    height: 20px;
  }
  50% {
    height: 25px;
  }
}

/* Heat radiation lines */
.heat-lines {
  position: absolute;
  top: 125px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  overflow: hidden;
  opacity: 0.4;
}

.heat-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #bf3425, transparent);
  animation: heatWave 2s ease-in-out infinite;
}

.heat-line:nth-child(1) {
  top: 0;
  animation-delay: 0s;
}
.heat-line:nth-child(2) {
  top: 8px;
  animation-delay: 0.5s;
}
.heat-line:nth-child(3) {
  top: 16px;
  animation-delay: 1s;
}

@keyframes heatWave {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(1);
  }
}

@media (max-width: 640px) {
  .compaction-roller-diagram {
    height: 500px;
  }

  .zone-label,
  .zone-label-left {
    font-size: 9px;
  }

  .temp-zone {
    width: 200px;
  }

  .temp-gradient {
    display: none;
  }
}
/* <!-- Infographic Placeholder 2 --> */
.plasma-treatment-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 950px;
  margin: 0 auto;
}

.plasma-treatment-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 8px;
  text-align: center;
}

.plasma-treatment-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.plasma-stages {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
}

@media (max-width: 768px) {
  .plasma-stages {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plasma-arrow {
    transform: rotate(90deg);
  }
}

/* Stage Cards */
.plasma-stage {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 320px;
}

.plasma-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.plasma-stage.untreated:hover {
  border-color: #9d9d9c;
}

.plasma-stage.treatment:hover {
  border-color: #bf3425;
}

.plasma-stage.activated:hover {
  border-color: #47577c;
}

.stage-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stage-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

/* Molecular Visualization */
.molecular-viz {
  height: 160px;
  position: relative;
  margin-bottom: 16px;
}

/* Carbon Chain Base */
.carbon-chain {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.carbon-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carbon-atom {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #47577c 0%, #3a4766 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  position: relative;
  z-index: 2;
}

.carbon-bond {
  width: 16px;
  height: 4px;
  background: #47577c;
  margin: 0 -7px;
  z-index: 1;
}

.hydrogen-bond {
  width: 3px;
  height: 20px;
  background: #9d9d9c;
  margin-top: -2px;
}

.hydrogen-atom {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #9d9d9c 0%, #7a7a7a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: white;
  margin-top: -2px;
}

/* Functional Groups for Activated Surface */
.functional-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oh-group {
  display: flex;
  align-items: center;
  gap: 1px;
}

.oxygen-atom {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #bf3425 0%, #8f2519 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.oxygen-atom.small {
  width: 18px;
  height: 18px;
  font-size: 9px;
}

.double-bond {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -2px;
}

.double-bond-line {
  width: 3px;
  height: 12px;
  background: #bf3425;
}

.carbonyl-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Plasma Species */
.plasma-species {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.plasma-particle {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatDown 2s ease-in-out infinite;
}

.plasma-particle:nth-child(1) {
  animation-delay: 0s;
}
.plasma-particle:nth-child(2) {
  animation-delay: 0.3s;
}
.plasma-particle:nth-child(3) {
  animation-delay: 0.6s;
}
.plasma-particle:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes floatDown {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(15px);
    opacity: 0.7;
  }
}

.particle-symbol {
  font-size: 14px;
  font-weight: 700;
  color: #bf3425;
  background: rgba(191, 52, 37, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
}

.particle-arrow {
  font-size: 12px;
  color: #bf3425;
  margin-top: 4px;
}

/* Plasma Glow Effect */
.plasma-glow {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 60px;
  background: radial-gradient(
    ellipse,
    rgba(191, 52, 37, 0.2) 0%,
    transparent 70%
  );
  animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
  }
}

/* Stage Properties */
.stage-properties {
  margin-top: 12px;
}

.property-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.property-label {
  color: #64748b;
}

.property-value {
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.property-value.low {
  background: rgba(157, 157, 156, 0.2);
  color: #6b6b6b;
}

.property-value.high {
  background: rgba(71, 87, 124, 0.15);
  color: #47577c;
}

.property-value.process {
  background: rgba(191, 52, 37, 0.15);
  color: #bf3425;
}

/* Contact Angle Visualization */
.contact-angle-viz {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 40px;
  margin-top: 8px;
}

.droplet {
  position: relative;
}

.droplet-untreated {
  width: 40px;
  height: 20px;
  background: linear-gradient(
    180deg,
    rgba(100, 149, 237, 0.6) 0%,
    rgba(65, 105, 225, 0.8) 100%
  );
  border-radius: 50% 50% 50% 50% / 80% 80% 20% 20%;
}

.droplet-activated {
  width: 50px;
  height: 12px;
  background: linear-gradient(
    180deg,
    rgba(100, 149, 237, 0.6) 0%,
    rgba(65, 105, 225, 0.8) 100%
  );
  border-radius: 50% 50% 50% 50% / 100% 100% 0% 0%;
}

.surface-line {
  width: 60px;
  height: 2px;
  background: #47577c;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Arrow between stages */
.plasma-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #bf3425;
}

.plasma-arrow svg {
  width: 32px;
  height: 32px;
}

/* Tooltip on hover */
.stage-tooltip {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 200px;
  z-index: 10;
}

.plasma-stage:hover .stage-tooltip {
  opacity: 1;
  visibility: visible;
  bottom: -90px;
}

.tooltip-text {
  font-size: 11px;
  color: #475569;
  line-height: 1.5;
}

/* Legend */
.plasma-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.legend-atom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: white;
}

.legend-atom.carbon {
  background: linear-gradient(135deg, #47577c 0%, #3a4766 100%);
}

.legend-atom.hydrogen {
  background: linear-gradient(135deg, #9d9d9c 0%, #7a7a7a 100%);
}

.legend-atom.oxygen {
  background: linear-gradient(135deg, #bf3425 0%, #8f2519 100%);
}

/* Source */
.plasma-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.plasma-source a {
  color: #47577c;
  text-decoration: none;
  font-weight: 500;
}

.plasma-source a:hover {
  text-decoration: underline;
}

/* Animation for activated surface */
.plasma-stage.activated .functional-group {
  animation: popIn 0.5s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Spark effects for plasma */
.spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #bf3425;
  border-radius: 50%;
  animation: sparkle 1s ease-out infinite;
}

.spark:nth-child(1) {
  top: 70px;
  left: 30%;
  animation-delay: 0s;
}
.spark:nth-child(2) {
  top: 80px;
  left: 50%;
  animation-delay: 0.2s;
}
.spark:nth-child(3) {
  top: 75px;
  left: 70%;
  animation-delay: 0.4s;
}
.spark:nth-child(4) {
  top: 85px;
  left: 40%;
  animation-delay: 0.6s;
}
.spark:nth-child(5) {
  top: 78px;
  left: 60%;
  animation-delay: 0.8s;
}

@keyframes sparkle {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}
/* <!-- Infographic Placeholder 3 --> */
.laser-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.laser-header {
  text-align: center;
  margin-bottom: 32px;
}

.laser-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.laser-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Main Content Grid */
.laser-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}

@media (max-width: 768px) {
  .laser-content {
    grid-template-columns: 1fr;
  }
}

/* Visualization Panel */
.viz-panel {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

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

.viz-title {
  font-size: 14px;
  font-weight: 600;
  color: #47577c;
  display: flex;
  align-items: center;
  gap: 8px;
}

.viz-title svg {
  width: 18px;
  height: 18px;
}

.viz-badge {
  background: #47577c;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
}

/* Cross Section Diagram */
.cross-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-align: center;
}

/* Groove Visualization SVG */
.groove-svg-container {
  width: 100%;
  height: 200px;
  position: relative;
}

.groove-svg {
  width: 100%;
  height: 100%;
}

/* CFRP Layer */
.cfrp-layer {
  fill: #47577c;
}

/* Infiltration gradient */
.infiltration-layer {
  fill: url(#infiltrationGradient);
}

/* Groove walls */
.groove-wall {
  fill: #9d9d9c;
  transition: all 0.3s ease;
}

.groove-wall:hover {
  fill: #bf3425;
}

/* Liner base */
.liner-layer {
  fill: #e2e8f0;
  stroke: #cbd5e1;
  stroke-width: 1;
}

/* Dimension lines */
.dim-line {
  stroke: #bf3425;
  stroke-width: 1.5;
}

.dim-arrow {
  fill: #bf3425;
}

.dim-text {
  font-size: 11px;
  font-weight: 600;
  fill: #bf3425;
}

/* Layer labels */
.layer-label {
  font-size: 11px;
  font-weight: 600;
}

.label-cfrp {
  fill: #ffffff;
}

.label-liner {
  fill: #475569;
}

/* Infiltration Animation Arrows */
.infiltration-arrows {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
  padding: 0 40px;
}

.infil-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: arrowPulse 2s ease-in-out infinite;
}

.infil-arrow:nth-child(1) {
  animation-delay: 0s;
}
.infil-arrow:nth-child(2) {
  animation-delay: 0.3s;
}
.infil-arrow:nth-child(3) {
  animation-delay: 0.6s;
}
.infil-arrow:nth-child(4) {
  animation-delay: 0.9s;
}

@keyframes arrowPulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}

.infil-label {
  font-size: 9px;
  font-weight: 600;
  color: #47577c;
}

.infil-icon {
  color: #47577c;
  font-size: 14px;
}

/* Scale Bar */
.scale-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.scale-line {
  width: 60px;
  height: 4px;
  background: #47577c;
  border-radius: 2px;
  position: relative;
}

.scale-line::before,
.scale-line::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 10px;
  background: #47577c;
  top: -3px;
}

.scale-line::before {
  left: 0;
}
.scale-line::after {
  right: 0;
}

.scale-text {
  font-size: 11px;
  font-weight: 600;
  color: #47577c;
}

/* Parameters Panel */
.params-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.param-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.param-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.param-card.depth {
  border-left: 4px solid #bf3425;
}

.param-card.spacing {
  border-left: 4px solid #47577c;
}

.param-card.roughness {
  border-left: 4px solid #9d9d9c;
}

.param-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.param-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.param-icon.depth {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #bf3425;
}

.param-icon.spacing {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #47577c;
}

.param-icon.roughness {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: #6b7280;
}

.param-icon svg {
  width: 18px;
  height: 18px;
}

.param-info {
  flex: 1;
}

.param-label {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.param-value {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
}

.param-value span {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}

.param-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}

/* Process Card */
.process-card {
  background: linear-gradient(135deg, #47577c 0%, #5a6b8a 100%);
  border-radius: 12px;
  padding: 18px;
  color: white;
}

.process-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.process-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon svg {
  width: 16px;
  height: 16px;
}

.process-title {
  font-size: 13px;
  font-weight: 600;
}

.process-desc {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.5;
}

/* Feature Tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 500;
}

/* Legend Section */
.legend-section {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 20px;
  height: 14px;
  border-radius: 4px;
}

.legend-color.cfrp {
  background: #47577c;
}

.legend-color.groove {
  background: #9d9d9c;
}

.legend-color.liner {
  background: #e2e8f0;
  border: 1px solid #cbd5e1;
}

.legend-text {
  font-size: 12px;
  color: #475569;
}

/* Source */
.source-text {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 20px;
}

.source-text a {
  color: #47577c;
  font-weight: 600;
  text-decoration: none;
}

.source-text a:hover {
  text-decoration: underline;
}
/* <!-- Infographic Placeholder 4 --> */
.process-window-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 950px;
  margin: 0 auto;
}

.process-window-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
  text-align: center;
}

.process-window-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.process-window-content {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
}

@media (max-width: 768px) {
  .process-window-content {
    grid-template-columns: 1fr;
  }
}

/* Chart Area */
.chart-area {
  position: relative;
  background: #fafbfc;
  border-radius: 12px;
  padding: 20px 20px 20px 60px;
  min-height: 400px;
}

/* Y-Axis */
.y-axis {
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 60px;
  width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-right: 10px;
}

.y-axis-label {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
  white-space: nowrap;
}

.y-tick {
  font-size: 11px;
  color: #64748b;
}

/* X-Axis */
.x-axis {
  position: absolute;
  left: 60px;
  right: 20px;
  bottom: 20px;
  height: 40px;
}

.x-axis-ticks {
  display: flex;
  justify-content: space-between;
  padding-top: 8px;
}

.x-tick {
  font-size: 11px;
  color: #64748b;
  text-align: center;
}

.x-axis-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
  margin-top: 8px;
}

/* Process Window Chart */
.process-chart {
  position: relative;
  width: 100%;
  height: 320px;
  border-left: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}

/* Grid Lines */
.grid-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.grid-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.grid-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e2e8f0;
}

/* Zone Layers */
.zone-layer {
  position: absolute;
  cursor: pointer;
  transition: all 0.3s ease;
}

.zone-layer:hover {
  filter: brightness(1.1);
}

.zone-layer:hover .zone-label {
  transform: scale(1.05);
}

/* Liner Collapse Zone */
.collapse-zone {
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 25%,
    70% 35%,
    40% 30%,
    20% 25%,
    0% 20%
  );
  background: linear-gradient(180deg, #bf3425 0%, #d4553f 100%);
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0.9;
}

/* Optimal Zone */
.optimal-zone {
  clip-path: polygon(
    0% 20%,
    20% 25%,
    40% 30%,
    70% 35%,
    100% 25%,
    100% 60%,
    80% 65%,
    50% 60%,
    25% 62%,
    0% 55%
  );
  background: linear-gradient(180deg, #47577c 0%, #5a6b8a 50%, #47577c 100%);
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0.9;
}

/* Insufficient Bonding Zone */
.insufficient-zone {
  clip-path: polygon(
    0% 55%,
    25% 62%,
    50% 60%,
    80% 65%,
    100% 60%,
    100% 100%,
    0% 100%
  );
  background: linear-gradient(180deg, #b8b8b8 0%, #9d9d9c 100%);
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  opacity: 0.9;
}

/* Zone Labels */
.zone-label {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

.collapse-label {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.optimal-label {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

.insufficient-label {
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
}

/* Optimal Point Marker */
.optimal-point {
  position: absolute;
  top: 42%;
  left: 45%;
  width: 16px;
  height: 16px;
  background: white;
  border: 3px solid #47577c;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
  animation: pulsePoint 2s ease-in-out infinite;
}

@keyframes pulsePoint {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(71, 87, 124, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(71, 87, 124, 0);
  }
}

.optimal-point-label {
  position: absolute;
  top: 34%;
  left: 45%;
  transform: translateX(-50%);
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #47577c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 10;
}

/* Boundary Lines */
.boundary-line {
  position: absolute;
  stroke: white;
  stroke-width: 2;
  stroke-dasharray: 6 4;
  fill: none;
  opacity: 0.7;
}

/* Tooltip */
.zone-tooltip {
  position: absolute;
  background: white;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 220px;
}

.zone-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tooltip-indicator {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.tooltip-indicator.collapse {
  background: #bf3425;
}
.tooltip-indicator.optimal {
  background: #47577c;
}
.tooltip-indicator.insufficient {
  background: #9d9d9c;
}

.tooltip-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.tooltip-params {
  font-size: 11px;
  color: #47577c;
  font-weight: 600;
  margin-bottom: 6px;
}

.tooltip-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Info Panel */
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zone-card {
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.zone-card:hover {
  transform: translateX(4px);
}

.zone-card.collapse {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-left: 4px solid #bf3425;
}

.zone-card.collapse:hover {
  border-color: #bf3425;
}

.zone-card.optimal {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-left: 4px solid #47577c;
}

.zone-card.optimal:hover {
  border-color: #47577c;
}

.zone-card.insufficient {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-left: 4px solid #9d9d9c;
}

.zone-card.insufficient:hover {
  border-color: #9d9d9c;
}

.zone-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.zone-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zone-icon.collapse {
  background: rgba(191, 52, 37, 0.15);
  color: #bf3425;
}
.zone-icon.optimal {
  background: rgba(71, 87, 124, 0.15);
  color: #47577c;
}
.zone-icon.insufficient {
  background: rgba(157, 157, 156, 0.2);
  color: #6b6b6b;
}

.zone-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.zone-card-params {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.zone-card-params.collapse {
  color: #bf3425;
}
.zone-card-params.optimal {
  color: #47577c;
}
.zone-card-params.insufficient {
  color: #6b6b6b;
}

.zone-card-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* Process Parameters */
.process-params {
  background: linear-gradient(135deg, #47577c 0%, #3a4766 100%);
  border-radius: 10px;
  padding: 14px;
  color: white;
  margin-top: 8px;
}

.params-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.param-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
}

.param-label {
  opacity: 0.8;
}

.param-value {
  font-weight: 600;
}

/* Legend */
.process-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.legend-box {
  width: 20px;
  height: 14px;
  border-radius: 3px;
}

.legend-box.collapse {
  background: linear-gradient(135deg, #bf3425, #d4553f);
}
.legend-box.optimal {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
}
.legend-box.insufficient {
  background: linear-gradient(135deg, #9d9d9c, #b8b8b8);
}

/* Source */
.process-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.process-source a {
  color: #47577c;
  text-decoration: none;
  font-weight: 500;
}

.process-source a:hover {
  text-decoration: underline;
}

/* Crosshair on hover */
.crosshair-h,
.crosshair-v {
  position: absolute;
  background: rgba(71, 87, 124, 0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.crosshair-h {
  left: 0;
  right: 0;
  height: 1px;
}

.crosshair-v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.process-chart:hover .crosshair-h,
.process-chart:hover .crosshair-v {
  opacity: 1;
}

/* Coordinate display */
.coord-display {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-family: "Courier New", monospace;
  color: #47577c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.process-chart:hover .coord-display {
  opacity: 1;
}
/* <!-- Infographic Placeholder 5 --> */
.cte-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.cte-header {
  text-align: center;
  margin-bottom: 32px;
}

.cte-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.cte-subtitle {
  font-size: 14px;
  color: #64748b;
}

/* State Comparison Section */
.states-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .states-section {
    flex-direction: column;
  }
}

/* State Cards */
.state-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.state-card.hot {
  border: 2px solid #bf3425;
}

.state-card.cold {
  border: 2px solid #47577c;
}

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}

.state-badge.hot {
  background: #fef2f2;
  color: #bf3425;
}

.state-badge.cold {
  background: #eff6ff;
  color: #47577c;
}

.state-badge svg {
  width: 14px;
  height: 14px;
}

/* Layer Diagram */
.layer-diagram {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.layer-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.layer-row:last-child {
  margin-bottom: 0;
}

.layer-bar {
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  flex: 1;
  position: relative;
}

.layer-bar.composite {
  background: linear-gradient(135deg, #47577c 0%, #5a6b8a 100%);
}

.layer-bar.liner {
  background: linear-gradient(135deg, #9d9d9c 0%, #b8b8b8 100%);
}

.layer-bar.liner.compressed {
  margin: 0 15px;
  position: relative;
}

/* Compression Arrows */
.compression-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: calc(100% + 30px);
  left: -15px;
  pointer-events: none;
}

.arrow-in {
  font-size: 18px;
  font-weight: 700;
  color: #bf3425;
  animation: pulseArrow 1.5s ease-in-out infinite;
}

@keyframes pulseArrow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* CTE Labels */
.cte-values {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.cte-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cte-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.cte-dot.composite {
  background: #47577c;
}
.cte-dot.liner {
  background: #9d9d9c;
}

.cte-text {
  font-size: 11px;
  color: #475569;
}

.cte-text strong {
  color: #1e293b;
}

/* State Description */
.state-desc {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.state-desc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.state-desc-icon.equilibrium {
  background: #dcfce7;
  color: #16a34a;
}

.state-desc-icon.stressed {
  background: #fef2f2;
  color: #bf3425;
}

.state-desc-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
}

.state-desc-text strong {
  color: #1e293b;
  display: block;
  margin-bottom: 2px;
}

/* Transition Arrow */
.transition-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}

.arrow-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #47577c 0%, #5a6b8a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.3);
}

.arrow-circle svg {
  width: 24px;
  height: 24px;
}

.transition-label {
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
  text-align: center;
}

.transition-temp {
  font-size: 11px;
  color: #64748b;
}

/* Chart Section */
.chart-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.chart-title {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 24px;
}

.chart-wrapper {
  position: relative;
  height: 220px;
  padding: 20px 20px 40px 60px;
}

/* Chart SVG */
.stress-chart-svg {
  width: 100%;
  height: 100%;
}

/* Axis styles */
.axis-line {
  stroke: #47577c;
  stroke-width: 2;
}

.axis-label {
  font-size: 12px;
  font-weight: 600;
  fill: #47577c;
}

.tick-label {
  font-size: 10px;
  fill: #64748b;
}

/* Curve styles */
.stress-curve {
  fill: none;
  stroke: #bf3425;
  stroke-width: 3;
  stroke-linecap: round;
}

.stress-area {
  fill: url(#stressGradient);
}

/* Annotations */
.annotation-text {
  font-size: 11px;
  font-weight: 600;
}

.peak-label {
  fill: #bf3425;
}

.edge-label {
  fill: #64748b;
}

/* Zero line */
.zero-line {
  stroke: #cbd5e1;
  stroke-width: 1;
  stroke-dasharray: 6 4;
}

/* Key Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.insight-card.shear {
  border-top: 4px solid #bf3425;
}

.insight-card.compression {
  border-top: 4px solid #47577c;
}

.insight-card.edge {
  border-top: 4px solid #9d9d9c;
}

.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.insight-icon.shear {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #bf3425;
}

.insight-icon.compression {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #47577c;
}

.insight-icon.edge {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: #6b7280;
}

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

.insight-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.insight-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* Legend */
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-color {
  width: 24px;
  height: 12px;
  border-radius: 4px;
}

.legend-color.composite {
  background: linear-gradient(90deg, #47577c, #5a6b8a);
}

.legend-color.liner {
  background: linear-gradient(90deg, #9d9d9c, #b8b8b8);
}

.legend-color.stress {
  background: linear-gradient(90deg, #bf3425, #d4553f);
}

.legend-text {
  font-size: 12px;
  color: #475569;
}

/* Source */
.source-text {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 20px;
}

.source-text a {
  color: #47577c;
  font-weight: 600;
  text-decoration: none;
}

.source-text a:hover {
  text-decoration: underline;
}
/* <!-- Infographic Placeholder 6 --> */
.copv-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 950px;
  margin: 0 auto;
}

.copv-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
  text-align: center;
}

.copv-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.copv-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .copv-content {
    grid-template-columns: 1fr;
  }
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: white;
  background: #47577c;
  padding: 4px 10px;
  border-radius: 4px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

/* COPV Cross-Section Panel */
.copv-cross-section {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 20px;
  position: relative;
}

/* Cross-Section Diagram */
.cross-section-diagram {
  position: relative;
  width: 100%;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* COPV Vessel Shape */
.copv-vessel {
  position: relative;
  width: 280px;
  height: 280px;
}

/* Layers */
.layer-boss {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 40px;
  background: linear-gradient(180deg, #9d9d9c 0%, #7a7a7a 50%, #9d9d9c 100%);
  border-radius: 8px 8px 0 0;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.layer-boss::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 20px;
  background: linear-gradient(180deg, #7a7a7a 0%, #5a5a5a 100%);
  border-radius: 0 0 4px 4px;
}

.layer-boss:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.layer-composite {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  background: linear-gradient(
    135deg,
    #47577c 0%,
    #5a6b8a 25%,
    #47577c 50%,
    #5a6b8a 75%,
    #47577c 100%
  );
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.layer-composite:hover {
  transform: translateX(-50%) scale(1.02);
  box-shadow:
    0 0 20px rgba(71, 87, 124, 0.4),
    inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Fiber pattern overlay */
.layer-composite::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 4px,
    rgba(255, 255, 255, 0.05) 4px,
    rgba(255, 255, 255, 0.05) 8px
  );
  border-radius: 20px;
}

.layer-liner {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 50%, #e8e8e8 100%);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.layer-liner:hover {
  transform: translateX(-50%) scale(1.02);
  box-shadow:
    0 0 15px rgba(157, 157, 156, 0.4),
    inset 0 0 15px rgba(0, 0, 0, 0.1);
}

.layer-storage {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #dbeafe 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.layer-storage:hover {
  transform: translateX(-50%) scale(1.03);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* H2 Symbol */
.h2-symbol {
  font-size: 32px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}

.h2-subscript {
  font-size: 20px;
  vertical-align: sub;
}

.storage-label {
  font-size: 11px;
  font-weight: 600;
  color: #1e40af;
  text-align: center;
}

.storage-pressure {
  font-size: 14px;
  font-weight: 700;
  color: #1e40af;
  margin-top: 4px;
}

/* Floating molecules animation */
.h2-molecules {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 12px;
}

.molecule {
  position: absolute;
  font-size: 10px;
  color: rgba(59, 130, 246, 0.4);
  animation: float 4s ease-in-out infinite;
}

.molecule:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}
.molecule:nth-child(2) {
  top: 60%;
  left: 70%;
  animation-delay: 1s;
}
.molecule:nth-child(3) {
  top: 40%;
  left: 30%;
  animation-delay: 2s;
}
.molecule:nth-child(4) {
  top: 70%;
  left: 50%;
  animation-delay: 0.5s;
}
.molecule:nth-child(5) {
  top: 30%;
  left: 60%;
  animation-delay: 1.5s;
}

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

/* Layer Labels */
.layer-label {
  position: absolute;
  font-size: 10px;
  font-weight: 600;
  background: white;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 20;
}

.layer-label.visible {
  opacity: 1;
}

.label-boss {
  top: 5px;
  right: -90px;
  color: #6b6b6b;
}
.label-composite {
  top: 80px;
  right: -100px;
  color: #47577c;
}
.label-liner {
  top: 150px;
  right: -85px;
  color: #9d9d9c;
}

/* Connector Lines */
.connector-line {
  position: absolute;
  background: #cbd5e1;
  height: 1px;
  width: 0;
  transition: width 0.3s ease;
}

.connector-line.visible {
  width: 20px;
}

.conn-boss {
  top: 20px;
  right: 100px;
}
.conn-composite {
  top: 120px;
  right: 20px;
}
.conn-liner {
  top: 190px;
  right: 40px;
}

/* Interface Detail Panel */
.interface-detail {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 20px;
}

.interface-diagram {
  position: relative;
  height: 250px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

/* Interface Layers */
.interface-layer {
  position: absolute;
  left: 0;
  right: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interface-layer:hover {
  transform: scaleY(1.05);
}

/* CFRP Matrix Layer */
.cfrp-matrix {
  top: 0;
  height: 60px;
  background: linear-gradient(180deg, #47577c 0%, #5a6b8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfrp-matrix:hover {
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.4);
}

.matrix-label {
  color: white;
  font-size: 12px;
  font-weight: 600;
}

/* Infiltration Zone */
.infiltration-zone {
  top: 60px;
  height: 50px;
  background: linear-gradient(
    180deg,
    rgba(71, 87, 124, 0.8) 0%,
    rgba(71, 87, 124, 0.5) 30%,
    rgba(71, 87, 124, 0.3) 60%,
    rgba(71, 87, 124, 0.1) 100%
  );
  position: relative;
}

/* Groove Pattern */
.grooves-container {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
}

.groove {
  width: 24px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.groove:hover {
  transform: scaleX(1.2);
}

.groove:hover .groove-wall {
  background: #bf3425;
  box-shadow: 0 0 10px rgba(191, 52, 37, 0.5);
}

.groove-wall {
  position: absolute;
  width: 6px;
  height: 45px;
  background: #9d9d9c;
  transition: all 0.3s ease;
}

.groove-wall.left {
  left: 0;
}
.groove-wall.right {
  right: 0;
}

.groove-fill {
  position: absolute;
  top: 0;
  left: 6px;
  right: 6px;
  height: 35px;
  background: linear-gradient(
    180deg,
    rgba(71, 87, 124, 0.8) 0%,
    rgba(71, 87, 124, 0.4) 100%
  );
  animation: infiltrate 3s ease-in-out infinite;
}

@keyframes infiltrate {
  0%,
  100% {
    height: 30px;
    opacity: 0.7;
  }
  50% {
    height: 40px;
    opacity: 1;
  }
}

/* PA11 Liner Base */
.liner-base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, #b8b8b8 0%, #9d9d9c 30%, #8a8a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.liner-base:hover {
  box-shadow: 0 -4px 12px rgba(157, 157, 156, 0.4);
}

.liner-label {
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Dimension Annotations */
.dimension-annotation {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #bf3425;
}

.dim-spacing {
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.dim-depth {
  right: 10px;
  top: 130px;
  flex-direction: column;
}

.dim-line-h {
  width: 40px;
  height: 2px;
  background: #bf3425;
  position: relative;
}

.dim-line-h::before,
.dim-line-h::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 8px;
  background: #bf3425;
  top: -3px;
}

.dim-line-h::before {
  left: 0;
}
.dim-line-h::after {
  right: 0;
}

.dim-line-v {
  width: 2px;
  height: 30px;
  background: #bf3425;
  position: relative;
}

.dim-line-v::before,
.dim-line-v::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 8px;
  background: #bf3425;
  left: -3px;
}

.dim-line-v::before {
  top: 0;
}
.dim-line-v::after {
  bottom: 0;
}

/* Interface Labels */
.interface-labels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interface-label-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: white;
  border-radius: 6px;
  border-left: 3px solid;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.interface-label-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.interface-label-item.cfrp {
  border-left-color: #47577c;
}
.interface-label-item.infiltration {
  border-left-color: #bf3425;
}
.interface-label-item.liner {
  border-left-color: #9d9d9c;
}

.label-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: white;
}

.label-icon.cfrp {
  background: #47577c;
}
.label-icon.infiltration {
  background: #bf3425;
}
.label-icon.liner {
  background: #9d9d9c;
}

.label-text {
  color: #475569;
}

.label-text strong {
  color: #1e293b;
  display: block;
  margin-bottom: 2px;
}

/* Tooltip */
.copv-tooltip {
  position: fixed;
  background: white;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 220px;
}

.copv-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tooltip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tooltip-dot.boss {
  background: #9d9d9c;
}
.tooltip-dot.composite {
  background: #47577c;
}
.tooltip-dot.liner {
  background: #b8b8b8;
}
.tooltip-dot.storage {
  background: #3b82f6;
}

.tooltip-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.tooltip-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Legend */
.copv-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #475569;
}

.legend-swatch {
  width: 20px;
  height: 14px;
  border-radius: 3px;
}

.legend-swatch.boss {
  background: linear-gradient(135deg, #9d9d9c, #7a7a7a);
}
.legend-swatch.composite {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
}
.legend-swatch.liner {
  background: linear-gradient(135deg, #d4d4d4, #b8b8b8);
}
.legend-swatch.h2 {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd);
}

/* Source */
.copv-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.copv-source a {
  color: #47577c;
  text-decoration: none;
  font-weight: 500;
}

.copv-source a:hover {
  text-decoration: underline;
}

/* Zoom indicator */
.zoom-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(71, 87, 124, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 9px;
  color: #47577c;
  display: flex;
  align-items: center;
  gap: 4px;
}

.zoom-icon {
  width: 12px;
  height: 12px;
}
/* <!-- Infographic Placeholder 7 --> */
.hybrid-panel-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.hybrid-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
  text-align: center;
}

.hybrid-panel-subtitle {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  text-align: center;
}

.hybrid-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

@media (max-width: 768px) {
  .hybrid-content {
    grid-template-columns: 1fr;
  }
}

/* Panel Visualization */
.panel-visualization {
  background: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.viz-title {
  font-size: 13px;
  font-weight: 600;
  color: #47577c;
  text-align: center;
  margin-bottom: 20px;
}

/* 3D Panel Assembly */
.panel-assembly {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1000px;
}

.panel-3d {
  position: relative;
  width: 320px;
  height: 340px;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(-10deg);
  transition: transform 0.5s ease;
}

.panel-assembly:hover .panel-3d {
  transform: rotateX(10deg) rotateY(-5deg);
}

/* Layer Base Styles */
.panel-layer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.panel-layer:hover {
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Steel Outer Panel */
.layer-steel {
  top: 0;
  width: 300px;
  height: 50px;
  background: linear-gradient(
    180deg,
    #9d9d9c 0%,
    #7a7a7a 30%,
    #8a8a8a 70%,
    #6a6a6a 100%
  );
  z-index: 5;
}

.layer-steel::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 10px;
  right: 10px;
  height: 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.3) 80%,
    transparent 100%
  );
  border-radius: 4px;
}

.layer-steel:hover {
  transform: translateX(-50%) translateY(-8px);
}

.layer-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

/* Expanding Adhesive */
.layer-adhesive {
  top: 55px;
  width: 280px;
  height: 35px;
  background: linear-gradient(180deg, #bf3425 0%, #d4553f 50%, #bf3425 100%);
  z-index: 4;
}

.layer-adhesive::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.1) 20px,
    rgba(255, 255, 255, 0.1) 22px
  );
  border-radius: 8px;
}

.layer-adhesive:hover {
  transform: translateX(-50%) translateY(-5px) scaleY(1.3);
}

.adhesive-expand-indicator {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #bf3425;
  background: white;
  padding: 2px 8px;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.layer-adhesive:hover .adhesive-expand-indicator {
  opacity: 1;
}

/* GF/PA6 Organosheet */
.layer-organosheet {
  top: 95px;
  width: 280px;
  height: 55px;
  background: linear-gradient(180deg, #47577c 0%, #5a6b8a 50%, #47577c 100%);
  z-index: 3;
}

/* Woven fiber pattern */
.layer-organosheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.1) 8px,
      rgba(255, 255, 255, 0.1) 10px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.1) 8px,
      rgba(255, 255, 255, 0.1) 10px
    );
  border-radius: 8px;
}

.layer-organosheet:hover {
  transform: translateX(-50%) translateY(-5px);
}

/* Over-molded Ribs Container */
.layer-ribs-container {
  top: 155px;
  width: 280px;
  height: 130px;
  background: linear-gradient(180deg, #5a6b8a 0%, #47577c 100%);
  z-index: 2;
  border-radius: 8px 8px 12px 12px;
}

.layer-ribs-container:hover {
  transform: translateX(-50%) translateY(-5px);
}

/* Individual Ribs */
.ribs-row {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.rib {
  flex: 1;
  height: 80px;
  background: linear-gradient(180deg, #3a4766 0%, #2d3748 50%, #3a4766 100%);
  border-radius: 4px 4px 8px 8px;
  position: relative;
  transition: all 0.3s ease;
}

.rib::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 3px;
  right: 3px;
  height: 70px;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 6px,
    rgba(255, 255, 255, 0.05) 6px,
    rgba(255, 255, 255, 0.05) 8px
  );
  border-radius: 2px;
}

.rib::after {
  content: "░";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

.layer-ribs-container:hover .rib {
  transform: scaleY(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ribs-label {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.4;
}

/* Exploded View Toggle */
.explode-toggle {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #47577c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.explode-toggle:hover {
  background: #5a6b8a;
  transform: translateX(-50%) scale(1.05);
}

.explode-toggle svg {
  width: 14px;
  height: 14px;
}

/* Exploded State */
.panel-3d.exploded .layer-steel {
  transform: translateX(-50%) translateY(-30px);
}

.panel-3d.exploded .layer-adhesive {
  transform: translateX(-50%) translateY(-15px);
}

.panel-3d.exploded .layer-organosheet {
  transform: translateX(-50%) translateY(0);
}

.panel-3d.exploded .layer-ribs-container {
  transform: translateX(-50%) translateY(20px);
}

/* Info Panel */
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.layer-card {
  background: white;
  border-radius: 10px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.layer-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.layer-card.steel {
  border-left-color: #9d9d9c;
}
.layer-card.adhesive {
  border-left-color: #bf3425;
}
.layer-card.organosheet {
  border-left-color: #47577c;
}
.layer-card.ribs {
  border-left-color: #3a4766;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon.steel {
  background: rgba(157, 157, 156, 0.2);
}
.card-icon.adhesive {
  background: rgba(191, 52, 37, 0.15);
}
.card-icon.organosheet {
  background: rgba(71, 87, 124, 0.15);
}
.card-icon.ribs {
  background: rgba(58, 71, 102, 0.15);
}

.card-icon svg {
  width: 14px;
  height: 14px;
}

.card-icon.steel svg {
  color: #6b6b6b;
}
.card-icon.adhesive svg {
  color: #bf3425;
}
.card-icon.organosheet svg {
  color: #47577c;
}
.card-icon.ribs svg {
  color: #3a4766;
}

.card-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
}

.card-subtitle {
  font-size: 10px;
  color: #64748b;
}

.card-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.4;
}

/* Weight Savings Highlight */
.weight-savings {
  background: linear-gradient(135deg, #47577c 0%, #3a4766 100%);
  border-radius: 12px;
  padding: 16px;
  color: white;
  text-align: center;
  margin-top: 8px;
}

.savings-label {
  font-size: 11px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.savings-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.savings-compare {
  font-size: 11px;
  opacity: 0.8;
}

/* Weight Comparison Bar */
.weight-comparison {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comparison-label {
  font-size: 10px;
  width: 70px;
  text-align: right;
  opacity: 0.8;
}

.comparison-bar {
  flex: 1;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.comparison-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 1s ease;
}

.comparison-fill.steel {
  width: 100%;
  background: linear-gradient(90deg, #9d9d9c, #7a7a7a);
}

.comparison-fill.hybrid {
  width: 33%;
  background: linear-gradient(90deg, #bf3425, #47577c);
}

.comparison-value {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  font-weight: 600;
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 10px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -5px;
  top: 15px;
  color: #9d9d9c;
  font-size: 16px;
}

.step-number {
  width: 28px;
  height: 28px;
  background: #47577c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-label {
  font-size: 10px;
  color: #475569;
  font-weight: 600;
}

/* Tooltip */
.hybrid-tooltip {
  position: fixed;
  background: white;
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  max-width: 220px;
}

.hybrid-tooltip.visible {
  opacity: 1;
  visibility: visible;
}

.tooltip-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.tooltip-desc {
  font-size: 11px;
  color: #64748b;
  line-height: 1.5;
}

/* Legend */
.hybrid-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #475569;
}

.legend-swatch {
  width: 18px;
  height: 12px;
  border-radius: 3px;
}

.legend-swatch.steel {
  background: linear-gradient(135deg, #9d9d9c, #7a7a7a);
}
.legend-swatch.adhesive {
  background: linear-gradient(135deg, #bf3425, #d4553f);
}
.legend-swatch.organosheet {
  background: linear-gradient(135deg, #47577c, #5a6b8a);
}
.legend-swatch.ribs {
  background: linear-gradient(135deg, #3a4766, #2d3748);
}

/* Source */
.hybrid-source {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
}

.hybrid-source a {
  color: #47577c;
  text-decoration: none;
  font-weight: 500;
}

.hybrid-source a:hover {
  text-decoration: underline;
}

/* Heat activation animation */
@keyframes heatPulse {
  0%,
  100% {
    background-color: rgba(191, 52, 37, 0.1);
  }
  50% {
    background-color: rgba(191, 52, 37, 0.25);
  }
}

.layer-card.adhesive:hover {
  animation: heatPulse 1s ease-in-out infinite;
}
