/* ============================================
   HYDROGEN PRESSURE VESSELS 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;
}

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

/* ============================================
   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;
}

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

.mobile-nav-toggle svg {
  color: #ffffff;
}

/* ============================================
   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;
}

/* ============================================
   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%;
}

/* ============================================
   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.25rem;
  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;
}

/* ============================================
   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;
}

.split-content p:last-child {
  margin-bottom: 0;
}

/* ============================================
   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;
}

/* ============================================
   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 p {
  margin: 0;
  color: #1e293b;
}

.highlight-box.dark {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: none;
}

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

.highlight-box.dark p {
  color: #e2e8f0;
}

/* ============================================
   SESSION CARDS
   ============================================ */
.session-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  transition: all 0.3s ease;
}

.session-card:hover {
  border-color: #47577c;
  box-shadow: 0 8px 25px -5px rgba(71, 87, 124, 0.12);
  transform: translateY(-2px);
}

.session-card h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.session-meta {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #bf3425;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

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

/* ============================================
   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;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.9375rem;
  color: #64748b;
  text-align: center;
}

/* ============================================
   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: 2rem;
  }

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

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

  .feature-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;
  }

  /* 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;
  }

  .data-table.comparison-matrix th,
  .data-table.comparison-matrix td {
    padding: 0.5rem 0.625rem;
    font-size: 0.75rem;
  }
}

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

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

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

  .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;
  }

  .session-card {
    padding: 1.25rem;
  }

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

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

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

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

  .author-card {
    padding: 1.25rem;
  }

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

  .feature-icon {
    margin: 0 auto;
  }

  .cta-section {
    padding: 1.25rem;
  }

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

  .infographic-placeholder {
    padding: 1.25rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .blog-sidebar,
  .mobile-nav-toggle,
  .cta-section,
  .author-social {
    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;
  }
}
/* <!-- Figure 1 Placeholder -->/ */
.h2-market-chart-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;
}

.h2-market-chart-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.h2-market-chart-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.h2-market-chart-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
}

@media (min-width: 768px) {
  .h2-market-chart-wrapper {
    height: 420px;
  }
}

.h2-market-chart-source {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

.h2-market-chart-source a {
  color: #47577c;
  text-decoration: none;
}

.h2-market-chart-source a:hover {
  text-decoration: underline;
}

/* Hover highlight stats row */
.h2-market-stats-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.h2-market-chart-container:hover .h2-market-stats-row {
  opacity: 1;
  transform: translateY(0);
}

.h2-market-stat-item {
  text-align: center;
  padding: 8px 16px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.h2-market-stat-item:hover {
  border-color: #bf3425;
  box-shadow: 0 2px 8px rgba(191, 52, 37, 0.1);
}

.h2-market-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #bf3425;
}

.h2-market-stat-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}
/* <!-- Figure 2 Placeholder --> */
.h2-tank-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;
}

.h2-tank-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.h2-tank-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

/* ── SVG Diagram Area ── */
.h2-tank-diagram-wrapper {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 24px;
}

.h2-tank-diagram-wrapper svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Layer hover highlights */
.h2-layer-outer,
.h2-layer-inner,
.h2-layer-core {
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
  cursor: pointer;
}

.h2-tank-diagram-wrapper:hover .h2-layer-outer,
.h2-tank-diagram-wrapper:hover .h2-layer-inner,
.h2-tank-diagram-wrapper:hover .h2-layer-core {
  opacity: 0.45;
  filter: saturate(0.4);
}

.h2-tank-diagram-wrapper:hover .h2-layer-outer:hover,
.h2-tank-diagram-wrapper:hover .h2-layer-inner:hover,
.h2-tank-diagram-wrapper:hover .h2-layer-core:hover {
  opacity: 1;
  filter: saturate(1) drop-shadow(0 0 6px rgba(71, 87, 124, 0.35));
}

/* Tooltip cards */
.h2-tank-tooltip {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  transform: translateY(6px);
  z-index: 10;
  max-width: 220px;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
}

.h2-tank-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.h2-tank-tooltip-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 4px;
}

/* Entrance animation for labels */
.h2-label-anim {
  animation: h2LabelFadeIn 0.6s ease both;
}

@keyframes h2LabelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Comparison Section ── */
.h2-tank-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .h2-tank-comparison {
    grid-template-columns: 1fr;
  }
}

