/* =========================================================
   Studio ABLM — styles.css
   기준: docs/design-doc.md (다크 글라스모피즘 / 단일 골드 액센트 / 카카오 CTA)
   ========================================================= */

:root {
  /* 배경·표면 */
  --bg-base: #0B0E14;
  --bg-elevated: #11151E;
  --surface: #161B26;

  /* 글래스 */
  --glass-fill: rgba(255, 255, 255, 0.06);
  --glass-fill-strong: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.22);

  /* 텍스트 */
  --text-primary: #F2F4F8;
  --text-secondary: #A7B0BE;
  --text-muted: #6B7480;
  --text-on-accent: #1A1205;

  /* 액센트 (단일 골드) */
  --accent: #C9A24B;
  --accent-soft: rgba(201, 162, 75, 0.16);

  /* CTA (카카오) */
  --kakao: #FEE500;
  --kakao-hover: #F2DB00;
  --kakao-text: #1A1205;

  /* 라운드 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* 그림자 */
  --shadow-float: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-float-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-cta: 0 6px 24px rgba(254, 229, 0, 0.28);

  /* 모션 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 레이아웃 */
  --maxw: 1200px;
  --maxw-text: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 배경 미세 메쉬 오브 (절제된 깊이감) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40rem 40rem at 12% -5%, rgba(201, 162, 75, 0.07), transparent 60%),
    radial-gradient(46rem 46rem at 95% 110%, rgba(70, 90, 130, 0.10), transparent 60%);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

p { margin: 0; word-break: keep-all; }

a { color: inherit; text-decoration: none; }

.kr { word-break: keep-all; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 40px; } }

.section { padding-block: clamp(80px, 12vh, 140px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(201, 162, 75, 0.22);
}

.lead {
  color: var(--text-secondary);
  max-width: var(--maxw-text);
  font-size: 1.0625rem;
}

.display { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.2; }
.h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ---------- 글래스 표면 공통 ---------- */
.glass {
  background: var(--surface); /* fallback (backdrop-filter 미지원) */
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--glass-border);
}

/* ---------- 플로팅 글래스 네비 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
  pointer-events: none;
}
.nav-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(100%, var(--maxw));
  padding: 10px 12px 10px 20px;
  border-radius: 9999px;
  background: rgba(11, 14, 20, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.nav-logo { font-weight: 800; letter-spacing: -0.01em; font-size: 0.95rem; }
.nav-menu {
  display: none;
  gap: 4px;
  margin-left: auto;
}
.nav-menu a {
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-menu a:hover { color: var(--text-primary); background: var(--glass-fill); }
@media (min-width: 900px) { .nav-menu { display: flex; } }
.nav-cta { margin-left: auto; flex: 0 0 auto; }
/* 좁은 화면: 네비 CTA를 '상담'으로 축약해 오버플로 방지 */
@media (max-width: 520px) {
  .nav { padding: 12px 12px 0; }
  .nav-inner { padding: 8px 10px 8px 16px; }
  .nav-logo { font-size: 0.82rem; letter-spacing: -0.01em; }
  .nav-cta .cta-full { display: none; }
  .nav-cta::after { content: "상담"; font-weight: 700; }
  .btn-kakao.sm { padding: 9px 13px; }
}

/* ---------- 카카오 CTA ---------- */
.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 9999px;
  background: var(--kakao);
  color: var(--kakao-text);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.5s var(--ease), background 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-kakao:hover { background: var(--kakao-hover); transform: scale(1.02); box-shadow: 0 10px 32px rgba(254, 229, 0, 0.34); }
.btn-kakao:active { transform: scale(0.98); }
.btn-kakao .ico-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 9999px;
  background: rgba(26, 18, 5, 0.12);
}
.btn-kakao.sm { padding: 10px 18px; font-size: 0.875rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 9999px;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--glass-border);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn-ghost:hover { background: var(--glass-fill); border-color: var(--glass-highlight); }

