/*
 * aquestionmark (AQM) - 메인 랜딩 페이지 프리미엄 CSS
 * 작성일: 2026-05-26
 * 본 파일은 모바일 가독성 극대화 및 단어 단위 강제 줄바꿈(keep-all)을 적용한 프리미엄 미니멀리즘 디자인을 제공합니다.
 * 하단에는 점검가이드 모달 내 팁 본문 전체 블러 처리 및 5대 점검 효과 상세 렌더링 스타일이 적용되었습니다.
 */

/* 페이드인 기본 애니메이션 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-page {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background-color: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  word-break: keep-all;
  /* 페이지 전체 기본값: 단어 중간 강제 줄바꿈 방지 */
  overflow-wrap: break-word;
}

/* 히어로 섹션 */
.landing-hero {
  padding: 4rem 1.25rem 3rem 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .landing-hero {
    padding: 6rem 1.5rem 4rem 1.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background-color: #f3f4f6;
  color: #4b5563;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid #e5e7eb;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
  }
}

.landing-title {
  font-size: 1.85rem;
  /* 모바일에서 지나치게 거대하여 쪼개지는 것 방지 */
  font-weight: 850;
  line-height: 1.35;
  color: #111827;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .landing-title {
    font-size: 3.25rem;
    line-height: 1.25;
  }
}

.text-highlight {
  color: #ca8a04;
  position: relative;
  display: inline-block;
}

.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background-color: #fef08a;
  z-index: -1;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .text-highlight::after {
    height: 8px;
  }
}

.landing-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  /* 모바일 전용 컴팩트 사이즈 */
  font-weight: 450;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .landing-subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }
}

/* 히어로 버튼 액션 */
.landing-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  max-width: 24rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .landing-actions {
    flex-direction: row;
    max-width: 28rem;
  }
}

.btn-primary {
  background-color: #111111;
  color: #ffffff;
  padding: 0.875rem 1.5rem;
  /* 모바일 터치 최적화 패딩 */
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #111111;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
  }
}

