/* ============================================================
   EINE ENGLISH — Junior Curriculum Page
   Plain CSS (no Tailwind)
   ============================================================ */

/* Reset omitted to avoid affecting site header/footer - only junior content uses below */

/* ── 헤드라인 폰트: SCoreDream ─────────────────────────── */
.section-title,
.hero__title,
.video-reviews__title,
.reasons__title,
.class-flow__title,
.textbooks__title,
.faq__title,
.bottom-cta__title,
.curriculum-header__title,
.trust-bar__num {
  font-family: "S-CoreDream", "Pretendard Variable", sans-serif;
}

/* ── Variables ──────────────────────────────────────────── */
:root {
  --red: #ec6856;
  --red-dark: #d85c4a;
  --red-light: #fff5f0;
  --yellow: #fee500;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --max-w: 1280px;
  --max-w-md: 896px;
  --px: 1rem; /* base horizontal padding */
  --section-py-sm: 3rem; /* 모바일 섹션 상하 패딩 */
  --section-py: 5.5rem; /* 데스크탑 섹션 상하 패딩 */
  --mobile-cta-h: 4.5rem; /* 하단 고정 CTA 높이 */
  --radius-sm: 0.75rem; /* 12px */
  --radius: 1rem; /* 16px */
  --radius-lg: 1.5rem; /* 24px */
  --radius-xl: 1.75rem; /* 28px */
  --radius-2xl: 2.5rem; /* 40px */
}

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

.container--md {
  max-width: var(--max-w-md);
  margin: 0 auto;
  padding: 0 var(--px);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 0.9375rem;
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(240, 86, 80, 0.3);
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 2px solid var(--slate-200);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--slate-900);
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-dark-pill:hover {
  background: var(--slate-700);
  transform: scale(1.05);
}

/* ── Section Label / Title ──────────────────────────────── */
.section-label {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-weight: 900;
  line-height: 1.25;
  color: var(--slate-900);
}

/* ============================================================
   TOP BANNER
   ============================================================ */
.top-banner {
  background: var(--white);
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--slate-500);
  border-bottom: 1px solid var(--slate-200);
}

.top-banner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.top-banner__bracket {
  color: var(--red);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}
.site-header.scrolled {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo group */
.header-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo__icon {
  width: 2rem;
  height: 2rem;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo__icon span {
  color: var(--white);
  font-weight: 900;
  font-size: 0.75rem;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -0.04em;
}

/* Nav */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    gap: 2rem;
  }
}

.main-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--red);
}
.main-nav a.is-active {
  color: var(--red);
}

/* Header right actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--slate-600);
}

.header-right__text-btn {
  font-size: 0.8125rem;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  display: none;
}
@media (min-width: 1024px) {
  .header-right__text-btn {
    display: block;
  }
}
.header-right__text-btn:hover {
  color: var(--red);
}

.header-right__divider {
  width: 1px;
  height: 1rem;
  background: var(--slate-300);
  display: none;
}
@media (min-width: 1024px) {
  .header-right__divider {
    display: block;
  }
}

.header-right__icon {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}
.header-right__icon:hover {
  color: var(--red);
}

.header-right__menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
@media (min-width: 1024px) {
  .header-right__menu-icon {
    display: none;
  }
}
.header-right__menu-icon:hover {
  color: var(--red);
}

/* ============================================================
   TRUST BADGE BAR
   ============================================================ */
.trust-bar {
  background: var(--slate-800);
  color: var(--white);
  padding: 0; /* 패딩 제거 — flex centering으로 대체 */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem; /* 고정 높이 + flex center = iOS 세로 중앙 보장 */
}

@media (min-width: 1024px) {
  .trust-bar {
    height: 3.75rem;
  } /* 데스크톱 60px */
}

.trust-bar__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%; /* 부모 높이 채움 */
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .trust-bar__inner {
    gap: 4rem;
    font-size: 1.0625rem;
  }
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  line-height: 1; /* iOS: 세로 중앙 정렬 통일 */
  -webkit-text-size-adjust: 100%; /* iOS: 자동 글꼴 크기 조정 방지 */
}

@media (min-width: 1024px) {
  .trust-bar__item {
    gap: 0.625rem;
  }
}

.trust-bar__emoji {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: 50%;
  font-size: 0.875rem;
  display: inline-flex; /* iOS: 이모지 수직정렬 fix */
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 1.5rem;
  min-height: 1.5rem;
}

@media (min-width: 1024px) {
  .trust-bar__emoji {
    padding: 0.375rem;
    font-size: 1rem;
  }
}

.trust-bar__num {
  color: #ff8e8b;
  font-weight: 900;
  font-size: 1.125rem; /* 18px 모바일 */
  margin-left: 0.125rem;
  line-height: 1; /* iOS: 큰 숫자 텍스트 상하 여백 제거 */
}

@media (min-width: 1024px) {
  .trust-bar__num {
    font-size: 2rem;
  } /* 32px */
}

.trust-bar__divider {
  width: 1px;
  height: 1.25rem;
  background: var(--slate-600);
}

/* ============================================================
   CURRICULUM TAB BAR
   ============================================================ */
.curriculum-header {
  background: var(--white);
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .curriculum-header {
    padding-top: 3rem;
  }
}

.curriculum-header__text {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.curriculum-header__eyebrow {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.curriculum-header__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.3;
  word-break: keep-all;
}

@media (min-width: 1024px) {
  .curriculum-header__title {
    font-size: 2.25rem;
  }
}

.curriculum-tabs {
  border-top: 1px solid var(--slate-200);
  padding: 1.25rem 0;
}

.curriculum-tabs__list {
  display: flex;
  gap: 0.5rem;
  padding: 0 1rem;
  overflow-x: auto;
}

@media (min-width: 1024px) {
  .curriculum-tabs__list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    overflow: visible;
  }
}

/* 스크롤 힌트 — 모바일에서만 표시 */
.curriculum-tabs__scroll-hint {
  display: none;
}

.tab-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
  transition:
    color 0.2s,
    border-color 0.2s;
  cursor: pointer;
  background: var(--white);
}

@media (min-width: 1024px) {
  .tab-btn {
    font-size: 1rem;
  }
}

.tab-btn:hover {
  color: var(--red);
}

.tab-btn.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  overflow: visible; /* 콘텐츠 클리핑 방지 — blob은 .hero__blobs에서 격리 */
  background: linear-gradient(135deg, #fff5f0, #ffede4, #ffe8dc);
  padding: 2.5rem 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }
}

/* Blob 전용 clip 컨테이너 */
.hero__blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 0;
  }
}

/* Background blobs */
.hero__blob-tr {
  position: absolute;
  top: 0;
  right: 0;
  width: 31.25rem;
  height: 31.25rem;
  background: rgba(240, 86, 80, 0.05);
  border-radius: 50%;
  transform: translate(33%, -33%);
  filter: blur(48px);
  pointer-events: none;
}

.hero__blob-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 18.75rem;
  height: 18.75rem;
  background: rgba(251, 191, 36, 0.3);
  border-radius: 50%;
  transform: translate(-33%, 33%);
  filter: blur(32px);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    gap: 4rem;
  }
}

/* Text side */
.hero__text {
  flex: 1;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero__text {
    text-align: left;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
}

.hero__title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  } /* 60px */
}

.hero__title-accent {
  color: var(--red);
}

