@charset "utf-8";

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

  /* Text */
  --text-ink: #0f172a;
  --text-heading: #1e293b;
  --text-body: #64748b;
  --text-body-strong: #475569;
  --text-row: #334155;
  --text-muted: #94a3b8;
  --text-ink-secondary: #3e3f3f;

  /* 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,
h2,
h3,
p {
  margin: 0;
}

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

: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;
}

/* 히어로용 — 흰 배경 + 테두리 변형 (514:1740) */
.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:4605) */
.btn-primary--on-gradient {
  background: #fff;
  color: var(--indigo-700);
}

/* 재사용 — 칩 (chip) · 배경/글자색만 변형 */
.chips {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  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--green  { background: var(--success-bg);  color: var(--success-fg); }
.chip--red    { background: var(--danger-bg);   color: var(--danger-fg); }
.chip--slate  { background: var(--bg-subtle);   color: var(--text-body); }
.chip--white  { background: #fff;               color: var(--text-body); }

/* 재사용 — 섹션 헤드 (514:8085 / 515:2510) */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

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

/* --------------------------------------------------------------------------
   5. GNB — Intro/GNB (514:1718) · 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 (514:1739)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px var(--pad-x);
  background: var(--bg-page);
  overflow: hidden;
}

/* 배경 글로우 — 514:1744 / 1745 / 1746
   원본은 blur 포함 SVG. 좌표는 프레임 기준이므로 inset 보정값 포함.
   --frame-left = 화면 중앙에 놓인 1440 프레임의 왼쪽 모서리 위치.
   화면이 넓어져도 글로우가 내용과 같이 중앙에 따라붙는다.
   (위치·크기 모두 02.활용사례와 동일) */
.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: 56px;
  width: 100%;
}

/* Title wrap (512:2490) */
.hero__title-wrap {
  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;
}

.hero__cta {
  display: flex;
  padding-top: 14px;
}

/* --------------------------------------------------------------------------
   7. mock-window — 알림 도착 화면 예시 (515:4924)
   -------------------------------------------------------------------------- */
.mock-window {
  width: 600px;
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: var(--surface-card);
  overflow: hidden;
  box-shadow:
    0 18px 22px rgba(15, 23, 41, 0.14),
    0 18px 40px -6px rgba(38, 41, 102, 0.14);
}

.mock-window__topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 20px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-default);
}

.mock-window__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface-card);
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-head__avatar {
  display: block;
  flex: none;
  width: 28px;
  height: 28px;
}

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

.mock-head__time {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--text-muted);
  white-space: nowrap;
}

.mock-bubble {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-subtle);
}

.mock-bubble__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.375px;
  color: var(--text-ink);
  white-space: nowrap;
}

.mock-window__caption {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. 네 영역 — section-products (514:8084)
   벤토 2×2. 588×333 고정 (588×2 + gap 24 = 내용 폭 1200)
   -------------------------------------------------------------------------- */
.products {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 104px var(--pad-x);
  background: var(--bg-page);
}

.change-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-6);
  width: 100%;
  padding: 15px 0;
}

.bento {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: none;
  width: 588px;
  height: 333px;
  padding: var(--space-8);
  border: 1px solid var(--border-default);
  border-radius: 20px;
  background: var(--surface-card);
  box-shadow: 0 10px 24px -4px rgba(26, 31, 77, 0.06);
  overflow: hidden;
}

.bento__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
}

.bento__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text-ink);
}

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

/* 카드 내부 목업 박스 */
.visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 20px;
  border-radius: 16px;
}

.visual--slate  { background: var(--bg-page); }
.visual--indigo { background: var(--indigo-50); }

.visual__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
}

.visual__head-label {
  flex: 1 0 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.325px;
  color: var(--text-ink);
}

.row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--border-default);
  border-radius: 10px;
  background: var(--surface-card);
}

.row__label {
  flex: 1 0 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.325px;
  color: var(--text-row);
}

.visual__note {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--text-body);
}

/* PMS 타임바 (514:8153)
   디자인 자식 폭 합(172+378=550)이 부모(482)를 넘으므로 같은 비율로 환산 */
.timebar {
  display: flex;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: var(--surface-card);
  overflow: hidden;
}

.timebar__past {
  flex: 172 0 0;
  background: var(--brand-300);
}

.timebar__next {
  flex: 378 0 0;
  background: var(--brand-primary);
}

.timebar-scale {
  display: flex;
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.275px;
}

.timebar-scale__left {
  flex: 1 0 0;
  min-width: 0;
  color: var(--text-body);
}

.timebar-scale__right {
  flex: 1 0 0;
  min-width: 0;
  color: var(--brand-primary);
  text-align: right;
}

/* --------------------------------------------------------------------------
   9. FAQ — section-faq (515:2509)
   디자인에 접힘 표시가 없어 정적 노출
   -------------------------------------------------------------------------- */
.faq {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-10);
  padding: 70px var(--pad-x);
  background: var(--bg-page);
}

.faq .section-head {
  gap: 14px;
}

/* 좌우 120 추가 → 아이템 폭 960 (디자인 동일) */
.faq-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 0 120px;
}

.faq-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
  width: 100%;
  padding: 28px var(--space-8);
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--surface-card);
}

.q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--space-2);
  background: var(--brand-50);
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.35px;
}

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

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

/* 원본 텍스트 노드 폭(880)이 부모(838)를 넘어, 부모 폭에 맞춰 줄바꿈시킨다 */
.faq-item__a {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.375px;
  color: var(--text-body);
  word-break: keep-all;
}

/* --------------------------------------------------------------------------
   10. Closing — section-closing (515:2534)
   -------------------------------------------------------------------------- */
.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;
}

/* --------------------------------------------------------------------------
   11. Footer — Intro/Footer (515:4329) · 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;
}

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