.btn-primary:hover {
  background-color: #1f2937;
  border-color: #1f2937;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: #374151;
  padding: 0.875rem 1.5rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .btn-secondary {
    padding: 1rem 1.75rem;
    font-size: 0.95rem;
  }
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

/* 주요 모듈 그리드 */
.landing-features-wrap {
  background-color: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  padding: 3.5rem 1.25rem;
}

@media (min-width: 768px) {
  .landing-features-wrap {
    padding: 5rem 1.5rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ca8a04;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
}

.section-title {
  font-size: 1.35rem;
  /* 모바일 가독용 조율 */
  font-weight: 850;
  color: #111827;
  margin-top: 0.5rem;
  word-break: keep-all;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
    line-height: 1.25;
  }
}

.landing-features {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 모바일 2x2 반응형 그리드 탑재 */
  gap: 0.75rem;
  /* 모바일 좁은 화면 최적화 여백 */
}

@media (min-width: 768px) {
  .landing-features {
    grid-template-columns: repeat(4, 1fr);
    /* PC 4단 일렬 배치 확대 */
    gap: 1.5rem;
  }
}

.feature-card {
  background-color: #ffffff;
  padding: 1.25rem 1rem;
  /* 모바일 2x2에 적합한 콤팩트 패딩 조정 */
  border-radius: 20px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  cursor: pointer;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .feature-card {
    padding: 2.25rem 1.75rem;
    /* PC 쾌적한 볼륨 패딩 복구 */
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}

.feature-icon-box {
  width: 2.25rem;
  /* 모바일 컴팩트 아이콘 규격 */
  height: 2.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .feature-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }
}

.icon-yellow {
  background-color: #fef9c3;
  color: #a16207;
}

.icon-blue {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.icon-purple {
  background-color: #faf5ff;
  color: #7e22ce;
}

.icon-teal {
  background-color: #e6fffa;
  color: #0d9488;
}

/* 배민 GIF 빌더 민트 아이콘 스타일 추가 */

.feature-card h3 {
  font-size: 0.95rem;
  /* 모바일 2x2에 맞춰 폰트 축소 */
  font-weight: 750;
  color: #111827;
  margin-bottom: 0.4rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .feature-card h3 {
    font-size: 1.125rem;
  }
}

.feature-card p {
  color: #6b7280;
  font-size: 0.775rem;
  /* 모바일 2x2 반응형 폰트 최적화 */
  line-height: 1.5;
  margin-bottom: 1rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .feature-card p {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.feature-link {
  font-size: 0.775rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .feature-link {
    font-size: 0.8rem;
  }
}

.feature-card:hover .feature-link.text-yellow-600 {
  color: #854d0e;
}

.feature-card:hover .feature-link.text-blue-600 {
  color: #1e40af;
}

.feature-card:hover .feature-link.text-purple-600 {
  color: #6b21a8;
}

.feature-card:hover .feature-link.text-teal-600 {
  color: #0f766e;
}

/* 요금제 섹션 */
.landing-pricing-wrap {
  padding: 4rem 1.25rem;
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .landing-pricing-wrap {
    padding: 6rem 1.5rem;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
  }
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
  /* 모바일 컴팩트 패딩 */
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .pricing-card {
    padding: 2.5rem 2rem;
  }
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.pricing-card.premium {
  border: 2px solid #111111;
}

.pricing-card.premium::before {
  content: "가장 합리적인 선택";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111111;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.pricing-period {
  font-size: 0.7rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  word-break: keep-all;
}

.pricing-title {
  font-size: 1.15rem;
  font-weight: 750;
  color: #111827;
  margin-top: 0.25rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .pricing-title {
    font-size: 1.25rem;
  }
}

.pricing-price-box {
  margin: 1rem 0 1rem 0;
}

@media (min-width: 768px) {
  .pricing-price-box {
    margin: 1.5rem 0 1.25rem 0;
  }
}

.pricing-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
}

@media (min-width: 768px) {
  .pricing-price {
    font-size: 2rem;
  }
}

.pricing-price-sub {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  word-break: keep-all;
}

.pricing-desc {
  font-size: 0.825rem;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .pricing-desc {
    font-size: 0.85rem;
    margin-bottom: 2rem;
  }
}

.btn-pricing {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  color: #374151;
  cursor: pointer;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .btn-pricing {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
}

.btn-pricing:hover {
  background-color: #f9fafb;
  border-color: #c1c5cb;
}

.pricing-card.premium .btn-pricing {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
}

.pricing-card.premium .btn-pricing:hover {
  background-color: #1f2937;
  border-color: #1f2937;
}

/* 럭셔리 모달 오버레이 */
.aqm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* 모바일에서 더 넓은 폭 확보를 위해 패딩 축소 */
}

.aqm-modal-overlay.active {
  display: flex;
}

.aqm-modal-container {
  background-color: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  /* 모바일 및 PC 뷰포트 공간 확보를 위해 세로 대폭 상향 */
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
  position: relative;
  display: flex;
  flex-direction: column;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 모달 헤더 */
.aqm-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-overlay {
    align-items: flex-start;
    padding-top: 3.5vh;
    overflow-y: auto;
  }
  .aqm-modal-container {
    max-height: 92vh;
    margin-bottom: 2.5rem;
  }
  .aqm-modal-header {
    padding: 1.5rem 1.75rem;
  }
}

.aqm-modal-header h3 {
  font-size: 1.05rem;
  font-weight: 750;
  color: #111827;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-header h3 {
    font-size: 1.125rem;
  }
}

.aqm-modal-close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}

.aqm-modal-close-btn:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

/* 모달 바디 */
.aqm-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #4b5563;
  line-height: 1.6;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-body {
    padding: 1.75rem;
    font-size: 0.875rem;
  }
}

/* 모달 내 카드 스타일 */
.modal-info-card {
  background-color: #f9fafb;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 1.125rem;
  margin-bottom: 0.875rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .modal-info-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
}

.modal-info-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .modal-info-card h4 {
    font-size: 0.95rem;
  }
}

.modal-info-card p {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.5;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .modal-info-card p {
    font-size: 0.85rem;
  }
}

.modal-bullet-list {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.modal-bullet-list li {
  position: relative;
  padding-left: 0.875rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  word-break: keep-all;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .modal-bullet-list li {
    padding-left: 1rem;
    font-size: 0.85rem;
  }
}

.modal-bullet-list li::before {
  content: "•";
  color: #ca8a04;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* 모달 푸터 */
.aqm-modal-footer {
  padding: 1.125rem 1.5rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-footer {
    padding: 1.25rem 1.75rem;
  }
}

.aqm-modal-footer-btn {
  width: 100%;
  background-color: #111111;
  color: #ffffff;
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.15s;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-footer-btn {
    padding: 0.875rem;
    font-size: 0.9rem;
  }
}

.aqm-modal-footer-btn:hover {
  background-color: #1f2937;
}

.aqm-modal-footer-sub {
  font-size: 0.675rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  word-break: keep-all;
}

@media (min-width: 768px) {
  .aqm-modal-footer-sub {
    font-size: 0.7rem;
  }
}

/* ────────── [신설] 점검가이드 오토 시뮬레이션 데모 컴포넌트 전용 스타일 ────────── */
.quests-demo-wrap {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  text-align: left;
}

.quests-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #f3f4f6;
}

.quests-demo-progress-pill {
  background-color: #fef9c3;
  color: #854d0e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
}

.quests-demo-progress-pill.completed {
  background-color: #dcfce7;
  color: #166534;
}

/* 💡 모바일 강제 2줄 밀림 전원 복구 및 Flex 크기 강제 고정 */
.quests-demo-group-header {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.75rem 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  min-width: 0;
  /* 내부 텍스트 찌그러짐 방지 */
}

.quests-demo-group-header.unlocked {
  background-color: #fffbeb;
  border-color: #fde68a;
}

.quests-demo-group-header.completed {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.quests-demo-group-text-box {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  flex-grow: 1;
  /* 가용폭 전체 확보 */
  flex-shrink: 1;
}

.quests-demo-group-title {
  font-size: 0.725rem;
  /* 모바일용 초소형 폰트 설계 (절대 2줄 안밀림) */
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  /* 자동 줄바꿈 절대 방지 */
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .quests-demo-group-title {
    font-size: 0.8rem;
  }
}

.quests-demo-btn {
  background-color: #111111;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: none;
  cursor: default;
  transition: all 0.3s;
  flex-shrink: 0;
  /* 버튼이 강제로 찌그러져 2줄 되는 것 완전 방지 */
  white-space: nowrap;
}

.quests-demo-btn.unlocked {
  background-color: #f3f4f6;
  color: #6b7280;
}

.quests-demo-btn.completed {
  display: none;
}

/* 💡 덜컹거림 원천 방어: 높이를 가변 아코디언이 아닌 처음부터 고정형으로 고정 */
.quests-demo-list {
  margin-top: 0.75rem;
  padding-left: 0.5rem;
  border-left: 2px solid #f3f4f6;
  display: block;
  /* 상시 노출 처리 (덜컹거림 원천 방지) */
}

/* 시작 전 아이템들을 흐릿하고 잠긴 상태로 표현하는 블러 잠금 효과 */
.quests-demo-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  opacity: 0.25;
  /* 시작 전에는 고도로 흐릿함 */
  filter: blur(1.5px);
  /* 미세한 블러 */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  word-break: keep-all;
}

.quests-demo-item.active {
  opacity: 0.8;
  filter: blur(0px);
  /* 블러 걷힘 */
}

.quests-demo-item.done {
  opacity: 1;
  filter: blur(0px);
}

.quests-demo-check-btn {
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: #166534;
  transition: all 0.3s;
}

.quests-demo-item.done .quests-demo-check-btn {
  background-color: #dcfce7;
  border-color: #86efac;
}

.quests-demo-check-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  margin-top: 0.1rem;
}

.quests-demo-item.done .quests-demo-check-label {
  color: #166534;
}

.quests-demo-title-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.quests-demo-title {
  font-size: 0.775rem;
  font-weight: 700;
  color: #374151;
}

.quests-demo-savings {
  background-color: #eff6ff;
  color: #1e40af;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.375rem;
  border-radius: 4px;
}

/* 🔒 [신설] 멤버십 전용 특급 스마트 팁 골드 박스 스타일 (본문 전체 블러 처리 고도화) */
.quests-demo-tip-lock {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px dashed #f59e0b;
  border-radius: 12px;
  padding: 0.75rem 0.875rem;
  margin-top: 0.625rem;
  display: none;
  /* 체크 전에는 숨김 */
  flex-direction: column;
  gap: 0.375rem;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  word-break: keep-all;
}

.quests-demo-tip-lock-title-box {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #b45309;
}

.quests-demo-tip-lock-icon {
  font-size: 0.875rem;
  color: #f59e0b;
  flex-shrink: 0;
}

/* 💡 궁금증 극대화를 위해 팁 본문 텍스트 전체를 완전히 블러 처리하는 명품 연출 */
.quests-demo-tip-lock-blur-body {
  font-size: 0.7rem;
  color: #d97706;
  line-height: 1.45;
  filter: blur(4px);
  /* 본문 텍스트 전체 블러 처리 */
  user-select: none;
  position: relative;
  background-color: rgba(245, 158, 11, 0.05);
  padding: 0.375rem;
  border-radius: 6px;
  word-break: break-all;
}

.quests-demo-tip-lock-action-hint {
  font-size: 0.65rem;
  font-weight: 700;
  color: #d97706;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.125rem;
  text-decoration: underline;
  cursor: pointer;
}

/* ────────── [신설] 수익 계산기 오토 시뮬레이션 데모 스타일 ────────── */
.calc-demo-wrap {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  text-align: left;
}

.calc-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #f3f4f6;
}