.hero__desc {
  font-size: 0.875rem;
  color: var(--slate-600);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .hero__desc {
    font-size: 1.125rem;
  }
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero__cta-group {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero__cta-group {
    justify-content: flex-start;
  }
}

.btn-hero-primary {
  padding: 0.875rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 1.0625rem; /* 17px 모바일 */
  border-radius: 9999px;
  box-shadow: 0 20px 25px -5px rgba(240, 86, 80, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .btn-hero-primary {
    padding: 1rem 2rem;
    font-size: 1.25rem;
  } /* 20px */
}

.btn-hero-secondary {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 2px solid var(--slate-200);
  transition:
    border-color 0.2s,
    color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-hero-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (min-width: 1024px) {
  .btn-hero-secondary {
    padding: 1rem 2rem;
    font-size: 1.125rem;
  } /* 18px */
}

/* Social proof pills */
/* ── Hero: Stats bar (3열 수치 임팩트) ─────────────────── */
.hero__social-proof {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid rgba(240, 86, 80, 0.13);
  border-radius: 1rem;
  padding: 1rem 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(6px);
}

.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero__stat-num {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__stat-label {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--slate-500);
  line-height: 1.3;
  text-align: center;
}

.hero__stat-divider {
  width: 1px;
  height: 2rem;
  background: var(--slate-200);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hero__social-proof {
    padding: 1.125rem 1rem;
  }
  .hero__stat-num {
    font-size: 1.625rem;
  }
  .hero__stat-label {
    font-size: 0.75rem;
  }
}

/* (구) proof-pill — 하위 호환 유지 */
.proof-pill {
  display: none;
}
.proof-pill__accent {
  color: var(--red);
}

/* Image / card side (PC) */
.hero__visual {
  display: none;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hero__visual {
    display: flex;
    position: relative;
  }
}

.hero__visual-card {
  position: relative;
  width: 22.5rem;
}

.hero__visual-main {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, var(--red), #ff9b4e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.hero__visual-main-content {
  color: var(--white);
  text-align: center;
  padding: 2rem;
}

.hero__visual-emoji {
  font-size: 5rem;
  margin-bottom: 1rem;
}
.hero__visual-quote {
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.3;
}
.hero__visual-source {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  font-weight: 500;
}

.hero__floating-badge {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12);
  transform: rotate(-2deg);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__floating-badge-emoji {
  font-size: 1.5rem;
}
.hero__floating-badge-title {
  font-weight: 900;
  color: var(--slate-900);
  font-size: 0.8125rem;
}
.hero__floating-badge-sub {
  color: var(--slate-500);
  font-size: 0.6875rem;
  font-weight: 500;
}

/* Mobile review card */
/* ── Hero: Mobile reviews carousel ──────────────────────── */
.hero__mobile-reviews {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .hero__mobile-reviews {
    display: none;
  }
}

.hero__reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  padding: 0 0.125rem;
}

.hero__reviews-stars {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.hero__reviews-count {
  font-size: 0.6875rem;
  color: var(--slate-500);
  font-weight: 500;
}
.hero__reviews-count strong {
  color: var(--red);
  font-weight: 800;
}

.hero__reviews-strip {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 0.625rem;
  padding: 0.25rem 0.125rem 0.5rem;
}
.hero__reviews-strip::-webkit-scrollbar {
  display: none;
}

.hero__review-card {
  flex: 0 0 76%;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid #fed7aa;
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  box-shadow: 0 2px 8px rgba(240, 86, 80, 0.08);
}

.hero__review-text {
  font-weight: 800;
  color: var(--slate-900);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.hero__review-by {
  font-size: 0.6875rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* (구) hero__mobile-card — 더 이상 사용 안 함 */
.hero__mobile-card {
  display: none;
}

/* ── Hero: Badge urgency strong ─────────────────────────── */
.hero__badge-strong {
  color: var(--red);
  font-weight: 900;
  font-style: normal;
}

/* ── Hero: Desc checklist ───────────────────────────────── */
.hero__desc-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.hero__desc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  font-weight: 500;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .hero__desc-item {
    font-size: 1rem;
  }
}

.hero__desc-check {
  color: var(--red);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ── Hero: Secondary button play icon ───────────────────── */
.btn-play-icon {
  flex-shrink: 0;
}

/* ── Hero: Visual card star rating ──────────────────────── */
.hero__visual-stars {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.hero__visual-stars-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.25rem;
}

/* ── Hero: Floating notification (real-time social proof) ── */
.hero__floating-notify {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
  animation: heroFloat 5s ease-in-out infinite;
}
.hero__floating-notify strong {
  font-size: inherit;
  font-weight: 700;
  color: inherit;
  margin: 0;
  letter-spacing: 0;
}

.hero__floating-notify-dot {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  min-height: 0.5rem;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 1.8s infinite;
}

/* ── Hero: Visual card floating animation ───────────────── */
.hero__visual-card {
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ── Hero: CTA primary button shimmer ───────────────────── */
.btn-hero-primary {
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  animation: btnShimmer 3.5s ease-in-out infinite 1.5s;
  pointer-events: none;
}

@keyframes btnShimmer {
  0% {
    left: -100%;
  }
  40%,
  100% {
    left: 150%;
  }
}

/* ── Hero: Blob enhancement ─────────────────────────────── */
.hero__blob-tr {
  background: rgba(240, 86, 80, 0.12) !important;
  width: 38rem !important;
  height: 38rem !important;
}

/* ── Hero: Entrance animations ──────────────────────────── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  animation: heroFadeUp 0.6s ease 0.15s both;
}
.hero__desc-list {
  animation: heroFadeUp 0.6s ease 0.3s both;
}
.hero__cta-group {
  animation: heroFadeUp 0.6s ease 0.45s both;
}
.hero__social-proof {
  animation: heroFadeUp 0.6s ease 0.6s both;
}
.hero__visual-card {
  animation:
    heroFloat 5s ease-in-out infinite,
    heroFadeUp 0.7s ease 0.3s both;
}

/* ============================================================
   VIDEO REVIEWS  — 전체 리디자인
   ============================================================ */
.video-reviews {
  padding: 5rem 0 6rem;
  background: linear-gradient(160deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

/* 배경 장식 원 */
.video-reviews::before,
.video-reviews::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.video-reviews::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(240, 86, 80, 0.18) 0%,
    transparent 70%
  );
  top: -150px;
  right: -150px;
}
.video-reviews::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
}

.video-reviews .container {
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.video-reviews__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 3rem;
}

.video-reviews__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240, 86, 80, 0.15);
  border: 1px solid rgba(240, 86, 80, 0.4);
  color: #fca5a5;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.video-reviews__eyebrow::before {
  content: "▶";
  font-size: 0.625rem;
  color: var(--red);
}

@media (min-width: 1024px) {
  .video-reviews__eyebrow {
    font-size: 0.875rem;
  }
}

.video-reviews__title {
  font-size: 1.3125rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.video-reviews__title em {
  font-style: normal;
  color: #fca5a5;
  position: relative;
}

@media (min-width: 1024px) {
  .video-reviews__title {
    font-size: 2.25rem;
    letter-spacing: -0.03em;
    line-height: 1.25;
  }
}

/* ── Grid ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }
}

/* ── Card ── */
.video-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.625rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.video-card:hover {
  transform: translateY(-0.625rem);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(240, 86, 80, 0.3);
}

.video-card__thumb-wrap {
  background: #000;
  aspect-ratio: 9/16;
  border-radius: 0.875rem;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s;
}
.video-card:hover .video-card__thumb-wrap {
  box-shadow: 0 20px 50px rgba(240, 86, 80, 0.25);
}

.video-card__thumb-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition:
    opacity 0.3s,
    transform 0.4s ease;
}
.video-card:hover .video-card__thumb-wrap img {
  opacity: 1;
  transform: scale(1.04);
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.video-card:hover .video-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    transparent 100%
  );
}

.video-card__play {
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(135deg, var(--red) 0%, #ff8a80 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(240, 86, 80, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.video-card:hover .video-card__play {
  transform: scale(1.15);
  box-shadow:
    0 0 0 10px rgba(240, 86, 80, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.5);
}

.video-card__play svg {
  fill: white;
  margin-left: 2px;
}

.video-card__label {
  text-align: left;
  padding: 0 0.25rem 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.5rem; /* 3줄 높이 고정 — 1줄 카드도 같은 높이 유지 */
}

@media (min-width: 1024px) {
  .video-card__label {
    font-size: 0.875rem;
  }
}

/* ============================================================
   3 REASONS (Photo Cards)
   ============================================================ */
.reasons {
  padding: 6rem 0;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 40%, #fff5f0 100%);
  position: relative;
  overflow: hidden;
}
/* 배경 도트 패턴 */
.reasons::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(240, 86, 80, 0.055) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
}

.reasons__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.reasons__eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--red-light);
  border: 1.5px solid rgba(240, 86, 80, 0.25);
  color: var(--red);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-weight: 700;
  font-size: 0.8125rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(240, 86, 80, 0.09);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .reasons__eyebrow {
    font-size: 0.9375rem;
  }
}

.reasons__title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .reasons__title {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
  }
}

.reasons__title-accent {
  color: var(--red);
}

