/* 깨비버스 메인 페이지 스타일 — 모던 카드 UI 톤 (컨셉 이미지 기준) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

/* 상단 진행률 바 */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 999;
  pointer-events: none;
}
.page-progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--red),
    var(--yellow),
    var(--green),
    var(--blue),
    var(--purple)
  );
  width: 0%;
  transition: width 0.15s ease-out;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s;
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 4px 12px rgba(242, 92, 92, 0.28);
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--red-deep);
  box-shadow: 0 8px 18px rgba(242, 92, 92, 0.34);
}
.nav-logout {
  font-size: 13px;
  color: var(--muted) !important;
  padding: 6px 10px;
  text-decoration: none;
  transition: color 0.18s;
}
.nav-logout:hover {
  color: var(--ink-soft) !important;
}

/* ─── HERO ─── */
.hero {
  padding: 84px 0 96px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.chapter-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(242, 92, 92, 0.1);
  border-radius: var(--radius-pill);
}
.chapter-mark-line {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero h1 .batang {
  font-weight: 800;
  color: var(--ink);
}
.hero h1 .accent {
  color: var(--red);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 12px;
  background: var(--yellow);
  opacity: 0.45;
  border-radius: 6px;
  z-index: -1;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-sub::first-letter {
  font-weight: 400;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--green-deep);
}
.hero-trust-item:nth-child(2) .hero-trust-dot {
  background: var(--red);
}
.hero-trust-item:nth-child(3) .hero-trust-dot {
  background: var(--blue);
}
.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(242, 92, 92, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--red-deep);
  box-shadow: 0 12px 26px rgba(242, 92, 92, 0.36);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-secondary {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 2px solid var(--ink);
  transition:
    color 0.18s,
    border-color 0.18s;
}
.btn-secondary:hover {
  color: var(--purple);
  border-color: var(--purple);
}

/* Hero 일러스트 영역 — 책 3D 대신 카드 군집 느낌 */
.hero-illust {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-spread {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.turning-page,
.page-front,
.page-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

/* ─── CHAPTER divider ─── */
.chapter-divider {
  text-align: center;
  padding: 32px 0 8px;
}
.chapter-divider .ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.chapter-divider .ornament::before,
.chapter-divider .ornament::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--line-strong);
}
.chapter-divider .ornament-mark {
  font-size: 18px;
  color: var(--yellow-deep);
  font-weight: 600;
}

/* ─── SECTION COMMON ─── */
.section-chapter {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 7px 16px;
  background: var(--purple);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.28);
}
.audience .section-chapter {
  background: var(--yellow-deep);
  box-shadow: 0 4px 12px rgba(255, 178, 62, 0.32);
}
.usecase .section-chapter {
  background: var(--green-deep);
  box-shadow: 0 4px 12px rgba(61, 217, 168, 0.3);
}
.pricing .section-chapter {
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.faq .section-chapter {
  background: var(--red);
  box-shadow: 0 4px 12px rgba(242, 92, 92, 0.3);
}
.section-title {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 820px;
}
.section-title .batang {
  font-weight: 800;
}
.section-title em {
  color: var(--red);
  font-style: normal;
  font-weight: 800;
}
.section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 56px;
  font-weight: 400;
}

