/* mong.study — 몽 시리즈 브랜드/법적 페이지. 디자인: Pretendard · 퍼플 테마. */

:root {
  --pri: #6c4dd3;
  --pri-soft: #efe9fc;
  --ink: #241c3d;
  --ink2: #2b2540;
  --body: #4a4460;
  --body2: #5b5470;
  --sub: #8a82a6;
  --sub2: #6b6480;
  --bg: #fbfaff;
  --border: #f0ebf8;
  --border2: #eadff5;
  --border3: #eee7f7;
  --shadow: 0 10px 30px rgba(90, 60, 180, 0.06);
  --shadow-sm: 0 8px 24px rgba(90, 60, 180, 0.05);
  --tbl-th: #f3eefb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 34px; }
.wrap-legal { max-width: 1080px; margin: 0 auto; padding: 0 30px; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.fl { animation: floaty 5s ease-in-out infinite; }
.fl2 { animation: floaty2 6s ease-in-out infinite; }
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-8px); }
.btn { transition: transform .18s ease, box-shadow .18s ease; display: inline-block; }
.btn:hover { transform: translateY(-2px); }

/* ---- 브랜드 / 네비 ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); background: rgba(251, 250, 255, 0.85);
  border-bottom: 1px solid rgba(108, 77, 211, 0.09);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .dot {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(140deg, #7d60e2, #a888f5);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 900; font-size: 18px;
}
.brand .name { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; color: var(--body2); }
.nav-links a:hover { color: var(--pri); }
.nav-home { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--sub2); }

.btn-pri {
  background: var(--pri); color: #fff; font-weight: 700; padding: 10px 20px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(108, 77, 211, 0.28); font-size: 14px;
}
.btn-lg { font-size: 16px; font-weight: 800; padding: 15px 28px; border-radius: 15px; box-shadow: 0 10px 26px rgba(108, 77, 211, 0.3); }
.btn-ghost { background: #fff; color: #3d2f24; font-size: 16px; font-weight: 700; padding: 15px 28px; border-radius: 15px; border: 1.5px solid var(--border2); }

/* ---- 히어로 (랜딩) ---- */
.hero { position: relative; display: flex; align-items: center; gap: 40px; padding-top: 92px; padding-bottom: 90px; overflow: hidden; }
.hero .blob1 { position: absolute; top: 20px; right: -40px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 136, 245, 0.22), rgba(168, 136, 245, 0) 70%); z-index: 0; }
.hero .blob2 { position: absolute; bottom: -40px; left: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 209, 90, 0.18), rgba(255, 209, 90, 0) 70%); z-index: 0; }
.hero-copy { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 540px; }
.eyebrow-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--pri-soft); color: var(--pri); font-size: 13px; font-weight: 700; padding: 8px 15px; border-radius: 20px; }
.eyebrow-pill .d { width: 7px; height: 7px; border-radius: 50%; background: var(--pri); }
.h1 { font-size: 56px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; margin: 20px 0 0; }
.hero-copy .lead { font-size: 18px; line-height: 1.65; color: var(--body2); margin: 22px 0 0; font-weight: 500; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-art { position: relative; z-index: 2; flex: none; width: 380px; height: 380px; display: flex; align-items: center; justify-content: center; }
.hero-art .ring { position: absolute; inset: 24px; border-radius: 50%; background: linear-gradient(150deg, #efe7fb, #f8ecfb); }
.hero-art img { position: relative; width: 300px; filter: drop-shadow(0 20px 34px rgba(90, 60, 180, 0.24)); }

/* ---- 통계 스트립 ---- */
.stats { display: flex; flex-wrap: wrap; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 26px 30px; box-shadow: var(--shadow); }
.stats .col { flex: 1; min-width: 150px; text-align: center; }
.stats .num { font-size: 30px; font-weight: 900; color: var(--pri); }
.stats .lbl { font-size: 13.5px; color: var(--sub); font-weight: 600; margin-top: 4px; }
.stats .div { width: 1px; background: var(--border); }

/* ---- 섹션 헤더 ---- */
.sec { padding-top: 88px; }
.sec-head { text-align: center; max-width: 560px; margin: 0 auto; }
.sec-head .kicker { font-size: 14px; font-weight: 800; color: var(--pri); letter-spacing: 0.02em; }
.sec-head h2 { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; margin: 12px 0 0; }
.sec-head p { font-size: 16px; color: var(--body2); line-height: 1.6; margin: 14px 0 0; font-weight: 500; }

/* ---- 시리즈 카드 ---- */
.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 48px; }
.scard { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); }
.scard .top { display: flex; align-items: center; justify-content: space-between; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 20px; }
.badge-live { background: #e3f3ea; color: #2fae6e; }
.badge-soon { background: var(--border); color: #8a7bb8; }
.livedot { width: 9px; height: 9px; border-radius: 50%; background: #2fae6e; box-shadow: 0 0 0 4px rgba(47, 174, 110, 0.15); }
.scard .art { height: 150px; display: flex; align-items: center; justify-content: center; margin: 6px 0 4px; }
.scard .nm { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.scard .ds { font-size: 14px; color: var(--sub2); font-weight: 600; margin-top: 6px; line-height: 1.5; }

/* ---- 소개 / 기능 패널 ---- */
.about-panel { background: linear-gradient(160deg, #7d60e2 0%, #9678ef 55%, #b79bf6 100%); border-radius: 34px; padding: 56px 48px; position: relative; overflow: hidden; }
.about-panel .b1 { position: absolute; top: -50px; right: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.about-panel .b2 { position: absolute; bottom: -60px; left: 30%; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.about-head { position: relative; z-index: 2; text-align: center; max-width: 560px; margin: 0 auto; }
.about-head h2 { font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
.about-head p { font-size: 16px; color: rgba(255, 255, 255, 0.86); line-height: 1.6; margin: 14px 0 0; font-weight: 500; }
.features { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 44px; }
.feature { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 20px; padding: 24px; backdrop-filter: blur(4px); }
.feature .fic { width: 48px; height: 48px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 16px 0 0; }
.feature p { font-size: 14px; color: rgba(255, 255, 255, 0.85); line-height: 1.55; margin: 7px 0 0; font-weight: 500; }

/* ---- 정책 카드 ---- */
.policy { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 44px; }
.pcard { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.pcard .pic { width: 52px; height: 52px; border-radius: 16px; background: var(--pri-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.pcard .pt { font-size: 17px; font-weight: 800; }
.pcard .pd { font-size: 13.5px; color: var(--sub); font-weight: 600; margin-top: 4px; }
.pcard .chev { color: #c9c0dd; }

/* ---- CTA ---- */
.cta { position: relative; background: var(--ink); border-radius: 30px; padding: 52px 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; }
.cta .b { position: absolute; top: -40px; left: -30px; width: 200px; height: 200px; border-radius: 50%; background: rgba(108, 77, 211, 0.35); }
.cta-copy { position: relative; z-index: 2; }
.cta-copy h2 { font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -0.02em; line-height: 1.3; margin: 0; }
.cta-copy p { font-size: 15px; color: rgba(255, 255, 255, 0.72); margin: 14px 0 0; font-weight: 500; }
.cta img { position: relative; z-index: 2; width: 170px; flex: none; }

/* ---- 푸터 (랜딩) ---- */
.foot { border-top: 1px solid var(--border3); margin-top: 40px; }
.foot-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; padding-top: 40px; padding-bottom: 40px; }
.foot-desc { font-size: 13.5px; color: var(--sub); line-height: 1.6; margin: 14px 0 0; max-width: 280px; font-weight: 500; }
.foot-links { display: flex; gap: 56px; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-col .h { font-size: 13px; font-weight: 800; color: var(--ink); margin-bottom: 2px; }
.foot-col a { font-size: 14px; color: var(--sub2); font-weight: 600; }
.foot-col a:hover { color: var(--pri); }
.foot-copy { border-top: 1px solid #f2ecfa; }
.foot-copy .in { padding-top: 20px; padding-bottom: 20px; font-size: 12.5px; color: #a79fbb; font-weight: 500; }

/* ---- 법적 문서 (개인정보·약관) ---- */
.legal-hero { padding-top: 52px; }
.legal-hero .row { display: flex; align-items: center; gap: 20px; }
.legal-hero img { width: 88px; flex: none; }
.legal-hero .kicker { font-size: 14px; font-weight: 800; color: var(--pri); letter-spacing: 0.02em; }
.legal-hero h1 { font-size: 36px; font-weight: 900; letter-spacing: -0.02em; margin: 6px 0 0; }
.tabs { display: flex; gap: 8px; margin-top: 32px; border-bottom: 1.5px solid var(--border3); }
.tab { padding: 12px 20px; font-size: 15px; font-weight: 600; color: #9a92ae; }
.tab.on { font-weight: 800; color: var(--pri); border-bottom: 2.5px solid var(--pri); margin-bottom: -1.5px; }

.shell { display: grid; grid-template-columns: 1fr 240px; gap: 44px; align-items: start; padding-top: 36px; padding-bottom: 90px; }
.doc { min-width: 0; }
.eff { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.eff .k { font-size: 13px; color: var(--sub); font-weight: 600; }
.eff .v { font-size: 15px; font-weight: 700; color: var(--ink2); margin-top: 3px; }
.doc .intro { font-size: 15px; line-height: 1.75; color: var(--body); margin: 0 0 12px; font-weight: 450; }
.doc h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin: 38px 0 12px; color: var(--ink); scroll-margin-top: 90px; }
.doc h3:first-of-type { margin-top: 0; }
.doc p { font-size: 15px; line-height: 1.75; color: var(--body); margin: 0 0 12px; font-weight: 450; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 20px; }
.doc li { font-size: 15px; line-height: 1.75; color: var(--body); margin-bottom: 6px; font-weight: 450; }
.doc strong { color: var(--ink2); font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14px; }
.tbl th { background: var(--tbl-th); color: #4a3f6b; font-weight: 700; text-align: left; padding: 11px 14px; border: 1px solid var(--border2); vertical-align: top; }
.tbl td { padding: 11px 14px; color: var(--body); line-height: 1.6; border: 1px solid var(--border2); vertical-align: top; }
.doc .eff-foot { margin-top: 34px; font-size: 13.5px; color: var(--sub); }
.note { background: #fff8e8; border: 1px dashed #e8cf7a; border-radius: 12px; padding: 14px 16px; color: #8a6d2a; font-size: 13.5px; margin: 0 0 26px; line-height: 1.6; }
.ph { background: rgba(255, 209, 90, 0.28); border-radius: 4px; padding: 0 5px; font-weight: 700; color: #6b551c; }

.toc { position: sticky; top: 96px; }
.toc .h { font-size: 12px; font-weight: 800; color: var(--sub); letter-spacing: 0.04em; margin-bottom: 14px; }
.toc .list { display: flex; flex-direction: column; gap: 3px; border-left: 2px solid var(--border3); padding-left: 16px; }
.toc a { font-size: 13.5px; color: var(--sub2); padding: 4px 0; }
.toc a:hover { color: var(--pri); }

/* 법적 페이지 심플 푸터 */
.foot-legal { border-top: 1px solid var(--border3); }
.foot-legal .in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; padding-bottom: 26px; }
.foot-legal .copy { font-size: 12.5px; color: #a79fbb; font-weight: 500; }
.foot-legal .lks { display: flex; gap: 22px; font-size: 13.5px; font-weight: 600; }
.foot-legal .lks a { color: var(--sub2); }
.foot-legal .lks a:hover { color: var(--pri); }

/* ---- 반응형 ---- */
@media (max-width: 860px) {
  .hero { flex-direction: column-reverse; text-align: center; padding-top: 70px; }
  .hero-copy { align-items: center; max-width: none; }
  .hero-cta { justify-content: center; }
  .h1 { font-size: 42px; }
  .nav-links { display: none; }
  .about-panel { padding: 40px 24px; }
  .cta { flex-direction: column; text-align: center; }
  .foot-row { flex-direction: column; gap: 26px; }
}
@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .toc { display: none; }
  .legal-hero h1 { font-size: 30px; }
  .wrap, .wrap-legal { padding-left: 20px; padding-right: 20px; }
}
