.performance-widget-container {
  display: grid;
  grid-template-columns: 280px 1fr 400px;
}

.feature-nav-item {
  padding: 60px 36px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;

  border-radius: 16px 0 0 16px;

  font-family: Satoshi;
  font-size: 24px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.48px;

  outline: none !important;
}

.feature-nav-item.active {
  background: linear-gradient(
      0deg,
      rgba(36, 36, 36, 0.05) 0%,
      rgba(36, 36, 36, 0.05) 100%
    ),
    #fff;
}

.feature-nav-item h3 {
  margin: 0;
}

/* Middle Column - Feature Content */
.feature-content {
  display: flex;
  align-items: center;

  font-family: Manrope;
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;

  background: linear-gradient(
      0deg,
      rgba(36, 36, 36, 0.05) 0%,
      rgba(36, 36, 36, 0.05) 100%
    ),
    #fff;
  padding: 30px 60px;
  position: relative;
}

.feature-details {
  display: none;
}

.feature-details.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

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

.feature-details ul {
  padding: 0;
  margin: 0;
}

.feature-details li {
  padding: 16px 0;
  font-size: 16px;
  color: #495057;
  line-height: 1.6;
  position: relative;
  padding-left: 24px;
}

/* Right Column - Feature Illustrations */
.feature-illustrations {
  background: linear-gradient(
      0deg,
      rgba(36, 36, 36, 0.12) 0%,
      rgba(36, 36, 36, 0.12) 100%
    ),
    #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 16px 16px 0;
}

.feature-illustration {
  display: none;
  width: 100%;
  text-align: center;
}

.feature-illustration.active {
  display: block;
  animation: fadeIn 0.3s ease-in;
}

.feature-illustration img {
  max-width: 100%;
}

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

  .feature-nav-item {
    text-align: left;
  }

  .feature-nav-item.active {
  }

  .feature-nav-item.active::before {
    left: 0;
    top: 0;
    bottom: 0;
    right: auto;
    width: 4px;
    height: auto;
  }

  .feature-details li {
    font-size: 15px;
  }
}

/* Mobile layout for small phones - layout changes only */
@media (max-width: 576px) {
  /* Convert grid to single column stack */
  .performance-widget-container {
    display: block;
    grid-template-columns: none;
  }

  /* Make navigation horizontal scrollable */
  .feature-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 16px;
    padding: 0 16px;
    gap: 8px;
  }

  .feature-nav::-webkit-scrollbar {
    display: none;
  }

  .feature-nav-item {
    flex: 0 0 auto;
    min-width: 140px;
    padding: 20px 16px;
    margin: 0;
    border-radius: 16px;
    text-align: center;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  .feature-nav-item.active::before {
    display: none; /* Remove the side indicator for mobile */
  }

  .feature-nav-item h3 {
    margin: 0;
  }

  /* Adjust content padding for mobile */
  .feature-content,
  .feature-illustrations {
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .feature-illustration img {
    max-width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: contain;
  }
}

/* Ensure smooth transitions */
* {
  box-sizing: border-box;
}

.feature-nav-item,
.feature-details,
.feature-illustration {
  transition: all 0.3s ease;
}
