/* ============================================
   AI & IN-SITU MONITORING AFP BLOG — CSS
   Consistent with Addcomposites design system
   ============================================ */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Assistant", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #334155;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

.sidebar-close {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Assistant", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}
.sidebar-close:hover {
  color: #bf3425;
  background: #fef7f6;
}
.sidebar-close svg {
  flex-shrink: 0;
}

.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 NAV TOGGLE
   ============================================ */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  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;
  stroke: #ffffff;
}

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

/* ============================================
   BLOG META
   ============================================ */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  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;
  flex-shrink: 0;
}

/* ============================================
   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.875rem;
  line-height: 1.25;
  color: #1e293b;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}
.blog-content h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-content h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #47577c;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.blog-content p {
  margin-bottom: 1.25rem;
}
.blog-content ul,
.blog-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}
.blog-content li {
  margin-bottom: 0.5rem;
}
.blog-content a {
  color: #bf3425;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.subtitle {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* ============================================
   IMAGES
   ============================================ */
.full-width-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.full-width-image:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.image-caption {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ============================================
   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%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.split-image img:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   HIGHLIGHT BOX
   ============================================ */
.highlight-box {
  background: linear-gradient(135deg, #fef7f6 0%, #fff8f7 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid #fbd5d0;
}
.highlight-box p {
  margin-bottom: 0;
}
.highlight-box h4 {
  color: #bf3425;
  margin-top: 0;
}

/* ============================================
   LEARN MORE CARDS
   ============================================ */
.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;
  color: #ffffff;
}
.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 !important;
}

/* ============================================
   REFERENCES
   ============================================ */
.references-list {
  padding-left: 1.5rem;
}
.references-list li {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.references-list a {
  font-weight: 400;
  word-break: break-all;
}

/* ============================================
   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-top: 40px;
}

/* ============================================
   ═══ INFOGRAPHIC 1: INTELLIGENT MANUFACTURING STACK ═══
   Namespace: ims-
   ============================================ */
.ims-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  overflow: hidden;
}
.ims-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.ims-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.ims-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ims-layer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: default;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}
.ims-layer.visible {
  opacity: 1;
  transform: translateX(0);
}
.ims-layer--4 {
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  color: #fff;
}
.ims-layer--3 {
  background: linear-gradient(135deg, #5a6e96 0%, #334a70 100%);
  color: #fff;
}
.ims-layer--2 {
  background: linear-gradient(135deg, #6b829f 0%, #4a6080 100%);
  color: #fff;
}
.ims-layer--1 {
  background: linear-gradient(135deg, #7c96b0 0%, #5a748e 100%);
  color: #fff;
}
.ims-layer:hover {
  transform: translateX(6px) scale(1.01);
  box-shadow: 0 8px 24px rgba(71, 87, 124, 0.25);
}
.ims-layer-number {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  opacity: 0.6;
  min-width: 32px;
}
.ims-layer-body {
  flex: 1;
}
.ims-layer-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.ims-layer-desc {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.5;
}
.ims-layer-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ims-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}
.ims-connector.visible {
  opacity: 1;
}
.ims-connector-line {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, #47577c, #9d9d9c);
  border-radius: 2px;
}
.ims-footer {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
  font-style: italic;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.3s,
    transform 0.5s ease 0.3s;
}
.ims-footer.visible {
  opacity: 1;
  transform: translateY(0);
}
.ims-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.ims-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ═══ INFOGRAPHIC 2: PREDICTED vs ACTUAL TENSILE STRENGTH ═══
   Namespace: pts-
   ============================================ */
.pts-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.pts-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.pts-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.pts-chart-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}
.pts-chart-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
.pts-chart-area {
  width: 100%;
  max-width: 560px;
}
.pts-chart-area canvas {
  width: 100% !important;
  height: auto !important;
}
.pts-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}
.pts-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #475569;
}
.pts-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
}
.pts-dot--carbon {
  background: #47577c;
}
.pts-dot--kevlar {
  background: #bf3425;
}
.pts-dot--glass {
  background: #9d9d9c;
}
.pts-line-icon {
  width: 28px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #1e293b 0,
    #1e293b 4px,
    transparent 4px,
    transparent 8px
  );
  display: inline-block;
}
.pts-badge {
  background: linear-gradient(135deg, #47577c, #1e293b);
  color: #fff;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Archivo", sans-serif;
}
.pts-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  font-style: italic;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}
.pts-note.visible {
  opacity: 1;
}
.pts-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.pts-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ═══ INFOGRAPHIC 3: SENSOR FUSION IN AFP HEAD ═══
   Namespace: sfh-
   ============================================ */