.calc-demo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
}

.calc-demo-badge.free {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.calc-demo-badge.premium-badge {
  background-color: #faf5ff;
  color: #7e22ce;
  border: 1px solid #d8b4fe;
}

.calc-demo-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 0.875rem;
  background-color: #f9fafb;
  padding: 0.75rem;
  border-radius: 12px;
}

.calc-input-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}

.calc-label {
  color: #6b7280;
  font-weight: 550;
}

.calc-val {
  color: #111827;
  font-weight: 750;
}

.calc-demo-results {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.875rem;
  text-align: center;
  transition: all 0.3s;
}

.calc-result-header {
  font-size: 0.725rem;
  font-weight: 800;
  color: #475569;
  margin-bottom: 0.25rem;
}

.calc-result-main {
  font-size: 1.35rem;
  font-weight: 850;
  color: #1e293b;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.calc-result-sub {
  font-size: 0.675rem;
  color: #64748b;
  line-height: 1.4;
}

.calc-lock-box {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px dashed #c084fc;
  border-radius: 12px;
  padding: 0.75rem;
  margin-top: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.calc-lock-icon {
  font-size: 1rem;
  color: #a855f7;
  flex-shrink: 0;
}

.calc-lock-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #7e22ce;
}

.calc-lock-text {
  font-size: 0.65rem;
  color: #9333ea;
  margin: 0;
  line-height: 1.4;
}