/* ---------- 진입 애니메이션 ---------- */
.reveal { opacity: 0; transform: translateY(20px); filter: blur(4px); }
.reveal.in-view {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

/* =========================================================
   1) HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,14,20,0.25) 0%, rgba(11,14,20,0.55) 55%, rgba(11,14,20,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(56px, 10vh, 120px);
  padding-top: 140px;
}
.hero h1 { max-width: none; }
.hero .lead { margin-top: 20px; }
.hero .cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* =========================================================
   2) PROFILE — sticky 가로 변환
   ========================================================= */
.profile-wrap { position: relative; }

/* 카피 섹션 (필름과 분리된 별도 섹션) */
.profile-copy { min-height: 88vh; display: flex; align-items: center; }

/* 필름 섹션 (GSAP ScrollTrigger 가 pin + 가로 스크럽) */
.profile-sticky {
  position: relative;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.film-viewport { width: 100%; display: flex; align-items: center; overflow: hidden; }
.film-track {
  display: flex;
  gap: 18px;
  padding-inline: clamp(16px, 5vw, 64px);
  align-items: center;
  will-change: transform;
}
/* 카드: 이미지 원본 비율 그대로(크롭 없음). 높이를 항상 뷰포트보다 작게 잡아 어떤 화면에서도 잘리지 않음 */
.film-card {
  flex: 0 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float);
}
.film-card img { height: min(72vh, 760px); width: auto; display: block; }
.film-index {
  position: absolute; left: clamp(20px,5vw,64px); bottom: 22px;
  font-size: 0.8125rem; color: var(--text-muted); letter-spacing: 0.1em;
}

/* =========================================================
   모바일 전용 최적화 (≤767px) — 데스크톱(>=768px·채널 2열 >=1000px)은 미변경
   ========================================================= */

/* 3페이지 채널: 이미지 어둡게(문구 가독성) + 텍스트 좌우 여백 */
@media (max-width: 767px) {
  #channel .scrub-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: rgba(11, 14, 20, 0.52); pointer-events: none;
  }
  #channel .scrub-text {
    padding-left: clamp(24px, 7vw, 44px);
    padding-right: clamp(24px, 7vw, 44px);
  }
}

/* 4페이지 인쇄: 문구(위) / 스크롤 이미지(아래) 분리 + 이미지 확대 */
@media (max-width: 767px) {
  #presence .scrub-sticky {
    flex-direction: column; align-items: center; justify-content: center;
    gap: 30px; padding: 92px 20px 76px;
  }
  #presence .scrub-overlay { display: none; }
  #presence .scrub-media::after { display: none; }
  #presence .scrub-text {
    position: static; inset: auto; order: -1;
    padding: 0; width: 100%; text-align: center;
  }
  #presence .scrub-phrases { width: 100%; max-width: 100%; }
  #presence .scrub-media.landscape { width: 100%; max-height: none; }
  #presence .scrub-progress { bottom: 16px; }
}

/* 정적 폴백(모션 최소화 / GSAP 미로딩): 가로 스와이프 캐러셀 */
body.reduced .profile-sticky { height: auto; }
body.reduced .film-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
body.reduced .film-track { transform: none !important; }
body.reduced .film-card { scroll-snap-align: center; }
body.reduced .film-index { display: none; }

/* =========================================================
   3·4) CHANNEL / PRESENCE — 프레임 스크럽
   ========================================================= */
.scrub-wrap { position: relative; background: var(--bg-base); }
.scrub-sticky {
  position: relative;        /* GSAP ScrollTrigger 가 pin 처리 */
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* 동영상 비율 크기로 축소 + 가운데 정렬 */
.scrub-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--glass-border);
  background: #000;
}
.scrub-media.portrait { height: min(66vh, 660px); aspect-ratio: 720 / 960; }
.scrub-media.landscape { width: min(88vw, 1100px); max-height: 78vh; aspect-ratio: 4 / 3; }
.scrub-canvas { display: block; width: 100%; height: 100%; }
.scrub-fallback { display: none; width: 100%; height: 100%; object-fit: cover; }
.scrub-overlay {
  position: absolute; inset: 0;
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(11,14,20,0.62) 0%, rgba(11,14,20,0.05) 24%,
    rgba(11,14,20,0) 44%, rgba(11,14,20,0.42) 66%, rgba(11,14,20,0.94) 100%);
}
/* 텍스트 스테이지: 헤더 + 변화 문구 (진행바는 분리해 하단 중앙) */
.scrub-text {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(100px, 14vh, 160px) 0 clamp(96px, 12vh, 140px);
  opacity: 0; transform: translateY(24px);
  will-change: opacity, transform;
}
.scrub-h2 {
  margin-top: 14px; max-width: 18ch;
  font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 700;
  color: var(--text-primary);
}
.scrub-phrases {
  position: relative; margin-top: 26px;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  width: 22ch; max-width: 100%;
  min-height: 2.5em;
}
.scrub-phrases .ph {
  position: absolute; left: 0; right: 0; top: 0; margin: 0;
  font-size: inherit; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; color: #fff; word-break: keep-all;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
  opacity: 0; transform: translateY(20px); filter: blur(6px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), filter 0.55s var(--ease);
}
.scrub-phrases .ph.active { opacity: 1; transform: translateY(0); filter: blur(0); }

