/* ==========================================================================
   시네마틱 다크 테마 디자인 시스템
   베이스 #050508 · 액센트 #D4B46A(금) · 솔리드 버튼은 흰색 CTA만
   ========================================================================== */
:root {
    color-scheme: dark;
    --bg: #050508;
    --bg-2: #0B0B14;
    --card: rgba(255, 255, 255, 0.04);
    --line: rgba(255, 255, 255, 0.1);
    --text: #F4F4F6;
    --body: #C9CCD4;
    --muted: #9AA0AC;
    --accent: #D4B46A;
    --danger: #F87171;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
        "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }

/* --- 리퀴드 글래스 (원본 프롬프트 스펙 그대로) --- */
.liquid-glass {
    background: rgba(255, 255, 255, 0.01);
    background-blend-mode: luminosity;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.liquid-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.4px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0.15) 80%, rgba(255, 255, 255, 0.45) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* --- blur-fade-up (원본 프롬프트 스펙 그대로) --- */
@keyframes blurFadeUp {
    from { opacity: 0; filter: blur(20px); transform: translateY(40px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.animate-blur-fade-up { opacity: 0; animation: blurFadeUp 1s ease-out forwards; }
.reveal { opacity: 0; }
.reveal.in-view { animation: blurFadeUp 1s ease-out forwards; }
/* 애니메이션 종료 후 합성 레이어 해제 — 남은 filter가 글자를 흐리게 만든다 (hero.js animationend).
   .reveal.in-view(0,2,0)를 이기려면 같은 특이도 이상이 필요하다 */
.anim-settled, .reveal.in-view.anim-settled { animation: none; opacity: 1; filter: none; transform: none; }

/* --- 버튼 --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: none; border-radius: 999px; font: inherit; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.btn-solid { background: #fff; color: #000; padding: 13px 30px; }
.btn-solid:hover { background: #E5E5EA; }
.btn-glass { color: var(--text); padding: 13px 26px; }
.btn-glass:hover { background: rgba(255, 255, 255, 0.07); }

/* --- 히어로 --- */
.hero {
    position: relative; min-height: 100svh;
    display: flex; flex-direction: column; overflow: hidden;
    background:
        radial-gradient(1100px 500px at 80% -10%, rgba(96, 78, 189, 0.28), transparent 60%),
        radial-gradient(900px 480px at 15% 20%, rgba(49, 84, 126, 0.22), transparent 60%),
        linear-gradient(180deg, #050508 0%, #0A0A1C 55%, #14102A 85%, #0B0B14 100%);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-blur {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 45%);
    mask-image: linear-gradient(to top, black 0%, transparent 45%);
}
/* 히어로 콘텐츠를 캔버스·blur 레이어 위로. .mobile-menu는 제외한다 —
   여기 특이도(0,2,0)가 .mobile-menu 규칙(0,1,0)을 덮어써서 absolute/z-index 40을
   무력화시키고, 메뉴가 흐름에 끼어 hero-content에 가려졌었다. */
.hero .navbar, .hero .hero-content { position: relative; z-index: 10; }

.navbar { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; }
.brand { font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; color: var(--text); text-decoration: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-pill { font-size: .9rem; padding: 9px 18px; border-radius: 999px; color: var(--text); text-decoration: none; }
.nav-pill:hover { background: rgba(255, 255, 255, 0.07); }
.icon-btn {
    width: 40px; height: 40px; border-radius: 999px; display: none;
    align-items: center; justify-content: center; color: var(--text); cursor: pointer;
}
.icon-btn svg {
    position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -9px;
    transition: transform .5s ease-out, opacity .5s ease-out;
}
.icon-btn .i-close { opacity: 0; transform: rotate(-180deg) scale(0.5); }
.icon-btn.open .i-menu { opacity: 0; transform: rotate(180deg) scale(0.5); }
.icon-btn.open .i-close { opacity: 1; transform: none; }

.mobile-menu {
    position: absolute; top: 76px; left: 12px; right: 12px; z-index: 40;
    border-radius: 16px; background: rgba(11, 11, 20, 0.95);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 10px; transform: translateY(-8px); opacity: 0; pointer-events: none;
    visibility: hidden;
    transition: transform .5s ease-out, opacity .5s ease-out, visibility .5s;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-menu a { display: block; padding: 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.06); }

.hero-content {
    flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 24px 88px; max-width: 1100px; width: 100%; margin: 0 auto;
}
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
    color: var(--muted); font-size: .85rem; margin-bottom: 22px;
}
.hero-meta .item { display: inline-flex; gap: 7px; align-items: center; }
.hero-meta svg { color: var(--accent); flex: none; }
.hero-title {
    font-size: clamp(2.1rem, 6.5vw, 4.6rem); font-weight: 700;
    letter-spacing: -0.04em; line-height: 1.12; margin: 0 0 18px; word-break: keep-all;
}
.hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.22rem); color: var(--muted);
    max-width: 640px; margin: 0 0 34px; word-break: keep-all;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    z-index: 10; color: var(--muted); animation: floatY 2.2s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* --- 신청 폼 섹션 --- */
.apply { background: var(--bg-2); padding: 84px 20px 48px; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -0.03em; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.form-card {
    max-width: 640px; margin: 0 auto; background: var(--card);
    border: 1px solid var(--line); border-radius: 20px; padding: 34px 26px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.form-group { display: flex; flex-direction: column; margin-bottom: 18px; }
.form-card label { font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.form-note { color: var(--muted); font-size: .82rem; margin: 0 0 16px; }
.req { color: var(--accent); margin-left: 3px; }
input[type="text"], input[type="email"], input[type="date"], input[type="time"], select {
    padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06); color: var(--text);
    font: inherit; font-size: 1rem;
}
input[type="date"], input[type="time"], select { color-scheme: dark; }
input:focus, select:focus { outline: 2px solid var(--accent); border-color: transparent; }
input::placeholder { color: rgba(255, 255, 255, 0.35); }
input[type="radio"], input[type="checkbox"] { accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.radio-group { display: flex; gap: 18px; }
.radio-group label { font-weight: 400; display: flex; align-items: center; gap: 7px; margin: 0; }
.radio-group label[hidden] { display: none; }
.calendar-toggle { margin-bottom: 8px; }
.product-cards { display: flex; flex-direction: column; gap: 10px; }
.product-card {
    display: flex; align-items: center; gap: 12px; cursor: pointer; margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 14px 16px;
    transition: border-color .15s ease, background .15s ease;
}
.product-card:hover { border-color: rgba(255, 255, 255, 0.3); }
.product-card:has(input:checked) { border-color: var(--accent); background: rgba(212, 180, 106, 0.08); }
.product-card input { flex: none; }
.pc-body { display: flex; flex-direction: column; gap: 3px; }
.pc-name { font-weight: 700; font-size: .92rem; }
.pc-summary { font-size: .78rem; color: var(--muted); font-weight: 400; }
.pc-price { margin-left: auto; font-weight: 700; color: var(--accent); white-space: nowrap; }
.place-row { display: flex; gap: 8px; }
.place-row input { flex: 1; }
.btn-secondary {
    background: rgba(255, 255, 255, 0.08); color: var(--text); border: none;
    border-radius: 10px; padding: 0 16px; font: inherit; font-weight: 600; cursor: pointer;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.selected-place { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.consent-box {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
    border-radius: 12px; padding: 15px; margin: 22px 0 10px;
}
.consent-box label {
    font-weight: 400; font-size: .86rem; display: flex; gap: 9px;
    align-items: flex-start; margin-bottom: 11px; color: var(--muted);
}
.consent-box label:last-child { margin-bottom: 0; }
.consent-box strong { color: var(--text); }
.price-line { text-align: center; margin-top: 18px; }
.price-line strong { color: var(--accent); font-size: 1.25rem; }
.btn-submit {
    width: 100%; margin-top: 10px; padding: 15px; font: inherit; font-size: 1.05rem;
    background: #fff; color: #000; border: none; border-radius: 999px;
    font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.btn-submit:hover { background: #E5E5EA; }
.btn-submit:disabled { background: rgba(255, 255, 255, 0.3); cursor: not-allowed; }
.error-box {
    background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.4);
    color: #FCA5A5; border-radius: 12px; padding: 13px 15px;
    margin-bottom: 18px; font-size: .9rem;
}
/* --- FAQ --- */
.faq { max-width: 640px; margin: 48px auto 0; }
.faq h2 { font-size: 1.15rem; margin-bottom: 14px; }
.faq details {
    border: 1px solid var(--line); border-radius: 12px;
    background: rgba(255, 255, 255, 0.03); margin-bottom: 10px; overflow: hidden;
}
.faq summary {
    cursor: pointer; padding: 14px 16px; font-size: .92rem; font-weight: 600;
    list-style: none; position: relative; padding-right: 38px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    color: var(--accent); font-size: 1.1rem; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 14px; font-size: .88rem; color: var(--body); }

footer {
    max-width: 640px; margin: 40px auto 0; font-size: .74rem; color: var(--muted);
    line-height: 1.7; border-top: 1px solid var(--line); padding-top: 18px;
}
footer a { color: var(--muted); }

/* --- 신청 위저드 (한 화면 한 질문) --- */
.wizard-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.wp-bar { flex: 1; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.wp-fill { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.wp-count { font-size: .78rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wizard-step[hidden] { display: none; }
.ws-title { font-size: 1.3rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.ws-hint { color: var(--muted); font-size: .85rem; margin: 0 0 16px; }
.ws-sub { font-size: .85rem; font-weight: 600; color: var(--body); margin: 18px 0 8px; }
.ws-input {
    width: 100%; padding: 13px 15px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06); color: var(--text);
    font: inherit; font-size: 1.05rem;
}
.ws-input:focus { outline: 2px solid var(--accent); border-color: transparent; }
textarea.ws-input { resize: vertical; font-size: .95rem; margin-top: 14px; }
input[type="number"].ws-input { color-scheme: dark; -moz-appearance: textfield; appearance: textfield; }
.ws-row { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.ws-num { text-align: center; }
.ws-colon { color: var(--muted); font-weight: 700; }
.ws-link {
    background: none; border: none; color: var(--muted); font: inherit; font-size: .85rem;
    text-decoration: underline; cursor: pointer; padding: 0; margin-top: 14px; display: inline-block;
}
.ws-link:hover { color: var(--text); }
#hanja-row { margin-top: 12px; }
.ws-selected { color: var(--accent); font-size: .92rem; font-weight: 600; margin: 12px 0 0; }
.wizard-nav { display: flex; gap: 12px; align-items: center; margin-top: 24px; }
.ws-back {
    background: none; border: 1px solid var(--line); color: var(--muted);
    border-radius: 999px; padding: 13px 20px; font: inherit; font-weight: 600; cursor: pointer; flex: none;
}
.ws-back:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }
.ws-next { margin-top: 0; }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
    border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
    padding: 10px 18px; cursor: pointer; font-size: .92rem; color: var(--body);
    transition: border-color .15s ease, background .15s ease; margin: 0;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.35); }
.chip:has(input:checked) { border-color: var(--accent); background: rgba(212, 180, 106, 0.12); color: var(--text); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.city-box { position: relative; }
.city-results {
    list-style: none; margin: 6px 0 0; padding: 6px; position: absolute; left: 0; right: 0;
    background: #12121D; border: 1px solid var(--line); border-radius: 12px;
    max-height: 260px; overflow-y: auto; z-index: 30;
}
.city-results li {
    padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .92rem;
    display: flex; gap: 8px; align-items: baseline;
}
.city-results li span { color: var(--muted); font-size: .8rem; }
.city-results li:hover { background: rgba(255, 255, 255, 0.07); }
.city-results .city-empty { color: var(--muted); cursor: default; }
.city-results .city-empty:hover { background: none; }
.confirm-list {
    display: grid; grid-template-columns: auto 1fr; gap: 9px 18px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
    border-radius: 12px; padding: 16px 18px; margin: 0 0 8px; font-size: .92rem;
}
.confirm-list dt { color: var(--muted); }
.confirm-list dd { margin: 0; color: var(--text); font-weight: 600; }

/* --- 카드 페이지 (약관/개인정보/샘플/결제실패/대기/결제) --- */
.page {
    min-height: 100svh; padding: 60px 20px;
    display: flex; justify-content: center; align-items: flex-start;
    background:
        radial-gradient(900px 420px at 70% -10%, rgba(96, 78, 189, 0.2), transparent 60%),
        var(--bg);
}
.page-card {
    width: 100%; max-width: 760px; background: var(--card);
    border: 1px solid var(--line); border-radius: 20px; padding: 40px 32px;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.page-card.narrow { max-width: 520px; text-align: center; padding: 48px 32px; }
.page-card h1 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 8px 0 16px; }
.page-card h2 { font-size: 1.06rem; margin-top: 26px; color: var(--text); }
.page-card p, .page-card li, .page-card td, .page-card th { font-size: .92rem; color: var(--body); }
.page-card strong { color: var(--text); }
.page-card table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.page-card th, .page-card td {
    border: 1px solid rgba(255, 255, 255, 0.12); padding: 8px 10px;
    text-align: left; vertical-align: top;
}
.page-card th { background: rgba(255, 255, 255, 0.05); color: var(--text); white-space: nowrap; }
.brand-link { color: var(--muted); text-decoration: none; font-size: .85rem; }
.brand-link:hover { color: var(--text); }
.highlight { background: rgba(212, 180, 106, 0.16); color: var(--accent); padding: 2px 4px; border-radius: 4px; }
.meta {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    border-radius: 12px; padding: 14px 16px; margin: 16px 0;
}
.meta strong { color: var(--accent); }
.excerpt {
    border-left: 3px solid var(--accent); background: rgba(212, 180, 106, 0.07);
    padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 14px 0;
    font-size: .9rem; color: var(--body);
}
a.back { display: inline-block; margin-top: 20px; color: var(--accent); font-weight: 600; text-decoration: none; }

/* --- 대기/결제 페이지 부품 --- */
.status-card { text-align: center; }
.status-icon { font-size: 56px; margin-bottom: 20px; display: inline-block; animation: floatIcon 2.4s ease-in-out infinite; }
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}
.spinner {
    margin: 26px auto; width: 46px; height: 46px;
    border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--accent);
    border-radius: 50%; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.email { color: var(--accent); font-weight: 600; }
.failed { color: var(--danger); }
.order-summary {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    border-radius: 12px; padding: 16px; margin: 20px 0; font-size: .95rem;
}
.order-summary .row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.order-summary .row:last-child { margin-bottom: 0; font-weight: 700; }
.order-summary .row:last-child span:last-child { color: var(--accent); }
.notice { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 16px 0; }
.toss-widget { background: #fff; border-radius: 12px; margin-top: 14px; overflow: hidden; }

/* --- 티저 (결제 전 미리보기) --- */
.teaser-card { max-width: 680px; }
.teaser-head h1 { font-size: 1.35rem; margin-bottom: 4px; }
.teaser-meta { color: var(--muted); font-size: .85rem; margin-top: 0; }
.teaser-loading { text-align: center; padding: 30px 0 10px; color: var(--body); }
.teaser-body { margin-top: 8px; }
.teaser-sec { margin-bottom: 26px; }
.teaser-sec:last-child { margin-bottom: 0; }
.ts-badge {
    display: inline-block; font-size: .78rem; font-weight: 600; color: var(--accent);
    border: 1px solid rgba(212, 180, 106, 0.45); border-radius: 999px;
    padding: 5px 13px; margin-bottom: 10px; letter-spacing: .02em;
    background: rgba(212, 180, 106, 0.07);
}
.teaser-body p { font-size: .98rem; line-height: 1.85; color: var(--body); margin: 0; }
.teaser-body p strong { color: var(--text); }
.teaser-fade {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 92%);
    mask-image: linear-gradient(180deg, #000 0%, #000 35%, transparent 92%);
    margin-bottom: 0;
    user-select: none;
}
.teaser-lock {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: var(--accent); font-size: .88rem; font-weight: 600;
    border-top: 1px dashed rgba(212, 180, 106, 0.35); padding-top: 14px; margin-top: -6px;
}
.teaser-note {
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
    border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--body);
}
.teaser-toc { margin-top: 30px; }
.teaser-toc h2 { font-size: 1.02rem; margin-bottom: 12px; }
.teaser-toc ul { list-style: none; margin: 0; padding: 0; }
.teaser-toc li {
    display: flex; gap: 12px; align-items: baseline;
    padding: 11px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.toc-lock { flex: none; font-size: .8rem; opacity: .8; }
.toc-text { display: flex; flex-direction: column; gap: 1px; }
.toc-text strong { font-size: .94rem; color: var(--text); }
.toc-text em { font-style: normal; font-size: .8rem; color: var(--muted); }
.teaser-cta {
    position: sticky; bottom: 12px; margin-top: 26px;
    background: #12121D; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.tc-price { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; color: var(--body); }
.tc-price strong { color: var(--accent); font-size: 1.15rem; }
.tc-note { font-size: .78rem; color: var(--muted); text-align: center; margin: 10px 0 0; line-height: 1.6; }

/* --- 업셀 모달 (집중 → 풀 리포트) --- */
.upsell-backdrop {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    z-index: 1000; display: flex; justify-content: center; align-items: flex-end; padding: 16px;
}
.upsell-backdrop[hidden] { display: none; }
.upsell-modal {
    position: relative; background: #12121D; border: 1px solid var(--line);
    width: 100%; max-width: 480px; border-radius: 20px; padding: 26px 22px;
}
.upsell-modal h2 { font-size: 1.2rem; margin: 0 0 6px; text-align: center; }
.upsell-sub { color: var(--muted); font-size: .86rem; text-align: center; margin: 0 0 18px; }
.upsell-close {
    position: absolute; top: 12px; right: 14px; background: none; border: none;
    color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px;
}
.upsell-close:hover { color: var(--text); }
.upsell-options { display: flex; flex-direction: column; gap: 10px; }
.upsell-option {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name price" "detail price";
    gap: 2px 12px; align-items: center; text-align: left; width: 100%;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px; padding: 15px 16px; cursor: pointer; font: inherit; color: var(--text);
    transition: border-color .15s ease, background .15s ease;
}
.upsell-option:hover { border-color: rgba(255, 255, 255, 0.35); }
.upsell-option.uo-primary { border-color: var(--accent); background: rgba(212, 180, 106, 0.1); }
.uo-name { grid-area: name; font-weight: 700; font-size: .95rem; }
.uo-detail { grid-area: detail; font-size: .78rem; color: var(--muted); }
.uo-price { grid-area: price; font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (min-width: 640px) {
    .upsell-backdrop { align-items: center; }
}

/* --- 반응형 --- */
@media (max-width: 639px) {
    .nav-pill { display: none; }
    .icon-btn { display: inline-flex; }
    .hero-content { padding-bottom: 76px; }
    .form-card { padding: 26px 18px; }
    .page-card { padding: 30px 20px; }
    .hero-blur { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

/* --- 모션 최소화 --- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .animate-blur-fade-up, .reveal, .reveal.in-view {
        opacity: 1; animation: none; filter: none; transform: none;
    }
    .scroll-hint, .status-icon { animation: none; }
}

/* --- 언어 스위처 · 언어 제안 배너 --- */
.lang-switch {
    position: fixed; top: 14px; right: 14px; z-index: 9998;
    display: flex; gap: 4px; background: rgba(10, 10, 16, 0.6);
    border: 1px solid var(--line); border-radius: 999px; padding: 4px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.lang-switch a {
    font-size: .78rem; font-weight: 600; color: var(--muted); text-decoration: none;
    padding: 5px 10px; border-radius: 999px; transition: color .15s ease, background .15s ease;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active { color: var(--bg); background: var(--accent); }

.lang-banner {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: rgba(212, 180, 106, 0.12); border-bottom: 1px solid rgba(212, 180, 106, 0.3);
    color: var(--text); font-size: .85rem; padding: 10px 16px; text-align: center;
}
.lang-banner a { color: var(--accent); font-weight: 700; }
.lang-banner button {
    background: none; border: none; color: var(--muted); font-size: 1.1rem;
    line-height: 1; cursor: pointer; padding: 2px 4px;
}
.lang-banner button:hover { color: var(--text); }
