/* 불떡 랜딩 — Figma '앱 소개페이지'(1440 × 3836, 본문 1040) 기준 */
:root {
  --red: #ea4452;
  --text: #111;
  --sub: #666;
  --pink: #ffeaea;
  --purple: #f4eefb;
  --dark: #161211;
  --footer: #f3f3f5;
  --inner: 1040px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--text);
  background: #fff;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
.inner { width: min(var(--inner), calc(100% - 40px)); margin: 0 auto; }

/* 스토어 버튼 */
.ic-play, .ic-apple { display: inline-block; width: 18px; height: 18px; flex: none; background: center / contain no-repeat; }
.ic-play { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300D7FE' d='M3.6 1.8 13.3 12l-9.7 10.2c-.4-.2-.6-.7-.6-1.2V3c0-.5.2-1 .6-1.2z'/%3E%3Cpath fill='%2300F076' d='m16.7 8.6-3.4 3.4-9.7-10.2c.3-.2.8-.2 1.3.1z'/%3E%3Cpath fill='%23FF3A44' d='m16.7 15.4-11.8 6.7c-.5.3-1 .3-1.3.1l9.7-10.2z'/%3E%3Cpath fill='%23FFD500' d='m20.4 13.5-3.7 1.9-3.4-3.4 3.4-3.4 3.7 2c1 .6 1 2.4 0 2.9z'/%3E%3C/svg%3E"); }
.ic-apple { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.6 12.7c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.6 1.3-.1 1.8-.8 3.3-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.3 3.1-2.5 1-1.4 1.4-2.8 1.4-2.9 0 0-2.7-1-2.7-4.1zM15 5c.7-.9 1.2-2 1-3.2-1 0-2.3.7-3 1.6-.7.8-1.2 2-1.1 3.1 1.2.1 2.3-.6 3.1-1.5z'/%3E%3C/svg%3E"); }
.store {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; transition: transform .15s, opacity .15s;
}
.store:hover { transform: translateY(-1px); }
.store:active { opacity: .8; }
.store-light { background: #fff; color: #111; }
.store-dark { background: rgba(0, 0, 0, .72); color: #fff; }
.store-dark .ic-apple { filter: invert(1); }
.store-row { display: flex; gap: 16px; flex-wrap: wrap; }
.store-row.center { justify-content: center; }
.store-sm {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500; color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08);
}
.store-sm .ic-play, .store-sm .ic-apple { width: 13px; height: 13px; }
.store-sm .ic-apple { filter: invert(1); }

/* 첫 화면 */
.hero { position: relative; background: var(--red); color: #fff; overflow: hidden; height: 870px; }
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; position: relative; z-index: 2; }
.logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.top-store { display: flex; gap: 12px; }
.hero-body { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: 640px; }
.hero h1 { font-size: 48px; line-height: 1.42; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px; }
.hero-phones { width: 600px; height: auto; margin-right: -40px; margin-top: 150px; }
.hero-word {
  position: absolute; left: 50%; bottom: -110px; transform: translateX(-50%); z-index: 1;
  font-size: 370px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
  color: rgba(255, 255, 255, .1); user-select: none;
}

/* 소개 카드 */
.feature { padding-top: 100px; }
.feature + .feature { padding-top: 80px; }
.feature-card {
  position: relative; overflow: hidden; border-radius: 40px; height: 620px; text-align: center; padding-top: 100px;
  background-repeat: no-repeat; background-position: center 215px; background-size: 1040px auto;
}
.feature-card.pink { background-color: var(--pink); background-image: url('img/arcs.webp'); }
.feature-card.purple { background-color: var(--purple); background-image: url('img/arcs.webp'); }
.feature-card h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.feature-card > p { margin-top: 14px; font-size: 16px; color: var(--sub); }
.stage { position: absolute; left: 0; right: 0; top: 215px; bottom: 0; }
.stage .phone { position: absolute; left: 0; right: 0; margin: 0 auto; top: 0; width: 266px; height: auto; } /* translateX(-50%)는 0.5px 위치에서 흐려짐 */
.cards {
  position: absolute; left: 50%; top: 140px; transform: translateX(-50%);
  display: flex; width: 832px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.cards img { width: 25%; height: auto; }

/* Bul로그: 휴대폰 안 첫 게시글을 크게 띄움(같은 이미지를 잘라 확대) */
.post-pop {
  position: absolute; left: 0; right: 0; margin: 0 auto; top: 107px; width: 277px; height: 272px;
  border: 1.5px solid #f6a3a8; border-radius: 14px; background: #fff url('img/phone-bulog.webp') no-repeat;
  background-size: 293px auto; background-position: -8px -117px;
  box-shadow: 0 12px 32px rgba(120, 60, 140, .16);
}
.badge { position: absolute; left: 50%; height: auto; }
.badge-fire { width: 84px; top: -36px; transform: translateX(-195px); }
.badge-heart { width: 96px; top: 50px; transform: translateX(108px); }
.badge-chat { width: 84px; top: 220px; transform: translateX(-230px); }

/* 시그널 */
.signal { margin-top: 100px; background: var(--dark); color: #fff; padding: 120px 0 110px; text-align: center; }
.signal h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.signal .inner > p { margin-top: 14px; font-size: 16px; color: #cfcfcf; }
.signal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 80px; }
.signal-card {
  border-radius: 20px; border: 1.5px solid; background: #1e1a19; padding: 52px 20px 56px;
  display: flex; flex-direction: column; align-items: center;
}
.signal-card img { width: 36px; height: auto; }
.signal-card strong { margin-top: 14px; font-size: 15px; font-weight: 700; }
.signal-card p { margin-top: 36px; font-size: 25px; line-height: 1.5; color: #a9a6a6; letter-spacing: -0.02em; }
.signal-card p b { color: #fff; font-weight: 700; }
.signal-card.saju { border-color: #f0646d; box-shadow: 0 0 22px rgba(240, 100, 109, .55); }
.signal-card.saju strong { color: #f0646d; }
.signal-card.luck { border-color: #8b7cf6; box-shadow: 0 0 22px rgba(139, 124, 246, .55); }
.signal-card.luck strong { color: #8b7cf6; }
.signal-card.adult { border-color: #f7a245; box-shadow: 0 0 22px rgba(247, 162, 69, .5); }
.signal-card.adult strong { color: #f7a245; }

/* 마무리 */
.cta {
  height: 473px; display: flex; align-items: center; text-align: center; color: #fff;
  background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .55)), url('img/cta-bg.webp') center / cover no-repeat;
}
.cta h2 { font-size: 44px; line-height: 1.45; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 40px; }

/* 하단 */
.footer { background: var(--footer); padding: 40px 0 48px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-logo { height: 26px; width: auto; filter: grayscale(1) opacity(.45); }
.biz { list-style: none; margin-top: 18px; font-size: 12px; line-height: 1.75; color: #888; }
.biz li span + span::before { content: ''; display: inline-block; width: 12px; }
.copy { margin-top: 18px; font-size: 12px; color: #888; }
.footer-links { display: flex; gap: 20px; font-size: 13px; color: #888; white-space: nowrap; }
.footer-links .strong { color: #333; font-weight: 600; }

/* 출시 예정 안내 */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50;
  background: rgba(17, 17, 17, .9); color: #fff; font-size: 15px; padding: 14px 22px; border-radius: 999px;
  transition: opacity .2s, transform .2s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* 태블릿 */
@media (max-width: 1100px) {
  .hero { height: auto; }
  .hero-body { height: auto; align-items: flex-end; gap: 24px; padding-top: 40px; }
  .hero-text { padding-bottom: 120px; flex: none; }
  .hero-phones { width: 52%; margin: 0 -10px 0 0; }
  .hero h1 { font-size: 40px; }
  .hero-word { font-size: 30vw; bottom: -6vw; }
  .signal-cards { gap: 20px; }
  .signal-card { padding: 44px 16px 48px; }
  .signal-card p { font-size: 21px; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .hero-text { padding-bottom: 90px; }
  .signal-card p { font-size: 17px; margin-top: 28px; }
}

/* 모바일 — 1단 */
@media (max-width: 768px) {
  .inner { width: calc(100% - 40px); }
  .top { height: 60px; }
  .logo img { height: 24px; }
  .top-store { display: none; }
  .hero { height: auto; padding-bottom: 0; }
  .hero-body { flex-direction: column; align-items: center; height: auto; text-align: center; padding-top: 36px; gap: 0; }
  .hero-text { padding-bottom: 0; }
  .hero h1 { font-size: 30px; margin-bottom: 24px; }
  .hero .store-row { justify-content: center; }
  .hero-phones { width: min(420px, 100%); margin: 32px auto 0; }
  .hero-word { font-size: 120px; bottom: -30px; }

  .feature { padding-top: 56px; }
  .feature + .feature { padding-top: 24px; }
  .feature-card { border-radius: 24px; height: 520px; padding-top: 48px; background-position: center 170px; background-size: 760px auto; }
  .feature-card h2 { font-size: 24px; }
  .feature-card > p { font-size: 14px; padding: 0 16px; }
  .stage { top: 170px; }
  .stage .phone { width: 220px; }
  .cards { top: 110px; width: 560px; }
  .post-pop { top: 88px; width: 229px; height: 225px; background-size: 242px auto; background-position: -7px -97px; border-radius: 12px; }
  .badge-fire { width: 64px; top: -28px; transform: translateX(-150px); }
  .badge-heart { width: 72px; top: 40px; transform: translateX(84px); }
  .badge-chat { width: 64px; top: 190px; transform: translateX(-160px); }

  .signal { margin-top: 56px; padding: 64px 0; }
  .signal h2 { font-size: 24px; }
  .signal .inner > p { font-size: 14px; }
  .signal-cards { grid-template-columns: 1fr; gap: 20px; margin: 40px auto 0; max-width: 440px; }
  .signal-card { padding: 32px 20px 36px; }
  .signal-card p { margin-top: 20px; font-size: 19px; }

  .cta { height: 380px; }
  .cta h2 { font-size: 26px; margin-bottom: 28px; }

  .footer-inner { flex-direction: column-reverse; }
  .biz li span { display: block; }
  .biz li span + span::before { display: none; }
  .toast { font-size: 14px; }
}

/* 작은 폰 — 휴대폰·카드·배지 묶음을 통째로 줄여 배지가 잘리지 않게 */
@media (max-width: 430px) {
  .stage { transform: scale(.86); transform-origin: 50% 0; }
  .feature-card { height: 490px; }
}
@media (max-width: 374px) {
  .stage { transform: scale(.76); }
  .feature-card { height: 460px; }
  .feature-card h2, .signal h2 { font-size: 21px; }
  .hero h1 { font-size: 27px; }
  .cta h2 { font-size: 23px; }
  .store-row { gap: 8px; flex-wrap: nowrap; }
  .store { height: 40px; padding: 0 14px; font-size: 14px; gap: 6px; }
  .signal-card p { font-size: 17px; }
}
@media (max-width: 340px) {
  .stage { transform: scale(.7); }
  .feature-card { height: 440px; }
  .feature-card h2, .signal h2 { font-size: 19px; }
  .feature-card > p { padding: 0 10px; }
}