/* 진행 인디케이터 — 하단 중앙 정렬 */
.scrub-progress {
  position: absolute; left: 50%; bottom: clamp(28px, 5vh, 60px);
  transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px; width: min(420px, 72vw);
}
.scrub-progress span {
  position: relative; flex: 1; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, 0.2); overflow: hidden;
}
.scrub-progress span::after {
  content: ""; position: absolute; inset: 0; border-radius: 2px;
  background: var(--accent); transform-origin: left;
  transform: scaleX(var(--fill, 0)); transition: transform 0.12s linear;
}

/* === 3페이지(채널): 2열 — 텍스트 왼쪽 / 이미지 오른쪽 === */
@media (min-width: 1000px) {
  #channel .scrub-sticky {
    display: grid; grid-template-columns: minmax(0, 32rem) minmax(0, 30rem);
    justify-content: center; align-items: center; column-gap: clamp(40px, 5vw, 88px);
    padding: clamp(120px, 15vh, 170px) clamp(32px, 5vw, 80px) clamp(110px, 13vh, 150px);
  }
  #channel .scrub-media { grid-column: 2; grid-row: 1; justify-self: center; }
  #channel .scrub-media.portrait { height: min(60vh, 580px); }
  #channel .scrub-overlay { display: none; }
  #channel .scrub-text {
    grid-column: 1; grid-row: 1;
    position: static; inset: auto; padding: 0;
    align-items: flex-start; text-align: left;
  }
  #channel .scrub-phrases { font-size: clamp(1.62rem, 2.88vw, 2.4rem); width: 100%; max-width: 30rem; }
}

/* === 4페이지(인쇄): 이미지 살짝 어둡게 + 텍스트 이미지 중앙 정렬 === */
#presence .scrub-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(11, 14, 20, 0.40); pointer-events: none;
}
#presence .scrub-text { align-items: center; text-align: center; }
#presence .scrub-h2 { max-width: 24ch; }
#presence .scrub-phrases { width: 22ch; margin-left: auto; margin-right: auto; }

/* 4페이지 데스크톱: 이미지 왼쪽 / 텍스트 오른쪽 (3페이지 채널과 반대 배치) */
@media (min-width: 1000px) {
  #presence .scrub-sticky {
    display: grid; grid-template-columns: minmax(0, 30rem) minmax(0, 32rem);
    justify-content: center; align-items: center; column-gap: clamp(40px, 5vw, 88px);
    padding: clamp(120px, 15vh, 170px) clamp(32px, 5vw, 80px) clamp(110px, 13vh, 150px);
  }
  #presence .scrub-media { grid-column: 1; grid-row: 1; justify-self: center; width: 100%; }
  #presence .scrub-media.landscape { width: 100%; max-width: 30rem; height: auto; max-height: 72vh; }
  #presence .scrub-media::after { display: none; }
  #presence .scrub-overlay { display: none; }
  #presence .scrub-text {
    grid-column: 2; grid-row: 1;
    position: static; inset: auto; padding: 0;
    align-items: flex-start; text-align: left;
  }
  #presence .scrub-h2 { max-width: 18ch; }
  #presence .scrub-phrases {
    font-size: clamp(1.62rem, 2.88vw, 2.4rem);
    width: 100%; max-width: 30rem; margin-left: 0; margin-right: 0;
  }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  padding: 8px 15px; border-radius: 9999px;
  font-size: 0.8125rem; color: var(--text-primary);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
}
.chip .num { color: var(--accent); font-weight: 700; }

/* 정적 폴백(모션 최소화 / GSAP 미로딩): 대표 프레임 + 문구 리스트.
   #channel 2열 등 데스크톱 규칙을 덮기 위해 핵심 속성에 !important 사용 */