/* 타이틀 내 핵심 수치 강조 */
.reasons__title-num {
  background: linear-gradient(90deg, var(--red), #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

@media (min-width: 1024px) {
  .reasons__title-num {
    font-size: 2.875rem;
  }
}

.reasons__sub {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--slate-500);
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.reasons__sub strong {
  color: var(--red);
  font-weight: 700;
}

.reasons__grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.25rem 0.5rem;
  margin: 0 -1.25rem;
  /* 스크롤바 숨김 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reasons__grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1024px) {
  .reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
}

/* 도트 인디케이터 */
.reasons__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
@media (min-width: 1024px) {
  .reasons__dots {
    display: none;
  }
}
.reasons__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--slate-300);
  transition:
    background 0.3s,
    transform 0.3s;
}
.reasons__dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

.reason-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 82%;
  scroll-snap-align: center;
}

@media (min-width: 1024px) {
  .reason-card {
    flex: unset;
    scroll-snap-align: unset;
  }
}

.reason-card__visual {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1.5px solid;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.11),
    0 2px 6px rgba(0, 0, 0, 0.06);
  aspect-ratio: 1 / 1.15;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.reason-card:hover .reason-card__visual {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
}

/* Per-card color themes */
.reason-card--blue .reason-card__visual {
  background: linear-gradient(170deg, #dbeafe 0%, #eff6ff 40%);
  border-color: #bfdbfe;
}
.reason-card--purple .reason-card__visual {
  background: linear-gradient(170deg, #ede9fe 0%, #faf5ff 40%);
  border-color: #ddd6fe;
}
.reason-card--orange .reason-card__visual {
  background: linear-gradient(170deg, #fed7aa 0%, #fff7ed 40%);
  border-color: #fdba74;
}

.reason-card__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  z-index: 20;
}

.reason-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
}

.reason-card--blue .reason-card__icon {
  background: #4a9aff;
}
.reason-card--purple .reason-card__icon {
  background: #c084fc;
}
.reason-card--orange .reason-card__icon {
  background: #fb923c;
}

.reason-card__sub-title {
  font-size: 1.125rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.3;
  color: var(--slate-900);
}

.reason-card__circle-img {
  position: absolute;
  left: 50%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transform: translateX(-50%);
  top: 36%; /* 30% → 36%: 타이틀과 원형 사진 간격 확보 */
}

.reason-card__circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason-card__bubble {
  position: absolute;
  background: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-100);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--slate-700);
  z-index: 20;
  line-height: 1.3;
  top: 50%; /* 44% → 50%: 원형 중앙부로 이동 */
}
.reason-card__bubble--left {
  left: 0.5rem;
}
.reason-card__bubble--right {
  right: 0.5rem;
}

.reason-card__stat {
  position: absolute;
  bottom: 1.25rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 20;
  animation: statPulse 4s ease-in-out infinite;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
}
@keyframes statPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 24px 32px -4px rgba(0, 0, 0, 0.28);
  }
}
.reason-card__stat--left {
  left: 1.25rem;
}
.reason-card__stat--right {
  right: 1.25rem;
}

.reason-card--blue .reason-card__stat {
  background: #0084ff;
}
.reason-card--purple .reason-card__stat {
  background: #a855f7;
}
.reason-card--orange .reason-card__stat {
  background: #f97316;
}

.reason-card__stat-label {
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0.9;
}
.reason-card__stat-value {
  font-size: 1.625rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}
.reason-card__stat-unit {
  font-size: 0.75rem;
  font-weight: 800;
}

/* Orange card: 다른 카드와 동일한 aspect-ratio 사용 (1/1.15) */

/* Orange card: glow + phone mockup */
.reason-card__glow {
  position: absolute;
  left: 50%;
  width: 65%;
  aspect-ratio: 1;
  background: rgba(255, 237, 213, 0.75);
  border-radius: 50%;
  filter: blur(36px);
  z-index: 0;
  transform: translateX(-50%);
  top: 22%; /* 제목 하단에 맞춰 위치 */
}

.reason-card__phone {
  position: absolute;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  top: 40%; /* 모바일: 좁은 카드에서 텍스트 겹침 방지 */
  width: 58%; /* 모바일: 좌우 배지 공간 확보 */
  aspect-ratio: 2/3;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 16px 28px -4px rgba(0, 0, 0, 0.28),
    0 4px 10px rgba(0, 0, 0, 0.1);
}
@media (min-width: 1024px) {
  .reason-card__phone {
    top: 36%; /* PC: 텍스트 하단 기준 ~37px 간격 */
    width: 60%; /* PC: 3열 배치에서 더 크게 */
  }
}