.sfh-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
}
.sfh-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.sfh-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.sfh-layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease 0.1s,
    transform 0.5s ease 0.1s;
}
.sfh-layout.visible {
  opacity: 1;
  transform: translateY(0);
}
.sfh-direction {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}
.sfh-direction-label {
  font-size: 0.8rem;
  color: #9d9d9c;
  font-weight: 600;
  white-space: nowrap;
}
.sfh-direction-arrow {
  display: flex;
  align-items: center;
  flex: 1;
}
.sfh-direction-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #9d9d9c 0,
    #9d9d9c 5px,
    transparent 5px,
    transparent 10px
  );
}
.sfh-direction-head {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #9d9d9c;
}
.sfh-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sfh-sensor-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
  opacity: 0;
  transform: translateX(-16px);
}
.sfh-sensor-row.visible {
  opacity: 1;
  transform: translateX(0);
}
.sfh-sensor-row:hover {
  box-shadow: 0 4px 16px rgba(71, 87, 124, 0.12);
  transform: translateX(4px);
}
.sfh-sensor-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 90px;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: center;
}
.sfh-sensor--ir {
  background: rgba(191, 52, 37, 0.08);
  border: 1px solid rgba(191, 52, 37, 0.2);
}
.sfh-sensor--laser {
  background: rgba(71, 87, 124, 0.08);
  border: 1px solid rgba(71, 87, 124, 0.2);
}
.sfh-sensor--vision {
  background: rgba(157, 157, 156, 0.1);
  border: 1px solid rgba(157, 157, 156, 0.2);
}
.sfh-sensor-icon {
  font-size: 1.4rem;
}
.sfh-sensor-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}
.sfh-sensor-arrow {
  width: 24px;
  height: 2px;
  background: #47577c;
  position: relative;
  flex-shrink: 0;
}
.sfh-sensor-arrow::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #47577c;
}
.sfh-sensor-output {
  font-size: 0.9rem;
  color: #334155;
  flex: 1;
  line-height: 1.4;
}
.sfh-head-box {
  background: linear-gradient(135deg, #47577c, #1e293b);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  color: #fff;
  margin: 0.25rem 0;
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 0.5s ease 0.2s,
    transform 0.5s ease 0.2s;
}
.sfh-head-box.visible {
  opacity: 1;
  transform: scale(1);
}
.sfh-head-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}
.sfh-head-parts {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.sfh-head-part {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}
.sfh-fusion {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #fef7f6, #fff8f7);
  border: 2px solid #bf3425;
  border-radius: 12px;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.35s,
    transform 0.5s ease 0.35s;
}
.sfh-fusion.visible {
  opacity: 1;
  transform: translateY(0);
}
.sfh-fusion-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.sfh-fusion-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: #bf3425;
  font-size: 1rem;
  margin-bottom: 4px;
}
.sfh-fusion-desc {
  font-size: 0.875rem;
  color: #475569;
}
.sfh-reveal {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.sfh-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   ═══ INFOGRAPHIC 4: CLOSED-LOOP AFP QUALITY CYCLE ═══
   Namespace: cla-
   ============================================ */
.cla-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.cla-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.cla-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.cla-cycle-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}
.cla-cycle-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}
.cla-cycle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  align-items: center;
  justify-items: center;
  max-width: 600px;
  margin: 0 auto;
}
.cla-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 1.25rem 1rem;
  border-radius: 14px;
  text-align: center;
  width: 100%;
  max-width: 180px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}