/* ────────── [신설] 멤버십 정밀 리포트 오토 시뮬레이션 데모 스타일 ────────── */
.report-demo-wrap {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  text-align: left;
}

.report-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #f3f4f6;
}

.report-demo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
}

.report-demo-badge.platform {
  background-color: #eff6ff;
  color: #1d4ed8;
}

.report-demo-badge.bep {
  background-color: #fffbeb;
  color: #b45309;
}

.report-demo-badge.pricing-sim {
  background-color: #f0fdf4;
  color: #15803d;
}

.report-demo-badge.tax {
  background-color: #faf5ff;
  color: #7e22ce;
}

.report-demo-card {
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 14px;
  padding: 0.875rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.report-card-chapter {
  font-size: 0.65rem;
  font-weight: 800;
  color: #ca8a04;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.report-card-title {
  font-size: 0.825rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.report-card-content {
  font-size: 0.725rem;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.report-metrics-box {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.5rem 0.625rem;
}

.report-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.675rem;
  padding: 0.125rem 0;
}

.report-metric-label {
  color: #6b7280;
  font-weight: 550;
}

.report-metric-val {
  color: #111827;
  font-weight: 750;
  transition: color 0.3s;
}

.report-demo-prescription {
  background-color: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.7rem;
  color: #5b21b6;
  line-height: 1.45;
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ────────── [신설] 배민 GIF 빌더 데모 전용 스타일 ────────── */
.gif-demo-wrap {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
  text-align: left;
}

.gif-demo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #f3f4f6;
}

.gif-demo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0d9488;
  background-color: #f0fdfa;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
}

.gif-demo-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9fafb;
  padding: 0.5rem;
  border-radius: 10px;
  margin-bottom: 0.875rem;
}