.reason-card__phone-inner {
  position: relative;
  background: var(--white);
  border-radius: 0;
  box-shadow: none;
  border: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.phone-header {
  background: var(--yellow);
  padding: 0.625rem 0.875rem; /* was 0.5rem 0.75rem */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-header__profile {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* was 0.375rem */
}

.phone-header__avatar {
  width: 2rem; /* was 1.5rem */
  height: 2rem; /* was 1.5rem */
  background: #3c1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem; /* was 0.4375rem */
  font-weight: 900;
  color: var(--yellow);
  flex-shrink: 0;
}

.phone-header__name {
  font-size: 0.6875rem; /* was 0.4375rem → 2배 가까이 키움 */
  font-weight: 900;
  color: #3c1e1e;
  line-height: 1;
}

.phone-header__status {
  font-size: 0.5625rem; /* was 0.375rem */
  color: #5c3c1e;
  line-height: 1;
  margin-top: 0.2rem;
}

.phone-header__time {
  font-size: 0.625rem; /* was 0.4375rem */
  font-weight: 700;
  color: #5c3c1e;
}

.phone-chat {
  background: #b2c7d9;
  padding: 0.625rem 0.75rem; /* was 0.5rem */
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* was 0.5rem */
  height: calc(100% - 46px); /* was 36px, 헤더 높이 증가 반영 */
}

.chat-bubble {
  display: flex;
}
.chat-bubble--right {
  justify-content: flex-end;
}
.chat-bubble--left {
  align-items: flex-end;
  gap: 0.25rem;
}

.chat-avatar {
  width: 1.75rem; /* was 1.25rem */
  height: 1.75rem; /* was 1.25rem */
  background: #3c1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem; /* was 0.375rem */
  font-weight: 900;
  color: var(--yellow);
  flex-shrink: 0;
}

.chat-msg-right {
  background: var(--yellow);
  border-radius: 0.75rem 0.75rem 0 0.75rem; /* 약간 더 둥글게 */
  padding: 0.5rem 0.625rem; /* was 0.375rem 0.5rem */
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.chat-msg-left {
  background: var(--white);
  border-radius: 0.75rem 0.75rem 0.75rem 0; /* 약간 더 둥글게 */
  padding: 0.5rem 0.625rem; /* was 0.375rem 0.5rem */
  max-width: 80%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.chat-text {
  font-size: 0.6875rem; /* was 0.4375rem → 56% 증가, 훨씬 읽기 쉬움 */
  font-weight: 500;
  line-height: 1.5;
  color: var(--slate-800);
}
.chat-text--dark {
  color: #3c1e1e;
}

.chat-time {
  font-size: 0.5rem; /* was 0.375rem */
  margin-top: 0.2rem;
  color: var(--slate-400);
}
.chat-time--right {
  color: #8c6c2e;
  text-align: right;
}

.reason-card__overlay-badge {
  position: absolute;
  z-index: 20;
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
}
.reason-card__overlay-badge--tl {
  top: 34%; /* 폰 상단부 옆 */
  left: 0rem; /* 좌측 끝에 붙여서 폰 왼쪽 옆 */
  background: rgba(51, 65, 85, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.5625rem; /* 공간 절약 */
  padding: 0.375rem 0.5rem;
}
.reason-card__overlay-badge--br {
  top: 70%; /* 폰 하단부 옆 */
  right: 0rem; /* 우측 끝에 붙여서 폰 오른쪽 옆 */
  background: rgba(71, 85, 105, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.5625rem; /* 공간 절약 */
  padding: 0.375rem 0.5rem;
}

.reason-card__caption {
  text-align: center;
  font-weight: 800;
  color: var(--slate-800);
  font-size: 1rem;
  line-height: 1.45;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}

.reasons__cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.btn-reasons-cta {
  padding: 1rem 2.5rem;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  border-radius: 9999px;
  font-size: 1.0625rem;
  box-shadow: 0 12px 28px -4px rgba(240, 86, 80, 0.45);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.btn-reasons-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(240, 86, 80, 0.55);
}
.btn-reasons-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: btnShimmer 3.5s ease-in-out infinite 2s;
  pointer-events: none;
}

/* ============================================================
   CLASS FLOW
   ============================================================ */
.class-flow {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e1b4b 40%,
    #312e81 70%,
    #1e1b4b 100%
  );
}

.class-flow__bg-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.class-flow__blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.class-flow__blob--red {
  top: -5rem;
  left: -5rem;
  width: 25rem;
  height: 25rem;
  background: radial-gradient(circle, #ec6856, transparent);
}

.class-flow__blob--purple {
  bottom: -3.75rem;
  right: -3.75rem;
  width: 21.875rem;
  height: 21.875rem;
  background: radial-gradient(circle, #967bd2, transparent);
}

.class-flow__blob--teal {
  top: 50%;
  left: 50%;
  width: 37.5rem;
  height: 37.5rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #3e6865, transparent);
  opacity: 0.05;
}

/* Floating dots */
.class-flow__dot {
  position: absolute;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.class-flow__dot--1 {
  top: 5%;
  right: 20%;
  width: 0.5rem;
  height: 0.5rem;
  background: white;
  opacity: 0.4;
}
.class-flow__dot--2 {
  top: 30%;
  right: 12%;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--yellow);
  opacity: 0.6;
  animation-delay: 0.5s;
}
.class-flow__dot--3 {
  bottom: 25%;
  left: 15%;
  width: 0.25rem;
  height: 0.25rem;
  background: white;
  opacity: 0.3;
  animation-delay: 1s;
}
.class-flow__dot--4 {
  top: 60%;
  right: 8%;
  width: 0.5rem;
  height: 0.5rem;
  background: #f68fa5;
  opacity: 0.5;
  animation-delay: 1.5s;
}
.class-flow__dot--5 {
  bottom: 15%;
  right: 25%;
  width: 0.375rem;
  height: 0.375rem;
  background: white;
  opacity: 0.3;
  animation-delay: 0.8s;
}

.class-flow__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.class-flow__header {
  margin-bottom: 4rem;
}

.class-flow__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.class-flow__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.class-flow__badge-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.class-flow__title {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--white);
  list-style: none; /* 상속된 disc 불릿 방지 */
}

@media (min-width: 1024px) {
  .class-flow__title {
    font-size: 2.5rem;
  } /* 40px 통일 */
}

.class-flow__title-line1 {
  display: block;
}

.class-flow__title-accent {
  display: block;
  background: linear-gradient(90deg, #f68fa5, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* PC: 3-column cards */
.class-flow__cards-pc {
  display: none;
}

@media (min-width: 1024px) {
  .class-flow__cards-pc {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 62.5rem;
    margin: 0 auto;
    position: relative;
    align-items: stretch; /* 3카드 높이 동일하게 강제 */
  }
}

/* Connector arrows between cards (PC) */
.class-flow__connector {
  position: absolute;
  top: 5.625rem;
  left: calc(33% + 1.25rem);
  right: calc(33% + 1.25rem);
  display: flex;
  align-items: center;
  z-index: 20;
  pointer-events: none;
}

.class-flow__connector-line {
  flex: 1;
  height: 2px;
  border-radius: 9999px;
}
.class-flow__connector-line--pink-teal {
  background: linear-gradient(90deg, #f68fa5, #3e9e9a);
}
.class-flow__connector-line--teal-purple {
  background: linear-gradient(90deg, #3e9e9a, #967bd2);
}

.class-flow__connector-arrow {
  flex-shrink: 0;
  margin-left: -0.25rem;
}

.class-flow__connector-gap {
  width: 0.5rem;
}

/* Flow step cards */
.flow-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.5s;
  display: flex;
  flex-direction: column; /* body/footer를 아래로 밀기 위해 */
}
.flow-card:hover {
  transform: translateY(-0.75rem);
}

.flow-card--step2 {
  margin-top: 0;
} /* 높이 맞추기 위해 offset 제거 */

.flow-card__deco-tr {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.flow-card__deco-bl {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.flow-card__step-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.flow-card__step-num {
  font-weight: 900;
  font-size: 1.125rem;
}

.flow-card--red {
  background: linear-gradient(160deg, #ff7b6b 0%, #ec6856 60%, #d85c4a 100%);
}
.flow-card--teal {
  background: linear-gradient(160deg, #e8856b 0%, #d4604e 60%, #c45545 100%);
}
.flow-card--purple {
  background: linear-gradient(160deg, #d46b5a 0%, #bc4f42 60%, #a84438 100%);
}

.flow-card--red .flow-card__step-num {
  color: var(--red);
}
.flow-card--teal .flow-card__step-num {
  color: #d4604e;
}
.flow-card--purple .flow-card__step-num {
  color: #bc4f42;
}

.flow-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 16rem;
  background: #fff; /* 원형 이미지 뒤 흰 배경 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 원형 이미지가 잘리지 않게 */
  object-position: center center;
  transition: transform 0.5s;
}
.flow-card:hover .flow-card__img-wrap img {
  transform: scale(1.05);
}

.flow-card__img-gradient {
  display: none; /* 흰 배경 원형 이미지이므로 그라디언트 오버레이 불필요 */
}

.flow-card__emoji {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.5rem;
}

.flow-card__body {
  padding: 1.5rem;
  text-align: left;
  flex: 1; /* 남은 공간 모두 차지 → footer가 항상 아래로 */
  display: flex;
  flex-direction: column;
}
.flow-card__title {
  color: var(--white);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  min-height: 3.6rem;
} /* 24px */ /* 2줄 고정 높이 */
.flow-card__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.75;
  min-height: 3.5rem;
} /* 2줄 고정 높이 */

.flow-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
} /* 태그는 항상 desc 바로 아래 */
.flow-card__tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.flow-card__footer {
  padding: 0 1.5rem 1.25rem;
  margin-top: auto;
} /* 항상 카드 맨 아래 */
.flow-card__time-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
}
.flow-card__time-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6875rem;
}
.flow-card__time-val {
  color: var(--white);
  font-weight: 900;
  font-size: 0.8125rem;
  margin-left: auto;
}

/* PC total time badge */
.class-flow__total-time {
  display: none;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .class-flow__total-time {
    display: flex;
  }
}

.class-flow__total-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(4px);
}

.class-flow__total-time-emoji {
  font-size: 1.25rem;
}
.class-flow__total-time-text {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
}
.class-flow__total-time-num {
  color: var(--yellow);
  font-weight: 900;
  font-size: 1.125rem;
}

/* Mobile: stacked cards */
/* ── 모바일 타임라인 ── */
.flow-timeline {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  padding-left: 0.5rem;
}

@media (min-width: 1024px) {
  .flow-timeline {
    display: none;
  }
}

.flow-timeline__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.flow-timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  min-width: 2.5rem;
}

.flow-timeline__num {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.125rem;
  box-shadow: 0 4px 12px rgba(236, 104, 86, 0.4);
}

.flow-timeline__line {
  width: 2px;
  flex: 1;
  min-height: 2rem;
  background: rgba(255, 255, 255, 0.2);
  margin: 0.5rem 0;
}

.flow-timeline__content {
  padding-bottom: 2rem;
}

.flow-timeline__title {
  color: var(--white);
  font-weight: 900;
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.625rem;
  padding-top: 0.375rem; /* 번호 원과 텍스트 시각적 정렬 */
}

.flow-timeline__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-timeline__tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.flow-timeline__step--last .flow-timeline__content {
  padding-bottom: 1.5rem;
}

.flow-timeline__total {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  margin-top: 0.5rem;
}
.flow-timeline__total-num {
  color: var(--yellow);
  font-weight: 900;
}

/* ============================================================
   TEXTBOOKS
   ============================================================ */
.textbooks {
  padding: 6rem 0;
  background: var(--red-light);
  position: relative;
}

.textbooks__header {
  margin-bottom: 2rem;
  text-align: center;
}

/* 교재 레벨 필터 탭 */
.textbooks__filter {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 2.5rem;
  flex-wrap: nowrap;
}
.tb-filter-btn {
  padding: 0.45rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 9999px;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tb-filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}
.tb-filter-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(240, 86, 80, 0.3);
}

/* 필터 숨김 카드 애니메이션 */
.textbook-card {
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.textbook-card[style*="display: none"] {
  display: none !important;
}
.textbooks__point {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.textbooks__title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .textbooks__title {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
  } /* 40px 통일 */
}

.textbooks__grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .textbooks__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 10번째 카드가 혼자 남으면 2번째 열에 배치해 중앙 정렬 효과 */
  .textbooks__grid > .textbook-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

/* Color variables per card theme */
.textbook-card--blue {
  --card-accent: #3b82f6;
  --card-bg: #eff6ff;
}
.textbook-card--green {
  --card-accent: #10b981;
  --card-bg: #ecfdf5;
}
.textbook-card--purple {
  --card-accent: #8b5cf6;
  --card-bg: #f5f3ff;
}
.textbook-card--orange {
  --card-accent: #f97316;
  --card-bg: #fff7ed;
}
.textbook-card--red {
  --card-accent: #ec6856;
  --card-bg: #fff1f0;
}
.textbook-card--teal {
  --card-accent: #14b8a6;
  --card-bg: #f0fdfa;
}
.textbook-card--amber {
  --card-accent: #f59e0b;
  --card-bg: #fffbeb;
}
.textbook-card--indigo {
  --card-accent: #6366f1;
  --card-bg: #eef2ff;
}
.textbook-card--slate {
  --card-accent: #334155;
  --card-bg: #f1f5f9;
}
.textbook-card--rose {
  --card-accent: #f43f5e;
  --card-bg: #fff1f3;
}

.textbook-card {
  background: var(--white);
  border-radius: 2rem; /* 32px — 기존 사이트 가이드 */
  padding: 0;
  box-shadow:
    0 4px 20px -4px rgba(0, 0, 0, 0.09),
    0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
}
.textbook-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 32px -8px rgba(0, 0, 0, 0.14),
    0 4px 8px rgba(0, 0, 0, 0.06);
}

/* Colored header strip */
.textbook-card__header {
  background: var(--card-bg, #fff8f5);
  border-bottom: 2px solid var(--card-accent, #ec6856);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: row; /* column → row: 한줄 레이아웃 */
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap; /* 긴 제목 줄바꿈 허용 */
}

.textbook-card__level {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--card-accent, #ec6856);
  letter-spacing: 0.02em;
  white-space: nowrap; /* 레벨 뱃지 줄바꿈 방지 */
}

.textbook-card__title {
  font-size: 1.0625rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.3;
}

.textbook-card__desc {
  font-size: 0.8125rem;
  color: #4b5563;
  padding: 0.875rem 1.375rem 0;
  line-height: 1.7;
  font-weight: 500;
}

.textbook-card__books {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.75rem;
  height: 13rem;
  padding: 0.5rem 1rem 1.5rem;
  overflow: hidden;
}

.textbook-card__books--grid {
  margin-top: auto;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  overflow: hidden;
}

/* 애니메이션 그리드 — iOS Safari 호환: height% 대신 aspect-ratio 사용 */
.textbook-card__books--grid img {
  width: 100%;
  aspect-ratio: 2 / 1; /* 16/9 → 2/1: 다른 카드와 높이 통일 */
  object-fit: cover;
  object-position: center center;
  border-radius: 0.375rem;
  background: #f8f8f8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}
.textbook-card__books--grid img:hover {
  transform: scale(1.05);
}

/* 기본 book 이미지 — 높이 기준 통일 */
.textbook-card__book-img {
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
  transition: transform 0.25s;
  height: 76%;
  width: auto;
}
/* 2권 카드 */
.textbook-card__book-img--lg {
  height: 76%;
  width: auto;
  max-width: 50%;
}
/* 3권 카드 가운데 */
.textbook-card__book-img--md {
  height: 76%;
  width: auto;
  max-width: 38%;
}
/* 3권 카드 양쪽 */
.textbook-card__book-img--sm {
  height: 76%;
  width: auto;
  max-width: 32%;
}
.textbook-card__book-img--tilt-l {
  transform: rotate(-4deg);
}
.textbook-card__book-img--tilt-r {
  transform: rotate(4deg);
}
.textbook-card__book-img--tilt-l:hover {
  transform: rotate(0) scale(1.05);
}
.textbook-card__book-img--tilt-r:hover {
  transform: rotate(0) scale(1.05);
}
.textbook-card__book-img--hover:hover {
  transform: scale(1.06) translateY(-4px);
}
/* 가로형 이미지(뉴스 스크린샷) — 잘리지 않게 */
.textbook-card__book-img--news {
  width: auto;
  height: 70%;
  max-width: 88%;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s;
}
.textbook-card__book-img--news:hover {
  transform: scale(1.05);
}
/* 디바이스/스크린 컨테이너 — 세로 중앙 정렬 */
.textbook-card__books--device {
  align-items: center;
  padding: 0.75rem 1rem 1.25rem;
}
/* 디바이스/스크린 이미지 (라즈키즈, 글로벌뉴스 등) */
.textbook-card__book-img--screen {
  width: 90%;
  height: auto;
  max-height: 72%;
  object-fit: contain;
  border-radius: 0.875rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s;
  margin-bottom: 0.25rem;
}
.textbook-card__book-img--screen:hover {
  transform: scale(1.04) translateY(-3px);
}

.textbook-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.textbook-card__cover:hover {
  transform: scale(1.05);
}

/* ============================================================
   5 STEPS
   ============================================================ */
.steps {
  padding: 6rem 0;
  background: linear-gradient(160deg, #fff5f4 0%, #ffffff 45%, #fff8f5 100%);
}

.steps__header {
  text-align: center;
  margin-bottom: 4rem;
}
.steps__point {
  color: var(--red);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.steps__title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
  .steps__title {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
  }
}

.steps__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .steps__grid {
    flex-direction: row;
  }
}

/* Step cards rendered by JS with class="step-card" */
.step-card {
  flex: 1;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(240, 86, 80, 0.13);
  box-shadow:
    0 6px 24px -4px rgba(0, 0, 0, 0.09),
    0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

@media (min-width: 1024px) {
  .step-card {
    padding: 2rem;
  }
}

.step-card:hover {
  transform: translateY(-0.5rem);
  box-shadow:
    0 20px 40px -8px rgba(0, 0, 0, 0.14),
    0 4px 8px rgba(0, 0, 0, 0.05);
}

.step-card__badge {
  background: var(--red);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}

.step-card__title {
  font-weight: 900;
  font-size: 1.125rem;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.step-card__desc {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.75;
  font-weight: 500;
  word-break: keep-all;
  margin-bottom: 7rem;
}

.step-card__icon-wrap {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
}

.step-card__icon-circle {
  width: 5.625rem;
  height: 5.625rem;
  background: #fff0ee;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(240, 86, 80, 0.12);
  border: 1.5px solid #fbd5c9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}
.step-card:hover .step-card__icon-circle {
  transform: scale(1.1);
}

.step-card__dot-tr {
  position: absolute;
  top: 0;
  right: 20%;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fb923c;
  opacity: 0.8;
}

.step-card__dot-bl {
  position: absolute;
  bottom: 0.5rem;
  left: 20%;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.8;
}

/* ============================================================
   REAL REVIEWS (Marquee) — 리디자인
   ============================================================ */
.real-reviews {
  padding: 6rem 0 7rem;
  background: #fdf6f0;
  overflow: hidden;
  position: relative;
}

/* 배경 도트 패턴 */
.real-reviews::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(240, 86, 80, 0.08) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.real-reviews__header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

/* 섹션 뱃지 */
.real-reviews__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--white);
  border: 1.5px solid rgba(240, 86, 80, 0.25);
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(240, 86, 80, 0.08);
}

.real-reviews__title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.25;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

@media (min-width: 1024px) {
  .real-reviews__title {
    font-size: 2.75rem;
  }
}

/* 대표 인용구 */
.real-reviews__quote {
  display: inline-block;
  position: relative;
  max-width: 36rem;
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem 2.25rem 1.75rem 3.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  text-align: left;
}

/* 큰 따옴표 장식 */
.real-reviews__quote::before {
  content: "\201C";
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  font-family: Georgia, serif;
  opacity: 0.35;
}

.real-reviews__quote-mark-open,
.real-reviews__quote-mark-close {
  display: none;
}

.real-reviews__quote-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  color: var(--slate-700);
}

@media (min-width: 1024px) {
  .real-reviews__quote-text {
    font-size: 1.0625rem;
  }
}

.real-reviews__quote-accent {
  color: var(--red);
  font-weight: 800;
}

/* ── Marquee rows ── */
.real-reviews__rows {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.real-reviews__row-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
}

.real-reviews__row {
  display: flex;
  gap: 1.125rem;
  width: max-content;
}

#reviewsRow1 {
  animation: marqueeL 65s linear infinite;
}
#reviewsRow2 {
  animation: marqueeL 85s linear infinite reverse;
}
#reviewsRow1:hover,
#reviewsRow2:hover {
  animation-play-state: paused;
}

/* 스와이프 힌트 */
.real-reviews__swipe-hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 1.25rem;
  letter-spacing: 0.04em;
}

/* ── Review card — 컬러 배경 카드 ── */
.review-card {
  width: 18rem;
  flex-shrink: 0;
  border-radius: 1.5rem;
  padding: 1.5rem;
  text-align: left;
  background: var(--review-bg, #fff0ee);
  border: none;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  min-height: 15rem;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* 상단 이모지 아이콘 */
.review-card__icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.125rem;
}

.review-card__title {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  white-space: pre-line;
  display: block;
}

.review-card__body {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* Fixed height so 3 lines never get clipped (3 * 1.65 * 0.8125rem ≈ 4rem + buffer) */
  height: 5rem;
  min-height: 5rem;
  padding-bottom: 0.6rem;
  box-sizing: border-box;
}
.review-card__body * {
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.review-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.review-card__author {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate-400);
}

.review-card__stars {
  display: flex;
  gap: 0.1rem;
  color: red !important;
}

/* 숨김 처리 (기존 호환) */
.review-card__meta,
.review-card__date,
.review-card__quote-icon {
  display: none;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 5rem 0;
  background: #f4f7fb;
}

.faq__point {
  color: var(--red);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.faq__title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 2.5rem;
  color: var(--slate-900);
}

@media (min-width: 1024px) {
  .faq__title {
    font-size: 2.5rem;
  } /* 40px 통일 */
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* FAQ item — rendered by JS with class="faq-item" */
.faq-item {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
}

.faq-item__btn-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.faq-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.faq-item__question {
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-900);
  line-height: 1.45;
}

@media (min-width: 1024px) {
  .faq-item__question {
    font-size: 1.0625rem;
  }
}

.faq-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--slate-400);
  transition: transform 0.3s;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.faq-item.open .faq-answer {
  max-height: 800px;
  opacity: 1;
}

.faq-answer__inner {
  padding: 0 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}

.faq-answer__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.faq-answer__text {
  color: var(--slate-700);
  font-size: 0.9375rem;
  line-height: 1.9;
  font-weight: 500;
  word-break: keep-all;
  padding-top: 0.25rem;
}

/* ============================================================
   KAKAO CARE  — 리디자인 v2
   ============================================================ */
.kakao-care {
  padding: 6rem 0 7rem;
  background: linear-gradient(140deg, #111827 0%, #1c2740 50%, #111827 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate; /* 독립 stacking context — 콘텐츠 페인팅 버그 방지 */
}

/* 배경 서클 (단 하나, 은은하게) */
.kakao-care::before {
  content: "";
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(
    circle,
    rgba(254, 229, 0, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.kakao-care::after {
  content: "";
  position: absolute;
  bottom: -8rem;
  left: -8rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

/* ── Inner layout (2-col) ── */
.kakao-care__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  position: relative;
  /* z-index 제거 — isolation:isolate 로 섹션 내 stacking 관리 */
}

@media (min-width: 1024px) {
  .kakao-care__inner {
    flex-direction: row;
    align-items: center;
    gap: 6rem;
  }
}

/* ── Left panel ── */
.kakao-care__left {
  flex: 1;
  max-width: 34rem;
  width: 100%;
}

.kakao-care__eyebrow {
  display: inline-block;
  background: rgba(254, 229, 0, 0.12);
  border: 1px solid rgba(254, 229, 0, 0.28);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fee500;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.kakao-care__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.kakao-care__title em {
  font-style: normal;
  color: #fee500;
}

@media (min-width: 1024px) {
  .kakao-care__title {
    font-size: 2.625rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }
}

.kakao-care__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.kakao-care__badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.kakao-care__badge-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.kakao-care__badge-accent {
  color: #4ade80;
}

.kakao-care__sub {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── Feature chips ── */
.kakao-care__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  margin-bottom: 2.25rem;
}

.kakao-care__feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  min-height: 2.75rem; /* 터치 타깃 최소 44px */
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  cursor: default;
}

.kakao-care__feature:hover {
  background: rgba(254, 229, 0, 0.1);
  border-color: rgba(254, 229, 0, 0.35);
  color: #fee500;
}

/* ── CTA ── */
.kakao-care__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #fee500;
  color: #1a1200;
  font-weight: 900;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(254, 229, 0, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-bottom: 1.25rem;
}

.kakao-care__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(254, 229, 0, 0.4);
}

.kakao-care__hours {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
}

/* ── 모바일: 중앙정렬 ── */
@media (max-width: 1023px) {
  .kakao-care__left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .kakao-care__features {
    width: 100%;
    max-width: 26rem;
  }
  .kakao-care__cta {
    justify-content: center;
  }
}

/* ── Right: Phone mockup ── */
.kakao-care__right {
  display: flex;
  justify-content: center;
  flex: 1;
}

.kakao-care__phone {
  position: relative;
  width: 17rem;
  background: #f9f9f9;
  border-radius: 2.5rem 2.5rem 0 0;
  border: 8px solid rgba(255, 255, 255, 0.15);
  border-bottom: none;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  height: 36rem;
}

@media (min-width: 1024px) {
  .kakao-care__phone {
    width: 19rem;
    height: 38rem;
  }
}

.phone-status-bar {
  height: 2.75rem;
  background: #f26c36;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
}

.phone-status-bar__signals {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.phone-status-bar__dot {
  width: 0.6875rem;
  height: 0.6875rem;
  background: var(--white);
  border-radius: 50%;
  opacity: 0.9;
}
.phone-status-bar__battery {
  width: 1.125rem;
  height: 0.5625rem;
  background: var(--white);
  border-radius: 2px;
  opacity: 0.9;
}

.phone-channel-bar {
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-channel-bar__avatar {
  width: 2.125rem;
  height: 2.125rem;
  background: #ff4b4b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 0.5625rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.phone-channel-bar__name {
  font-weight: 900;
  color: var(--slate-800);
  font-size: 0.8125rem;
}
.phone-channel-bar__status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.125rem;
}
.phone-channel-bar__status-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: #4ade80;
  border-radius: 50%;
}
.phone-channel-bar__status-text {
  font-size: 0.625rem;
  color: #4ade80;
  font-weight: 700;
}

.phone-chat-area {
  background: #b2c7d9;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: hidden;
  height: calc(100% - 2.75rem - 3.25rem);
}

.phone-input-bar {
  margin-top: auto;
  background: var(--white);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--slate-100);
}
.phone-input-bar__placeholder {
  font-size: 0.625rem;
  color: var(--slate-300);
  flex: 1;
}
.phone-input-bar__send {
  width: 1.5rem;
  height: 1.5rem;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
}

/* Chat messages */
.chat-msg {
  display: flex;
}
.chat-msg--right {
  justify-content: flex-end;
}
.chat-msg--left {
  align-items: flex-end;
  gap: 0.5rem;
}

.chat-bubble__right {
  background: var(--yellow);
  border-radius: 0.875rem 0.875rem 0 0.875rem;
  padding: 0.5rem 0.75rem;
  max-width: 72%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chat-bubble__left {
  background: var(--white);
  border-radius: 0.875rem 0.875rem 0.875rem 0;
  padding: 0.5rem 0.75rem;
  max-width: 75%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.chat-bubble__avatar {
  width: 1.75rem;
  height: 1.75rem;
  background: #ff4b4b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 900;
  flex-shrink: 0;
}

.chat-bubble__text {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
}
.chat-bubble__text--dark {
  color: var(--slate-800);
}

.chat-bubble__time {
  font-size: 0.5625rem;
  margin-top: 0.25rem;
  color: var(--slate-400);
}
.chat-bubble__time--right {
  color: var(--slate-500);
  text-align: right;
}

/* Animated chat entry */
.chat-msg--animate {
  animation: chatIn 0.4s ease both;
}

@keyframes chatIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* (info-box, qr 등 구 요소 제거됨 — v2 리디자인) */

/* ============================================================
   TEXTBOOK GUIDE
   ============================================================ */
.textbook-guide {
  padding: 6rem 0;
  background: #fafbfc;
  position: relative;
  overflow: hidden;
}

.textbook-guide__blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(4px);
  pointer-events: none;
}

.textbook-guide__blob--pink {
  top: 10rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: #fae8e5;
  opacity: 0.7;
}

@media (min-width: 1024px) {
  .textbook-guide__blob--pink {
    left: 8rem;
  }
}

.textbook-guide__blob--rose {
  bottom: 5rem;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  background: #ffdbdf;
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .textbook-guide__blob--rose {
    right: 10rem;
  }
}

.textbook-guide__title {
  font-size: 1.875rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 5rem;
  color: var(--slate-900);
}

@media (min-width: 1024px) {
  .textbook-guide__title {
    font-size: 2.125rem;
  }
}

.textbook-guide__list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.textbook-entry {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .textbook-entry {
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .textbook-entry {
    gap: 4.5rem;
  }
}

.textbook-entry__cover {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 3/4;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .textbook-entry__cover {
    width: 14rem;
  }
}

.textbook-entry__info {
  flex: 1;
  width: 100%;
}

.textbook-entry__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.textbook-entry__name {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--slate-900);
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--red);
  color: var(--white);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}
.btn-preview:hover {
  background: var(--red-dark);
}

.textbook-entry__meta {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.textbook-entry__meta-divider {
  margin: 0 0.5rem;
  color: var(--slate-300);
}

.textbook-entry__divider {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin-bottom: 1.5rem;
}

.textbook-entry__desc {
  font-size: 0.875rem;
  color: var(--slate-700);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.textbook-entry__volumes {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.vol-btn {
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.vol-btn--active {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.vol-btn--inactive {
  background: var(--slate-100);
  color: var(--slate-600);
}
.vol-btn--inactive:hover {
  background: var(--slate-200);
}

/* ============================================================
   BOTTOM CTA  — A안: 좌우 분할 레이아웃
   ============================================================ */
.bottom-cta {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #1c2a42 55%, #0f172a 100%);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .bottom-cta {
    padding: 5rem 0 6rem;
  }
}

/* 배경 장식 blob */
.bottom-cta::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -6rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(
    circle,
    rgba(240, 86, 80, 0.13) 0%,
    transparent 68%
  );
  pointer-events: none;
}
.bottom-cta::after {
  content: "";
  position: absolute;
  bottom: -6rem;
  left: -5rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 68%
  );
  pointer-events: none;
}

/* 내부 — 단일 컬럼 세로 정렬 */
.bottom-cta__inner {
  position: relative;
  z-index: 10;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  color: var(--white);
  text-align: center;
}
@media (min-width: 1024px) {
  .bottom-cta__inner {
    padding: 0 2rem;
    gap: 2.25rem;
  }
}

.bottom-cta__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ec6856;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.bottom-cta__title {
  font-size: 2.125rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .bottom-cta__title {
    font-size: 2.5rem;
  } /* 40px 통일 */
}

.bottom-cta__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  width: 100%;
}
.bottom-cta__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: left;
}
@media (min-width: 1024px) {
  .bottom-cta__checklist li {
    font-size: 1.0625rem;
  }
}
.bottom-cta__checklist li::before {
  content: "\2714"; /* ✔ heavy checkmark — 인코딩 이슈 없는 Unicode escape */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  min-width: 1.5rem;
  background: #ec6856;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: Arial, sans-serif; /* 체크마크 전용 폰트 */
  margin-top: 0.15rem;
}

/* 핵심 지표 박스 */
.bottom-cta__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  overflow: hidden;
}
.bottom-cta__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.375rem 0.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.bottom-cta__stat:last-child {
  border-right: none;
}

.bottom-cta__stat-num {
  font-size: 1.625rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}
@media (min-width: 480px) {
  .bottom-cta__stat-num {
    font-size: 1.875rem;
  }
}
.bottom-cta__stat-unit {
  font-size: 1rem;
  font-weight: 700;
}
.bottom-cta__stat-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  text-align: center;
  margin-top: 0.25rem;
}

/* CTA 버튼 */
.btn-cta-final {
  width: 100%;
  padding: 1.25rem 2rem;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  border-radius: 9999px;
  font-size: 1.25rem; /* 20px */
  box-shadow: 0 16px 32px -6px rgba(200, 30, 30, 0.45);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-cta-final:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -6px rgba(200, 30, 30, 0.5);
}

.bottom-cta__sub {
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
  margin-top: -0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white);
  padding: 4rem 0;
  border-top: 1px solid var(--slate-200);
}

.site-footer__logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--slate-800);
  margin-bottom: 1rem;
}

.site-footer__info {
  font-size: 0.8125rem;
  color: var(--slate-500);
  line-height: 1.75;
  font-weight: 500;
}

.site-footer__copy {
  font-size: 0.6875rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-top: 2rem;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.25rem;
  z-index: 1000; /* mobile-cta-bar(999)보다 위 */
  width: 2.75rem;
  height: 2.75rem;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.3s,
    opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.scroll-top-btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem;
}
.video-modal.is-open {
  display: flex;
}

.video-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--white);
  z-index: 110;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: color 0.2s;
}

