/* =========================================================
   보닥 플래너 리크루팅 랜딩페이지
   브랜드 컬러는 아래 :root 변수만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  --brand: #233fd2;        /* 보닥 브랜드 키컬러(partners-site 와 동일) */
  --brand-600: #1a2e99;
  --brand-50: #e5e9fa;
  --accent: #7c8de9;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6B7280;
  --line: #E5E7EB;
  --bg-soft: #F6F8FB;
  --danger: #E5484D;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --maxw: 1120px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 640px; }
.center { text-align: center; }
.m-only { display: none; }
@media (max-width: 640px) { .m-only { display: inline; } .d-only { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; letter-spacing: -0.01em;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(35, 63, 210, .28); }
.btn-primary:hover { background: var(--brand-600); }
.btn-white { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0, 0, 0, .15); }
.btn-white:hover { transform: translateY(-2px); }
.btn-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); }
.btn-glass:hover { background: rgba(255,255,255,.28); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease, color .25s;
  color: #fff;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #fff, rgba(255,255,255,.55)); }
.brand-name { font-size: 20px; letter-spacing: -0.03em; }
.brand-divider { width: 1px; height: 14px; background: currentColor; opacity: .5; }
.brand-sub { font-size: 14px; font-weight: 600; opacity: .9; }
.site-header.scrolled { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.site-header.scrolled .brand-mark { background: linear-gradient(135deg, var(--brand), var(--accent)); }
.site-header.scrolled .btn-glass { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: #fff; isolation: isolate;
  background: var(--brand);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 50%, #7c8de9 0%, var(--brand) 55%, #1a2e99 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.b1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: #7c8de9; animation: float1 14s ease-in-out infinite; }
.b2 { width: 55vw; height: 55vw; right: -20vw; bottom: -25vw; background: var(--accent); animation: float2 16s ease-in-out infinite; }
.b3 { width: 35vw; height: 35vw; left: 35vw; top: 30%; background: #b3bdf3; opacity: .6; animation: float1 18s ease-in-out infinite reverse; }
.beam { position: absolute; left: -10%; right: -10%; top: 50%; height: 22vh; transform: translateY(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); filter: blur(20px); animation: pulse 6s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vw, 5vw) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6vw, -4vw) scale(1.1); } }
@keyframes pulse { 0%,100% { opacity: .55; } 50% { opacity: .95; } }

.hero-inner { text-align: center; padding-top: var(--header-h); }
.hero-eyebrow { font-size: clamp(16px, 2.2vw, 22px); font-weight: 700; opacity: .95; margin-bottom: 18px; }
.hero-title {
  font-size: clamp(52px, 11vw, 140px); font-weight: 800; line-height: 1.02; letter-spacing: -0.05em;
  text-shadow: 0 10px 40px rgba(26, 46, 153, .25);
}
.hero-sub { margin: 28px auto 40px; font-size: clamp(16px, 2vw, 20px); opacity: .92; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
@media (max-width: 640px) { .section { padding: 84px 0; } }
.section-head { margin-bottom: 56px; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .12em; color: var(--brand); margin-bottom: 14px; }
.h2 { font-size: clamp(26px, 4.6vw, 48px); font-weight: 800; line-height: 1.3; letter-spacing: -0.035em; }
.h2.white { color: #fff; }
.lead { margin-top: 28px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); line-height: 1.8; }
.lead strong { color: var(--brand); }
.muted { margin-top: 16px; color: var(--ink-3); }

/* ---------- Values ---------- */
.values { padding-top: 0; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; } }
.value-card {
  position: relative; padding: 40px 32px 44px; border-radius: 28px; background: var(--bg-soft); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(35,63,210,.14), transparent 70%); }
.value-icon { width: 56px; height: 56px; color: var(--brand); margin-bottom: 28px; }
.value-icon svg { width: 100%; height: 100%; }
.value-card h3 { font-size: 24px; line-height: 1.38; letter-spacing: -0.03em; margin-bottom: 14px; }
.value-card p { color: var(--ink-2); font-size: 16px; }

