/* joniview.com — 앱과 같은 밝은 색(values/colors.xml phone_*)·글꼴(IBM Plex Sans KR, Sora) */
:root {
  --bg: #f4f7fc; --surface: #fff; --text: #101a2d; --muted: #5b6980; --accent: #2c5ff6; --accent-2: #3b82c4;
  --border: #dce5f2; --blue-surface: #eaf1ff; --glow: #bfd2ff; --shadow: 0 18px 50px rgba(67, 111, 158, .16);
  --radius: 24px; --pad: clamp(16px, 4vw, 40px);
  --font: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "Noto Sans", system-ui, sans-serif;
  --brand: "Sora", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 860px; }

/* 위쪽 줄 */
.top { position: fixed; inset: 0 0 auto; z-index: 30; height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  background: rgba(244, 247, 252, .72); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid rgba(220, 229, 242, .7); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 18px var(--brand); letter-spacing: .18em; }
.menu { display: flex; gap: 28px; margin: 0 auto; font-size: 15px; }
.menu a { text-decoration: none; color: var(--muted); }
.menu a:hover { color: var(--text); }
.top-r { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { position: relative; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.lang select { appearance: none; -webkit-appearance: none; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 14px var(--font); padding: 8px 12px; border-radius: 12px; cursor: pointer; }

/* 버튼 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 16px; border: 0;
  background: linear-gradient(180deg, #3f6ff8, var(--accent)); color: #fff; font: 600 16px var(--font); text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 26px rgba(44, 95, 246, .32), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(44, 95, 246, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn svg { fill: #fff; stroke: none; }
.btn.sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; }
.btn.lg { min-height: 58px; padding: 0 28px; font-size: 17px; border-radius: 18px; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: rgba(255, 255, 255, .82); color: var(--text); box-shadow: 0 6px 20px rgba(67, 111, 158, .14); border: 1px solid #fff; }
.btn.soon { background: var(--surface); color: var(--muted); box-shadow: none; border: 1px dashed #b6c3d8; cursor: default; }
.btn.soon:hover { transform: none; }

/* 고정 3D 배경: 앱이 움직이는 떠 있는 차 화면·폰(Blender). 스크롤하면 살짝 커지고 흐려진다(site.js 가 --p 를 넣는다) */
.bg3d { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(120% 90% at 70% 40%, #f8fbff, #e6eef8); }
.bg3d video, .bg3d .bgp { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: translateX(var(--vx, 0px)) scale(calc(1 + var(--p, 0) * .08)) translateY(calc(var(--p, 0) * -2%)); transform-origin: 65% 45%; will-change: transform; }
.bg-shade { position: absolute; inset: 0; background: rgba(244, 247, 252, calc(var(--p, 0) * .55)); }
main, .foot { position: relative; z-index: 1; }
.top { z-index: 30; }

/* 첫 화면: 배경 영상 위에 글 */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 247, 252, .92) 0%, rgba(244, 247, 252, .7) 30%, rgba(244, 247, 252, 0) 56%); }
.hero-in { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.hero-in > * { max-width: 600px; }
h1 .hl { background: linear-gradient(90deg, #2c5ff6, #7a5cff 60%, #2c5ff6); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(16, 26, 45, .35); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: rgba(16, 26, 45, .5); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(10px); opacity: .3; } }

/* 유리판: 배경 3D 가 흐리게 비친다 */
/* 카드 구역은 투명: 뒤의 3D 영상이 그대로 보이고, 글은 카드·흐린 덮개(.bg-shade) 위에서 읽힌다 */
.sheet { position: relative; }
.sheet + .window { margin-top: 0; }
.window + .sheet { border-radius: 40px 40px 0 0; }
.window { position: relative; min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.window .stats { width: 100%; margin: 0 auto; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.window .stats div { padding: 26px 24px; border-radius: 26px; background: rgba(255, 255, 255, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.window .stats dt { font-size: clamp(34px, 4vw, 52px); }
.window .stats dd { font-size: 16px; }

.eyebrow, .kicker { margin: 0 0 14px; font: 600 14px var(--brand); letter-spacing: .08em; color: var(--accent); text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(40px, 4.8vw, 72px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.chips li { display: flex; align-items: center; gap: 6px; }
.chips svg, .ticks svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.4; }

/* 공통 구역 */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
h2 { margin: 0; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h3 { margin: 0; font-size: 20px; line-height: 1.4; }
.body { margin: 18px 0 0; color: var(--muted); font-size: 18px; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.two + .two { margin-top: clamp(56px, 8vw, 110px); }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #dfe7f2; aspect-ratio: 16 / 9; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0 0; }
.stats div { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.stats dt { font: 700 26px var(--brand); color: var(--accent); }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* 체험 */

.screen { max-width: min(1120px, calc((100svh - 120px) * 16 / 9)); margin: 0 auto; padding: clamp(8px, 1.2vw, 14px); border-radius: clamp(18px, 2.4vw, 30px); background: #0d1016;
  box-shadow: 0 40px 90px rgba(16, 26, 45, .28), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.screen .cd { border-radius: clamp(10px, 1.4vw, 18px); }
.hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hints li { display: flex; align-items: center; gap: 8px; }
.hints b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-surface); color: var(--accent); font: 600 13px var(--brand); }

/* 기능 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, #f7faff); border: 1px solid #fff; box-shadow: 0 10px 30px rgba(67, 111, 158, .1); }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.ico { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--blue-surface); color: var(--accent); }
.ico svg { width: 24px; height: 24px; }
.two.rev > :first-child { order: 0; }

/* 사용법 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--accent); color: #fff; font: 700 17px var(--brand); }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.addr { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #f1f4f9; border: 1px solid var(--border); font: 600 17px var(--brand); letter-spacing: .02em; }
.addr span { color: var(--muted); font-weight: 400; }
.note { max-width: 760px; margin: 24px auto 0; text-align: center; color: var(--muted); font-size: 15px; }

/* 앱 */
.phone { justify-self: center; width: min(320px, 70vw); padding: 10px; border-radius: 46px; background: #0d1016; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .05) inset; }
.phone img { border-radius: 36px; width: 100%; }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 10px; }

/* 가격 */
.price { max-width: 460px; margin: 0 auto; padding: 40px 36px 32px; border-radius: 30px; text-align: center; background: linear-gradient(170deg, #fff, #f3f7ff);
  border: 1px solid #fff; box-shadow: 0 30px 80px rgba(44, 95, 246, .16), 0 0 0 1px var(--glow) inset; }
.pname { margin: 0; font-weight: 600; color: var(--accent); }
.pv { margin: 10px 0 0; font: 700 clamp(44px, 6vw, 60px)/1.1 var(--brand); letter-spacing: -.02em; }
.per { margin: 6px 0 0; color: var(--muted); }
.price .ticks { margin: 26px 0 28px; text-align: left; justify-content: center; }

/* 안전 */
.safety { padding-top: 0; }
.warn { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: #fff8ec; border: 1px solid #f6dfb4; }
.warn .ico { flex: none; margin: 0; background: #ffeccc; color: #b76e00; }
.warn p { margin: 6px 0 0; color: #6b5a3e; }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); }

/* 마지막 권유 */
.final-in { text-align: center; padding: clamp(40px, 6vw, 72px) var(--pad); border-radius: 36px; background: radial-gradient(120% 140% at 50% 0%, #fff, var(--blue-surface)); border: 1px solid #fff; box-shadow: var(--shadow); }
.final-in img { margin: 0 auto 18px; width: 120px; height: 120px; }
.final-in .btn { margin-top: 28px; }

/* 바닥 */
.foot { padding: 48px 0 64px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-top .logo { color: var(--text); font-size: 15px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { text-decoration: none; }
.foot nav a:first-child { font-weight: 600; color: var(--text); }
.biz { margin: 20px 0 0; }
.tm { margin: 8px 0 0; font-size: 13px; }

/* 나타나기 */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 980px) {
  .menu { display: none; }
  .two, .grid3, .steps { grid-template-columns: 1fr; }
  .two.rev > :first-child { order: 1; }
  .hero { align-items: flex-end; padding: 50svh 0 72px; }
  h1 { font-size: clamp(34px, 9vw, 44px); }
  .lead { margin-top: 14px; }
  .ctas { margin-top: 24px; }
  .hero::before { background: linear-gradient(0deg, rgba(244, 247, 252, .96) 34%, rgba(244, 247, 252, .55) 55%, rgba(244, 247, 252, 0) 72%); }
  .window { min-height: 56vh; }
  .window .stats { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top { gap: 10px; }
  .logo span { display: none; }
  .lang svg { display: none; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats div { padding: 14px 10px; }
  .stats dt { font-size: 20px; }
  .hints { flex-direction: column; align-items: flex-start; }
  .warn { flex-direction: column; }
  .ctas .btn { flex: 1 1 auto; min-height: 52px; padding: 0 18px; font-size: 16px; }
}

/* 사용법 모션그래픽 */
.flow { max-width: 820px; margin: 0 auto 36px; }
.flow-svg { width: 100%; height: auto; overflow: visible; }
.f-waves path { opacity: .15; animation: wave 1.8s ease-out infinite; }
.f-waves .w2 { animation-delay: .25s; } .f-waves .w3 { animation-delay: .5s; }
@keyframes wave { 30% { opacity: 1; } 100% { opacity: .15; } }
.f-line { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -32; } }
.f-l, .f-r { animation: lit 2.4s ease-in-out infinite; }
.f-r { animation-delay: .2s; }
@keyframes lit { 0%, 30% { opacity: .35; } 60%, 100% { opacity: 1; } }
.f-phone, .f-car { animation: bob 4s ease-in-out infinite; }
.f-car { animation-delay: -2s; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* 체험: 전체 화면 버튼 */
.screen { position: relative; }
.fs { position: absolute; right: -10px; top: -10px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #fff; background: var(--accent); color: #fff; display: none; place-items: center; box-shadow: 0 8px 20px rgba(44, 95, 246, .4); cursor: pointer; }
.fs svg { width: 20px; height: 20px; }
.screen:fullscreen { display: flex; align-items: center; justify-content: center; max-width: none; border-radius: 0; padding: 0; background: #000; }
.screen:fullscreen .cd { max-height: 100vh; max-width: calc(100vh * 16 / 9); border-radius: 0; }
.screen:fullscreen .fs { display: none; }

/* 카드 기울기(마우스) */
@media (hover: hover) and (pointer: fine) {
  .card { transition: transform .25s ease, box-shadow .25s ease; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
  .card:hover { box-shadow: 0 22px 50px rgba(67, 111, 158, .2); }
}
@media (max-width: 980px) { .fs { display: grid; } }
@media (prefers-reduced-motion: reduce) { .f-waves path, .f-line, .f-l, .f-r, .f-phone, .f-car, h1 .hl, .scroll-cue::after { animation: none; } }

/* 개인정보처리방침·이용약관 */
.legal { padding-top: 112px; padding-bottom: 72px; font-size: 16px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal h2 { margin: 40px 0 12px; font-size: 21px; letter-spacing: -.01em; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal .draft { padding: 12px 16px; border-radius: 12px; background: #fff4e0; color: #7a4b00; font-size: 14px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal tr > :first-child { white-space: nowrap; }
.legal th { background: var(--blue-surface); font-weight: 600; }
@media (max-width: 560px) { .legal table, .legal tbody, .legal tr, .legal td, .legal th { display: block; } .legal tr:first-child { display: none; } .legal tr > :first-child { white-space: normal; } .legal td:first-child { font-weight: 600; background: var(--blue-surface); } .legal td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 600; } }

/* 넓은 가로 화면: 3D 영상을 오른쪽으로 밀어 폰이 제목·소개 글 뒤에 오지 않게, 글 폭은 화면 왼쪽 절반까지 */
@media (min-width: 981px) and (min-aspect-ratio: 9/10) {
  .bg3d video, .bg3d .bgp { --vx: 6vw; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
  .hero-in > * { max-width: min(600px, calc(48vw - max(var(--pad), (100vw - 1200px) / 2 + var(--pad)))); }
  .hero-in > h1 { max-width: min(680px, calc(54vw - max(var(--pad), (100vw - 1200px) / 2 + var(--pad)))); }
}
/* 키 낮은 가로 화면(차 화면 등): 제목을 줄여 버튼까지 첫 화면에 */
@media (min-width: 981px) and (max-height: 800px) {
  h1 { font-size: clamp(36px, 4vw, 60px); }
  .hero { padding-top: 92px; padding-bottom: 40px; }
}
/* 투명 구역 위 글자: 뒤의 3D 와 겹쳐도 읽히게 옅은 빛 테두리, 폰은 덮개를 더 진하게 */
.hero .eyebrow, .hero .lead, .sec h2, .sec .body, .sec .kicker, .sec .head p, .steps p, .steps h3, .demo-tip, .demo .note { text-shadow: 0 0 14px rgba(244, 247, 252, .95), 0 0 4px rgba(244, 247, 252, .9); }
@media (max-width: 980px) { .bg-shade { background: rgba(244, 247, 252, calc(var(--p, 0) * .72)); } }
/* 뿌리 페이지: 브라우저 언어로 보기 안내 띠 */
.lang-suggest { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #101a2d; box-shadow: 0 12px 30px rgba(16, 26, 45, .3); }
.lang-suggest a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.lang-suggest button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #aab4c5; font-size: 20px; cursor: pointer; }

/* 3D 위 글 가독성: 글 묶음 뒤에 가장자리가 부드럽게 사라지는 옅은 바탕(흐림 없음 — 정지 그림이라 스크롤 비용 없음),
   본문은 진한 회색, 빛 테두리는 모든 본문에. 3D 는 글 묶음 밖에서 그대로 보인다 */
.sec .head, .sec .two > div:not(.phone), .sec .faq, .sec .hints, .sec .note, .sec .fine, .sec .final-in, .sec .flow { position: relative; isolation: isolate; }
.sec .head::before, .sec .two > div:not(.phone)::before, .sec .faq::before, .sec .hints::before, .sec .note::before, .sec .fine::before, .sec .final-in::before, .sec .flow::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 48px;
  background: rgba(244, 247, 252, .72); box-shadow: 0 0 90px 36px rgba(244, 247, 252, .72);
}
.sec .body, .sec .head p, .faq details p, .hints, .sec .note, .sec .fine, .steps p, .sec .ticks li, .sec .two .body { color: #3b475b; }
.faq summary, .faq details p, .hints li, .sec .ticks li, .sec .note, .sec .fine, .final-in h2, .final-in .body { text-shadow: 0 0 14px rgba(244, 247, 252, .95), 0 0 4px rgba(244, 247, 252, .9); }

/* 모바일 다듬기(2026-09-30 검토): 폭이 좁으면 글 묶음이 화면을 거의 다 덮어 옅은 바탕은 상자로만 보인다 →
   바탕은 끄고 덮개(.bg-shade)를 진하게. 흐림은 재생 중인 영상 위라 매 프레임 다시 계산되므로 뺀다 */
.sec .head .kicker { color: var(--accent); }
.hero .lead, .hero .chips { color: #3b475b; }
.fs span { display: none; }
@media (max-width: 980px) {
  .bg-shade { background: rgba(244, 247, 252, calc(var(--p, 0) * .9)); }
  .sec .head::before, .sec .two > div:not(.phone)::before, .sec .faq::before, .sec .hints::before, .sec .note::before, .sec .fine::before, .sec .final-in::before, .sec .flow::before { display: none; }
  .hero::before { inset: 0 0 -140px; background: linear-gradient(0deg, rgba(244, 247, 252, 0) 0, rgba(244, 247, 252, .96) 140px, rgba(244, 247, 252, .96) 34%, rgba(244, 247, 252, .55) 55%, rgba(244, 247, 252, 0) 72%); }
  .top { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(244, 247, 252, .94); }
  .window .stats div { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .9); }
  .window { min-height: 0; padding: 40px 0; }
}
@media (max-width: 560px) {
  .screen:not(:fullscreen) .cd { pointer-events: none; touch-action: auto; }
  .screen:not(:fullscreen) { cursor: pointer; }
  .fs { position: static; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: auto; min-height: 48px; margin-top: 10px; border-radius: 14px; font: 600 15px var(--font); }
  .fs span { display: inline; }
  .lang select, .top .btn.sm { min-height: 44px; }
  .lang select { padding-right: 30px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b6980' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 11px center / 11px 8px; }
  .foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .lang-suggest { bottom: calc(16px + env(safe-area-inset-bottom)); }
  .lang-suggest button { width: 44px; height: 44px; }
  .final-in { margin: 0 16px; border-radius: 28px; }
  .tm { font-size: 14px; }
}

/* 첫 화면 고급화(2026-09-30): 스토어 배지형 버튼, 제목 뒤 은은한 빛, 3D 위 유리 배지, 알약형 칩 — 흐림 효과 없이 */
.btn.soon { background: #0b1220; color: #fff; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 12px 30px rgba(11, 18, 32, .26), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn.soon svg { width: 20px; height: 20px; color: #8fb0ff; }
.hero-in { isolation: isolate; }
.hero-in::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: calc(var(--pad) - 80px); top: -60px; width: min(760px, 96vw); height: 460px;
  background: radial-gradient(closest-side at 32% 44%, rgba(122, 92, 255, .17), transparent 72%), radial-gradient(closest-side at 64% 62%, rgba(44, 95, 246, .15), transparent 74%); }
.fbadges { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fb { position: absolute; display: inline-flex; align-items: center; gap: 9px; max-width: 64vw; padding: 9px 17px 9px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); border: 1px solid #fff; box-shadow: 0 14px 34px rgba(44, 95, 246, .16), 0 2px 6px rgba(16, 26, 45, .06);
  font: 600 14px/1.25 var(--font); color: var(--text); opacity: 0; animation: fbIn .7s cubic-bezier(.2, .8, .2, 1) forwards, fbFloat 7s ease-in-out infinite; }
.fb i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #2c5ff6, #7a5cff); color: #fff; }
.fb i svg { width: 16px; height: 16px; }
.fb1 { top: 24%; right: 30%; animation-delay: .5s, .5s; }
.fb2 { top: 50%; right: 4%; animation-delay: .7s, 2s; }
.fb3 { top: 74%; right: 24%; animation-delay: .9s, 3.4s; }
@keyframes fbIn { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fbFloat { 50% { translate: 0 -8px; } }
.hero .chips { gap: 8px; }
.hero .chips li { padding: 7px 13px 7px 9px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid #fff; box-shadow: 0 4px 14px rgba(67, 111, 158, .1); font-size: 14px; }
@media (max-width: 980px) {
  .hero { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .fb { font-size: 13px; padding: 7px 14px 7px 7px; }
  .fb i { width: 24px; height: 24px; }
  .fb i svg { width: 14px; height: 14px; }
  .fb1 { top: 15svh; left: 5%; right: auto; }
  .fb2 { top: 27svh; right: 4%; }
  .fb3 { top: 39svh; left: 8%; right: auto; }
}
@media (prefers-reduced-motion: reduce) { .fb { animation: none; opacity: 1; } }

/* 세로 화면: 세로 구도 영상(bg-port)은 태블릿 윗부분이 원본 7.6% 지점부터라 고정 헤더(68px)에 가림 → 90px 내림(2026-09-30) */
@media (max-width: 980px) and (max-aspect-ratio: 9/10) {
  .bg3d video, .bg3d .bgp { transform: translateY(calc(90px + var(--p, 0) * -2%)) scale(calc(1 + var(--p, 0) * .08)); }
}

/* 세로 화면: 영상을 내리면서 태블릿 주소창이 제목 뒤로 옴 → 제목 뒤에만 옅은 흰 번짐(정적, 필터 없음) */
@media (max-width: 980px) {
  .hero-in h1 { position: relative; }
  .hero-in h1::before { content: ""; position: absolute; z-index: -1; inset: -14px -16px; pointer-events: none; background: radial-gradient(closest-side, rgba(244, 247, 252, .85), rgba(244, 247, 252, .6) 60%, rgba(244, 247, 252, 0)); }
}

/* 숫자 카드 고급화(2026-09-30): 아이콘 타일 + 그라데이션 숫자 + 빛 테두리, 아이콘 왼쪽·글 오른쪽 한 줄(폰에서도 낮게). 흐림 없음 */
.window .stats div { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 22px 24px;
  -webkit-backdrop-filter: none; backdrop-filter: none; border: 1px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, .94), rgba(255, 255, 255, .84)) padding-box, linear-gradient(135deg, rgba(44, 95, 246, .5), rgba(122, 92, 255, .28) 45%, rgba(255, 255, 255, .95) 75%) border-box;
  box-shadow: 0 20px 44px -20px rgba(44, 95, 246, .38), 0 2px 6px rgba(16, 26, 45, .05); }
.window .stats div::after { content: ""; position: absolute; z-index: -1; right: -50px; top: -60px; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(122, 92, 255, .16), rgba(44, 95, 246, 0)); }
.window .stats dt { display: contents; }
.window .stats .st-ico { grid-row: 1 / span 2; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 17px; color: #fff;
  background: linear-gradient(135deg, #3f6ff8, #7a5cff); box-shadow: 0 12px 24px -12px rgba(44, 95, 246, .75), inset 0 1px 0 rgba(255, 255, 255, .35); }
.window .stats .st-ico svg { width: 27px; height: 27px; stroke-width: 2.2; }
.window .stats dt b { grid-column: 2; align-self: end; font: 700 clamp(30px, 3.4vw, 44px) / 1.1 var(--brand); letter-spacing: -.01em;
  background: linear-gradient(90deg, #2c5ff6, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.window .stats dd { grid-column: 2; align-self: start; margin: 4px 0 0; font-size: 15px; color: #3b475b; }
@media (max-width: 980px) { .window .stats { gap: 12px; } .window .stats div { padding: 18px 20px; } }

/* 배경 영상에 재생 버튼이 뜨지 않게(아이폰은 자동재생이 막히면 가운데 ▶ 를 그린다) — 재생은 site.js 가 터치 때 다시 시도(2026-09-30) */
.bg3d video { pointer-events: none; }
.bg3d video::-webkit-media-controls, .bg3d video::-webkit-media-controls-panel, .bg3d video::-webkit-media-controls-start-playback-button, .bg3d video::-webkit-media-controls-overlay-play-button, .bg3d video::-webkit-media-controls-play-button { display: none !important; -webkit-appearance: none; opacity: 0; }

/* 재생 버튼 대신 정지 그림: 영상은 실제로 재생될 때만 보이고(.on), 그 전·멈춤엔 같은 자리의 그림(.bgp)이 보인다.
   아이폰이 자동재생을 막으면 영상 위에 ▶ 를 그리는데, 영상이 투명하면 ▶ 도 안 보인다(2026-09-30) */
.bg3d .bgp, .bg3d video { position: absolute; inset: 0; }
.bg3d video { opacity: 0; transition: opacity .4s; }
.bg3d video.on { opacity: 1; }