.gif-demo-step {
  font-size: 9px !important;
  font-weight: 800;
  color: #9ca3af;
  padding: 3px 6px;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.gif-demo-step.active {
  color: #0d9488;
  background-color: #ccfbf1;
}

.gif-demo-step.done {
  color: #111827;
  background-color: #e5e7eb;
}

.gif-demo-arrow {
  font-size: 8px;
  color: #d1d5db;
}

/* 배민 모바일 화면 목업 스타일 */
.baemin-mockup {
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f3f4f6;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.baemin-mockup-header {
  background-color: #2ac1bc;
  /* 배민 민트색 */
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  padding: 6px;
}

.baemin-mockup-body {
  background-color: #ffffff;
  padding: 8px;
}

.baemin-store-info {
  margin-bottom: 8px;
}

.baemin-badge {
  background-color: #e6fffa;
  color: #0d9488;
  font-size: 8px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.baemin-store-name {
  font-size: 11px;
  font-weight: 800;
  color: #1f2937;
  margin: 2px 0;
}

.baemin-rating {
  font-size: 8px;
  color: #4b5563;
  font-weight: 600;
}

.baemin-gif-container {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.baemin-gif-label {
  position: absolute;
  top: 4px;
  left: 4px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 7px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  z-index: 5;
}

.baemin-gif-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  /* 완벽한 1:1 비율의 정사각형 스크린 */
  overflow: hidden;
  background-color: #000;
}

/* 최종 교차 편집 격자 애니메이션 - 십자 조각낸 음식 이미지 A와 이미지 B가 동시에 페이드 아웃/인되며 전환되는 연출 */
#gif-demo-preview-banner.playing .cell-1 {
  background-size: 200% 200% !important;
  background-position: 0% 0% !important;
  /* 좌상 조각 */
  animation: cellFlash1 5.4s infinite ease-in-out;
}

#gif-demo-preview-banner.playing .cell-2 {
  background-size: 200% 200% !important;
  background-position: 100% 0% !important;
  /* 우상 조각 */
  animation: cellFlash2 5.4s infinite ease-in-out;
}

#gif-demo-preview-banner.playing .cell-3 {
  background-size: 200% 200% !important;
  background-position: 0% 100% !important;
  /* 좌하 조각 */
  animation: cellFlash3 5.4s infinite ease-in-out;
}

#gif-demo-preview-banner.playing .cell-4 {
  background-size: 200% 200% !important;
  background-position: 100% 100% !important;
  /* 우하 조각 */
  animation: cellFlash4 5.4s infinite ease-in-out;
}

/* 1번 구역 (좌상) 페이드 전환 키프레임 */
@keyframes cellFlash1 {
  0%, 28% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
  30% { opacity: 0; }
  33%, 61% {
    background-image: url('../images/food-2.jpg');
    opacity: 1;
  }
  63% { opacity: 0; }
  66%, 94% {
    background-image: url('../images/food-3.jpg');
    opacity: 1;
  }
  96% { opacity: 0; }
  100% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
}

/* 2번 구역 (우상) 페이드 전환 키프레임 - 0.15초가량 시간차(딜레이 5% 뒤 시점) */
@keyframes cellFlash2 {
  0%, 31% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
  33% { opacity: 0; }
  36%, 64% {
    background-image: url('../images/food-2.jpg');
    opacity: 1;
  }
  66% { opacity: 0; }
  69%, 97% {
    background-image: url('../images/food-3.jpg');
    opacity: 1;
  }
  99% { opacity: 0; }
  100% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
}