/* ---------- Support ---------- */
.support { background: var(--bg-soft); }
.support-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  background: #fff; border-radius: 32px; padding: 56px; box-shadow: var(--shadow); margin-bottom: 20px;
}
@media (max-width: 900px) { .support-feature { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; } }
.tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.support-text h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.35; letter-spacing: -0.03em; margin-bottom: 16px; }
.support-text p { color: var(--ink-2); font-size: 17px; }
.support-visual { display: flex; justify-content: center; }
.mock-card { width: 100%; max-width: 340px; padding: 26px; border-radius: 24px; background: linear-gradient(160deg, #fff, var(--brand-50)); border: 1px solid #dadff6; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed #d5daf3; font-weight: 600; font-size: 15px; }
.mock-val { margin-left: auto; font-size: 13px; color: var(--ink-3); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.ok { background: #22C55E; } .mock-dot.warn { background: #F59E0B; } .mock-dot.dup { background: #A78BFA; }
.mock-bar { margin-top: 20px; height: 10px; border-radius: 99px; background: #dadff6; overflow: hidden; }
.mock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 99px; }
.mock-caption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }

.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .support-grid { grid-template-columns: 1fr; } }
.support-mini { background: #fff; border-radius: 24px; padding: 28px 24px; }
.mini-num { font-size: 14px; font-weight: 800; color: var(--brand); margin-bottom: 14px; }
.support-mini h4 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.support-mini p { font-size: 15px; color: var(--ink-3); }

/* ---------- Process ---------- */
.process-tabs { display: flex; justify-content: center; gap: 6px; margin: -24px auto 40px; padding: 5px; background: var(--bg-soft); border-radius: 999px; width: max-content; }
.ptab { padding: 10px 28px; border-radius: 999px; font-weight: 700; color: var(--ink-3); transition: all .2s; }
.ptab.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.steps { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; counter-reset: s; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 140px; font-weight: 700; font-size: 16px; text-align: center; }
.steps li span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 18px; font-weight: 800; }
.steps li:last-child span { background: var(--brand); color: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 36px); width: calc(100% - 60px); height: 2px; background: repeating-linear-gradient(90deg, #c4ccf5 0 6px, transparent 6px 12px); }
@media (max-width: 720px) {
  .steps { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; gap: 0; }
  .steps li { flex-direction: row; width: auto; padding: 10px 0; text-align: left; }
  .steps li:not(:last-child)::after { top: 62px; left: 27px; width: 2px; height: 18px; background: repeating-linear-gradient(180deg, #c4ccf5 0 4px, transparent 4px 8px); }
}

/* ---------- Apply Form ---------- */
.apply { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.apply-form, .apply-done { background: #fff; border-radius: 32px; padding: 44px 40px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .apply-form, .apply-done { padding: 32px 22px; border-radius: 24px; } }
.field { border: 0; margin-bottom: 22px; }
.field label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--line);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { height: auto; padding: 14px 18px; resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #A3AAB8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(35,63,210,.12); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select:invalid { color: #A3AAB8; }
.field input[readonly] { background: var(--bg-soft); color: var(--ink-2); cursor: default; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.seg input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); font-weight: 700; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(35,63,210,.18); }
.field.invalid .seg span { border-color: var(--danger); }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--ink-2); margin-bottom: 14px; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex-shrink: 0; }
.consent { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); margin-top: 8px; }
.consent .check { margin: 0; }
.req { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 6px; background: var(--brand-50); color: var(--brand); font-size: 12px; }
.link-btn { color: var(--ink-3); text-decoration: underline; font-size: 14px; }
.err { min-height: 0; color: var(--danger); font-size: 13px; margin-top: 6px; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#submitBtn { margin-top: 28px; position: relative; }
#submitBtn .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
#submitBtn.loading { pointer-events: none; opacity: .85; }
#submitBtn.loading .btn-label { display: none; }
#submitBtn.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-msg { margin-top: 12px; text-align: center; font-size: 14px; color: var(--danger); }
.form-msg:empty { display: none; }
.notes { list-style: none; margin-top: 24px; font-size: 13px; color: var(--ink-3); display: grid; gap: 4px; }

.apply-done { text-align: center; padding: 64px 32px; }
.done-icon { width: 72px; height: 72px; margin: 0 auto 20px; color: var(--brand); }
.apply-done h3 { font-size: 24px; margin-bottom: 10px; letter-spacing: -0.02em; }
.apply-done p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 700; position: relative; letter-spacing: -0.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q."; color: var(--brand); margin-right: 8px; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list ul { list-style: none; padding: 0 0 24px 26px; display: grid; gap: 6px; color: var(--ink-2); }
.faq-list li { position: relative; padding-left: 14px; }
.faq-list li::before { content: "•"; position: absolute; left: 0; color: var(--ink-3); }

/* ---------- Closing ---------- */
.closing { position: relative; padding: 140px 0; overflow: hidden; isolation: isolate; color: #fff; }
.closing-actions { margin-top: 40px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0F172A; color: #94A3B8; padding: 48px 0 120px; font-size: 13px; line-height: 1.9; }
.f-company { color: #E2E8F0; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.f-links a { color: #E2E8F0; text-decoration: underline; }
.f-copy { margin-top: 12px; }
@media (min-width: 901px) { .site-footer { padding-bottom: 48px; } }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
@media (min-width: 901px) { .sticky-cta { display: none; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 641px) { .modal { align-items: center; } }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); animation: fade .2s ease; }
.modal-panel { position: relative; width: 100%; max-width: 520px; max-height: 85vh; overflow: auto; background: #fff; border-radius: 24px 24px 0 0; padding: 32px 24px calc(24px + env(safe-area-inset-bottom)); animation: up .25s ease; }
@media (min-width: 641px) { .modal-panel { border-radius: 24px; padding: 36px 32px; } }
.modal-panel h3 { font-size: 20px; margin-bottom: 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 14px; }
.ptable th, .ptable td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.ptable th { width: 30%; background: var(--bg-soft); font-weight: 700; }
.modal-note { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); background: rgba(17,24,39,.92); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .25s; z-index: 120; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
