/* ============================================================
   PAGE: index (Louvre teaser landing) — MuseCat Audio design
   Sections: hero, problem, why, ba, reviews, faq, final-cta.
   Atomic components (.btn, .pill, .card) live in components.css.
   ============================================================ */

@keyframes ms-bob  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ms-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* Anchored sections clear the sticky nav */
#hero, #why, #tours, #reviews, #faq { scroll-margin-top: 80px; }

/* Shared display heading */
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin: 12px 0 0;
  color: var(--ink);
  text-wrap: pretty;
}

/* ----- HERO -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FAF8F3 0%, #F3EFE6 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-content { animation: ms-fade 600ms ease-out both; }

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 22px 0 0;
  color: var(--ink);
}
.hero-title-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
}
.hero-rule {
  width: 44px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 26px 0 22px;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--stone);
  margin: 0 0 32px;
  max-width: 420px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--stone);
}
.hero-store {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
}
.hero-store-hint,
.hero-store-qr {
  font-size: var(--text-sm);
  color: var(--stone);
}
.hero-store-qr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-store-qr img {
  display: block;
  width: 72px;
  height: 72px;
  padding: 4px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.12);
  border-radius: 8px;
}
.stars { color: var(--gold); letter-spacing: 1px; }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 460px;
}
.hero-phone {
  width: 290px;
  height: 590px;
  border-radius: 38px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 30px 70px rgba(31, 31, 31, 0.22);
}
.hero-mascot {
  position: absolute;
  left: -6px; bottom: 22px;
  animation: ms-bob 4s ease-in-out infinite;
}
.hero-paws {
  position: absolute;
  right: -8px; top: 26px;
  opacity: 0.5;
  pointer-events: none;
}

/* ----- PROBLEM ---------------------------------------------- */
.problem { background: var(--paper); padding: 96px 0; }
.problem-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.problem .card-image { height: 230px; aspect-ratio: auto; }

.problem-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.problem-x {
  width: 22px; height: 22px;
  flex: none;
  background: var(--red-soft);
  color: var(--red);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.problem-sub {
  font-size: 15px;
  color: var(--stone);
  margin-top: 8px;
  line-height: 1.6;
}

/* ----- WHY (deep-green section) ----------------------------- */
.why { background: var(--forest); color: var(--paper); padding: 100px 0; }
.why-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.why .section-title { color: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why .card {
  background: rgba(250, 248, 243, 0.06);
  border: 1px solid rgba(250, 248, 243, 0.14);
  border-radius: var(--radius-lg);
  padding: 14px 14px 28px;
  overflow: visible;
}
.why .card-image {
  height: 250px;
  aspect-ratio: auto;
  border-radius: 16px;
  background: rgba(250, 248, 243, 0.08);
}
.why .card-body { padding: 22px 12px 0; }
.why-tag {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.why-check {
  color: var(--gold);
  display: inline-flex;
  flex: none;
}
.why-check svg { width: 20px; height: 20px; fill: none; stroke: currentColor; }
.why-sub {
  font-size: 15px;
  color: rgba(250, 248, 243, 0.66);
  margin-top: 8px;
  line-height: 1.6;
}

/* ----- REVIEWS ---------------------------------------------- */
.reviews { background: var(--paper-2); padding: 96px 0; }
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}
.reviews-rating-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
}
.reviews-rating .stars { font-size: 17px; letter-spacing: 2px; }
.reviews-rating-from {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-top: 3px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.review-avatar.av-j { background: var(--forest); color: var(--paper); }
.review-avatar.av-m { background: var(--gold); color: var(--ink); }
.review-avatar.av-s { background: #A7C3D9; color: var(--ink); }
.review-quote {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-top: 18px;
  color: var(--ink);
  text-wrap: pretty;
}
.review-author {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-top: 16px;
}

/* ----- FAQ --------------------------------------------------- */
.faq { background: var(--paper); padding: 96px 0; }
.faq .container { max-width: 860px; }
.faq-header { text-align: center; margin-bottom: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 26px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  color: var(--gold);
  display: inline-flex;
  flex: none;
  transition: transform var(--t-base);
}
.faq-chevron svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone);
  margin-top: 14px;
}
.faq-foot {
  text-align: center;
  margin-top: 36px;
  font-size: var(--text-base);
  color: var(--stone);
}
.faq-foot a { color: var(--forest); font-weight: 600; }

/* ----- FINAL CTA (dark) ------------------------------------- */
.final-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.final-cta-mascot {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  animation: ms-bob 4.5s ease-in-out infinite;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  text-wrap: pretty;
}
.final-cta p {
  font-size: 17px;
  color: rgba(250, 248, 243, 0.62);
  margin: 16px 0 34px;
}
.final-cta-action { display: flex; justify-content: center; margin-top: 32px; }

/* ----- Responsive ------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 72px; text-align: center; }
  .hero-content { max-width: 560px; margin: 0 auto; }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta-row { justify-content: center; }
  /* 1024px 이하는 대부분 터치 기기라 QR 이 의미가 없다. 힌트만 남긴다. */
  .hero-store { justify-content: center; }
  .hero-store-qr { display: none; }
  .problem-cards { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .problem, .faq, .tours { padding: 64px 0; }
  .why, .reviews { padding: 72px 0; }
  .final-cta { padding: 72px 24px; }
  .faq-item { padding: 20px 20px; }
  .faq-item summary { font-size: 16px; }
}
