/* ============================================================
   범놀이터 AIOS — Bold Energetic 디자인 시스템 v9.0
   컨셉: "멋쟁이사자처럼 스타일" — 따뜻하고 에너지틱한 부트캠프 무드
   컬러: 비비드 오렌지 #FF5E00 포인트 / 따뜻한 크림 #FAF6F2 배경
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Tokens — 멋사 오렌지 팔레트 */
  --color-bg: #ffffff;
  --color-bg-alt: #faf6f2;        /* 따뜻한 크림 (섹션 배경) */
  --color-bg-cream: #faf6f2;
  --color-text: #191512;          /* 진한 차콜 (거의 블랙) */
  --color-text-body: #4a443e;     /* 따뜻한 다크 그레이 */
  --color-text-sub: #8a8178;
  --color-point: #ff5e00;         /* 멋사 시그니처 오렌지 */
  --color-point-light: #ff7a2b;
  --color-point-dark: #e54e00;
  --color-point-tint: #fff1e6;    /* 연한 피치 (배지/태그 배경) */
  --color-point-tint-2: #ffe6d2;
  --color-border: #ece5dd;        /* 따뜻한 라인 */
  --color-border-strong: #e0d6ca;
  --color-white: #ffffff;
  --color-ink-card: #211b16;      /* 다크 카드용 */

  /* Typography */
  --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
               system-ui, 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;

  /* Radius — 멋사는 더 둥글둥글 */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Shadow — 따뜻한 톤의 부드러운 그림자 */
  --shadow-sm: 0 2px 8px rgba(120, 80, 40, 0.06);
  --shadow: 0 10px 30px rgba(150, 90, 40, 0.09);
  --shadow-lg: 0 20px 50px rgba(150, 90, 40, 0.13);
  --shadow-orange: 0 12px 28px rgba(255, 94, 0, 0.28);

  /* Spacing */
  --section-gap: 112px;
  --container-w: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg-cream);
  color: var(--color-text-body);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
  background: var(--color-white);
}

.section--alt {
  background: var(--color-bg-cream);
}

/* ---------- Typography ---------- */
.section-label {
  display: inline-block;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-point);
  background: var(--color-point-tint);
  letter-spacing: 0.08em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
/* 라벨이 중앙 정렬 블록 안에서 가운데 오도록 래퍼 처리 */
.section .container > .section-label,
.final-cta .container > .section-label {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.32;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-desc {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-body);
  max-width: 640px;
  margin: 0 auto 58px;
}

strong { color: var(--color-text); font-weight: 800; }

.point { color: var(--color-point); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.header-logo {
  font-size: 19px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.header-logo .point { color: var(--color-point); }

.header-cta {
  display: inline-block;
  background: var(--color-point);
  color: var(--color-white);
  font-size: 15px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange);
  transition: transform 0.18s ease, background 0.2s ease;
}

.header-cta:hover { background: var(--color-point-dark); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 100px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 94, 0, 0.10), transparent 70%),
    radial-gradient(circle at 85% 30%, rgba(255, 122, 43, 0.10), transparent 45%),
    var(--color-bg-cream);
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-white);
  color: var(--color-point);
  font-size: 14px;
  font-weight: 800;
  padding: 9px 20px;
  border: 1.5px solid var(--color-point-tint-2);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: "🔥";
  font-size: 14px;
}

.hero-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 19px;
  color: var(--color-text-body);
  max-width: 560px;
  margin: 0 auto 18px;
}

.hero-meta {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 40px;
}