@media (min-width: 1024px) {
  .video-modal__close {
    top: 2rem;
    right: 2rem;
  }
}

.video-modal__close:hover {
  color: var(--red);
}
.video-modal__close svg {
  width: 2rem;
  height: 2rem;
}

@media (min-width: 1024px) {
  .video-modal__close svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.video-modal__frame {
  position: relative;
  width: 100%;
  max-width: 25rem;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-modal__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* ── 마퀴 (데스크탑) — 콘텐츠 2배 복사 기준 -50% 이동 ── */
@keyframes marqueeL {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-badge-pulse {
  animation: heroPulse 3s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE — misc overrides
   ============================================================ */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  /* ── 모바일: 섹션 상하 패딩 — 변수 기반으로 통일 ── */
  .video-reviews,
  .reasons,
  .textbooks,
  .steps,
  .real-reviews,
  .faq,
  .kakao-care {
    padding: var(--section-py-sm) 0;
  }

  /* ── 모바일: 섹션 헤더 하단 마진 축소 ── */
  .video-reviews__header {
    margin-bottom: 2rem;
  }
  .reasons__header {
    margin-bottom: 2.5rem;
  }
  .textbooks__header {
    margin-bottom: 2.5rem;
  }
  .steps__header {
    margin-bottom: 2.5rem;
  }

  /* ── 모바일: 교재 카드 이미지 영역 높이 축소 ── */
  .textbook-card__books {
    height: 10rem;
    padding: 0.5rem 1rem 1rem;
  }
  .textbook-card__books--grid {
    height: auto;
  } /* iOS fix: aspect-ratio로 높이 결정 */

  /* ── 모바일: Class Flow 타임라인 (기존 카드 → 타임라인으로 교체됨) ── */

  /* ── 모바일: 5 Steps 아이콘 → 우상단 이동 (카드 세로 여백 절감) ── */
  .step-card__icon-circle {
    width: 3.5rem;
    height: 3.5rem;
  }
  .step-card__icon-circle svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .step-card__icon-wrap {
    top: 1.125rem;
    right: 1.125rem;
    bottom: auto;
    left: auto;
    transform: none;
    width: auto;
  }
  .step-card__title {
    padding-right: 4.5rem;
  }
  .step-card__desc {
    margin-bottom: 1rem;
  }

  /* ── 모바일: Curriculum 탭 오른쪽 페이드 마스크 ── */
  .curriculum-tabs {
    position: relative;
  }
  .curriculum-tabs::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4.5rem;
    background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0.98)
    );
    pointer-events: none;
    z-index: 1;
  }
  .curriculum-tabs__scroll-hint {
    position: absolute;
    top: 50%;
    right: 0.375rem;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 2;
    animation: tabHintBounce 1.2s ease-in-out infinite;
    transition: opacity 0.3s;
  }
  .curriculum-tabs__scroll-hint-icon {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: inherit;
  }
  .curriculum-tabs__scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
  }
  @keyframes tabHintBounce {
    0%,
    100% {
      transform: translateY(-50%) translateX(0);
    }
    50% {
      transform: translateY(-50%) translateX(3px);
    }
  }

  /* ── 모바일: FAQ 패딩 축소 & 가독성 ── */
  .faq-item__btn {
    padding: 1rem 1.125rem;
  }
  .faq-answer__inner {
    padding: 0 1.125rem 1.25rem;
    gap: 0;
  }
  .faq-item__icon {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  .faq-answer__icon {
    display: none;
  } /* 아이콘 숨기고 텍스트 풀 너비 */
  .faq-answer__text {
    font-size: 1rem;
    padding-top: 0;
  }
  .faq__list {
    gap: 1rem;
  }

  /* ── 모바일: Real Reviews → 스와이프 캐러셀 ── */
  /* 헤더 압축 */
  .real-reviews__header {
    margin-bottom: 1.5rem;
  }
  .real-reviews__quote {
    display: none;
  } /* 인용구 박스 숨기기 */
  .real-reviews__rows {
    margin-top: 1.25rem;
    gap: 0;
  }

  /* 두 번째 마퀴 행 숨기기 */
  .real-reviews__row-wrap:last-of-type {
    display: none;
  }

  /* 첫 번째 행 → 가로 스크롤 스냅 */
  .real-reviews__row-wrap {
    overflow-x: scroll;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .real-reviews__row-wrap::-webkit-scrollbar {
    display: none;
  }

  /* 마퀴 애니메이션 중지 + 패딩 */
  #reviewsRow1 {
    animation: none;
    padding: 0.5rem 1.25rem 1.25rem;
    gap: 0.875rem;
  }

  /* 카드: 한 장씩 꽉 차게 */
  .review-card {
    min-width: calc(85vw);
    max-width: calc(85vw);
    scroll-snap-align: start;
  }

  /* 중복 카드(13번째~) 숨기기 */
  #reviewsRow1 .review-card:nth-child(n + 13) {
    display: none;
  }

  /* 스와이프 힌트 색상 (밝은 배경에 맞게) */
  .real-reviews__swipe-hint {
    color: rgba(100, 100, 100, 0.55);
    font-size: 0.8125rem;
  }

  /* ── 모바일: Trust Bar 균등 배치 ── */
  .tb-mobile-hide {
    display: none;
  }
  .trust-bar__inner {
    gap: 0;
    padding: 0 0.75rem;
  }
  .trust-bar__item {
    flex: 1;
    justify-content: center;
    gap: 0.25rem;
  }
  .trust-bar__divider {
    flex: 0 0 1px;
    margin: 0 0.375rem;
  }

  /* ── 모바일: body 하단 패딩 (fixed CTA 높이만큼) ── */
  body {
    padding-bottom: var(--mobile-cta-h);
  }
}