body.reduced .scrub-sticky { position: static !important; height: auto !important; display: block !important; padding: 96px 0 56px; }
body.reduced .scrub-media { margin: 0 auto; }
body.reduced .scrub-media.portrait { height: auto !important; width: min(78vw, 340px) !important; }
body.reduced .scrub-media.landscape { width: min(92vw, 560px) !important; max-height: none !important; }
body.reduced .scrub-canvas { display: none; }
body.reduced .scrub-fallback { display: block; }
body.reduced .scrub-overlay { display: none; }
body.reduced .scrub-text { position: static !important; display: block; opacity: 1 !important; transform: none !important; padding: 0; margin: 28px 0 0; align-items: flex-start; text-align: left; }
body.reduced .scrub-h2 { font-size: 1.45rem; }
body.reduced .scrub-phrases {
  position: static; width: auto !important; max-width: none !important; min-height: auto; font-size: 1rem;
  display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0;
}
body.reduced .scrub-phrases .ph {
  position: static; opacity: 1; transform: none; filter: none;
  font-size: 1.2rem; font-weight: 600; color: var(--text-primary);
  text-shadow: none; padding-left: 14px; border-left: 2px solid var(--accent);
}
body.reduced .scrub-progress { display: none; }

/* =========================================================
   5) PREVIEW — 플로팅 카드 + 탭 토글
   ========================================================= */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 48px;
}
@media (min-width: 640px) { .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }
@media (min-width: 1024px) { .preview-grid { grid-template-columns: repeat(4, 1fr); } }

/* Double-bezel 카드 */
.pcard {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-float-lg);
  background: var(--bg-base);
  animation: floaty 6s ease-in-out infinite;
}
.preview-grid > .pcard:nth-child(2) { animation-delay: -1.5s; }
.preview-grid > .pcard:nth-child(3) { animation-delay: -3s; }
.preview-grid > .pcard:nth-child(4) { animation-delay: -4.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.pcard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-base);
}
.pcard-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.pcard-media img.active { opacity: 1; }