.h2-tank-card {
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.h2-tank-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 12px 0 0 12px;
}

.h2-tank-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.h2-tank-card-novel {
  background: #f8fafc;
}
.h2-tank-card-novel::before {
  background: #47577c;
}
.h2-tank-card-novel:hover {
  border-color: #47577c;
}

.h2-tank-card-conv {
  background: #fefcfb;
}
.h2-tank-card-conv::before {
  background: #bf3425;
}
.h2-tank-card-conv:hover {
  border-color: #bf3425;
}

.h2-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.h2-badge-novel {
  background: #47577c;
  color: #fff;
}
.h2-badge-conv {
  background: #bf3425;
  color: #fff;
}

.h2-card-heading {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.h2-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
}

.h2-card-list li::before {
  content: "→ ";
  color: #9d9d9c;
  font-weight: 600;
}

.h2-card-list li.h2-bad::before {
  content: "✗ ";
  color: #bf3425;
}

.h2-card-list li.h2-good::before {
  content: "✓ ";
  color: #47577c;
}

/* ── Source ── */
.h2-tank-source {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Pulse animation on the LH2 labels */
@keyframes h2Pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.h2-lh2-pulse {
  animation: h2Pulse 2.8s ease-in-out infinite;
}
/* <!-- Figure 3 Placeholder --> */
.h2-cte-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;
}

.h2-cte-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.h2-cte-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

/* Column headers */
.h2-cte-headers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.h2-cte-header {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 12px;
  border-radius: 8px;
}

.h2-cte-header-conv {
  background: #fef2f1;
  color: #bf3425;
  border: 1px solid #f5d5d1;
}

.h2-cte-header-novel {
  background: #eef1f6;
  color: #47577c;
  border: 1px solid #d1d8e4;
}

/* Temperature sections */
.h2-cte-temp-section {
  margin-bottom: 20px;
}

.h2-cte-temp-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.h2-cte-temp-label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.h2-cte-temp-room .h2-cte-temp-label::before {
  background: #9d9d9c;
}

.h2-cte-temp-cryo .h2-cte-temp-label::before {
  background: #bf3425;
}

.h2-cte-temp-range {
  font-weight: 400;
  color: #94a3b8;
  font-size: 12px;
}

/* Side-by-side tank panels */
.h2-cte-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .h2-cte-panels {
    grid-template-columns: 1fr;
  }
  .h2-cte-headers {
    grid-template-columns: 1fr;
  }
}

.h2-cte-panel {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  position: relative;
}

.h2-cte-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.h2-cte-panel-conv:hover {
  border-color: #bf3425;
}
.h2-cte-panel-novel:hover {
  border-color: #47577c;
}

/* SVG tank drawings */
.h2-cte-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Result strip at bottom of each panel */
.h2-cte-result {
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.h2-cte-result-ok {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
}

.h2-cte-result-bad {
  background: #fef2f2;
  border-top: 1px solid #fecaca;
}

.h2-cte-result span {
  font-weight: 600;
}

.h2-cte-result-ok span {
  color: #166534;
}
.h2-cte-result-bad span {
  color: #991b1b;
}

/* Crack animation */
@keyframes h2CrackShake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-0.5px, 0.5px);
  }
  30% {
    transform: translate(0.5px, -0.5px);
  }
  50% {
    transform: translate(-0.3px, 0.3px);
  }
  70% {
    transform: translate(0.3px, 0px);
  }
}

.h2-crack-anim {
  animation: h2CrackShake 1.8s ease-in-out infinite;
}

/* Wavy stress line animation */
@keyframes h2WavyStress {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -20;
  }
}

.h2-wavy-stress {
  animation: h2WavyStress 1.2s linear infinite;
}

/* Tooltip on hover */
.h2-cte-panel-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 10;
}

.h2-cte-panel-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1e293b;
}

