:root {
  --main-color: #f4047d;
  --sub-color: #e8a9c9;
  --dark-color: #121212;
  --primary-color: #333333;
  --secondary-color: #555555;
  --tertiary-color: #a2a2a2;
  --white-color: #ffffff;
  --lightgray-color: #f9f9f9;
  --border-color: #d9d9d9;
  --placeholder-color: #d0d0d0;

  --guide-color: #303030;
}

/* 메인 컨텐츠 */
main {
  max-width: 37.5rem; /* 600px */
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.25); /* 20px */
  position: relative;
}

.hero {
  background: url("/_asset/influencerInsight/images/mainBackground.png")
    no-repeat bottom center;
  height: 852px;
  /* height: 100vh; */
  position: relative;
  background-size: cover;
  display: block;
}

.hero-content {
  align-items: center;
  height: 100%;

  .hero-top-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
  }
}

.hero-input-wrapper {
  position: absolute;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 430px;
  max-width: 33.75rem;
  transition: all 0.3s ease;
}

/* .hero-input-wrapper.fixed {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
} */

/* input 스타일 */
.hero-input {
  width: 100%;
  border-radius: 6.25rem;
  background: var(--white-color);
  box-shadow: 0 0 0.625rem 0 rgba(0, 0, 0, 0.1);
  padding: 10px 3.75rem 10px 1.5rem; /* 16px 60px 16px 24px */
  font-size: 1rem;
  border: none;
  outline: none;
  border: 2px solid #f40579;

  /* &:focus ~ .hero-button {
    background: var(--main-color);
    color: var(--white-color);
  }
*/
}

/* 트랜지션으로 부드럽게 */
.hero-button {
  position: absolute;
  top: 50%;
  right: 1rem; /* 16px */
  transform: translateY(-50%);
  background: var(--main-color);
  border-radius: 6.25rem; /* 100px */
  padding: 0.4rem; /* 6.4px */
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;

  img {
    width: 1.25rem;
    height: 1.25rem;
    transition: filter 0.3s ease;
    filter: brightness(0) invert(1);
  }
}

/* 메인 하단 섹션 */
.hero-bottom {
  background: var(--sub-color);
  padding: 1.5rem; /* 24px */
  height: 14.375rem; /* 230px */
  display: flex;
  justify-content: center;
}

.hero-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* 16px */

  color: var(--primary-color);
  text-align: center;
  font-size: 1.5rem; /* 24px */
  font-style: normal;
  line-height: 140%;

  strong {
    display: block;
  }
}

/* 콘텐츠 */
.content {
  background: #1d1d1d;
  padding: 0 1.5rem; /* 24px */
}

.description-wrapper {
  text-align: center;
  font-size: 1rem; /* 16px */
  font-style: normal;
  font-weight: 500;
  color: var(--tertiary-color);
  padding: 5rem 0 2.5rem 0; /* 80px 0 40px 0 */

  display: flex;
  flex-direction: column;
  gap: 2rem; /* 32px */

  p {
    line-height: 140%;
  }

  strong {
    font-style: normal;
    font-weight: 700;
    color: var(--white-color);
  }
}

