/* ==========================================================================
   LOGIS PRO WMS 홍보 랜딩 — 스타일
   기준 폭 : PC 1440 / 모바일 390 · 구간 : ≤1180(히어로 세로) · ≤1024 · ≤767(모바일 시안)
   모션 원칙 : transform · opacity 위주, easing cubic-bezier(.2,.7,.2,1)
   ========================================================================== */

:root {
  /* 브랜드 (BI) */
  --bi: #3866AF;
  --navy: #172A45;
  --bi-light: #EAF0F8;
  /* 버튼 · 링크 강조 (시안의 선명한 파랑) */
  --blue: #1F63D6;
  --blue-600: #1853B8;
  --blue-50: #EAF2FF;
  --sky: #EEF5FF;
  /* 글자 · 선 */
  --text: #172A45;
  --text-2: #4A5A72;
  --text-3: #8592A6;
  --line: #E2E8F1;
  /* 상태색 (3D 랙 · 배지) */
  --ok: #3B7BEA;
  --warn: #F2B53A;
  --bad: #EA5A50;
  --empty: #CDD5E0;
  --green: #15803D;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --radius: 16px;
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scrollbar-gutter: stable;
}
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
em { font-style: normal; }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid rgba(31, 99, 214, .5);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
use { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico { width: 20px; height: 20px; flex: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* PC / 모바일 문구 전환 */
.mo-only, .mo-only-block { display: none !important; }

/* ---------- 버튼 ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 10px;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; border-radius: 9px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 99, 214, .7); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(31, 99, 214, .75); }
.btn-outline { background: #fff; color: var(--navy); border-color: #CDD6E3; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(23, 42, 69, .35); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .btn-arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ==========================================================================
   헤더
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  background: #fff;
  transition: background-color .35s, box-shadow .35s, transform .45s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(23, 42, 69, .06), 0 10px 30px -18px rgba(23, 42, 69, .28);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 32px; }
.brand { flex: none; display: block; border-radius: 4px; }
.brand img { height: 28px; width: auto; }
.gnb { margin: 0 auto; }
.gnb ul { display: flex; gap: 40px; }
.gnb a {
  position: relative; display: block; padding: 8px 2px;
  font-size: 16px; font-weight: 600; color: var(--text-2);
  transition: color .25s;
}
.gnb a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transition: transform .4s var(--ease);
}
.gnb a:hover { color: var(--navy); }
.gnb a.is-active { color: var(--navy); }
.gnb a.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.link-login { font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.link-login:hover { color: var(--blue); }

.menu-toggle { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border-radius: 10px; }
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom));
  background: #fff;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 700; color: var(--navy);
}
.mobile-menu li a .ico { color: var(--text-3); width: 18px; height: 18px; }
.mobile-menu li { opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .45s var(--ease); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(5) { transition-delay: .16s; }

/* ==========================================================================
   스크롤 등장 (한 번만) — translate 속성을 써서 hover 의 transform 과 겹치지 않게 한다
   ========================================================================== */
@keyframes rv { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
.js [data-reveal]:not(.is-in),
.js [data-stagger]:not(.is-in) > * { opacity: 0; }
.js [data-reveal].is-in { animation: rv .8s var(--ease) backwards; }
.js [data-stagger].is-in > * { animation: rv .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* ==========================================================================
   히어로
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 80px) 0 136px;
  background: linear-gradient(180deg, #fff 0%, #F6FAFF 55%, var(--sky) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg .g1 { width: 620px; height: 620px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(56, 102, 175, .35), transparent 65%); }
.hero-bg .g2 { width: 520px; height: 520px; right: 30%; bottom: -260px; background: radial-gradient(circle, rgba(31, 99, 214, .22), transparent 65%); }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(23, 42, 69, .09) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 40%, #000 0%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 56px; align-items: center;
}
.eyebrow { font-size: 17px; font-weight: 700; color: var(--blue); letter-spacing: -.01em; }
.hero-title {
  margin: 18px 0 26px;
  font-size: clamp(46px, 4.7vw, 68px); line-height: 1.17; font-weight: 800; letter-spacing: -.04em;
  color: var(--navy);
}
.hero-title em { color: var(--blue); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: block; }
.hero-desc { font-size: 19px; line-height: 1.72; color: var(--text-2); letter-spacing: -.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 42px; }

.hero-visual { position: relative; margin-right: -48px; perspective: 1800px; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateX(2deg) rotateY(-5deg); will-change: transform; }
.hero-app { position: relative; transform-origin: 50% 100%; }
.chat-float { position: absolute; right: 8px; bottom: -72px; width: 292px; transform: translateZ(60px); }
.hero-visual > .mock-note { text-align: left; margin-top: 18px; }

/* 히어로 첫 등장 */
@keyframes lineUp { from { translate: 0 108%; } to { translate: 0 0; } }
@keyframes appIn { from { opacity: 0; transform: translateY(64px) rotateX(18deg) rotateY(-8deg) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes chatIn { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }
.js:not(.is-loaded) .hero-title .line > span { translate: 0 108%; }
.js:not(.is-loaded) .hero-eyebrow,
.js:not(.is-loaded) .hero-desc,
.js:not(.is-loaded) .hero-actions,
.js:not(.is-loaded) .hero-app,
.js:not(.is-loaded) .chat-float,
.js:not(.is-loaded) .hero-visual > .mock-note { opacity: 0; }
.js.is-loaded .hero-eyebrow { animation: rv .8s var(--ease) .05s backwards; }
.js.is-loaded .hero-title .line > span { animation: lineUp 1.05s var(--ease) backwards; }
.js.is-loaded .hero-title .line:nth-child(1) > span { animation-delay: .14s; }
.js.is-loaded .hero-title .line:nth-child(2) > span { animation-delay: .26s; }
.js.is-loaded .hero-desc { animation: rv .8s var(--ease) .48s backwards; }
.js.is-loaded .hero-actions { animation: rv .8s var(--ease) .6s backwards; }
.js.is-loaded .hero-app { animation: appIn 1.3s var(--ease) .3s backwards; }
.js.is-loaded .chat-float { animation: chatIn 1s var(--ease) 1s backwards; }
.js.is-loaded .hero-visual > .mock-note { animation: rv .8s var(--ease) 1.2s backwards; }

.mock-note { margin-top: 14px; font-size: 13px; color: var(--text-3); text-align: right; letter-spacing: -.01em; }

/* ==========================================================================
   앱 목업 공통
   ========================================================================== */
.app {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 14px;
  font-size: 12px; line-height: 1.45; color: var(--navy);
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .07), 0 2px 4px rgba(23, 42, 69, .04), 0 36px 70px -28px rgba(23, 42, 69, .38);
}
.app-bar {
  display: flex; align-items: center; gap: 12px; height: 32px; padding: 0 14px;
  background: #F6F8FB; border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #E0E6EE; }
.dots i:nth-child(1) { background: #FF8A80; }
.dots i:nth-child(2) { background: #FFCB66; }
.dots i:nth-child(3) { background: #6FD08C; }
.app-bar-title { margin: 0 auto; transform: translateX(-26px); font-size: 11px; font-weight: 700; color: var(--text-3); letter-spacing: .02em; }
.app-body { display: flex; }
.app-side { flex: none; width: 138px; padding: 16px 10px; background: var(--navy); color: rgba(255, 255, 255, .7); }
.app-side-logo { width: 106px; height: auto; margin: 2px 6px 18px; }
.app-side li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.app-side li + li { margin-top: 2px; }
.app-side li svg { width: 14px; height: 14px; flex: none; }
.app-side li.is-active { background: var(--blue); color: #fff; font-weight: 700; box-shadow: 0 6px 14px -8px rgba(31, 99, 214, .9); }
.app-main { flex: 1; min-width: 0; padding: 16px 18px 18px; }
.app-title { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }

.loc-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.seg { position: relative; display: inline-flex; padding: 3px; border-radius: 9px; background: #EEF2F7; }
.seg button {
  position: relative; z-index: 1; height: 26px; padding: 0 12px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--text-2); white-space: nowrap;
  transition: color .3s;
}
.seg button[aria-selected="true"] { color: var(--blue); font-weight: 700; }
.seg button:focus-visible { outline-offset: 0; }
.seg-ind {
  position: absolute; top: 3px; left: 0; height: 26px; border-radius: 6px; background: #fff;
  box-shadow: 0 1px 3px rgba(23, 42, 69, .14), 0 0 0 1px rgba(23, 42, 69, .03);
  transition: transform .5s var(--ease), width .5s var(--ease);
}
.no-ind .seg button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 3px rgba(23, 42, 69, .14); }
.loc-threshold { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; transition: opacity .35s; }
.loc-threshold.is-off { opacity: 0; visibility: hidden; }
.fake-select {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 6px;
  min-width: 50px; height: 24px; padding: 0 6px 0 9px;
  border: 1px solid #D3DBE6; border-radius: 6px; background: #fff;
  font-weight: 700; color: var(--navy);
}
.fake-select svg { width: 12px; height: 12px; color: var(--text-3); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 11px; color: var(--text-2); }
.legend li { display: flex; align-items: center; gap: 5px; }
.legend span { transition: opacity .25s; }
.legend.is-swapping span { opacity: 0; }
.lg { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lg.ok { background: var(--ok); }
.lg.warn { background: var(--warn); }
.lg.bad { background: var(--bad); }
.lg.empty { background: var(--empty); }

.loc-stage { display: flex; align-items: flex-start; gap: 14px; margin-top: 6px; }
.rack { flex: 1; min-width: 0; }
.rack svg { width: 100%; height: auto; overflow: hidden; }
.loc-detail { flex: none; width: 224px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #FBFCFE; }
.loc-detail-title { font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.loc-detail-title b { color: var(--navy); font-weight: 800; margin-left: 2px; }
.kv { width: 100%; margin-top: 6px; font-size: 11px; }
.kv th { padding: 5px 0; text-align: left; font-weight: 500; color: var(--text-3); border-bottom: 1px dashed #E3E9F1; }
.kv td { padding: 5px 0; text-align: right; font-weight: 700; border-bottom: 1px dashed #E3E9F1; font-variant-numeric: tabular-nums; }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.loc-detail-sub { margin-top: 10px; font-size: 11.5px; font-weight: 700; }
.loc-detail-sub span { color: var(--blue); }
.mini-table { width: 100%; margin-top: 6px; font-size: 10.5px; letter-spacing: -.015em; }
.mini-table th { padding: 5px 3px; background: #EEF2F7; color: var(--text-2); font-weight: 600; text-align: left; white-space: nowrap; }
.mini-table th:first-child { border-radius: 5px 0 0 5px; }
.mini-table th:last-child { border-radius: 0 5px 5px 0; }
.mini-table td { padding: 6px 3px; border-bottom: 1px solid #EDF1F6; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini-table td:nth-child(3), .mini-table th:nth-child(3) { text-align: right; }

.badge {
  position: relative; display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap;
  transition: background-color .4s, color .4s;
}
.badge-warn { background: #FFF2CF; color: #A86A06; }
.badge-ok { background: var(--blue-50); color: var(--blue); }
.badge-done { background: #E5F6EC; color: var(--green); }
.badge-progress { background: var(--blue-50); color: var(--blue); }
.badge-progress::before { content: ''; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: currentColor; animation: blink 1.6s ease-in-out infinite; }
.badge-progress::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid var(--blue);
  opacity: 0; animation: ring 2.4s var(--ease) infinite;
}
@keyframes blink { 50% { opacity: .3; } }
@keyframes ring { 0% { opacity: .45; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.18, 1.5); } }

/* ---------- 3D 랙 (SVG, main.js 가 그린다) ---------- */
.rk-floor { fill: #F3F6FA; stroke: #E4EAF2; stroke-width: 1; }
.rk-shadow { fill: rgba(23, 42, 69, .07); }
.rk-post { stroke: #9AABC2; stroke-width: 1.7; stroke-linecap: round; }
.rk-post.back { stroke: #B9C6D7; }
.rk-plate { fill: #E2E8F0; }
.rk-beam { fill: #A9B8CC; }
.rk-label { font-size: 11.5px; font-weight: 700; fill: #6B7A90; font-family: inherit; }
.rk-bay { font-size: 10.5px; font-weight: 600; fill: #9AA7B9; font-family: inherit; }
.cell path { stroke: rgba(255, 255, 255, .6); stroke-width: .7; stroke-linejoin: round; transition: fill .75s var(--ease); transition-delay: var(--wd, 0ms); }
.cell.ok .t { fill: #9FC2FA; } .cell.ok .l { fill: #5C93F0; } .cell.ok .r { fill: #3A72DC; }
.cell.warn .t { fill: #FFE49E; } .cell.warn .l { fill: #F7C650; } .cell.warn .r { fill: #E2A72D; }
.cell.bad .t { fill: #FFAAA3; } .cell.bad .l { fill: #F06C61; } .cell.bad .r { fill: #D24B42; }
.cell.empty .t { fill: #F1F4F8; } .cell.empty .l { fill: #DDE3EB; } .cell.empty .r { fill: #CDD5E0; }
.cell.is-sel path { stroke: var(--navy); stroke-width: 1.3; }
.rk-pulse { fill: none; stroke: var(--navy); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.rk-pulse.p2 { animation-delay: 1.2s; }
@keyframes pulse { 0% { opacity: .75; transform: scale(.9); } 80%, 100% { opacity: 0; transform: scale(2.1); } }
.rk-tag rect { fill: var(--navy); }
.rk-tag text { font-size: 10.5px; font-weight: 800; fill: #fff; font-family: inherit; }
.rk-tag { animation: tagBob 3.2s ease-in-out infinite; }
@keyframes tagBob { 50% { translate: 0 -3px; } }

/* ---------- 채팅 ---------- */
.chat-card {
  background: #fff; border-radius: 16px; padding: 14px;
  font-size: 12.5px; line-height: 1.5;
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .06), 0 28px 50px -18px rgba(23, 42, 69, .4);
}
.chat-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; }
.ai-dot {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px;
  background: linear-gradient(135deg, #4C8DF6, var(--blue)); color: #fff;
  box-shadow: 0 6px 12px -6px rgba(31, 99, 214, .8);
}
.ai-dot svg { width: 14px; height: 14px; }
.chat-head-dots { display: flex; gap: 4px; margin-left: auto; }
.chat-head-dots i { width: 4px; height: 4px; border-radius: 50%; background: #C3CCD9; }
.chat-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 12px 0; }
.msg { max-width: 100%; transition: opacity .22s; }
.msg-user {
  align-self: flex-end; max-width: 88%;
  padding: 8px 12px; border-radius: 14px 14px 4px 14px;
  background: var(--blue); color: #fff; font-weight: 600;
}
.msg-ai { align-self: flex-start; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: #F1F5FA; }
.answer { width: 100%; }
.answer p b { color: var(--blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.typing { display: none; gap: 4px; padding: 12px 14px; }
.typing.is-on { display: flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #93A2B8; animation: typing 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg.is-hidden { display: none; }
@keyframes msgIn { from { opacity: 0; translate: 0 10px; scale: .98; } to { opacity: 1; translate: 0 0; scale: 1; } }
.msg.is-enter { animation: msgIn .5s var(--ease) backwards; transform-origin: left bottom; }
.msg-user.is-enter { transform-origin: right bottom; }
.chat-body.is-fading .msg { opacity: 0; }
.js [data-chat]:not(.is-ready) .msg { visibility: hidden; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.stat-row > div { padding: 6px 4px; border-radius: 8px; background: #fff; text-align: center; }
.stat-row dt { font-size: 10.5px; color: var(--text-3); }
.stat-row dd { font-size: 14px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.chat-input {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  height: 38px; padding: 0 4px 0 12px;
  border: 1px solid #DAE1EB; border-radius: 10px; background: #fff;
  color: var(--text-3); font-size: 12px;
}
.chat-input .send { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: var(--blue); color: #fff; }
.chat-input .send svg { width: 15px; height: 15px; }

/* ==========================================================================
   기능 띠
   ========================================================================== */
.features { --ov: 64px; position: relative; z-index: 2; margin-top: calc(var(--ov) * -1); padding-bottom: 8px; background: linear-gradient(180deg, transparent var(--ov), var(--sky) var(--ov)); }
.feature-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 34px 8px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .05), 0 24px 50px -28px rgba(23, 42, 69, .3);
}
.feature-strip li { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 0 26px; }
.feature-strip li + li::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.f-icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px; background: var(--blue-50); color: var(--blue); }
.f-icon svg { width: 25px; height: 25px; }
.feature-strip strong { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.feature-strip p { margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--text-3); }

/* ==========================================================================
   섹션 공통
   ========================================================================== */
.section { position: relative; padding: 140px 0; }
.bg-sky { background: var(--sky); }
#ai { padding-top: 132px; margin-top: -60px; }
.split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.sec-label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 16px; font-weight: 700; color: var(--blue); }
.sec-label .num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pill {
  display: inline-flex; align-items: center; height: 26px; margin-left: 6px; padding: 0 11px;
  border: 1px solid #C6D7F2; border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 700; color: var(--blue);
}
.sec-title { margin: 16px 0 20px; font-size: clamp(34px, 3.1vw, 46px); line-height: 1.3; font-weight: 800; letter-spacing: -.035em; color: var(--navy); }
.sec-desc { font-size: 18px; line-height: 1.75; color: var(--text-2); letter-spacing: -.01em; }

/* ---------- 01 AI ---------- */
.q-list { display: grid; gap: 10px; max-width: 460px; margin-top: 40px; }
.q-item {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px; width: 100%; height: 54px; padding: 0 18px;
  border: 1px solid #D9E3F1; border-radius: 12px; background: #fff;
  font-size: 16px; font-weight: 600; color: var(--text-2); text-align: left;
  transition: border-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease);
}
.q-item .ico { width: 16px; height: 16px; color: var(--text-3); transition: color .5s, transform .4s var(--ease); }
.q-item:hover { transform: translateX(4px); border-color: #B7CBEA; }
.q-item.is-active { border-color: var(--blue); color: var(--blue); box-shadow: 0 10px 24px -16px rgba(31, 99, 214, .7); }
.q-item.is-active .ico { color: var(--blue); transform: translateX(2px); }
.q-item::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--blue); opacity: .35; transform: scaleX(0); transform-origin: left;
}
.q-list.is-cycling .q-item.is-active::after { animation: qprog var(--cycle, 7s) linear forwards; }
@keyframes qprog { to { transform: scaleX(1); } }

.split-ai .split-visual { max-width: 580px; justify-self: end; width: 100%; }
.chat-window {
  padding: 20px 22px 22px; border-radius: 20px; background: #fff;
  font-size: 14px; line-height: 1.55;
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .05), 0 34px 64px -30px rgba(23, 42, 69, .4);
}
.chat-window .chat-head { font-size: 15px; padding-bottom: 14px; }
.chat-window .ai-dot { width: 30px; height: 30px; border-radius: 10px; }
.chat-window .ai-dot svg { width: 17px; height: 17px; }
.chat-window .chat-body { min-height: 352px; gap: 14px; padding: 20px 0; }
.chat-window .msg-user { padding: 10px 16px; border-radius: 18px 18px 5px 18px; }
.chat-window .msg-ai { padding: 14px 16px; border-radius: 18px 18px 18px 5px; }
.chat-window .chat-input { height: 48px; padding-left: 16px; border-radius: 12px; font-size: 14px; }
.chat-window .chat-input .send { width: 38px; height: 38px; border-radius: 10px; }
.chat-window .chat-input .send svg { width: 18px; height: 18px; }
.chat-window .stat-row dd { font-size: 17px; }
.chat-window .stat-row dt { font-size: 12px; }
.chat-window .stat-row > div { padding: 8px 4px; }
.chat-table { width: 100%; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #fff; font-size: 13px; }
.chat-table th { padding: 9px 10px; background: #F7F9FC; color: var(--text-3); font-weight: 600; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.chat-table td { padding: 9px 10px; border-bottom: 1px solid #EEF2F7; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chat-table tr:last-child td { border-bottom: 0; }
.chat-table td:nth-child(n+3), .chat-table th:nth-child(n+3) { text-align: right; }
.chat-table td:last-child { font-weight: 700; color: var(--navy); }
.answer.is-enter tbody tr, .answer.is-enter .occ li { animation: rv .55s var(--ease) backwards; animation-delay: calc(.12s + var(--i, 0) * 70ms); }
.occ { display: grid; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 10px; background: #fff; }
.occ li { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: 10px; font-size: 13px; }
.occ .track { height: 8px; border-radius: 99px; background: #EAF0F8; overflow: hidden; }
.occ .fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6EA0F5, var(--blue)); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 1.1s var(--ease) .25s; }
.occ.is-pre .fill { transform: scaleX(0); }
.occ b { text-align: right; font-variant-numeric: tabular-nums; }

.suggest { display: none; }
.notes { display: grid; gap: 6px; margin-top: 20px; font-size: 13.5px; color: var(--text-3); }
.notes li { display: flex; align-items: flex-start; gap: 6px; }
.notes .ico { width: 16px; height: 16px; margin-top: 2px; }
.split-ai .mock-note { margin-top: 8px; }

/* ---------- 02 3D ---------- */
.split-3d { grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: 64px; }
.w3d-app .app { box-shadow: 0 0 0 1px rgba(23, 42, 69, .07), 0 40px 80px -36px rgba(23, 42, 69, .42); }
.loc-summary { display: none; }
.point-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 80px; }
.point-list li {
  display: flex; align-items: center; gap: 18px; padding: 26px 26px;
  border: 1px solid #E5ECF6; border-radius: 18px; background: #F8FBFF;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.point-list li:hover { transform: translateY(-4px); border-color: #CFDDF2; box-shadow: 0 18px 36px -26px rgba(23, 42, 69, .4); }
.p-icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 1px #DCE7F7, 0 8px 18px -12px rgba(31, 99, 214, .6);
}
.p-icon svg { width: 26px; height: 26px; }
.point-list strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.point-list p { margin-top: 3px; font-size: 15px; color: var(--text-2); }
.p-chev { display: none; }

/* ---------- 03 식품·저온 ---------- */
.food-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  grid-template-areas: "copy list" "photo list";
  column-gap: 88px; row-gap: 44px; align-items: start;
}
.food-copy { grid-area: copy; }
.food-photo { grid-area: photo; max-width: 640px; }
.food-list { grid-area: list; align-self: center; }
.photo {
  position: relative; overflow: hidden; aspect-ratio: 10 / 3;
  border-radius: 18px;
  background: linear-gradient(120deg, #1D3A66, #3866AF 60%, #7FA6DD);
  box-shadow: 0 30px 60px -32px rgba(23, 42, 69, .55);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transition: transform 1.4s var(--ease); }
.food-photo.is-in .photo img { animation: photoIn 1.6s var(--ease) backwards; }
@keyframes photoIn { from { transform: scale(1.08); } to { transform: scale(1); } }
.temp-chips { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -30px; padding: 0 18px; }
.temp-chips li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .04), 0 14px 30px -16px rgba(23, 42, 69, .4);
}
.temp-chips strong { display: block; font-size: 15px; font-weight: 800; }
.temp-chips span:not(.chip-icon) { display: block; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.chip-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; }
.chip-icon svg { width: 20px; height: 20px; }
.chip-icon.warm { background: #FFF0E0; color: #EE8A1F; }
.chip-icon.cold { background: #E7F1FF; color: #3B82F6; }
.chip-icon.frozen { background: #E2ECFF; color: #1E4FB8; }

.line-list li { display: flex; align-items: flex-start; gap: 18px; padding: 28px 0; border-bottom: 1px solid #D8E3F1; }
.line-list li:first-child { border-top: 1px solid #D8E3F1; }
.l-icon {
  display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 1px #DCE7F7;
}
.l-icon svg { width: 24px; height: 24px; }
.line-list strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.line-list p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.l-chev { display: none; }

/* ---------- 04 출고 · 전표 ---------- */
.split-slip { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: 64px; }
.flow { display: flex; align-items: stretch; gap: 4px; max-width: 640px; margin-top: 44px; }
.flow-box {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 20px 10px 18px; border: 1px solid #E3EAF4; border-radius: 16px; background: #fff; text-align: center;
  box-shadow: 0 16px 32px -26px rgba(23, 42, 69, .5);
}
.flow-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 13px; background: var(--blue-50); color: var(--blue); }
.flow-icon svg { width: 23px; height: 23px; }
.flow-box strong { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.flow-box span { font-size: 12.5px; color: var(--text-3); }
.flow-arrow { flex: 0 0 32px; display: grid; place-items: center; color: var(--blue); }
.flow-arrow svg { width: 32px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flow-arrow .dash { stroke-dasharray: 3 4; animation: dashflow .9s linear infinite; opacity: .7; }
@keyframes dashflow { to { stroke-dashoffset: -7; } }
.vsteps { display: none; }

.slip-body { padding: 16px 20px 20px; }
.slip-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.slip-tabs span { padding: 6px 2px 10px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.slip-tabs .is-active { color: var(--blue); font-weight: 800; box-shadow: inset 0 -2px var(--blue); }
.slip-filter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 14px 0; font-size: 12px; }
.f-field { display: inline-flex; align-items: center; gap: 6px; }
.f-field em { color: var(--text-3); font-weight: 600; }
.f-field i { font-style: normal; color: var(--text-3); }
.f-input { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border: 1px solid #D6DEE8; border-radius: 7px; background: #fff; font-variant-numeric: tabular-nums; }
.f-select svg { width: 12px; height: 12px; color: var(--text-3); }
.f-btn { display: inline-flex; align-items: center; height: 30px; margin-left: auto; padding: 0 18px; border-radius: 7px; background: var(--blue); color: #fff; font-weight: 700; }
.slip-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.slip-table { width: 100%; font-size: 12px; letter-spacing: -.01em; }
.slip-table th { height: 38px; padding: 0 7px; background: #F4F7FB; color: var(--text-2); font-weight: 700; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.slip-table td { height: 46px; padding: 0 7px; border-bottom: 1px solid #EEF2F7; white-space: nowrap; font-variant-numeric: tabular-nums; }
.slip-table tr:last-child td { border-bottom: 0; }
.slip-table td.link { color: var(--blue); font-weight: 600; }
.slip-table td.muted { color: var(--text-3); text-align: center; }
.slip-table tbody tr { transition: background-color .25s; }
.slip-table tbody tr:hover { background: #F8FAFE; }
.js .slip-visual:not(.is-in) [data-rows] tr { opacity: 0; }
.slip-visual.is-in [data-rows] tr { animation: rv .6s var(--ease) backwards; animation-delay: calc(.45s + var(--i, 0) * 110ms); }

/* ---------- 05 운영 기반 · 도입 ---------- */
.sec-head-center { max-width: 820px; margin: 0 auto; text-align: center; }
.sec-head-center .sec-label { justify-content: center; }
.sec-head-center .sec-title { margin-top: 0; }
.base-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 60px; }
.base-cards li {
  display: flex; flex-direction: column; gap: 20px; padding: 34px 30px;
  border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(23, 42, 69, .04), 0 20px 44px -30px rgba(23, 42, 69, .4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.base-cards li:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px rgba(31, 99, 214, .14), 0 28px 50px -30px rgba(23, 42, 69, .5); }
.b-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--blue-50); color: var(--blue); }
.b-icon svg { width: 26px; height: 26px; }
.base-cards strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.base-cards p { margin-top: 8px; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 80px; }
.steps li { position: relative; padding: 0 18px; text-align: center; }
.s-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 8px var(--sky), 0 12px 24px -10px rgba(31, 99, 214, .8);
}
.steps strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.steps p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
/* 단계 연결선 : 그려지듯 진행 */
.steps li:not(:last-child)::before {
  content: ''; position: absolute; top: 26px; left: calc(50% + 44px); right: calc(-50% + 50px); height: 2px;
  background: repeating-linear-gradient(90deg, #9DB9E8 0 6px, transparent 6px 11px);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease); transition-delay: calc(.35s + var(--i, 0) * 450ms);
}
.steps li:not(:last-child)::after {
  content: ''; position: absolute; top: 22px; right: calc(-50% + 42px); width: 8px; height: 8px;
  border-top: 2px solid #9DB9E8; border-right: 2px solid #9DB9E8; transform: rotate(45deg);
  opacity: 0; transition: opacity .3s; transition-delay: calc(1.05s + var(--i, 0) * 450ms);
}
.steps.is-in li::before { transform: scaleX(1); }
.steps.is-in li::after { opacity: 1; }
.js .steps.is-in > li { animation-delay: calc(var(--i, 0) * 450ms); }
.msteps-wrap { display: none; }

/* ==========================================================================
   CTA 띠
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding: 100px 0; background: var(--navy); color: #fff; }
.cta-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 56%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 38%, #000 100%);
}
.cta-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: .34; filter: saturate(.7) blur(1.5px); transform: scale(1.04); }
.cta-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 42, 69, .2), rgba(31, 70, 140, .25)); }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: 40px; }
.cta-title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.38; font-weight: 800; letter-spacing: -.035em; }
.cta-title .hl { color: #7DB3FF; }
.cta-desc { margin: 16px 0 34px; font-size: 18px; color: rgba(255, 255, 255, .74); }
.cta-symbol { position: relative; justify-self: center; width: 280px; }
.cta-symbol svg { width: 100%; overflow: visible; }
.cta-symbol .s1 { fill: url(#cta-g1); }
.cta-symbol .s2 { fill: #EAF0F8; fill-opacity: .55; }
.cta-symbol .s3 { fill: url(#cta-g3); }
.cta-symbol::before {
  content: ''; position: absolute; inset: 8% 4% 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 140, 240, .45), transparent);
  filter: blur(24px);
}
.cta-symbol polygon { stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-linejoin: round; }
.cta-symbol .float { animation: float 7s ease-in-out infinite; }
.cta-symbol-shadow {
  position: absolute; left: 12%; right: 12%; bottom: -26px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .4), transparent);
  animation: floatShadow 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes floatShadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.86); opacity: .6; } }

/* ==========================================================================
   푸터
   ========================================================================== */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 23px; width: auto; }
.footer-brand span { font-size: 14px; color: var(--text-3); }
.footer-links { display: flex; gap: 20px; font-size: 14px; }
.footer-links a { color: var(--text-2); transition: color .2s; }
.footer-links li:first-child a { font-weight: 700; color: var(--navy); }
.footer-links a:hover { color: var(--blue); }
.copyright { font-size: 13px; color: var(--text-3); }
.footer-prosoft { height: 24px; width: auto; margin-left: auto; }

/* 모바일 하단 고정 바 */
.m-cta-bar { display: none; }

/* ==========================================================================
   도입 문의 모달
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(13, 25, 43, .56);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.modal-panel {
  position: relative; width: min(660px, 100%); max-height: calc(100dvh - 48px); overflow: auto; overscroll-behavior: contain;
  padding: 34px 34px 28px; border-radius: 22px; background: #fff;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-head { padding-right: 44px; margin-bottom: 24px; }
.modal-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.modal-head p { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.modal-close { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--text-2); transition: background-color .2s, color .2s; }
.modal-close:hover { background: #F1F4F8; color: var(--navy); }
.modal-close svg { width: 20px; height: 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.form-grid .field { margin-bottom: 0; }
.field > label, .field legend { display: block; margin-bottom: 7px; padding: 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.required { color: #E5484D; font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid #D3DBE6; border-radius: 10px; background: #fff;
  font-size: 15px; color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 104px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #A7B2C2; }
.field input:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 99, 214, .14); outline: none; }
.field.has-error input, .field.has-error textarea { border-color: #E5484D; }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.field-error { margin-top: 6px; font-size: 12.5px; color: #D93D42; }
.field-error:empty { display: none; }
.form-grid + .field { margin-top: 20px; }

.check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.check-grid .check { position: relative; display: block; }
.check-grid .check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check-grid .check span {
  display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 12px;
  border: 1px solid #D3DBE6; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--text-2); line-height: 1.35;
  transition: border-color .2s, background-color .2s, color .2s;
}
.check-grid .check span::before {
  content: ''; width: 16px; height: 16px; flex: none; border: 1.5px solid #B8C3D3; border-radius: 5px;
  transition: background-color .2s, border-color .2s;
  background: center / 12px no-repeat;
}
.check-grid .check input:checked + span { border-color: var(--blue); background: #F0F6FF; color: var(--blue); }
.check-grid .check input:checked + span::before {
  border-color: var(--blue); background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check-grid .check input:focus-visible + span { outline: 3px solid rgba(31, 99, 214, .45); outline-offset: 2px; }
.check-grid .check:hover span { border-color: #A9BDDB; }

.agree-field { padding: 14px 16px; border-radius: 12px; background: #F6F8FB; }
.check-agree { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; cursor: pointer; }
.check-agree input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex: none; }
.agree-detail { margin-top: 8px; font-size: 13px; color: var(--text-3); }
.agree-detail summary { cursor: pointer; width: max-content; text-decoration: underline; text-underline-offset: 3px; }
.agree-detail ul { margin-top: 8px; display: grid; gap: 3px; }
.agree-detail li { position: relative; padding-left: 10px; line-height: 1.55; }
.agree-detail li::before { content: ''; position: absolute; left: 0; top: .7em; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.form-status { min-height: 0; font-size: 14px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 12px; padding: 12px 14px; border-radius: 10px; background: #EEF4FF; color: var(--blue-600); }
.form-status.is-error { background: #FFF0F0; color: #C9353A; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.modal-foot .btn[disabled] { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-done { padding: 24px 0 8px; text-align: center; }
.form-done[hidden] { display: none; }
.done-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: #E5F6EC; color: var(--green); }
.done-icon svg { width: 32px; height: 32px; }
.done-icon use { stroke-width: 2.4; }
.form-done h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.form-done p { margin: 8px 0 24px; color: var(--text-2); }

/* ==========================================================================
   반응형
   ========================================================================== */
@media (min-width: 1400px) {
  .hero-visual { margin-right: -64px; }
}

/* 섹션 04 : PC 에서 제목 두 줄 유지 */
@media (min-width: 1025px) {
  .split-slip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .split-slip .sec-title { font-size: clamp(32px, 2.9vw, 42px); }
}

/* 히어로 세로 배치 */
@media (max-width: 1180px) {
  .hero { padding-bottom: 150px; }
  .hero-inner { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { margin-right: 0; max-width: 860px; width: 100%; justify-self: center; }
  .chat-float { right: -8px; }
  .gnb ul { gap: 28px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 32px; }
  .section { padding: 112px 0; }
  .split, .split-3d, .split-slip { grid-template-columns: 1fr; gap: 56px; }
  .split-ai .split-visual { justify-self: start; max-width: 640px; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .feature-strip li:nth-child(3)::before { display: none; }
  .food-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "list"; row-gap: 48px; }
  .food-photo { max-width: 700px; }
  .point-list { gap: 16px; margin-top: 56px; }
  .point-list li { padding: 22px 18px; gap: 14px; }
  .base-cards { gap: 16px; }
  .base-cards li { padding: 28px 22px; }
  .cta-inner { grid-template-columns: minmax(0, 1fr) 240px; }
  .cta-symbol { width: 200px; }
  .header-inner { gap: 20px; }
  .gnb ul { gap: 22px; }
  .gnb a { font-size: 15px; }
  .header-actions { gap: 14px; }
}

@media (max-width: 900px) {
  .point-list, .base-cards { grid-template-columns: 1fr; }
  .gnb, .header-actions { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
}

/* ---------- 모바일 시안 (390 기준) ---------- */
@media (max-width: 767px) {
  :root { --header-h: 60px; --gutter: 20px; }
  .pc-only, .pc-br { display: none; }
  .mo-only { display: inline !important; }
  .mo-only-block { display: flex !important; }

  .brand img { height: 23px; }
  .btn-lg { height: 52px; padding: 0 20px; font-size: 16px; }

  /* 히어로 */
  .hero { padding: calc(var(--header-h) + 40px) 0 80px; }
  .hero-inner { gap: 40px; }
  .eyebrow { font-size: 15px; }
  .hero-title { margin: 12px 0 18px; font-size: 40px; line-height: 1.2; }
  .hero-desc { font-size: 16px; line-height: 1.7; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
  .hero-actions .btn { width: 100%; padding: 0 12px; }
  .hero-visual { perspective: none; }
  .tilt { padding-bottom: 188px; }
  .tilt { transform: none !important; }
  .chat-float { left: 34px; right: -6px; bottom: 0; width: auto; transform: none; }
  .hero-visual > .mock-note { text-align: right; margin-top: 12px; }
  .hero-bg .g1 { width: 380px; height: 380px; right: -160px; top: 80px; }

  /* 목업 : 사이드바 · 상세 생략 */
  .app-bar, .app-side, .loc-detail { display: none; }
  .app { border-radius: 16px; }
  .app-main { padding: 16px 14px 12px; }
  .loc-toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .seg { display: flex; }
  .seg button { flex: 1 1 0; padding: 0 6px; height: 30px; font-size: 12.5px; }
  .seg-ind { height: 30px; }
  .loc-threshold { justify-content: flex-end; margin-top: -2px; }
  .legend { justify-content: space-between; gap: 6px 10px; font-size: 11.5px; }
  .hero-app .app-head, .hero-app .loc-threshold { display: none; }
  .hero-app .loc-toolbar { margin-top: 0; }
  .loc-stage { margin-top: 4px; }

  .chat-card { padding: 12px; }

  /* 기능 띠 2×2 */
  .features { --ov: 48px; }
  .feature-strip { grid-template-columns: 1fr 1fr; padding: 0; row-gap: 0; border-radius: 18px; }
  .feature-strip li { flex-direction: column; gap: 10px; padding: 20px 16px; }
  .feature-strip li + li::before { display: none; }
  .feature-strip li:nth-child(2n) { border-left: 1px solid var(--line); }
  .feature-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .f-icon { width: 42px; height: 42px; border-radius: 12px; }
  .f-icon svg { width: 22px; height: 22px; }
  .feature-strip strong { font-size: 15px; }
  .feature-strip p { font-size: 13px; }

  /* 섹션 공통 */
  .section { padding: 80px 0; }
  #ai { padding-top: 112px; margin-top: -48px; }
  .split, .split-3d, .split-slip { gap: 32px; }
  .sec-label { font-size: 14px; }
  .pill { height: 24px; font-size: 12px; }
  .sec-title { margin: 12px 0 14px; font-size: 28px; line-height: 1.36; }
  .sec-desc { font-size: 15.5px; line-height: 1.7; }

  /* 01 */
  .q-list { display: none; }
  .split-ai .split-visual { max-width: none; }
  .chat-window { padding: 16px; border-radius: 18px; font-size: 13.5px; }
  .chat-window .chat-body { min-height: 0; padding: 14px 0; }
  .chat-window .chat-input { height: 44px; }
  .chat-table { font-size: 12.5px; }
  .chat-table th, .chat-table td { padding: 8px 7px; }
  .suggest {
    display: flex; align-items: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 14px; padding: 12px 16px;
    border: 1px solid #C6D7F2; border-radius: 14px; background: #fff;
    font-size: 15px; font-weight: 700; color: var(--blue); text-align: left;
    box-shadow: 0 10px 22px -18px rgba(31, 99, 214, .8);
    transition: transform .3s var(--ease), border-color .3s;
  }
  .suggest .ico { width: 18px; height: 18px; }
  .suggest:active { transform: scale(.98); }
  .suggest span { transition: opacity .25s; }
  .suggest.is-swapping span { opacity: 0; }
  .notes { margin-top: 16px; font-size: 13px; }

  /* 02 */
  .loc-summary {
    display: block; margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #fff;
    box-shadow: 0 0 0 1px rgba(23, 42, 69, .07), 0 14px 30px -24px rgba(23, 42, 69, .5);
  }
  .loc-summary-title { font-size: 13px; font-weight: 600; color: var(--text-2); }
  .loc-summary-title b { color: var(--navy); font-weight: 800; }
  .loc-summary-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 14.5px; font-weight: 700; }
  .loc-summary-row .bar { width: 1px; height: 14px; background: var(--line); }
  .loc-summary .danger { color: #E0443B; }
  .point-list { margin-top: 40px; gap: 0; border-top: 1px solid var(--line); }
  .point-list li { gap: 14px; padding: 18px 2px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
  .point-list li:hover { transform: none; box-shadow: none; }
  .point-list li > div { flex: 1; min-width: 0; }
  .p-icon { width: 46px; height: 46px; }
  .p-icon svg { width: 22px; height: 22px; }
  .point-list strong { font-size: 16px; }
  .point-list p { font-size: 13.5px; }
  .p-chev { display: block; width: 18px; height: 18px; color: var(--text-3); }

  /* 03 */
  .food-grid { row-gap: 28px; }
  .photo { aspect-ratio: 16 / 7; border-radius: 16px; }
  .photo img { object-position: 52% 50%; }
  .temp-chips { gap: 8px; margin-top: -22px; padding: 0 8px; }
  .temp-chips li { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; border-radius: 12px; }
  .chip-icon { width: 32px; height: 32px; border-radius: 9px; }
  .chip-icon svg { width: 17px; height: 17px; }
  .temp-chips strong { font-size: 14px; }
  .temp-chips span:not(.chip-icon) { font-size: 11.5px; }
  .line-list li { gap: 14px; padding: 18px 2px; align-items: center; }
  .line-list li > div { flex: 1; min-width: 0; }
  .l-icon { width: 44px; height: 44px; border-radius: 12px; }
  .l-icon svg { width: 21px; height: 21px; }
  .line-list strong { font-size: 16px; }
  .line-list p { font-size: 13.5px; margin-top: 3px; }
  .l-chev { display: block; width: 18px; height: 18px; color: var(--text-3); }

  /* 04 : 흐름 상자 · 표 → 세로 단계 카드 */
  .flow, .slip-visual { display: none; }
  .vsteps { position: relative; display: grid; gap: 14px; margin-top: 28px; }
  .vsteps::before { content: ''; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(180deg, #A9C2EA 0 5px, transparent 5px 10px); }
  .vsteps li { position: relative; display: flex; align-items: center; gap: 14px; }
  .vs-num {
    position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; flex: none;
    border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; font-weight: 800;
    box-shadow: 0 0 0 5px #fff;
  }
  .vs-card {
    flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 16px;
    border: 1px solid #E3EAF4; border-radius: 14px; background: #fff;
    box-shadow: 0 14px 28px -24px rgba(23, 42, 69, .6);
  }
  .vs-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; background: var(--blue-50); color: var(--blue); }
  .vs-icon svg { width: 20px; height: 20px; }
  .vs-card strong { display: block; font-size: 15.5px; font-weight: 800; }
  .vs-card p { margin-top: 2px; font-size: 13px; color: var(--text-2); }

  /* 05 */
  .sec-head-center { text-align: left; }
  .sec-head-center .sec-label { justify-content: flex-start; }
  .sec-head-center .sec-title { margin-top: 12px; }
  .base-cards { gap: 0; margin-top: 32px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 42, 69, .05), 0 18px 36px -28px rgba(23, 42, 69, .5); }
  .base-cards li { flex-direction: row; align-items: center; gap: 14px; padding: 18px 16px; border-radius: 0; background: none; box-shadow: none; }
  .base-cards li + li { border-top: 1px solid var(--line); }
  .base-cards li:hover { transform: none; box-shadow: none; }
  .b-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; }
  .b-icon svg { width: 22px; height: 22px; }
  .base-cards strong { font-size: 16px; }
  .base-cards p { margin-top: 3px; font-size: 13.5px; line-height: 1.55; }
  .steps { display: none; }
  .msteps-wrap { display: block; margin-top: 44px; }
  .sub-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
  .msteps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .msteps li { padding: 16px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 42, 69, .05); }
  .ms-num { display: inline-grid; place-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; }
  .msteps strong { display: block; margin-top: 10px; font-size: 15px; font-weight: 800; }
  .msteps p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--text-2); }

  /* CTA */
  .cta { padding: 64px 0 72px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-copy { position: relative; z-index: 1; }
  .cta-title { font-size: 25px; }
  .cta-desc { font-size: 15px; margin: 12px 0 26px; }
  .cta-copy .btn { width: 100%; }
  .cta-photo { width: 100%; opacity: .7; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 100%); }
  .cta-symbol { position: absolute; right: -36px; top: -40px; width: 150px; opacity: .55; }
  .cta-symbol-shadow { display: none; }

  /* 푸터 */
  .site-footer { padding: 36px 0 calc(110px + env(safe-area-inset-bottom)); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-prosoft { margin-left: 0; height: 22px; }

  /* 하단 고정 바 */
  .m-cta-bar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: 64px; padding: 0 8px 0 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 0 0 1px rgba(23, 42, 69, .06), 0 16px 36px -12px rgba(23, 42, 69, .4);
    transform: translateY(calc(100% + 32px)); transition: transform .55s var(--ease);
  }
  .m-cta-bar.is-shown { transform: none; }
  .m-cta-bar > span { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
  .m-cta-bar .btn { height: 46px; padding: 0 16px; }

  /* 모달 : 아래에서 올라오는 시트 */
  .modal { place-items: end stretch; padding: 0; }
  .modal-panel { width: 100%; max-height: 92dvh; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform: translateY(40px); }
  .modal-head h2 { font-size: 22px; }
  .modal-close { top: 16px; right: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .modal-foot .btn { flex: 1; }
}

@media (max-width: 374px) {
  .hero-title { font-size: 34px; }
  .hero-actions { grid-template-columns: 1fr; }
  .legend { font-size: 10.5px; }
}

/* 모바일 메뉴 · 헤더 : 메뉴가 열려 있으면 흰 배경 고정 */
html.menu-open .site-header { background: #fff; box-shadow: 0 1px 0 var(--line); transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* ==========================================================================
   움직임 줄이기 — 모든 모션을 끄고 즉시 표시
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .tilt { transform: none !important; }
  .rk-pulse { display: none; }
}
