@keyframes segmentEntrance {
    0% {
      opacity: 0;
      transform: scale(0.8) rotate(-5deg);
    }
    60% {
      transform: scale(1.05) rotate(2deg);
    }
    100% {
      opacity: 1;
      transform: scale(1) rotate(0deg);
    }
  }
  
  @keyframes hubPulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.02);
    }
  }
  
  @keyframes popInCard {
    0% {
      opacity: 0;
      transform: scale(0.95) translateY(20px);
    }
    70% {
      transform: scale(1.02) translateY(-5px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes ringRotateSlow {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
  @keyframes float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }
  
  .bitsContainer {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
      Arial, sans-serif;
  }
  
  .layoutGrid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 700px;
  }
  
  .chartSection {
    flex: 2;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .pieSvg {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  
  .backgroundRingRotate {
    transform-origin: center;
    animation: ringRotateSlow 60s linear infinite;
  }
  
  .segmentGroup {
    opacity: 0;
    transform-origin: center;
    transition: opacity 0.3s ease;
  }
  
  .dimmed {
    opacity: 0.5;
  }
  
  .loaded .segmentGroup {
    animation: segmentEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(var(--delay-index) * 0.15s);
  }
  
  .segmentPath {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    filter: url(#dropShadow);
  }
  
  .hovered .segmentPath {
    filter: url(#hoverGlow);
  }
  
  .selected .segmentPath {
    filter: url(#selectedGlow);
  }
  
  .segmentContent {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .hovered .segmentContent,
  .selected .segmentContent {
    animation: float 2s ease-in-out infinite;
  }
  
  .numberBadge {
    transition: all 0.3s ease;
  }
  
  .hovered .numberBadge {
    fill: rgba(255, 255, 255, 0.5);
  }
  
  .segmentText {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  .hovered .segmentText {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }
  
  .activeRing {
    transform-origin: center;
  }
  
  .centerHub {
    transform-origin: center;
    animation: hubPulse 4s ease-in-out infinite;
  }
  
  .helperText {
    text-align: center;
    color: #94a3b8;
    font-size: 16px;
    margin-top: 20px;
    font-style: italic;
    animation: fadeIn 1s ease 1s both;
  }
  
  /* DETAILS PANEL */
  
  .detailsSection {
    flex: 1;
    max-width: 480px;
    min-height: 450px;
    display: flex;
    align-items: center;
  }
  
  .placeholderCard {
    background: transparent;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    width: 100%;
  }
  
  .placeholderIcon {
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }
  
  .placeholderCard h3 {
    margin: 0 0 12px;
    font-size: 22px;
    color: #e2e8f0;
    font-weight: 700;
  }
  
  .placeholderCard p {
    margin: 0;
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
  }
  
  .detailCard {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .animatePopIn {
    animation: popInCard 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  
  .closeBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
  }
  .closeBtn:hover {
    background: #f7fafc;
    color: #2d3748;
    transform: scale(1.1);
  }
  
  .newCardHeader {
    background: #f8fafc;
    padding: 32px 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #edf2f7;
  }
  
  .headerBadge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: white;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
  }
  
  .headerTitles {
    flex: 1;
  }
  
  .headerSubtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  
  .newCardHeader h3 {
    margin: 0;
    font-size: 24px;
    color: #1a202c;
    line-height: 1.3;
    font-weight: 800;
  }
  
  .cardBody {
    padding: 32px 40px 40px;
  }
  
  .description {
    color: #4a5568;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 32px;
  }
  
  .featuresList {
    margin-bottom: 32px;
  }
  
  .featuresList h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #a0aec0;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 700;
  }
  
  .featuresList ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .featuresList li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #2d3748;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
  }
  
  .fadeInUp {
    animation: fadeInUp 0.35s ease forwards;
  }
  
  .newImpactBox {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: #f8fafc;
    border-radius: 16px;
    border: 1px solid #edf2f7;
  }
  
  .impactIconWrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
  }
  
  .impactContent h4 {
    margin: 0 0 8px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #718096;
    font-weight: 800;
  }
  
  .impactContent p {
    margin: 0;
    color: #1a202c;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
  }
  
  /* RESPONSIVE */
  
  @media (max-width: 1200px) {
    .layoutGrid {
      flex-direction: column;
      gap: 50px;
      min-height: auto;
    }
    .chartSection {
      max-width: 650px;
      flex: 1;
    }
    .detailsSection {
      width: 100%;
      min-height: auto;
    }
  }
  
  @media (max-width: 700px) {
    .bitsContainer {
      padding: 20px;
    }
    .chartSection {
      max-width: 100%;
    }
    .newCardHeader {
      padding: 24px 28px;
    }
    .cardBody {
      padding: 24px 28px 32px;
    }
    .newCardHeader h3 {
      font-size: 20px;
    }
  }
  