/* 리퀴드글래스 탭 — 이미지 내부 하단 */
.tabs {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; gap: 4px;
  padding: 4px; border-radius: 9999px;
  background: rgba(11, 14, 20, 0.42);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  max-width: calc(100% - 24px);
}
.tab {
  padding: 9px 16px; min-height: 42px;
  border: none; cursor: pointer; border-radius: 9999px;
  font-size: 0.78rem; font-weight: 600; white-space: nowrap;
  color: var(--text-secondary); background: transparent;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tab[aria-selected="true"] {
  color: var(--text-primary);
  background: var(--glass-fill-strong);
  box-shadow: 0 0 0 1px rgba(201, 162, 75, 0.30);
}

/* 주의 사항 — 작게, 박스 없이, 가운데 정렬 */
.notice {
  margin-top: 28px;
  display: flex; gap: 6px; align-items: center; justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.notice .iconify { color: var(--text-muted); font-size: 0.95rem; flex: 0 0 auto; }

/* =========================================================
   6) PRICING
   ========================================================= */
.price-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex; flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.plan:hover { transform: translateY(-6px); border-color: var(--glass-highlight); }
.plan-name { font-size: 1.25rem; font-weight: 700; }
.plan-use { color: var(--text-secondary); font-size: 0.9375rem; margin-top: 6px; min-height: 2.6em; }
.plan-price { font-size: clamp(1.5rem, 2vw, 1.75rem); font-weight: 700; margin-top: 18px; }
.plan-price .won { font-size: 1rem; font-weight: 500; color: var(--text-secondary); margin-left: 2px; }
.plan-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 22px 0; }
.plan-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; gap: 10px; color: var(--text-secondary); font-size: 0.9375rem; }
.plan-list .iconify { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.plan .btn-kakao { margin-top: 24px; justify-content: center; }

/* 접이식 플랜 카드 (프리뷰 / 랜딩) */
.plan-fold { display: block; padding: 0; overflow: hidden; align-self: start; }
.plan-fold:hover { transform: none; border-color: var(--glass-border); }
@media (min-width: 768px) { .plan-fold.landing { grid-column: span 2; } }

.fold-bar {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 26px;
}
.fold-bar::-webkit-details-marker { display: none; }
.fold-bar::marker { content: ""; }
.fold-when-closed { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fold-when-closed .fold-title { font-weight: 700; font-size: 1.0625rem; color: var(--text-primary); }
.fold-when-closed .fold-price,
.fold-when-closed .fold-sub { font-size: 0.875rem; color: var(--text-secondary); }
.landing .fold-when-closed .fold-title { font-size: 1rem; }
.fold-when-open { display: none; font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }
.plan-fold[open] .fold-when-closed { display: none; }
.plan-fold[open] .fold-when-open { display: block; }
.fold-chevron { margin-left: auto; flex: 0 0 auto; font-size: 1.25rem; color: var(--text-secondary); transition: transform 0.3s var(--ease); }
.plan-fold[open] .fold-chevron { transform: rotate(180deg); }

.fold-body { padding: 4px 26px 26px; animation: foldIn 0.35s var(--ease); }
@keyframes foldIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.fold-body .plan-use { min-height: 0; }
.fold-body .btn-kakao { width: 100%; }

.fold-cols { display: grid; grid-template-columns: 1fr; gap: 20px 28px; }
@media (min-width: 640px) { .fold-cols { grid-template-columns: 1fr 1fr; } }
.fold-list-label {
  display: block; margin-bottom: 10px;
  font-size: 0.8rem; letter-spacing: 0.06em; color: var(--text-muted);
}
.plan-list.excl li,
.plan-list.excl .iconify { color: var(--text-muted); }

.limits {
  margin-top: 22px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.limits h3 { font-size: 0.9375rem; color: var(--text-secondary); font-weight: 600; letter-spacing: 0.04em; }
.limits ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .limits ul { grid-template-columns: 1fr 1fr; } }
.limits li { display: flex; gap: 8px; color: var(--text-muted); font-size: 0.875rem; }
.limits li .iconify { flex: 0 0 auto; margin-top: 3px; color: var(--text-muted); }

/* =========================================================
   7) FINAL CTA
   ========================================================= */
.final { text-align: center; }
.final h2 { max-width: 18ch; margin: 0 auto; }
.final .btn-kakao { margin-top: 32px; }
.msg-card {
  margin: 40px auto 0;
  max-width: 560px; text-align: left;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
}
.msg-card .msg-label { font-size: 0.8125rem; color: var(--text-muted); letter-spacing: 0.05em; margin-bottom: 12px; }
.msg-card pre {
  margin: 0; white-space: pre-wrap; word-break: keep-all;
  font-family: inherit; font-size: 0.9rem; color: var(--text-secondary); line-height: 1.9;
}

/* ---------- 푸터 ---------- */
.footer {
  padding: 48px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8125rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- 추가 카피 요소 (구조 유지, 디자인 톤 동일) ---------- */
.lead-strong {
  color: var(--text-primary); font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-top: 20px; max-width: var(--maxw-text); word-break: keep-all;
}
.product-summary { margin-top: 16px; font-size: 0.9rem; color: var(--text-muted); }
.product-summary b { color: var(--accent); font-weight: 700; }

/* 설명 / 가격 설득 밴드 (에디토리얼 레이아웃) */
.copy-band { padding-block: clamp(60px, 9vh, 110px); }
.copy-band .container { max-width: 1000px; }
.copy-band .container > :first-child { margin-top: 0; }
.band-statement {
  font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700;
  color: var(--text-primary); line-height: 1.32; letter-spacing: -0.02em;
  max-width: 24ch; word-break: keep-all;
}
.copy-band .lead { margin-top: 22px; }
.copy-band .chips { margin-top: 0; }
.price-why {
  margin-top: 36px; padding: 26px 30px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.14), rgba(201, 162, 75, 0.03));
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  color: var(--text-primary); font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6; word-break: keep-all;
}
.price-why-num { color: var(--accent); font-weight: 800; }
.band-uses { margin-top: 34px; }
.band-uses-label {
  display: block; margin-bottom: 14px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted);
}

/* 프리뷰 보조 카피 */
.preview-guide { margin-top: 14px; color: var(--accent); font-size: 0.95rem; }
.card4-note { margin-top: 22px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.preview-cta { margin-top: 28px; text-align: center; }

/* 최종 CTA 서브 */
.final .lead { margin-inline: auto; }

/* ---------- 포커스 가시성 ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- 모션 민감 사용자 ---------- */
/* 모션 최소화: 모션만 무력화. 정적 레이아웃은 JS가 추가하는 body.reduced 가 담당 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .pcard { animation: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
