/* ── 폰트 통일: 영문·숫자 모두 Pretendard 사용 ── */
  :root {
    --font-sans:    'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono:    'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  }
  * { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important; }
  /* ── 배경 제거 ── */
  .sol-hero {
    background: transparent !important;
    overflow: hidden !important;
    position: relative;
    padding: 48px 0 20px;
  }
  .sol-hero h1 { font-size: clamp(30px, 4vw, 54px); margin: 12px auto; }
  .sol-hero p.lead { font-size: 14px; margin: 0 auto 0; }
  .sol-tabs { margin-top: 24px !important; }
  .sol-hero .hero-glow { display: none !important; }
  /* 데모화면·설명이 있는 껍데기 너비를 1170px로 조정 */
  .section[data-screen-label="02 Solutions"] > .container {
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .sol-rows,
  .sol-row {
    width: 100%;
  }
  /* 태그부터 자세히 보기 버튼까지 카드 내부 여백이 너무 붙어 보이는 문제 보정 */
  .sol-content .btn {
    margin-top: 22px;
  }
  /* 데모화면 / 설명이 지그재그로 번갈아 보이도록 짝수번째 행은 좌우 반전 */
  .sol-rows .sol-row:nth-child(even) .sol-visual { order: 2; }
  .sol-rows .sol-row:nth-child(even) .sol-content { order: 1; }
  /* 하단 + 좌우 glow */
  .sol-hero::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    height: 300px;
    background:
      radial-gradient(ellipse 90% 60% at 50% 100%, rgba(196,181,253,.38) 0%, transparent 70%),
      radial-gradient(ellipse 30% 70% at 0% 50%,   rgba(196,181,253,.28) 0%, transparent 70%),
      radial-gradient(ellipse 30% 70% at 100% 50%,  rgba(196,181,253,.28) 0%, transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
  }
  .sol-hero::after { display: none; }
  .sol-hero .container { position: relative; z-index: 1; }
  .sol-banner { margin-top: 64px; background: linear-gradient(120deg, var(--accent-soft) 0%, var(--accent-soft-2) 100%); border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
  .sol-banner .ph { aspect-ratio: 16/10; border-radius: var(--radius); }
  .sol-banner h3 { font-size: 28px; margin-bottom: 12px; }
  .sol-banner p { color: var(--ink-700); margin-bottom: 24px; }
  .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
  .price-card { background: var(--ink-50); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
  .price-card.featured { background: var(--ink-900); color: white; transform: scale(1.02); }
  .price-card.featured h3, .price-card.featured .price { color: white; }
  .price-card.featured p, .price-card.featured ul li { color: rgba(255,255,255,.75); }
  .price-card .tier { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); letter-spacing: .1em; text-transform: uppercase; }
  .price-card.featured .tier { color: rgba(255,255,255,.6); }
  .price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 36px; letter-spacing: -0.02em; }
  .price-card .price small { font-size: 13px; font-weight: 500; color: var(--ink-500); display: block; margin-top: 4px; }
  .price-card.featured .price small { color: rgba(255,255,255,.6); }
  .price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
  .price-card ul li { font-size: 13px; color: var(--ink-700); display: flex; gap: 8px; align-items: flex-start; }
  .price-card ul li::before { content: '→'; color: var(--accent); flex: none; }
  @media (max-width: 900px) { .sol-banner, .pricing-grid { grid-template-columns: 1fr; } .price-card.featured { transform: none; } .sol-banner-visual { display: none; } }
  @media (max-width: 600px) { .price-card { padding: 24px 20px; } .price-card .tier { font-size: 12px; } .main-price strong { font-size: 26px; } }
  @media (min-width: 901px) and (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

  /* .sol-row(지그재그 카드)는 style.css에서 900px 이하만 1열로 바뀌는데,
     901~1024px 태블릿 구간은 그대로 2열이라 .demo-screen(고정 높이 420px)의
     비율이 찌그러진다. 이 페이지에서만 태블릿 구간도 1열로 넓혀준다 */
  @media (min-width: 901px) and (max-width: 1024px) {
    .sol-row { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
    /* 1열로 바뀌는 이 구간에서도 짝수번째 행 order 반전을 풀어줘야
       아래 "자세히 보기" 버튼이 데모화면에 가려 클릭이 안 먹는 문제가 없다 */
    .sol-rows .sol-row:nth-child(even) .sol-visual,
    .sol-rows .sol-row:nth-child(even) .sol-content {
      order: initial;
    }
  }

  @media (max-width: 1024px) {
    /* .sol-visual은 원래 aspect-ratio:4/3 고정인데, 안의 .demo-screen은 항상 420px
       고정 높이라 폭이 좁아지는 1열(모바일/태블릿) 구간에서 aspect-ratio 계산 높이가
       420px보다 훨씬 작아져 데모화면이 카드 박스 밖(=아래 설명·버튼 위)으로 크게
       넘쳐 흘러 "자세히 보기" 버튼 클릭이 막히는 문제가 있었음.
       1열 구간에서는 aspect-ratio를 풀고 내용물(420px 데모화면) 높이에 맞춰
       자연스럽게 늘어나도록 해서 겹침 자체를 없앤다. */
    .sol-visual {
      aspect-ratio: unset;
      height: auto;
      padding: 20px;
    }
  }

  @media (max-width: 900px) {
    /* 1열로 쌓일 때 짝수번째 행의 order:2/1 반전이 그대로 남아있어서
       데모화면·설명 순서가 행마다 들쭉날쭉했음 — 항상 데모화면이 위,
       설명이 아래로 오도록 통일 */
    .sol-rows .sol-row:nth-child(even) .sol-visual,
    .sol-rows .sol-row:nth-child(even) .sol-content {
      order: initial;
    }
    /* 컨테이너 좌우 padding이 0으로 강제되어 있어 박스가 화면 끝까지 붙어 보임 */
    .section[data-screen-label="02 Solutions"] > .container {
      padding-left: 30px !important;
      padding-right: 30px !important;
    }
  }

  /* ==========================================================================
     솔루션 데모 애니메이션 공통 & 개별 스타일
     ========================================================================== */
  .demo-screen {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(124, 92, 255, 0.08);
    border: 1px solid var(--ink-100, #f1f5f9);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    height: 420px; /* 모든 데모 화면 높이 고정 유지 */
    margin: 0 auto;
    font-family: 'Pretendard', sans-serif;
  }

  /* 1. 간편 예약·결제 데모 */
  .booking-demo { background: #f8fafc; padding: 40px 30px; display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 100%; box-sizing: border-box;}
  .bk-card { background: white; border-radius: 16px; padding: 16px 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); opacity: 0; transform: translateY(10px); }
  .bk-date { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: #1e293b; }
  .bk-pays { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
  .bk-pay-chip { font-size: 10px; padding: 6px 10px; border-radius: 8px; background: #f1f5f9; color: #64748b; font-weight: 600; }
  .bk-pay-chip.active { background: #fee500; color: #3c1e1e; }
  .bk-pay-chip.n-pay { background: #03c75a; color: white; }
  .bk-btn { background: #7c5cff; color: white; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(10px); }
  .demo-screen.animate .bk-card-1 { animation: slideUpFade 0.5s forwards 0.2s; }
  .demo-screen.animate .bk-card-2 { animation: slideUpFade 0.5s forwards 0.6s; }
  .demo-screen.animate .bk-card-3 { animation: slideUpFade 0.5s forwards 1.0s; }
  .demo-screen.animate .bk-btn { animation: slideUpFade 0.5s forwards 1.4s; }

  /* 0. 솔루션 데모 화면 공통 (실제 GIF/이미지 파일 사용, 7개 카드 전부 동일 규격) */
  .gif-demo-screen { padding: 0; background: #ffffff; display: flex; align-items: center; justify-content: center; }
  .gif-demo-screen img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }

  /* 1번 카드(AI 검색엔진 최적화) 앞 껍데기만 위/아래로 반 나눠서 두 장을 보여주는 변형.
     위쪽엔 기존 01.gif, 아래쪽엔 나중에 넣을 이미지 자리를 둠.
     다른 카드들은 이 클래스가 없어 기존 방식(이미지 1장, object-fit: contain) 그대로 유지 */
  .gif-demo-screen-split { flex-direction: column; align-items: stretch; justify-content: stretch; gap: 0; padding: 8px; box-sizing: border-box; }
  .gif-demo-screen-split .gif-half { flex: 1 1 0; min-height: 0; overflow: hidden; border-radius: 14px; }
  .gif-demo-screen-split .gif-half:first-child { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .gif-demo-screen-split .gif-half:last-child { border-top-left-radius: 0; border-top-right-radius: 0; }
  .gif-demo-screen-split .gif-half img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

  /* 아래쪽 절반 — 팝업(자세히 보기) 안의 "홈페이지 GA 성과 대시보드" 카드를 그대로 참고해
     핵심 지표 3개만 압축해서 보여주는 미니 버전. 실제 스크린샷이 준비되면 위 img로 교체.
     테두리로 감싸지 않고, 위쪽 절반과의 경계에 구분선 하나만 둠 */
  .gif-half-ga {
    display: flex; flex-direction: column; justify-content: flex-start;
    padding: 14px 16px; box-sizing: border-box;
    border: none; border-top: 1px solid var(--ink-200); background: #ffffff;
  }
  .ga-mini-title { margin: 0; font-size: 13px; font-weight: 800; color: var(--ink-900); }
  .ga-mini-sub { margin: 2px 0 10px; font-size: 11px; font-weight: 600; color: var(--ink-400); }
  .ga-mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ga-mini-stat {
    min-width: 0; padding: 8px 10px; border-radius: 10px;
    border: 1px solid var(--ink-100); background: var(--ink-50);
  }
  .ga-mini-label { display: block; font-size: 10px; font-weight: 600; color: var(--ink-400); white-space: nowrap; }
  .ga-mini-value { display: block; margin-top: 3px; font-size: 15px; font-weight: 800; color: var(--ink-900); white-space: nowrap; }

  /* "채널별 유입 및 기여도" — 요약 문구가 아니라 팝업의 실제 도넛(SVG, 안쪽/바깥쪽 링) +
     퍼널(clip-path 사다리꼴) 그래픽을 그대로 가져와서 축소만 한 버전.
     별도 박스로 나누지 않고 하나의 카드로 묶되, 내부 좌/우 폭은 위 ga-mini-stats와
     같은 2열 그리드 비율을 그대로 사용해서 도넛+범례 / 퍼널의 폭이 위 지표 박스들과 맞음 */
  .ga-mini-chart-row {
    grid-column: 1 / -1; display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 8px;
    align-items: center; min-width: 0; padding: 8px 10px; border-radius: 10px;
    border: 1px solid var(--ink-100); background: var(--ink-50); box-sizing: border-box;
  }
  .ga-mini-chart-group { min-width: 0; display: flex; align-items: center; gap: 8px; }
  .ga-mini-chart-group-donut { justify-content: flex-start; }
  .ga-mini-chart-group-funnel { justify-content: center; }
  /* 도넛 색상 범례 — 도넛 링 오른쪽에 세로로 한 줄씩 배치, 도넛과 살짝 더 떨어지도록 우측으로 이동 */
  .ga-mini-legend { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; margin-left: 6px; }
  .ga-mini-legend-item {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 8.5px; font-weight: 700; color: var(--ink-600); white-space: nowrap;
  }
  .ga-mini-legend-item i { width: 6px; height: 6px; border-radius: 50%; flex: none; display: inline-block; }
  .ga-mini-donut-svg { flex: none; width: 52px; height: 52px; transform: rotate(-90deg); }
  .ga-mini-funnel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  .ga-mini-funnel-stage {
    height: 15px; display: flex; align-items: center; justify-content: center;
  }
  .ga-mini-funnel-stage span { font-size: 8px; font-weight: 700; color: var(--ink-600); white-space: nowrap; }

  /* "출시예정" 뱃지 */
  .sol-content .pill-soon { margin-bottom: 16px; }
  .pill-soon { background: #fef3c7; color: #b45309; border-color: transparent; }

  /* 출시예정 카드 두 개(판매채널 리뷰 통합 / 블로그 리뷰·인스타 연동)는 이제 다른 5개
     솔루션 카드와 완전히 동일한 .sol-row 구조(데모 화면 좌우 배치, 지그재그 포함)를 그대로 써서
     한 줄에 하나씩, 세로로 쌓여 보인다. 뱃지 두 개(출시예정 · 계약 시 제공)가 같은 줄에
     나란히 오도록 감싸는 용도로만 아래 클래스를 씀 */
  .soon-feature-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
  .soon-feature-pills .pill { margin-bottom: 0; }

  /* 2-legacy. AI 검색 최적화 데모 (CSS 목업, 현재 미사용) */
  .search-demo-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); padding: 40px 24px; color: white; display: flex; flex-direction: column; justify-content: center; height: 100%; box-sizing: border-box; }
  .sd-pill { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 16px; align-self: flex-start; }
  .sd-input { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
  .sd-typing { overflow: hidden; white-space: nowrap; border-right: 2px solid white; font-size: 13px; font-weight: 700; width: 0; }
  .demo-screen.animate .sd-typing { animation: typing 1.5s steps(20, end) forwards 0.5s, blink 0.5s step-end 4; }
  .sd-results { display: flex; flex-direction: column; gap: 8px; }
  .sd-item { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(10px); }
  .sd-num { width: 22px; height: 22px; background: white; color: #6366f1; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
  .sd-text { display: flex; flex-direction: column; gap: 4px; }
  .sd-text .title { font-size: 12px; font-weight: 700; }
  .sd-text .url { font-size: 10px; color: rgba(255,255,255,0.7); }
  .demo-screen.animate .sd-item:nth-child(1) { animation: slideUpFade 0.5s forwards 2.2s; background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.4); }
  .demo-screen.animate .sd-item:nth-child(2) { animation: slideUpFade 0.5s forwards 2.6s; }
  .demo-screen.animate .sd-item:nth-child(3) { animation: slideUpFade 0.5s forwards 3.0s; }
  .sd-footer { margin-top: 16px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(10px); }
  .demo-screen.animate .sd-footer { animation: slideUpFade 0.5s forwards 3.5s; }
  .sd-badge { background: white; color: #6366f1; font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 20px; }
  .sd-desc { font-size: 12px; font-weight: 600; }

  /* 3. 24시간 AI 챗봇 데모 */
  .chat-demo-purple { display: flex; flex-direction: column; background: #fafafa; height: 100%; box-sizing: border-box; }
  .chat-header-purple { background: #8b5cf6; color: white; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
  .ch-title { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
  .ch-sub { font-size: 10px; opacity: 0.8; }
  .ch-right i { margin-left: 6px; opacity: 0.9; background: rgba(255,255,255,0.2); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
  .chat-body-purple { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
  .cb { padding: 10px 14px; border-radius: 16px; font-size: 12px; line-height: 1.5; max-width: 85%; opacity: 0; transform: translateY(10px); }
  .cb.bot { background: white; color: #1e293b; border-top-left-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); align-self: flex-start; }
  .cb.user { background: #8b5cf6; color: white; border-bottom-right-radius: 4px; align-self: flex-end; }
  .demo-screen.animate .msg-1 { animation: chatPop 0.4s forwards 0.5s; }
  .demo-screen.animate .msg-2 { animation: chatPop 0.4s forwards 1.5s; }
  .demo-screen.animate .msg-3 { animation: chatPop 0.4s forwards 2.5s; }
  .demo-screen.animate .msg-4 { animation: chatPop 0.4s forwards 3.5s; }
  .chat-footer-purple { padding: 0 20px 24px; display: flex; gap: 6px; flex-wrap: wrap; opacity: 0; }
  .demo-screen.animate .chat-footer-purple { animation: slideUpFade 0.5s forwards 4.2s; }
  .chat-footer-purple .chip { border: 1px solid #e2e8f0; color: #475569; font-size: 10px; padding: 6px 12px; border-radius: 20px; background: white; }

  /* 4. 스마트 배치도 데모 */
  .map-click-demo { background: #f1f5f9; height: 100%; box-sizing: border-box; }
  .map-view-ui { position: absolute; inset: 0; width: 100%; height: 100%; }
  .map-bg { position: absolute; inset: 0; background: url('../image/solution/map-bg.jpg') center/cover; }
  .m-pin { position: absolute; background: white; padding: 8px 14px; border-radius: 20px; font-size: 12px; font-weight: 800; color: #1e293b; box-shadow: 0 4px 12px rgba(0,0,0,0.1); border: 2px solid transparent; }
  .pin-a { top: 18%; left: 38%; }
  .pin-b { top: 62%; left: 38%; }
  .cursor-ui { width: 24px; height: 24px; background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 320 512" xmlns="http://www.w3.org/2000/svg"><path fill="%231e293b" d="M0 55.2V426c0 12.2 13.9 19 23.6 11.6L108 368l70.4 122.6c3.2 5.6 10.3 7.6 15.9 4.4l32.2-18.5c5.6-3.2 7.6-10.3 4.4-15.9L160 336h111.6c11.8 0 18.5-13.7 10.8-22.8L19.2 15.5C12.4 7.6 0 12.4 0 22.8z"/></svg>') no-repeat center; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2)); position: absolute; top: 80%; left: 80%; opacity: 0; z-index: 10; }
  .room-view-ui { position: absolute; inset: 0; background: white; display: flex; flex-direction: column; transform: translateY(100%); opacity: 0; z-index: 5; }
  .r-img { height: 50%; background: url('../image/solution/room-a.jpg') center/cover; }
  .r-text { padding: 20px; }
  .r-text h3 { font-size: 18px; margin: 0 0 8px; color: #1e293b; font-weight: 800; }
  .r-text p { font-size: 12px; color: #64748b; line-height: 1.5; margin: 0 0 16px; }
  .r-btn { background: #8b5cf6; color: white; text-align: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 13px; }
  
  .demo-screen.animate .cursor-ui.map-cur { animation: cursorMapMove 4s forwards; }
  @keyframes cursorMapMove { 0% { opacity:0; top:80%; left:80%; transform:scale(1); } 10% { opacity:1; top:80%; left:80%; transform:scale(1); } 35% { top:22%; left:44%; transform:scale(1); } 40% { top:22%; left:44%; transform:scale(0.8); } 45% { top:22%; left:44%; transform:scale(1); } 50% { opacity:0; } 100% { opacity:0; top:22%; left:44%; } }
  .demo-screen.animate .pin-a { animation: pinActive 4s forwards; }
  @keyframes pinActive { 0%, 35% { border-color:transparent; color:#1e293b; } 40%, 100% { border-color:#8b5cf6; color:#8b5cf6; } }
  .demo-screen.animate .map-view-ui { animation: hideView 4s forwards; }
  @keyframes hideView { 0%, 45% { opacity:1; transform:translateY(0); } 55%, 100% { opacity:0; transform:translateY(-20px); } }
  .demo-screen.animate .room-view-ui { animation: showView 4s forwards; }
  @keyframes showView { 0%, 45% { opacity:0; transform:translateY(100%); } 55%, 100% { opacity:1; transform:translateY(0); } }

  /* 5. 통합 지점 허브 데모 */
  .hub-click-demo { background: #f8fafc; height: 100%; box-sizing: border-box; }
  .hub-main-ui { position: absolute; inset: 0; padding: 50px 30px; width: 100%; height: 100%; background: #f8fafc; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
  .hub-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .h-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 2px solid transparent; }
  .h-img { height: 100px; }
  .bg-1 { background: url('../image/solution/hub-a.jpg') center/cover; }
  .bg-2 { background: url('../image/solution/hub-b.jpg') center/cover; }
  .h-txt { padding: 12px; text-align: center; font-size: 14px; font-weight: 800; color: #1e293b; }
  .branch-view-ui { position: absolute; inset: 0; background: white; display: flex; flex-direction: column; opacity: 0; transform: translateX(100%); z-index: 5; }
  .b-header { display: flex; justify-content: space-between; padding: 20px; font-size: 16px; color: #1e293b; border-bottom: 1px solid #f1f5f9; }
  .b-hero { flex: 1; position: relative; background: url('../image/solution/hub-b.jpg') center/cover; padding: 30px; display: flex; align-items: flex-end; }
  .b-hero::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.55); }
  .b-hero > div { position: relative; z-index: 1; }
  
  .demo-screen.animate .h-cursor { animation: cursorHubMove 4s forwards; }
  @keyframes cursorHubMove { 0% { opacity:0; top:80%; left:80%; transform:scale(1); } 10% { opacity:1; top:80%; left:80%; transform:scale(1); } 35% { top:50%; left:75%; transform:scale(1); } 40% { top:50%; left:75%; transform:scale(0.8); } 45% { top:50%; left:75%; transform:scale(1); } 50% { opacity:0; } 100% { opacity:0; top:50%; left:75%; } }
  .demo-screen.animate .hc-2 { animation: cardActive 4s forwards; }
  @keyframes cardActive { 0%, 35% { border-color:transparent; } 40%, 100% { border-color:#8b5cf6; } }
  .demo-screen.animate .hub-main-ui { animation: slideOutLeft 4s forwards; }
  @keyframes slideOutLeft { 0%, 45% { opacity:1; transform:translateX(0); } 55%, 100% { opacity:0; transform:translateX(-50%); } }
  .demo-screen.animate .branch-view-ui { animation: slideInRight 4s forwards; }
  @keyframes slideInRight { 0%, 45% { opacity:0; transform:translateX(100%); } 55%, 100% { opacity:1; transform:translateX(0); } }

  /* 6. 쉬운 팝업·공지사항 관리 데모 */
  .popup-admin-demo { background: #f1f5f9; height: 100%; box-sizing: border-box; }
  .admin-ui { position: absolute; inset: 0; padding: 40px 30px; background: #f1f5f9; z-index: 2; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
  .ad-panel { background: white; border-radius: 16px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
  .ad-input { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; margin-bottom: 12px; display: flex; align-items: center; }
  .ad-title { overflow: hidden; white-space: nowrap; border-right: 2px solid transparent; font-size: 13px; font-weight: 700; color: #1e293b; width: 0; }
  .ad-desc { overflow: hidden; font-size: 12px; color: #64748b; align-items: flex-start; position: relative; }
  .ad-desc::after { content: '7-8월 성수기 기간 예약이 오픈되었습니다.'; position: absolute; opacity: 0; }
  .ad-btn { background: #1e293b; color: white; text-align: center; padding: 12px; border-radius: 8px; font-size: 13px; font-weight: 700; }
  
  .front-ui { position: absolute; inset: 0; background: #e2e8f0; opacity: 0; z-index: 5; display: flex; align-items: center; justify-content: center; }
  .f-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.6); opacity: 0; }
  .f-modal { background: white; border-radius: 20px; padding: 24px 20px; width: 75%; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transform: scale(0.9) translateY(10px); opacity: 0; z-index: 10; }
  .f-m-title { font-size: 18px; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
  .f-m-desc { font-size: 12px; color: #64748b; line-height: 1.5; margin-bottom: 20px; }
  .f-m-btn { background: #1e293b; color: white; padding: 12px; border-radius: 12px; font-size: 13px; font-weight: 700; }

  .demo-screen.animate .ad-title { animation: typing 1s steps(15, end) forwards 0.5s; }
  .demo-screen.animate .ad-desc::after { animation: fadeIn 0.5s forwards 1.5s; }
  .demo-screen.animate .p-cursor { animation: cursorAdminMove 5.5s forwards; }
  @keyframes cursorAdminMove { 0%, 30% { opacity:0; top:80%; left:80%; transform:scale(1); } 40% { opacity:1; top:80%; left:80%; transform:scale(1); } 60% { top:72%; left:50%; transform:scale(1); } 65% { top:72%; left:50%; transform:scale(0.8); } 70% { top:72%; left:50%; transform:scale(1); } 75% { opacity:0; } 100% { opacity:0; top:72%; left:50%; } }
  .demo-screen.animate .ad-btn { animation: btnActive 5.5s forwards; }
  @keyframes btnActive { 0%, 60% { background:#1e293b; } 65%, 100% { background:#8b5cf6; } }
  .demo-screen.animate .admin-ui { animation: hideViewAdmin 5.5s forwards; }
  @keyframes hideViewAdmin { 0%, 75% { opacity:1; } 80%, 100% { opacity:0; } }
  .demo-screen.animate .front-ui { animation: showFront 5.5s forwards; }
  @keyframes showFront { 0%, 75% { opacity:0; } 80%, 100% { opacity:1; } }
  .demo-screen.animate .f-overlay { animation: fadeIn 0.5s forwards 4.2s; }
  .demo-screen.animate .f-modal { animation: popModal 0.5s forwards 4.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

  /* ==========================================================================
     7. 인스타 실시간 연동 데모 (내부 요소 크기 및 상하 여백 완벽 압축)
     ========================================================================== */
  .insta-demo-view {
    padding: 28px 26px; /* 상하 여백을 줄여 420px 프레임을 콘텐츠로 꽉 채움 */
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    height: 100%;
    box-sizing: border-box;
  }
  /* 인스타 위젯이 실제 홈페이지 안에 삽입되어 있다는 걸 보여주는 미니 사이트바 */
  .in-sitebar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
  .in-sitebar .in-sitebar-logo { font-weight: 800; font-size: 11px; letter-spacing: .02em; color: #1e293b; }
  .in-sitebar .in-sitebar-nav { display: flex; gap: 6px; }
  .in-sitebar .in-sitebar-nav span { width: 16px; height: 4px; border-radius: 2px; background: #e2e8f0; }
  .in-header { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 12px; color: #1e293b; margin-bottom: 0; }
  .in-header i { font-size: 15px; color: #e1306c; margin-right: 4px; }
  .in-btn { background: #ef4444; color: white; padding: 5px 10px; border-radius: 6px; font-size: 10px; font-weight: 700; }

  .in-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 4px;
  }
  .in-img { aspect-ratio: 1; border-radius: 6px; background: #f1f5f9; opacity: 0; transform: scale(0.9); }
  
  .ig-1 { background: url('../image/solution/insta-1.jpg') center/cover; }
  .ig-2 { background: url('../image/solution/insta-2.jpg') center/cover; }
  .ig-3 { background: url('../image/solution/insta-3.jpg') center/cover; }
  .ig-4 { background: url('../image/solution/insta-4.jpg') center/cover; }
  .ig-5 { background: url('../image/solution/insta-5.jpg') center/cover; }
  .ig-6 { background: url('../image/solution/insta-6.jpg') center/cover; }
  
  .demo-screen.animate .ig-1 { animation: popIn 0.4s forwards 0.3s; }
  .demo-screen.animate .ig-2 { animation: popIn 0.4s forwards 0.5s; }
  .demo-screen.animate .ig-3 { animation: popIn 0.4s forwards 0.7s; }
  .demo-screen.animate .ig-4 { animation: popIn 0.4s forwards 0.9s; }
  .demo-screen.animate .ig-5 { animation: popIn 0.4s forwards 1.1s; }
  .demo-screen.animate .ig-6 { animation: popIn 0.4s forwards 1.3s; }

  /* ==========================================================================
     7-1. 판매채널 리뷰 통합 데모
     ========================================================================== */
  .review-demo-view {
    padding: 30px 28px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    height: 100%;
    box-sizing: border-box;
  }
  .rvw-header { display: flex; justify-content: space-between; align-items: center; }
  .rvw-rating { display: flex; align-items: center; gap: 6px; }
  .rvw-stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; }
  .rvw-score { font-size: 14px; font-weight: 800; color: #1e293b; }
  .rvw-badge { background: #22c55e; color: white; padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; opacity: 0; transform: scale(0.8); }
  .rvw-count { font-size: 12px; font-weight: 600; color: #64748b; }
  .rvw-list { display: flex; flex-direction: column; gap: 10px; }
  .rvw-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(10px);
  }

  .demo-screen.animate .rvw-badge { animation: popBadge 0.4s forwards 0.4s; }
  .demo-screen.animate .rvw-item:nth-child(1) { animation: slideUpFade 0.5s forwards 0.7s; }
  .demo-screen.animate .rvw-item:nth-child(2) { animation: slideUpFade 0.5s forwards 1.0s; }
  .demo-screen.animate .rvw-item:nth-child(3) { animation: slideUpFade 0.5s forwards 1.3s; }

  /* 공통 Keyframes */
  @keyframes typing { from { width: 0; } to { width: 100%; } }
  @keyframes blink { 50% { border-color: transparent; } }
  @keyframes slideUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes chatPop { from { opacity: 0; transform: translateY(15px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes popBadge { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
  @keyframes fadeIn { to { opacity: 1; } }
  @keyframes popModal { to { opacity: 1; transform: scale(1) translateY(0); } }
  @keyframes popIn { to { opacity: 1; transform: scale(1); } }
  /* ── Pill 헤더 (유리 질감) ── */
  .site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 16px;
    overflow: visible;
  }
  .site-header::before { display: none !important; }
  /* style.css의 .site-header .container 완전 제압 */
  .site-header .container {
    all: unset !important;
    display: none !important;
  }
  .site-header-pill {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow:
      0 1px 0 0 rgba(255,255,255,0.9) inset,
      0 8px 32px rgba(124, 92, 255, 0.08),
      0 2px 8px rgba(13, 13, 18, 0.06);
  }
  @media (max-width: 768px) {
    .site-header { padding: 10px 16px; }
    .site-header-pill { padding: 0 16px; height: 48px; }
  }


  /* ── 모바일 드로어 & 햄버거 — codle 스타일 ── */

  /* 햄버거 버튼: pill 테두리 */
  .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    gap: 0 !important;
    flex-direction: column;
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink-700);
    border-radius: 2px;
    margin: 2.5px 0;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* 드로어 전체 */
  .mobile-nav {
    background: #ffffff !important;
  }

  /* 드로어 헤더 */
  .mobile-nav-header {
    height: 64px !important;
    padding: 0 20px !important;
    border-bottom: 1px solid var(--ink-100) !important;
  }

  /* 닫기 버튼 */
  .mobile-nav-close {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--ink-700) !important;
    font-size: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    transition: background .2s;
  }
  .mobile-nav-close:hover { background: var(--ink-100) !important; }

  /* 메뉴 링크 */
  .mobile-nav-links {
    padding: 8px 0 !important;
  }
  .mobile-nav-links a {
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--ink-800) !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid var(--ink-100) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    letter-spacing: -0.01em !important;
  }
  .mobile-nav-links a:last-child { border-bottom: none !important; }
  /* 기존 ::after 화살표 제거 */
  .mobile-nav-links a::after { display: none !important; }

  /* JS로 삽입된 › 화살표 */
  .mnl-arrow {
    font-size: 20px;
    color: var(--ink-300);
    font-weight: 400;
    line-height: 1;
  }
  .mobile-nav-links a.active { color: var(--accent) !important; }
  .mobile-nav-links a.active .mnl-arrow { color: var(--accent) !important; }
  .mobile-nav-links a:hover { background: var(--ink-50) !important; color: var(--ink-900) !important; }

  /* CTA 섹션 숨김 */
  .mobile-nav-cta { display: none !important; }

  /* 모바일: header-right & nav-toggle 강제 표시 */
  .site-header-pill .header-right {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .site-header-pill .nav-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  /* PC에서는 header-right 숨김 유지 */
  @media (min-width: 901px) {
    .site-header-pill .header-right { display: none !important; }
  }
  /* PC에서는 nav 표시 */
  @media (min-width: 901px) {
    .site-header-pill .nav { display: flex !important; }
  }

  /* ── 상담 모달: 헤더와 안 겹치게 ── */
  .consult-overlay {
    padding-top: 100px !important; /* pill 헤더(~80px) + 여유 */
    align-items: flex-start !important;
  }
  @media (max-width: 768px) {
    .consult-overlay { padding-top: 80px !important; padding-left: 12px !important; padding-right: 12px !important; }
  }

  /* ── 플로팅 상담 버튼: 원형 크게 + 아이콘 ── */
  .floating-cta {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
  }