.h2-cte-panel:hover .h2-cte-panel-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Source */
.h2-cte-source {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Entrance animation */
.h2-cte-fadein {
  animation: h2CteFadeIn 0.5s ease both;
}
@keyframes h2CteFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* <!-- Figure 4 Placeholder --> */
.h2-timeline-container {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 24px 24px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.h2-timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.h2-timeline-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 28px;
}

/* ── Timeline track ── */
.h2-timeline-track {
  position: relative;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Horizontal line */
.h2-timeline-line {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 3px;
  background: linear-gradient(90deg, #47577c, #bf3425);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 1;
}

/* Line draw-in animation */
.h2-timeline-line-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #47577c, #9d9d9c, #bf3425);
  border-radius: 2px;
  animation: h2LineGrow 1.2s ease-out 0.2s forwards;
}

@keyframes h2LineGrow {
  to {
    width: 100%;
  }
}

/* Events wrapper */
.h2-timeline-events {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 280px;
  z-index: 2;
}

/* Single event */
.h2-timeline-event {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  width: 18%;
  opacity: 0;
  animation: h2EventPop 0.45s ease both;
}

.h2-timeline-event:nth-child(1) {
  animation-delay: 0.5s;
}
.h2-timeline-event:nth-child(2) {
  animation-delay: 0.7s;
}
.h2-timeline-event:nth-child(3) {
  animation-delay: 0.9s;
}
.h2-timeline-event:nth-child(4) {
  animation-delay: 1.1s;
}
.h2-timeline-event:nth-child(5) {
  animation-delay: 1.3s;
}

@keyframes h2EventPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Dot on the line */
.h2-timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #47577c;
  z-index: 3;
  position: relative;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.h2-timeline-event:hover .h2-timeline-dot {
  transform: scale(1.35);
  border-color: #bf3425;
  box-shadow: 0 0 0 5px rgba(191, 52, 37, 0.15);
}

/* Pulse ring on key events */
.h2-timeline-dot-key::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #bf3425;
  opacity: 0;
  animation: h2DotPulse 2.5s ease-in-out infinite;
}

@keyframes h2DotPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Date label above */
.h2-timeline-date {
  font-size: 11px;
  font-weight: 700;
  color: #47577c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;
}

/* Vertical stem */
.h2-timeline-stem {
  width: 1px;
  background: #cbd5e1;
  transition: background 0.3s ease;
}

.h2-timeline-event:hover .h2-timeline-stem {
  background: #bf3425;
}

.h2-timeline-stem-up {
  height: 30px;
  margin-bottom: 4px;
}

.h2-timeline-stem-down {
  height: 30px;
  margin-top: 4px;
}

/* Event card */
.h2-timeline-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  max-width: 140px;
  cursor: pointer;
}

.h2-timeline-event:hover .h2-timeline-card {
  border-color: #bf3425;
  box-shadow: 0 4px 16px rgba(191, 52, 37, 0.12);
  transform: translateY(-3px);
  background: #ffffff;
}

/* Cards below the line get pushed down */
.h2-timeline-event-below:hover .h2-timeline-card {
  transform: translateY(3px);
}

.h2-timeline-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 4px;
}

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

/* Badge on card */
.h2-timeline-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.h2-badge-award {
  background: #47577c;
  color: #fff;
}
.h2-badge-launch {
  background: #bf3425;
  color: #fff;
}
.h2-badge-deal {
  background: #9d9d9c;
  color: #fff;
}
.h2-badge-divest {
  background: #f59e0b;
  color: #fff;
}

/* Alternating above/below layout */
.h2-timeline-event-above {
  flex-direction: column;
}

.h2-timeline-event-below {
  flex-direction: column-reverse;
}

/* Source */
.h2-timeline-source {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .h2-timeline-events {
    height: 320px;
  }
  .h2-timeline-event {
    width: 17%;
  }
  .h2-timeline-card {
    padding: 8px 8px;
    max-width: 115px;
  }
  .h2-timeline-card-title {
    font-size: 11px;
  }
  .h2-timeline-card-desc {
    font-size: 10px;
  }
  .h2-timeline-date {
    font-size: 10px;
  }
}
/* <!-- Figure 5 Placeholder --> */
.h2-process-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;
}

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

.h2-process-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

