/* =========================================================
   PICCOLO Home - 따뜻한 미디어 갤러리 톤
   ========================================================= */

/* ---------- 토큰 ---------- */
:root {
  /* 모던 카페 미니멀 팔레트 (PICCOLO 머그컵에서 영감) */
  --bg: #f6f4f0;             /* 소프트 오프화이트 (덜 노란 중성 베이스) */
  --bg-soft: #efece6;        /* 그레이쉬 베이지 */
  --bg-warm: #e8e3d8;        /* 웜 모래 베이지 (살짝만 따뜻하게) */

  --surface: #ffffff;
  --surface-warm: #faf8f4;

  --ink: #1f1c19;            /* 본문 텍스트 (거의 블랙) */
  --ink-soft: #4a4540;       /* 보조 텍스트 */
  --ink-mute: #8a857d;       /* 메타 텍스트 */

  --accent: #6b4a36;         /* 에스프레소 브라운 (메인 액센트) */
  --accent-soft: #8c6a52;    /* 라이트 에스프레소 */
  --accent-deep: #4a3225;    /* 딥 에스프레소 */
  --moss: #6a6a52;           /* 무드 디퍼 카키 (보조) */
  --sage: #8e9382;           /* 세이지 (보조) */
  --plum: #6a4f4f;           /* 모카 플럼 (보조) */

  --border: #e2ddd3;
  --border-soft: #ece8df;

  --shadow-sm: 0 2px 6px rgba(40, 30, 20, 0.04), 0 1px 2px rgba(40, 30, 20, 0.03);
  --shadow-md: 0 8px 24px rgba(40, 30, 20, 0.08), 0 2px 6px rgba(40, 30, 20, 0.04);
  --shadow-lg: 0 24px 60px rgba(40, 30, 20, 0.12), 0 8px 18px rgba(40, 30, 20, 0.06);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --container: 1180px;
  --gutter: 24px;

  --font-base: 'Noto Sans', 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', 'Noto Sans Devanagari', 'Noto Naskh Arabic', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Noto Sans', 'Noto Sans KR', 'Noto Sans JP', 'Noto Sans SC', sans-serif;

  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 기본 리셋 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 레이아웃 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 100px 0;
  position: relative;
}
.section--problem,
.section--trust { background: var(--bg); }
.section--solution { background: var(--bg-soft); }
.section--features { background: var(--bg); }
.section--special { background: var(--bg-soft); }
.section--how { background: var(--bg); }
.section--cta { padding: 80px 0 120px; }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(107, 74, 54, 0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section__eyebrow--warm {
  background: rgba(106, 106, 82, 0.18);
  color: #8a6a2e;
}
.section__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}
.section__lead {
  font-size: 17px;
  color: var(--ink-soft);
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(107, 74, 54, 0.32);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107, 74, 54, 0.4);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--accent-soft);
  color: var(--accent-deep);
}
.btn--ghost-light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---------- 네비게이션 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition);
}
.nav.is-scrolled {
  background: rgba(251, 246, 239, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.nav__logo {
  width: 32px;
  height: 32px;
}
.nav__name {
  letter-spacing: 0.02em;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--accent-deep); background: rgba(107, 74, 54, 0.08); }
.nav__link--cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  box-shadow: 0 4px 12px rgba(107, 74, 54, 0.28);
}
.nav__link--cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- 히어로 ---------- */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__blob--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #c8b8a4 0%, transparent 70%);
  top: -120px; right: -80px;
  animation: float 12s ease-in-out infinite;
}
.hero__blob--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #a89884 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 14s ease-in-out infinite reverse;
}
.hero__blob--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #b8a896 0%, transparent 70%);
  top: 40%; left: 40%;
  animation: float 16s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  gap: 48px;
  align-items: center;
}
.hero__content {
  min-width: 0;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(107, 74, 54, 0.18);
}
.hero__title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  word-break: keep-all;
}
.hero__title-line {
  display: inline-block;
  white-space: nowrap;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--moss) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__points {
  display: grid;
  gap: 10px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}
.hero__points svg {
  color: var(--moss);
  flex-shrink: 0;
}

/* 히어로 비주얼 (실제 PICCOLO 앱 분위기) */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 사진 그리드 (첫번째 + 두번째) */
.hero__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  width: calc((100% - 18px) / 2);
  max-width: calc((100% - 18px) / 2);
  margin: 0 0 28px auto;
}

/* 히어로 사진 카드 (사용자 사진이 들어갈 자리) */
.hero__photo {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3e8 50%, #fde7d2 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(107, 74, 54, 0.18);
  aspect-ratio: 8 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(40, 30, 20, 0.18), 0 12px 24px rgba(40, 30, 20, 0.08);
}

