/* =========================================================
   HighRunLabs — 소개 사이트 공용 스타일 (카드형 / Premium)
   절제된 팔레트 · 단일 액센트 · 카드 그리드 · 모달 엔진
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-soft-2: #eef1f5;
  --ink: #0c0f16;
  --ink-2: #2a2f3a;
  --muted: #646b78;
  --muted-2: #8b929e;
  --line: #e8eaef;
  --line-2: #d9dce3;

  --accent: #4338ca;
  --accent-2: #3730a3;
  --accent-soft: #eef0fb;
  --accent-line: #cdd2f4;

  --grad-soft: linear-gradient(135deg, #eef0fb 0%, #f1f0fc 55%, #f5f3ff 100%);

  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(12, 15, 22, .05);
  --shadow: 0 14px 34px -18px rgba(12, 15, 22, .22);
  --shadow-lg: 0 30px 60px -28px rgba(12, 15, 22, .32);
  --maxw: 1150px;

  --t: var(--accent);
  --t-soft: var(--accent-soft);
  --t-line: var(--accent-line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  letter-spacing: -0.003em; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* i18n FOUC 가드 — 번역 적용 전까지 번역 요소 숨김 (언어 깜빡임 차단) */
html.i18n-pending [data-ko],
html.i18n-pending [data-en],
html.i18n-pending [data-ko-html],
html.i18n-pending [data-en-html],
html.i18n-pending .lang-toggle { visibility: hidden; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 이모지 아이콘 박스 숨김 (절제) */
.fc-ico, .fg-ico, .cat-ico, .nb-ico, .lc-ico, .dc-visual .big { display: none !important; }

/* ---------- 네비 ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: #fff; } }
.nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18.5px; letter-spacing: -.02em; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink);
  object-fit: cover; display: block; }
.logo small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); letter-spacing: .01em; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; position: relative; }
.nav-links a:hover { background: var(--bg-soft-2); color: var(--ink); }
/* nav 언더라인 호버 */
.nav-links li:not(.nav-logo-mobile) > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: center; transition: transform .22s cubic-bezier(.2, .7, .2, 1); }
.nav-links li:not(.nav-logo-mobile) > a:hover::after, .nav-links li:not(.nav-logo-mobile) > a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: inline-flex; align-items: center; gap: 7px; padding: 10px 18px; border-radius: 10px;
  background: var(--ink); color: #fff !important; font-weight: 700; font-size: 14.5px; transition: transform .15s, background .15s; }
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav-contact-mobile, .nav-logo-mobile, .nav-back-mobile { display: none; }
.nav-links .nav-contact-mobile a { color: var(--accent); font-weight: 800; }
.nav-links .nav-back-mobile a { color: var(--muted); font-weight: 700; }
.nav-left { display: flex; align-items: center; gap: 12px; }
.nav-back { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--bg-soft); color: var(--muted); font-size: 12.5px; font-weight: 700;
  white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.nav-back:hover { background: var(--bg-soft-2); color: var(--ink); border-color: var(--muted-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; padding: 9px 13px;
  border-radius: 9px; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2);
  font-family: var(--font); font-weight: 700; font-size: 13.5px; letter-spacing: -.01em; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; }
.lang-toggle:hover { background: var(--bg-soft-2); border-color: var(--muted-2); color: var(--ink); }
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 11px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid transparent; font-family: inherit;
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- 히어로 (중앙정렬) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 50% -10%, rgba(67, 56, 202, .07), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 60%); }
.hero .container { position: relative; z-index: 1; }
.hero-wrap { padding: 96px 0 100px; text-align: center; }
.hero-sub-page { padding: 64px 0 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-weight: 600; font-size: 13px; margin-bottom: 24px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1.hero-title { margin: 0 0 22px; font-size: clamp(33px, 5.2vw, 58px); line-height: 1.1; letter-spacing: -.04em; font-weight: 800; }
.hero-title .grad { color: var(--accent); }
.hero-lead { max-width: 660px; margin: 0 auto 32px; font-size: clamp(16px, 2vw, 18.5px); color: var(--ink-2); }
.hero-lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

.chain-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 44px; }
.chain-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2); font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.chain-badge .cdot { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- 섹션 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-eyebrow { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-title { margin: 0 0 14px; font-size: clamp(25px, 3.2vw, 36px); letter-spacing: -.035em; font-weight: 800; line-height: 1.22; }
.section-desc { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---------- 카테고리 카드 (홈) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s, box-shadow .18s, border-color .18s; overflow: hidden; }
.cat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat-card:hover::before { transform: scaleY(1); }
.cat-card h3 { margin: 0 0 9px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cat-card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; flex: 1; }
.cat-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 14.5px; }
.cat-card .more svg { transition: transform .15s; }
.cat-card:hover .more svg { transform: translateX(4px); }
.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.cat-tags span { font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--bg-soft-2); padding: 4px 10px; border-radius: 6px; }

