/* ===================================
   Component Styles
   =================================== */

/* Bar Cards */
.bar-card-wrap {
  display: flex;
  gap: 24px;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

.bar-card {
  flex: 1;
  min-width: 280px;
  background: black;
  border-radius: 16px;
  padding: 32px 52px;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.bar-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bar-card:nth-child(1) {
  transition-delay: 0.1s;
}

.bar-card:nth-child(2) {
  transition-delay: 0.2s;
}

.bar-card:nth-child(3) {
  transition-delay: 0.3s;
}

.bar-card-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.bar-list {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  width: 140px;
}

.bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bar-tall {
  height: 274px;
  justify-content: flex-end;
}

.bar-text {
  background: #666666;
  color: #f7f2f7;
  font-size: 16px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 20px;
  text-align: center;
}

.bar-text-gradient {
  background: #00f2de;
  color: #212224;
}

.bar-fill {
  width: 88px;
  border-radius: 16px 16px 0 0;
}

.bar-gray {
  background: #666666;
  height: 20px;
}

.bar-gradient {
  background: linear-gradient(180deg, #00f2de 0%, #6479e7 55.769%, #c800f0 100%);
  height: 210px;
}

.bar-title {
  font-size: 16px;
  color: #f7f2f7;
  text-align: center;
}

.bar-title-gradient {
  color: #c800f0;
}

.bar-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #f7f2f7;
  text-align: center;
}

/* Hero Text & Card */
.hero-text {
  text-align: center;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-text.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: #212224;
  line-height: 1.4;
}

.hero-sub-text {
  text-align: center;
  padding: 20px 0 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-sub-text.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-sub-text p {
  font-size: 20px;
  color: #212224;
  line-height: 1.4;
}

.hero-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  overflow: hidden;
  /* opacity: 0; */
  /* transform: translateY(40px); */
  /* transition: opacity 0.8s ease, transform 0.8s ease; */
}

/* .hero-card.animate {
  opacity: 1;
  transform: translateY(0);
} */

.hero-card h3 {
  font-size: 44px;
  font-weight: 700;
  color: #212224;
  line-height: 1.4;
  margin-bottom: 40px;
}

.figure-wrap {
  margin-bottom: 40px;
}

.figure {
  border-radius: 24px;
  overflow: hidden;
  max-width: 1048px;
  margin: 0 auto;
}

.image-placeholder {
  width: 100%;
  height: 364px;
  background: #d6dbd6;
}

.hero-card-desc {
  font-size: 20px;
  color: #212224;
  line-height: 1.4;
}

/* Benefit Cards */
.benefit-card-wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.benefit-card {
  background: white;
  border-radius: 8px;
  padding: 40px 20px;
  width: 280px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.benefit-card.animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.benefit-card:nth-child(1) {
  transition-delay: 0.1s;
}

.benefit-card:nth-child(2) {
  transition-delay: 0.2s;
}

.benefit-card:nth-child(3) {
  transition-delay: 0.3s;
}

.benefit-card:nth-child(4) {
  transition-delay: 0.4s;
}

.emoji {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 16px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #212224;
  margin-bottom: 4px;
  line-height: 1.4;
}

.card-desc {
  font-size: 20px;
  color: #212224;
  line-height: 1.4;
}

/* Review Carousel */
.review-carousel {
  width: 100%;
  overflow: hidden;
  height: 228px;
  position: relative;
  /* opacity: 0; */
  /* transform: translateX(-50px); */
  /* transition: opacity 0.8s ease, transform 0.8s ease; */
}

/* .review-carousel.animate {
  opacity: 1;
  transform: translateX(0);
} */

.review-card-list {
  display: flex;
  gap: 20px;
  padding-left: 20px;
  animation: scrollReviews 30s linear infinite;
}

.review-card {
  background: #212224;
  border-radius: 8px;
  padding: 20px;
  width: 340px;
  min-width: 340px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 16px;
  color: white;
  line-height: 1.4;
}

.review-info {
  padding-top: 26px;
}

.review-cate {
  font-size: 14px;
  color: #6ee0db;
  line-height: 1.4;
  margin-bottom: 4px;
}

.user-cate {
  font-size: 14px;
  color: white;
  line-height: 1.4;
}

/* QnA Components */
.qna-wrap {
  width: 100%;
  max-width: 910px;
  border-top: 1px solid #e4e5ed;
}

.question-wrap {
  border-bottom: 1px solid #e4e5ed;
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.question-wrap:hover {
  background: #f9f9f9;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.question-text {
  font-size: 16px;
  color: #212224;
  flex: 1;
}

.arrow-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.question-wrap:hover .arrow-icon {
  transform: translateX(4px);
}
