/* ====================================================================
   lms.css — 메인 LMS 사이트 (기본 고객사) 디자인
   body.lms-site 에만 적용.
   - 색: starteacher.co.kr 팔레트 (인디고 #4F46E5 + 남색 #141822 + 파스텔 보조색), 배경 흰색
   - 구조: works.incruit.com (가운데 히어로 → 3×2 바로가기 카드 → 좌우 교차 기능 블록 + UI 목업)
   - 아이콘: Hugeicons Stroke Rounded SVG (<x-lms-icon>), 선 두께는 크기와 무관하게 1.75px
   ==================================================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* 다른 고객사(자체 테마)에서 강의 카드·목록을 쓸 때의 기본값 */
:root { --lms-accent: var(--green-dark); --lms-dark: #141822; }

/* ── 토큰: 기존 --green 계열을 덮어써 기존 화면(상세·커뮤니티 등)도 같은 톤으로 ── */
/* S-Core Dream (로컬 폰트, 관리자 화면과 같은 파일) */
@font-face { font-family: 'scdream'; font-weight: 100; font-style: normal; font-display: swap; src: url(../fonts/SCDream1.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 200; font-style: normal; font-display: swap; src: url(../fonts/SCDream2.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/SCDream3.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/SCDream4.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/SCDream5.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/SCDream6.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/SCDream7.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/SCDream8.woff) format('woff'); }
@font-face { font-family: 'scdream'; font-weight: 900; font-style: normal; font-display: swap; src: url(../fonts/SCDream9.woff) format('woff'); }

body.lms-site {
  --green:      #4F46E5;
  --green-dark: #4338CA;
  --green-soft: #EEF0FE;
  --green-mid:  rgba(79,70,229,.14);
  --text:       #141822;
  --muted:      #6C727E;
  --bg:         #FFFFFF;
  --tint:       #F4F6F8;
  --border:     #E2E4E9;
  --lms-accent: #4F46E5;
  --lms-dark:   #141822;
  --yellow:     #FBBF24;
  --rose:       #F43F5E;
  /* 글꼴: 메인 전체 S-Core Dream (Pretendard 는 폰트 로드 전 대체용) */
  --f-dream: 'scdream', 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-family: var(--f-dream);   /* 기본 글자 크기 16px */
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.lms-site a { text-decoration: none; }
.lms-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lms-ico { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.125em; stroke-width: 1.75; }
.lms-ico * { vector-effect: non-scaling-stroke; }   /* 크게 그려도 선은 2px 이하 */

/* ── 버튼 ─────────────────────────────────────────────── */
.lms-btn, .lms-btn-line, .lms-btn-soft {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 10px;
  font-family: var(--f-dream); font-weight: 700; font-size: 16px; letter-spacing: -.02em;
  white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.lms-btn       { background: var(--green); color: #fff; border: 1px solid var(--green); }
.lms-btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(79,70,229,.28); }
.lms-btn-line  { background: #fff; color: var(--green); border: 1px solid var(--green); }
.lms-btn-line:hover { background: var(--green-soft); color: var(--green-dark); transform: translateY(-2px); }
.lms-btn-soft  { background: var(--green-soft); color: var(--green); border: 1px solid transparent; }
.lms-btn-soft:hover { background: var(--green); color: #fff; }
.lms-btn-white { background: #fff; color: var(--text); border-color: #fff; }
.lms-btn-white:hover { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); box-shadow: none; }
.lms-btn-dark  { background: #3f3f46; color: #fff; border-color: #3f3f46; }
.lms-btn-dark:hover { background: #27272a; border-color: #27272a; color: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.lms-btn-sm    { height: 38px; padding: 0 16px; font-family: var(--f-dream); font-size: 14px; border-radius: 8px; }
.lms-btn-lg    { height: 58px; padding: 0 30px; font-family: var(--f-dream); font-size: 17px; border-radius: 12px; }
.lms-btn .lms-ico, .lms-more .lms-ico, .lms-footer-band a .lms-ico { transition: transform .2s; }
.lms-btn:hover .lms-ico, .lms-more:hover .lms-ico, .lms-footer-band a:hover .lms-ico { transform: translateX(4px); }

/* ── 헤더 ─────────────────────────────────────────────── */
.lms-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid #F0F1F4; transition: box-shadow .2s;
}
.lms-header.scrolled { box-shadow: 0 6px 20px rgba(20,24,34,.06); }
.lms-header-in { height: 68px; display: flex; align-items: center; gap: 40px; }
.lms-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--f-dream); font-size: 20px; letter-spacing: -.04em; color: var(--text); flex-shrink: 0; }
.lms-logo:hover { color: var(--text); }
.lms-logo-mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 19px;
}
.lms-logo img { height: 32px; max-width: 150px; object-fit: contain; display: block; }
.lms-collapse { display: flex; align-items: center; gap: 28px; flex: 1; }
.lms-nav { display: flex; align-items: center; gap: 30px; flex: 1; font-family: var(--f-dream); font-size: 15px; font-weight: 600; }
.lms-nav a { color: #3A3F4B; padding: 6px 0; position: relative; }
.lms-nav a:hover, .lms-nav a.active { color: var(--green); }
.lms-nav a.active { font-weight: 700; }
.lms-nav a.lms-biz { margin-left: auto; }
.lms-nav a.lms-biz::before {   /* 인크루트의 작은 점 표시 */
  content: ""; position: absolute; right: -7px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--rose);
}
.lms-auth { display: flex; align-items: center; gap: 8px; }
.lms-auth .lms-link { font-family: var(--f-dream); font-size: 14px; font-weight: 600; color: #3A3F4B; display: inline-flex; align-items: center; gap: 4px; }
.lms-auth .lms-link:hover { color: var(--green); }
.lms-mob-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  border-radius: 10px; font-family: var(--f-dream); font-size: 26px; color: var(--text); cursor: pointer;
}
@media (max-width: 960px) {
  .lms-mob-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lms-collapse {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--border); padding: 16px 24px 24px;
  }
  .lms-collapse.open { display: flex; }
  .lms-nav { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lms-nav a.lms-biz { margin-left: 0; }
  .lms-auth { flex-wrap: wrap; }
}

/* ── 섹션 공통 ─────────────────────────────────────────── */
.lms-sec { padding: 80px 24px; }
.lms-sec-tight { padding: 24px 24px; }
.lms-sec-end { padding-top: 40px; padding-bottom: 96px; }
.lms-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.lms-h2 { margin: 0; font-family: var(--f-dream); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.045em; line-height: 1.3; color: var(--text); }
.lms-h2 em, .lms-top h1 em { font-style: normal; color: var(--green); }
.lms-center { text-align: center; }
.lms-lead { margin: 0; font-family: var(--f-dream); font-size: 17px; line-height: 1.6; color: var(--muted); }
.lms-more { font-family: var(--f-dream); font-size: 15px; font-weight: 700; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.lms-more:hover { color: var(--green); }
.lms-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.lms-band { background: var(--tint); }

/* ── 히어로 + 바로가기 (인크루트 상단) ───────────────────── */
.lms-top { background: linear-gradient(180deg, #FFFFFF 0%, #F1F2FE 38%, #E9EBFD 100%); padding-bottom: 88px; }
.lms-hero { padding: 88px 24px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.lms-pill {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-family: var(--f-dream); font-size: 14px; font-weight: 700;
}
.lms-top h1 {
  margin: 0; font-family: var(--f-dream); font-size: clamp(36px, 5vw, 56px); line-height: 1.22; letter-spacing: -.05em;
  font-weight: 700; color: var(--text); text-wrap: balance;
}
.lms-top h1 em { position: relative; display: inline-block; }
.lms-top h1 em::after {   /* 노란 형광펜 (스타티처 강조색) */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 6px; height: 14px; z-index: -1;
  background: rgba(251,191,36,.45); border-radius: 4px; transform-origin: left; animation: lms-draw .8s ease .6s both;
}
.lms-hero-sub { margin: 0; font-family: var(--f-dream); font-size: 18px; line-height: 1.65; color: var(--muted); }
.lms-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.lms-hero > * { animation: lms-up .8s cubic-bezier(.2,.7,.2,1) both; }
.lms-hero > :nth-child(2) { animation-delay: .08s; }
.lms-hero > :nth-child(3) { animation-delay: .16s; }
.lms-hero > :nth-child(4) { animation-delay: .24s; }

/* ── 히어로 배경 모션: 도트 링 (lms.js 가 canvas 에 그림) ── */
.lms-hero-box { position: relative; overflow: hidden; }
.lms-hero { position: relative; z-index: 1; padding-top: 150px; padding-bottom: 130px; }
.lms-particles { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

.lms-quick { padding-top: 50px; }
.lms-quick-sub { margin: 14px 0 36px; text-align: center; font-family: var(--f-dream); font-size: 15px; color: var(--muted); }

/* 바로가기: 벤토 그리드 + 카드마다 미니 UI */
.lms-bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 216px 216px auto; gap: 16px;
  grid-template-areas: "courses courses free review" "courses courses community my" "biz biz biz biz";
}
.lms-bc {
  position: relative; overflow: hidden; padding: 24px; border-radius: 20px; color: var(--text);
  background: #fff; border: 1px solid rgba(79,70,229,.10); box-shadow: 0 10px 30px rgba(79,70,229,.07);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.lms-bc:hover { color: var(--text); transform: translateY(-6px); border-color: rgba(79,70,229,.45); box-shadow: 0 20px 40px rgba(79,70,229,.14); }
.bc-head { display: flex; flex-direction: column; gap: 2px; }
.bc-head strong { font-family: var(--f-dream); font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.bc-head span { font-family: var(--f-dream); font-size: 13px; color: var(--muted); }
.bc-go { margin-top: auto; font-family: var(--f-dream); font-size: 14px; font-weight: 700; color: var(--green); }

/* 전체 강의 (큰 칸) */
.bc-courses { grid-area: courses; padding: 28px; background: linear-gradient(160deg, #fff 40%, #F1F2FE); }
.bc-courses .bc-head strong { font-family: var(--f-dream); font-size: 24px; }
.bc-list { display: flex; flex-direction: column; gap: 10px; }
.bc-item {
  display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); transition: border-color .25s, translate .3s;
}
.bc-courses:hover .bc-item:nth-child(1) { translate: 6px 0; border-color: rgba(79,70,229,.4); }
.bc-thumb {
  width: 76px; height: 52px; border-radius: 10px; flex-shrink: 0; background: #EEF0FE center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 20px; font-weight: 700; color: var(--green);
}
.bc-item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bc-item-txt b { font-family: var(--f-dream); font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-item-txt small { font-family: var(--f-dream); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-item em { font-style: normal; font-family: var(--f-dream); font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--text); }

/* 무료 강의: 쿠폰 */
.bc-free { grid-area: free; }
.bc-coupon {
  position: relative; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px;
  border-radius: 12px; background: var(--green); color: #fff; transition: rotate .3s;
}
.bc-coupon::before, .bc-coupon::after {   /* 쿠폰 양쪽 홈 */
  content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff;
}
.bc-coupon::before { left: -8px; } .bc-coupon::after { right: -8px; }
.bc-coupon span { font-family: var(--f-dream); font-size: 11px; font-weight: 700; letter-spacing: .12em; opacity: .8; }
.bc-coupon b { font-family: var(--f-dream); font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.bc-coupon small { font-family: var(--f-dream); font-size: 15px; margin-left: 2px; }
.bc-free:hover .bc-coupon { rotate: -3deg; }

/* 수강후기: 평점 */
.bc-review { grid-area: review; }
.bc-score { display: flex; align-items: center; gap: 10px; }
.bc-score b { font-family: var(--f-dream); font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--green); }
.bc-stars { position: relative; display: inline-block; font-family: var(--f-dream); font-size: 17px; letter-spacing: 2px; color: #D9DBE3; line-height: 1; }
.bc-stars-on { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--green); font-style: normal; }
.bc-quote { margin: 0; font-family: var(--f-dream); font-size: 13px; line-height: 1.5; color: #4A4F5B; }

/* 커뮤니티: 말풍선 */
.bc-community { grid-area: community; }
.bc-chat { display: flex; flex-direction: column; gap: 8px; font-family: var(--f-dream); font-size: 13px; }
.bc-chat span { padding: 8px 12px; border-radius: 12px; max-width: 88%; transition: translate .3s; }
.bc-chat .q { align-self: flex-start; background: var(--tint); border-bottom-left-radius: 4px; }
.bc-chat .a { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.bc-community:hover .bc-chat .a { translate: -4px 0; }

/* 내 강의실: 진도 */
.bc-my { grid-area: my; }
.bc-progress { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; background: var(--tint); }
.bc-progress-top { display: flex; justify-content: space-between; font-family: var(--f-dream); font-size: 13px; }
.bc-progress-top em { font-style: normal; font-weight: 700; color: var(--green); }
.bc-bar { height: 8px; border-radius: 8px; background: #E2E4F7; overflow: hidden; }
.bc-bar i { display: block; height: 100%; width: 72%; border-radius: 8px; background: var(--green); transition: width .6s; }
.bc-my:hover .bc-bar i { width: 86%; }
.bc-progress small { font-family: var(--f-dream); font-size: 12px; color: var(--muted); }

/* 기업문의: 남색 가로 띠 */
.bc-biz {
  grid-area: biz; flex-direction: row; align-items: center; gap: 24px; padding: 28px 32px;
  background: #141822; border-color: #141822; color: #fff;
}
.bc-biz:hover { color: #fff; border-color: var(--green); }
.bc-biz .bc-head span { color: rgba(255,255,255,.6); }
.bc-chips { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.bc-chips li { font-family: var(--f-dream); font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.bc-btn {
  flex-shrink: 0; height: 44px; padding: 0 20px; border-radius: 10px; background: #fff; color: var(--text);
  font-family: var(--f-dream); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; transition: background .2s;
}
.bc-biz:hover .bc-btn { background: var(--green-soft); color: var(--green); }

@media (max-width: 960px) {
  .lms-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none;
    grid-template-areas: "courses courses" "free review" "community my" "biz biz"; }
  .lms-bc { min-height: 190px; }
  .bc-biz { flex-direction: column; align-items: flex-start; min-height: 0; }
  .bc-chips { margin-left: 0; }
}
@media (max-width: 560px) {
  .lms-bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "courses" "free" "review" "community" "my" "biz"; }
}
@media (max-width: 860px) {
  .lms-top { padding-bottom: 56px; }
  .lms-hero { padding-top: 56px; }
  .lms-quick { padding-top: 64px; }
}

/* ── 기능 블록 (좌우 교차) ─────────────────────────────── */
.lms-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding-top: 112px; padding-bottom: 16px; }
.lms-feature-rev .lms-feature-copy { order: 2; }
.lms-feature-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lms-ghost {   /* 인크루트의 큰 흐린 영문 제목 */
  position: absolute; top: -78px; left: -4px; font-family: var(--f-dream); font-size: clamp(56px, 7vw, 88px); font-weight: 700;
  letter-spacing: -.04em; line-height: 1; color: var(--green); opacity: .08; pointer-events: none; white-space: nowrap;
}
.lms-feature-rev .lms-ghost { left: auto; right: 0; }
.lms-tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px;
  font-family: var(--f-dream); font-size: 13px; font-weight: 700; color: var(--green); background: #fff; border: 1px solid rgba(79,70,229,.35);
}
.lms-h3 { margin: 0; font-family: var(--f-dream); font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.045em; line-height: 1.3; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lms-h3 .lms-ico { color: var(--green); font-size: .8em; }
.lms-feature-point { margin: 4px 0 0; font-family: var(--f-dream); font-size: 20px; font-weight: 700; color: var(--green); letter-spacing: -.035em; }
.lms-feature-desc { margin: 0; font-family: var(--f-dream); font-size: 16px; line-height: 1.7; color: var(--muted); }
.lms-checks { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 380px; }
.lms-checks li {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px;
  background: var(--tint); font-family: var(--f-dream); font-size: 15px; font-weight: 600;
}
.lms-checks .lms-ico { color: var(--green); font-family: var(--f-dream); font-size: 20px; }

/* 목업 상자 */
.lms-mock-box {
  position: relative; min-height: 360px; padding: 40px 36px; border-radius: 24px;
  background: linear-gradient(140deg, #E9EBFD, #F4F5FF);
  display: flex; align-items: center; justify-content: center;
}
.lms-mock {
  background: #fff; border-radius: 14px; box-shadow: 0 20px 44px rgba(20,24,34,.12); font-family: var(--f-dream); font-size: 13px;
}
.lms-mock-note {
  position: absolute; right: -18px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  animation: lms-float 5s ease-in-out infinite;
}
.lms-mock-note.note-left { right: auto; left: -18px; }
.lms-mock-note > .lms-ico { font-family: var(--f-dream); font-size: 30px; color: var(--green); }
.lms-mock-note span { display: flex; flex-direction: column; color: var(--muted); }
.lms-mock-note b { color: var(--text); font-family: var(--f-dream); font-size: 14px; }

/* 플레이어 목업 */
.lms-mock-player { width: 100%; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); overflow: hidden; }
.mp-screen { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1E2235, #141822); }
.mp-play {
  position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 24px;
  box-shadow: 0 0 0 10px rgba(79,70,229,.25); animation: lms-pulse 2.4s ease-in-out infinite;
}
.mp-bar { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.2); }
.mp-bar span { display: block; height: 100%; width: 62%; border-radius: 4px; background: #A5B4FC; }
.mp-speed { position: absolute; top: 12px; right: 12px; display: flex; gap: 4px; }
.mp-speed b { font-family: var(--f-dream); font-size: 11px; color: #fff; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.14); }
.mp-speed b.on { background: var(--green); }
.mp-side { padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; color: var(--muted); }
.mp-side strong { font-family: var(--f-dream); font-size: 14px; color: var(--text); margin-bottom: 2px; }
.mp-side span { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.mp-side strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-side span.done .lms-ico { color: var(--green); }
.mp-side span.now { color: var(--green); font-weight: 700; background: var(--green-soft); border-radius: 8px; padding: 6px 8px; margin: 0 -8px; }

/* 진도 목업 */
.lms-mock-progress { width: 100%; max-width: 460px; padding: 24px; display: flex; align-items: center; gap: 24px; }
.mg-ring {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--green) 0 72%, var(--green-soft) 72% 100%); display: flex; align-items: center; justify-content: center;
}
.mg-ring span { width: 92px; height: 92px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 30px; font-weight: 700; }
.mg-ring small { font-family: var(--f-dream); font-size: 15px; }
.mg-rows { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mg-rows strong { font-family: var(--f-dream); font-size: 15px; }
.mg-row { display: grid; grid-template-columns: 40px 1fr 36px; align-items: center; gap: 8px; color: var(--muted); }
.mg-row i { height: 8px; border-radius: 8px; background: #EEF0F3; overflow: hidden; }
.mg-row b { display: block; height: 100%; border-radius: 8px; background: var(--green); }
.mg-row em { font-style: normal; text-align: right; font-weight: 700; color: var(--text); }
.mg-p100 { width: 100%; } .mg-p64 { width: 64%; } .mg-p20 { width: 20%; }

/* 질문·수료 목업 */
.lms-mock-qa { width: 100%; max-width: 440px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.qa-q, .qa-a { display: flex; align-items: flex-end; gap: 8px; }
.qa-a { justify-content: flex-end; }
.qa-q > .lms-ico, .qa-a > .lms-ico { font-family: var(--f-dream); font-size: 34px; color: var(--green); flex-shrink: 0; }
.qa-q span, .qa-a span { padding: 12px 14px; border-radius: 14px; line-height: 1.5; max-width: 80%; }
.qa-q span { background: var(--tint); border-bottom-left-radius: 4px; }
.qa-a span { background: var(--green); color: #fff; border-bottom-right-radius: 4px; }
.lms-mock-cert {
  position: absolute; right: -18px; bottom: -26px; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  animation: lms-float 5.5s ease-in-out infinite;
}
.lms-mock-cert > .lms-ico:first-child { font-family: var(--f-dream); font-size: 32px; color: var(--green); }
.lms-mock-cert span { display: flex; flex-direction: column; color: var(--muted); }
.lms-mock-cert b { color: var(--text); font-family: var(--f-dream); font-size: 14px; }
.cert-seal { font-family: var(--f-dream); font-size: 22px; color: var(--green); }

@media (max-width: 860px) {
  .lms-feature { grid-template-columns: 1fr; gap: 40px; padding-top: 88px; }
  .lms-feature-rev .lms-feature-copy { order: 0; }
  .lms-ghost { top: -60px; }
  .lms-mock-box { padding: 28px 20px; min-height: 0; }
  .lms-mock-note, .lms-mock-cert { right: 8px; bottom: -20px; }
  .lms-mock-note.note-left { left: 8px; }
  .lms-mock-player { grid-template-columns: 1fr; }
  .mp-side { display: none; }
}

/* ── 강의 카드 ─────────────────────────────────────────── */
.lms-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 60px) / 4));
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; margin: -8px -4px 0; scrollbar-width: none;
}
.lms-rail::-webkit-scrollbar { display: none; }
.lms-rail > * { scroll-snap-align: start; }
.lms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.lms-card {
  display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  color: var(--text); background: #fff; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.lms-card:hover { transform: translateY(-8px); border-color: rgba(79,70,229,.4); box-shadow: 0 18px 36px rgba(79,70,229,.14); color: var(--text); }
.lms-card-thumb {
  aspect-ratio: 16 / 10; position: relative; display: flex; align-items: center; justify-content: center;
  background: #EEF0FE center / cover no-repeat; overflow: hidden;
}
.lms-thumb-ico { font-family: var(--f-dream); font-size: 76px; color: var(--green); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lms-card:hover .lms-thumb-ico { transform: scale(1.12) rotate(-6deg); }
.lms-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.lms-badge { font-family: var(--f-dream); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--green); color: #fff; }
.lms-badge-dark { background: var(--text); }
.lms-badge-light { background: #fff; color: var(--text); border: 1px solid var(--border); }
.lms-card-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.lms-card-cat { font-family: var(--f-dream); font-size: 13px; font-weight: 700; color: var(--green); }
.lms-card-title { font-family: var(--f-dream); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.03em; }
.lms-card-meta { font-family: var(--f-dream); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 0; align-items: center; }
.lms-card-meta > span + span::before { content: "·"; margin: 0 8px; }
.lms-star { color: var(--green); }
.lms-card-price { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.lms-card-price strong { font-family: var(--f-dream); font-size: 18px; font-weight: 700; white-space: nowrap; }
.lms-card-price .free { color: var(--rose); }
.lms-card-cta { margin-top: 6px; text-align: center; }

/* ── 수강 흐름 ─────────────────────────────────────────── */
.lms-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.lms-steps li {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 28px 14px; border-radius: 16px; background: var(--tint);
}
.lms-steps li:not(:last-child)::after {   /* 단계 사이 화살표 */
  content: ""; position: absolute; top: 50%; right: -13px; width: 10px; height: 10px; z-index: 1;
  border-top: 2px solid #C7CAF8; border-right: 2px solid #C7CAF8; transform: translateY(-50%) rotate(45deg);
}
.lms-step-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 30px; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(79,70,229,.12);
  transition: background .25s, color .25s, transform .35s cubic-bezier(.3,1.6,.5,1);
}
.lms-steps li:hover .lms-step-ico { background: var(--green); color: #fff; transform: scale(1.08); }
.lms-step-no { margin-top: 8px; font-family: var(--f-dream); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--green); }
.lms-steps strong { font-family: var(--f-dream); font-size: 17px; font-weight: 700; }
.lms-steps li > span:last-child { font-family: var(--f-dream); font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 14em; }
@media (max-width: 860px) {
  .lms-steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lms-steps li::after { display: none; }
}

/* ── 수치 ─────────────────────────────────────────────── */
.lms-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.lms-num { display: flex; align-items: center; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.lms-num-ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 28px;
}
.lms-num .n { font-family: var(--f-dream); font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; color: var(--green); }
.lms-num .n small { font-family: var(--f-dream); font-size: 17px; font-weight: 700; color: var(--text); margin-left: 2px; }
.lms-num .l { font-family: var(--f-dream); font-size: 14px; color: var(--muted); }

/* ── 수강후기 ─────────────────────────────────────────── */
.lms-review {
  margin: 0; padding: 24px; border-radius: 16px; background: var(--tint); border: 1px solid transparent;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .3s, border-color .3s, background .3s;
}
.lms-review:hover { transform: translateY(-6px); border-color: rgba(79,70,229,.3); background: #fff; }
.lms-review .stars { color: #C9CBD3; font-family: var(--f-dream); font-size: 17px; display: flex; gap: 2px; }
.lms-review .stars .on { color: var(--green); }
.lms-review blockquote {
  margin: 0; font-family: var(--f-dream); font-size: 16px; line-height: 1.6; color: #2A2F3A;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lms-review figcaption { font-family: var(--f-dream); font-size: 13px; color: var(--muted); margin-top: auto; display: flex; align-items: center; gap: 8px; }
.lms-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 15px;
}

/* ── 마무리 CTA (스타티처의 남색 띠) ─────────────────────── */
.lms-end {
  position: relative; overflow: hidden; border-radius: 20px; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(99,102,241,.55) 0%, rgba(99,102,241,0) 55%),
    linear-gradient(110deg, #141822 0%, #1B1E3C 45%, #3730A3 100%);
  padding: 40px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
}
.lms-end::before {   /* 아래에서 겹쳐 올라오는 굵은 물결 4겹, 오른쪽으로 갈수록 진함 */
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='200' viewBox='0 0 800 200' preserveAspectRatio='none'%3E%3Cpath d='M0 80 C120 10 260 150 420 80 S680 10 800 66 V200 H0Z' fill='%23818CF8' fill-opacity='0.2'/%3E%3Cpath d='M0 110 C210 48 350 172 510 110 S680 48 800 96 V200 H0Z' fill='%236366F1' fill-opacity='0.26'/%3E%3Cpath d='M0 140 C300 86 440 194 600 140 S680 86 800 126 V200 H0Z' fill='%234F46E5' fill-opacity='0.36'/%3E%3Cpath d='M0 168 C390 128 530 208 690 168 S680 128 800 154 V200 H0Z' fill='%234338CA' fill-opacity='0.55'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, #000 70%);
}
.lms-end > * { position: relative; }
.lms-end-ico {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.08); color: #A5B4FC;
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-dream); font-size: 28px; flex-shrink: 0;
}
.lms-end-copy { flex: 1 1 300px; }
.lms-end h2 { margin: 0; font-family: var(--f-dream); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.04em; }
.lms-end h2 em { font-style: normal; color: #A5B4FC; }
.lms-end p { margin: 8px 0 0; font-family: var(--f-dream); font-size: 15px; color: rgba(255,255,255,.7); }
@media (max-width: 860px) { .lms-end { padding: 32px 24px; } }

/* ── 강의 목록 페이지 ─────────────────────────────────── */
.lms-subhead {   /* 메인 히어로(.lms-top)와 같은 톤의 그라데이션 띠 */
  background: radial-gradient(60% 120% at 100% 0%, rgba(99,102,241,.14), transparent 70%), linear-gradient(180deg, #FFFFFF 0%, #F1F2FE 55%, #E9EBFD 100%);
  border-bottom: 1px solid #E0E3FB;
}
.lms-subhead-in { padding: 48px 24px 16px; display: flex; flex-direction: column; gap: 24px; }
.lms-search .lms-btn { font-size: 15px; }
.lms-page { padding: 24px 24px 80px; display: flex; flex-direction: column; gap: 24px; }
.lms-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.lms-page-head h1 { margin: 0; font-family: var(--f-dream); font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.045em; }
.lms-search { display: flex; gap: 8px; flex: 0 1 440px; }
.lms-search input {
  flex: 1; min-width: 0; height: 50px; padding: 0 20px; font-size: 14px; font-family: var(--f-dream);
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
}
.lms-search input:focus { outline: 2px solid var(--green); outline-offset: 1px; background: #fff; }
.lms-search .lms-btn { border-radius: 999px; }
.lms-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lms-tab {
  height: 40px; padding: 0 18px; border-radius: 999px; font-family: var(--f-dream); font-size: 14px; display: inline-flex; align-items: center;
  border: 1px solid var(--border); background: #fff; color: #3A3F4B; font-weight: 600;
}
.lms-tab:hover { border-color: var(--green); color: var(--green); }
.lms-tab.on { border-color: var(--green); background: var(--green); color: #fff; font-weight: 700; }
.lms-count { font-family: var(--f-dream); font-size: 13px; color: var(--muted); }
.lms-count strong { color: var(--green); }

/* ── 푸터 ─────────────────────────────────────────────── */
.lms-footer { background: #fff; border-top: 1px solid var(--border); color: var(--muted); font-family: var(--f-dream); font-size: 14px; }
.lms-footer-in { padding: 40px 24px 36px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.lms-footer-info { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.lms-footer-info strong { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-family: var(--f-dream); font-size: 18px; font-weight: 700; color: var(--text); }
.lms-footer-copy { margin-top: 6px; font-family: var(--f-dream); font-size: 13px; color: #9CA1AB; }
.lms-footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; font-weight: 600; }
.lms-footer nav a { color: #3A3F4B; }
.lms-footer nav a:hover { color: var(--green); }
.lms-footer-band { background: var(--green); color: #fff; }
.lms-footer-band-in { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; }
.lms-footer-band-in span { display: inline-flex; align-items: center; gap: 8px; }
.lms-footer-band a {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--green); font-family: var(--f-dream); font-size: 14px;
}
.lms-footer-band a:hover { color: var(--green-dark); }

/* ── 모션 ─────────────────────────────────────────────── */
@keyframes lms-up    { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lms-draw  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lms-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lms-pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(79,70,229,.25); } 50% { box-shadow: 0 0 0 16px rgba(79,70,229,.08); } }

/* 스크롤 등장 (lms.js 가 .lms-js / .is-in 부여) */
.lms-js [data-reveal] { opacity: 0; translate: 0 40px; transition: opacity .8s ease, translate .9s cubic-bezier(.2,.7,.2,1); }
.lms-js [data-reveal].is-in { opacity: 1; translate: none; }
.lms-js [data-stagger] > * {
  opacity: 0; translate: 0 36px; scale: .96;
  transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1), scale .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
}
.lms-js [data-stagger].is-in > * { opacity: 1; translate: none; scale: none; }
[data-parallax] { transform: translateY(var(--py, 0)); }

@media (prefers-reduced-motion: reduce) {
  .lms-site *, .lms-site *::before, .lms-site *::after { animation: none !important; transition: none !important; }
  .lms-js [data-reveal], .lms-js [data-stagger] > * { opacity: 1; translate: none; scale: none; }
  [data-parallax] { transform: none; }
}

/* ── 간격 유틸 ─────────────────────────────────────────── */
.lms-mb { margin-bottom: 36px !important; }
.lms-mt { margin-top: 8px; }
.lms-grow { flex: 1 1 260px; }

/* ── 학습자 로그인: 관리자 로그인 안내 ───────────────────── */
.auth-admin-link { text-align: center; margin-top: .5rem; font-family: var(--f-dream); font-size: .8rem; color: var(--muted); }
.auth-admin-link a { color: var(--text); font-weight: 700; text-decoration: underline; }
