/* Finger AI — crm.co.kr inspired B2B layout, 기획안 전용 카피 */
:root {
  --color-brand: #e6324b;
  --color-brand-dark: #c41e3a;
  --color-text: #1a1a1a;
  --color-text-muted: #5c5c5c;
  --color-border: #e8e8e8;
  --color-surface: #fafafa;
  --color-surface-accent: #fff5f6;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans KR", sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-header: 0 1px 0 rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  /* box-shadow: var(--shadow-header); */
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  color: var(--color-text);
}

/* 첨부 원본 PNG: 손 아이콘 + FII + FINGER AI (비율 유지) */
.logo__img {
  display: block;
  width: auto;
  height: 34px;
  flex-shrink: 0;
}



.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--color-surface);
}

.nav-toggle__icon {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav a {
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-brand);
  background: var(--color-surface-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav .mheader-actions {
  display: none;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 3;
}

.nav .mheader-actions a {
  border-radius: var(--radius-pill);
  padding: 5px 15px;
  font-size: 13px;
}

.nav .mheader-actions a.btn--primary {
  color: #fff
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn--primary {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
}

.btn--primary:hover {
  background: var(--color-brand-dark);
  border-color: var(--color-brand-dark);
}

.btn--outline {
  background: #fff;
  color: var(--color-brand);
  border-color: var(--color-brand);
}

.btn--outline:hover {
  background: var(--color-surface-accent);
}



/* ----- Hero & sections ----- */
.hero {
  position: relative;
  background: #000;
  width: 100%;
  height: 500px;
}

.hero>div {
  background: url('../assets/visual_main.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 50px 20px;
  /* display:flex; flex-wrap:wrap; align-items:center; */
}

.sub_01>div {
  background: url('../assets/visual_sub_1.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.sub_02>div {
  background: url('../assets/visual_sub_2.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.sub_03>div {
  background: url('../assets/visual_sub_3.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.sub_04>div {
  background: url('../assets/visual_sub_4.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.sub_05>div {
  background: url('../assets/visual_sub_5.jpg') no-repeat center;
  width: min(100%, var(--max-width));
  height: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  width: 100%;
  color: #fff;
  padding-top: 60px;
}

.hero__lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #fff;
  max-width: 55ch;
}

.hero__note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3)
}

.hero .hero__actions {
  margin-top: 30px
}

.hero .btn {
  border: none
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

}

.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--color-surface);
}

.section__head {
  text-align: center;
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 20px !important;
  padding-bottom: 20px;
}

.section__eyebrow:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 1px;
  background: #e6324b;
}

.section__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.section__head p {
  margin: 0;
  color: var(--color-text-muted);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: #fff;
  text-align: center;
  word-break: keep-all;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.card h3 {
  /* margin: 0 0 0.5rem; */
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.card img {
  margin: 0 auto 10px auto;
  width: 60px
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 0.5rem;
  background: var(--color-brand);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
}

.page-hero {
  padding: 0;
  height: 300px;
  background: #000;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  width: 100%;
  color: #fff;
  text-align: center;
}

.page-hero .lead {
  margin: 0;
  color: #fff;
  /* max-width: 56ch; */
  text-align: center;
}

.prose {
  /* max-width: 720px; */
}

.prose h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose p,
.prose li {
  color: var(--color-text-muted);
}

.prose ul {
  /* padding-left: 1.25rem; */
}

.prose .highlight {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--color-surface-accent);
  border-left: 3px solid var(--color-brand);
  font-weight: 600;
  color: var(--color-text);
}

.cta-band {
  margin: 3rem 0;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #fff5f6 0%, #fff 50%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.cta-band p {
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0;
}

.compare th,
.compare td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.compare th {
  background: var(--color-surface);
  font-weight: 700;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Footer — crm.co.kr 스타일 (약관 링크 외부, SNS 제외) */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  clear: both;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-bottom: 1.25rem;
}

.site-footer .logo {
  margin: 0;
}

.logo__img--footer {
  height: 40px;
  width: auto;
}



.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.footer-legal a {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.footer-legal a:hover {
  color: var(--color-brand);
}

.site-footer__rule {
  height: 0;
  margin: 0 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--color-border);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}



.site-footer__company p {
  margin: 0 0 0.4rem;
  line-height: 1.6;
  color: #888;
  font-size: 0.8125rem;
}

.site-footer__company a {
  color: inherit;
}

.site-footer__company a:hover {
  color: var(--color-brand);
}

.site-footer__sep {
  margin: 0 0.25rem;
  opacity: 0.7;
}

.site-footer__copy {
  margin-top: 0.65rem !important;
  margin-bottom: 0 !important;
  font-size: 0.75rem !important;
  color: #aaa !important;
}

.site-footer__support {
  text-align: left;
}



.site-footer__support-title {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #888;
}

.site-footer__support-phone {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.site-footer__support-phone a {
  color: var(--color-text);
  text-decoration: none;
}

.site-footer__support-phone a:hover {
  color: var(--color-brand);
}

.site-footer__support-hours {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  color: #888;
}

.site-footer__support-email {
  margin: 0;
  font-size: 0.8125rem;
}

.site-footer__support-email a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer__support-email a:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

/* Floating widgets */
.fab-wrap {
  position: fixed;
  right: 10px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  /* padding: 0 0.85rem; */
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--color-text-muted);
}

.fab--primary {
  background: var(--color-brand);
  color: #fff;
  border-color: var(--color-brand);
  font-size: 0.8rem;
}

.fab:hover {
  filter: brightness(0.97);
}

/* Solution detail blocks */
.sol-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.sol-block:last-child {
  border-bottom: none;
}

.sol-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
}

.case-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.case-block h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.case-block h3 {
  margin: 1rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.case-block p,
.case-block li {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.subnav a {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.subnav a:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.anchor-target {
  scroll-margin-top: 80px;
  height: 0;
  overflow: hidden;
}


@media (max-width: 480px) {
  .header-actions {
    display: none
  }

  .nav .mheader-actions {
    display: block;
  }

  .hero__note {
    display: none
  }
}

@media (min-width: 768px) {
  .logo__img {
    height: 38px;
  }

  .logo__img--footer {
    height: 44px;
  }
}

@media (min-width: 900px) {
  .site-footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
  }

  .site-footer__support {
    text-align: right;
    justify-self: end;
    max-width: 320px;
  }
}

@media (max-width: 1024px) {

  /*
   * backdrop-filter는 fixed 자손의 기준 박스를 헤더로 잡게 해 메뉴가 작게 보임 → 모바일에서 끔
   * 헤더 z-index(100) < 백드롭(200)이면 메뉴가 회색 뒤에 가려짐 → 열릴 때 헤더만 위로 올림
   */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-drawer-open .site-header {
    z-index: 230;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    flex-wrap: nowrap;
  }

  /* 왼쪽 슬라이드 패널 + 세로 메뉴 (뷰포트 기준 전체 높이) */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100%;
    width: min(18.5rem, 88vw);
    max-width: 100vw;
    margin: 0;
    padding: 3.5rem 1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.2rem;
    background: #fff;
    box-shadow: 6px 0 32px rgba(0, 0, 0, 0.12);
    z-index: 1;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    border: none;
    flex: none;
    box-sizing: border-box;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-drawer__toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.35rem 0 1rem;
    background: #fff;
    /* border-bottom: 1px solid var(--color-border); */
    z-index: 2;
  }

  .nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav-drawer__close svg {
    width: 28px;
    height: 28px;
  }

  /* .nav-drawer__close:hover {
    background: var(--color-surface);
    color: var(--color-brand);
  } */

  .nav a {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }

  body.nav-drawer-open .nav-drawer-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.nav-drawer-open {
    overflow: hidden;
  }

  main .hero {
    height: auto
  }

  main .hero h1 {
    padding-top: unset
  }
}

@media (min-width: 1025px) {
  .nav-drawer-backdrop {
    display: none !important;
  }

  .nav-drawer__toolbar {
    display: none !important;
  }
}

/* --- New Premium UI Components --- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.visual-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(230, 50, 75, 0.15);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-brand);
  border: 1px solid rgba(230, 50, 75, 0.1);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.timeline-stepper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.timeline-stepper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 2px;
  background: var(--color-brand);
  opacity: 0.2;
}

.timeline-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.timeline-step::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: -2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--color-border);
}

.workflow-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .workflow-container {
    flex-direction: row;
    align-items: stretch;
  }
}

.workflow-box {
  flex: 1;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  position: relative;
}

.workflow-box h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
}

.workflow-box--problem {
  background: #fafafa;
  border-left: 4px solid var(--color-text-muted);
}

.workflow-box--problem h4 {
  color: var(--color-text-muted);
}

.workflow-box--solution {
  background: var(--color-surface-accent);
  border-left: 4px solid var(--color-brand);
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

@media (max-width: 767px) {
  .workflow-arrow {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
}
/* ==========================================================================
   Infographic Components Setup
   ========================================================================== */

/* --- 1. VS Diagram --- */
.vs-header-board { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--color-border); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
.vs-header-left, .vs-header-right { flex: 1; display: flex; align-items: center; justify-content: space-around; }
.vs-header-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.vs-header-item svg { width: 36px; height: 36px; padding: 6px; background: var(--color-surface-accent); border-radius: 50%; color: var(--color-brand); }
.vs-header-item span { font-size: 0.85rem; font-weight: 700; color: var(--color-brand-dark); line-height: 1.25;}
.vs-header-arrow { width: 20px; height: 20px; color: var(--color-text-muted); opacity: 0.5; }
.vs-badge-main { flex: 0 0 auto; margin: 0 2rem; font-size: 1.7rem; font-weight: 900; color: #dc2626; }

.vs-row-container { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 4rem;}
.vs-row { display: flex; align-items: center; justify-content: space-between; background: #fff; padding: 1.5rem 2rem; border-radius: 3rem; box-shadow: 0 4px 12px rgba(0,0,0,0.03); border: 1px solid var(--color-border); position: relative;}
.vs-badge-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #1e293b; color: #fff; font-size: 0.85rem; font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 20px; border-right: 4px solid #dc2626;  min-width: 140px; text-align: center; }
.vs-col-left { display: flex; align-items: center; gap: 0.75rem; width: 45%; justify-content: flex-end; color: var(--color-text-muted); font-weight: 600; padding-right: 2rem;}
.vs-col-left svg { width: 20px; height: 20px; color: #94a3b8; }
.vs-col-right { display: flex; align-items: center; gap: 0.75rem; width: 45%; justify-content: flex-start; color: #111827; font-weight: 700; padding-left: 2.5rem; }
.vs-col-right svg { width: 20px; height: 20px; color: #dc2626; }

@media (max-width: 767px) {
  .vs-badge-label { position: relative; left: auto; top: auto; transform: none; display: inline-block; margin-bottom: 0.5rem; }
  .vs-row { flex-direction: column; text-align: center; border-radius: 1.5rem; }
  .vs-col-left, .vs-col-right { width: 100%; justify-content: center; padding: 0.5rem 0; }
  .vs-col-left { align-items: center; flex-direction: column-reverse; }
  .vs-col-right { flex-direction: column; }
}

/* --- 2. Numbered Flow Steps --- */
.step-grid-row { display: grid; grid-template-columns: 320px 40px 1fr; align-items: center; justify-items: center; margin-bottom: 1.2rem; }
.step-left-box { display: flex; align-items: center; gap: 1rem; background: #e0e7ff; padding: 1.8rem 2rem; border-radius: 12px; position: relative; overflow: hidden; height: 100%; width: 100%;}
.step-left-box::before { content: ''; position: absolute; top:0; left:0; width:6px; height:100%; background: #4f46e5; }
.step-num-badge { position: absolute; top: -10px; left: -15px; font-size: 0.9rem; font-weight: 800; color: #fff; background: #4f46e5; padding: 20px 20px 5px 25px; transform: rotate(-45deg); letter-spacing: 0.05em; }
.step-left-box h4 { margin: 0; font-size: 1.05rem; font-weight: 800; color: #111827; }
.step-left-box svg { width: 36px; height: 36px; flex-shrink: 0; color: #dc2626;}
.step-arrow-icon { color: #94a3b8; width: 24px; height: 24px; }
.step-right-box { background: #fff; border: 1px solid #c7d2fe; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; height: 100%; width: 100%;}
.step-right-header { background: #eff6ff; padding: 0.8rem; text-align: center; color: #1e3a8a; font-weight: 700; font-size: 0.95rem; border-bottom: 1px solid #bfdbfe; }
.step-right-list { padding: 1.2rem; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 0.75rem;}
.step-right-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; color: #4b5563; }
.step-right-list li svg { width: 16px; height: 16px; color: #64748b; }
.step-footer-alert { background: #fee2e2; border-radius: 8px; padding: 1.5rem; text-align: center; display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; margin-bottom: 4rem; }
.step-footer-alert p { margin: 0; color: #1f2937; }
.step-footer-alert strong { color: #b91c1c; font-size: 1.05rem; }
@media (max-width: 900px) {
  .step-grid-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-arrow-icon { transform: rotate(90deg); margin: 0.5rem auto;}
}

/* --- 3. Architecture Chart Layout --- */
.architecture-container { display: grid; grid-template-columns: 240px 40px 1fr 40px 240px; align-items: stretch; gap: 0; margin-bottom: 4rem; background: #fafafa; padding: 2rem; border-radius: 16px; border: 1px solid var(--color-border); }
.arch-col { display: flex; flex-direction: column; gap: 1rem; }
.arch-block { border: 2px solid transparent; border-radius: 12px; background: #fff; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.arch-block--blue { border-color: #0ea5e9; }
.arch-block--blue .arch-header { background: #0ea5e9; color: #fff; }
.arch-block--red { border-color: #dc2626; }
.arch-block--red .arch-header { background: #dc2626; color: #fff; }
.arch-block--purple { border-color: #8b5cf6; }
.arch-block--purple .arch-header { background: #8b5cf6; color: #fff; text-align:center;}
.arch-block--green { border-color: #10b981; }
.arch-block--green .arch-header { background: #10b981; color: #fff; text-align:center;}
.arch-header { padding: 0.85rem; font-weight: 800; text-align: center; font-size: 1.05rem; }
.arch-body { padding: 1.2rem 1rem; display: flex; flex-direction: column; gap: 0.85rem; background: #fff; align-items: stretch;}
.arch-body--red-bg { background: #fef2f2; align-items:center; }
.arch-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.arch-item { border: 1px solid #e2e8f0; border-radius: 30px; padding: 0.6rem 1.2rem; font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 0.75rem; justify-content: center; background: #fff; color: #334155; white-space:nowrap;}
.arch-item--left { justify-content: flex-start; padding-left: 1.5rem; }
.arch-item--red { border-radius:30px; padding: 1rem 2rem; border-color: #fca5a5; color: #991b1b; gap: 1rem; width: 80%; justify-content: flex-start;}
.arch-item svg { width: 18px; height: 18px; flex-shrink:0;}
.arch-item--red svg { color: #dc2626; width:22px; height:22px;}
.arch-connector { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem;}
.arch-connector svg { color: #dc2626; width: 28px; height: 28px;}
.arch-h-connector { display: flex; align-items: center; justify-content: center; padding: 10px 0;}
.arch-h-connector svg { color: #8b5cf6; width: 28px; height: 28px;}
@media (max-width: 1100px) {
  .architecture-container { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .arch-connector { transform: rotate(90deg); flex-direction: row; }
}

/* --- 4. Kakao Flow Pipeline --- */
.pipeline-container { display: grid; grid-template-columns: 200px 30px 240px 30px 1fr; align-items: stretch; gap: 0.5rem; margin-bottom: 4rem; padding-bottom: 1rem;}
.pipe-col { display: flex; flex-direction: column; }
.pipe-box { background: #fff; border-radius: 12px; border: 1px solid var(--color-border); flex-grow: 1; display:flex; flex-direction: column; position: relative;}
.pipe-box-bg--yellow { background: #fef9c3; border-color: #fde047; }
.pipe-box-bg--blue-light { background: #eff6ff; border-color: #bfdbfe; }
.pipe-box-bg--red-light { background: #fef2f2; border-color: #fecaca; }
.pipe-header { padding: 1rem; text-align: center; font-weight: 800; font-size: 1.05rem; }
.pipe-header--yellow { color: #b45309; }
.pipe-header--blue { color: #1e3a8a; }
.pipe-header--red { color: #991b1b; }
.pipe-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; justify-content: center; flex-grow:1;}
.pipe-node { width: 100%; background: #fff; border-radius: 8px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); padding: 1.5rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; border-top: 3px solid transparent;}
.pipe-node--blue { border-top-color: #3b82f6;}
.pipe-node--yellow { border-top-color: #eab308;}
.pipe-node h4 { margin:0; font-weight:800; font-size:1.05rem;}
.pipe-node svg { width:32px; height:32px; margin-bottom:0.5rem;}
.pipe-arrow { display: flex; align-items: center; justify-content: center; }
.pipe-arrow svg { color: #3b82f6; width: 28px; height: 28px; }
.pipe-core { background: #fff; border: 2px solid #3b82f6; border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.8rem; width: 100%; position: relative;}
.pipe-core-head { color: #1e40af; font-weight: 800; text-align: center; font-size: 1.15rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 1rem; margin-bottom: 0.5rem;}
.pipe-inner-step { background: #dcfce7; border: 1px solid #86efac; border-radius: 30px; padding: 0.6rem 1.2rem; display: flex; align-items: center; gap: 1rem; font-size: 0.95rem; font-weight: 700; color: #166534;}
.pipe-inner-sub { font-size: 0.8rem; color: #15803d; font-weight: 500; }
.pipe-inner-step-num { width: 26px; height: 26px; border-radius: 50%; background: #22c55e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink:0;}
.pipe-db-box { border: 2px solid #60a5fa; border-radius: 8px; background: #eff6ff; padding: 1rem; margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: #1e3a8a;}
.pipe-db-box ul { padding-left: 1rem; margin: 0;}

@media (max-width: 1024px) {
  .pipeline-container { display: flex; flex-direction: column; overflow: hidden;}
  .pipe-arrow { transform: rotate(90deg); margin: 0.5rem 0;}
}
