.feature-accordion-block {
  position: relative;
  z-index: 2;
  padding: 160px 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  border-radius: 40px;
  background: rgb(21, 21, 21);
  color: #fff;
}

.feature-heading {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  width: min(670px, 100%);
  margin: 0 auto;
}

.feature-eyebrow {
  flex: none;
  min-height: 36px;
  padding: 4px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgb(134, 134, 134);
  white-space: nowrap;
}

.feature-heading h2 {
  flex: 1;
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 32px;
  font-weight: 500;
  line-height: 35.2px;
  letter-spacing: -0.64px;
}

.feature-heading h2 span {
  color: #fff;
}

.feature-panel {
  position: relative;
  width: min(1320px, 100%);
  margin-inline: auto;
  height: 700px;
  padding: 40px 100px;
  display: flex;
  gap: 217px;
  overflow: hidden;
  border-radius: 24px;
  background: rgb(26, 26, 26);
}

.feature-menu {
  position: absolute;
  left: 100px;
  top: 50%;
  z-index: 2;
  width: 337px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
}

.feature-item {
  width: max-content;
  min-width: 245px;
  max-width: 337px;
  padding: 20px 24px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s var(--ease-card);
}

.feature-item.is-open {
  width: 337px;
}

.feature-item:not(.is-open):nth-child(1),
.feature-item:not(.is-open):nth-child(5),
.feature-item:not(.is-open):nth-child(6) {
  width: 245px;
}

.feature-item:not(.is-open):nth-child(2),
.feature-item:not(.is-open):nth-child(4) {
  width: 300px;
}

.feature-item:not(.is-open):nth-child(3) {
  width: 337px;
}

.feature-item:not(.is-open):hover {
  background: rgba(255, 255, 255, 0.09);
}

.feature-item-head {
  width: 100%;
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  text-align: left;
}

.feature-item-title-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-item-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: -0.6px;
}

.feature-status {
  flex: none;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  line-height: 12px;
  letter-spacing: 0;
}

.feature-arrow {
  width: 32px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.feature-arrow svg {
  transition: transform 0.65s var(--ease-card);
  transform: rotate(0deg);
}

.feature-item.is-open .feature-arrow svg {
  transform: rotate(180deg);
}

.feature-item-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.65s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.35s 0s var(--ease-card);
}

.feature-item-body > div {
  min-height: 0;
  overflow: hidden;
}

.feature-item-body p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  font-weight: 500;
  line-height: 20.8px;
  letter-spacing: 0;
}

.feature-item.is-open .feature-item-body {
  grid-template-rows: 1fr;
  opacity: 1;
  transition-delay: 0s, 0.2s;
}

.feature-visual {
  position: absolute;
  right: 100px;
  top: 60px;
  width: 570px;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 0 50%;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-visual.is-changing {
  animation: feature-image-in 0.55s var(--ease-card) both;
}

@keyframes feature-image-in {
  from { opacity: 0.001; transform: translateX(70px) scale(0.95); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.feature-dots,
.feature-mobile-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.feature-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  z-index: 3;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 49px;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.65s cubic-bezier(0.65, 0, 0.35, 1), background-color 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.feature-dot.is-active {
  width: 30px;
  background: #fff;
}

.feature-mobile {
  display: none;
}

@media (min-width: 810px) and (max-width: 1279.98px) {
  .feature-menu {
    left: 40px;
    width: min(300px, 43%);
  }

  .feature-item,
  .feature-item.is-open,
  .feature-menu .feature-item:not(.is-open) {
    width: 100%;
  }

  .feature-item-title {
    font-size: 18px;
  }

  .feature-status {
    display: none;
  }

  .feature-visual {
    right: 40px;
    width: min(570px, calc(100% - 420px));
  }
}

@media (max-width: 809.98px) {
  .feature-accordion-block {
    padding: 100px 16px;
    gap: 40px;
    border-radius: 24px;
  }

  .feature-heading {
    width: 100%;
    margin-bottom: 0;
    padding: 0 20px;
    flex-direction: column;
    gap: 24px;
  }

  .feature-heading h2 {
    width: 100%;
    font-size: 32px;
    line-height: 35.2px;
  }

  .feature-panel {
    width: calc(100% - 40px);
    height: 590px;
    border-radius: 20px;
  }

  .feature-menu,
  .feature-visual,
  .feature-dots {
    display: none;
  }

  .feature-mobile {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
  }

  .feature-mobile-visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .feature-mobile-visual img {
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: contain;
  }

  .feature-mobile-copy {
    position: absolute;
    inset: auto 0 0;
    min-height: 190px;
    padding: 72px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 18px;
    background: linear-gradient(0deg, rgb(26, 26, 26) 30%, rgba(26, 26, 26, 0.92) 65%, rgba(26, 26, 26, 0));
  }

  .feature-mobile-title,
  .feature-mobile-body {
    margin: 0;
  }

  .feature-mobile-title {
    color: #fff;
    font-size: 20px;
    line-height: 22px;
  }

  .feature-mobile-body {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 18.2px;
  }

  .feature-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .feature-mobile-arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 20px;
  }

  .feature-mobile-dots .feature-dot.is-active {
    width: 26px;
    height: 5px;
  }

  .feature-mobile-dots .feature-dot {
    width: 5px;
    height: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-item-body,
  .feature-arrow svg,
  .feature-dot,
  .feature-visual.is-changing {
    animation: none !important;
    transition: none !important;
  }
}
