/* ==========================================================================
   플랫폼 랜딩 (templates/public/index.html)
   간격: 4·8·12·16·24·32·48·64·96 · 글자: 13·14·15·17·20·24·32·44·60
   ========================================================================== */
:root {
  --ink: #0b1020; --ink-2: #1e2638; --text: #2b3346; --mute: #5d667a; --faint: #8a93a6;
  --line: #e6e8ef; --line-2: #eef0f5; --bg: #ffffff; --soft: #f6f7fb;
  --brand: #4f46e5; --brand-600: #4338ca; --brand-50: #eef0ff; --violet: #7c3aed; --cyan: #06b6d4;
  --ok: #10b981; --warn: #f59e0b; --kakao: #fee500;
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06);
  --sh-2: 0 12px 32px -12px rgba(16, 24, 40, .18), 0 4px 10px -4px rgba(16, 24, 40, .08);
  --sh-3: 0 40px 80px -24px rgba(30, 27, 75, .35), 0 12px 24px -12px rgba(30, 27, 75, .18);
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6; letter-spacing: -.012em; -webkit-font-smoothing: antialiased; word-break: keep-all; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.035em; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .55); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 12px;
  font: inherit; font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 12px 26px -10px rgba(79, 70, 229, .7); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-outline:hover { border-color: #cfd3df; background: #fbfbfd; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-white { background: #fff; color: var(--brand-600); }
.btn-white:hover { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.btn-ghost-white { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .16); }

/* ---------- 헤더 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.is-scrolled { border-bottom-color: var(--line-2); box-shadow: 0 6px 20px -16px rgba(16, 24, 40, .25); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; font-size: 18px; color: var(--ink); letter-spacing: -.03em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, var(--brand), var(--violet)); box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .7); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--mute); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--soft); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; font-size: 16px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; isolation: isolate; }
.hero-bg { position: absolute; inset: -20% -10% 0; z-index: -1;
  background:
    radial-gradient(720px 420px at 12% 8%, rgba(99, 102, 241, .20), transparent 60%),
    radial-gradient(640px 420px at 88% 18%, rgba(168, 85, 247, .16), transparent 60%),
    radial-gradient(560px 360px at 70% 92%, rgba(6, 182, 212, .12), transparent 60%); }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--brand-600);
  background: rgba(255, 255, 255, .8); border: 1px solid rgba(79, 70, 229, .18); box-shadow: var(--sh-1); margin-bottom: 22px; transition: border-color .2s; }
.eyebrow:hover { border-color: rgba(79, 70, 229, .4); }
.eyebrow .fa-arrow-right { font-size: 11px; transition: transform .2s var(--ease); }
.eyebrow:hover .fa-arrow-right { transform: translateX(3px); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 850; letter-spacing: -.045em; line-height: 1.12; }
.grad { background: linear-gradient(100deg, var(--brand) 10%, var(--violet) 55%, #db2777 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 22px; font-size: clamp(16px, 1.45vw, 18.5px); color: var(--mute); max-width: 560px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; color: var(--mute); }
.hero-points i { color: var(--ok); margin-right: 6px; }

/* 히어로 목업 */
.hero-visual { position: relative; min-height: 470px; }
.mock-browser { position: relative; border-radius: 18px; background: #fff; border: 1px solid rgba(15, 23, 42, .08); box-shadow: var(--sh-3); overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; }
.mb-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #f3f4f8; border-bottom: 1px solid var(--line-2); }
.mb-dots { display: flex; gap: 6px; }
.mb-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mb-dots i:nth-child(2) { background: #febc2e; } .mb-dots i:nth-child(3) { background: #28c840; }
.mb-url { flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--mute); display: flex; align-items: center; justify-content: center; gap: 6px; }
.mb-url i { color: var(--ok); font-size: 10px; }
.mb-sp { width: 46px; }
.mb-body { padding: 0 0 18px; background: #fff; }
.ms-nav { display: flex; align-items: center; gap: 18px; padding: 14px 22px; font-size: 11.5px; color: var(--mute); border-bottom: 1px solid var(--line-2); }
.ms-nav b { font-family: 'Noto Serif KR', Georgia, serif; color: #6b4f12; letter-spacing: .08em; font-size: 13px; margin-right: auto; }
.ms-cart { padding: 4px 9px; border-radius: 999px; background: #1c1917; color: #fde68a; font-weight: 700; }
.ms-hero { margin: 16px 22px; border-radius: 14px; padding: 22px 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  background: radial-gradient(240px 140px at 85% 20%, rgba(253, 230, 138, .55), transparent 60%), linear-gradient(135deg, #1c1917, #3f2e12 70%, #6b4f12); color: #fef3c7; }
.ms-hero small { display: block; font-size: 11px; opacity: .8; }
.ms-hero strong { display: block; font-size: 22px; letter-spacing: -.03em; color: #fff; margin: 4px 0 6px; }
.ms-up { font-size: 11.5px; color: #fca5a5; font-weight: 700; }
.ms-btn { flex: none; padding: 9px 14px; border-radius: 10px; background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1c1917; font-weight: 800; font-size: 12px; }
.ms-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 22px; }
.ms-card { font-size: 11px; }
.ms-card i { display: block; aspect-ratio: 1; border-radius: 10px; margin-bottom: 8px; background: linear-gradient(145deg, #fef3c7, #f59e0b); position: relative; overflow: hidden; }
.ms-card i::after { content: ''; position: absolute; inset: 22% 18%; border-radius: 6px; background: linear-gradient(135deg, #fde68a, #b45309); box-shadow: 0 6px 12px -4px rgba(120, 53, 15, .5); transform: rotate(-8deg); }
.ms-card .c2 { background: linear-gradient(145deg, #fff7ed, #fdba74); }
.ms-card .c3 { background: linear-gradient(145deg, #fefce8, #facc15); }
.ms-card .c3::after { inset: 26%; border-radius: 50%; background: transparent; border: 6px solid #d97706; box-shadow: none; }
.ms-card .c4 { background: linear-gradient(145deg, #f1f5f9, #94a3b8); }
.ms-card .c4::after { background: linear-gradient(135deg, #f8fafc, #64748b); }
.ms-card b { display: block; color: var(--ink-2); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-card em { font-style: normal; color: var(--ink); font-weight: 800; }

.mock-phone { position: absolute; right: -8px; bottom: -28px; width: 150px; border-radius: 28px; padding: 8px; background: #0b1020; box-shadow: var(--sh-3); }
.mp-notch { width: 46px; height: 6px; border-radius: 6px; background: #1e2638; margin: 2px auto 6px; }
.mp-body { border-radius: 21px; background: #fff; padding: 10px 10px 12px; overflow: hidden; }
.mp-head { display: flex; justify-content: space-between; align-items: center; font-size: 9.5px; color: #6b4f12; letter-spacing: .06em; margin-bottom: 8px; }
.mp-hero { height: 78px; border-radius: 10px; background: linear-gradient(135deg, #1c1917, #6b4f12); margin-bottom: 9px; position: relative; }
.mp-hero::after { content: ''; position: absolute; left: 12px; right: 30px; bottom: 14px; height: 8px; border-radius: 4px; background: rgba(254, 243, 199, .8); box-shadow: 0 -14px 0 -1px rgba(254, 243, 199, .45); }
.mp-line { height: 7px; border-radius: 4px; background: var(--line); margin-bottom: 6px; }
.mp-line.w80 { width: 80%; } .mp-line.w60 { width: 60%; }
.mp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 9px 0; }
.mp-row span { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(145deg, #fef3c7, #f59e0b); }
.mp-buy { height: 26px; border-radius: 8px; background: #1c1917; color: #fde68a; font-size: 10px; font-weight: 800; display: grid; place-items: center; }

.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 15px 11px 11px; border-radius: 16px; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); border: 1px solid rgba(15, 23, 42, .06); box-shadow: var(--sh-2); font-size: 12.5px; white-space: nowrap; animation: floaty 6s var(--ease) infinite; }
.float b { display: block; color: var(--ink); font-size: 13px; }
.float small { color: var(--mute); }
.fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 14px; flex: none; }
.fi.ok { background: linear-gradient(135deg, #34d399, #059669); }
.fi.talk { background: var(--kakao); color: #3b1e1e; }
.fi.crm { background: linear-gradient(135deg, var(--brand), var(--violet)); }
.f-order { left: -36px; top: 58%; }
.f-talk { right: 112px; bottom: -40px; animation-delay: -2s; }
.f-crm { right: -20px; top: -22px; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- 지표 띠 ---------- */
.metrics { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: #fff; }
.metrics-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.metric { padding: 26px 12px; text-align: center; border-left: 1px solid var(--line-2); }
.metric:first-child { border-left: 0; }
.metric strong { display: block; font-size: 32px; font-weight: 850; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric strong span { font-size: 16px; font-weight: 700; color: var(--mute); margin-left: 2px; }
.metric small { font-size: 13.5px; color: var(--mute); }

/* ---------- 공통 섹션 ---------- */
.sec { padding: 104px 0; }
.sec-soft { background: var(--soft); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 850; }
.sec-head p { margin-top: 14px; font-size: 17px; color: var(--mute); line-height: 1.7; }

/* ---------- 템플릿 ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.chip span { margin-left: 4px; font-size: 12.5px; color: var(--faint); font-weight: 700; }
.chip:hover { border-color: #c9cede; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 8px 18px -10px rgba(11, 16, 32, .6); }
.chip.is-on span { color: rgba(255, 255, 255, .6); }
.tpl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tpl:hover, .tpl:focus-within { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d9dcea; }
.tpl[hidden] { display: none; }
.tpl.is-featured { border-color: rgba(79, 70, 229, .35); }
.tpl-media { position: relative; aspect-ratio: 16 / 10; background: #eef0f5; overflow: hidden; }
.tpl-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tpl:hover .tpl-media img { transform: scale(1.045); }
.tpl-badges { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .01em; }
.badge-new { background: #ec4899; color: #fff; }
.badge-hot { background: #fff; color: var(--brand-600); box-shadow: var(--sh-1); }
.badge-type { background: rgba(11, 16, 32, .62); color: #fff; backdrop-filter: blur(6px); margin-left: auto; }
.tpl-peek { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(11, 16, 32, 0) 30%, rgba(11, 16, 32, .55)); opacity: 0; transition: opacity .25s var(--ease); }
.tpl-peek span { padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 750; box-shadow: var(--sh-2); transform: translateY(8px); transition: transform .25s var(--ease); }
.tpl-media:hover .tpl-peek { opacity: 1; }
.tpl-media:hover .tpl-peek span { transform: none; }
.tpl-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tpl-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.tpl-cat { font-size: 12.5px; font-weight: 800; color: var(--brand); letter-spacing: .02em; }
.tpl-swatch { display: inline-flex; }
.tpl-swatch i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; margin-left: -4px; box-shadow: 0 0 0 1px var(--line); }
.tpl h3 { font-size: 19px; font-weight: 800; }
.tpl p { margin-top: 6px; font-size: 14px; color: var(--mute); line-height: 1.6; }
.tpl-pages { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tpl-pages li { font-size: 12px; color: var(--text); background: var(--soft); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 7px; }
.tpl-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 18px; }
.tpl-actions .btn { flex: 1; }
.tpl-empty { text-align: center; color: var(--mute); padding: 40px 0; }
/* 썸네일 없는 템플릿 — 테마 색으로 그린 작은 사이트 */
.tpl-mock { position: absolute; inset: 0; background: var(--tu); padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.tm-nav { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 10px; border-radius: 7px; background: var(--tb); box-shadow: var(--sh-1); }
.tm-nav i { width: 34px; height: 8px; border-radius: 4px; background: var(--tp); margin-right: auto; }
.tm-nav span { width: 22px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ts) 25%, transparent); }
.tm-hero { flex: 1; border-radius: 10px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  background: radial-gradient(160px 100px at 85% 15%, color-mix(in srgb, var(--ta) 55%, transparent), transparent 70%), linear-gradient(135deg, var(--ts), var(--tp)); }
.tm-t1 { width: 62%; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .9); }
.tm-t2 { width: 42%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.tm-btn { width: 64px; height: 18px; border-radius: 6px; background: var(--ta); margin-top: 4px; }
.tm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: 30%; }
.tm-cards span { border-radius: 8px; background: var(--tb); box-shadow: var(--sh-1); }

/* ---------- 단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.step-no { position: absolute; top: 24px; right: 26px; font-size: 40px; font-weight: 900; letter-spacing: -.05em; color: var(--line-2); line-height: 1; }
.step-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 21px; color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--brand), var(--violet)); box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .7); }
.step:nth-child(2) .step-ic { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 10px 22px -10px rgba(236, 72, 153, .6); }
.step:nth-child(3) .step-ic { background: linear-gradient(135deg, #06b6d4, #10b981); box-shadow: 0 10px 22px -10px rgba(16, 185, 129, .6); }
.step h3 { font-size: 20px; font-weight: 800; }
.step p { margin-top: 8px; color: var(--mute); font-size: 15px; }

/* ---------- 기능 벤토 ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; padding: 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.tile:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.tile-lg { grid-column: span 2; }
.tile-wide { grid-column: span 3; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.tile-wide .tile-ic { margin: 0; }
.tile-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 19px; color: var(--brand); background: var(--brand-50); margin-bottom: 18px; }
.tile h3 { font-size: 19px; font-weight: 800; }
.tile p { margin-top: 8px; color: var(--mute); font-size: 14.5px; line-height: 1.65; }
.tile-note { font-size: 12.5px !important; margin-top: 14px !important; }
.tile-dark { background: linear-gradient(160deg, #0b1020, #1b1f3a 70%, #2a1f55); border-color: #1e2638; }
.tile-dark h3 { color: #fff; } .tile-dark p { color: #aab2c8; }
.tile-dark .tile-ic { background: rgba(255, 255, 255, .08); color: #c7d2fe; }
.tile-crm { background: linear-gradient(120deg, #ffffff 40%, #f3f0ff); }
.crm-copy p { max-width: 520px; }
/* 빌더 미니 화면 */
.viz-editor { margin-top: 22px; display: grid; grid-template-columns: 110px 1fr 34px; gap: 10px; padding: 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line-2); }
.ve-side { display: flex; flex-direction: column; gap: 6px; }
.ve-side span { font-size: 11.5px; padding: 7px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); color: var(--mute); }
.ve-side span.on { border-color: var(--brand); color: var(--brand-600); font-weight: 700; box-shadow: 0 0 0 3px rgba(79, 70, 229, .12); }
.ve-canvas { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: #fff; border: 1px dashed #cfd5e6; }
.ve-hero { height: 58px; border-radius: 8px; background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.ve-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ve-row i { height: 34px; border-radius: 7px; background: var(--soft); border: 1px solid var(--line-2); }
.ve-drag { position: absolute; right: 12px; top: 38px; font-size: 11px; font-weight: 700; color: #fff; background: var(--ink); padding: 5px 9px; border-radius: 7px; box-shadow: var(--sh-2); }
.ve-devices { display: flex; flex-direction: column; gap: 6px; }
.ve-devices i { height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; color: var(--mute); }
.ve-devices i:first-child { color: var(--brand); border-color: var(--brand); }
/* 결제 미니 화면 */
.viz-pay { margin-top: 22px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.vp-row { display: flex; justify-content: space-between; color: #cbd2e4; font-size: 13px; }
.vp-row b { color: #fff; font-size: 17px; }
.vp-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.vp-methods span { font-size: 12px; text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); color: #cbd2e4; }
.vp-methods span.on { border-color: #818cf8; color: #fff; background: rgba(129, 140, 248, .16); }
.vp-ok { font-size: 12.5px; color: #6ee7b7; font-weight: 700; }
/* CRM 흐름 */
.viz-crm { display: flex; align-items: center; gap: 10px; }
.vc-node { padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); font-weight: 800; font-size: 13.5px; color: var(--ink); text-align: center; white-space: nowrap; }
.vc-node small { display: block; font-weight: 600; font-size: 11.5px; color: var(--mute); }
.vc-biz { background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; border: 0; }
.vc-biz small { color: rgba(255, 255, 255, .75); }
.vc-line { position: relative; width: 64px; height: 2px; background: repeating-linear-gradient(90deg, #c7cbe0 0 6px, transparent 6px 10px); }
.vc-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); animation: dot 2.2s linear infinite; }
@keyframes dot { from { left: 0; } to { left: calc(100% - 8px); } }

/* ---------- 요금제 ---------- */
.billing { display: flex; justify-content: center; gap: 4px; width: max-content; margin: -16px auto 36px; padding: 4px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.bill { height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; font-size: 14px; color: var(--mute); cursor: pointer; }
.bill.is-on { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.save { font-size: 11px; font-weight: 800; color: var(--ok); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.plan.is-hi { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(79, 70, 229, .45); }
.plan-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); height: 26px; padding: 0 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; white-space: nowrap; }
.plan h3 { font-size: 18px; font-weight: 800; }
.plan-desc { margin-top: 4px; font-size: 13.5px; color: var(--mute); min-height: 44px; }
.plan-price { margin: 18px 0 20px; min-height: 74px; }
.plan-price strong { font-size: 34px; font-weight: 850; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14px; color: var(--mute); margin-left: 2px; }
.plan-year { display: block; font-size: 12.5px; color: var(--ok); font-weight: 700; }
.plan-feat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; font-size: 14.5px; flex: 1; }
.plan-feat i { width: 18px; color: var(--ok); margin-right: 6px; }
.plan-feat li.off { color: var(--faint); }
.plan-feat li.off i { color: #c3c8d6; }
.fine { text-align: center; font-size: 13px; color: var(--faint); margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: border-color .2s; }
.faq details[open] { border-color: #cfd3e6; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 750; font-size: 16.5px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; background: var(--soft);
  display: grid; place-items: center; font-weight: 600; color: var(--mute); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 24px 22px; color: var(--mute); font-size: 15px; line-height: 1.75; }

/* ---------- 마지막 CTA ---------- */
.cta-band { position: relative; overflow: hidden; padding: 88px 0; color: #fff;
  background: radial-gradient(600px 300px at 10% 0%, rgba(168, 85, 247, .55), transparent 60%), radial-gradient(500px 300px at 95% 100%, rgba(6, 182, 212, .4), transparent 60%), linear-gradient(120deg, #3730a3, #4f46e5 55%, #6d28d9); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 850; }
.cta-band p { margin-top: 10px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 바닥글 ---------- */
.foot { background: #0b1020; color: #98a1b6; padding: 56px 0 28px; font-size: 14px; }
.foot .logo { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { margin-top: 10px; }
.foot-links { display: flex; gap: 64px; }
.foot-links div { display: flex; flex-direction: column; gap: 10px; }
.foot-links b { color: #fff; font-size: 13px; letter-spacing: .04em; margin-bottom: 4px; }
.foot-links a:hover { color: #fff; }
.foot-copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #6b7489; }

/* ---------- 스크롤 등장 ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 반응형 ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-visual { max-width: 640px; width: 100%; margin: 0 auto; }
  .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-links { position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(16, 24, 40, .25); display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 12px; font-size: 16px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .metrics-in { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(4) { border-left: 0; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--line-2); }
  .steps { grid-template-columns: 1fr; }
  .tile-wide { grid-template-columns: 1fr; }
  .viz-crm { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .hide-sm { display: none; }
  .nav-cta .btn-primary { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .hero { padding: 44px 0 72px; }
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { width: 100%; }
  .hero-visual { min-height: 0; }
  .mock-browser { transform: none; }
  .ms-grid { grid-template-columns: repeat(2, 1fr); }
  .ms-card:nth-child(n+3) { display: none; }
  .ms-nav span:not(.ms-cart) { display: none; }
  .mock-phone { width: 112px; right: -4px; bottom: -36px; border-radius: 22px; }
  .f-order { left: -6px; top: auto; bottom: -26px; }
  .f-talk { display: none; }
  .f-crm { right: 6px; top: -30px; }
  .metrics-in { grid-template-columns: repeat(2, 1fr); }
  .metric { border-left: 0; border-top: 1px solid var(--line-2); }
  .metric:nth-child(-n+2) { border-top: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--line-2); }
  .metric:last-child { grid-column: span 2; border-left: 0; }
  .sec { padding: 72px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 15.5px; }
  .chips { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 24px; padding: 2px 18px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .tpl-grid, .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-wide { grid-column: auto; }
  .viz-editor { grid-template-columns: 1fr; }
  .ve-side, .ve-devices { display: none; }
  .foot-links { gap: 40px; }
  .cta-btns .btn { flex: 1; }
}
@media (hover: none) {
  .tpl-peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
