/**
 * HCompany 마케팅 페이지 공통 — 다크 네이비 기준 브랜드 통일
 * 메인(index) · 요금제 · 동일 버튼/카드 토큰
 */
:root {
  --mu-bg: #0b1220;
  --mu-bg-mid: #0f172a;
  --mu-card: #111827;
  --mu-card-hover: #1f2937;
  --mu-border: rgba(148, 163, 184, 0.2);
  --mu-border-strong: rgba(148, 163, 184, 0.28);
  --mu-text: #f8fafc;
  --mu-text-soft: #e2e8f0;
  --mu-muted: #94a3b8;
  --mu-accent: #3b82f6;
  --mu-accent-hover: #2563eb;
}

/* ---------- 공통 본문 ---------- */
body.marketing-unified {
  font-family: "Noto Sans KR", system-ui, sans-serif;
  background: var(--mu-bg);
  color: var(--mu-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
body.marketing-unified *,
body.marketing-unified *::before,
body.marketing-unified *::after {
  box-sizing: border-box;
}

body.marketing-unified a {
  color: inherit;
}

body.hc-home {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- 통일 버튼 ---------- */
.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease,
    box-shadow 0.15s ease;
  box-sizing: border-box;
}
.hc-btn:active {
  transform: translateY(1px);
}

.hc-btn-primary {
  background: var(--mu-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
  order: -1;
}
.hc-btn-primary:hover {
  background: var(--mu-accent-hover);
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.42);
}

.hc-btn-secondary {
  background: transparent;
  color: var(--mu-text-soft);
  border: 1px solid rgba(255, 255, 255, 0.38);
  font-weight: 700;
}
.hc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.5);
}

/* 헤더: landing/css/site_header.css 단일 소스 */

/* ---------- 푸터 (다크 페이지용) ---------- */
body.marketing-unified .legal-footer {
  background: var(--mu-bg-mid);
  border-top: 1px solid var(--mu-border);
}
body.marketing-unified .legal-footer h3 {
  color: var(--mu-muted);
}
body.marketing-unified .legal-footer .biz {
  color: var(--mu-text-soft);
}
body.marketing-unified .legal-footer .biz strong {
  color: var(--mu-text);
}
body.marketing-unified .legal-footer .links a {
  color: #60a5fa;
}
body.marketing-unified .legal-footer .links a:hover {
  color: #93c5fd;
}
body.marketing-unified .legal-footer .copy {
  color: var(--mu-muted);
}
body.marketing-unified .legal-footer .inquiry-note {
  color: var(--mu-muted);
}
body.marketing-unified .legal-footer .inquiry-note a,
body.marketing-unified .legal-footer .biz a {
  color: #60a5fa;
}

/* ---------- 메인 전용 ---------- */
body.hc-home .hc-main {
  flex: 1;
  padding-top: calc(76px + env(safe-area-inset-top, 0px));
}
body.hc-home .hc-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

body.hc-home .hc-section {
  padding: 52px 0;
}
@media (min-width: 768px) {
  body.hc-home .hc-section {
    padding: 60px 0;
  }
}
body.hc-home .hc-section--tight {
  padding-top: 40px;
  padding-bottom: 40px;
}
body.hc-home .hc-bg-alt {
  background: var(--mu-bg-mid);
}

body.hc-home .hc-sec-title {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--mu-muted);
  text-transform: uppercase;
}
body.hc-home .hc-sec-heading {
  margin: 0 0 32px;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mu-text);
  line-height: 1.35;
}
body.hc-home #hc-advantages .hc-sec-heading {
  margin-bottom: 12px;
}
body.hc-home .hc-sec-lead {
  margin: 0 0 28px;
  max-width: 40em;
  font-size: 15px;
  font-weight: 400;
  color: var(--mu-muted);
  line-height: 1.65;
}

/* 퍼스트뷰 */
body.hc-home #hc-hero {
  text-align: center;
  padding: 48px 0 52px;
  background: var(--mu-bg);
  border-bottom: 1px solid var(--mu-border);
}
body.hc-home .hc-hero-inner {
  max-width: 580px;
  margin: 0 auto;
}
body.hc-home #hc-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: #fff;
}
/* 넓은 뷰포트에서 히어로 제목 한 줄 (좁은 화면은 자동 줄바꿈) */
@media (min-width: 900px) {
  body.hc-home #hc-hero .hc-hero-inner {
    max-width: min(960px, 94vw);
  }
  body.hc-home #hc-hero #hc-h1 {
    white-space: nowrap;
  }
}
body.hc-home #hc-hero .hc-sub {
  margin: 0 0 28px;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  font-weight: 500;
  color: var(--mu-muted);
  line-height: 1.6;
}
body.hc-home .hc-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}
body.hc-home .hc-hint {
  margin: 0;
  font-size: 13px;
  color: var(--mu-muted);
  line-height: 1.55;
}
/* 다크 히어로·하단 CTA: outline = 밝은 테두리(진입 카드의 문의 남기기와 같은 톤) */
body.hc-home #hc-hero .hc-btn-outline,
body.hc-home #hc-final-cta .hc-btn-outline {
  background: transparent !important;
  color: #e2e8f0 !important;
  border: 2px solid #60a5fa !important;
  box-shadow: none;
}
body.hc-home #hc-hero .hc-btn-outline:hover,
body.hc-home #hc-final-cta .hc-btn-outline:hover {
  background: rgba(59, 130, 246, 0.14) !important;
  border-color: #93c5fd !important;
}

