/* pilot/pilot.css — B2B 파일럿 랜딩·앱·가이드·청구 페이지 전용 추가 스타일.
   signup/signup.css 의 navy 팔레트·기본 컴포넌트(.card/.kv/.banner/.btn 등)를 그대로 재사용하고,
   이 파일은 파일럿 앱에서만 필요한 것(하단 탭바·상태배지·체크리스트·히어로·표)만 추가한다. */

/* 히어로(랜딩) */
.hero-pilot { text-align: center; padding: 28px 16px 20px; }
.hero-pilot .kicker { display: inline-block; font-size: 12px; font-weight: 700; color: var(--navy-light); background: var(--blue-bg); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.hero-pilot h1 { font-size: 22px; line-height: 1.4; color: var(--navy-dark); margin-bottom: 8px; }
.hero-pilot .sub2 { font-size: 14px; color: var(--gray-600); }

/* 상태 배지(파일럿 회선 상태) */
.status-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-pill.pending { background: var(--amber-bg); color: var(--amber); }
.status-pill.active { background: var(--green-bg); color: var(--green); }
.status-pill.suspended { background: var(--red-bg); color: var(--red); }
.status-pill.cancelled { background: var(--gray-200); color: var(--gray-600); }

/* 체크리스트 */
.checklist { list-style: none; margin: 8px 0; padding: 0; }
.checklist li { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--gray-100); }
.checklist li:last-child { border-bottom: none; }
.checklist .mark { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.checklist li.done .mark { background: var(--green-bg); color: var(--green); }
.checklist li.todo .mark { background: var(--gray-200); color: var(--gray-400); }
.checklist li.done span.t { color: var(--gray-800); }
.checklist li.todo span.t { color: var(--gray-600); }

/* 하단 탭바(모바일 앱 느낌) */
.tabbar { position: sticky; bottom: 0; display: flex; background: var(--white); border-top: 1px solid var(--gray-200); box-shadow: 0 -2px 8px rgba(20,41,63,0.06); z-index: 10; }
.tabbar button { flex: 1; background: none; border: none; padding: 10px 4px 8px; font-size: 11px; color: var(--gray-400); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar button .ic { font-size: 18px; }
.tabbar button.active { color: var(--navy); font-weight: 700; }
.app-body { padding-bottom: 8px; }

/* 알림 예시 카드(마스킹 데모) */
.notif-demo { border: 1px solid var(--gray-200); border-radius: 10px; padding: 12px; margin: 8px 0; background: var(--gray-50); }
.notif-demo .n-time { font-size: 11px; color: var(--gray-400); }
.notif-demo .n-body { font-size: 13px; color: var(--gray-800); margin-top: 4px; white-space: pre-line; }

/* 표(가격 비교 등) */
table.cmp { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
table.cmp th, table.cmp td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--gray-100); }
table.cmp th { color: var(--gray-600); font-weight: 600; font-size: 12px; }

/* FAQ 아코디언 느낌(간단 details/summary) */
details.faq { border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 12px; margin: 8px 0; }
details.faq summary { font-size: 14px; font-weight: 700; color: var(--navy-dark); cursor: pointer; }
details.faq p { font-size: 13px; color: var(--gray-600); margin-top: 6px; }

/* 결제(디자인 전용) 비활성 버튼 */
.btn.disabled-design { background: var(--gray-200); color: var(--gray-600); cursor: not-allowed; position: relative; }
.step-flow { list-style: none; counter-reset: step; margin: 8px 0; padding: 0; }
.step-flow li { counter-increment: step; font-size: 14px; padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--gray-100); }
.step-flow li:last-child { border-bottom: none; }
.step-flow li::before { content: counter(step); position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.section-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; }
.section-nav a { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--gray-100); color: var(--gray-800); }

/* 온보딩 키트(§목표2) — 두 단 체크리스트, 인쇄 친화 레이아웃 */
.onboard-toc { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 16px; }
.onboard-toc a { font-size: 11px; padding: 4px 8px; border-radius: 999px; background: var(--gray-100); color: var(--gray-800); }
.checklist-cols { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .checklist-cols { grid-template-columns: 1fr 1fr; } }
.print-btn { display: inline-block; margin: 8px 0; }

