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

:root {
  --bg: #0b0d10; --bg2: #12151a; --card: #171b21; --line: #262c35;
  --text: #f2f5f7; --muted: #9aa4b0; --mint: #3dffb0; --mint-d: #16c486;
  --hot: #ff4d5e; --yellow: #ffd84d; --radius: 18px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(11,13,16,.75); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.logo i { width: 28px; height: 28px; border-radius: 8px; display: inline-block; flex: none; background: url("/static/brand/mark.svg") center / contain no-repeat; }
.nav .links { display: flex; gap: 20px; color: var(--muted); font-size: 15px; margin-left: 8px; }
.nav .links a:hover { color: var(--text); }
.nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 12px; padding: 12px 20px; font-weight: 700; font-size: 15px; transition: transform .12s, background .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn-mint { background: var(--mint); color: #04130c; }
.btn-mint:hover { background: #6dffc6; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #3a424e; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* hero */
.hero { padding: 84px 0 56px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 620px; background: radial-gradient(closest-side, rgba(61,255,176,.16), transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(61,255,176,.1); color: var(--mint); font-weight: 700; font-size: 14px; border: 1px solid rgba(61,255,176,.25); }
.hero h1 { font-size: clamp(36px, 6.4vw, 68px); line-height: 1.12; letter-spacing: -.035em; margin: 22px 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--mint), #5fd0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); line-height: 1.6; max-width: 640px; margin: 0 auto 34px; }

.dropbox { max-width: 680px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 10px; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg2); border-radius: 14px; width: max-content; margin-bottom: 10px; }
.tabs button { background: none; border: 0; padding: 8px 16px; border-radius: 10px; color: var(--muted); font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--card); color: var(--text); }
.inrow { display: flex; gap: 8px; }
.inrow input[type=text], .inrow .fakefile { flex: 1; min-width: 0; background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; outline: none; color: var(--text); }
.inrow input:focus { border-color: var(--mint-d); }
.fakefile { color: var(--muted); cursor: pointer; display: flex; align-items: center; }
.micro { color: var(--muted); font-size: 13px; margin: 12px 4px 2px; display: flex; gap: 14px; flex-wrap: wrap; }
.micro b { color: var(--mint); font-weight: 600; }

/* sections */
section { padding: 84px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .k { color: var(--mint); font-weight: 700; font-size: 15px; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: -.03em; line-height: 1.2; margin: 10px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .g3, .g4 { grid-template-columns: 1fr; } .nav .links { display: none; } .inrow { flex-direction: column; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 12px 0 8px; font-size: 19px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(61,255,176,.1); color: var(--mint); font-size: 22px; }
.quote { font-size: 17px; line-height: 1.6; color: var(--text); }
.quote::before { content: "“"; color: var(--mint); font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 4px; }

.steps { counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 20px; left: 24px; font-weight: 800; color: var(--mint); font-size: 15px; letter-spacing: .1em; }

/* phone mockups */
.phones { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.phone { width: 210px; aspect-ratio: 9/16; border-radius: 26px; border: 6px solid #222831; position: relative; overflow: hidden; background: #000; }
.phone .ttl { position: absolute; left: 10px; right: 10px; text-align: center; font-weight: 800; font-size: 17px; line-height: 1.3; }
.phone .cap { position: absolute; left: 0; right: 0; text-align: center; font-weight: 900; font-size: 19px; -webkit-text-stroke: 4px #000; paint-order: stroke fill; }
.phone .cap b { color: var(--yellow); }
.phone .scene { position: absolute; inset: 0; background: linear-gradient(160deg, #2b3a4a, #1a222c 60%, #283544); }
.phone .person { position: absolute; left: 50%; bottom: 0; width: 64%; height: 58%; transform: translateX(-50%); background: radial-gradient(circle at 50% 22%, #e8b892 0 17%, transparent 17.5%), radial-gradient(ellipse at 50% 100%, #3d6fd6 0 55%, transparent 56%); }
.phone .label { position: absolute; bottom: -34px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }
.phone-wrap { padding-bottom: 40px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }

table.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
table.cmp th, table.cmp td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; color: var(--muted); }
table.cmp .us { color: var(--mint); font-weight: 700; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; }
summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); line-height: 1.7; margin: 12px 0 0; }

.cta-final { text-align: center; background: linear-gradient(135deg, rgba(61,255,176,.14), rgba(35,168,255,.1)); border: 1px solid rgba(61,255,176,.25); border-radius: 28px; padding: 64px 24px; }
.cta-final h2 { font-size: clamp(28px, 4.6vw, 46px); margin: 0 0 14px; letter-spacing: -.03em; }
.cta-final p { color: var(--muted); margin: 0 0 28px; font-size: 17px; }

footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14px; line-height: 1.8; }
footer .cols { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }

/* pricing */
.toggle { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 700; }
.toggle button.on { background: var(--text); color: var(--bg); }
.toggle .save { color: var(--hot); font-size: 12px; margin-left: 4px; }
.plan { display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.best { border-color: var(--mint-d); box-shadow: 0 0 0 1px var(--mint-d), 0 20px 60px rgba(61,255,176,.08); }
.plan .badge { position: absolute; top: -12px; right: 18px; background: var(--mint); color: #04130c; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; color: #cfd6dd; }
.plan li::before { content: "✓"; color: var(--mint); margin-right: 8px; font-weight: 800; }
.plan li.no { color: #5c6570; } .plan li.no::before { content: "–"; color: #5c6570; }
.plan .per { color: var(--muted); font-size: 13px; }

/* app */
.app-shell { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
@media (max-width: 860px) { .app-shell { grid-template-columns: 1fr; } .side { display: none; } }
.side { border-right: 1px solid var(--line); padding: 20px 14px; display: flex; flex-direction: column; gap: 4px; }
.side a { padding: 11px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; cursor: pointer; }
.side a.on, .side a:hover { background: var(--card); color: var(--text); }
.credit-box { margin-top: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.credit-box .n { font-size: 26px; font-weight: 800; color: var(--mint); }
.main { padding: 28px clamp(16px, 3vw, 40px); max-width: 1200px; }
.main h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-d); }
.opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
@media (max-width: 900px) { .opts { grid-template-columns: 1fr 1fr; } }
.checks { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; color: #cfd6dd; font-size: 14px; }
.checks label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
input[type=checkbox] { accent-color: var(--mint); width: 16px; height: 16px; }
.plist { display: grid; gap: 10px; margin-top: 24px; }
.prow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.prow:hover { border-color: #3a424e; }
.prow .nm { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); white-space: nowrap; }
.pill.done { color: var(--mint); background: rgba(61,255,176,.1); }
.pill.error { color: var(--hot); background: rgba(255,77,94,.1); }
.pill.processing, .pill.queued { color: var(--yellow); background: rgba(255,216,77,.1); }
.pill.review { color: #7FB2FF; background: rgba(127,178,255,.12); }
.bar { height: 8px; border-radius: 99px; background: var(--bg2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), #5fd0ff); transition: width .4s; }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin-top: 18px; }
.clip { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.clip video { width: 100%; aspect-ratio: 9/16; background: #000; display: block; }
.clip .body { padding: 14px; display: grid; gap: 10px; }
.clip .score { font-weight: 800; color: var(--mint); }
.clip .meta { color: var(--muted); font-size: 13px; line-height: 1.5; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 9px; }
.auth { max-width: 400px; margin: 60px auto; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #fff; color: #000; padding: 12px 18px; border-radius: 12px; font-weight: 700; z-index: 99; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.muted { color: var(--muted); }
.hide { display: none !important; }
.logo, .btn { white-space: nowrap; }
@media (max-width: 600px) { .nav .wrap { gap: 10px; } .nav .right .btn { padding: 9px 12px; font-size: 14px; } .logo { font-size: 18px; } }
