.hero-container {
  width: 100%;
  height: 100%;
  background-image: linear-gradient(270deg, #5b45e6 0%, #4571e6 100%);
}

.hero-wrapper {
  width: 100%;
  height: 100%;
  background-image: url("../assets/common/background-filter.png");
}
.hero-background {
  width: 100%;
  height: 100%;
  background-image: url("../assets/main-mockup.png");
  background-attachment: fixed; /* 이미지를 고정 */
  background-repeat: no-repeat; /* 이미지 반복 없음 */
  background-size: auto 100%; /* 높이는 100%, 가로는 자동 비율 */
  background-position: right; /* 이미지를 중앙에 위치 */
  overflow: hidden;
}

/* iOS 디바이스에서만 적용되는 스타일 */
@supports (-webkit-touch-callout: none) {
  .hero-background {
    background-attachment: scroll; /* iOS에서는 scroll로 변경 */
    /* 필요한 경우 다른 스타일도 조정 */
  }
}
.hero-brand-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
  z-index: 10;
  padding: 160px 48px;
  position: relative;
}
.hero-brand-text {
  font-size: 36px;
  color: #fff;
}

.hero-app-icon-wrapper {
  max-width: 112px;
  width: 100%;
}

.hero-app-icon-wrapper img {
  width: 100%;
}
.hero-logo-wrapper {
  max-width: 430px;
}

.hero-logo-wrapper img {
  width: 100%;
}

.headline-explain-wrapper {
  margin-bottom: 12px;
}