/* 실제 가입신청 폼(pilot/apply.html) 전용 — signup.css 의 input/opt/check-row 를 그대로 재사용하고
   여기서는 textarea 와 honeypot(봇 방지, 사람에게는 보이지 않음) 만 추가한다. */
textarea.field-input, select.field-input {
  width: 100%; padding: 11px; border: 1px solid var(--gray-200); border-radius: 10px;
  font-size: 15px; background: var(--white); color: var(--gray-800); font-family: inherit;
}
textarea.field-input { resize: vertical; }
input[type=date] {
  width: 100%; padding: 11px; border: 1px solid var(--gray-200); border-radius: 10px;
  font-size: 15px; background: var(--white); color: var(--gray-800);
}
/* honeypot: 사람 눈에는 보이지 않지만 DOM 에는 존재(단순 봇의 "보이는 필드만 채움" 우회 방지) */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.app-id-box { text-align: center; padding: 20px 16px; }
.app-id-box .app-id { font-size: 20px; font-weight: 800; color: var(--navy-dark); letter-spacing: 0.5px; margin: 8px 0; }
.field-error { font-size: 12px; color: var(--red); margin-top: 4px; }
.invalid-field,
input.invalid-field,
select.invalid-field,
textarea.invalid-field {
  border: 2px solid var(--red) !important;
  background: #ffe8e8 !important;
  box-shadow: 0 0 0 2px rgba(178, 60, 60, 0.12);
  border-radius: 10px;
}
.check-row.invalid-field { padding: 9px; }
.error-summary { border: 2px solid var(--red); background: var(--red-bg); }
.error-summary .field-error { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.error-summary ul { margin: 0 0 0 18px; padding: 0; color: var(--red); font-size: 13px; }
.check-all {
  font-size: 16px; font-weight: 900; padding: 14px; margin: 2px 0 10px;
  border: 2px solid var(--navy); border-radius: 10px; background: var(--blue-bg);
  color: var(--navy-dark);
}
.check-all input { width: 22px; height: 22px; flex: 0 0 22px; }

/* 3단계 신청폼 — 진행 표시줄과 단계 이동 버튼. 모바일에서 3칸이 한 줄에 들어가야 한다. */
.stepper { display: flex; gap: 6px; margin: 12px 0 8px; }
.stepper .step {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: 10px; background: var(--gray-100); text-align: center;
}
.stepper .step .step-no {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gray-200); color: var(--gray-600);
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.stepper .step .step-title { font-size: 11px; color: var(--gray-600); line-height: 1.3; }
.stepper .step.current { background: var(--blue-bg); }
.stepper .step.current .step-no { background: var(--navy); color: var(--white); }
.stepper .step.current .step-title { color: var(--navy-dark); font-weight: 700; }
.stepper .step.done .step-no { background: var(--green-bg); color: var(--green); }
.step-nav { display: flex; gap: 8px; margin: 12px 0 4px; }
.step-nav .btn { flex: 1; }
/* 2·3단계 안내 목록(가입 방법 · 청구 확인 항목) */
ol.steps, ul.steps { margin: 8px 0 8px 18px; padding: 0; }
ol.steps li, ul.steps li { font-size: 14px; color: var(--gray-800); padding: 4px 0; line-height: 1.5; }

/* 설치형 PWA 배너(설치 안내 · 업데이트 알림) */
.pwa-banner {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--blue-bg); border-bottom: 1px solid var(--gray-200);
  padding: 10px 12px; font-size: 13px; color: var(--navy-dark);
}
.pwa-banner.hidden { display: none; }
.pwa-banner span { flex: 1 1 180px; }
.pwa-banner button {
  border: none; border-radius: 8px; padding: 7px 12px; font-size: 13px;
  font-weight: 700; background: var(--navy); color: var(--white); cursor: pointer;
}
.pwa-banner button.ghost { background: var(--gray-200); color: var(--gray-800); }

@media print {
  .topnav, .tabbar, .section-nav, .onboard-toc, .banner, .print-btn, .foot { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: 100%; padding: 0; }
  .card { box-shadow: none; border: 1px solid #999; break-inside: avoid; page-break-inside: avoid; margin: 8px 0; }
  a { color: #000; text-decoration: underline; }
  .checklist-cols { grid-template-columns: 1fr 1fr; }
}
