@charset "utf-8";

/* ==========================================================================
   비드캐치 — 02.활용사례 (Figma node 506:1639)
   데스크톱 전용. 모바일/태블릿 반응형 없음.
   배경(GNB · 히어로 · 푸터 등)은 뷰포트 폭 100%로 펼치고,
   내용 폭은 디자인과 동일하게 1440 기준(내용 1200 / 클로징 960)으로 중앙 고정.
   1440보다 좁은 화면은 기존과 같이 가로 스크롤.
   근거: WIKI-BC-0093(디자인 시스템 v12),
         WIKI-BC-0113 제약 9번 "모바일/반응형 디자인을 임의로 생성하지 않는다"
   토큰 / GNB / Footer / btn-primary 는 01.Main/style.css 와 동일 정의 (의도적 복제,
   두 페이지가 각자 독립 실행 가능해야 하므로 import 하지 않음)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 폰트 — Pretendard (WIKI-BC-0093 §3)
   -------------------------------------------------------------------------- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");

/* --------------------------------------------------------------------------
   2. 토큰 (WIKI-BC-0093 §2 · §5)
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-300: #c7d2fe;
  --brand-primary: #2563eb;
  --brand-700: #1d4ed8;

  /* Indigo */
  --indigo-50: #eef2ff;
  --indigo-400: #818cf8;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;

  /* Semantic */
  --category-fg: #7e22ce;
  --category-bg: #f3e8ff;
  --notice-fg: #ff9f6c;

  /* Text */
  --text-heading: #1e293b;
  --text-body: #64748b;
  --text-body-strong: #475569;
  --text-muted: #94a3b8;
  --text-ink-secondary: #3e3f3f;
  --text-ghost-no: #e6ecf8;      /* 카드 우측 대형 번호 */

  /* Border / Surface */
  --border-default: #e2e8f0;
  --border-hairline: #ccc;
  --bg-page: #f8fafc;
  --bg-subtle: #f1f5f9;
  --surface-card: #ffffff;
  --footer-bg: #0f172a;

  /* Spacing (§9) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;

  /* Layout */
  --page-width: 1440px;
  --gutter: 120px;
  --gutter-closing: 240px;

  /* 풀블리드 — 배경은 화면 끝까지, 내용은 1440 중앙 정렬.
     화면이 1440보다 넓으면 남는 폭을 좌우 여백으로 흡수한다.
     (내용 폭 1200px / 클로징 960px 은 디자인 그대로 유지) */
  --pad-x: max(
    var(--gutter),
    calc((100% - var(--page-width)) / 2 + var(--gutter))
  );
  --pad-x-closing: max(
    var(--gutter-closing),
    calc((100% - var(--page-width)) / 2 + var(--gutter-closing))
  );
}

/* --------------------------------------------------------------------------
   3. Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-heading);
}

h1,
p {
  margin: 0;
}

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

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. 페이지 셸 — 배경은 뷰포트 100%, 내용 폭은 1440 기준 유지
   1440보다 좁은 화면에서는 기존과 동일하게 가로 스크롤 (반응형 없음)
   -------------------------------------------------------------------------- */
.page {
  width: 100%;
  min-width: var(--page-width);
  overflow: hidden;
}

/* 재사용 — 뱃지 (block-label) */
.block-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 9999px;
  background: var(--indigo-50);
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.35px;
  white-space: nowrap;
}

/* 히어로용 — 흰 배경 + 테두리 변형 (515:2582) */
.block-label--outline {
  background: #fff;
  border: 1px solid var(--brand-300);
}

/* 재사용 — CTA 버튼 (필형) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 30px;
  border-radius: 9999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.4px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.28);
}

/* 클로징 그라디언트 위 — 흰 버튼 (515:4603) */
.btn-primary--on-gradient {
  background: #fff;
  color: var(--indigo-700);
}

/* --------------------------------------------------------------------------
   5. GNB — Intro/GNB (506:1640) · 01.Main과 동일
   -------------------------------------------------------------------------- */
.gnb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--pad-x);
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-default);
}

.gnb__left {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.gnb__logo {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.55px;
  color: var(--text-heading);
  white-space: nowrap;
}

.gnb__nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.gnb__nav a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.375px;
  color: var(--text-body-strong);
  white-space: nowrap;
}