.hero-button-wrapper {
  position: absolute;
  bottom: 160px;
  width: 220px;
  height: 48px;
  background: #fcfcfc;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.3);
  border-radius: 100px;
  transition: transform 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hero-button-wrapper:hover {
  transform: scale(1.05);
}
.hero-free-button {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.video-container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 3%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-scroll-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ticker */
.ticker-container {
  width: 100%;
  padding-top: 160px;
  padding-bottom: 120px;
  position: relative;
}

.ticker-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding-top: 48px;
}

.ticker-scroll-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}
.ticker-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-link-image-wrapper {
  max-width: 260px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.ticker-link-image-wrapper img {
  width: 100%;
}
.headline-title-wrapper p {
  color: var(--primary-color);
  font-weight: bold;
}

.headline-subtext-wrapper p {
  color: var(--gray-scale);
  line-height: 1.8;
  word-break: keep-all;
}

.ticker-wrapper {
  width: 100%;
  padding-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  word-break: keep-all;
}

.headline-flex-wrapper {
  width: 100%;
  padding-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  word-break: keep-all;
}

.headline-subtext-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.scroll-text-right,
.scroll-text-left {
  display: flex;
  font-size: 24px;
  padding-top: 20px;
}

.scroll-text-right {
  animation: scrollRight 18s linear infinite;
}

.scroll-text-left {
  animation: scrollLeft 18s linear infinite;
  margin-top: 30px;
}

.text-group {
  display: flex;
  flex-shrink: 0;
}

.text-item {
  flex-shrink: 0;
  padding-right: 50px;
  font-size: 140px;
  font-weight: bold;
  color: #e6e6e6;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* profile */

.profile-container {
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.profile-wrapper {
  width: 100%;
  height: 100%;
}

.profile-list {
  width: 100%;
  height: 80%;
  position: relative;
  background-image: url("../assets/profile/background.png");
  background-position: top; /* 이미지를 중앙에 위치 */
  background-repeat: no-repeat; /* 이미지 반복 없음 */
  background-size: 650px 650px; /* 너비 500px, 높이 300px로 지정 */
  box-sizing: border-box;
}

.profile-item-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 80px;
}

.profile-card {
  width: 100%;
  height: auto;
  padding: 60px;
  background-color: white;
  box-shadow: 0 1px 13px #4571e526;
  display: flex;
  box-sizing: border-box;
  border-radius: 30px;
}
.card-container {
  width: 100%;
  position: relative;
}

.profile-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding-bottom: 24px;
}
.profile-needs::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: #d9d9d9;
  margin-top: 1rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-text {
  font-size: 24px;
  font-weight: 600;
}

.profile-review {
  margin-top: 14px;
  font-size: 30px;
  width: 220px;
  color: #fff;
}

.profile-review span {
  background-color: var(--primary-color);
  padding: 2px 4px;
  margin-right: 2px; /* 단어 사이 간격 */
  white-space: nowrap; /* 단어 내부 줄바꿈 방지 */
  display: inline-block; /* 블록 형태로 표시 */
  margin-bottom: 4px; /* 줄 사이 간격 */
}

.profile-needs {
  width: 100%;
  height: 50%;
}

.profile-image-container {
  max-width: 180px;
  border-radius: 50%;
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.needs-section {
  width: 100%;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.needs-title {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 12px;
}
.needs-content {
  display: flex;
  font-size: 24px;
}
.star-image {
  width: 24px;
}
.star-image img {
  width: 6px;
}

.mobile-line-wrapper {
  display: none;
}

.purple-box {
  width: 100%;
  height: 80px;
  background-color: #f2f5fd;
  border-radius: 100px;
  margin-top: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.purple-box-textwrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 500;
  position: relative;
}
.purple-box-image-wrapper {
  max-width: 50px;
}
.purple-box-image-wrapper img {
  width: 100%;
}
.purple-box-textwrapper strong {
  color: var(--primary-color);
}

.purple-box .star1 {
  position: absolute;
  top: -95px;
  left: -17px;
  width: 30px;
}
.purple-box .star2 {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 24px;
}
.purple-box .star3 {
  position: absolute;
  top: -140px;
  right: -80px;
  width: 40px;
}
.bar {
  width: 100%;
  height: 100%;
  background-color: #f2f5fd;
  border-radius: 100px;
}

/* mockup container */

.mockup-container {
  width: 100%;
  height: 100%;
  position: relative;

  background: linear-gradient(180deg, #4571e6 0%, #5b45e6 100%);
}

.mockup-backdrop {
  width: 100%;
  height: 100%;
  top: 0;
  position: absolute;

  background: linear-gradient(
    180deg,
    #4571e6 0%,
    rgba(74, 102, 230, 0.4) 40%,
    rgba(80, 91, 230, 0.4) 60%,
    #5b45e6 100%
  );
}
.mockup-wrapper {
  width: 100%;
  height: 100%;
  background-image: url("../assets/service/nova.png");
  background-position: center; /* 이미지를 중앙에 위치 */
  background-repeat: no-repeat; /* 이미지 반복 없음 */
  background-size: cover;

  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-attachment: fixed;
}

.mockup-image-wrapper {
  position: absolute;
  max-width: 480px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.mockup-image-wrapper img {
  width: 100%;
}

/* roulette */
.roulette-container {
  width: 100%;
  padding: 80px 80px;
}

.roulette-wrapper {
  width: 100%;
  height: 100%;
}

.roulette-flex {
  width: 100%;
  display: flex;
}

.roulette-left {
  flex: 1; /* 두 자식의 너비가 동일하게 배분됨 */
  aspect-ratio: 1 / 1; /* 1:1 비율 유지 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roulette-right {
  flex: 1; /* 두 자식의 너비가 동일하게 배분됨 */
  aspect-ratio: 1 / 1; /* 1:1 비율 유지 */
  display: flex;
  justify-content: center;
  align-items: center;
}
.roulette-left .event-text {
  margin-bottom: 12px;
}
.roulette-body-textwrapper {
  margin-top: 16px;
}
.roulette-image-wrapper {
  max-width: 480px;
}
.roulette-image-wrapper img {
  width: 100%;
}

/* review */

.review-container {
  width: 100%;
  background-color: #f2f5fd;
  box-sizing: border-box;
}

.review-flex {
  width: 100%;
  display: flex;
}
.review-left {
  flex: 1; /* 두 자식의 너비가 동일하게 배분됨 */
  aspect-ratio: 1 / 1; /* 1:1 비율 유지 */
  display: flex;
  justify-content: end;
  align-items: flex-end;
}
.review-image-wrapper {
  max-width: 900px;
  display: flex;
  justify-content: flex-end;
}
.review-image-wrapper img {
  width: 100%;
  margin-right: 160px;
}

.review-right {
  flex: 1; /* 두 자식의 너비가 동일하게 배분됨 */
  aspect-ratio: 1 / 1; /* 1:1 비율 유지 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.review-right-wrapper {
  padding: 100px 160px;
  padding-right: 0;
  box-sizing: border-box;
}
.review-right-wrapper .body-text {
  max-width: 400px;
  word-break: keep-all;
}
.review-right .event-text {
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: bold;
}

.review-right .body-text {
  margin-top: 24px;
}

/* coupon */

.coupon-container {
  width: 100%;
  background: linear-gradient(180deg, #4571e6 0%, #5b45e6 100%);
}

.coupon-wrapper {
  width: 100%;
  height: 100%;
  background-image: url("../assets/coupon/background-filter.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.coupon-box {
  width: 100%;
  height: 100%;
  padding: 160px;
}

.coupon-textarea-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  gap: 18px;
}

.coupon-subtitle-wrapper {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.coupon-text-wrapper {
  display: flex;
  text-align: center;
  font-size: 22px;
  padding: 12px 0 0 0;
}
.coupon-text-item {
  color: #e6e6e6;
}

.coupon-imgs-wrapper {
  width: 100%;
}

.coupon-item-area-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 90px;
}

.coupon-item-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
  padding-right: 40px;
}
.coupon-item-wrapper img {
  width: 100%;
}
.coupon-item-image-wrapper {
  max-width: 360px;
}
.coupon-item-image-wrapper img {
  width: 100%;
}

.coupon-vector-right {
  width: 100%;
  max-width: 360px;
  position: absolute;
  top: -41px;
  right: -393px;
}
.coupon-vector-left {
  max-width: 180px;
  position: absolute;
  top: -24px;
  left: -262px;
}
.coupon-vector-left img {
  width: 100%;
}

.coupon-vector-right img {
  width: 100%;
}

.coupon-black-ball-wrapper {
  width: 140px;
  height: 140px;
  position: absolute;
  right: 36px;
  bottom: 48px;
  border-radius: 50%;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
}

.black-ball {
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  z-index: 2;
}
.black-ball p {
  font-size: 22px;
}

.black-ball-text-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 500;
}

/* sale container */

.sales-container {
  width: 100%;
  position: relative;
  padding: 160px 0;
  padding-bottom: 80px;
}
.sales-wrapper {
  width: 100%;
  height: 100%;
}
.sales-text-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  text-align: center;
  word-break: keep-all;
}
.sales-body-text-wrapper {
  padding-top: 12px;
  max-width: 60%;
  margin: 0 auto;
}

.sales-text-flex .headline4 {
  color: var(--primary-color);
}

.chart-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4rem;
  padding: 1rem;
  min-height: 500px;
}

.bar-wrapper {
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.sales-bar {
  width: 86px; /* w-12 equivalent */
  background-color: #e6e6e6; /* bg-blue-500 equivalent */
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: all 0.3s ease-in;
}

.value-label {
  font-size: 0.75rem; /* text-xs equivalent */
  text-align: center;
  margin-top: -1.5rem; /* -mt-6 equivalent */
}

.info-box {
  text-align: center;
  margin-top: 24px;
  width: 120px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #f7f7f7;
  border-radius: 20px;
}

.chart-bar-box {
  position: relative;
  width: 100%;
  height: 1px;
}

.chart-bar {
  position: absolute;
  bottom: 24%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 1px;
  background-color: #e6e6e6;
}

.month-label {
  font-weight: 500;
  margin-bottom: 5px;
}

.max-value {
  background-color: var(--primary-color);
}

.value-info {
  color: #666;
}

.bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speech-bubble {
  height: 80px;
  position: relative;
  width: 120px;
  padding: 4px;
  background: white;
  border: 2px solid #4285f4;
  border-radius: 20px;
  margin-top: 24px; /* 꼬리를 위한 여백 추가 */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0px 4px 20px rgba(69, 113, 229, 0.15);
}

.speech-bubble:after {
  content: "";
  position: absolute;
  top: -8px; /* 위치를 위로 변경 */
  left: 50%;
  width: 12px;
  height: 12px;
  background: white;
  border-left: 2px solid #4285f4; /* 테두리 방향 변경 */
  border-top: 2px solid #4285f4; /* 테두리 방향 변경 */
  transform: translateX(-50%) rotate(45deg);
}

.title {
  font-size: 24px;
  margin-bottom: 8px;
}

.amount {
  font-size: 32px;
  color: #4285f4;
  font-weight: bold;
}

.speech-bubble .value-info {
  color: var(--primary-color);
  font-weight: bold;
}

/* data-container */
.data-container {
  width: 100%;
  background-color: #f4f6fb;
  padding: 160px 80px;
}

.data-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 80px 0 0 0;
}

.data-textarea-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  padding-left: 160px;
}

.data-textarea-wrapper .headline5 {
  color: var(--primary-color);
  padding-bottom: 12px;
}

.data-title-wrapper {
  display: flex;
  flex-direction: column;
}
.data-flex-box {
  width: 100%;
  display: flex;
}

.data-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0 0 0;
}

.data-right-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}

