/* 서비스 랜딩 공용 (모아·별담·톡티스튜디오) — home.css 의 토큰·헤더·버튼·푸터 위에 얹는다.
   페이지마다 body 에 --accent / --accent-deep / --accent-soft / --hero-bg 를 준다. */
body.landing { --accent: var(--blue); --accent-deep: var(--blue-dark); --accent-soft: var(--blue-soft); }
.landing .btn-primary { background: var(--accent); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.landing .btn-primary:hover { background: var(--accent-deep); }
.landing .kicker { color: var(--accent-deep); }
.landing .section-link { color: var(--accent-deep); }

/* 헤더 안 앱 이름 */
.app-crumb { display: none; align-items: center; gap: 10px; margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); font-weight: 800; font-size: 15px; color: var(--ink); }
.app-crumb img { width: 28px; height: 28px; border-radius: 8px; }
@media (min-width: 640px) { .app-crumb { display: inline-flex; } }

/* ── 히어로 ─────────────────────────────── */
.app-hero { position: relative; overflow: hidden; background: var(--hero-bg, var(--cream)); }
.app-hero-grid { display: grid; gap: 36px; padding-top: 36px; padding-bottom: 56px; align-items: center; }
@media (min-width: 900px) { .app-hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 72px; } }
.app-id { display: flex; align-items: center; gap: 14px; }
.app-id img { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow-md); }
.app-id .name { font-size: 20px; font-weight: 800; line-height: 1.1; }
.app-id .sub { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.app-hero h1 { margin-top: 22px; font-size: clamp(30px, 4.8vw, 50px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; }
.app-hero h1 .accent { color: var(--accent-deep); }
.app-hero .lead { margin-top: 16px; font-size: clamp(16.5px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 24px; }
.store-badge img { height: 48px; width: auto; display: block; border-radius: 8px; }
.store-badge:hover { opacity: .9; }
.store-soon { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 10px; border: 1.5px dashed var(--line-strong); font-size: 14px; font-weight: 700; color: var(--muted); }
.store-soon svg { width: 18px; height: 18px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-facts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }

.hero-stage { position: relative; padding-bottom: 36px; }
.hero-stage .art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; background: #fff; }
.hero-stage .art img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage .phone { position: absolute; right: 6%; bottom: 0; width: 36%; max-width: 230px; }
/* 좁은 화면: 폰 목업이 위 문구(사실 칩)를 덮지 않도록 무대 위에 여백을 둔다 */
@media (max-width: 599px) { .hero-stage { padding-top: 56px; } .hero-stage .phone { width: 40%; right: 4%; } }

/* 어두운 히어로(별담) */
.app-hero.dark { color: #fff; }
.app-hero.dark .app-id .name, .app-hero.dark h1 { color: #fff; }
.app-hero.dark .app-id .sub, .app-hero.dark .lead { color: rgba(255,255,255,.78); }
.app-hero.dark h1 .accent { color: var(--accent); }
.app-hero.dark .hero-facts span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.86); }
.app-hero.dark .store-soon { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.7); }

/* 폰 목업 */
.phone { position: relative; aspect-ratio: 9 / 19.4; border-radius: 12% / 5.6%; background: #0b0d12; padding: 3.2%; box-shadow: 0 24px 60px rgba(15,27,45,.28), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 9.5% / 4.4%; display: block; background: #111; }
.phone.flat { aspect-ratio: auto; padding: 0; background: none; box-shadow: none; }
.phone.flat img { border-radius: 18px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }

/* ── 기능 ───────────────────────────────── */
.features-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.feature { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep); margin-bottom: 14px; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--ink-2); }
.feature .fnote { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ── 화면 둘러보기 ─────────────────────────── */
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 0 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shots figure { flex: none; width: 228px; margin: 0; scroll-snap-align: start; }
.shots figcaption { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-align: center; }
.shots figcaption small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 899px) { .shots { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-inline: var(--gutter); } }

/* ── 변환 사례 (스튜디오) ───────────────────── */
.showcase { display: grid; gap: 18px; }
@media (min-width: 900px) { .showcase { grid-template-columns: 300px 1fr; gap: 24px; align-items: start; } }
.showcase .source { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.showcase .source img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.showcase .source figcaption { padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.showcase .source figcaption .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .results { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .results { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.result { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.result img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.result span { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(15,27,45,.78); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.result .pro { position: absolute; right: 10px; top: 10px; left: auto; bottom: auto; background: var(--accent); }

.tools { display: grid; gap: 14px; }
@media (min-width: 900px) { .tools { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.tool-group { padding: 18px 20px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.tool-group h4 { font-size: 14px; font-weight: 800; color: var(--accent-deep); letter-spacing: .02em; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.tool-group h4 small { font-weight: 700; font-size: 12.5px; color: var(--muted); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-chips span { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.tool-chips span.pro { border-color: var(--accent); color: var(--accent-deep); }

/* ── 사용법 ────────────────────────────── */
.steps { display: grid; gap: 14px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step { padding: 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step .num { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--lime); font-weight: 800; font-size: 16px; margin-bottom: 14px; }
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ── 요금 ─────────────────────────────── */
.plans { display: grid; gap: 16px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 20px; } }
.plan { padding: 26px 24px; border-radius: var(--radius-lg); background: #fff; border: 1.5px solid var(--line); }
.plan.pro { border-color: var(--accent); background: linear-gradient(160deg, #fff 0%, var(--accent-soft) 100%); }
.plan .plan-name { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.plan .plan-name .tag { background: var(--accent); color: #fff; }
.plan .plan-desc { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.plan ul { margin-top: 16px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.plan li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent-deep); }
.plan-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ── FAQ ─────────────────────────────── */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 18px; font-size: 15px; color: var(--ink-2); }
.notice { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); max-width: 820px; }

/* ── 다운로드 띠 ───────────────────────── */
.download { position: relative; overflow: hidden; color: #fff; background: radial-gradient(700px 320px at 100% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), var(--navy); }
.download-inner { display: grid; gap: 22px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 900px) { .download-inner { grid-template-columns: 1.2fr .8fr; align-items: center; padding-top: 72px; padding-bottom: 72px; } }
.download h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.download p { margin-top: 10px; color: rgba(255,255,255,.78); font-size: 16.5px; max-width: 36em; }
.download .store-row { margin-top: 20px; }
.download .store-soon { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.7); }
.download .icon-big { width: 120px; height: 120px; border-radius: 30px; box-shadow: var(--shadow-lg); justify-self: center; }
@media (min-width: 900px) { .download .icon-big { justify-self: end; width: 150px; height: 150px; border-radius: 36px; } }

/* ── 다른 앱 ───────────────────────────── */
.cross { display: grid; gap: 12px; }
@media (min-width: 640px) { .cross { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.cross .app-card .app-top { padding-right: 0; }
