/* assets/css/landing.css - 오아부지 AI 아카데미 공식 랜딩페이지 스타일 */

:root {
  --canvas-bg: #FAF9F6;
  --surface-card: #FFFFFF;
  --surface-subtle: #F1F5F9;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  
  --brand-primary: #0F172A;
  --brand-primary-hover: #1E293B;
  --brand-accent: #2563EB;
  --brand-accent-subtle: #EFF6FF;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-micro: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 12px 24px -6px rgba(15, 23, 42, 0.05);
  --shadow-elevated: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 25px 35px -10px rgba(15, 23, 42, 0.1);

  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--canvas-bg);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

/* 한국어 호흡 라인 및 의미 덩어리 묶음 (Semantic Chunks) */
.chunk {
  display: inline-block;
  white-space: normal;
}

.m-break {
  display: none;
}

@media (max-width: 768px) {
  .m-break {
    display: inline;
  }
}

h1, h2, h3, h4, h5, h6 {
  word-break: keep-all;
  text-wrap: balance;
}

p, .hero-subcopy, .section-subhead, .card-desc {
  word-break: keep-all;
  text-wrap: pretty;
}

/* 1. 글로벌 내비게이션 바 */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 28px;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-heading);
}

.brand-monogram {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
}

.brand-text {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-primary);
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-micro);
}

.nav-cta-btn:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-1px);
}

/* 2. 히어로 섹션 (Moving Ambient Video + Typography) */
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content-wrap {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-accent);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.hero-headline {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-subcopy {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-action-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-primary);
  color: #FFFFFF;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  min-height: 52px;
}

.btn-hero-primary:hover {
  background: var(--brand-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  color: var(--text-heading);
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
  min-height: 52px;
}

.btn-hero-secondary:hover {
  background: var(--surface-subtle);
  border-color: var(--brand-primary);
}

/* 히어로 비디오 & 글래스 쇼케이스 프레임 */
.hero-media-stage {
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--border-subtle);
  background: #0F172A;
  position: relative;
  aspect-ratio: 16 / 9;
}

.hero-ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 40px;
  color: #FFFFFF;
}

.overlay-badge-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.overlay-pill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
}

.overlay-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
  text-wrap: balance;
}

.overlay-desc {
  font-size: 14px;
  color: #CBD5E1;
  max-width: 600px;
  line-height: 1.5;
}

/* 3. 인포그래픽 대조 섹션 (기존 강의 vs 오아부지 아카데미) */
.section-contrast {
  padding: 80px 24px;
  background: #FFFFFF;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-category-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--brand-accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-main-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-lead-copy {
  font-size: 16px;
  color: var(--text-muted);
}

.contrast-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contrast-card {
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.contrast-card.bad {
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.contrast-card.good {
  background: #EFF6FF;
  border-color: #BFDBFE;
  box-shadow: var(--shadow-card);
}

.card-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
  align-self: flex-start;
}

.card-status-badge.bad {
  background: #E2E8F0;
  color: var(--text-muted);
}

.card-status-badge.good {
  background: var(--brand-accent);
  color: #FFFFFF;
}

.contrast-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-heading);
}

.contrast-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

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

.contrast-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-heading);
  font-weight: 500;
}

.contrast-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contrast-item.bad svg { stroke: #94A3B8; }
.contrast-item.good svg { stroke: var(--brand-accent); }

/* 4. 6단계 벤토 그리드 (Bento Grid) */
.section-bento {
  padding: 80px 24px;
  background: var(--canvas-bg);
  border-top: 1px solid var(--border-subtle);
}

.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.bento-card.span-2 {
  grid-column: span 2;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border-color: #BFDBFE;
}

.bento-step-idx {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--brand-accent);
  margin-bottom: 10px;
  display: block;
}

.bento-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.bento-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bento-preview-box {
  margin-top: auto;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bento-preview-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* 5. 수강 대상 안내 카드 */
.section-audience {
  padding: 80px 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.audience-card {
  background: var(--canvas-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audience-avatar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-micro);
}

.audience-avatar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-accent);
}

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

.audience-quote {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 6. 최종 CTA 섹션 */
.section-final-cta {
  padding: 96px 24px;
  background: #0F172A;
  color: #FFFFFF;
  text-align: center;
  border-top: 1px solid #1E293B;
}

.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.final-cta-sub {
  font-size: 17px;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 36px;
}

.btn-final-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: #0F172A;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 800;
  transition: all 0.2s ease;
  min-height: 54px;
}

.btn-final-white:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.final-guarantee-note {
  margin-top: 20px;
  font-size: 13px;
  color: #64748B;
}

/* 7. 푸터 */
.landing-footer {
  background: #0A0F1D;
  border-top: 1px solid #1E293B;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

/* 반응형 모바일 (768px 미만) */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 32px;
  }
  .hero-subcopy {
    font-size: 16px;
  }
  .contrast-cards-grid,
  .bento-grid-container,
  .audience-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .hero-media-overlay {
    padding: 20px;
  }
  .overlay-title {
    font-size: 18px;
  }
  .final-cta-title {
    font-size: 28px;
  }
}