.data-image-wrapper {
  max-width: 680px;
}
.data-image-wrapper img {
  width: 100%;
}

/* competi */
.competi-container {
  width: 100%;
  height: 100%;
  padding: 80px 0;
}

.competi-textarea-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
}
.competi-title-wrapper {
  color: var(--primary-color);
}
.competi-explain-wrapper {
  text-align: center;
  padding: 0 0 20px 0;
}

.competi-body-text-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.competi-body-text-wrapper p {
  word-break: keep-all;
}
.competi-flex-box {
  display: flex;
  position: relative;
}

.competi-reviewer-wrapper {
  position: absolute;
  left: 0;
  bottom: 12px;
  max-width: 250px;
}

.competi-reviewer {
  width: 100%;
}

.competi-image-wrapper {
  width: 100%;
  position: relative;
}

.competi-black-ball-wrapper {
  width: 140px;
  height: 140px;
  position: absolute;
  right: 10%;
  top: 10%;
}

.competi-vector-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.competi-vector-desktop {
  width: 100%;
}

.competi-vector-mobile {
  display: none;
}

.mobile {
  display: none;
}

/* subsc */

.subsc-container {
  overflow-y: hidden;
  width: 100%;
  background-image: linear-gradient(270deg, #5b45e6 0%, #4571e6 100%);
}

.subsc-wrapper {
  width: 100%;
  height: 100%;
  background-image: url("../assets/common/background-filter2.png");

  background-size: cover;
  background-repeat: no-repeat;
}

.subsc-area {
  width: 100%;
  height: 100%;
  padding: 120px;
}
.subsc-explain-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.subsc-explain-item-wrapper {
  width: 500px;
  height: 90px;
  background-color: #5f70e8;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50px;
}

.subsc-twik-wrapper {
  position: absolute;
  left: 0px;
  top: -12px;
  max-width: 40px;
}
.subsc-explain-item-wrapper .headline5 {
  font-weight: 500;
}

.subsc-twik {
  width: 100%;
}

.subsc-vertical-mobile {
  display: none;
}

.subsc-vertical-dot-wrapper {
  display: flex;
  justify-content: center;
}

.subsc-title-wrapper {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 82px 0;
}

.subsc-button-wrapper {
  display: flex;
  justify-content: center;
}
.subsc-button:hover {
  transform: scale(1.03);
}
.subsc-button {
  width: 380px;
  height: 64px;

  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border-radius: 50px;
  cursor: pointer;

  transition: all 0.3s ease-in-out;
}
.subsc-button.headline5 {
  color: var(--primary-color);
  font-size: 24px;
}

/* footer-continer */
.footer-wrapper {
  padding: 72px;
}
.footer-link-mobile {
  display: none;
  font-weight: bold;
  color: #0d0d0d;
}
.footer-link-mobile a {
  cursor: pointer;
}

.footer-textarea-wrapper {
  padding: 0 0 120px 0;
}

.footer-title-wrapper {
  padding: 0 0 16px 0;
}

.footer-text-wrapper {
  display: flex;
  gap: 4px;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
}

.footer-bottom-wrapper p {
  cursor: pointer;
}
.footer-link-desktop {
  display: flex;
  gap: 42px;
  font-weight: bold;
  color: #333;
}

.footer-link-desktop a {
  cursor: pointer;
}
.go-to-top-button {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 6px;
  padding: 0 0 40px 0;
  cursor: pointer;
}

.go-to-top-button-mobile {
  display: none;
}

.icon-wrapper img {
  position: absolute;
}

.tmap-icon {
  left: 320px;
  top: 275px;
  width: 120px;
  height: 120px;
  z-index: 2;
}
.naver-icon {
  left: 280px;
  top: 230px;
  z-index: 1;
}
.google-icon {
  right: 380px;
  top: 275px;
  z-index: 2;
}

.kakao-icon {
  right: 340px;
  top: 220px;
  z-index: 1;
}