.detail-content-wrapper {
  padding: 2.5rem 0; /* 40px */
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.title {
  text-align: center;

  h4 {
    font-size: 2.625rem; /* 42px */
    font-style: normal;
    font-weight: 600;
    color: var(--white-color);
  }

  p {
    font-size: 1.5rem; /* 24px */
    font-style: normal;
    font-weight: 500;
    color: var(--tertiary-color);
    margin-top: 0.5rem; /* 8px */
  }
}

.detail-content-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.detail-content-item {
  background-color: var(--lightgray-color);
  border-radius: 1rem;
  padding: 2rem 2.5rem 2.5rem 2.5rem;

  h5 {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 140%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* 샘플보기 버튼 */
    .sample-button {
      border-radius: 4px;
      border: 1px solid var(--tertiary-color);
      padding: 6px 8px;
      text-align: center;
      font-size: 16px;
      color: var(--tertiary-color);
      margin: 0 0 15px;
    }
  }

  p {
    font-size: 1rem; /* 16px */
    font-style: normal;
    font-weight: 500;
    color: var(--secondary-color);
    /* width: 100px; */
  }

  h5 .sub {
    font-size: 0.75rem; /* 12px */
    font-style: normal;
    font-weight: 500;
    color: var(--main-color);
    vertical-align: middle;
  }
}

.detail-content-item-list {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2.5rem;
  margin-top: 2.5rem;

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: calc(33.333% - 1rem);

    img {
      padding: 1.6875rem;
      border-radius: 1.25rem;
      background: #f5f5f5;
      box-shadow: 0 0 0.25rem 0 rgba(0, 0, 0, 0.1);
      /* height: 7.375rem; */
      aspect-ratio: 1/1;

      width: 100%;
      height: 100%;
    }
  }
}

.brand-section {
  padding: 2.5rem 0;
  overflow: hidden;

  .container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* FAQ 섹션 */
.faq {
  background-color: #1d1d1d;
  padding: 32px 1.5rem 92px 1.5rem;
}

.faq .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* 24px */
}

.faq-wrapper {
  background-color: var(--white-color);
  padding: 1.5rem; /* 24px */
  border-radius: 1rem; /* 16px */

  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
}

.faq-title {
  padding: 1.25rem 0; /* 20px */
}

.faq-item {
  padding: 1rem 0.5rem; /* 16px 8px */
}

.faq-item-wrapper {
  width: 100%;
}

.faq-item-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;

  h5 {
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
  }
}

.faq-toggle img {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
}

.faq-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;

  font-size: 1rem; /* 16px */
  font-style: normal;
  font-weight: 400;
  color: var(--secondary-color);
  line-height: 140%;
}

.faq-item.active .faq-item-content {
  max-height: 31.25rem; /* 500px */
  padding: 0.75rem 0; /* 12px 0 */
}

.faq-notice {
  font-size: 1rem; /* 16px */
  font-style: normal;
  font-weight: 500;
  color: var(--tertiary-color);
  text-align: center;
  margin-top: 1.5rem; /* 24px */
}

/* footer */
footer {
  max-width: 37.5rem; /* 600px */
  margin: 0 auto;
  padding: 1.875rem; /* 30px */
  background: var(--white-color);

  display: flex;
  flex-direction: column;
  gap: 3rem; /* 48px */
}

.footer-menu li button {
  font-size: 1rem; /* 16px */
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
  color: var(--primary-color);
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--primary-color);
  gap: 8px;
}

.footer-copyright {
  font-size: 0.875rem; /* 14px */
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--primary-color);
}

/* 플로팅 탑 버튼 */
.scroll-top-button {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(220px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #454545;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;

  img {
    width: 20px;
    height: 20px;
  }
}

/* ----------------------------
     반응형
  ---------------------------- */

@media (max-width: 600px) {
  .hero {
    height: 100vh;
  }

  .hero-top-text {
    padding: 0 20px;
  }

  .hero-input-wrapper {
    top: 35%;
    width: 90% !important;
  }

  .hero-input {
    padding: 0.75rem 3.125rem 0.75rem 1rem; /* 12px 50px 12px 16px */
    font-size: 0.875rem; /* 14px */
  }

  .hero-button {
    padding: 0.3125rem; /* 5px */
  }

  .detail-content-item {
    p {
      font-size: 0.875rem; /* 14px */
    }
  }

  .detail-content-item-list {
    align-items: center;
    gap: 1.5rem;
  }

  .detail-content-item-list li {
    min-width: auto;
    min-height: auto;

    text-align: center;
    white-space: nowrap;
  }

  .detail-content-item-list li img {
    padding: 1rem;
  }

  .scroll-top-button {
    left: auto;
    right: 20px;
    bottom: 20px;
    transform: none;
  }

  .detail-content-item {
    h5 {
      flex-direction: column;
      gap: 8px;
    }
  }
}
