/* Mobile Feature Header Styles */
.mobile-feature-header {
  display: none;
  width: 100%;
  height: 33px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background-color: #fae100;
  border-radius: 8px;
  cursor: pointer;
  box-sizing: border-box;
  margin-bottom: 20px;
  color: #000;
  font-family: 'NEXON Lv1 Gothic';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mobile-feature-header svg {
  transition: transform 0.3s ease;
}

.mobile-feature-header.active svg {
  transform: rotate(180deg);
}

@media all and (max-width: 459px) {
  .qr-page-container {
    position: relative;
  }
  .main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 64px;
  }

  .feature-container {
    position: fixed;
    top: 64px;
    left: 0;
    height: auto;
    width: 100%;
    flex-direction: column;
    padding: 20px 20px 0 20px;
    box-sizing: border-box;
    z-index: 900; /* Below header (1000) but above content */
    background-color: #fff;
  }

  .mobile-feature-header {
    display: flex;
    height: 33px;
    padding: 8px 16px;
    border-radius: 2px;
    border: 1px solid #fae100;
    background: #fae100;
    margin-bottom: 0;
  }
  .features-list {
    width: calc(100% - 40px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
    padding: 10px 0;
    position: absolute;
    top: 53px;
    left: 20px;
  }
  .features-list.active {
    display: flex;
  }
  .feature-title {
    width: 100%;
    padding: 10px 16px;
    justify-content: flex-start;
    box-sizing: border-box;
    height: auto;
  }
  .feature-title:hover {
    background-color: #f5f5f5;
  }
  .feature-title p {
    text-align: left;
    justify-content: flex-start;
    font-size: 14px;
    color: #333;
    max-width: 100%;
  }
  .feature-title.active {
  }
  .feature-title.active p {
    color: #fae100;
    margin-left: 0;
    font-weight: bold;
  }
  .feature-title svg {
    display: none !important;
  }
  .feature-images {
    width: 100%;
    border-left: none;
    padding-top: 0;
    min-height: auto;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 90px;
  }

  .feature-image {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 0;
    margin-bottom: 20px;
    scroll-margin-top: 140px; /* 64px header + ~50px dropdown + padding */
  }

  .feature-copy,
  .feature-copy-media {
    max-width: 100%;
  }

  .feature-copy h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .feature-copy p,
  .feature-copy-body {
    font-size: 14px;
  }
}