.cla-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.cla-node--sense {
  background: linear-gradient(135deg, #47577c, #1e293b);
  color: #fff;
}
.cla-node--interpret {
  background: linear-gradient(135deg, #5a6e96, #334a70);
  color: #fff;
}
.cla-node--decide {
  background: linear-gradient(135deg, #9d2a1e, #7a1e14);
  color: #fff;
}
.cla-node--act {
  background: linear-gradient(135deg, #bf3425, #9d2a1e);
  color: #fff;
}
.cla-node-icon {
  font-size: 1.5rem;
}
.cla-node-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.cla-node-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  line-height: 1.4;
}
.cla-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cla-arrow--right,
.cla-arrow--left {
  width: 60px;
}
.cla-arrow--down,
.cla-arrow--up {
  height: 60px;
}
.cla-arrow svg {
  width: 100%;
  height: 100%;
}
.cla-spacer {
  width: 100%;
}
.cla-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 1.5rem;
}
.cla-tag {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #47577c;
  font-family: "Archivo", sans-serif;
}
.cla-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.cla-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ═══ INFOGRAPHIC 5: DIGITAL TWIN ARCHITECTURE ═══
   Namespace: dta-
   ============================================ */
.dta-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
}
.dta-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.dta-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.dta-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}
.dta-layout.visible {
  opacity: 1;
  transform: translateY(0);
}
.dta-world {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dta-world-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}
.dta-world-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dta-dot--physical {
  background: #47577c;
}
.dta-dot--virtual {
  background: #bf3425;
}
.dta-world-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.dta-world-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.dta-world-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}
.dta-world-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1e293b;
  margin-bottom: 10px;
}
.dta-world-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dta-item {
  font-size: 0.8125rem;
  color: #64748b;
  background: #f8fafc;
  border-radius: 6px;
  padding: 5px 10px;
}
.dta-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 90px;
}
.dta-arrow-pair {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 80px;
}
.dta-arrow-label {
  font-size: 0.7rem;
  color: #64748b;
  text-align: center;
  line-height: 1.3;
}
.dta-arrow-label--top {
  color: #47577c;
  font-weight: 600;
}
.dta-arrow-label--bottom {
  color: #bf3425;
  font-weight: 600;
}
.dta-arrow {
  width: 80px;
  height: 16px;
}
.dta-arrow svg {
  width: 100%;
  height: 100%;
}
.dta-decision {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #fef7f6, #fff8f7);
  border: 2px solid #bf3425;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.2s,
    transform 0.5s ease 0.2s;
}
.dta-decision.visible {
  opacity: 1;
  transform: translateY(0);
}
.dta-decision-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.dta-decision-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  color: #bf3425;
  font-size: 1rem;
  margin-bottom: 4px;
}
.dta-decision-text {
  font-size: 0.875rem;
  color: #475569;
  font-style: italic;
}
.dta-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.dta-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ═══ INFOGRAPHIC 6: TRAINING DATASET COMPOSITION ═══
   Namespace: tdc-
   ============================================ */
.tdc-container {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.tdc-title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.tdc-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.tdc-body {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease 0.1s,
    transform 0.6s ease 0.1s;
}
.tdc-body.visible {
  opacity: 1;
  transform: translateY(0);
}
.tdc-chart-wrap {
  flex: 1;
  min-width: 260px;
}
.tdc-chart-wrap canvas {
  width: 100% !important;
  height: auto !important;
}
.tdc-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.tdc-stat {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  min-width: 140px;
}
.tdc-stat--good {
  background: linear-gradient(135deg, #47577c, #1e293b);
  color: #fff;
}
.tdc-stat--defect {
  background: linear-gradient(135deg, #bf3425, #9d2a1e);
  color: #fff;
}
.tdc-stat-value {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 2rem;
}
.tdc-stat-label {
  font-size: 0.8125rem;
  opacity: 0.85;
  margin: 4px 0;
}
.tdc-stat-pct {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  opacity: 0.7;
}
.tdc-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  font-style: italic;
  padding: 0.75rem 1rem;
  background: #fef7f6;
  border-radius: 8px;
  border: 1px solid #fbd5d0;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
}
.tdc-note.visible {
  opacity: 1;
}
.tdc-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.tdc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — 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 h1 {
    font-size: 2rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-layout.reverse {
    direction: ltr;
  }
  .split-layout.reverse > * {
    direction: ltr;
  }
  .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;
  }
  .dta-layout {
    grid-template-columns: 1fr;
  }
  .dta-arrows {
    display: none;
  }
  .cla-cycle {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .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);
  }
  .sidebar-close {
    display: flex;
  }
  .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: 8px;
  }
  .sfh-sensor-row {
    flex-wrap: wrap;
  }
  .cla-cycle {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .cla-arrow--right,
  .cla-arrow--left {
    width: 40px;
  }
}

/* ============================================
   RESPONSIVE — 640px
   ============================================ */
@media (max-width: 640px) {
  .blog-layout {
    padding: 20px 12px;
  }
  .blog-content h1 {
    font-size: 1.75rem;
  }
  .blog-content h2 {
    font-size: 1.5rem;
  }
  .highlight-box {
    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;
  }
  .author-image {
    width: 140px;
    height: 140px;
  }
  .author-card {
    padding: 1.25rem;
  }
  .ims-layer {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .ims-layer-badge {
    font-size: 0.7rem;
  }
  .tdc-body {
    flex-direction: column;
  }
  .dta-layout {
    gap: 0.75rem;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .blog-layout {
    padding: 16px 10px;
  }
  .blog-content h1 {
    font-size: 1.5rem;
  }
  .ims-container,
  .pts-container,
  .sfh-container,
  .cla-container,
  .dta-container,
  .tdc-container {
    padding: 1.25rem;
  }
  .cla-cycle {
    gap: 4px;
  }
  .cla-node {
    padding: 1rem 0.75rem;
    max-width: 140px;
  }
}
