/* ==========================================================================
   home.css — 홈 허브 (3버튼 진입점)
   고객 문제: 첫 방문 시 어디서 뭘 해야 할지 모름 → 3개 진입점만 큼직하게
   ========================================================================== */

.home-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  min-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-hero {
  text-align: center;
  margin-bottom: 48px;
}
.home-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark, #1E293B);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.home-hero-sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-mid, #64748B);
  line-height: 1.6;
}

/* 3버튼 그리드 */
.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

.home-card {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--warm-border, #E8E2D9);
  border-radius: 20px;
  padding: 32px 24px 28px;
  cursor: pointer;
  text-align: center;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}
.home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  border-color: #D4CCBE;
}
.home-card:active {
  transform: translateY(-1px);
}

/* 각 카드 좌측 색 세로선 — 아이콘 톤과 매칭 */
.home-card-1 { border-left: 4px solid #0E7490; padding-left: 21px; }
.home-card-2 { border-left: 4px solid #B45309; padding-left: 21px; }
.home-card-3 { border-left: 4px solid #047857; padding-left: 21px; }

/* 아이콘 원형 */
.home-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-card-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}
.home-card-1 .home-card-icon {
  background: #CFFAFE;
  color: #0E7490;
}
.home-card-2 .home-card-icon {
  background: #FEF3C7;
  color: #B45309;
}
.home-card-3 .home-card-icon {
  background: #D1FAE5;
  color: #047857;
}

.home-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark, #1E293B);
  letter-spacing: -0.3px;
}
.home-card-desc {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid, #64748B);
  line-height: 1.5;
  padding: 0 4px;
}

/* 준비 중 뱃지 (성장 기록) */
.home-card-badge {
  display: inline-block;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F5F9;
  color: var(--text-mid, #64748B);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* 하단 메타 (어휘 통계 요약 등) */
.home-meta {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--text-mid, #64748B);
}
.home-meta-item strong {
  font-weight: 700;
  color: var(--text-dark, #1E293B);
  font-size: 15px;
}

/* ==========================================================================
   반응형
   ========================================================================== */
@media (max-width: 900px) {
  .home-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }
  .home-card {
    min-height: 140px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 18px 20px;
  }
  .home-card-1,
  .home-card-2,
  .home-card-3 {
    padding-left: 17px;
  }
  .home-card-icon {
    width: 56px;
    height: 56px;
  }
  .home-card-icon svg {
    width: 28px;
    height: 28px;
  }
  .home-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
  }
  .home-hero-title { font-size: 22px; }
  .home-hero-sub { font-size: 14px; }
}
