/* =========================================================
   SDPC CSO v3 — Purple Accent
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f3ff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-mute: #5e5e75;
  --text-dim: #8b8ba0;
  --border: #e9e6f5;
  --border-hi: #d4cef0;

  --primary: #5b46f0;
  --primary-d: #4830d0;
  --primary-l: #7c6ff5;
  --primary-soft: #ede9ff;

  --pain-overlay: rgba(91, 70, 240, 0.78);
  --dark: #2a2547;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --script: 'Nanum Pen Script', cursive;

  --container: 1180px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(30, 20, 80, 0.06);
  --shadow:    0 12px 32px rgba(30, 20, 80, 0.10);
  --shadow-lg: 0 24px 60px rgba(91, 70, 240, 0.20);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
em { font-style: normal; color: var(--primary); }
.script { font-family: var(--script); color: #5040C0; font-weight: 400; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Floating Side Panel ===== */
.side-panel {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 10px;
  box-shadow: 0 10px 30px rgba(30, 20, 80, 0.12);
}
.side-panel__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.side-panel__header img {
  width: 100px;
  height: auto;
  display: block;
}
.side-panel__btn {
  display: block;
  transition: transform 0.2s var(--ease);
}
.side-panel__btn:hover { transform: translateY(-3px); }
.side-panel__btn img {
  width: 88px;
  height: auto;
  display: block;
}