/* 두번째 사진 (폭포 이미지, 우측 하단 살짝 오프셋) */
.hero__photo--second {
  margin-top: 28px;
  margin-bottom: -10px;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SVG가 .hero__photo-img 클래스로 사용될 때 */
svg.hero__photo-img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__photo-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(14, 10, 8, 0.16) 0%, rgba(14, 10, 8, 0.84) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(14, 10, 8, 0.22);
  color: #fff8ee;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  line-height: 1.5;
  z-index: 2;
}
.hero__photo-caption strong {
  font-size: 16px;
  font-weight: 700;
  color: #ffe9d2;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero__photo-caption span {
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

/* 사진 파일이 없을 때 (placeholder) */
.hero__photo--empty {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(107, 74, 54, 0.06),
      rgba(107, 74, 54, 0.06) 10px,
      rgba(107, 74, 54, 0.12) 10px,
      rgba(107, 74, 54, 0.12) 20px
    ),
    linear-gradient(135deg, #fff7ed 0%, #fde7d2 100%);
  border: 2px dashed rgba(140, 106, 82, 0.45);
}
.hero__photo--empty::before {
  content: '사진을 준비 중이에요\A\A assets/hero-photo.jpg';
  white-space: pre-line;
  text-align: center;
  color: #6b4a36;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
  padding: 0 24px;
}
.hero__photo--empty .hero__photo-caption {
  position: static;
  background: rgba(255, 247, 237, 0.92);
  color: #4a3322;
  border-top: 1px dashed rgba(140, 106, 82, 0.4);
}
.hero__photo--empty .hero__photo-caption strong { color: #6b4a36; }

@media (max-width: 768px) {
  .hero__photos {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 88%;
    max-width: 88%;
    margin: 0 auto 28px;
  }
  .hero__photo { width: 88%; margin: 0 auto; }
  .hero__photo--second {
    margin-top: 0;
    margin-bottom: 0;
  }
  .visual {
    width: 88%;
    max-width: 88%;
    margin: 0 auto;
  }
}
.visual {
  position: relative;
  perspective: 2000px;
  width: calc((100% - 18px) / 2);
  max-width: calc((100% - 18px) / 2);
  margin: 0 0 0 auto;
}
.visual__window {
  background: #0e0a08;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-2deg) rotateY(8deg);
  transform-style: preserve-3d;
  border: 1px solid #2a2520;
  position: relative;
}
.visual__window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(107, 74, 54, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(140, 106, 82, 0.18) 0%, transparent 50%);
  pointer-events: none;
}
.visual__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #18120e;
  border-bottom: 1px solid #2a2520;
  position: relative;
  z-index: 1;
}
.visual__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.visual__dot--r { background: #8c6a52; }
.visual__dot--y { background: #a89a82; }
.visual__dot--g { background: #6a6a52; }
.visual__title {
  margin-left: 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}
.visual__app {
  padding: 32px 28px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;
}
.visual__app-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 16px rgba(107, 74, 54, 0.4));
}
.visual__app-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
}
.visual__app-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin: 0 0 22px;
  letter-spacing: 0.02em;
}
.visual__avatars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.visual__avatar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 200ms;
}
.visual__avatar:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(140, 106, 82, 0.5);
  transform: translateY(-2px);
}
.visual__avatar img {
  width: 100%;
  max-width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  background: #2a2520;
}
.visual__avatar span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.visual__cta {
  width: 100%;
  background: linear-gradient(135deg, #6b4a36 0%, #8c6a52 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(107, 74, 54, 0.4);
  transition: all 200ms;
  margin-bottom: 16px;
}
.visual__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(107, 74, 54, 0.5);
}
.visual__journey {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin: 0;
  text-transform: uppercase;
}

.visual__float {
  position: absolute;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-soft);
  animation: floatY 4s ease-in-out infinite;
}
.visual__float strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.visual__float small {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.visual__float-emoji {
  font-size: 22px;
  line-height: 1;
}
.visual__float--1 {
  top: 12%;
  left: -30px;
  animation-delay: 0s;
}
.visual__float--2 {
  bottom: 18%;
  right: -20px;
  animation-delay: 1.5s;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 문제 섹션 ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.problem__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
}
.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.problem__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-warm), #d4c4b0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.problem__card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.problem__card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ---------- 해결 섹션 ---------- */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution__item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
  transition: all var(--transition);
}
.solution__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.solution__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(107, 74, 54, 0.1);
  border-radius: 8px;
}
.solution__item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.solution__item p {
  font-size: 15px;
  margin: 0;
  line-height: 1.65;
}

/* ---------- 기능 섹션 ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(106, 106, 82, 0.18), transparent 70%);
  border-radius: 50%;
  transition: transform var(--transition);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.feature:hover::before {
  transform: scale(1.5);
}
.feature--lg {
  grid-column: span 2;
  grid-row: span 2;
  padding: 44px 40px;
  background: linear-gradient(135deg, #f0ece4 0%, #e0d8c8 100%);
  border-color: rgba(107, 74, 54, 0.18);
}
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.feature--lg .feature__icon {
  background: var(--accent);
  color: #fff;
  font-size: 30px;
}
.feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.feature--lg h3 { font-size: 26px; }
.feature p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.feature__list {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.feature__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.feature__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- PICCOLO 차별점 (special) ---------- */
.special__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.special__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.special__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--moss) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.special__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.special__card:hover::before { opacity: 1; }

.special__card--wide {
  grid-column: 1 / -1;
}
.special__number {
  position: absolute;
  top: 22px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-warm);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
.special__visual {
  background: linear-gradient(135deg, var(--surface-warm) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.special__visual svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}
.strip-illust { max-width: 360px; }
.home-illust { max-width: 360px; }
.external-illust { max-width: 600px; }

.special__body { flex: 1; }
.special__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.special__title .accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--moss) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.special__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.special__desc strong { color: var(--ink); font-weight: 600; }

.special__points {
  display: grid;
  gap: 8px;
  margin: 0;
}
.special__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.special__points .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.special__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.special__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(107, 74, 54, 0.08);
  color: var(--accent-deep);
  border: 1px solid rgba(107, 74, 54, 0.18);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* 썸네일 스트립 인터랙션 */
