:root {
  --bg: #fbf6f2;
  --bg-alt: #f3ece5;
  --ink: #2c2422;
  --ink-soft: #5a4d48;
  --accent: #c1543c;
  --accent-dark: #a3402c;
  --card-bg: #ffffff;
  --line: #e7dcd3;
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 620px; }

.badge-bar {
  background: var(--ink);
  color: #f4e9e1;
  text-align: center;
  font-size: 14px;
  padding: 10px 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }

/* Hero */
.hero {
  text-align: center;
  padding: 56px 0 48px;
}
.profile {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-bg);
  box-shadow: 0 4px 16px rgba(44, 36, 34, 0.15);
  margin-bottom: 94px;
}
.hello {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.35;
  margin-top: 80px;
  margin-bottom: 108px;
}

.q-cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.q-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 22px 22px 22px 6px;
  box-shadow: 0 8px 20px rgba(44, 36, 34, 0.10);
  padding: 22px 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
}
.q-card:nth-child(2) { border-radius: 22px 22px 6px 22px; }

.cta-button {
  display: inline-block;
  min-width: 240px;
  text-align: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.1em;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(193, 84, 60, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(193, 84, 60, 0.42);
}

/* Sections */
section {
  padding: 48px 0;
}
section h2 {
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
}

.empathy { background: var(--bg-alt); }
.empathy p { text-align: center; color: var(--ink-soft); font-size: 16px; }
.empathy .highlight {
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}
.empathy .conclusion { font-size: 18px; margin-top: 80px; }

.pitfall-cards {
  display: flex;
  gap: 12px;
  margin: 28px 0;
}
.pitfall-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
}

.story p, .process p, .urgency p { color: var(--ink-soft); font-size: 16px; }
.quote-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.story .quote {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  text-align: center;
  margin: 0;
}
.story h2 { margin-top: 8px; }
.story .quote-sub {
  display: inline-block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}
.story-hr {
  border: none;
  border-top: 1px solid var(--line);
  width: 60px;
  margin: 8px auto 40px;
}

/* Illustrated character accents: pre-circled stickers (own white ring baked in) */
.char-avatar {
  display: block;
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 50%;
  margin: 120px auto;
  box-shadow: 0 8px 16px rgba(44, 36, 34, 0.14);
}

/* Character accents that still need our own card framing (no baked-in ring) */
.char-avatar-card {
  display: block;
  width: 152px;
  height: 198px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 26px;
  margin: 120px auto;
  border: 3px solid var(--card-bg);
  box-shadow: 0 8px 20px rgba(44, 36, 34, 0.12);
}

/* Heading + character laid out side by side (used at the end of .story) */
.story-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  margin: 120px 0 8px;
}
.story-final .char-avatar { margin: 0; flex-shrink: 0; }
.story-final h2 { text-align: center; margin: 0; }

/* Generously-spaced narrative paragraphs (empathy + story) */
.flow { margin-bottom: 40px; }

/* Customer-quote speech bubbles */
.bubbles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 40px;
}
.bubble {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 4px;
  max-width: 92%;
}

/* Centered, eye-catching callout bubble */
.bubble-highlight-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 40px;
}
.bubble-highlight {
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  text-align: center;
  word-break: keep-all;
  padding: 16px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(193, 84, 60, 0.28);
  max-width: 100%;
}

/* Services */
.services { background: var(--bg-alt); }
.service-card {
  background: var(--card-bg);
  border-radius: 22px;
  padding: 28px 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}