.gnb__item {
  position: relative;
}

.gnb__dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 390px;
  padding: var(--space-3) var(--space-3) calc(var(--space-3) + 12px);
  margin-top: 12px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  z-index: 20;
  transition: opacity 0.15s ease, visibility 0s linear 0.6s;
}

.gnb__item:hover .gnb__dropdown {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.gnb__ddrow {
  display: block;
  padding: var(--space-3);
  border-radius: 12px;
}

.gnb__ddrow:hover {
  background: var(--bg-subtle);
}

.gnb__ddtitle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
}

.gnb__dddesc {
  margin-top: 2px;
  font-size: 13px;
  color: var(--text-body);
}

.gnb__right {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.gnb__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.375px;
  white-space: nowrap;
}

.gnb__btn--ghost {
  border: 1px solid rgba(204, 204, 204, 0.8);
  color: var(--text-ink-secondary);
}

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

.badge-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 9999px;
  background: var(--bg-subtle);
  color: var(--text-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. Hero — section-hero (515:2577)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px var(--pad-x);
  background: var(--bg-page);
  overflow: hidden;
}

/* 배경 글로우 — 515:2578 / 2579 / 2580
   원본은 blur 포함 SVG. 좌표는 프레임 기준이므로 inset 보정값 포함.
   --frame-left = 화면 중앙에 놓인 1440 프레임의 왼쪽 모서리 위치.
   화면이 넓어져도 글로우가 내용과 같이 중앙에 따라붙는다. */
.hero__glow {
  --frame-left: max(0px, calc((100% - var(--page-width)) / 2));
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero__glow--1 {
  left: calc(var(--frame-left) - 100px);
  top: -330px;
  width: 957px;
  height: 631px;
}

.hero__glow--2 {
  left: calc(var(--frame-left) + 920px);
  top: -40px;
  width: 675px;
  height: 571px;
}

.hero__glow--3 {
  left: calc(var(--frame-left) - 320px);
  top: -100px;
  width: 667px;
  height: 564px;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero__headline {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  color: var(--text-heading);
  white-space: nowrap;
}

.hero__subcopy {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color: var(--text-body-strong);
  white-space: nowrap;
}

/* notice (필수 고지 · 끌 수 없음) — 515:2606 */
.hero__notice {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.35px;
  color: var(--notice-fg);
  white-space: nowrap;
}

.hero__cta {
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   7. 업종 내비 — section-sector-nav (506:1662)
   -------------------------------------------------------------------------- */
.sector-nav {
  padding: 0 var(--pad-x);
  background: var(--bg-page);
}

.sector-nav__row {
  display: flex;
  gap: 16px;
  overflow: hidden;
}

.sector {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 288.25px;
  padding: 20px 22px;
  border-right: 1px solid var(--border-hairline);
  text-align: left;
  transition: background-color 0.15s ease;
}

.sector:last-child {
  width: 287.25px;
  border-right: 0;
}

.sector:hover {
  background: rgba(37, 99, 235, 0.04);
}

.sector__no {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.325px;
  color: var(--brand-primary);
  white-space: nowrap;
}

.sector__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.45px;
  color: var(--text-heading);
  white-space: nowrap;
}

.sector__desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.35px;
  color: var(--text-muted);
}

/* 현재 펼쳐진 카드에 대응하는 탭 표시 (app.js가 토글) */
.sector[aria-current="true"] .sector__name {
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   8. 케이스 카드 — case-wrap (515:4624)
   -------------------------------------------------------------------------- */
.case-wrap {
  padding-top: 70px;
  background: var(--bg-page);
}

.case {
  padding: 0 var(--pad-x) 40px;
  scroll-margin-top: 24px;
}

.case__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 48px;
  border: 1px solid var(--border-default);
  border-radius: 28px;
  background: var(--surface-card);
  box-shadow: 0 12px 32px 0 rgba(15, 23, 41, 0.06);
  overflow: hidden;
}

/* 카드 헤더 = 아코디언 토글 버튼 (515:3043) */
.case__head {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
}

.case__head-copy {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.case__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.85px;
  color: var(--text-heading);
  text-align: left;
}

.case__no {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1.4px;
  color: var(--text-ghost-no);
  white-space: nowrap;
}

/* 펼침/접힘 화살표 — 디자인에 없는 어포던스, 아코디언 동작 안내용 */
.case__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.case__head[aria-expanded="true"] .case__chevron {
  transform: rotate(-135deg);
}

/* 접힘/펼침 애니메이션 — grid 0fr ↔ 1fr */
.case__collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.case__collapse > .case__collapse-inner {
  min-height: 0;
  overflow: hidden;
}

.case.is-open .case__collapse {
  grid-template-rows: 1fr;
}

.case__collapse-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding-top: var(--space-8);
}