.strip-thumb {
  transition: all 250ms;
  cursor: pointer;
  transform-origin: center;
}
.strip-thumb--active {
  fill: var(--accent) !important;
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(217, 122, 74, 0.6));
}
.strip-arrow-path {
  animation: spin 4s linear infinite;
  transform-origin: center;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 10개 scene 토글 — 기본은 모두 숨김, .is-on 일 때만 보임 */
.strip-scene {
  opacity: 0;
  transition: opacity 600ms ease-in-out;
  pointer-events: none;
}
.strip-scene.is-on {
  opacity: 1;
  pointer-events: auto;
}

/* 큰 썸네일 위 번호 라벨 */
.strip-main-num {
  font-family: var(--font-display);
}

/* ---------- 사용 흐름 ---------- */
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: how;
}
.how__step {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all var(--transition);
  position: relative;
}
.how__step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.how__index {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(107, 74, 54, 0.3);
}
.how__body h3 {
  font-size: 17px;
  margin-bottom: 6px;
}
.how__body p {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* ---------- 신뢰 섹션 ---------- */
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 80px;
}
.trust__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.trust__card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.trust__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-warm), #d4c4b0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
}
.trust__card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.trust__card p {
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* 후기 */
.reviews__title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.review {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.review p {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}
.review cite {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-mute);
}

/* ---------- CTA 섹션 ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  background: linear-gradient(135deg, #2a2520 0%, #3d352a 100%);
  color: #fff;
  overflow: visible;
  text-align: center;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.cta__blob--1 {
  width: 380px; height: 380px;
  background: var(--accent);
  top: -100px; right: -100px;
  opacity: 0.35;
}
.cta__blob--2 {
  width: 320px; height: 320px;
  background: var(--gold);
  bottom: -80px; left: -80px;
  opacity: 0.3;
}
.cta__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta__title {
  color: #fff;
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.cta__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 36px;
  line-height: 1.7;
}
.cta__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cta__buttons--download {
  width: fit-content;
  max-width: 100%;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
}
.cta__buttons--download .btn {
  white-space: normal;
  text-align: center;
  border: 0;
  cursor: pointer;
}
.cta__download-alert {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 620px;
  margin: 0 auto 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.55;
}
.cta__download-alert strong {
  color: #fff;
  font-weight: 800;
}
.cta__direct-links {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 16px;
}
.cta__direct-links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-align: left;
}
.cta__direct-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}
.cta__direct-links strong {
  font-size: 13px;
  white-space: nowrap;
}
.cta__direct-links span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
}
.cta__download-help {
  max-width: 560px;
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.7;
}
.cta__download-help strong {
  color: #fff;
  font-weight: 700;
}
.cta__note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

/* ---------- 푸터 ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
  padding: 50px 0 36px;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.footer__logo {
  width: 28px;
  height: 28px;
}
.footer__tagline {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0;
}
.footer__links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  padding: 6px 14px;
  font-size: 14px;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: all var(--transition);
}
.footer__links a:hover {
  color: var(--accent-deep);
  background: rgba(107, 74, 54, 0.08);
}
.footer__language {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__language-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.footer__language-select {
  min-width: 230px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 28, 25, 0.06);
}
.footer__language-select option {
  background: #ffffff;
  color: #1f1b16;
}
[dir="rtl"] body {
  font-family: 'Noto Naskh Arabic', 'Noto Sans', 'Noto Sans KR', sans-serif;
}
[dir="rtl"] .hero__content,
[dir="rtl"] .section__head,
[dir="rtl"] .problem__card,
[dir="rtl"] .solution__item,
[dir="rtl"] .feature,
[dir="rtl"] .special__card,
[dir="rtl"] .how__step,
[dir="rtl"] .trust__card,
[dir="rtl"] .review,
[dir="rtl"] .cta__wrap,
[dir="rtl"] .footer__inner {
  text-align: right;
}
[dir="rtl"] .hero__cta,
[dir="rtl"] .hero__points li,
[dir="rtl"] .footer__language,
[dir="rtl"] .footer__links {
  justify-content: flex-end;
}
.footer__language-select:focus {
  outline: 2px solid rgba(107, 74, 54, 0.22);
  outline-offset: 2px;
  border-color: var(--accent-soft);
}
.footer__copy {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  width: 100%;
  max-width: 400px;
}

/* ---------- 스크롤 애니메이션 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 사용례 (홍보 영상 시나리오) ---------- */
.section--usecase { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.section__eyebrow--usecase {
  background: linear-gradient(135deg, rgba(217, 122, 74, 0.18), rgba(107, 74, 54, 0.14));
  color: #8a4530;
  font-weight: 700;
}

.usecase__stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* 진행 표시바 */
.usecase__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--border-soft);
  z-index: 1;
}
.usecase__progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--moss) 100%);
  transition: width 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 씬 선택 칩 */
.usecase__chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  position: relative;
}
.usecase__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border-soft);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
}
.usecase__chip:hover {
  background: var(--surface);
  border-color: var(--accent-soft);
  color: var(--accent-deep);
  transform: translateY(-1px);
}
.usecase__chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
}
.usecase__chip.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(107, 74, 54, 0.32);
}
.usecase__chip.is-active .usecase__chip-dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

