@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --brand: #00a79d;
  --brand-d: #00877e;
  --brand-soft: rgba(0, 167, 157, .08);
  --ink: #0f1226;
  --ink-2: #3c4664;
  --muted: #6e7694;
  --line: #e4e6f0;
  --bg: #ffffff;
  --bg-2: #f6f7fb;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 18, 38, .04), 0 8px 24px rgba(15, 18, 38, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Segoe UI', 'Malgun Gothic', sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; word-break: keep-all;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ── 헤더 ── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; height: 64px; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; text-decoration: none; letter-spacing: -.02em; }
.logo img { width: 30px; height: 30px; border-radius: 8px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav nav a:hover { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, box-shadow .12s, background .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(0,167,157,.28); }
.btn-primary:hover { background: var(--brand-d); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.nav .btn { margin-left: 4px; }

/* ── 히어로 ── */
.hero { padding: 88px 0 72px; background: radial-gradient(1000px 420px at 85% -10%, rgba(0,167,157,.14), transparent 60%), radial-gradient(800px 380px at -10% 10%, rgba(102,126,234,.10), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-d); font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.18; margin: 0 0 18px; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 30px; max-width: 520px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .meta { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* 앱 목업 */
.mock { background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(15,18,38,.16), 0 0 0 1px rgba(15,18,38,.06); overflow: hidden; }
.mock-bar { height: 36px; background: #f3f4f8; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9dce6; }
.mock-body { display: grid; grid-template-columns: 150px 1fr; min-height: 320px; }
.mock-side { background: #fafbfd; border-right: 1px solid var(--line); padding: 14px 10px; font-size: 12px; color: var(--ink-2); }
.mock-side div { padding: 7px 10px; border-radius: 8px; margin-bottom: 2px; }
.mock-side .on { background: var(--brand-soft); color: var(--brand-d); font-weight: 700; }
.mock-grid { padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.note { border-radius: 12px; padding: 12px; font-size: 12px; min-height: 92px; box-shadow: 0 1px 3px rgba(15,18,38,.08); }
.note b { display: block; font-size: 13px; margin-bottom: 6px; }
.note .chk { display: flex; gap: 6px; align-items: center; margin: 3px 0; }
.note .chk span { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .6; }
.note .chk.done span { background: currentColor; opacity: .8; }
.note .chk.done { text-decoration: line-through; opacity: .6; }

/* ── 섹션 ── */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; letter-spacing: -.03em; }
.sec-head p { color: var(--muted); margin: 0; font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .15s, transform .15s; }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ── 요금 ── */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 860px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; position: relative; }
.plan.pro { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(0,167,157,.14); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 4px; }
.plan .price-note { color: var(--muted); font-size: 14px; margin-bottom: 22px; min-height: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; }
.plan li { padding: 8px 0 8px 28px; position: relative; font-size: 15px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a79d' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan li.off { color: var(--muted); }
.plan .btn { width: 100%; }

/* ── 다운로드 ── */
.dl { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; }
.dl-main { background: linear-gradient(135deg, #0f1226 0%, #1d2550 100%); color: #fff; border-radius: 22px; padding: 38px; position: relative; overflow: hidden; }
.dl-main::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,167,157,.55), transparent 70%); }
.dl-main h3 { margin: 0 0 6px; font-size: 24px; }
.dl-main .ver { color: #a9b1d6; font-size: 14px; margin-bottom: 24px; }
.dl-main .btn-primary { position: relative; z-index: 1; }
.dl-main .sha { margin-top: 18px; font-family: ui-monospace, Consolas, monospace; font-size: 11px; color: #7c85b0; word-break: break-all; position: relative; z-index: 1; }
.dl-side { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.dl-side h4 { margin: 0 0 12px; font-size: 16px; }
.dl-side ol { margin: 0; padding-left: 20px; color: var(--ink-2); font-size: 14px; }
.dl-side ol li { margin-bottom: 8px; }
.dl-side .req { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.releases { margin-top: 22px; font-size: 14px; }
.releases summary { cursor: pointer; color: var(--muted); }
.releases table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.releases td, .releases th { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* ── 공지 ── */
.notices { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.notice { border-bottom: 1px solid var(--line); }
.notice:last-child { border-bottom: 0; }
.notice summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; gap: 12px; align-items: center; }
.notice summary::-webkit-details-marker { display: none; }
.notice summary .t { flex: 1; font-weight: 600; }
.notice summary .d { color: var(--muted); font-size: 13px; }
.notice .pin { font-size: 11px; font-weight: 800; color: var(--brand-d); background: var(--brand-soft); padding: 3px 8px; border-radius: 6px; }
.notice .b { padding: 0 22px 20px; color: var(--ink-2); white-space: pre-wrap; font-size: 15px; }
.empty { padding: 34px; text-align: center; color: var(--muted); }

/* ── 문의 ── */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; max-width: 980px; margin: 0 auto; }
.contact .info h3 { margin: 0 0 10px; font-size: 22px; }
.contact .info p { color: var(--muted); }
form.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 13px; font-weight: 600; color: var(--ink-2); display: grid; gap: 6px; }
input, textarea, select { font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
textarea { min-height: 130px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #059669; }
.form-msg.err { color: #dc2626; }

/* ── 푸터 ── */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-left: 16px; }
footer a:hover { color: var(--brand); }

@media (max-width: 900px) {
  .hero .wrap, .dl, .contact { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 600px) {
  .features, .plans, .row2 { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 64px 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .dl-main, .plan { padding: 26px; }
}