.hero-meta span + span::before {
  content: "·";
  margin: 0 10px;
  color: var(--color-border);
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 46px;
  background: var(--color-point);
  color: var(--color-white);
  font-size: 18px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary::after {
  content: "→";
  margin-left: 10px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--color-point-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(255, 94, 0, 0.36);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-sub-note {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text-body);
  word-break: keep-all;
}

/* ---------- 카카오톡 문의 버튼 ---------- */
.btn-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  padding: 0 34px;
  background: #fee500;
  color: #191600;
  font-size: 18px;
  font-weight: 800;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-kakao:hover {
  background: #ffeb3b;
  transform: translateY(-2px);
}

/* 카카오 말풍선 아이콘 (SVG 인라인) */
.kakao-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23191600' d='M12 3C6.48 3 2 6.48 2 10.77c0 2.77 1.86 5.2 4.66 6.57-.15.53-.96 3.3-.99 3.52 0 0-.02.17.09.23.11.07.24.02.24.02.32-.04 3.66-2.4 4.24-2.81.57.08 1.15.12 1.76.12 5.52 0 10-3.48 10-7.77S17.52 3 12 3z'/%3E%3C/svg%3E");
}

/* 어두운 배경(최종 CTA) 위에서의 카카오 버튼 */
.btn-kakao--on-dark { box-shadow: 0 4px 18px rgba(0,0,0,.18); }

/* 가격 카드 등: 위 버튼과 간격을 둔 카카오 버튼 */
.btn-kakao--spaced { margin-top: 12px; }

/* ---------- 2기 커리큘럼 보기 버튼 (아웃라인형) ---------- */
.btn-curriculum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 60px;
  padding: 0 34px;
  background: var(--color-white);
  color: var(--color-point);
  font-size: 18px;
  font-weight: 800;
  border: 2px solid var(--color-point);
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-curriculum::after {
  content: "→";
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-curriculum:hover {
  background: var(--color-point);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-curriculum:hover::after { transform: translateX(4px); }

/* 정보 카드 안에 들어가는 작은 커리큘럼 링크 */
.info-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--color-point);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.info-card-link::after { content: "→"; transition: transform 0.2s ease; }
.info-card-link:hover { border-bottom-color: var(--color-point); }
.info-card-link:hover::after { transform: translateX(3px); }

/* CTA 버튼 2개 나란히 배치 */
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* ---------- 플로팅 카카오 버튼 (항상 표시) ---------- */
.kakao-float {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 54px;
  padding: 0 20px;
  background: #fee500;
  color: #191600;
  font-size: 16px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kakao-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.kakao-float .kakao-icon { width: 24px; height: 24px; }

/* ---------- Hero Video ---------- */
.hero-video {
  max-width: 720px;
  width: 100%;
  margin: 56px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* ---------- Check List (대상) ---------- */
.check-list {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 17px;
  color: var(--color-text);
  font-weight: 500;
}

.check-list .check-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-point-tint);
  color: var(--color-point);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ---------- Cards (과정 3카드) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--color-point-tint);
  color: var(--color-point);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* ---------- 페르소나 직군 카드 ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}

.persona-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

/* 상단 강조 바 (호버 시 등장) */
.persona-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-point);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.persona-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.persona-card:hover::before { transform: scaleX(1); }

.persona-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-point-tint);
  font-size: 28px;
  margin-bottom: 18px;
}

.persona-tag {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 10px;
  word-break: keep-all;
}

.persona-problem {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  word-break: keep-all;
}

.persona-problem strong { color: var(--color-point); font-weight: 700; }

/* ---------- 함께하는 사람들 / 커뮤니티 이미지 ---------- */
.persona-more {
  text-align: center;
  margin: 32px auto 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-body);
}

.community-figure {
  max-width: 880px;
  margin: 36px auto 0;
  text-align: center;
}

/* 클릭 가능한 줌 버튼 */
.community-zoom-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
}

.community-zoom-btn img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: block;
  transition: transform 0.3s ease;
}

.community-zoom-btn:hover img { transform: scale(1.02); }

.community-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 94, 0, 0.92);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  pointer-events: none;
}

.community-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* ---------- 이미지 확대 라이트박스 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 35, 0.92);
  padding: 24px;
  cursor: zoom-out;
  animation: lightboxFade 0.2s ease;
}

.lightbox[hidden] { display: none; }