/* 씬 표시/숨김 */
.usecase__scene {
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: stretch;
  animation: usecaseFade 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.usecase__scene.is-on { display: grid; }
@keyframes usecaseFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 시각화 영역 */
.usecase__visual {
  background: linear-gradient(135deg, var(--surface-warm) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.usecase__visual svg {
  width: 100%;
  height: auto;
  max-height: 360px;
  display: block;
}

.usecase__scene-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 38px rgba(31, 28, 25, 0.16);
}
.usecase__scene-image--poster {
  width: min(100%, 420px);
  aspect-ratio: 8 / 11;
  object-fit: cover;
  margin: 0 auto;
}
.usecase__scene-image--cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.usecase__visual--chaos .chaos-svg,
.usecase__visual--solution .usecase__bw,
.usecase__visual--solution .usecase__color,
.usecase__visual--tencut .tencut-illust,
.usecase__visual--ending .ending-illust {
  display: none;
}
.usecase__visual--solution {
  background: linear-gradient(135deg, #faf7f1 0%, #f0e7db 100%);
  padding: 18px;
}
.usecase__compare {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.usecase__compare-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(107, 74, 54, 0.12);
}
.usecase__compare-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(107, 74, 54, 0.22);
}
.usecase__image-label {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.92);
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.usecase__image-label--dark {
  background: rgba(31, 28, 25, 0.78);
  color: #fff8ee;
}
.usecase__feature-shot,
.usecase__ending-shot {
  position: relative;
  width: 100%;
}
.usecase__feature-panel,
.usecase__ending-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18, 16, 14, 0.12) 0%, rgba(18, 16, 14, 0.86) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.usecase__feature-panel strong,
.usecase__ending-overlay strong {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}
.usecase__feature-panel span,
.usecase__ending-overlay span {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 248, 238, 0.92);
}
.usecase__feature-kicker,
.usecase__ending-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* S#1 카오스 이미지 (하드디스크 폭포 — 버려지는 영상들, SVG 일러스트) */
.usecase__visual--chaos {
  background: linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 100%);
  padding: 0;
  overflow: hidden;
  display: block;
  align-items: stretch;
  justify-content: stretch;
  min-height: 0;
}
.chaos-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 8 / 11;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  animation: chaosBreathe 5s ease-in-out infinite;
  background: #1a2a3a;
}
@keyframes chaosBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* S#2 흑백 → 컬러 전환 */
.usecase__visual--solution {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}
.usecase__bw, .usecase__color {
  position: absolute;
  inset: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: opacity 800ms ease-in-out;
}
.usecase__bw { opacity: 1; z-index: 2; }
.usecase__color { opacity: 0; z-index: 1; }
.usecase__scene[data-scene="2"].is-on .usecase__bw { opacity: 0; }
.usecase__scene[data-scene="2"].is-on .usecase__color { opacity: 1; }
.usecase__scene[data-scene="2"].is-on .ding-effect {
  animation: dingPop 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dingPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* S#3 10컷 펼쳐지는 모션 */
.tencut-strip rect,
.tencut-strip text {
  animation: tenCutIn 800ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.tencut-strip rect:nth-child(1), .tencut-strip text:nth-child(2) { animation-delay: 0ms; }
.tencut-strip rect:nth-child(3), .tencut-strip text:nth-child(4) { animation-delay: 80ms; }
.tencut-strip rect:nth-child(5), .tencut-strip text:nth-child(6) { animation-delay: 160ms; }
.tencut-strip rect:nth-child(7), .tencut-strip text:nth-child(8) { animation-delay: 240ms; }
.tencut-strip rect:nth-child(9), .tencut-strip text:nth-child(10) { animation-delay: 320ms; }
.tencut-strip rect:nth-child(11), .tencut-strip text:nth-child(12) { animation-delay: 400ms; }
.tencut-strip rect:nth-child(13), .tencut-strip text:nth-child(14) { animation-delay: 480ms; }
.tencut-strip rect:nth-child(15), .tencut-strip text:nth-child(16) { animation-delay: 560ms; }
.tencut-strip rect:nth-child(17), .tencut-strip text:nth-child(18) { animation-delay: 640ms; }
.tencut-strip rect:nth-child(19), .tencut-strip text:nth-child(20) { animation-delay: 720ms; }
@keyframes tenCutIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 자막 영역 */
.usecase__caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 8px 4px;
}
.usecase__time {
  display: inline-block;
  align-self: flex-start;
  background: var(--ink);
  color: var(--bg-warm);
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.usecase__highlight {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.usecase__narration {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.usecase__narration strong { color: var(--accent-deep); font-weight: 700; }
.usecase__dialog {
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  padding: 12px 16px;
  background: rgba(107, 74, 54, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.6;
}
.usecase__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
}
.usecase__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  background: var(--bg-warm);
  border: 1px solid var(--border-soft);
  color: var(--ink-soft);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.usecase__tag--accent {
  background: rgba(217, 122, 74, 0.12);
  border-color: rgba(217, 122, 74, 0.25);
  color: #8a4530;
  font-weight: 600;
}

/* 컨트롤 */
.usecase__controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.usecase__control {
  padding: 10px 22px;
  background: var(--bg-warm);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.usecase__control:hover {
  background: var(--surface);
  border-color: var(--accent-soft);
  color: var(--accent-deep);
  transform: translateY(-1px);
}
.usecase__control--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(107, 74, 54, 0.32);
}
.usecase__control--primary:hover {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  box-shadow: 0 8px 22px rgba(107, 74, 54, 0.42);
}
.usecase__control--primary.is-playing {
  background: var(--ink);
  box-shadow: 0 4px 12px rgba(31, 28, 25, 0.3);
}

/* 결과 요약 (Before / After / Final) */
.usecase__result {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.usecase__result-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  text-align: center;
  min-width: 200px;
  flex: 0 1 auto;
  transition: all var(--transition);
}
.usecase__result-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.usecase__result-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.usecase__result-label {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  font-weight: 500;
}
.usecase__result-item--after .usecase__result-num {
  color: var(--accent);
}
.usecase__result-item--after {
  background: linear-gradient(135deg, #fff7ed 0%, #fde7d2 100%);
  border-color: rgba(217, 122, 74, 0.35);
}
.usecase__result-item--final {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: transparent;
}
.usecase__result-item--final .usecase__result-num,
.usecase__result-item--final .usecase__result-label {
  color: #fff8ee;
}
.usecase__result-item--final .usecase__result-label { opacity: 0.85; }
.usecase__result-arrow {
  display: flex;
  align-items: center;
  font-size: 28px;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
  .section { padding: 70px 0; }
  .hero { padding: 120px 0 60px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero__visual { order: 2; }
  .solution__grid,
  .features__grid,
  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .special__grid { grid-template-columns: 1fr; }
  .special__card--wide { grid-column: span 1; }
  .special__number { font-size: 44px; top: 18px; right: 22px; }
  .special__card { padding: 32px 26px; }
  .feature--lg { grid-column: span 2; grid-row: span 1; }
  .cta { padding: 60px 32px; }
  .usecase__scene { grid-template-columns: 1fr; gap: 24px; }
  .usecase__stage { padding: 24px; }
  .usecase__highlight { font-size: 19px; }
  .usecase__result-arrow { transform: rotate(90deg); }
  .usecase__compare {
    grid-template-columns: 1fr;
  }
  .usecase__compare-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 40px; }
  .nav__menu {
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    padding: 12px 16px;
    text-align: left;
  }
  .nav__link--cta { text-align: center; margin-top: 8px; }
  .nav__toggle { display: flex; }
  .nav.is-menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 100px 0 40px; }
  .hero__title { font-size: clamp(30px, 8vw, 40px); }
  .hero__subtitle { font-size: 16px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; justify-content: center; }

  .visual__window { transform: none; }
  .visual__float--1, .visual__float--2 { display: none; }

  .solution__grid,
  .features__grid,
  .how__steps,
  .trust__grid,
  .reviews__grid { grid-template-columns: 1fr; }
  .feature--lg { grid-column: span 1; padding: 32px 28px; }
  .feature--lg h3 { font-size: 20px; }

  .cta { padding: 50px 24px; border-radius: var(--radius-lg); }
  .cta__buttons .btn { width: 100%; justify-content: center; }

  /* 사용례 모바일 */
  .usecase__stage { padding: 18px; border-radius: var(--radius-lg); }
  .usecase__chips { gap: 6px; }
  .usecase__chip { font-size: 11.5px; padding: 6px 10px; }
  .usecase__chip span:not(.usecase__chip-dot) { display: none; }
  .usecase__highlight { font-size: 17px; }
  .usecase__narration { font-size: 14px; }
  .usecase__dialog { font-size: 13.5px; }
  .usecase__controls { flex-wrap: wrap; }
  .usecase__control { padding: 8px 14px; font-size: 12.5px; }
  .usecase__result { flex-direction: column; align-items: stretch; }
  .usecase__result-arrow { transform: rotate(90deg); justify-content: center; padding: 4px 0; }
  .usecase__result-item { min-width: 0; }
  .usecase__result-num { font-size: 30px; }
  .chaos-image { max-height: 400px; }
  .usecase__feature-panel,
  .usecase__ending-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }
  .usecase__feature-panel strong,
  .usecase__ending-overlay strong {
    font-size: 17px;
  }
}

/* ============================================================== */
/* ========== 게시판 (community) + 모달 ========== */
/* styles.css 에 누락되어 있던 부분을 PICCOLO 브라운 톤(#6b4a36/#d9a85a)에 맞춰 추가 */
/* ============================================================== */

/* --- 1) 커뮤니티 섹션 레이아웃 (좌 리스트 / 우 디테일) --- */
.community__layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 880px) {
  .community__layout { grid-template-columns: 1fr; }
}

.community__list-wrap,
.community__detail {
  background: #fff;
  border: 1px solid rgba(107, 74, 54, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(58, 37, 25, 0.06);
  min-height: 280px;
}

.community__list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.community__list-title { font-size: 16px; font-weight: 700; color: #3a2519; margin: 0; }
.community__count { color: #d9a85a; font-weight: 800; }
.community__list-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 글 목록 */
.community__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.community__item,
.community__list-item {
  border: 1px solid rgba(107, 74, 54, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
  background: #faf6f0;
}
.community__item:hover { background: #f1e8da; border-color: rgba(217, 168, 90, 0.5); }
.community__item.is-active,
.community__list-item.is-active { background: #f1e8da; border-color: #d9a85a; }
.community__item-title,
.community__list-item-title { font-weight: 600; color: #3a2519; font-size: 14px; line-height: 1.45; margin-bottom: 4px; word-break: break-word; }
.community__item-meta,
.community__list-item-meta { font-size: 12px; color: #7a6655; display: flex; gap: 8px; flex-wrap: wrap; }
.community__item-meta .badge,
.community__list-item-meta .badge { display: inline-block; padding: 1px 6px; border-radius: 6px; background: #eee; color: #5a4a3c; font-size: 11px; }
.community__item-meta .badge--secret,
.community__list-item-meta .badge--secret { background: #d9a85a; color: #fff; }
.community__item-meta .badge--anon,
.community__list-item-meta .badge--anon { background: #6b4a36; color: #fff; }

.community__list-empty,
.community__detail-empty {
  text-align: center;
  color: #8a7a6a;
  padding: 40px 12px;
  font-size: 14px;
}

.community__pager { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.community__pager button {
  border: 1px solid rgba(107, 74, 54, 0.2);
  background: #fff;
  color: #5a4a3c;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}
.community__pager button.is-active { background: #6b4a36; color: #fff; border-color: #6b4a36; }

/* 디테일 */
.community__detail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid rgba(107, 74, 54, 0.1); padding-bottom: 10px; margin-bottom: 14px; }
.community__detail-title { font-size: 18px; font-weight: 700; color: #3a2519; margin: 0; word-break: break-word; }
.community__detail-meta { font-size: 12px; color: #7a6655; display: flex; gap: 8px; flex-wrap: wrap; }
.community__detail-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; color: #2a2520; }
.community__detail-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-top: 12px; }
.community__detail-images img { width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(107, 74, 54, 0.1); cursor: zoom-in; object-fit: cover; max-height: 220px; }

/* 댓글 */
.comment-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.comment-item { background: #faf6f0; border: 1px solid rgba(107, 74, 54, 0.08); border-radius: 10px; padding: 10px 12px; }
.comment-meta { font-size: 12px; color: #7a6655; margin-bottom: 4px; }
.comment-body { white-space: pre-wrap; word-break: break-word; font-size: 14px; color: #2a2520; }

/* --- 2) 폼 (.form-row, .form-label, .form-check, .form-help) --- */
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-row--inline { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px; }
.form-row .form-label { font-size: 13px; font-weight: 600; color: #3a2519; }
.form-row .form-label em { color: #c9745a; font-style: normal; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(107, 74, 54, 0.25);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 14px;
  background: #fff;
  color: #2a2520;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: #d9a85a; box-shadow: 0 0 0 3px rgba(217, 168, 90, 0.18); }
.form-row input[type="file"] { font-size: 12px; }

.form-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5a4a3c; cursor: pointer; user-select: none; }
.form-check input[type="checkbox"] { accent-color: #6b4a36; width: 16px; height: 16px; }
.form-help { font-size: 12px; color: #8a7a6a; margin: 6px 0 0; }

/* --- 3) 모달 --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.modal[hidden] { display: none !important; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, 0.55);
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(20, 14, 10, 0.35);
  animation: modalIn .18s ease-out;
}
.modal__panel--sm { max-width: 380px; }
.modal__panel--download { max-width: 600px; }
.modal__panel--download-preview {
  width: auto;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(107, 74, 54, 0.1);
  background: linear-gradient(180deg, #faf6f0 0%, #fff 100%);
}
.modal__title { margin: 0; font-size: 16px; font-weight: 700; color: #3a2519; }
.modal__close {
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #6b4a36;
  cursor: pointer;
}
.modal__close:hover { background: #f1e8da; }

.modal__body { padding: 18px 20px; overflow-y: auto; flex: 1 1 auto; }
.modal__foot {
  padding: 14px 20px;
  border-top: 1px solid rgba(107, 74, 54, 0.1);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  background: #faf6f0;
}

.download-modal__lead {
  margin: 0 0 14px;
  color: #3a2519;
  line-height: 1.7;
}
.download-modal__lead strong {
  font-weight: 800;
}
.download-modal__steps {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #5a4a3c;
  font-size: 14px;
  line-height: 1.7;
}
.download-modal__links {
  display: grid;
  gap: 8px;
}
.download-modal__links a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(107, 74, 54, 0.18);
  border-radius: 8px;
  background: #fffaf3;
  color: #3a2519;
}
.download-modal__links a:hover {
  border-color: rgba(107, 74, 54, 0.36);
  background: #f7efe4;
}
.download-modal__links strong {
  white-space: nowrap;
  color: #8a4530;
  font-size: 13px;
}
.download-modal__links span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}
.download-modal__status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #6b4a36;
  font-size: 13px;
  line-height: 1.5;
}

.download-walkthrough {
  padding: 18px;
  background: #f5f1eb;
  display: grid;
  gap: 14px;
}

.download-walkthrough__step {
  margin: 0 0 3px;
  color: #8a7a6a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-walkthrough__stage {
  width: var(--download-stage-width, 534px);
  height: var(--download-stage-height, 748px);
  max-width: calc(100vw - 72px);
  max-height: calc(100vh - 295px);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 16px;
  background: #f3f3f3;
  box-shadow: 0 16px 40px rgba(20, 14, 10, 0.18);
}

.download-walkthrough__guide {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(107, 74, 54, 0.14);
  border-radius: 10px;
  background: #fffaf3;
  color: #3a2519;
}

.download-walkthrough__guide h4 {
  margin: 0 0 7px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
}

.download-walkthrough__guide p {
  margin: 0;
  color: #5a4a3c;
  font-size: 14px;
  line-height: 1.65;
}

.download-walkthrough__stage iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--download-frame-width, 534px);
  height: var(--download-frame-height, 748px);
  border: 0;
  transform: scale(var(--download-frame-scale, 1));
  transform-origin: left top;
  background: transparent;
}

.download-walkthrough__controls {
  align-items: center;
}

.download-walkthrough__controls .btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

.download-walkthrough__download {
  display: inline-flex;
  text-decoration: none;
}

.download-walkthrough__download.is-visible {
  display: inline-flex;
}

.download-inline {
  width: min(680px, calc(100vw - 36px));
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  z-index: 80;
  transform: translateX(-50%);
  padding: 14px;
  border: 1px solid rgba(42, 214, 96, .36);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #172116;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .22);
  text-align: left;
}

.download-inline[hidden] {
  display: none !important;
}

.download-inline__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.download-inline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(255, 255, 255, .96);
  border-left: 1px solid rgba(42, 214, 96, .36);
  border-top: 1px solid rgba(42, 214, 96, .36);
}

.download-inline__kicker {
  margin: 0 0 3px;
  color: #168836;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download-inline__head strong {
  display: block;
  color: #5e6a60;
  font-size: 13px;
  font-weight: 800;
}

.download-inline__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(0, 0, 0, .06);
  color: #172116;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.download-inline__close:hover {
  background: rgba(0, 0, 0, .1);
}

.download-inline__copy {
  padding: 12px 14px;
  border: 1px solid rgba(23, 33, 22, .1);
  border-radius: 10px;
  background: #f7fbf6;
}

.download-inline__copy h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.download-inline__copy p {
  margin: 0;
  color: #566056;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.download-inline__stage {
  width: var(--download-inline-stage-width, 542px);
  height: var(--download-inline-stage-height, 196px);
  max-width: 100%;
  max-height: min(360px, 44vh);
  position: relative;
  overflow: hidden;
  margin: 14px auto 0;
  border-radius: 12px;
  background: #eee;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.download-inline__stage iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--download-inline-frame-width, 542px);
  height: var(--download-inline-frame-height, 196px);
  border: 0;
  transform: scale(var(--download-inline-frame-scale, 1));
  transform-origin: left top;
  background: transparent;
}

.download-inline__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .download-inline {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 14px;
    width: auto;
    transform: none;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .download-inline::before {
    display: none;
  }
}

.download-inline__controls .btn[disabled] {
  opacity: .45;
  pointer-events: none;
}

[dir="rtl"] .download-inline__controls {
  justify-content: flex-start;
}

.download-div-popup {
  width: min(920px, calc(100vw - 32px));
  position: fixed;
  z-index: 1200;
  padding: 16px 18px 14px;
  border: 1px solid rgba(42, 214, 96, .38);
  border-radius: 14px;
  background: rgba(255, 255, 255, .98);
  color: #172116;
  box-shadow: 0 22px 54px rgba(0, 0, 0, .28);
  text-align: left;
}

.download-div-popup[hidden] {
  display: none !important;
}

.download-div-popup::before {
  content: "";
  position: absolute;
  left: var(--download-div-arrow-left, 50%);
  top: -9px;
  width: 18px;
  height: 18px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(255, 255, 255, .98);
  border-left: 1px solid rgba(42, 214, 96, .38);
  border-top: 1px solid rgba(42, 214, 96, .38);
}

.download-div-popup.is-above::before {
  top: auto;
  bottom: -9px;
  border-top: 0;
  border-left: 0;
  border-right: 1px solid rgba(42, 214, 96, .38);
  border-bottom: 1px solid rgba(42, 214, 96, .38);
}

.download-div-popup__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.download-div-popup__kicker {
  margin: 0 0 3px;
  color: #168836;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.download-div-popup__head strong {
  display: block;
  color: #5e6a60;
  font-size: 13px;
  font-weight: 800;
}

.download-div-popup__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(0, 0, 0, .06);
  color: #172116;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.download-div-popup__close:hover {
  background: rgba(0, 0, 0, .1);
}

.download-div-popup__copy {
  padding: 12px 14px;
  border: 1px solid rgba(23, 33, 22, .1);
  border-radius: 10px;
  background: #f7fbf6;
}

.download-div-popup__copy h3 {
  margin: 0 0 6px;
  color: #17311c;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.download-div-popup__copy p {
  margin: 0;
  color: #4b574b;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.download-div-popup__stage {
  width: var(--download-div-stage-width, 542px);
  height: var(--download-div-stage-height, 196px);
  max-width: 100%;
  max-height: min(560px, calc(100vh - 260px));
  position: relative;
  overflow: hidden;
  margin: 14px auto 0;
  border-radius: 12px;
  background: #eee;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.download-div-popup__stage iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--download-div-frame-width, 542px);
  height: var(--download-div-frame-height, 196px);
  border: 0;
  transform: scale(var(--download-div-frame-scale, 1));
  transform-origin: left top;
  background: transparent;
  overflow: hidden;
  scrollbar-width: none;
}

.download-div-popup__stage iframe::-webkit-scrollbar {
  display: none;
}

.download-div-popup__controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.download-div-popup__controls .btn {
  min-width: 72px !important;
  color: #17311c !important;
}

.download-div-popup__controls .btn--ghost {
  background: #edf7ee !important;
  border: 1px solid rgba(23, 33, 22, .22) !important;
  color: #243424 !important;
}

.download-div-popup__controls .btn--primary {
  color: #fff !important;
}

#downloadDivPrev {
  margin-right: auto !important;
  background: #ffffff !important;
  border: 1px solid rgba(23, 33, 22, .32) !important;
  color: #17311c !important;
  box-shadow: 0 4px 12px rgba(23, 33, 22, .08) !important;
}

.download-div-popup__controls .btn[disabled] {
  opacity: .62;
  pointer-events: none;
  filter: grayscale(.25);
}

[dir="rtl"] .download-div-popup__controls {
  justify-content: flex-start;
}

@media (max-width: 720px) {
  .download-div-popup {
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 14px !important;
    width: auto !important;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .download-div-popup::before {
    display: none;
  }
}

/* btn 유틸 (게시판 안에서만 — 글로벌 btn은 기존 정의 사용) */
.btn--sm { padding: 6px 12px; font-size: 12px; }
.btn--ghost { background: transparent; color: #6b4a36; border: 1px solid rgba(107, 74, 54, 0.4); }
.btn--ghost:hover { background: #f1e8da; }

/* ============================================================== */
/* ========== 추가 보강 (JS 클래스명 alias + 디테일 패널) ========== */
/* ============================================================== */

/* JS 가 실제 생성하는 listitem 클래스 — .community__item 으로 alias */
.community__list-item {
  border: 1px solid rgba(107, 74, 54, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
  background: #faf6f0;
  list-style: none;
}
.community__list-item:hover { background: #f1e8da; border-color: rgba(217, 168, 90, 0.5); }
.community__list-item.is-active { background: #f1e8da; border-color: #d9a85a; }
.community__item-title { font-weight: 600; color: #3a2519; font-size: 14px; line-height: 1.45; margin-bottom: 4px; word-break: break-word; }
.community__item-meta { font-size: 12px; color: #7a6655; display: flex; gap: 8px; flex-wrap: wrap; }
.community__lock { font-size: 12px; }

/* 디테일 패널 (renderPostDetail 가 innerHTML 로 채우는 구조) */
.community__detail-inner { display: flex; flex-direction: column; gap: 14px; }
.community__detail-inner h3 { margin: 0; font-size: 18px; font-weight: 700; color: #3a2519; word-break: break-word; }
.community__detail-inner h4 { margin: 16px 0 8px; font-size: 14px; font-weight: 700; color: #3a2519; }
.community__detail-body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; color: #2a2520; font-size: 14px; }

/* 댓글 목록 */
.community__comments { margin-top: 18px; border-top: 1px solid rgba(107, 74, 54, 0.1); padding-top: 14px; }
.community__comments ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.community__comment { background: #faf6f0; border: 1px solid rgba(107, 74, 54, 0.08); border-radius: 10px; padding: 10px 12px; }
.community__comment-meta { font-size: 12px; color: #7a6655; margin-bottom: 4px; }
.community__comment-body { white-space: pre-wrap; word-break: break-word; font-size: 14px; color: #2a2520; }

/* adminLoginForm / password input 박스 정렬 */
#adminLoginForm .form-row { margin-bottom: 12px; }
#adminLoginForm .form-help { margin-top: 8px; }

/* 폼 에러 메시지 */
.form-error {
  margin: 6px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(201, 116, 90, 0.12);
  border: 1px solid rgba(201, 116, 90, 0.3);
  color: #8a4530;
  font-size: 13px;
}


/* ===== 게시판: 검색/페이저/액션 ===== */
.community__search {
  display: flex;
  gap: 6px;
  margin: 10px 0 12px;
  align-items: center;
}
.community__search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(107, 74, 54, 0.25);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #2a2520;
}
.community__search input[type="search"]:focus {
  outline: none;
  border-color: #6b4a36;
  box-shadow: 0 0 0 3px rgba(107, 74, 54, 0.12);
}

.community__pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.community__pager button {
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(107, 74, 54, 0.2);
  background: #fff;
  color: #6b4a36;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.community__pager button:hover:not(:disabled) {
  background: rgba(107, 74, 54, 0.06);
}
.community__pager button.is-active {
  background: #6b4a36;
  color: #fff;
  border-color: #6b4a36;
  font-weight: 700;
}
.community__pager button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.community__detail-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.community__detail-actions .btn { padding: 4px 10px; font-size: 12px; }

.btn--danger {
  background: #b94a48;
  color: #fff;
  border: 1px solid #a23c3a;
}
.btn--danger:hover {
  background: #a23c3a;
}


/* ===== 알림 섹션 — 관리자 전용 다운로드 버튼 =====
   JS 토글이 아닌 CSS 셀렉터로만 노출/숨김 제어.
   서버는 /api/email-signup/export.csv 엔드포인트 자체에서 권한 체크
   (관리자 아니면 401 반환 — JS 우회 무관). */
.notify__admin {
  display: none;
  margin-top: 14px;
}
body.is-admin .notify__admin {
  display: block;
}
.notify__export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: background 150ms ease;
}
.notify__export:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* ===== 게시글 본문 이미지 ===== */
.community__detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.community__detail-images a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(107, 74, 54, 0.15);
  cursor: zoom-in;
}
.community__detail-images img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* ===== 댓글 트리 + 대댓글 ===== */
.community__comments ul { list-style: none; padding-left: 0; margin: 0; }
.community__comment {
  position: relative;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #faf6ef;
  border-radius: 8px;
  border: 1px solid rgba(107, 74, 54, 0.08);
  font-size: 13px;
}
.community__comment--admin {
  background: #fff8e8;
  border-color: #d8b870;
}
.community__comment--reply {
  margin-left: 28px;
  margin-top: 6px;
  background: #f4eee3;
  font-size: 12px;
}
.community__comment-meta {
  font-size: 11px;
  color: #7a6655;
  margin-bottom: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.community__comment-badge {
  display: inline-block;
  padding: 1px 6px;
  background: #6b4a36;
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.community__comment-body {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  color: #2a2520;
}
.community__comment-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 4px;
  margin-top: 6px;
}
.community__comment-images img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
}
.community__comment-actions {
  margin-top: 4px;
  display: flex;
  gap: 8px;
}
.community__comment-actions button {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: #6b4a36;
  cursor: pointer;
  text-decoration: underline;
}
.community__comment-actions button:hover { color: #4a3225; }

/* ===== 이미지 라이트박스 ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}


/* ===== 댓글 섹션 헤더 ===== */
.community__comments-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(107, 74, 54, 0.12);
}
.community__comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
  flex-wrap: wrap;
}
.community__comments-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #3a2519;
}
.community__comment-count {
  display: inline-block;
  margin-left: 4px;
  padding: 0 8px;
  background: rgba(107, 74, 54, 0.1);
  color: #6b4a36;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
.community__comments-empty {
  padding: 16px 12px;
  text-align: center;
  color: #8a857d;
  font-size: 13px;
  background: #faf6ef;
  border-radius: 8px;
  border: 1px dashed rgba(107, 74, 54, 0.2);
}


/* ===== 댓글 액션 (수정/삭제) ===== */
.community__comment-edited {
  font-size: 10px;
  color: #8a857d;
  margin-left: 4px;
}
.community__comment-actions {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.community__comment-actions button {
  background: none;
  border: none;
  padding: 0;
  font-size: 11px;
  color: #6b4a36;
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
}
.community__comment-actions button:hover {
  color: #4a3225;
}
.community__comment-actions .community__comment-delete {
  color: #b94a48;
}
.community__comment-actions .community__comment-delete:hover {
  color: #8a3836;
}


/* ===== 댓글 추천/비추천 ===== */
.community__reactions {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
  align-items: center;
}
.community__reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  font-size: 11px;
  background: #fff;
  border: 1px solid rgba(107, 74, 54, 0.2);
  border-radius: 12px;
  color: #6b4a36;
  cursor: pointer;
  font-family: inherit;
  transition: all 120ms ease;
}
.community__reaction:hover {
  background: rgba(107, 74, 54, 0.06);
}
.community__reaction:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.community__reaction-icon {
  font-size: 10px;
  font-weight: 700;
}
.community__reaction-count {
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}
.community__reaction--like.is-active {
  background: #d9efe0;
  border-color: #6ba67e;
  color: #2d6a4f;
}
.community__reaction--dislike.is-active {
  background: #f5dada;
  border-color: #b94a48;
  color: #8a3836;
}


/* ===== 댓글 트리 (대댓글 시각화) ===== */
.community__comments-list ul.community__comments {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
/* 부모 댓글 — 박스 (답글 버튼에 의해 모달 열림) */
.community__comments-list > ul > li.community__comment:not(.community__comment--nested) {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(107, 74, 54, 0.1);
}
/* 마지막 댓글은 구분선 제거 */
.community__comments-list > ul > li.community__comment:not(.community__comment--nested):last-child {
  border-bottom: none;
  margin-bottom: 0;
}
/* 답글 — 좌측 트리 라인 + 들여쓰기 */
.community__comment--nested {
  margin-left: 36px !important;
  padding-left: 14px !important;
  border-left: 3px solid #d8b870 !important;
  background: #faf6ef !important;
  margin-top: 6px;
  margin-bottom: 6px;
}
.community__reply-marker {
  display: inline-block;
  padding: 1px 8px;
  margin-left: 4px;
  background: #d8b870;
  color: #5a4220;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}


/* ===== 댓글 위치 이동 모달 ===== */
.form-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(107, 74, 54, 0.25);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: #2a2520;
  cursor: pointer;
}
.form-select:focus {
  outline: none;
  border-color: #6b4a36;
  box-shadow: 0 0 0 3px rgba(107, 74, 54, 0.12);
}

/* ===== 답글 그룹 시각화 ===== */
/* 부모 + 답글들 사이: 부모 카드는 구분선, 답글 카드끼리는 spacer 만 */
/* (이미 .community__comment--nested 의 좌측 라인이 답글 그룹을 묶음) */

/* 답글이 여러 개일 때 시간순 정렬 — 부모 아래 답글 사이 2px 간격 */
.community__comments-list .community__comment--nested + .community__comment--nested {
  margin-top: 4px;
}

/* 댓글 액션 버튼들 줄바꿈 처리 */
.community__comment-actions {
  flex-wrap: wrap;
  gap: 8px 10px;
}


/* ===== 게시판 패널: 10줄 넘으면 세로 스크롤 ===== */
.community {
  /* 컨테이너 자체에 max-height */
  max-height: 80vh;
  overflow: hidden;
}
.community__layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 24px;
  max-height: 75vh;
  overflow: hidden;
}
/* 좌측: 글 목록 — 목록이 길어지면 세로 스크롤 */
.community__list-wrap {
  display: flex;
  flex-direction: column;
  max-height: 75vh;
  overflow: hidden;
  border-right: 1px solid rgba(107, 74, 54, 0.12);
  padding-right: 12px;
}
.community__list {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  margin: 8px 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(107, 74, 54, 0.08);
}
.community__list-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(107, 74, 54, 0.06);
  cursor: pointer;
  transition: background 120ms;
}
.community__list-item:hover { background: rgba(107, 74, 54, 0.04); }
.community__list-item.is-active { background: rgba(107, 74, 54, 0.1); }
.community__list-empty {
  padding: 24px 12px;
  text-align: center;
  color: #8a857d;
  font-size: 13px;
}
/* 우측: 글 상세 — 댓글/내용이 길어지면 세로 스크롤 */
.community__detail {
  max-height: 75vh;
  overflow-y: auto;
  padding: 4px 8px 24px 4px;
}
/* 스크롤바 스타일 (WebKit + Firefox) */
.community__list::-webkit-scrollbar,
.community__detail::-webkit-scrollbar { width: 8px; }
.community__list::-webkit-scrollbar-thumb,
.community__detail::-webkit-scrollbar-thumb {
  background: rgba(107, 74, 54, 0.25);
  border-radius: 4px;
}
.community__list::-webkit-scrollbar-thumb:hover,
.community__detail::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 74, 54, 0.45);
}
.community__list { scrollbar-width: thin; scrollbar-color: rgba(107, 74, 54, 0.25) transparent; }
.community__detail { scrollbar-width: thin; scrollbar-color: rgba(107, 74, 54, 0.25) transparent; }
/* 모바일에서는 1열로 세로 배치 + max-height 제거 */
@media (max-width: 720px) {
  .community__layout { grid-template-columns: 1fr; max-height: none; }
  .community__list-wrap { max-height: 40vh; border-right: none; border-bottom: 1px solid rgba(107, 74, 54, 0.12); padding-right: 0; padding-bottom: 12px; }
  .community__detail { max-height: none; overflow-y: visible; }
}