/* 카드 그리드 */
body.hc-home .hc-grid4 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  body.hc-home .hc-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 960px) {
  body.hc-home .hc-grid4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

body.hc-home .hc-card {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
body.hc-home .hc-card:hover {
  background: var(--mu-card-hover);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

body.hc-home .hc-card-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
body.hc-home .hc-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--mu-text);
  line-height: 1.3;
}
body.hc-home .hc-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.55;
}

/* 흐름 */
body.hc-home .hc-flow {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
@media (min-width: 640px) {
  body.hc-home .hc-flow {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}
body.hc-home .hc-flow-step {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: left;
  min-height: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
body.hc-home .hc-flow-step:hover {
  background: var(--mu-card-hover);
  border-color: rgba(59, 130, 246, 0.4);
}
body.hc-home .hc-flow-step .hc-card-ico--num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
body.hc-home .hc-flow-step p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.5;
}

/* 화면 목업 */
body.hc-home .hc-split {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 44px;
}
body.hc-home .hc-split:last-child {
  margin-bottom: 0;
}
@media (min-width: 900px) {
  body.hc-home .hc-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 44px;
  }
  body.hc-home .hc-split--rev .hc-mock {
    order: 2;
  }
  body.hc-home .hc-split--rev .hc-split-text {
    order: 1;
  }
}
body.hc-home .hc-split-text h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--mu-text);
}
body.hc-home .hc-split-text p {
  margin: 0;
  font-size: 14px;
  color: var(--mu-muted);
  line-height: 1.6;
}

body.hc-home .hc-mock {
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
body.hc-home .hc-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--mu-border);
  font-size: 11px;
  font-weight: 700;
  color: var(--mu-muted);
}
body.hc-home .hc-mock-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
  margin-right: 4px;
}
body.hc-home .hc-mock-dots span:first-child {
  background: #f87171;
}
body.hc-home .hc-mock-dots span:nth-child(2) {
  background: #fbbf24;
}
body.hc-home .hc-mock-dots span:nth-child(3) {
  background: #4ade80;
}
body.hc-home .hc-mock-body {
  padding: 14px;
}
body.hc-home .hc-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mu-text-soft);
}
body.hc-home .hc-mock-row:last-child {
  margin-bottom: 0;
}
body.hc-home .hc-mock-tag {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
}
body.hc-home .hc-mock-tag--warn {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}
body.hc-home .hc-mock-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.hc-home .hc-mock-pill {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--mu-border);
  font-size: 12px;
  font-weight: 700;
  color: var(--mu-text-soft);
  background: rgba(15, 23, 42, 0.5);
}
body.hc-home .hc-mock-pill em {
  font-style: normal;
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--mu-muted);
  margin-top: 4px;
}
body.hc-home .hc-mock-lp {
  padding: 14px;
}
body.hc-home .hc-mock-lp .hc-line-fake {
  height: 10px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.2);
  margin-bottom: 8px;
}
body.hc-home .hc-mock-lp .hc-line-fake:nth-child(2) {
  width: 78%;
}
body.hc-home .hc-mock-lp .hc-line-fake:nth-child(3) {
  width: 55%;
}
body.hc-home .hc-mock-lp .hc-btn-fake {
  margin-top: 12px;
  height: 36px;
  border-radius: 8px;
  background: var(--mu-accent);
}

/* 도입 대상 */
body.hc-home .hc-aud-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}
body.hc-home .hc-aud-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--mu-muted);
  line-height: 1.55;
}
body.hc-home .hc-aud-list li:last-child {
  margin-bottom: 0;
}
body.hc-home .hc-aud-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mu-accent);
}

/* 문의 박스 */
body.hc-home #contact .hc-contact-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 22px;
  border-radius: 12px;
  background: var(--mu-card);
  border: 1px solid var(--mu-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  font-size: 14px;
  color: var(--mu-muted);
}
body.hc-home #contact .hc-contact-box strong {
  color: var(--mu-text);
  font-weight: 700;
  margin-right: 6px;
}
body.hc-home #contact .hc-contact-box a {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: none;
}
body.hc-home #contact .hc-contact-box a:hover {
  text-decoration: underline;
}
body.hc-home #contact .hc-inquiry-box {
  margin-top: 22px;
}

/* 하단 CTA */
body.hc-home #hc-final-cta {
  text-align: center;
  padding: 48px 0 44px;
  background: var(--mu-bg-mid);
  border-top: 1px solid var(--mu-border);
}
body.hc-home #hc-final-cta .hc-final-line {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--mu-text);
}
body.hc-home #hc-final-cta .hc-final-sub {
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--mu-muted);
}
body.hc-home #hc-final-cta .hc-cta-extra {
  margin-top: 16px;
  font-size: 14px;
}
body.hc-home #hc-final-cta .hc-cta-extra a {
  color: #60a5fa;
  font-weight: 700;
}

@media (max-width: 520px) {
  body.hc-home .hc-cta {
    flex-direction: column;
  }
  body.hc-home .hc-btn {
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  body.hc-home .hc-btn-primary {
    order: -1;
  }
}

/* ---------- 요금제: 하단 CTA 버튼을 메인과 동일 클래스로 통일 ---------- */
body.pricing-page.marketing-unified .pricing-cta .hc-btn-primary {
  min-height: 48px;
  padding: 0 28px;
}
