/* 사례 41 위치 기반 리워드 앱 CASH QUEST MVP 새 판 (2026-10-16) — 앱 아이콘 색(산호 #F0604C → 주황 #F88A2E) + 지도 점 바탕, 하단 탭 짙은 색 #282830.
   첫 화면 가운데 큰 제목 + 양쪽 휴대폰, 퀘스트 길, 반경 원, 두 줄 흐름, SQLite 표, 테스트 고리 */
.c41{--cr:#f0604c;--cr-d:#d2432f;--or:#f88a2e;--cr-l:#fff1ed;--wm:#fff8f5;--dk:#282830;--ink:#1f1f24;--sub:#686570;background:#fff;color:var(--ink)}
.c41 svg{flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.c41-in{max-width:1200px;margin:0 auto;padding:0 20px}
.c41 h1,.c41 h2,.c41 h3{margin:0;letter-spacing:-.02em}
.c41-h{font-size:46px;font-weight:800;line-height:1.25;color:var(--ink);word-break:keep-all}
.c41-d{margin:22px 0 0;font-size:17px;line-height:1.85;color:var(--sub);word-break:keep-all}
.c41 main{overflow-x:clip}
.fx-wait .c41-ek,.fx-wait .c41-hero h1,.fx-wait .c41-hero .c41-icon{visibility:hidden}
.c41-sec{padding:130px 0}
.c41-ph{position:relative;margin:0;padding:9px;border-radius:38px;background:var(--dk);box-shadow:0 40px 80px -34px rgba(60,20,10,.45)}
.c41-ph img{display:block;width:100%;height:auto;border-radius:30px}

/* 1 첫 화면 */
.c41-hero{position:relative;height:calc(100vh - 66px);min-height:640px;max-height:980px;overflow:hidden;background:radial-gradient(rgba(255,255,255,.22) 1.4px,transparent 1.6px) 0 0/28px 28px,linear-gradient(135deg,var(--cr) 0,#f4703f 55%,var(--or) 100%)}
.c41-pins i{position:absolute;width:26px;height:26px;margin:-26px 0 0 -13px;border-radius:50% 50% 50% 0;background:#fff;transform:rotate(-45deg);box-shadow:0 8px 16px -6px rgba(120,30,10,.5);opacity:.9}
.c41-pins i::after{content:"";position:absolute;left:8px;top:8px;width:10px;height:10px;border-radius:50%;background:var(--cr)}
.c41-hero-in{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:0 30px;text-align:center}
.c41-icon{width:110px;height:110px;margin-bottom:26px;filter:drop-shadow(0 16px 30px rgba(120,30,10,.35))}
.c41-ek{margin:0 0 18px;font-size:16px;font-weight:700;color:#fff3e8}
.c41 .c41-hero h1{font-size:clamp(36px,6vw,88px);font-weight:800;line-height:1.25;color:#fff;word-break:keep-all;text-shadow:0 6px 30px rgba(120,30,10,.25)}
.c41-hero h1 .ch{color:rgba(255,255,255,.32)}
.c41-hp{position:absolute;z-index:1;bottom:-120px;width:300px;margin:0;padding:9px;border-radius:38px;background:var(--dk);box-shadow:0 40px 80px -30px rgba(80,20,10,.6)}
.c41-hp img{display:block;width:100%;height:auto;border-radius:30px}
.c41-hp-l{left:4%;transform:rotate(-14deg)}
.c41-hp-r{right:4%;transform:rotate(14deg)}

/* 2 정보 판 */
.c41-info{padding:120px 0 130px;background:var(--wm)}
.c41-brand{display:flex;align-items:center;gap:20px}
.c41-brand img{width:76px;height:76px}
.c41 .c41-brand h2{font-family:Poppins,sans-serif;font-size:44px;font-weight:800;letter-spacing:.01em}
.c41-info .c41-d{max-width:920px}
.c41-kw{display:flex;flex-wrap:wrap;gap:6px 14px;margin:20px 0 0;padding:0;list-style:none;font-size:14.5px;font-weight:600;color:var(--cr-d)}
.c41-kw li::before{content:"#"}
.c41-meta{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:56px 0 0}
.c41-meta div{padding:24px 24px 26px;border-radius:20px;background:#fff;box-shadow:0 0 0 1px #f3e2dc}
.c41-meta dt{font-size:13.5px;font-weight:700;color:var(--cr)}
.c41-meta dd{margin:10px 0 0;font-size:18px;font-weight:800;word-break:keep-all}

/* 3 웹툰(산호) */
.c41-toon{background:#fff}
.c41-toon .c41-in{max-width:1040px}
.c41-toon .c41-h{text-align:center}
.tn{display:grid;gap:22px;margin-top:56px;text-align:left}
.tn-c{position:relative;border:3px solid var(--ink);border-radius:14px;overflow:hidden;background:#fff}
.tn-c img{display:block;width:100%;height:auto}
.tn-cap{display:inline-flex;align-items:center;gap:8px;margin:0;padding:8px 14px 8px 8px;border-radius:8px;background:var(--ink);font-size:15px;font-weight:800;color:#fff}
.tn-cap svg{width:28px;height:28px;padding:6px;box-sizing:border-box;border-radius:6px;background:var(--cr);color:#fff;stroke-width:2}
.tn-cap b{color:#ffb3a6;font-size:13px}
.tn-c>.tn-cap{position:absolute;z-index:2}
.tb{position:absolute;z-index:3;margin:0;padding:13px 17px;border:2.5px solid var(--ink);border-radius:18px;background:#fff;font-size:15.5px;line-height:1.55;font-weight:700;letter-spacing:-.02em;color:var(--ink);word-break:keep-all;box-shadow:3px 3px 0 var(--ink)}
.tb span{display:block;margin-bottom:3px;font-size:12px;font-weight:800;color:var(--sub)}
.tb-p{background:var(--cr-l)}.tb-p span{color:var(--cr-d)}
.tb-d{border-color:var(--cr-d);box-shadow:3px 3px 0 var(--cr)}
.tb::after{content:"";position:absolute;width:16px;height:16px;background:inherit;border:2.5px solid var(--ink);border-width:0 2.5px 2.5px 0}
.tb-d::after{border-color:var(--cr-d)}
.tk-d::after{bottom:-10px;left:var(--tx,50%);margin-left:-8px;transform:rotate(45deg)}
.tk-u::after{top:-10px;left:var(--tx,50%);margin-left:-8px;transform:rotate(-135deg)}
.tk-r::after{right:-10px;top:var(--ty,50%);margin-top:-8px;transform:rotate(-45deg)}
.tk-l::after{left:-10px;top:var(--ty,50%);margin-top:-8px;transform:rotate(135deg)}
.tk-two{position:relative;display:grid;grid-template-columns:var(--cols,1fr 1fr);gap:18px}
.tk-two .tn-c{height:var(--h,560px)}
.tk-two .tn-c img,.tk-wide .tn-c img{width:100%;height:100%;object-fit:cover}
.tk-wide .tn-c{aspect-ratio:2/1}
.tk-two>.tb{z-index:4}
.tk-tall .tn-c{width:600px;max-width:100%;margin:0 auto}

/* 4 퀘스트 길: 가운데 굽은 길, 정거장마다 휴대폰과 글이 좌우로 번갈아 */
.c41-road{background:var(--wm)}
.c41-road .c41-h{text-align:center}
.c41-way{position:relative;max-width:1000px;margin:70px auto 0}
.c41-path{position:absolute;left:50%;top:0;width:200px;height:100%;margin-left:-100px}
.c41-path path{fill:none;stroke-width:5;stroke-linecap:round;vector-effect:non-scaling-stroke}
.c41-path .bg{stroke:#f6d9d0;stroke-dasharray:2 12}
.c41-path .on{stroke:var(--cr)}
.c41-stop{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:140px;min-height:620px}
.c41-stop .c41-ph{width:290px;justify-self:end}
.c41-stop:nth-child(odd) .c41-ph{order:2;justify-self:start}
.c41-stop:nth-child(odd) .c41-stop-t{order:1;text-align:right;justify-items:end}
.c41-stop-t{display:grid;justify-items:start;gap:6px}
.c41-stop-t b{font-family:Poppins,sans-serif;font-size:15px;font-weight:800;color:var(--cr)}
.c41-stop-t h3{font-size:34px;font-weight:800}
.c41-stop-t p{margin:0;font-size:16px;font-weight:600;color:var(--sub)}
.c41-dot{position:absolute;left:50%;top:50%;z-index:2;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:#fff;color:var(--cr);box-shadow:0 0 0 6px var(--wm),0 10px 24px -8px rgba(160,50,30,.5)}
.c41-dot svg{width:28px;height:28px}
.c41-coins{position:absolute;left:50%;top:22%;display:flex;gap:6px;transform:translateX(-50%);pointer-events:none}
.c41-coins svg{width:44px;height:44px;padding:8px;box-sizing:border-box;border-radius:50%;background:#ffc94a;color:#9a5a00;box-shadow:0 6px 14px rgba(150,90,0,.35);opacity:0}

/* 5 반경 */
.c41-near{padding:130px 0;background:var(--dk);color:#fff;overflow:hidden}
.c41-near .c41-h{color:#fff}
.c41-near-in{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.c41-radar{position:relative;aspect-ratio:1;max-width:520px;width:100%;justify-self:center;background:radial-gradient(rgba(255,255,255,.12) 1.2px,transparent 1.4px) 0 0/22px 22px}
.c41-radar .r{position:absolute;inset:0;margin:auto;border:2px solid rgba(240,96,76,.6);border-radius:50%;background:rgba(240,96,76,.06)}
.c41-radar .r1{width:30%;height:30%;background:rgba(240,96,76,.22)}
.c41-radar .r2{width:62%;height:62%}
.c41-radar .r3{width:96%;height:96%;border-style:dashed}
.c41-radar .me{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:64px;height:64px;margin:-64px 0 0 -32px;color:var(--cr)}
.c41-radar .me svg{width:64px;height:64px;fill:var(--cr);stroke:#fff;stroke-width:1.4}
.c41-radar .km{position:absolute;padding:8px 14px;border-radius:999px;background:#fff;font-family:Poppins,sans-serif;font-size:15px;font-weight:700;color:var(--cr-d);box-shadow:0 10px 20px -8px rgba(0,0,0,.5)}
.c41-pts{display:grid;gap:12px;margin:30px 0 0;padding:0;list-style:none}
.c41-pts li{display:flex;align-items:center;gap:12px;font-size:17px;font-weight:700}
.c41-pts svg{width:42px;height:42px;padding:10px;box-sizing:border-box;border-radius:12px;background:rgba(240,96,76,.18);color:#ff9a8a}
.c41-near-ph{width:250px;margin-top:40px}

/* 6 두 줄 흐름 */
.c41-reel{background:#fff;overflow:hidden}
.c41-reel .c41-h{text-align:center}
.c41-rows{display:grid;gap:26px;margin-top:60px}
.c41-row{width:max-content}
.c41-row-in{display:flex;gap:26px;width:max-content;animation:c41mq 60s linear infinite}
.c41-row-rev .c41-row-in{animation-direction:reverse}
.c41-row figure{flex:none;width:230px;margin:0;padding:7px;border-radius:30px;background:var(--dk)}
.c41-row img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;object-position:top;border-radius:24px}
@keyframes c41mq{to{transform:translateX(calc(-50% - 13px))}}

/* 7 SQLite */
.c41-db{background:var(--wm)}
.c41-db .c41-h{text-align:center}
.c41-db-in{display:grid;grid-template-columns:auto 1fr;gap:70px;align-items:center;max-width:900px;margin:64px auto 0}
.c41-phone{width:300px;padding:30px 26px 34px;border:10px solid var(--dk);border-radius:44px;background:#fff;box-shadow:0 40px 80px -34px rgba(60,20,10,.45)}
.c41-phone-t{display:flex;align-items:center;gap:8px;margin:0;font-size:15px;font-weight:800;color:var(--sub)}
.c41-phone-t svg{width:22px;height:22px;color:#3ddc84}
.c41-cyl{display:grid;justify-items:center;gap:6px;margin:26px 0 20px}
.c41-cyl svg{width:84px;height:84px;color:var(--cr);stroke-width:1.5}
.c41-cyl b{font-family:Poppins,sans-serif;font-size:20px}
.c41-tbl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:0;list-style:none}
.c41-tbl li{padding:14px 0;border-radius:14px;background:var(--cr-l);text-align:center;font-size:16px;font-weight:800;color:var(--cr-d)}
.c41-k{display:inline-flex;align-items:center;gap:10px;margin:0;padding:14px 22px;border-radius:16px;background:#fee500;font-size:17px;font-weight:800;color:#191919}
.c41-k svg{width:26px;height:26px;fill:#191919;stroke:none}
.c41-db .c41-pts li{color:var(--ink)}
.c41-db .c41-pts svg{background:var(--cr-l);color:var(--cr)}

/* 8 테스트 고리 */
.c41-qa{background:#fff;overflow:hidden}
.c41-qa .c41-h{text-align:center}
.c41-qa-in{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;max-width:960px;margin:64px auto 0}
.c41-ring{position:relative;width:100%;max-width:380px;aspect-ratio:1;justify-self:center}
.c41-ring-arc{position:absolute;inset:0;width:100%;height:100%;animation:c41spin 14s linear infinite}
.c41-ring-arc circle{fill:none;stroke:var(--cr);stroke-width:3;stroke-dasharray:14 10}
@keyframes c41spin{to{transform:rotate(360deg)}}
.c41-ring .n{position:absolute;display:grid;justify-items:center;gap:6px;width:120px;margin-left:-60px;font-size:16px;font-weight:800}
.c41-ring .n svg{width:62px;height:62px;padding:15px;box-sizing:border-box;border-radius:50%;background:var(--cr);color:#fff;box-shadow:0 0 0 8px #fff}
.c41-ring .n1{left:50%;top:-14px}
.c41-ring .n2{left:90%;top:60%}
.c41-ring .n3{left:10%;top:60%}
.c41-sheets{position:relative;height:380px}
.c41-sheets .sh{position:absolute;left:50%;top:20px;width:230px;height:300px;margin-left:-115px;padding:26px 24px;box-sizing:border-box;border-radius:14px;background:#fff;box-shadow:0 0 0 1px #eee,0 20px 40px -20px rgba(0,0,0,.3)}
.c41-sheets .sh:nth-child(1){transform:rotate(-9deg) translate(-40px,10px)}
.c41-sheets .sh:nth-child(2){transform:rotate(-3deg) translate(-12px,4px)}
.c41-sheets .sh:nth-child(3){transform:rotate(4deg) translate(14px,0)}
.c41-sheets .sh:nth-child(4){transform:rotate(9deg) translate(40px,-6px)}
.c41-sheets b{display:block;font-family:Poppins,sans-serif;font-size:17px}
.c41-sheets i{display:block;height:10px;margin-top:18px;border-radius:5px;background:#f1eeee}
.c41-sheets i:nth-of-type(2){width:80%}.c41-sheets i:nth-of-type(3){width:60%}
.c41-sheets em{position:absolute;right:22px;bottom:20px;display:grid;place-items:center;width:52px;height:52px;border:3px solid var(--cr);border-radius:50%;font-style:normal;font-size:26px;font-weight:800;color:var(--cr);transform:rotate(-12deg)}

/* 적합, FAQ, 문의, 관련 */
.c41-fit{background:var(--wm)}
.c41-fit .c41-h{text-align:center}
.c41-fit-list{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:48px 0 0;padding:0}
.c41-fit-list li{padding:26px 20px;border-radius:18px;background:#fff;font-size:16px;font-weight:700;line-height:1.55;word-break:keep-all}
.c41-fit-list svg{display:block;width:44px;height:44px;margin-bottom:16px;padding:10px;box-sizing:border-box;border-radius:12px;background:var(--cr);color:#fff}
.c41-faq{background:#fff}
.c41-faq .c41-h{text-align:center}
.c41-faq-list{max-width:880px;margin:40px auto 0}
.c41-faq-list h3{margin:36px 0 6px;font-size:14px;font-weight:800;color:var(--cr-d)}
.c41-faq details{border-bottom:1px solid #eee5e2}
.c41-faq summary{position:relative;list-style:none;cursor:pointer;padding:22px 44px 22px 0;font-size:17.5px;font-weight:700}
.c41-faq summary::-webkit-details-marker{display:none}
.c41-faq summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:26px;font-weight:400;color:var(--cr)}
.c41-faq details[open] summary::after{content:"−"}
.c41-faq details p{margin:0;padding:0 44px 22px 0;font-size:16px;line-height:1.75;color:var(--sub)}
.c41-end{background:linear-gradient(135deg,var(--cr),var(--or));text-align:center;padding:112px 0}
.c41-end .c41-h{color:#fff}
.c41-end-act{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:36px}
.c41-btn{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 30px;border-radius:999px;background:var(--dk);color:#fff;font-size:16.5px;font-weight:800;text-decoration:none}
.c41-btn-line{background:transparent;box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)}
.c41-rel{padding:96px 0}
.c41-rel h2{font-size:26px}
.c41-rel-in{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.c41-rel a{display:block;text-decoration:none;color:var(--ink)}
.c41-rel img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:14px}
.c41-rel span{display:block;margin-top:14px;font-size:17px;font-weight:700}

@media (max-width:1100px){
  .c41-hp{width:240px}
  .c41-fit-list{grid-template-columns:repeat(3,1fr)}
  .c41-stop{gap:110px}
}
@media (max-width:860px){
  .c41-h{font-size:27px;line-height:1.3}
  .c41-sec{padding:70px 0}
  .c41-hero{height:calc(100svh - 110px);min-height:560px}
  .c41-hero-in{justify-content:flex-start;padding:10vh 16px 0}
  .c41-icon{width:76px;height:76px;margin-bottom:18px}
  .c41-ek{font-size:13px;margin-bottom:12px}
  .c41 .c41-hero h1{font-size:clamp(28px,8.4vw,40px)}
  .c41-hp{width:170px;padding:5px;border-radius:24px;bottom:-60px}
  .c41-hp img{border-radius:19px}
  .c41-hp-l{left:-4%}.c41-hp-r{right:-4%}
  .c41-pins i{transform:rotate(-45deg) scale(.7)}
  .c41-ph{padding:5px;border-radius:24px}
  .c41-ph img{border-radius:19px}
  .c41-info{padding:60px 0 70px}
  .c41-brand img{width:54px;height:54px}
  .c41 .c41-brand h2{font-size:30px}
  .c41-d{font-size:15.5px}
  .c41-meta{grid-template-columns:1fr 1fr;gap:10px;margin-top:36px}
  .c41-meta div{padding:16px}
  .c41-meta dd{font-size:15.5px}
  .tn{gap:34px;margin-top:36px}
  .tn-c{border-width:2px;border-radius:12px;overflow:visible}
  .tn-c img{border-radius:10px 10px 0 0}
  .tb{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:auto!important;font-size:14.5px;padding:11px 14px;box-shadow:2px 2px 0 var(--ink)}
  .tb-d{box-shadow:2px 2px 0 var(--cr)}
  .tb::after{display:none}
  .tn-c>.tb{margin:10px}
  .tb-c{margin-right:14%!important}.tb-p{margin-left:14%!important}
  .tn-c>.tn-cap{left:10px!important;top:10px!important;right:auto!important;bottom:auto!important;font-size:13px;padding:6px 10px 6px 6px}
  .tk-two{grid-template-columns:1fr;gap:34px}
  .tk-two>.tb{margin:0 14% 0 10px}
  .tk-two .tn-c{height:auto}
  .tk-two .tn-c img{height:auto;aspect-ratio:4/5}
  .tk-wide .tn-c{aspect-ratio:auto}
  .tk-wide .tn-c img{height:auto;aspect-ratio:3/2}
  .tk-tall .tn-c{width:auto}
  .c41-way{margin-top:40px}
  .c41-path{left:28px;width:40px;margin-left:0}
  .c41-stop{grid-template-columns:1fr;gap:18px;min-height:0;padding:0 0 56px 76px}
  .c41-stop .c41-ph,.c41-stop:nth-child(odd) .c41-ph{order:2;justify-self:start;width:62%}
  .c41-stop-t,.c41-stop:nth-child(odd) .c41-stop-t{order:1;text-align:left;justify-items:start}
  .c41-stop-t h3{font-size:22px}
  .c41-stop-t p{font-size:14px}
  .c41-dot{left:26px;top:0;margin:0;width:44px;height:44px}
  .c41-dot svg{width:20px;height:20px}
  .c41-coins svg{width:34px;height:34px;padding:6px}
  .c41-near{padding:70px 0}
  .c41-near-in{grid-template-columns:1fr;gap:30px}
  .c41-radar{max-width:320px}
  .c41-radar .km{font-size:12.5px;padding:6px 10px}
  .c41-pts li{font-size:15px}
  .c41-near-ph{width:60%}
  .c41-rows{gap:14px;margin-top:36px}
  .c41-row-in{gap:14px}
  .c41-row figure{width:140px;padding:4px;border-radius:20px}
  .c41-row img{border-radius:16px}
  @keyframes c41mq{to{transform:translateX(calc(-50% - 7px))}}
  .c41-db-in{grid-template-columns:1fr;gap:30px;justify-items:center;margin-top:36px}
  .c41-phone{width:260px;padding:22px 18px 26px;border-width:7px}
  .c41-qa-in{grid-template-columns:1fr;gap:20px;margin-top:40px}
  .c41-ring{max-width:280px}
  .c41-ring .n{font-size:14px}
  .c41-ring .n svg{width:50px;height:50px;padding:12px}
  .c41-sheets{height:340px}
  .c41-fit-list{grid-template-columns:1fr;gap:10px}
  .c41-fit-list li{display:flex;align-items:center;gap:14px;padding:18px}
  .c41-fit-list svg{margin:0}
  .c41-faq summary{font-size:16px}
  .c41-rel-in{grid-template-columns:1fr}
}
