/* ============================================================
   리얼앱 랜딩 공통 스타일 (lp.css)
   — /intro /waiting /stamp /news 4개 페이지가 공유
   — 외부 폰트·이미지 없이 시스템 폰트 + 인라인 SVG만 사용
   ============================================================ */
:root {
    --navy-900: #0B1B3A;
    --navy-700: #123063;
    --navy-500: #1B4A8F;
    --ink: #101828;
    --body: #475467;
    --muted: #98A2B3;
    --line: #E9EDF4;
    --bg-soft: #F7F9FC;
    --accent: #4F46E5;
    --accent-deep: #4338CA;
    --gold: #C8A44B;
    --ok: #059669;
    --err: #DC2626;
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
    --shadow-md: 0 12px 32px -12px rgba(16, 24, 40, 0.18);
    --shadow-lg: 0 24px 60px -20px rgba(11, 27, 58, 0.35);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: #FFFFFF;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}
img, svg { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- 헤더 ---------- */
.lp-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.lp-logo { display: flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 900; letter-spacing: -0.4px; color: var(--ink); }
.lp-logo .mark {
    width: 28px; height: 28px; border-radius: 8px; flex: none;
    background: linear-gradient(135deg, var(--navy-700), var(--accent));
    display: inline-flex; align-items: center; justify-content: center;
    color: #FFF; font-size: 13px; font-weight: 900;
}
.lp-nav { display: flex; align-items: center; gap: 22px; }
.lp-nav a { font-size: 14px; font-weight: 700; color: var(--body); transition: color .15s; }
.lp-nav a:hover { color: var(--ink); }
.lp-nav a.active { color: var(--accent); }
.lp-nav .nav-links { display: flex; gap: 22px; }
@media (max-width: 760px) { .lp-nav .nav-links { display: none; } }

/* ---------- 버튼 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; border-radius: 999px;
    font-size: 15px; font-weight: 800; letter-spacing: -0.2px;
    padding: 13px 26px; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #FFF; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.55); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-hero { background: #FFF; color: var(--navy-900); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.4); }
.btn-hero:hover { transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #FFF; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.38); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-line { background: #FFF; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- 히어로 ---------- */
.hero {
    position: relative; overflow: hidden; color: #FFF;
    background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-500) 100%);
    padding: 84px 0 92px;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(720px 300px at 85% -10%, rgba(79, 70, 229, 0.35), transparent 65%),
        radial-gradient(560px 260px at -5% 110%, rgba(200, 164, 75, 0.16), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1.15; min-width: 0; }
.hero-visual { flex: 0.85; min-width: 0; display: flex; justify-content: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 800; letter-spacing: 3.5px;
    color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; letter-spacing: -1.2px; line-height: 1.28; }
.hero h1 em { font-style: normal; color: #A5B4FC; }
.hero .lede { margin-top: 18px; font-size: clamp(15px, 1.8vw, 17.5px); font-weight: 500; color: rgba(255, 255, 255, 0.78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
@media (max-width: 880px) {
    .hero { padding: 60px 0 68px; }
    .hero .wrap { flex-direction: column; gap: 44px; }
    .hero-copy, .hero-visual { flex: none; width: 100%; }
}

/* ---------- 폰 목업 ---------- */
.phone-mock {
    width: 262px; background: #0A0E17; border-radius: 42px; padding: 9px;
    box-shadow: var(--shadow-lg), 0 0 0 1.5px rgba(255, 255, 255, 0.12);
    transform: rotate(2deg);
}
.phone-mock .scr { background: #FFF; border-radius: 34px; overflow: hidden; color: var(--ink); }
.mock-head { padding: 30px 18px 14px; color: #FFF; font-size: 15px; font-weight: 900; letter-spacing: -0.3px; }
.mock-body { padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.mock-card { background: #FFF; border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow-sm); }
.mock-card .t { font-size: 12.5px; font-weight: 800; letter-spacing: -0.2px; }
.mock-card .s { font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.mock-bar { height: 8px; border-radius: 4px; background: var(--line); }
.mock-chip { display: inline-block; font-size: 9.5px; font-weight: 800; color: #FFF; border-radius: 999px; padding: 2.5px 8px; }
.mock-num { font-size: 30px; font-weight: 900; letter-spacing: -1px; line-height: 1.1; }
.mock-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.mock-stamp {
    aspect-ratio: 1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900;
    background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line);
}
.mock-stamp.on { background: var(--accent); color: #FFF; box-shadow: none; }
.mock-poster { border-radius: 14px; overflow: hidden; color: #FFF; padding: 16px 14px 14px; min-height: 128px; display: flex; flex-direction: column; justify-content: flex-end; }
.mock-poster .pt { font-size: 14px; font-weight: 900; line-height: 1.35; letter-spacing: -0.3px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.mock-poster .ps { font-size: 10px; font-weight: 700; opacity: 0.82; margin-top: 3px; }

/* ---------- 섹션 공통 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { color: var(--accent); }
.sec-head .eyebrow::before { background: var(--accent); }
.sec-head.center .eyebrow::before { display: none; }
.sec-head h2 { font-size: clamp(23px, 3.2vw, 32px); font-weight: 900; letter-spacing: -0.8px; line-height: 1.35; }
.sec-head p { margin-top: 12px; font-size: 15.5px; color: var(--body); }
@media (max-width: 880px) { .section { padding: 60px 0; } }

/* ---------- 카드 그리드 ---------- */
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid.c3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card {
    background: #FFF; border-radius: var(--radius); padding: 26px 24px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .ico {
    width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center;
    background: #EEF0FF; color: var(--accent);
}
.card h3 { font-size: 16.5px; font-weight: 900; letter-spacing: -0.4px; }
.card p { margin-top: 7px; font-size: 13.8px; color: var(--body); }
.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 13px; font-size: 13px; font-weight: 800; color: var(--accent); }
a.card { display: block; }

/* ---------- 절차 스텝 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { background: #FFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-size: 13px; font-weight: 900; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px;
}
.step h3 { font-size: 15.5px; font-weight: 900; letter-spacing: -0.3px; }
.step p { margin-top: 6px; font-size: 13.2px; color: var(--body); }

/* ---------- 비교/포인트 리스트 ---------- */
.points { display: flex; flex-direction: column; gap: 14px; }
.point { display: flex; gap: 14px; align-items: flex-start; background: #FFF; border: 1px solid var(--line); border-radius: 15px; padding: 18px 20px; }
.point .pi {
    flex: none; width: 34px; height: 34px; border-radius: 10px; margin-top: 2px;
    background: #ECFDF5; color: var(--ok);
    display: flex; align-items: center; justify-content: center;
}
.point h3 { font-size: 15px; font-weight: 900; letter-spacing: -0.3px; }
.point p { margin-top: 3px; font-size: 13.5px; color: var(--body); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #FFF; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 22px;
    font-size: 15px; font-weight: 800; letter-spacing: -0.3px;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px;
    border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
    transform: rotate(45deg); transition: transform .2s; margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .a { padding: 0 22px 20px; font-size: 14px; color: var(--body); }

/* ---------- 상담 폼 ---------- */
.lead {
    background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
    border-radius: 26px; color: #FFF; overflow: hidden; position: relative;
    display: flex; gap: 40px; padding: 52px;
}
.lead::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(560px 260px at 90% 0%, rgba(79, 70, 229, 0.4), transparent 65%);
}
.lead > * { position: relative; z-index: 1; }
.lead-copy { flex: 1; }
.lead-copy h2 { font-size: clamp(22px, 3vw, 29px); font-weight: 900; letter-spacing: -0.7px; line-height: 1.35; }
.lead-copy p { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, 0.75); }
.lead-copy .direct { margin-top: 26px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, 0.65); }
.lead-copy .direct b { color: #FFF; font-weight: 900; }
.lead-form { flex: 1; background: #FFF; border-radius: 18px; padding: 28px; color: var(--ink); box-shadow: var(--shadow-lg); }
.lead-form .row { margin-bottom: 14px; }
.lead-form label { display: block; font-size: 12.5px; font-weight: 800; color: var(--body); margin-bottom: 6px; }
.lead-form label .req { color: var(--err); }
.lead-form input, .lead-form select, .lead-form textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 11px;
    padding: 11px 13px; font-size: 14.5px; font-family: inherit; color: var(--ink);
    background: #FFF; outline: none; transition: border-color .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form .btn { width: 100%; margin-top: 4px; }
.lead-form .form-msg { display: none; margin-top: 12px; font-size: 13px; font-weight: 700; }
.lead-form .form-msg.err { display: block; color: var(--err); }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-done { text-align: center; padding: 34px 6px; }
.lead-done .di {
    width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 18px;
    background: #ECFDF5; color: var(--ok);
    display: flex; align-items: center; justify-content: center;
}
.lead-done h3 { font-size: 19px; font-weight: 900; letter-spacing: -0.4px; }
.lead-done p { margin-top: 8px; font-size: 14px; color: var(--body); }
@media (max-width: 880px) { .lead { flex-direction: column; padding: 34px 24px; gap: 28px; } .lead-form { padding: 22px 18px; } }

/* ---------- 데모 배너 ---------- */
.demo-band {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: #FFF; border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px;
    box-shadow: var(--shadow-sm);
}
.demo-band h3 { font-size: 18px; font-weight: 900; letter-spacing: -0.5px; }
.demo-band p { margin-top: 5px; font-size: 13.8px; color: var(--body); }
@media (max-width: 680px) { .demo-band { flex-direction: column; align-items: flex-start; } }

/* ---------- 푸터 ---------- */
.lp-footer { border-top: 1px solid var(--line); padding: 44px 0 60px; background: #FFF; }
.lp-footer .cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.lp-footer .biz { font-size: 12.5px; color: var(--muted); line-height: 2; }
.lp-footer .biz b { color: var(--body); font-weight: 800; }
.lp-footer .links { display: flex; gap: 18px; font-size: 13px; font-weight: 700; color: var(--body); }
.lp-footer .links a:hover { color: var(--ink); }

/* ---------- 등장 애니메이션 ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
}
