/* 메이플급처템 공용 스타일 */
:root {
  --navy: #16202e;
  --navy-2: #1f2d40;
  --orange: #ff7a00;
  --orange-dark: #e56d00;
  --kakao: #fee500;
  --bg: #f6f7f9;
  --card: #ffffff;
  --line: #e4e8ee;
  --text: #232a33;
  --muted: #6b7684;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(22, 32, 46, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  word-break: keep-all;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── 헤더 ─────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.logo { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.5px; }
.logo .maple { color: var(--orange); }
.gnb { display: flex; gap: 6px; align-items: center; }
.gnb a {
  padding: 8px 13px; border-radius: 8px;
  font-size: 15px; font-weight: 600; color: #46505c;
}
.gnb a:hover { background: #f0f2f5; color: var(--navy); }
.gnb a.on { color: var(--orange); }
.gnb .cta {
  background: var(--kakao); color: #191600; font-weight: 800;
  padding: 9px 16px; border-radius: 9px; margin-left: 6px;
}
.gnb .cta:hover { filter: brightness(0.96); background: var(--kakao); color: #191600; }

/* ── 히어로 ───────────────────────── */
.hero {
  background:
    radial-gradient(ellipse 820px 420px at 12% -10%, rgba(255, 122, 0, 0.2), transparent 62%),
    radial-gradient(ellipse 720px 520px at 92% 112%, rgba(66, 122, 255, 0.16), transparent 62%),
    linear-gradient(135deg, #0c1420 0%, #16202e 45%, #253750 100%);
  color: #fff; padding: 84px 0 130px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
}
.hero::after {
  content: "🍁"; position: absolute; font-size: 220px; opacity: 0.05;
  right: -30px; bottom: -60px; transform: rotate(-15deg);
}
.hero .wrap { position: relative; z-index: 2; }
.leaf {
  position: absolute; z-index: 1; opacity: 0.24; pointer-events: none;
  animation: leaf-float 9s ease-in-out infinite;
}
@keyframes leaf-float {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  50% { transform: translateY(-26px) rotate(12deg); }
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 122, 0, 0.13); color: #ffb066;
  border: 1px solid rgba(255, 122, 0, 0.5);
  padding: 8px 18px; border-radius: 99px; font-size: 14.5px; font-weight: 700;
  margin-bottom: 24px; backdrop-filter: blur(6px);
  box-shadow: 0 0 28px rgba(255, 122, 0, 0.18);
}
.hero h1 {
  font-size: clamp(30px, 5.5vw, 52px); font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.24; margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 .hl {
  background: linear-gradient(105deg, #ffc98a 0%, #ff7a00 55%, #ff9d3d 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 122, 0, 0.5));
}
.hero p.sub {
  font-size: clamp(15px, 2.5vw, 19px); color: #a9b6c6; margin-bottom: 34px;
}
.btn-kakao {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--kakao); color: #191600;
  font-size: 21px; font-weight: 800;
  padding: 18px 38px; border-radius: 14px;
  box-shadow: 0 8px 30px rgba(254, 229, 0, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative; overflow: hidden;
}
.btn-kakao::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.4s infinite;
}
@keyframes btn-shine {
  0% { left: -80%; }
  40%, 100% { left: 140%; }
}
.btn-kakao:hover { transform: translateY(-3px); box-shadow: 0 12px 38px rgba(254, 229, 0, 0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: #e6edf5; font-size: 16px; font-weight: 700;
  padding: 16px 26px; border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px); margin-left: 10px;
  transition: background 0.15s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero .kakao-id {
  margin-top: 28px; font-size: 18px; color: #eef2f7;
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(8px);
  border: 2px solid rgba(254, 229, 0, 0.6);
  padding: 14px 30px; border-radius: 15px;
  box-shadow: 0 0 34px rgba(254, 229, 0, 0.16);
}
.hero .kakao-id b {
  color: var(--kakao); font-size: 30px; font-weight: 900; letter-spacing: 1px;
  text-shadow: 0 0 22px rgba(254, 229, 0, 0.55);
}

/* ── 통계 카드 (히어로에 겹쳐 뜨는 형태) ── */
.stats { background: transparent; margin-top: -82px; position: relative; z-index: 5; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 0 20px; gap: 16px; text-align: center;
}
.stat-card {
  background: linear-gradient(165deg, #1d2d42 0%, #131d2b 100%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px; padding: 28px 14px;
  box-shadow: 0 20px 44px rgba(9, 15, 24, 0.4);
}
.stats .num { font-size: clamp(24px, 4vw, 38px); font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.stats .num em { color: var(--orange); font-style: normal; }
.stats .lbl { font-size: 14px; color: #91a0b2; margin-top: 6px; }

/* ── 공통 섹션 ────────────────────── */
section.block { padding: 64px 0; }
section.block.alt { background: #fff; }
.sec-tag {
  color: var(--orange); font-weight: 800; font-size: 15px;
  text-align: center; margin-bottom: 8px;
}
h2.sec-title {
  text-align: center; font-size: clamp(23px, 4vw, 32px); font-weight: 800;
  color: var(--navy); letter-spacing: -0.7px; margin-bottom: 12px;
}
p.sec-desc { text-align: center; color: var(--muted); margin-bottom: 38px; font-size: 16px; }

/* 카드 3개 */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
}
.card .ico { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* 절차 스텝 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); position: relative;
}
.step .no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* 비교표 */
.tbl-scroll { overflow-x: auto; }
table.cmp {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  min-width: 520px;
}
table.cmp th, table.cmp td {
  padding: 15px 18px; text-align: center; font-size: 15px;
  border-bottom: 1px solid var(--line);
}
table.cmp thead th { background: var(--navy); color: #fff; font-weight: 700; }
table.cmp thead th.hl-col { background: var(--orange); }
table.cmp td:first-child { font-weight: 700; color: var(--navy); background: #fafbfc; }
table.cmp td.good { color: var(--orange-dark); font-weight: 800; }
table.cmp td.bad { color: #97a1ad; }

/* 후기 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.review .stars { color: #ffb400; font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.review p.txt { font-size: 15px; margin-bottom: 14px; }
.review .who { font-size: 13.5px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
details.faq {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 12px; box-shadow: var(--shadow);
}
details.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px;
  color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--orange); font-size: 20px; font-weight: 800; }
details.faq[open] summary::after { content: "−"; }
details.faq .a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* 포스팅 목록 */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); display: block;
  transition: transform 0.15s;
}
.post-card:hover { transform: translateY(-3px); }
.post-card .cat { color: var(--orange); font-size: 13.5px; font-weight: 800; margin-bottom: 8px; }
.post-card h3 { font-size: 17.5px; font-weight: 800; color: var(--navy); margin-bottom: 8px; line-height: 1.45; }
.post-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.post-card .date { font-size: 13px; color: #9aa4b0; }

/* 글 본문 */
.article { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); }
.article h1 { font-size: clamp(24px, 4vw, 31px); font-weight: 800; color: var(--navy); letter-spacing: -0.7px; line-height: 1.35; margin-bottom: 10px; }
.article .meta { color: #9aa4b0; font-size: 14px; margin-bottom: 28px; }
.article h2 { font-size: 21px; font-weight: 800; color: var(--navy); margin: 34px 0 12px; }
.article p { margin-bottom: 16px; font-size: 16px; }
.article ul, .article ol { margin: 0 0 16px 22px; font-size: 16px; }
.article li { margin-bottom: 8px; }
.article .tip {
  background: #fff7ef; border: 1px solid #ffd9b3; border-radius: 10px;
  padding: 16px 18px; margin: 20px 0; font-size: 15px;
}

/* 하단 소개 글 */
.seo-text { max-width: 820px; margin: 0 auto; color: var(--muted); font-size: 15.5px; }
.seo-text p { margin-bottom: 14px; }
.seo-text b { color: var(--navy); }

/* CTA 밴드 */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #2a3b52);
  border-radius: 18px; color: #fff; text-align: center;
  padding: 46px 24px; margin-top: 20px;
}
.cta-band h2 { color: #fff; font-size: clamp(21px, 3.5vw, 28px); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.cta-band p { color: #d7dfe9; margin-bottom: 24px; font-size: 17px; }

/* 푸터 */
.site-footer { background: var(--navy); color: #8b98a8; padding: 36px 0 90px; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.site-footer b { color: #d5dde6; }

/* 떠있는 카톡 버튼 */
@keyframes kakao-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
  50% { transform: scale(1.05); box-shadow: 0 12px 34px rgba(254, 229, 0, 0.6); }
}
.float-kakao {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--kakao); color: #191600; font-weight: 800; font-size: 19px;
  padding: 18px 28px; border-radius: 99px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  animation: kakao-pulse 2s infinite;
}

/* 모바일 */
@media (max-width: 860px) {
  .gnb a { padding: 7px 8px; font-size: 13.5px; }
  .gnb .cta { display: none; }
  .cards3, .steps, .reviews, .post-list { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 104px; }
  .leaf { font-size: 20px !important; }
  .stats { margin-top: -64px; }
  .stats .wrap { grid-template-columns: repeat(3, 1fr); padding: 0 12px; gap: 8px; }
  .stat-card { padding: 16px 6px; border-radius: 14px; }
  .btn-ghost { margin-left: 0; margin-top: 10px; }
  .article { padding: 28px 20px; }
  section.block { padding: 46px 0; }
  .float-kakao { font-size: 16.5px; padding: 15px 22px; }
  .hero .kakao-id { font-size: 15.5px; padding: 12px 18px; }
  .hero .kakao-id b { font-size: 23px; }
}