@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-img {
  max-width: 96vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- 비개발자 실제 성과 사례 ---------- */
.result-case {
  max-width: 940px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.result-case-figure { margin: 0; }

.result-case-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.result-case-cap {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-sub);
  text-align: center;
}

.rc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-point);
  background: var(--color-point-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.rc-title {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 24px;
  word-break: keep-all;
}

.rc-title strong { color: var(--color-point); }

/* 핵심 지표 배지 */
.rc-metrics {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.rc-metric {
  flex: 1;
  text-align: center;
  padding: 18px 10px;
  border-right: 1px solid var(--color-border);
}

.rc-metric:last-child { border-right: none; }

.rc-metric-num {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-point);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.rc-metric-label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--color-text-sub);
}

.rc-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--color-text-body);
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.rc-desc strong { color: var(--color-text); font-weight: 700; }

/* ---------- 검증된 소스코드 제공 / 차별점 ---------- */
.edge-block {
  max-width: 940px;
  margin: 28px auto 0;
  background: linear-gradient(135deg, #ff6a0d 0%, #ff5e00 55%, #e54e00 100%);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-orange);
}

.edge-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

.edge-title {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  word-break: keep-all;
}

.edge-title strong { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

.edge-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto 32px;
  word-break: keep-all;
}

.edge-desc strong { color: #fff; font-weight: 700; }

/* 효율 비교 */
.edge-compare {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.edge-side {
  flex: 1;
  border-radius: 14px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.edge-side--others {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.edge-side--us {
  background: #fff;
}

.edge-side-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.edge-side--others .edge-side-label { color: rgba(255, 255, 255, 0.7); }
.edge-side--us .edge-side-label { color: var(--color-point); }

.edge-side-num {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
}

.edge-side--others .edge-side-num { color: rgba(255, 255, 255, 0.85); }
.edge-side--us .edge-side-num { color: var(--color-point); }

.edge-side-sub {
  font-size: 13px;
  line-height: 1.5;
}

.edge-side--others .edge-side-sub { color: rgba(255, 255, 255, 0.6); }
.edge-side--us .edge-side-sub { color: var(--color-text-body); }

.edge-vs {
  align-self: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  flex: 0 0 auto;
}

/* ---------- 주차별 로드맵 ---------- */
.roadmap-weeks {
  max-width: 760px;
  margin: 0 auto 56px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.week-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.week-item:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.week-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 9px 14px;
  background: var(--color-point);
  color: var(--color-white);
  font-weight: 800;
  font-size: 15px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange);
}

.week-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.week-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
}

.week-text strong { color: var(--color-text); }

/* ---------- +2주 애프터케어 (보너스 구간) ---------- */
.week-item--care {
  background: #fffaf6;
  border-style: dashed;
  border-color: var(--color-point);
}

.week-item--care .week-title::after {
  content: "BONUS";
  display: inline-block;
  margin-left: 9px;
  padding: 3px 9px;
  background: var(--color-point);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.week-badge--care {
  min-width: 148px;
  background: var(--color-white);
  color: var(--color-point);
  border: 2px solid var(--color-point);
  font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: none;
}

/* 커리큘럼 섹션 하단 CTA */
.curriculum-cta {
  display: flex;
  justify-content: center;
  margin: 28px 0 44px;
}

.curriculum-sub {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
}

/* ---------- 성과: 비포&애프터 ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto 36px;
}

.ba-col {
  border-radius: var(--radius);
  padding: 28px 30px;
}

.ba-before {
  background: #f5f1ec;
  border: 1px solid var(--color-border);
}

.ba-after {
  background: var(--color-point-tint);
  border: 1px solid var(--color-point-tint-2);
}

.ba-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.ba-before .ba-label { color: var(--color-text-sub); }
.ba-after .ba-label { color: var(--color-point); }

.ba-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ba-col li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-body);
  padding-left: 22px;
  position: relative;
}

.ba-before li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--color-text-sub);
}

.ba-after li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--color-point);
  font-weight: 700;
}

.ba-after li strong { color: var(--color-text); }

.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--color-point);
  font-weight: 700;
}

/* ---------- 지니어스 존 ---------- */
.genius-zone {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #2a2018 0%, #1c1510 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow);
}

.genius-zone .gz-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-point-light);
  margin-bottom: 14px;
}

.genius-zone .gz-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.genius-zone .gz-text strong { color: #fff; }

/* ---------- 멘토 프로필 추가 문구 ---------- */
.profile-note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-top: 14px;
}

.profile-note strong { color: var(--color-point); }

/* ---------- 운영 방식 카드 그리드 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.info-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--color-point-tint);
  font-size: 22px;
}

.info-card-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-point);
}

.info-card-headline {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 10px;
  word-break: keep-all;
}

.info-card-body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-body);
  word-break: keep-all;
}

.info-card-body strong { color: var(--color-text); font-weight: 700; }

/* ---------- 통계 블록 (운영자) ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 48px;
}

.stat {
  text-align: center;
  padding: 34px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 38px;
  font-weight: 900;
  color: var(--color-point);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--color-text-sub);
}

.profile-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.profile-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
}

.profile-desc {
  font-size: 16px;
  color: var(--color-text-body);
  margin-bottom: 20px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-point);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- 영상 섹션 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}

.video-item { margin: 0; }

/* 영상 개수가 홀수일 때(예: 5개) 마지막 항목을 가운데 정렬 */
.video-grid .video-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc((100% - 24px) / 2);
  margin: 0 auto;
}

.video-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-caption {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

.video-channels {
  margin-top: 44px;
  text-align: center;
  font-size: 15px;
  color: var(--color-text-sub);
}

.video-channels a {
  display: inline-block;
  margin-left: 10px;
  font-weight: 600;
  color: var(--color-point);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* ---------- 기수별 가격 로드맵 ---------- */
.price-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.roadmap-item {
  text-align: center;
  padding: 22px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.roadmap-item .roadmap-cohort {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
  margin-bottom: 6px;
}

.roadmap-item .roadmap-price {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 6px;
}

.roadmap-item .roadmap-status {
  display: block;
  font-size: 13px;
  color: var(--color-text-sub);
}

/* 1기: 마감 — 흐리게 + 취소선 */
.roadmap-item.is-closed {
  background: #f5f1ec;
}

.roadmap-item.is-closed .roadmap-price {
  color: var(--color-text-sub);
  text-decoration: line-through;
  font-weight: 600;
}

/* 2기: 현재 모집 — 포인트 강조 */
.roadmap-item.is-current {
  border: 2px solid var(--color-point);
  background: var(--color-point-tint);
  box-shadow: var(--shadow-orange);
  transform: scale(1.04);
}

.roadmap-item.is-current .roadmap-cohort,
.roadmap-item.is-current .roadmap-status {
  color: var(--color-point);
  font-weight: 700;
}

.roadmap-item.is-current .roadmap-price {
  color: var(--color-point);
}

/* ---------- 가격 테이블 ---------- */
.price-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-white);
  border: 2px solid var(--color-point);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.price-head {
  background: var(--color-point);
  color: var(--color-white);
  text-align: center;
  padding: 22px 24px;
}

.price-head .price-head-title {
  font-size: 18px;
  font-weight: 800;
}

.price-body {
  padding: 36px 36px 40px;
  text-align: center;
}

.price-original {
  font-size: 17px;
  color: var(--color-text-sub);
  text-decoration: line-through;
  margin-bottom: 6px;
}

.price-current {
  font-size: 46px;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.price-current small {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-point);
  margin-left: 6px;
}

.price-note {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 28px;
}

.price-details {
  text-align: left;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-details li {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.price-details .dt { color: var(--color-text-sub); }
.price-details .dd { color: var(--color-text); font-weight: 600; }

.price-card .btn-primary,
.price-card .btn-kakao { width: 100%; }

.honest-box {
  max-width: 560px;
  margin: 40px auto 0;
  background: #f5f1ec;
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 15px;
  color: var(--color-text-body);
}

.honest-box .honest-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

/* ---------- 최종 CTA ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding: 112px 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 45%),
    linear-gradient(135deg, #ff6a0d 0%, #ff5e00 55%, #e54e00 100%);
  overflow: hidden;
}

.final-cta .section-label {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.final-cta .section-title { color: var(--color-white); }

.final-cta .section-desc {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 40px;
}

.final-cta .btn-primary {
  background: var(--color-white);
  color: var(--color-point);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.final-cta .btn-primary:hover { background: #fff5ee; transform: translateY(-2px); }

.final-cta .contact-row {
  margin-top: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.final-cta .contact-row a {
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.final-cta .contact-row span + span::before {
  content: "·";
  margin: 0 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 36px 0 96px; /* 하단 여백: 플로팅 카톡 버튼과 겹침 방지 */
  text-align: center;
  font-size: 14px;
  color: var(--color-text-sub);
  background: var(--color-bg-cream);
  border-top: 1px solid var(--color-border);
}

.footer-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}

.footer-links a {
  color: var(--color-point);
  font-weight: 600;
}

.footer-links a:hover { text-decoration: underline; }

/* ---------- Scroll Fade-in ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-gap: 80px; }

  .hero { padding: 64px 0 72px; }
  .hero-title { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 27px; }

  .card-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat { padding: 24px 8px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 13px; }

  .info-grid { grid-template-columns: 1fr; gap: 16px; }
  .info-card { padding: 26px 24px; }
  .info-card-headline { font-size: 18px; }

  .video-grid { grid-template-columns: 1fr; gap: 28px; }
  .video-grid .video-item:last-child:nth-child(odd) { max-width: 100%; margin: 0; }

  .price-roadmap { gap: 8px; }
  .roadmap-item { padding: 16px 6px; }
  .roadmap-item .roadmap-price { font-size: 17px; }
  .roadmap-item .roadmap-status { font-size: 12px; }

  .price-body { padding: 28px 24px 32px; }
  .price-current { font-size: 34px; }

  /* 모바일: CTA 버튼 2개를 세로로 꽉 차게 */
  .cta-pair { flex-direction: column; width: 100%; }
  .cta-pair .btn-primary,
  .cta-pair .btn-kakao { width: 100%; }

  /* 신규 섹션 반응형 */
  .persona-grid { grid-template-columns: 1fr; gap: 16px; }
  .persona-card { padding: 24px 22px; }

  .result-case { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; }
  .rc-title { font-size: 20px; margin-bottom: 20px; }
  .rc-metric-num { font-size: 19px; }
  .rc-metric { padding: 14px 6px; }
  .rc-metric-label { font-size: 11.5px; }

  .edge-block { padding: 32px 24px; }
  .edge-title { font-size: 21px; }
  .edge-desc { font-size: 15px; }
  .edge-compare { flex-direction: column; gap: 12px; }
  .edge-vs { transform: none; }
  .edge-side-num { font-size: 34px; }

  .week-item { flex-direction: column; gap: 12px; padding: 22px 20px; }
  .week-badge { align-self: flex-start; }

  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-arrow { transform: rotate(90deg); margin: 0 auto; }

  .genius-zone { padding: 32px 26px; }
  .gz-title { font-size: 22px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero-title { font-size: 27px; }
  .section-title { font-size: 23px; }
  .btn-sub-note { font-size: 16px; }
  .hero-meta span { display: block; }
  .hero-meta span + span::before { content: none; }
  .btn-primary { width: 100%; padding: 0 24px; }
  .btn-kakao { width: 100%; padding: 0 20px; }
  .check-list li { padding: 16px 18px; font-size: 15px; }
  .final-cta .contact-row span { display: block; margin-top: 8px; }
  .final-cta .contact-row span + span::before { content: none; }

  /* 모바일: 플로팅 버튼은 아이콘만 (텍스트 숨김) */
  .kakao-float { right: 14px; bottom: 16px; height: 50px; padding: 0 14px; }
  .kakao-float-text { display: none; }
  .kakao-float .kakao-icon { width: 26px; height: 26px; }
}