/* ============================================================
   MOBILE FIXED CTA BAR
   ============================================================ */
.mobile-cta-bar {
  display: none; /* 기본: 숨김, 모바일 미디어쿼리에서 flex로 표시 */
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: var(--mobile-cta-h);
    background: #fff;
    border-top: 1px solid #e2e8f0;
    padding: 0.625rem 1rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    gap: 0.625rem;
    align-items: center;
  }
  .mobile-cta-bar__btn {
    flex: 1;
    height: 3rem;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 1.125rem; /* 18px 모바일 CTA */
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 16px rgba(240, 86, 80, 0.35);
    transition:
      background 0.2s,
      transform 0.15s;
  }
  .mobile-cta-bar__btn:active {
    background: var(--red-dark);
    transform: scale(0.97);
  }

  /* scroll-top 버튼을 fixed CTA 바 위로 올림 */
  .scroll-top-btn {
    bottom: calc(var(--mobile-cta-h) + 0.75rem);
  }

  /* 모바일: 영상 4개만 표시 (5번째부터 숨김) */
  .video-card:nth-child(n + 5) {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   v38 추가 스타일
   ═══════════════════════════════════════════════════ */

/* ── VIDEO REVIEWS CTA ─────────────────────────── */
.video-reviews__cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.video-reviews__cta-copy {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: -0.01em;
}
.btn-vid-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--red);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  font-family: inherit;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 20px rgba(240, 86, 80, 0.45);
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}
.btn-vid-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(240, 86, 80, 0.5);
}
.btn-vid-cta:active {
  transform: scale(0.97);
}

