/* Key Features Section Component */
.key-features-section {
  width: 100%;
  background-color: #ffffff;
  padding: var(--spacing-2xl) 0;
}

.key-features-section__container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-2xl);
  display: flex;
  gap: var(--spacing-2xl);
  align-items: flex-start;
}

/* 사이드바 */
.key-features-sidebar {
  width: 294px;
  flex-shrink: 0;
  position: sticky;
  top: calc((var(--header-height) + var(--spacing-lg)) / 2);
  align-self: flex-start;
}

.key-features-sidebar__header {
  margin-bottom: var(--spacing-xl);
}

.key-features-sidebar__logo {
  font-family: var(--font-montserrat);
  font-weight: 900;
  font-size: 32px;
  line-height: 41.6px;
  color: var(--color-text-primary);
  margin: 0 0 var(--spacing-xs) 0;
}

.key-features-sidebar__title {
  font-family: var(--font-montserrat);
  font-weight: 400;
  font-size: 24px;
  line-height: 31.2px;
  color: var(--color-text-primary);
  margin: 0;
}

.key-features-sidebar__nav {
  width: 100%;
}

.key-features-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.key-features-sidebar__item {
  margin: 0;
  padding: 0;
}

.key-features-sidebar__link {
  display: block;
  font-family: var(--font-pretendard);
  font-size: 20px;
  line-height: 60px;
  letter-spacing: -0.5px;
  color: #878787;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.key-features-sidebar__link:hover {
  color: var(--color-text-primary);
}

.key-features-sidebar__link--active {
  font-weight: 900;
  color: #0159fd; /* 활성 색상: 파란색 */
}

.key-features-sidebar__link--active:hover {
  color: #0159fd; /* 활성 상태에서 호버 시에도 파란색 유지 */
}

/* 콘텐츠 영역 */
.key-features-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.key-feature {
  width: 100%;
  padding: var(--spacing-2xl) 0;
  min-height: 400px; /* 최소 높이 설정 */
}

.key-feature__container {
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
  gap: 20px; /* 최소 기본 간격 */
  align-items: center;
}

.key-feature__text-area {
  flex: 1 1 auto; /* 늘어나고 줄어들 수 있음 */
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 422px;
}

.key-feature__title {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 37.18px;
  line-height: 52.05px;
  letter-spacing: -0.93px;
  color: var(--color-text-primary);
  margin: 0;
}

.key-feature__description {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 20.28px;
  line-height: 28.39px;
  letter-spacing: -0.51px;
  color: var(--color-text-primary);
  margin: 0;
}

.key-feature__image-area {
  flex: 0 0 auto; /* 크기 고정 */
  width: 55%; /* 이미지 영역 비율 고정 */
  min-height: 400px;
  background-color: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-feature__image-placeholder {
  font-family: var(--font-pretendard);
  font-weight: 700;
  font-size: 36px;
  line-height: 43px;
  color: var(--color-text-primary);
  text-align: center;
}