/* ── SVG Flow Diagram ── */
.h2-process-diagram {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.h2-process-diagram svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Process Step Boxes ── */
.h2-proc-box {
  cursor: pointer;
  transition: filter 0.3s ease;
}

.h2-proc-box:hover .h2-proc-box-bg {
  filter: drop-shadow(0 4px 12px rgba(71, 87, 124, 0.25));
}

.h2-proc-box-bg {
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

/* Entrance animations */
.h2-proc-fadein-left {
  animation: h2ProcSlideLeft 0.5s ease both;
}
.h2-proc-fadein-right {
  animation: h2ProcSlideRight 0.5s ease both;
}
.h2-proc-fadein-down {
  animation: h2ProcSlideDown 0.5s ease both;
}

@keyframes h2ProcSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes h2ProcSlideRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes h2ProcSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Connector line draw animation */
.h2-proc-connector {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: h2ConnectorDraw 0.6s ease forwards;
}

@keyframes h2ConnectorDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Flow arrow pulse */
@keyframes h2ArrowPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.h2-arrow-pulse {
  animation: h2ArrowPulse 2s ease-in-out infinite;
}

/* Plus symbol rotation on hover */
.h2-plus-symbol {
  transition: transform 0.4s ease;
  transform-origin: center;
}

.h2-process-diagram:hover .h2-plus-symbol {
  transform: rotate(90deg);
}

/* Tooltip */
.h2-process-tooltip {
  position: absolute;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transform: translateY(4px);
  z-index: 10;
  max-width: 230px;
  font-size: 12px;
  line-height: 1.55;
  color: #334155;
}

.h2-process-tooltip.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

/* Source */
.h2-process-source {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Step number badge in SVG */
.h2-step-num {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  fill: #ffffff;
}
/* <!-- Figure 6 Placeholder --> */
.pv-compare-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;
}

.pv-compare-title {
  font-size: 18px;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 4px;
}

.pv-compare-subtitle {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 24px;
}

/* ── Two-column layout ── */
.pv-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .pv-compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Module Card ── */
.pv-module-card {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pv-module-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.pv-card-conv:hover {
  border-color: #bf3425;
}
.pv-card-metyx:hover {
  border-color: #47577c;
}

/* Card header */
.pv-card-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pv-card-conv .pv-card-header {
  background: #fef5f4;
}
.pv-card-metyx .pv-card-header {
  background: #eef1f6;
}

.pv-card-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #fff;
}

.pv-badge-conv {
  background: #bf3425;
}
.pv-badge-metyx {
  background: #47577c;
}

.pv-card-header-text {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

/* SVG cross-section area */
.pv-card-svg-wrap {
  padding: 16px 12px 8px;
  background: #fafafa;
}

.pv-card-svg-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Layer hover effect inside SVG */
.pv-layer-group {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.pv-card-svg-wrap:hover .pv-layer-group {
  opacity: 0.4;
}

.pv-card-svg-wrap:hover .pv-layer-group:hover {
  opacity: 1;
}

.pv-layer-group:hover .pv-layer-rect {
  filter: drop-shadow(0 0 4px rgba(71, 87, 124, 0.3));
}

/* Properties strip */
.pv-card-props {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid #f1f5f9;
}

.pv-prop-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #475569;
  line-height: 1.4;
}

.pv-prop-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.pv-icon-bad {
  background: #bf3425;
}
.pv-icon-good {
  background: #47577c;
}
.pv-icon-neutral {
  background: #9d9d9c;
}

/* Weight comparison bar */
.pv-weight-bar-wrap {
  margin-top: 8px;
  padding: 0 16px 14px;
}

.pv-weight-label {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.pv-weight-bar-track {
  height: 10px;
  background: #f1f5f9;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.pv-weight-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}

.pv-weight-bar-fill-conv {
  width: 0%;
  background: linear-gradient(90deg, #bf3425, #d4564a);
  animation: pvBarGrow 1s ease 0.5s forwards;
}

.pv-weight-bar-fill-metyx {
  width: 0%;
  background: linear-gradient(90deg, #47577c, #6478a8);
  animation: pvBarGrowMetyx 1s ease 0.7s forwards;
}

@keyframes pvBarGrow {
  to {
    width: 85%;
  }
}

@keyframes pvBarGrowMetyx {
  to {
    width: 30%;
  }
}

.pv-weight-value {
  font-size: 12px;
  font-weight: 700;
  margin-top: 3px;
}

.pv-weight-value-conv {
  color: #bf3425;
}
.pv-weight-value-metyx {
  color: #47577c;
}

/* Layer tooltip */
.pv-layer-tooltip {
  position: absolute;
  background: #1e293b;
  color: #f8fafc;
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 8px;
  max-width: 200px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  transform: translateY(4px);
  z-index: 20;
}

.pv-layer-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.pv-layer-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 24px;
  border: 5px solid transparent;
  border-top-color: #1e293b;
}

/* Source */
.pv-compare-source {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
}

/* Fade-in entrance */
.pv-fadein {
  animation: pvFadeUp 0.5s ease both;
}

@keyframes pvFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