/* 본문 2단 — body (515:3049) */
.case__body {
  display: flex;
  gap: var(--space-6);
  align-items: stretch;
}

.case__copy {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

/* 하단 2단 — bottom (515:3071) */
.case__bottom {
  display: flex;
  gap: var(--space-6);
  align-items: stretch;
}

/* --- 목업 (mock / 조건 · 알림 화면 예시) --- */
.mock {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: linear-gradient(116.57deg, #eff1ff 0%, #ffffff 99.077%);
}

.mock__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.325px;
  color: var(--text-muted);
  white-space: nowrap;
}

.mock__chips {
  display: flex;
  gap: var(--space-2);
}

.chip {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.275px;
  white-space: nowrap;
}

.chip--brand {
  background: var(--brand-50);
  color: var(--brand-primary);
}

.chip--purple {
  background: var(--category-bg);
  color: var(--category-fg);
}

.chip--slate {
  background: var(--bg-subtle);
  color: var(--text-body);
}

/* case-04 전용 — 보라 배경 + 인디고 텍스트 (515:2821) */
.chip--indigo {
  background: var(--category-bg);
  color: var(--indigo-700);
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0;
}

.mock__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: #fff;
}

.mock__row-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.35px;
  color: var(--text-heading);
  white-space: nowrap;
}

/* 로딩/플레이스홀더 바 */
.mock__bar {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-default);
}

/* --- 설명 박스 (box / 이런 회사입니다 등) --- */
.info-box {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-6);
  border-top: 1px solid var(--border-hairline);
}

.info-box__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.4px;
  color: var(--text-heading);
  white-space: nowrap;
}

.info-box__text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.73;
  letter-spacing: -0.375px;
  color: var(--text-body);
}

/* 팀은 이렇게 나눠 씁니다 — 보라 그라디언트, 테두리 없음 (515:3072) */
.info-box--team {
  padding: 28px;
  border-top: 0;
  border-radius: 16px;
  background: linear-gradient(165.24deg, #f3e8ff 0%, #ffffff 100%);
}

.info-box__title--team {
  color: var(--indigo-700);
}

/* 이렇게 씁니다 — 브랜드 컬러 제목 (515:3075) */
.info-box--how {
  padding: 28px;
}

.info-box__title--how {
  color: var(--brand-primary);
}

/* --------------------------------------------------------------------------
   9. Closing — section-closing (515:2636)
   -------------------------------------------------------------------------- */
.closing {
  padding: 0 var(--pad-x-closing) 70px;
  background: var(--bg-page);
}

.closing__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 64px;
  border-radius: 28px;
  background: linear-gradient(180deg, #d1d9fb 0%, #b6bef9 56.893%, #bcb7f5 100%);
  overflow: hidden;
}

.closing__headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1.2px;
  color: #fff;
  text-align: center;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.closing__subcopy {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.425px;
  color: #fff;
  opacity: 0.85;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   10. Footer — Intro/Footer (515:4327) · 01.Main과 동일
   -------------------------------------------------------------------------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-10);
  padding: 32px var(--pad-x);
  background: var(--footer-bg);
}

.footer__columns {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  width: 100%;
  overflow: hidden;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 200px;
  overflow: hidden;
}

.footer__col a {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.325px;
  color: #fff;
  white-space: nowrap;
}

.footer__bizbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--text-muted);
  overflow: hidden;
}

.biz {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  overflow: hidden;
}

.biz__key,
.biz__value {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.275px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   11. 모션 최소화 환경
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .case__collapse,
  .case__chevron {
    transition: none;
  }
}