/* ── BOTTOM CTA guarantee strip ────────────────── */
.bottom-cta__guarantee {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.bottom-cta__guarantee-item {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-500);
}
@media (max-width: 480px) {
  .bottom-cta__guarantee {
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
  }
  .bottom-cta__guarantee-item {
    font-size: 0.75rem;
  }
}

/* ── 3 REASONS 카드 출처 표시 ─────────────────── */
.reason-card__source {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--slate-400);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════
   v38 추가 스타일 (2차)
   ═══════════════════════════════════════════════════ */

/* ── 상단 배너 모바일 숨김 ──────────────────────── */
@media (max-width: 767px) {
  .top-banner {
    display: none;
  }
}

/* ── 5 STEPS benefit 태그 ──────────────────────── */
.step-card__benefit {
  display: inline-block;
  margin: 0.375rem 0 0.625rem;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(240, 86, 80, 0.18);
  letter-spacing: -0.01em;
}

/* ── KAKAO CARE 모바일: 폰 목업 컴팩트하게 ────── */
@media (max-width: 767px) {
  .kakao-care__phone {
    width: 15rem;
    height: 28rem;
  }
  .kakao-care__right {
    width: 100%;
  }
}

/* ============================================================
   TABLET  (768px – 1023px)  iPad mini · iPad Air · iPad Pro 11"
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {
  /* ── 컨테이너 ── */
  .container {
    padding: 0 2rem;
  }

  /* ── 네비게이션: 데스크탑 스타일 ── */
  .header-right__text-btn {
    display: block;
  }
  .header-right__divider {
    display: block;
  }
  .header-right__menu-icon {
    display: none;
  }

  /* ── Trust bar: 조금 더 넓게 ── */
  .tb-mobile-hide {
    display: inline;
  }
  .trust-bar__inner {
    gap: 2rem;
    font-size: 0.875rem;
  }
  .trust-bar__num {
    font-size: 1.5rem;
  } /* 24px 태블릿 */

  /* ── 섹션 상하 패딩 ── */
  .video-reviews,
  .reasons,
  .textbooks,
  .steps,
  .real-reviews,
  .faq,
  .kakao-care {
    padding: 4rem 0;
  }

  /* ── Curriculum tabs: 줄바꿈 + 스크롤 힌트 숨김 ── */
  .curriculum-tabs__list {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    gap: 0.5rem;
  }
  .curriculum-tabs::after {
    display: none;
  }
  .curriculum-tabs__scroll-hint {
    display: none !important;
  }

  /* ── HERO ── */
  .hero {
    padding: 5rem 0 3rem;
  }
  .hero__inner {
    gap: 2rem;
  }

  /* ── 3 REASONS: 2열 그리드 (캐러셀 → 정적 그리드) ── */
  .reasons__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
  .reason-card {
    flex: unset;
    scroll-snap-align: unset;
  }
  .reasons__dots {
    display: none;
  }

  /* ── 3 REASONS 카드: 태블릿에서 텍스트-이미지 간격 확보 ── */
  .reason-card__circle-img {
    top: 46%;
  } /* 36% → 46%: 텍스트와 50px 간격 */
  .reason-card__phone {
    top: 46%;
  } /* 40% → 46%: 텍스트와 50px 간격 */
  .reason-card__glow {
    top: 32%;
  } /* 22% → 32%: phone 위치에 맞게 */

  /* ── 교재 그리드: 2열 ── */
  .textbooks__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── 교재 카드 이미지 영역 ── */
  .textbook-card__books {
    height: 11rem;
  }
  .textbook-card__books--grid {
    height: auto;
  }

  /* ── 5 STEPS: 2열 (flex wrap) ── */
  .steps__grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .step-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
  /* 5번째 카드 → 가운데 정렬 */
  .step-card:last-child:nth-child(odd) {
    flex: 0 0 calc(50% - 0.5rem);
    margin: 0 auto;
  }

  /* ── 영상 그리드: 2열 ── */
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid--desktop3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Real Reviews: 마퀴 유지, 두 행 모두 표시 ── */
  .real-reviews__row-wrap:last-of-type {
    display: flex;
  }
  .real-reviews__quote {
    display: flex;
  }

  /* ── KAKAO CARE: 폰 목업 크기 ── */
  .kakao-care__phone {
    width: 17rem;
    height: 30rem;
  }

  /* ── FAQ ── */
  .faq-item__btn {
    padding: 1.25rem 1.5rem;
  }
  .faq-answer__inner {
    padding: 0 1.5rem 1.5rem;
  }

  /* ── bottom CTA ── */
  .bottom-cta__guarantee {
    gap: 1.5rem;
  }

  /* ── Mobile CTA bar 숨김 (모바일 전용) ── */
  .mobile-cta-bar {
    display: none;
  }
}