/* ─── FEATURES ─── */
.features {
  padding: 96px 0;
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-extras {
  margin-top: 28px;
  padding: 26px 32px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.feature-extras-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feature-extras-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
}
.feature-extras-list li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 16px;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.feature-extras-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow-deep);
}
.feature-extras-list li:nth-child(2)::before {
  background: var(--green-deep);
}
.feature-extras-list li:nth-child(3)::before {
  background: var(--purple);
}
.feature-extras-list strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feature {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}
.feature:nth-child(1) {
  --feature-color: var(--red);
  --feature-color-deep: var(--red-deep);
}
.feature:nth-child(2) {
  --feature-color: var(--yellow);
  --feature-color-deep: var(--yellow-deep);
}
.feature:nth-child(3) {
  --feature-color: var(--green);
  --feature-color-deep: var(--green-deep);
}
.feature:nth-child(4) {
  --feature-color: var(--purple);
  --feature-color-deep: var(--purple-deep);
}
.feature:nth-child(5) {
  --feature-color: var(--blue);
  --feature-color-deep: var(--blue-deep);
}
.feature:nth-child(6) {
  --feature-color: var(--red);
  --feature-color-deep: var(--red-deep);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--feature-color, var(--red));
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px
    color-mix(in oklab, var(--feature-color, var(--red)) 28%, transparent);
}
.feature-illust {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.feature h3 em {
  font-style: normal;
  color: var(--feature-color-deep, var(--red-deep));
}
.feature p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.feature-tag {
  position: absolute;
  top: -10px;
  right: 22px;
  background: var(--feature-color-deep, var(--ink));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(26, 26, 46, 0.14);
}

/* ─── AUDIENCE ─── */
.audience {
  padding: 96px 0;
  background: var(--surface-soft);
  position: relative;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.audience-grid.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-grid.four .audience-card {
  padding: 28px 20px;
}
.audience-grid.four .audience-illust {
  width: 64px;
  height: 64px;
}
.audience-grid.four .audience-card h4 {
  font-size: 19px;
}
.audience-grid.four .audience-card p {
  font-size: 13.5px;
}
.audience-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
  position: relative;
}
.audience-card:nth-child(1) {
  --card-color: var(--red);
}
.audience-card:nth-child(2) {
  --card-color: var(--green);
}
.audience-card:nth-child(3) {
  --card-color: var(--blue);
}
.audience-card:nth-child(4) {
  --card-color: var(--purple);
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.audience-illust {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
}
.audience-card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}
.audience-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ─── USE CASES ─── */
.usecase {
  padding: 96px 0;
  position: relative;
}
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
}
.usecase-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 28px;
  align-items: center;
  position: relative;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.usecase-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
}
.usecase-item:nth-child(2)::before {
  background: var(--red);
}
.usecase-item:nth-child(3)::before {
  background: var(--green);
}
.usecase-item:nth-child(4)::before {
  background: var(--purple);
}
.usecase-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.usecase-num {
  font-size: 36px;
  line-height: 1;
  color: var(--yellow-deep);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.usecase-item:nth-child(2) .usecase-num {
  color: var(--red-deep);
}
.usecase-item:nth-child(3) .usecase-num {
  color: var(--green-deep);
}
.usecase-item:nth-child(4) .usecase-num {
  color: var(--purple-deep);
}
.usecase-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.usecase-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.usecase-mark {
  font-size: 22px;
  color: var(--yellow-deep);
  text-align: right;
  font-weight: 700;
}

/* ─── PRICING ─── */
.pricing {
  padding: 96px 0;
  background: var(--surface-soft);
  position: relative;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.pricing-card.featured {
  background: var(--ink);
  color: var(--surface);
  border: 1px solid var(--ink);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.3);
}
.pricing-card.featured::before {
  content: "추천";
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--yellow);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.price-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.price-tag-line {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 28px;
}
.pricing-card.featured .price-tag-line {
  color: rgba(255, 255, 255, 0.7);
}
.price {
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 6px;
}
.price-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.pricing-card.featured .price-period {
  color: rgba(255, 255, 255, 0.7);
}
.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-features li {
  font-size: 14.5px;
  line-height: 1.6;
  padding: 10px 0;
  display: flex;
  align-items: start;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.pricing-card.featured .price-features li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.price-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
  margin-top: 1px;
}
.pricing-card.featured .price-features li::before {
  color: var(--yellow);
}
.price-cta {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all 0.18s;
}
.price-cta:hover {
  background: var(--ink);
  color: var(--surface);
}
.pricing-card.featured .price-cta {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.pricing-card.featured .price-cta:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

/* 인당 요금제 옵션 — 위 ✓ 체크 리스트와 동일한 시각 언어, 토글로 펼침 */
.price-cta-toggle {
  font-family: inherit;
  cursor: pointer;
}
.price-cta-toggle[aria-expanded="true"] {
  display: none;
}
.price-options {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition:
    max-height 0.36s ease,
    opacity 0.28s ease,
    margin 0.28s ease;
}
.price-options.open {
  opacity: 1;
  margin: 18px 0 0;
}
.price-options-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  padding-left: 4px;
}
.price-options-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.price-options-list li {
  font-size: 14.5px;
  line-height: 1.6;
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.price-options-list li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.price-options-list li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--yellow);
  font-size: 16px;
  font-weight: 700;
  margin-top: 1px;
}
.price-option-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.price-option-body strong {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
}
.price-option-sub {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}
.price-option-meta {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}
.price-option-meta b {
  color: var(--yellow);
  font-weight: 700;
}
.price-options-cta {
  display: block;
  margin-top: 18px;
}

