 
 .target-section {
  padding: 120px 0px;
  background: rgba(243, 244, 246, 0.5); /* f3f4f6/50 */
  position: relative;
  overflow: hidden;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.header-section-target-object {
  text-align: left;
  margin-bottom: 40px;
}

.section-title-target-object {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--color-text-dark);
    letter-spacing: -0.02em;
    
    line-height: 1.3;
    margin-bottom: 24px;
}

.text-highlight {
  color: #0d9488;
  position: relative;
}

.side-title {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
   
  margin-bottom: 16px;
}

.row-fit .side-title {
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-primary, #0f766e);
  border-left: 3px solid var(--color-primary, #0f766e);
}

.row-not-fit .side-title {
  background: rgba(107, 114, 128, 0.08);
  color: #374151;
  border-right: 3px solid #374151;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

/* Visual Bridge - Hidden to avoid clashing with offset layout */
.visual-bridge {
  display: none;
}

.analysis-row {
  display: flex;
  align-items: center;
  gap: 30px; /* Thu h?p kho?ng c�ch l?i d? li?n m?ch hon */
  position: relative;
  z-index: 2;
  width: fit-content; /* Row ch? to b?ng n?i dung b�n trong */
  max-width: 1000px;
}

.row-fit {
  flex-direction: row;
  align-self: flex-start; /* Dịch sang trái */
}

.row-not-fit {
  flex-direction: row;
  align-self: flex-end; /* Dịch sang phải */
  justify-content: flex-end;
}

.row-not-fit .content-side {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.content-side {
  flex: 0 1 auto; /* Kh�ng d? n� d�n ra h?t m?c */
}

.mascot-side {
  flex: 0 0 240px; /* Thu nh? mascot side l?i */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Diagonal Layout logic - D?ch chuy?n Mascot s�t Tag */
.row-fit .mascot-side {
  order: 2;
}

.row-fit .content-side {
  order: 1;
}

.row-not-fit .mascot-side {
  order: 1;
}

.row-not-fit .content-side {
  order: 2;
}

.mascot-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mascot-frame {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* T?o hi?u ?ng shadow k?t n?i */
.mascot-frame::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

.frame-teal {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.02) 60%);
}
.frame-teal::after { background: #0d9488; }

.frame-gray {
  background: radial-gradient(circle, rgba(156, 163, 175, 0.1) 0%, rgba(156, 163, 175, 0.02) 70%);
}
.frame-gray::after { background: #9ca3af; }

.mascot-illustration-top {
 
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  /* mascot_16 gốc hướng trái, cần flip để hướng phải (về phía content bên trái) */
  transform: scaleX(-1);
}

.mascot-illustration-bot {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  /* mascot_13 gốc hướng phải, cần flip để hướng trái (về phía content bên phải) */
  transform: scaleX(-1);
}

/* Desktop/Mobile Mascot Switching */
.mascot-desktop {
    width: 60%;
  display: block;
}

.mascot-mobile {
    width: 100%;
  display: none;
}
.side-title {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #111827;
  letter-spacing: -0.01em;
}

/* Waterfall Tags Styles */
.tags-cloud {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tags-cloud li {
  list-style: none;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  transition: all 0.3s ease;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: fit-content;
  max-width: 450px;
}

.tags-cloud li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.row-fit .tags-cloud {
  align-items: flex-start;
}

.row-fit .tags-cloud li { border-left: 1px solid #e5e7eb; }

.row-not-fit .tags-cloud {
  align-items: flex-end;
}

.row-not-fit .tags-cloud li { 
  border-right: 1px solid #e5e7eb; 
  text-align: right;
  justify-content: flex-end;
}

 
.tags-cloud li p {
  margin: 0;
}

.tags-cloud li:hover {
  transform: translateX(10px);
  border-color: #0d9488;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.row-not-fit .tags-cloud li:hover {
  transform: translateX(-10px);
  border-color: #9ca3af;
}

/* Responsive */
@media (max-width: 1024px) {
  .analysis-row {
    width: 100%;
    max-width: 100%;
  }

  /* Fit row: center alignment */
  .row-fit .tags-cloud { 
    align-items: center !important; 
  }
  .row-fit .tags-cloud li { 
    width: 100% !important; 
    max-width: 400px; 
    justify-content: center; 
  }

  /* Not Fit row: keep right alignment like desktop */
  .row-not-fit .tags-cloud { 
    align-items: flex-end !important; 
  }
  .row-not-fit .tags-cloud li { 
    width: 100% !important; 
    max-width: 400px; 
    justify-content: flex-end; 
  }
  
  .comparison-container{
    gap: 60px;
  }
}

@media(max-width: 640px) {
  .visual-bridge { display: none; }
  
  /* Switch mascot on mobile */
  .mascot-desktop {
    display: none;
  }
  
  .mascot-mobile {
    display: block;
  }
  .analysis-row { 
    flex-direction: column !important; 
    gap: 20px; 
    text-align: left; 
    width: 100%; 
    margin: 0; 
  }
  .row-fit { align-self: flex-start !important; }
  .row-not-fit { align-self: flex-end !important; }

  .mascot-side { 
    order: -1 !important; 
    flex: none; 
    margin: 0 !important; 
    align-items: flex-start;
  }
  .row-not-fit .mascot-side {
    align-items: flex-end;
  }

  .content-side { 
    order: 2 !important; 
    text-align: left !important; 
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 100%;
  }

  .row-not-fit .content-side {
    text-align: right !important;
    align-items: flex-end;
  }
}