.side-panel__btn--phone,
.side-panel__btn--mobile-inquiry {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

/* 문의하기 버튼도 이미지로 통일 — 별도 스타일 불필요 */
.yakpiti-fab {
  display: block;
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 110;
  transition: transform 0.2s var(--ease);
  filter: drop-shadow(0 8px 20px rgba(30, 20, 80, 0.25));
  cursor: pointer;
}
.yakpiti-fab:hover { transform: translateY(-4px); }
.yakpiti-fab img {
  width: auto;
  height: 120px;
  display: block;
}

/* ===== 약피티 채팅 위젯 (데스크톱 전용) ===== */
.yak-widget {
  position: fixed;
  left: 77vw;                    /* 초기 위치: 화면 좌측 34% (사이드바 안 가리는 중간 위치) */
  bottom: 90px;
  width: 400px;
  height: 620px;
  min-width: 300px;
  min-height: 380px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(30, 20, 80, 0.35);
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: yak-widget-in 0.22s var(--ease);
}
@keyframes yak-widget-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.yak-widget.is-open { display: flex; }

.yak-widget__header {
  flex-shrink: 0;
  height: 52px;
  padding: 0 16px;
  background: linear-gradient(135deg, #5b46f0, #322C70);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  cursor: move;                /* 드래그 가능함을 알림 */
  user-select: none;
  -webkit-user-select: none;
}
.yak-widget__title { font-size: 15px; }
.yak-widget__close {
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.yak-widget__close:hover { background: rgba(255, 255, 255, 0.18); }

.yak-widget__body {
  flex: 1;
  position: relative;
  background: #f6f5fb;
}
.yak-widget__body iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* 크기 조절 핸들 — 오른쪽 하단 코너 */
.yak-widget__resize {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  cursor: nwse-resize;
  z-index: 2;
  background:
    linear-gradient(135deg,
      transparent 0%,
      transparent 55%,
      rgba(91, 70, 240, 0.4) 55%,
      rgba(91, 70, 240, 0.4) 65%,
      transparent 65%,
      transparent 75%,
      rgba(91, 70, 240, 0.4) 75%,
      rgba(91, 70, 240, 0.4) 85%,
      transparent 85%);
}
.yak-widget__resize:hover {
  background:
    linear-gradient(135deg,
      transparent 0%,
      transparent 45%,
      rgba(91, 70, 240, 0.7) 45%,
      rgba(91, 70, 240, 0.7) 65%,
      transparent 65%,
      transparent 75%,
      rgba(91, 70, 240, 0.7) 75%,
      rgba(91, 70, 240, 0.7) 90%,
      transparent 90%);
}

/* 드래그·리사이즈 중일 때는 iframe이 이벤트를 가로채지 않도록 */
body.yak-widget-interacting .yak-widget__body { pointer-events: none; }

/* 모바일에서는 위젯 사용 안 함 (새 탭 유지) */
@media (max-width: 1280px) {
  .yak-widget { display: none !important; }
}

/* (구) 문의하기 CSS 아이콘 제거 — 이제 side-inquiry.jpg 이미지 사용 */

/* 좁은 화면(태블릿/모바일) — 하단 고정 가로 바로 전환 */
@media (max-width: 1280px) {
  /* 콘텐츠가 하단 바에 가려지지 않도록 body 여백 확보 */
  body { padding-bottom: 84px; }

  .side-panel {
    /* 우측 → 하단 전체 가로 바 */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -6px 20px rgba(30, 20, 80, 0.10);
    border-top: 1px solid var(--border);
  }
  /* 모바일에서 SDPC AI 로고/태그라인 헤더는 숨김 (공간 확보) */
  .side-panel__header { display: none; }

  .side-panel__btn { flex: 1; max-width: 90px; }
  .side-panel__btn img { width: 100%; height: 72px; object-fit: contain; }
  .side-panel__btn:hover { transform: none; }

  /* 약피티 플로팅 — 원본 직사각형 그대로 */
  .yakpiti-fab {
    display: block;
    position: fixed;
    right: 14px;
    bottom: 100px;
    z-index: 110;
    transition: transform 0.2s var(--ease);
    filter: drop-shadow(0 8px 16px rgba(30, 20, 80, 0.25));
  }
  .yakpiti-fab:hover { transform: translateY(-3px); }
  .yakpiti-fab img {
    width: auto;
    height: 100px;
    display: block;
  }
}

/* ===== 모바일 우측 사이드바 (디자이너 bar 디자인) — 하단바 유지 + 우측 추가 ===== */
.mobile-bar { display: none; }
@media (max-width: 1280px) {
  .mobile-bar {
    display: block;
    position: fixed;
    right: 2px;
    bottom: 84px;          /* 하단바(약 79px) 바로 위에 붙임 */
    top: auto;
    width: 218px;
    height: 828px;
    transform: scale(0.5);
    transform-origin: right bottom;
    z-index: 111;
    pointer-events: none;   /* 빈 영역은 클릭 통과 */
  }
  .mobile-bar > * { pointer-events: auto; }
  .mbar-halo   { position: absolute; width: 145px; height: 145px; border-radius: 50%; background: rgba(80,64,192,0.2); }
  .mbar-circle { position: absolute; width: 119px; height: 119px; border-radius: 50%; background: #5040C0;
                 box-shadow: 0 10px 26px rgba(80,64,192,0.45); }
  .mbar-ico    { position: absolute; display: block; }
  .mbar-label  { position: absolute; width: 138px; text-align: center; font-weight: 700; font-size: 30px;
                 line-height: 35px; letter-spacing: -0.05em; color: #000; }
  .mbar-mascot-link { position: absolute; display: block; }
  .mbar-mascot-link img { width: 100%; height: 100%; object-fit: contain; display: block; }
  .mbar-link   { position: absolute; display: block; border-radius: 60px; }
  .mbar-link:active { background: rgba(80,64,192,0.08); }
  /* bar에 약피티가 포함되므로 별도 약피티 플로팅은 모바일에서 숨김(중복 방지) */
  .yakpiti-fab { display: none !important; }
}

/* 아주 좁은 화면 — 사이드바 더 작게 */
@media (max-width: 480px) {
  .mobile-bar { transform: scale(0.42); right: 0; bottom: 80px; }
  body { padding-bottom: 76px; }
  .side-panel__btn img { height: 62px; }
  .yakpiti-fab { bottom: 90px; right: 12px; }
  .yakpiti-fab img { height: 84px; }
}

/* ===== Inquiry Modal ===== */
.inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.inquiry-modal.is-open { display: flex; }
.inquiry-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 60, 0.65);
}
/* 모달 열린 동안 뒷배경의 무거운 애니메이션 일시정지 */
body.modal-open .pain__card,
body.modal-open .pain__bg-img,
body.modal-open .marquee__track {
  animation-play-state: paused !important;
}
.inquiry-modal__panel {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 30px 28px;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(20, 10, 60, 0.35);
}
.inquiry-modal__close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--text-mute);
  cursor: pointer;
  line-height: 1;
}
.inquiry-modal__close:hover { color: var(--text); }
.inquiry-modal__head {
  margin-bottom: 18px;
}
.inquiry-modal__head h3 {
  font-size: 22px;
  font-weight: 800;
  color: #322C70;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.inquiry-modal__status {
  font-size: 13px;
  color: var(--text-mute);
}
.inquiry-modal__status .status-line {
  display: flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.inquiry-modal__status .status-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 14px;
}
.inquiry-modal__status .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.inquiry-modal__status .dot--on { background: #22c55e; }
.inquiry-modal__status .dot--off { background: #ef4444; }

/* 근무 시간 영역 */
.inquiry-modal__work { text-align: center; padding: 12px 0 4px; }
.inquiry-modal__lead {
  font-size: 16px;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.inquiry-modal__phone {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.inquiry-modal__phone:hover { text-decoration: underline; }
.inquiry-modal__hours {
  font-size: 13px;
  color: var(--text-dim);
}

/* 근무 시간 외 영역 */
.inquiry-modal__off { padding-top: 4px; }
.inquiry-modal__off .inquiry-modal__lead {
  font-size: 15px;
  text-align: left;
  margin-bottom: 8px;
}
.inquiry-modal__off .inquiry-modal__lead strong { color: var(--text); font-weight: 700; }
.inquiry-modal__off .inquiry-modal__lead a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
}
.inquiry-modal__sub {
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.6;
  margin-bottom: 16px;
}
.inquiry-modal__sub strong { color: var(--text); font-weight: 700; }

/* 문의 폼 */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.inquiry-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.inquiry-form__row > span,
.inquiry-form__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mute);
}
.inquiry-form__label.is-required::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 4px;
  background: #ef4444;
  border-radius: 50%;
  vertical-align: super;
}
.inquiry-form__row--radio {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.inquiry-form__row--radio .inquiry-form__label {
  margin-bottom: 4px;
  padding: 0;
}
.inquiry-form__radios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inquiry-form__radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}
.inquiry-form__radio input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.inquiry-form__row input,
.inquiry-form__row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.inquiry-form__row input:focus,
.inquiry-form__row textarea:focus {
  outline: none;
  border-color: var(--primary-l);
  box-shadow: 0 0 0 3px rgba(124, 111, 245, 0.15);
}
.inquiry-form__row textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.inquiry-form__msg {
  font-size: 13px;
  min-height: 18px;
}
.inquiry-form__msg.is-ok { color: #22c55e; }
.inquiry-form__msg.is-error { color: #ef4444; }
.inquiry-form__submit {
  margin-top: 4px;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.inquiry-form__submit:hover { background: var(--primary-d); }
.inquiry-form__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__logo-img { height: 56px; width: auto; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 44px);
  justify-content: center;
}
.nav__menu a {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav__menu a:hover { color: var(--primary); }

/* 신규 기능 페이지 바로가기 — 다른 메뉴와 동일하게 글씨만(뱃지 없음) */
.nav__menu-btn {
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}
.nav__menu-btn:hover { color: var(--primary); }
.nav__menu-btn.is-active { color: var(--primary); font-weight: 700; }
.nav__cta {
  justify-self: end;
  padding: 12px 26px;
  background: var(--primary);
  color: white !important;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s var(--ease);
  box-shadow: 0 6px 16px rgba(91, 70, 240, 0.3);
}
.nav__cta:hover {
  background: var(--primary-d);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(91, 70, 240, 0.45);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 200px;
  background: radial-gradient(ellipse at center top, var(--primary-soft), transparent 70%);
  z-index: -1;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero__pill {
  display: inline-block;
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
}
.hero__pill strong { color: #322C70; font-weight: 800; }
.hero__pill::before { content: '"'; font-family: serif; }
.hero__pill::after { content: '"'; font-family: serif; }

.hero__title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__line {
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600; /* "영업이" 부분 굵기 살짝 얇게 */
}
.hero__line--big {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.hero__line .script {
  font-size: 2.2em; /* 가벼워지는 — 헤드라인 압도하는 크기 */
  line-height: 1;
}
.hero__dash {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
}

.hero__mockup {
  width: 100%;
  max-width: 880px;
  margin: 32px auto 0;
  border-radius: var(--radius-lg);
  background: #ebe7fa;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  box-shadow: 0 30px 80px rgba(91, 70, 240, 0.12);
}
.hero__mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 히어로: 영상 + 배너 3개 나란히 */
.hero__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1133px;
  margin: 32px auto 0;
}
.hero__stage .hero__mockup {
  margin: 0;
  flex: 820 1 0%;
  max-width: 820px;
  min-width: 0;
}
/* 배너 3개: 영상 폭과 820:293 비율로 나눠 세로 높이가 영상과 딱 맞음 */
.hero__banners {
  flex: 293 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero__banner {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(91, 70, 240, 0.14);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.hero__banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(91, 70, 240, 0.22);
}
.hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 768px) {
  .hero__stage {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .hero__stage .hero__mockup { flex: none; width: 100%; max-width: 880px; }
  .hero__banners {
    flex: none;
    width: 100%;
    max-width: 880px;
    flex-direction: row;
    gap: 10px;
  }
  .hero__banner { flex: 1 1 0; min-width: 0; }
}

.hero__lead {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.7;
  margin-top: 32px;
}
.hero__lead strong { color: #322C70; font-weight: 700; }

/* ===== PAIN ===== */
.pain {
  position: relative;
  padding: 110px 0 110px;
  min-height: 820px;
  color: white;
  background: linear-gradient(135deg, #4a3ca5 0%, #6a55e0 55%, #8b7af2 100%);
  overflow: hidden;
}
/* 사람 이미지 — 오른쪽으로 더 이동, 높이 70%, 좌우 반전, 상하 페이드 */
.pain__bg-img {
  position: absolute;
  left: 20%;
  bottom: 0;
  height: 70%;
  width: auto;
  object-fit: contain;
  object-position: left bottom;
  transform: scaleX(-1);
  filter: saturate(0.85) brightness(0.95);
  /* 4면 페이드 — 가운데서는 천천히, 멀리갈수록 빠르게 (ease-in 커브) */
  -webkit-mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 10%,
      rgba(0, 0, 0, 0.5) 25%,
      rgba(0, 0, 0, 0.85) 40%,
      black 50%,
      rgba(0, 0, 0, 0.85) 60%,
      rgba(0, 0, 0, 0.5) 75%,
      rgba(0, 0, 0, 0.1) 90%,
      transparent 100%),
    linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 10%,
      rgba(0, 0, 0, 0.5) 25%,
      rgba(0, 0, 0, 0.85) 40%,
      black 50%,
      rgba(0, 0, 0, 0.85) 60%,
      rgba(0, 0, 0, 0.5) 75%,
      rgba(0, 0, 0, 0.1) 90%,
      transparent 100%);
  mask-image:
    linear-gradient(to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 10%,
      rgba(0, 0, 0, 0.5) 25%,
      rgba(0, 0, 0, 0.85) 40%,
      black 50%,
      rgba(0, 0, 0, 0.85) 60%,
      rgba(0, 0, 0, 0.5) 75%,
      rgba(0, 0, 0, 0.1) 90%,
      transparent 100%),
    linear-gradient(to right,
      transparent 0%,
      rgba(0, 0, 0, 0.1) 10%,
      rgba(0, 0, 0, 0.5) 25%,
      rgba(0, 0, 0, 0.85) 40%,
      black 50%,
      rgba(0, 0, 0, 0.85) 60%,
      rgba(0, 0, 0, 0.5) 75%,
      rgba(0, 0, 0, 0.1) 90%,
      transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  z-index: 0;
}
.pain__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 75%, rgba(91, 70, 240, 0.20), transparent 55%);
  z-index: 1;
  pointer-events: none;
}
.pain__inner {
  position: relative;
  z-index: 2;
}
.pain__title {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.30;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 60px;
}
.pain__title em {
  color: #b8a8ff;
  font-weight: 800;
}

/* 카드 — 우측 영역, 절대 위치로 물레방아 회전 */
.pain__cards {
  position: relative;
  width: 55%;
  margin-left: auto;
  min-height: 480px;       /* 카드 3개 stack 공간 */
}
.pain__card {
  position: absolute;
  left: 50%;
  width: 95%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 30px 32px;
  box-shadow: 0 20px 40px rgba(20, 10, 60, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform-origin: 50% 0;            /* 스케일 시 상단 고정 */

  /* 물레방아 회전 애니메이션 */
  animation: painCardWheel 9s infinite ease-in-out;
}
@keyframes painCardWheel {
  /* A 위치 — 뒤/위/작게 */
  0% {
    top: 0;
    transform: translateX(-50%) scale(0.78);
    opacity: 0.72;
    z-index: 1;
  }
  /* B 위치 — 중간 */
  28% {
    top: 130px;
    transform: translateX(-50%) scale(0.88);
    opacity: 0.88;
    z-index: 2;
  }
  /* C 위치 — 앞/아래/크게 */
  56% {
    top: 260px;
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
  }
  /* C에서 아래로 빠져나감 (페이드 아웃) */
  78% {
    top: 460px;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    z-index: 1;
  }
  /* 위로 순간 이동 (보이지 않음) */
  78.01% {
    top: -180px;
    transform: translateX(-50%) scale(0.7);
    opacity: 0;
    z-index: 1;
  }
  /* 위에서 A로 슬라이드 인 (페이드 인) */
  100% {
    top: 0;
    transform: translateX(-50%) scale(0.78);
    opacity: 0.72;
    z-index: 1;
  }
}
/* 시작 위치 어긋남 (phase offset) */
.pain__card--1 { animation-delay: 0s; }     /* A에서 시작 (시간 낭비 = 처음에 뒤) */
.pain__card--2 { animation-delay: -3s; }    /* B에서 시작 (답답함 = 처음에 중간) */
.pain__card--3 { animation-delay: -6s; }    /* C에서 시작 (스트레스 = 처음에 앞) */

@media (prefers-reduced-motion: reduce) {
  .pain__card { animation: none; }
}
/* 카드 모디파이어 — 회전 애니메이션에서는 위치/스케일이 동적이므로 폭/마진/마스크 무력화 */
.pain__card--1,
.pain__card--2,
.pain__card--3 {
  width: 95%;
  margin-top: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.pain__card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.pain__label {
  flex-shrink: 0;
  padding: 7px 18px;
  background: #e3dcfa;
  color: #5b46f0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.pain__card h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.pain__card p {
  font-size: 17px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ===== SOLUTION ===== */
.solution {
  padding: 140px 0;
  background: var(--bg);
}
.solution__head {
  text-align: center;
  margin-bottom: 80px;
}
.solution__head h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.solution__head h2 em { color: #322C70; font-weight: 600; }
.solution__head p {
  font-size: 34px;
  color: var(--text);
}

/* 4개 카드 + 가변 gap (viewport에 따라 자동 축소) */
.solution > .container {
  max-width: 1500px;
}
.solution__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* gap = clamp(최소, 가변, 최대) — viewport 좁아지면 자동 축소 */
  gap: 56px clamp(32px, 6vw, 150px);
}
.solution__item {
  width: 240px;
  flex: 0 0 auto;
}
.solution__item {
  position: relative;
  text-align: center;
  padding-top: 60px;
}
.solution__arc { display: none; }
.solution__phone {
  position: relative;
  z-index: 1;
  width: 240px;
  margin: 0 auto 32px;
  filter: drop-shadow(0 30px 40px rgba(30, 20, 80, 0.20));
}
.solution__phone img {
  width: 100%;
  height: auto;
  display: block;
}
.solution__item h3 {
  font-size: 28px;
  font-weight: 800;
  color: #322C70;
  margin-bottom: 18px;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  transform: translateX(-15px);  /* 폰 이미지가 오른쪽으로 살짝 치우쳐서 시각 보정 */
  letter-spacing: -0.01em;
}
.solution__item p {
  font-size: 18px;
  color: var(--text-mute);
  line-height: 1.65;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  transform: translateX(-15px);  /* 폰 이미지 비대칭 시각 보정 */
}
.solution__item p strong { color: var(--text); font-weight: 700; }

/* ===== KAKAO ALERT ===== */
.kakao {
  padding: 100px 0;
  background: #eef2fe;
}
.kakao__inner {
  position: relative;
  min-height: 580px;
}
.kakao__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: -20px;
}
.kakao__pill {
  display: block;
  font-size: clamp(36px, 4vw, 52px);       /* Showcase h2와 동일 */
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 4px;
}
.kakao__copy h2 {
  font-size: clamp(36px, 4vw, 52px);       /* Showcase h2와 동일 */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #322C70;
}
.kakao__line {
  width: 60px;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
  margin: 18px 0 22px;
}
.kakao__copy p {
  font-size: 25px;                         /* Showcase p와 동일 */
  color: var(--text-mute);
  line-height: 1.6;
  white-space: nowrap;                     /* 각 줄을 한 줄로 유지 */
}
.kakao__copy p strong { color: #322C70; font-weight: 700; }
.kakao__visual {
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 1;
}
.kakao__visual img {
  width: 650px;          /* 고정 크기 */
  height: auto;
  display: block;
}

/* ===== SHOWCASE ===== */
.showcase {
  padding: 80px 0 0;
  background: #ffffff;
}
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 100px;
}
.showcase__copy h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}
.showcase__copy em { color: #322C70; }
.showcase__line {
  width: 60px;
  height: 4px;
  background: var(--text);
  border-radius: 2px;
  margin: 18px 0;
}
.showcase__copy p {
  font-size: 25px;
  color: var(--text-mute);
  line-height: 1.6;
  white-space: nowrap;
}

.showcase__stack {
  position: relative;
  height: 640px;
  perspective: 1500px;
}
.showcase__phone {
  position: absolute;
  width: 260px;
  filter: drop-shadow(0 24px 40px rgba(30, 20, 80, 0.25));
}
.showcase__phone img {
  width: 100%;
  height: auto;
  display: block;
}
/* 부채꼴로 더 펼침 — 앞쪽일수록 크게 기울고 더 왼쪽으로 */
.showcase__phone--back  { right: -20px;  top: -20px;  transform: rotate(15deg);  z-index: 1; }
.showcase__phone--mid   { right: 150px;  top: 80px;   transform: rotate(-15deg); z-index: 2; }
.showcase__phone--front { right: 340px;  top: 220px;  transform: rotate(-50deg); z-index: 3; }

/* ===== MARQUEE ===== */
.marquee {
  background: #1f1a3a;
  color: white;
  padding: 28px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  gap: 60px;
  width: fit-content;
  animation: marquee 40s linear infinite;
}
.marquee__set {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-shrink: 0;
}
.marquee__set span {
  font-size: 28px;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
}
.marquee__set span:nth-child(even) {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FEATURES ===== */
.features {
  padding: 140px 0;
  background: #eef2fe;
}
.features > .container {
  max-width: 1700px;
}
.features__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.30;
  margin-bottom: 80px;
  text-align: center;
}
.features__title em { color: #322C70; }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 100px;
  text-align: center;
  justify-items: center;
}
.feat-col__icon {
  width: 210px;
  height: 210px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-col__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.feat-col > h3 {
  font-size: 38px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.feat-col__sub {
  font-size: 20px;
  color: var(--text-mute);
  margin-bottom: 40px;
  line-height: 1.6;
  white-space: nowrap;
}
.feat-col__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
  padding-left: 12px;
}
.feat-col__list li {
  position: relative;
  padding-left: 16px;
  border-bottom: 1px dashed var(--border-hi);
  padding-bottom: 18px;
}
.feat-col__list li:last-child { border-bottom: 0; }
.feat-col__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
}
.feat-col__list strong {
  display: block;
  font-size: 25px;
  font-weight: 700;
  color: #322C70;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feat-col__list span {
  display: block;
  font-size: 20px;
  color: var(--text-mute);
}

/* ===== COMPARE ===== */
.compare {
  padding: 140px 0;
  background: var(--bg);
}
.compare__title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.30;
  margin-bottom: 60px;
}
.compare__title em { color: #322C70; }

.compare__board {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 22px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

.compare__card,
.compare__axis {
  display: flex;
  flex-direction: column;
}

.compare__card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  min-height: 500px;
  overflow: hidden;
}
.compare__card--before { box-shadow: var(--shadow-sm); }
.compare__card--after {
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(91, 70, 240, 0.18);
}

.compare__head {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ececf2;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.compare__head--primary {
  background: linear-gradient(135deg, #4a3acb, #6655e6);
  color: white;
}

.compare__axis {
  background: transparent;
  color: white;
}
.compare__axis-head {
  display: block;
  height: 78px; /* card header와 동일 — 정렬용 (투명) */
}
/* 다크 네이비 배경은 items 영역에만 적용 */
.compare__axis .compare__items {
  background: #1d1b3c;
  border-radius: 16px;
}

.compare__items {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
}

/* 카드 내부 항목 */
.compare__card .compare__items {
  padding: 8px 32px;
}
.compare__card .compare__row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 6px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.compare__card .compare__row:last-child { border-bottom: 0; }

.compare__ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.compare__ico svg {
  width: 28px;
  height: 28px;
}
/* before 카드 아이콘: 회색 outline */
.compare__card--before .compare__ico { color: #9aa0aa; }
/* after 카드 아이콘: 보라 outline */
.compare__card--after .compare__ico { color: var(--primary); }

.compare__card--after .compare__row { white-space: nowrap; }
.compare__card--after .compare__row strong { color: var(--primary); font-weight: 700; }

/* 가운데 axis 항목 — 카드와 동일한 5등분 그리드로 정렬 동기화 */
.compare__axis .compare__items {
  padding: 0;
  grid-template-rows: repeat(5, 1fr);
  gap: 0;
}
.compare__axis .compare__row {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  color: white;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.compare__axis .compare__row:last-child { border-bottom: none; }

.compare__quote {
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 32px 44px;
  background: var(--primary-soft);
  border-radius: 20px;
  max-width: 1080px;
  position: relative;
  overflow: hidden;
}
.compare__quote-left {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 36px;
  border-right: 1.5px solid #c4bcef;
}
.compare__check {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
}
.compare__quote-left strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.40;
  white-space: nowrap;
}
.compare__quote-right {
  font-size: 19px;
  color: var(--text-mute);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #3d2f9e 0%, #5b46f0 50%, #7c6ff5 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  border-radius: 50%;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  position: relative;
}
.cta__copy h2 {
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 20px;
}
.cta__copy em {
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(120deg, #ffffff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__copy p {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.cta__copy p strong { color: white; font-weight: 700; }

.cta__stores {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta__scan-caption {
  font-size: 25px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.cta__qr-group {
  display: flex;
  gap: 80px;
  position: relative;
  align-items: center;
}
.cta__qr-group::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(-50%);
}
.cta__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 21px;
  font-weight: 700;
  min-width: 220px;
  color: white;
  text-decoration: none;
}
.cta__badge svg { width: 22px; height: 22px; }
.cta__qr a:not(.cta__badge) {
  display: block;
  width: 200px;
  height: 200px;
  background: white;
  border-radius: 20px;
  padding: 12px;
  transition: transform 0.2s var(--ease);
}
.cta__qr a:not(.cta__badge):hover { transform: scale(1.04); }
.cta__qr a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.cta__qr > span {
  font-size: 21px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== FOOTER ===== */
.footer {
  padding: 56px 0 32px;
  background: #ecebf4;
  color: var(--text-mute);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1.5fr 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.footer__brand img {
  height: 76px;
  width: auto;
}
.footer__brand span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding-left: 4px;
}
.footer__company p,
.footer__contact p {
  font-size: 17px;
  line-height: 1.8;
}
.footer__contact strong { color: var(--text); margin-right: 4px; }
.footer__company strong { color: var(--text); }
.footer__sites {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__sites p {
  font-size: 17px;
  line-height: 1.7;
}
.footer__sites a {
  color: var(--text);
  font-weight: 700;
  transition: color 0.2s;
}
.footer__sites a:hover { color: var(--primary); }
.footer__sites-title {
  font-size: 15px !important;
  font-weight: 700;
  color: var(--text-dim) !important;
  letter-spacing: 0.1em;
  margin: 4px 0;
}
.footer__tag {
  margin-top: 32px;
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

/* ===== Responsive ===== */
/* 중간 크기 — 인물 크기 그대로, 위치만 점점 왼쪽으로 밀어서 카드 침범 방지 */
@media (max-width: 1500px) { .pain__bg-img { left: 10%; } }
@media (max-width: 1300px) { .pain__bg-img { left: 0%; } }
@media (max-width: 1100px) { .pain__bg-img { left: -10%; } }
@media (max-width: 980px)  { .pain__bg-img { left: -20%; } }

/* Solution 그리드 — 4컬럼이 좁아지면 2컬럼으로 */
@media (max-width: 1200px) {
  .solution__grid { grid-template-columns: repeat(2, 1fr); gap: 60px 32px; }
}
/* Features 그리드 — 좁아지면 2컬럼 */
@media (max-width: 1200px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
}

@media (max-width: 960px) {
  .nav__menu { display: none; }
  .nav__logo-img { height: 44px; }
  .nav__cta { padding: 10px 18px; font-size: 13px; }
  .nav__inner { grid-template-columns: auto 1fr; }   /* 메뉴 사라지면 2-column */

  .hero { padding: 56px 0 40px; }
  .hero__pill { font-size: 16px; padding-top: 8px; }
  .hero__lead { font-size: 15px; margin-top: 24px; }

  /* PAIN — 인물 배경 숨기고 가운데 정렬, 카드 stack */
  .pain {
    padding: 70px 0;
    min-height: 0;
    background: linear-gradient(135deg, #4a3ca5 0%, #6a55e0 55%, #8b7af2 100%);
  }
  .pain__bg-img { display: none; }
  .pain__bg-overlay { display: none; }
  .pain__title { margin-bottom: 36px; font-size: clamp(28px, 6vw, 38px); }
  .pain__cards { width: 100%; margin-left: 0; align-items: stretch; gap: 14px; }
  .pain__card,
  .pain__card--1,
  .pain__card--2,
  .pain__card--3 {
    width: 100%;
    margin-top: 0;
    padding: 22px 22px;
    background: rgba(255, 255, 255, 0.95);
    /* 모바일에서는 페이드 마스크 제거 (어색해 보일 수 있음) */
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pain__card-head { margin-bottom: 10px; gap: 10px; }
  .pain__label { font-size: 12.5px; padding: 5px 12px; }
  .pain__card h3 { font-size: 19px; }
  .pain__card p  { font-size: 14.5px; }
  .pain__card--3 h3 { font-size: 20px; }
  .pain__card--3 p  { font-size: 14.5px; }

  /* SOLUTION */
  .solution { padding: 80px 0; }
  .solution__grid { grid-template-columns: 1fr; gap: 80px; }
  .solution__head { margin-bottom: 50px; }
  .solution__head p { font-size: 17px; line-height: 1.5; }
  .solution__item h3 { font-size: 24px; margin-bottom: 12px; }
  .solution__item p  { font-size: 16px; }

  /* KAKAO — 모바일: 절대 위치 해제, 텍스트 위 + 이미지 아래로 stack */
  .kakao { padding: 70px 0; }
  .kakao__inner {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .kakao__copy {
    position: static;
    max-width: 100%;
    margin-top: 0;
    text-align: center;
  }
  .kakao__pill { font-size: 28px; }
  .kakao__copy h2 { font-size: 28px; }
  .kakao__line { margin: 12px auto 16px; }
  .kakao__copy p {
    font-size: 15.5px;
    white-space: normal;        /* 모바일에선 줄바꿈 허용 */
  }
  .kakao__visual {
    position: static;
    margin-top: 20px;
  }
  .kakao__visual img { width: 100%; max-width: 420px; }

  /* SHOWCASE */
  .showcase { padding: 60px 0 0; }
  .showcase__inner { grid-template-columns: 1fr; padding-bottom: 60px; }
  .showcase__copy h2 { font-size: 32px; }
  .showcase__copy p { font-size: 16px; white-space: normal; }
  .showcase__line { margin: 14px 0; }
  .showcase__stack {
    height: 460px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .showcase__phone--back  { right: auto; left: 50%; top: 0;    transform: translateX(-30%) rotate(15deg); }
  .showcase__phone--mid   { right: auto; left: 50%; top: 40px; transform: translateX(-50%) rotate(8deg); }
  .showcase__phone--front { right: auto; left: 50%; top: 80px; transform: translateX(-70%) rotate(0); }

  .marquee__set span { font-size: 18px; }
  .marquee { padding: 18px 0; }
  .marquee__track { gap: 36px; }
  .marquee__set { gap: 36px; }

  /* FEATURES */
  .features { padding: 80px 0; }
  .features__title { margin-bottom: 48px; }
  .features__grid { grid-template-columns: 1fr; gap: 56px; }
  .feat-col__icon { width: 96px; height: 96px; margin-bottom: 22px; }
  .feat-col__icon img { width: 96px; height: 96px; }
  .feat-col > h3 { font-size: 26px; margin-bottom: 10px; }
  .feat-col__sub { font-size: 16px; margin-bottom: 28px; }
  .feat-col__list { gap: 16px; padding-left: 8px; }
  .feat-col__list li { padding-left: 14px; padding-bottom: 14px; }
  .feat-col__list strong { font-size: 18px; margin-bottom: 4px; }
  .feat-col__list span { font-size: 14.5px; }

  .compare { padding: 80px 0; }
  .compare__board { grid-template-columns: 1fr; gap: 16px; }
  .compare__card--before,
  .compare__card--after { border-radius: 20px; }
  /* axis는 모바일에서 카드 사이 화살표만 표시 */
  .compare__axis {
    background: transparent;
    border-radius: 0;
    min-height: 0;
    padding: 0;
    margin: 0 auto;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    position: relative;
  }
  .compare__axis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(91, 70, 240, 0.12);
    border-radius: 50%;
  }
  .compare__axis::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    transform: translateY(-3px) rotate(45deg);
    position: relative;
  }
  .compare__axis-head,
  .compare__axis .compare__items { display: none; }
  .compare__quote {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 24px;
  }
  .compare__quote-left {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1.5px solid #c4bcef;
    padding-bottom: 18px;
  }
  .compare__quote-left strong { white-space: normal; }

  /* CTA */
  .cta { padding: 80px 0; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .cta__copy p { font-size: 18px; }
  .cta__stores { justify-content: center; }
  .cta__scan-caption { font-size: 17px; }
  .cta__qr-group { gap: 36px; }
  .cta__qr-group::before { top: 0; bottom: 0; }
  .cta__badge { font-size: 15px; padding: 10px 18px; min-width: 150px; gap: 8px; }
  .cta__badge svg { width: 18px; height: 18px; }
  .cta__qr a:not(.cta__badge) { width: 150px; height: 150px; padding: 10px; border-radius: 16px; }
  .cta__qr > span { font-size: 15px; }

  /* FOOTER */
  .footer { padding: 44px 0 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__brand img { height: 56px; }
  .footer__brand span { font-size: 13px; }
  .footer__company p,
  .footer__contact p { font-size: 14.5px; }
  .footer__sites p { font-size: 14.5px; }
  .footer__sites-title { font-size: 13px !important; }
  .footer__tag { text-align: left; margin-top: 20px; font-size: 14px; }
}

@media (max-width: 560px) {
  /* HERO */
  .hero__line { gap: 8px; }
  .hero__dash { width: 32px; }
  .hero__line .script { font-size: 1.4em; }
  .hero__mockup { aspect-ratio: 4/3; }
  .hero__pill { font-size: 14px; }
  .hero__lead { font-size: 14px; }

  /* CTA — 모바일 (가로로 QR 두 개) */
  .cta { padding: 60px 0; }
  .cta__copy p { font-size: 16px; }
  .cta__scan-caption { font-size: 15px; margin-bottom: 4px; }
  .cta__stores {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .cta__qr-group {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }
  /* 수직선 다시 (가로 stack용) */
  .cta__qr-group::before {
    left: 50%;
    right: auto;
    top: 10%;
    bottom: 10%;
    width: 1px;
    height: auto;
    transform: translateX(-50%);
  }
  .cta__qr {
    flex-direction: column;
    gap: 8px;
  }
  .cta__badge {
    font-size: 12.5px;
    padding: 7px 12px;
    min-width: 110px;
    gap: 4px;
  }
  .cta__badge svg { width: 14px; height: 14px; }
  .cta__qr a:not(.cta__badge) { width: 130px; height: 130px; padding: 8px; border-radius: 12px; }
  .cta__qr > span { font-size: 13px; }

  /* PAIN */
  .pain { padding: 56px 0; }
  .pain__title { font-size: 26px; margin-bottom: 28px; }
  .pain__card { padding: 18px 18px; }
  .pain__label { font-size: 11.5px; padding: 4px 10px; }
  .pain__card h3,
  .pain__card--3 h3 { font-size: 17px; }
  .pain__card p,
  .pain__card--3 p { font-size: 13.5px; line-height: 1.55; }
  .pain__card-head { margin-bottom: 8px; gap: 8px; }

  /* SOLUTION */
  .solution__head p { font-size: 15px; }
  .solution__item h3 { font-size: 21px; }
  .solution__item p  { font-size: 14.5px; }
  .solution__phone { width: 200px; }

  /* SHOWCASE */
  .showcase__copy h2 { font-size: 26px; }
  .showcase__copy p { font-size: 14px; }
  .showcase__stack { height: 400px; }
  .showcase__phone { width: 200px; }

  /* MARQUEE */
  .marquee__set span { font-size: 15px; }

  /* FEATURES */
  .features__title { margin-bottom: 36px; }
  .feat-col__icon { width: 80px; height: 80px; }
  .feat-col__icon img { width: 80px; height: 80px; }
  .feat-col > h3 { font-size: 22px; }
  .feat-col__sub { font-size: 14.5px; margin-bottom: 22px; }
  .feat-col__list strong { font-size: 16px; }
  .feat-col__list span { font-size: 13.5px; }

}