.service-card:last-child { margin-bottom: 0; }
.service-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-question {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 16px;
}
.service-desc { color: var(--ink-soft); font-size: 15px; }
.service-card ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.service-card li { margin-bottom: 6px; }
.service-split {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.service-split > div {
  flex: 1;
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 14px;
}
.service-split h4 { font-size: 15px; margin-bottom: 6px; color: var(--accent-dark); }
.service-split p { font-size: 14px; margin: 0; color: var(--ink-soft); }
.service-summary {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* Process */
.steps {
  display: flex;
  gap: 12px;
  margin: 32px 0;
}
.step {
  flex: 1;
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px 12px;
}
.step-icon {
  display: block;
  width: 52px;
  height: 68px;
  object-fit: cover;
  object-position: center 12%;
  border-radius: 14px;
  margin: 0 auto 10px;
  border: 2px solid var(--card-bg);
  box-shadow: 0 4px 10px rgba(44, 36, 34, 0.12);
}
.step-icon-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: var(--card-bg);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.step p { font-size: 14px; margin: 0; color: var(--ink-soft); }
.step small { font-size: 12px; opacity: 0.8; }

.process h2 { margin-bottom: 120px; }
.not-list {
  color: var(--ink-soft);
  font-size: 15px;
  border-left: 3px solid var(--line);
  padding-left: 16px;
  margin-bottom: 40px;
}
.process .conclusion { text-align: center; font-size: 17px; }

/* Reviews */
.review-heading {
  text-align: center;
  font-size: 22px;
  margin: 80px 0 92px;
}
.review-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(44, 36, 34, 0.08);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.review-gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(44, 36, 34, 0.14);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.85);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Pricing */
.pricing h2, .urgency h2 { text-align: center; }
.pricing h2 { margin-bottom: 40px; }
.pricing-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 40px;
}
.price-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.price-card h3 { font-size: 17px; margin-bottom: 10px; }
.price-card .price {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-dark);
  margin: 0 0 8px;
}
.price-card .price-old {
  font-size: 16px;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin: 0 0 2px;
}
.price-card .price-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.price-card.featured {
  background: var(--ink);
  color: #fff;
  position: relative;
}
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price-old { color: #f4e9e1; }
.price-card.featured .price { color: #fff; }
.price-card.featured .price-desc { color: #d8c9bf; }
.best-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

/* Urgency */
.urgency-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 96px;
}
.title-icon {
  width: 1.15em;
  height: 1.15em;
  object-fit: contain;
  flex-shrink: 0;
}
.urgency p { text-align: center; }
.small-note {
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.55;
}
.urgency .emphasis-line {
  margin-top: 120px;
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-dark);
}
.urgency-box {
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  margin-top: 24px;
}
.deadline {
  font-size: 21px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.limit {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.fine-print {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

/* Final CTA */
.final-cta {
  text-align: center;
  background: var(--bg-alt);
  padding-top: 96px;
  padding-bottom: 56px;
}
.final-cta h2 { margin-bottom: 24px; }
.footer-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* Scroll-in reveal animations */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  transition: opacity 1.7s ease, transform 1.7s ease;
  will-change: opacity, transform;
}
.reveal { opacity: 0; transform: translateY(26px); }
.reveal-left { opacity: 0; transform: translateX(-56px); }
.reveal-right { opacity: 0; transform: translateX(56px); }
.reveal-scale { opacity: 0; transform: scale(0.88); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible {
  opacity: 1;
  transform: none;
}

.q-cards .q-card:nth-child(2) { transition-delay: 150ms; }
.pitfall-cards .pitfall-card:nth-child(2) { transition-delay: 150ms; }
.bubbles .bubble:nth-child(1) { transition-delay: 0ms; }
.bubbles .bubble:nth-child(2) { transition-delay: 150ms; }
.review-gallery img:nth-child(1) { transition-delay: 0ms; }
.review-gallery img:nth-child(2) { transition-delay: 150ms; }
.review-gallery img:nth-child(3) { transition-delay: 300ms; }
.price-cards .price-card:nth-child(1) { transition-delay: 0ms; }
.price-cards .price-card:nth-child(2) { transition-delay: 150ms; }
.price-cards .price-card:nth-child(3) { transition-delay: 300ms; }
.final-cta .cta-button { transition-delay: 150ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 640px) {
  .hero h1 { font-size: 36px; }
  .q-cards { flex-direction: row; }
  .q-card { flex: 0 1 260px; }
  section h2 { font-size: 28px; }

  .story-final {
    flex-direction: row;
    align-items: center;
    width: 80%;
    margin-left: 15%;
  }
  .story-final h2 { text-align: left; }
}
