/* WorldSoft 사이트 — 로고(하늘색 지구 W)에서 가져온 색 */
:root {
  --sky: #9cc7e4;      /* 로고 밝은 하늘색 */
  --blue: #6ea4cf;     /* 로고 글자 파랑 (꾸밈용) */
  --deep: #2b6a9b;     /* 버튼·링크 (흰 글자와 대비 충분) */
  --deep-2: #215681;   /* 버튼 누를 때 */
  --ink: #18324a;      /* 본문 글자 (검정 대신 남색) */
  --ink-2: #4a6378;    /* 보조 글자 */
  --mist: #f2f7fb;     /* 띠 배경 */
  --line: #d9e6f0;     /* 구분선 */
  --rose: #c2564b;     /* '손상' 표시에만 */
  --paper: #ffffff;
  --wrap: 1120px;
  --kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif;
  --brand: "Montserrat", var(--kr);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--kr);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--deep-2); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* ---------- 머리 ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo .mark { width: 34px; height: 34px; }
.logo .word { height: 19px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  background: var(--deep); color: #fff;
  border-radius: 12px; border: 0;
  font: 700 17px/1 var(--kr);
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--deep-2); color: #fff; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
/* 아직 내려받을 수 없을 때 (business.txt 의 내려받기=닫힘) */
.btn.off, .btn.off:hover { background: #e4eaef; color: #7c8d9b; cursor: not-allowed; }
.nav .btn.off { color: #7c8d9b; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- 첫 화면 ---------- */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero .wrap { position: relative; }
/* 로고의 지구 W를 크게, 아주 옅게 (첫 화면 오른쪽) */
.globe {
  position: absolute; z-index: -1;
  right: -40px; top: -48px;
  width: 520px; height: 520px;
  opacity: 0.16;
  pointer-events: none; user-select: none;
}
.hero .wrap > *:not(.globe) { position: relative; }
@media (max-width: 960px) { .globe { width: 360px; height: 360px; right: -90px; top: -30px; opacity: 0.12; } }
@media (max-width: 640px) { .globe { display: none; } }
.product { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 700 20px/1 var(--brand); color: var(--ink); letter-spacing: -0.01em; }
.product img { width: 26px; height: 26px; }
.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 13em;
}
.lede { margin: 24px 0 0; max-width: 34em; font-size: 19px; color: var(--ink-2); }
.cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cta .req { color: var(--ink-2); font-size: 15px; }

/* 드라이브 그림: 처음부터 끝까지 읽으며 지운 파일 조각을 찾는 모습 */
.drive {
  position: relative;
  margin: 64px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #f7fbfe 0%, #ffffff 100%);
}
.cells {
  display: grid;
  grid-template-columns: repeat(var(--cols, 40), 1fr);
  gap: 4px;
}
.cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: #e8eff5;
  transition: background-color 0.35s ease;
  transition-delay: calc(var(--c) * 28ms);
}
.drive.read .cell { background: #edf3f8; }
.drive.read .cell.f { background: var(--blue); }
.drive.read .cell.f2 { background: var(--sky); }
.drive.read .cell.bad { background: #e3a59d; }
.drive.read .cell.used { background: #dbe5ee; }
.cellbox { position: relative; }
.sweep {
  position: absolute; top: -6px; bottom: -6px; width: 3px; left: 0;
  background: var(--deep); border-radius: 3px; opacity: 0;
  box-shadow: 0 0 12px rgba(43, 106, 155, 0.45);
}
.drive.read .sweep { animation: sweep calc(var(--cols, 40) * 28ms) linear forwards; }
@keyframes sweep {
  0% { left: 0; opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.tags { position: relative; height: 66px; margin-top: 14px; }
.tag {
  position: absolute; top: 0;
  transform: translate(-12px, 10px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 6px 18px rgba(24, 50, 74, 0.08);
  font-size: 14px; line-height: 1.35;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: calc(var(--c) * 28ms + 250ms);
}
.tag b { display: block; font-weight: 700; color: var(--ink); }
.tag span { color: var(--ink-2); }
.tag.bad span { color: var(--rose); font-weight: 600; }
.drive.read .tag { opacity: 1; transform: translate(-12px, 0); }
.tag::before {
  content: ""; position: absolute; left: 11px; top: -15px;
  width: 2px; height: 14px; background: var(--blue); border-radius: 2px;
}
.tag.bad::before { background: #e3a59d; }
.tag.end { transform: translate(calc(-100% + 12px), 10px); }
.drive.read .tag.end { transform: translate(calc(-100% + 12px), 0); }
.tag.end::before { left: auto; right: 11px; }
.drive-note { margin: 14px 4px 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) {
  .drive { padding: 12px; border-radius: 16px; }
  .cells { gap: 3px; }
  .tag.wide-only { display: none; }
  .tag { font-size: 13px; padding: 6px 10px; }
  .tags { height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .cell, .tag { transition: none; }
  .drive.read .sweep { animation: none; }
}

/* ---------- 구역 공통 ---------- */
.band { padding: 96px 0; }
.band.mist { background: var(--mist); }
.band h2 { margin: 0; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 800; }
.band .sub { margin: 14px 0 0; color: var(--ink-2); max-width: 38em; }
@media (max-width: 640px) { .band { padding: 64px 0; } }

/* 복구하기 전에 */
.before { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { padding: 22px 0 22px 34px; border-top: 1px solid var(--line); position: relative; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules li::before {
  content: ""; position: absolute; left: 4px; top: 31px;
  width: 12px; height: 12px; border-radius: 50%;
  border: 3px solid var(--deep);
}
.rules b { display: block; font-size: 18px; }
.rules span { color: var(--ink-2); }
@media (max-width: 860px) { .before { grid-template-columns: 1fr; gap: 24px; } }

/* 사용 방법 (순서) */
.how { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; margin-top: 44px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 0 0 30px; }
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mist); color: var(--deep);
  font: 700 18px/1 var(--brand);
}
.steps b { font-size: 19px; padding-top: 6px; }
.steps span { color: var(--ink-2); }
.shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #c9d9e6;
  box-shadow: 0 30px 60px -30px rgba(24, 50, 74, 0.45);
  background: #10161d;
}
.shot figcaption { padding: 10px 14px; font-size: 13px; color: #9fb3c4; background: #10161d; }
@media (max-width: 960px) { .how { grid-template-columns: 1fr; gap: 32px; } }

/* 되찾는 것 */
.does { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin-top: 40px; }
.does div { padding: 24px 0; border-top: 1px solid var(--line); }
.does h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.does p { margin: 0; color: var(--ink-2); }
.does .bad-word { color: var(--rose); font-weight: 700; }
@media (max-width: 760px) { .does { grid-template-columns: 1fr; } }

/* 요금 */
.price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { border-radius: 18px; padding: 30px 30px 28px; background: #fff; border: 1px solid var(--line); }
.plan.paid { border: 2px solid var(--deep); }
.plan h3 { margin: 0; font-size: 18px; color: var(--ink-2); font-weight: 600; }
.amount { margin: 10px 0 18px; font: 800 52px/1 var(--brand); letter-spacing: -0.03em; color: var(--ink); }
.amount small { font: 700 22px/1 var(--kr); margin-left: 4px; letter-spacing: 0; }
.plan ul { margin: 0; padding: 0 0 0 20px; }
.plan li { margin: 6px 0; }
.plan li::marker { color: var(--blue); }
.price-note { margin: 22px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } .amount { font-size: 44px; } }

/* 자주 묻는 질문 */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 27px;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--deep); border-bottom: 2.5px solid var(--deep);
  transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); top: 31px; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 44em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* 마지막 내려받기 */
.last { text-align: left; }
.last .cta { margin-top: 26px; }

/* ---------- 바닥 ---------- */
.foot { background: var(--mist); border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 14px; color: var(--ink-2); }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; align-items: center; }
.foot .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot .links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot .links a.strong { font-weight: 800; }
.foot .links a:hover { text-decoration: underline; }
.biz { margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.biz span { white-space: nowrap; }
.copy { margin: 18px 0 0; }

/* ---------- 약관 등 글 페이지 ---------- */
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.25; }
.doc .meta { margin: 10px 0 36px; color: var(--ink-2); }
.doc h2 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -0.02em; }
.doc p, .doc li { color: #2a4257; }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--mist); font-weight: 700; }
.doc .box { background: var(--mist); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.todo { background: #fff3cd; border-radius: 4px; padding: 0 4px; }
.tablewrap { overflow-x: auto; }