/* ─── FAQ ─── */
.faq {
  padding: 96px 0;
}
.faq-list {
  margin-top: 48px;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 22px 28px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  box-shadow: var(--shadow-xs);
}
.faq-item:hover {
  border-color: var(--line-strong);
}
.faq-item.open {
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(242, 92, 92, 0.12);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-q-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq-toggle {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.28s ease;
  font-size: 24px;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.36s ease,
    margin-top 0.28s;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.faq-item.open .faq-a {
  max-height: 320px;
  margin-top: 14px;
}

/* ─── CONTACT ─── */
.contact {
  padding: 96px 0;
  background: var(--ink);
  color: var(--surface);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
}
.contact .container {
  position: relative;
  z-index: 2;
}
.contact .section-chapter {
  color: var(--yellow);
  background: rgba(255, 178, 62, 0.16);
}
.contact .section-title {
  color: var(--surface);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contact .section-title em {
  color: var(--yellow);
}
.contact-sub {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0 auto 36px;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  padding: 16px 36px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  box-shadow: 0 8px 24px rgba(242, 92, 92, 0.36);
}
.contact-cta:hover {
  transform: translateY(-2px);
  background: var(--red-deep);
  box-shadow: 0 12px 30px rgba(242, 92, 92, 0.44);
}

/* ─── FOOTER ─── */
footer {
  padding: 56px 0 36px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: start;
  gap: 36px 48px;
  margin-bottom: 36px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}
.footer-tagline {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 280px;
}
.footer-col h5 {
  font-size: 14px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.18s;
}
.footer-col a:hover {
  color: var(--red);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom .heart {
  color: var(--red);
  font-weight: 600;
}

/* ─── 페이지 단편 (책 컨셉 잔재 — 단순 비주얼만 유지) ─── */
.page-section {
  position: relative;
}
.page-flip {
  position: relative;
  opacity: 1;
}
.page-flip.unread,
.page-flip.read {
  opacity: 1;
  transform: none;
}
.page-corner {
  display: none;
}

/* unfold-on-scroll — 책 페이지 효과 단순화: fade up */
.unfold {
  opacity: 0;
  transform: translateY(28px);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease-out;
  will-change: transform, opacity;
}
.unfold-left,
.unfold-right,
.unfold-top,
.unfold-center {
  transform: translateY(28px);
}
.unfold.opened,
.unfold-left.opened,
.unfold-right.opened,
.unfold-top.opened,
.unfold-center.opened {
  transform: translateY(0);
  opacity: 1;
}
.unfold[data-delay="1"] {
  transition-delay: 0.05s;
}
.unfold[data-delay="2"] {
  transition-delay: 0.12s;
}
.unfold[data-delay="3"] {
  transition-delay: 0.2s;
}
.unfold[data-delay="4"] {
  transition-delay: 0.28s;
}
.unfold[data-delay="5"] {
  transition-delay: 0.36s;
}
.unfold[data-delay="6"] {
  transition-delay: 0.44s;
}

/* 작은 데코 — 컨셉 이미지의 별·구름 스파클을 가벼운 부유 모션으로 */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.float-slow {
  animation: floatSlow 7s ease-in-out infinite;
}
.float-med {
  animation: floatMed 5.5s ease-in-out infinite;
  animation-delay: 1.2s;
}
.sway {
  animation: swayGentle 6s ease-in-out infinite;
}
@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-10px) rotate(var(--rot, 0deg));
  }
}
@keyframes floatMed {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-7px) rotate(var(--rot, 0deg));
  }
}
@keyframes swayGentle {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

/* Hero 책 일러스트 — 새 컨셉에서는 페이지 turning 모션 대신 정적 카드 + 부유 데코 */
.book-3d {
  animation: floatSlow 6s ease-in-out infinite;
}
.turning-page {
  animation: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 880px) {
  .nav-links {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-illust {
    height: 320px;
    margin-top: 20px;
  }
  .book-3d {
    width: 280px;
    height: 220px;
  }
  .features-grid,
  .audience-grid,
  .pricing-grid,
  .feature-extras-list {
    grid-template-columns: 1fr;
  }
  .audience-grid.four {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .audience-grid.four .audience-card {
    padding: 22px 18px;
  }
  .usecase-item {
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px 22px 22px 26px;
  }
  .usecase-mark {
    display: none;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .features,
  .audience,
  .usecase,
  .pricing,
  .faq,
  .contact {
    padding: 64px 0;
  }
  .feature:hover,
  .audience-card:hover,
  .usecase-item:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-slow,
  .float-med,
  .sway,
  .book-3d {
    animation: none;
  }
  .unfold,
  .unfold-left,
  .unfold-right,
  .unfold-top,
  .unfold-center {
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 0.3s ease;
  }
}

/* Hero 진입 페이드 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chapter-mark,
.hero h1,
.hero-sub,
.hero-cta-group,
.hero-trust {
  animation: fadeInUp 0.7s ease backwards;
}
.chapter-mark {
  animation-delay: 0.05s;
}
.hero h1 {
  animation-delay: 0.15s;
}
.hero-sub {
  animation-delay: 0.3s;
}
.hero-cta-group {
  animation-delay: 0.45s;
}
.hero-trust {
  animation-delay: 0.55s;
}
.hero-illust {
  animation: fadeInUp 0.9s 0.3s ease backwards;
}

/* Hero 일러스트 — 컨셉 이미지(assets/hero-mockup.png) 그대로 사용 */
.hero-mockup {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 40px rgba(26, 26, 46, 0.14));
  animation: floatSlow 6s ease-in-out infinite;
}
@media (max-width: 880px) {
  .hero-mockup {
    max-width: 280px;
  }
}