/* ---------- 통계 / 스텝 ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.stat { text-align: center; padding: 24px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num { width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.step h4 { margin: 0 0 7px; font-size: 16.5px; font-weight: 800; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 기능 그룹 / 표준·추가 ---------- */
.feature-group { margin-bottom: 50px; }
.feature-group:last-child { margin-bottom: 0; }
.fg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fg-head::before { content: ""; width: 3px; height: 22px; background: var(--accent); border-radius: 2px; flex-shrink: 0; }
.fg-head h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.fg-desc { margin: 0 0 22px 15px; color: var(--muted); font-size: 15px; }

.feat-split { margin-bottom: 30px; }
.feat-split-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.feat-badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.feat-badge.std { background: var(--bg-soft-2); color: var(--ink-2); }
.feat-badge.ext { background: var(--accent-soft); color: var(--accent-2); }
.feat-split-head h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.feat-split-head .cnt { margin-left: auto; color: var(--muted-2); font-size: 13px; font-weight: 600; }
.feat-split-desc { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }

/* 추가 기능 소분류 */
.feat-subgroup { margin-top: 30px; }
.feat-subgroup:first-of-type { margin-top: 24px; }
.feat-subhead { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.feat-subhead .fsh-bar { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
.feat-subhead h4 { margin: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.feat-subhead .fsh-cnt { font-family: var(--mono); font-size: 12px; color: var(--muted-2); font-weight: 600; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card { position: relative; display: block; padding: 20px 20px 20px 22px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; cursor: default; text-align: left; width: 100%; font-family: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.feature-host .feature-card { cursor: pointer; }
.feature-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--line-2); border-radius: 2px; transition: background .15s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature-card:hover::before { background: var(--accent); }
.feature-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.feature-card .fc-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.feature-card h4 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.feature-card .fc-fn { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--accent-2); background: var(--accent-soft); padding: 2px 7px; border-radius: 5px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.feature-card .fc-more { margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; opacity: 0; transform: translateX(-4px); transition: opacity .15s, transform .15s; }
.feature-card:hover .fc-more { opacity: 1; transform: none; }
.feature-card .fc-top { padding-right: 26px; }
.fc-check { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; padding: 0; border: 2px solid var(--line-2);
  border-radius: 6px; background: #fff; cursor: pointer; z-index: 2; transition: background .12s, border-color .12s; }
.fc-check:hover { border-color: var(--accent); }
.fc-check:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fc-check.on { background: var(--accent); border-color: var(--accent); }
.fc-check.on::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 900; }

/* 문의 담기 장바구니 (플로팅) */
.cart { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: none; }
.cart.has { display: block; }
.cart-tab { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; background: var(--ink);
  color: #fff; border: none; font-family: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; box-shadow: var(--shadow); }
.cart-tab b { background: #fff; color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; padding: 0 6px; }
.cart.open .cart-tab { display: none; }
.cart-box { display: none; width: 330px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cart.open .cart-box { display: block; }
.cart-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 15px; }
.cart-hd b { color: var(--accent); }
.cart-x { border: none; background: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; }
.cart-list { max-height: 44vh; overflow-y: auto; padding: 8px; }
.cart-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.cart-item:hover { background: var(--bg-soft); }
.cart-item em { font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--accent); margin-right: 5px; }
.cart-rm { border: none; background: none; color: var(--muted-2); font-size: 17px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.cart-rm:hover { color: var(--accent-2); }
.cart-empty { padding: 22px 16px; color: var(--muted); font-size: 13.5px; text-align: center; line-height: 1.6; }
.cart-ft { display: flex; gap: 8px; padding: 13px 16px; border-top: 1px solid var(--line); }
.cart-ft .btn-primary { flex: 1; justify-content: center; padding: 11px; }
.cart-clear { border: 1px solid var(--line-2); background: #fff; border-radius: 10px; padding: 0 16px; font-family: inherit; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.cart-clear:hover { border-color: var(--ink); }
@media (max-width: 560px) {
  .cart { right: 12px; left: 12px; bottom: 12px; }
  .cart-box, .cart-tab { width: 100%; }
  .cart-tab { justify-content: center; }
  /* 모바일: 담은 기능을 최대 3개까지만 보이고 나머지는 스크롤 — 화면을 덜 가림 */
  .cart-list { max-height: 146px; }
}

.feature-card.is-featured { border-color: var(--t-line); background: linear-gradient(180deg, var(--t-soft), #fff 70%); }
.feature-card.is-featured::before { background: var(--t); }
.feature-card.is-featured:hover { border-color: var(--t); }
.feature-card.is-featured .fc-more { color: var(--t); }
/* HOT 카드 — 빨강 (대표보다 카드색 우선) */
.feature-card.is-hot { border-color: #f3aab0; background: linear-gradient(180deg, #fdebed, #fff 72%); }
.feature-card.is-hot::before { background: #e11d2a; }
.feature-card.is-hot:hover { border-color: #e11d2a; }
.feature-card.is-hot .fc-more { color: #e11d2a; }
.tag-rep { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--t); padding: 2px 8px; border-radius: 999px; }
.tag-free { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #047857; background: #e7f6ee; padding: 2px 8px; border-radius: 999px; }
.tag-adv { display: inline-flex; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--ink); padding: 2px 8px; border-radius: 999px; }
.tag-hot { display: inline-flex; align-items: center; font-size: 11px; font-weight: 900; letter-spacing: .04em; color: #fff; background: #e11d2a; padding: 2px 8px; border-radius: 999px; box-shadow: 0 1px 6px -1px rgba(225, 29, 42, .5); }

/* 칩 */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-left: 15px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip .cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* 정보 배너 / 도입 설명 */
.note-band { display: flex; gap: 0; align-items: flex-start; padding: 20px 22px 20px 24px; background: var(--bg-soft);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); margin-top: 40px; }
.note-band p { margin: 0; color: var(--ink-2); font-size: 15px; }
.note-band strong { color: var(--accent-2); }
.lead-callout { padding: 18px 22px 18px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); margin: 0 0 46px; }
.lead-callout p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.lead-callout strong { color: var(--accent-2); }

/* ---------- 데모 카드 ---------- */
.demo-card { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.demo-card .dc-body { padding: 42px; }
.demo-card .dc-body h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; letter-spacing: -.025em; }
.demo-card .dc-body p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; }
.demo-card .dc-list { list-style: none; padding: 0; margin: 0 0 26px; }
.demo-card .dc-list li { display: flex; gap: 9px; align-items: center; padding: 5px 0; font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.demo-card .dc-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.demo-card .dc-visual { background: var(--ink); display: grid; place-items: center; padding: 44px; color: #fff; text-align: center; }
.demo-card .dc-visual b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.demo-card .dc-visual span { font-size: 13.5px; opacity: .7; }

/* ---------- CTA (다크) ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 80% -10%, rgba(99, 102, 241, .25), transparent 60%); }
.cta-inner { position: relative; padding: 76px 0; text-align: center; }
.cta-inner h2 { margin: 0 0 14px; font-size: clamp(25px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.035em; }
.cta-inner p { margin: 0 0 30px; font-size: 16.5px; color: rgba(255, 255, 255, .72); }
.cta-inner .btn-white { background: #fff; color: var(--ink); }
.cta-inner .btn-white:hover { background: var(--accent-soft); color: var(--accent-2); transform: translateY(-2px); }
.cta-inner .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.cta-inner .btn-outline:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

/* ---------- 문의 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.contact-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.contact-card .cc-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-soft-2); display: grid; place-items: center; margin-bottom: 16px; color: var(--ink); }
.contact-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.contact-card p { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.contact-card .cc-value { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); font-size: 16px; word-break: break-all; }
.checklist { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.checklist h3 { margin: 0 0 18px; font-size: 19px; font-weight: 800; }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checklist li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); font-size: 14.5px; }
.checklist li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ---------- 푸터 ---------- */
.footer { background: var(--ink); color: #aab0bd; padding: 58px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo .mark { background: #fff; color: var(--ink); }
.footer-about { color: #8b929e; font-size: 14px; max-width: 300px; }
.footer h5 { color: #fff; font-size: 13.5px; font-weight: 700; margin: 0 0 14px; letter-spacing: .01em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 9px 0; }
.footer ul a { color: #8b929e; font-size: 14px; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 24px; color: #646b78; font-size: 13px; }
.footer-bottom .disc { max-width: 640px; }

/* ---------- 모달 ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(12, 15, 22, .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { position: relative; width: 100%; max-width: 600px; margin: auto; background: #fff; border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.98); transition: transform .2s;
  display: flex; flex-direction: column; max-height: calc(100vh - 80px); }
.modal-overlay.open .modal { transform: none; }
.modal-head { position: relative; flex-shrink: 0; padding: 28px 30px 22px; background: var(--t-soft); border-bottom: 1px solid var(--t-line); }
.modal-head .m-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.modal-head .m-rep { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: #fff; background: var(--t); padding: 3px 10px; border-radius: 999px; }
.modal-head .m-fn { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--t); background: #fff; border: 1px solid var(--t-line); padding: 2px 8px; border-radius: 6px; }
.modal-head .m-cat { font-size: 12px; font-weight: 700; color: var(--t); }
.modal-head .m-free { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: #047857; background: #e7f6ee; padding: 3px 10px; border-radius: 999px; }
.modal-head .m-adv { font-size: 11px; font-weight: 800; letter-spacing: .03em; color: #fff; background: var(--ink); padding: 3px 10px; border-radius: 999px; }
.modal-head .m-hot { font-size: 11px; font-weight: 900; letter-spacing: .04em; color: #fff; background: #e11d2a; padding: 3px 10px; border-radius: 999px; }
.modal-foot .m-free-note { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.modal-foot .m-free-note b { color: #047857; }
.modal-head h3 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: none; border-radius: 9px;
  background: rgba(255, 255, 255, .7); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); font-size: 18px; transition: background .15s; }
.modal-close:hover { background: #fff; color: var(--ink); }
.modal-body { padding: 26px 30px 8px; flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-body .m-lead { margin: 0 0 20px; font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.modal-body h4 { margin: 22px 0 9px; font-size: 13.5px; font-weight: 800; color: var(--ink); letter-spacing: .01em; display: flex; align-items: center; gap: 8px; }
.modal-body h4::before { content: ""; width: 14px; height: 2px; background: var(--t); border-radius: 2px; }
.modal-body p { margin: 0 0 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.72; }
.modal-body ul { margin: 0; padding-left: 4px; list-style: none; }
.modal-body ul li { position: relative; padding-left: 18px; margin: 7px 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.modal-body ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--t); }
.modal-body .m-example { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 6px 0 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.modal-body .m-note { color: var(--muted); font-size: 13.5px; }
.modal-foot { padding: 18px 30px 26px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; flex-shrink: 0; }
.modal-foot .btn-primary { background: var(--t); }
.modal-foot .btn-primary:hover { background: var(--t); filter: brightness(.92); }
.modal-foot .m-hint { color: var(--muted-2); font-size: 12.5px; }
body.modal-open { overflow: hidden; }

/* 대표기능 테마 */
.theme-amber   { --t: #b45309; --t-soft: #fef6e7; --t-line: #f6d59a; }
.theme-indigo  { --t: #4338ca; --t-soft: #eef0fb; --t-line: #cdd2f4; }
.theme-emerald { --t: #047857; --t-soft: #e6f6ef; --t-line: #a7e0c6; }
.theme-rose    { --t: #a21caf; --t-soft: #f7e9fb; --t-line: #e7bdf0; }
.theme-teal    { --t: #0e7490; --t-soft: #e2f1f5; --t-line: #9dd3e0; }
.theme-violet  { --t: #6d28d9; --t-soft: #f1e9fc; --t-line: #d4bdf5; }

/* ---------- 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 접근성: 모션 최소화 선호 시 애니메이션 비활성화 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- 반응형 ---------- */
@media (max-width: 980px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .demo-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav .nav-cta.desktop { display: none; }
  .nav-inner { gap: 10px; }
  .nav-left { gap: 8px; }
  .nav-back { padding: 6px 9px; font-size: 12px; }
  .logo { font-size: 16.5px; }
  .logo .mark { width: 28px; height: 28px; }
  .hamburger { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: center; text-align: center; position: absolute; top: 66px;
    left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 16px 18px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open .nav-links a { padding: 12px 14px; }
  .nav.open .nav-links .nav-contact-mobile { display: block; }
  /* 햄버거 메뉴 상단(햄버거 아래)에 로고 표시 */
  .nav.open .nav-links .nav-logo-mobile { display: block; width: 100%; margin-bottom: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links .nav-logo-mobile a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 4px; font-size: 18px; font-weight: 800; color: var(--ink); }
  .nav.open .nav-links .nav-logo-mobile a:hover { background: none; }
  .nav.open .nav-links .nav-logo-mobile .mark { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
  .cat-grid, .feature-grid, .feature-grid.cols-2, .stat-row, .steps, .contact-grid { grid-template-columns: 1fr; }
  .checklist ul { grid-template-columns: 1fr; }
  .chips { margin-left: 0; }
  .section { padding: 60px 0; }
  .hero-wrap { padding: 68px 0 72px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .modal-head, .modal-body, .modal-foot { padding-left: 22px; padding-right: 22px; }
  .container { padding: 0 18px; }
  .demo-card .dc-body { padding: 28px 22px; }
  .demo-card .dc-visual { padding: 32px 22px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .modal-overlay { padding: 16px 12px; }
  .modal { max-height: calc(100vh - 32px); }
  .cta-inner { padding: 56px 0; }
  .hero-sub-page { padding: 48px 0 50px; }
}

/* ---------- 모바일 푸터: 단일 컬럼 · 가운데 정렬 ---------- */
@media (max-width: 560px) {
  .footer { text-align: center; padding: 44px 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; text-align: center; padding-bottom: 30px; }
  .footer .logo { justify-content: center; }
  .footer-about { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
  .footer-bottom .disc { max-width: 100%; }
}

/* ---------- 모바일: 콘텐츠 전반 가운데 정렬 ---------- */
@media (max-width: 720px) {
  .section-head, .section-head.left { text-align: center; margin-left: auto; margin-right: auto; }

  /* 기능 그룹 헤더 · 설명 · 칩 */
  .fg-head { justify-content: center; }
  .fg-desc { margin-left: 0; text-align: center; }
  .chips { justify-content: center; }

  /* 표준 · 추가 기능 분할 헤더 */
  .feat-split-head { justify-content: center; }
  .feat-split-head .cnt { margin-left: 0; }
  .feat-split-desc { text-align: center; }
  .feat-subhead { justify-content: center; }

  /* 기능 카드 (체크박스 자리 확보 위해 좌우 대칭 패딩) */
  .feature-card { text-align: center; }
  .feature-card .fc-top { justify-content: center; padding-left: 26px; }

  /* 안내 배너 · 도입 문구 */
  .note-band { justify-content: center; text-align: center; }
  .lead-callout { text-align: center; }

  /* 데모 카드 */
  .demo-card .dc-body { text-align: center; }
  .demo-card .dc-list li { justify-content: center; }

  /* 연락 채널 카드 */
  .contact-card { text-align: center; }
  .contact-card .cc-ico { margin-left: auto; margin-right: auto; }

  /* 체크리스트 */
  .checklist { text-align: center; }
  .checklist li { justify-content: center; }

  /* 진행 스텝 */
  .step { text-align: center; }
  .step .num { margin-left: auto; margin-right: auto; }
}