/* 3번 구역 (좌하) 페이드 전환 키프레임 - 0.3초가량 시간차(딜레이 10% 뒤 시점) */
@keyframes cellFlash3 {
  0%, 34% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
  36% { opacity: 0; }
  39%, 67% {
    background-image: url('../images/food-2.jpg');
    opacity: 1;
  }
  69% { opacity: 0; }
  72%, 98% {
    background-image: url('../images/food-3.jpg');
    opacity: 1;
  }
  99% { opacity: 0; }
  100% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
}

/* 4번 구역 (우하) 페이드 전환 키프레임 - 0.45초가량 시간차(딜레이 15% 뒤 시점) */
@keyframes cellFlash4 {
  0%, 37% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
  39% { opacity: 0; }
  42%, 70% {
    background-image: url('../images/food-2.jpg');
    opacity: 1;
  }
  72% { opacity: 0; }
  75%, 98% {
    background-image: url('../images/food-3.jpg');
    opacity: 1;
  }
  99% { opacity: 0; }
  100% {
    background-image: url('../images/food-1.jpg');
    opacity: 1;
  }
}

/* 3장 겹침 카드 데코레이션 스타일 */
.gif-stacked-card {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  border: 1px solid rgba(255,255,255,0.8);
}

/* ────────── [신설] 배민 GIF 빌더 가이드 모달 데스크탑 좌우 2열 반응형 개편 스타일 ────────── */
.gif-demo-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* 데스크탑(768px 이상) 화면에서의 레이아웃 조정 */
/* ────────── [신설] 배민 GIF 빌더 가이드 모달 데스크탑/모바일 상시 좌우 반응형 개편 스타일 ────────── */
/* 3장 겹침 카드 데코레이션 스타일 */
.gif-stacked-card {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
  border: 1px solid rgba(255,255,255,0.8);
}

/* 좌우 1줄 정렬 래퍼 (기본 모바일 대응) */
.gif-demo-grid-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 모바일용 컴팩트 갭 */
  margin-top: 0.5rem;
  width: 100%;
}

/* 모바일 좁은 화면(768px 미만) 대응을 위해 그리드 래퍼에 미세 scale 적용 */
@media (max-width: 767px) {
  .gif-demo-grid-wrapper {
    transform: scale(0.88);
    transform-origin: center center;
    width: 112%;
    margin-left: -6%; /* 가로 여백을 알차게 활용하여 좌우 한 줄 정렬 구현 */
    margin-top: -0.25rem;
    margin-bottom: -0.25rem;
  }
}

/* 조각 분할 영역 160px 정사각형 환원 */
.gif-demo-grid-wrapper .gif-slice-screen {
  width: 160px !important;
  height: 160px !important;
  margin: 0 !important;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* 배민 목업 - 모바일(기본)에서는 최대 가로폭 210px로 축소 */
.gif-demo-grid-wrapper .baemin-mockup {
  margin: 0 !important;
  max-width: 210px !important;
  width: 100%;
  transform: scale(1);
  transform-origin: center;
}

/* 데스크탑(768px 이상) 화면에서의 레이아웃 조정 */
@media (min-width: 768px) {
  /* GIF 빌더 모달 가로폭 낭비 근절을 위한 최대 너비 축소 */
  .aqm-modal-container.type-gifmaker {
    max-width: 34rem; /* 약 544px (양옆 낭비 공백 원천 제거) */
  }

  /* GIF 빌더 전용 데스크탑 세로 패딩 및 여백 컴팩트 조율 */
  .aqm-modal-container.type-gifmaker .aqm-modal-header {
    padding: 1.25rem 1.75rem; /* 헤더 세로 패딩 조절 */
  }
  .aqm-modal-container.type-gifmaker .aqm-modal-body {
    padding: 1.25rem 1.75rem 1.25rem 1.75rem; /* 바디 상하단 패딩 최소화 */
  }
  .aqm-modal-container.type-gifmaker .aqm-modal-footer {
    padding: 0.875rem 1.75rem 1.125rem 1.75rem; /* 푸터 세로 패딩 슬림화 */
  }

  /* 데스크탑 간격 및 목업 크기 널찍하게 확대 */
  .gif-demo-grid-wrapper {
    gap: 1.25rem;
  }

  .gif-demo-grid-wrapper .baemin-mockup {
    max-width: 260px !important; /* PC는 가로 260px로 큼직하고 시원하게 */
  }
}