/* components-home.css - 집값해독 v2 홈탭 전용 (hm-*) */

/* ── 공통 ── */
.hm-dim { color: var(--text3); }
.hm-purple { color: var(--accent); }
.hm-tag {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 20px;
}

/* ── 1. 히어로 ── */
.hm-hero {
  background-color: var(--bg0);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 48px 48px;
  text-align: center;
  padding: 100px 24px 80px;
}
.hm-hero-inner {
  max-width: 620px;
  margin: 0 auto;
}

/* 실시간 배지 */
.hm-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent-glow);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 32px;
  letter-spacing: .3px;
}
.hm-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: hm-pulse 1.6s ease-in-out infinite;
}
@keyframes hm-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { opacity: .7; box-shadow: 0 0 0 6px transparent; }
}

.hm-hero-title {
  font-size: 50px;
  font-weight: 900;
  color: var(--text1);
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
}
.hm-hero-sub {
  font-size: 18px;
  color: var(--text3);
  line-height: 1.7;
  margin: 0 0 40px;
}

/* CTA 버튼 */
.hm-hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hm-btn-white {
  background: var(--text1);
  color: var(--bg0);
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s, box-shadow .15s;
}
.hm-btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.hm-btn-ghost {
  background: transparent;
  color: var(--text3);
  border: 1px solid var(--rule);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, color .15s;
}
.hm-btn-ghost:hover {
  border-color: var(--text3);
  color: var(--text1);
}

/* ── 2. AI 해독사 ── */
.hm-ai {
  padding: 80px 24px;
  background: var(--bg0);
}
.hm-ai-box {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg1);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid var(--rule);
}
.hm-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hm-ai-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text1);
  line-height: 1.4;
  margin: 0 0 16px;
}
.hm-ai-desc {
  font-size: 16px;
  color: var(--text3);
  line-height: 1.8;
  margin: 0 0 20px;
}
.hm-ai-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hm-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: var(--text3);
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 6px 12px;
}
.hm-ai-badge i { color: var(--accent); font-size: 13px; }

.hm-ai-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hm-ai-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.hm-ai-card:hover {
  border-color: var(--accent-glow);
  transform: translateY(-2px);
}
.hm-ai-card i { font-size: 24px; margin-bottom: 10px; display: block; }
.hm-ai-card span { font-size: 15px; font-weight: 600; color: var(--text2); }
.hm-ic-red { color: #ef4444; }
.hm-ic-purple { color: var(--accent); }
.hm-ic-green { color: var(--green); }
.hm-ic-gold { color: var(--gold); }

.hm-ai-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--text3);
  text-align: center;
}
.hm-ai-footer i { color: var(--accent); margin-right: 4px; }

/* ── 3. 창업자 스토리 ── */
.hm-founder {
  padding: 80px 24px;
  background: var(--bg0);
}
.hm-founder-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hm-quote {
  font-size: 17px;
  font-style: italic;
  color: var(--text3);
  line-height: 1.7;
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}
.hm-founder-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text1);
  margin: 0 0 16px;
}
.hm-founder-body {
  font-size: 16px;
  color: var(--text3);
  line-height: 1.8;
  margin: 0 0 16px;
}
.hm-founder-sig {
  font-size: 16px;
  color: var(--text3);
  margin: 8px 0 0;
}
.hm-founder-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 기능 카드 */
.hm-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.hm-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hm-feat-red { background: rgba(239,68,68,.12); color: #ef4444; }
.hm-feat-green { background: var(--accent-glow); color: var(--accent); }
.hm-feat-purple { background: var(--accent-glow); color: var(--accent); }
.hm-feat-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text1);
  margin: 0 0 6px;
}
.hm-feat-desc {
  font-size: 15px;
  color: var(--text3);
  line-height: 1.6;
  margin: 0;
}

/* ── 4. 철학 ── */
.hm-philo {
  padding: 80px 24px;
  background: var(--bg0);
}
.hm-philo-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg1);
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.hm-philo-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hm-philo-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-size: 18px;
  color: var(--text2);
}
.hm-philo-line + .hm-philo-line {
  border-top: 1px solid var(--rule);
}
.hm-philo-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--text3);
  min-width: 28px;
  letter-spacing: 1px;
}

/* ── 5. 요금제 ── */
.hm-pricing {
  padding: 80px 24px;
  background: var(--bg0);
}
.hm-pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.hm-pricing-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text1);
  margin: 0 0 12px;
}
.hm-pricing-sub {
  font-size: 16px;
  color: var(--text3);
  margin: 0;
  line-height: 1.6;
}
.hm-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.hm-price-card {
  background: var(--bg1);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 36px 24px 32px;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.hm-price-card:hover { transform: translateY(-3px); }
.hm-price-basic { border-color: var(--rule); }
.hm-price-basic:hover { border-color: var(--text3); }
.hm-price-pro { border-color: var(--accent-glow); }
.hm-price-pro:hover { border-color: var(--accent); }
.hm-price-expert { border-color: rgba(232,213,163,.3); }
.hm-price-expert:hover { border-color: var(--gold); }

/* 추천/전문가 배지 */
.hm-price-badge-pro,
.hm-price-badge-expert {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.hm-price-badge-pro { background: var(--accent); color: #fff; }
.hm-price-badge-expert { background: var(--gold); color: #0C0C0E; }

.hm-price-top {
  margin-bottom: 16px;
}
.hm-price-amount {
  font-size: 30px;
  font-weight: 900;
  color: var(--text1);
}
.hm-price-period {
  font-size: 16px;
  color: var(--text3);
  margin-left: 4px;
}
.hm-price-headline {
  font-size: 17px;
  font-weight: 700;
  color: var(--text1);
  margin: 0 0 8px;
}
.hm-price-desc {
  font-size: 15px;
  color: var(--text3);
  line-height: 1.6;
  margin: 0 0 20px;
}
.hm-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.hm-price-features li {
  font-size: 15px;
  color: var(--text2);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-price-features li i {
  color: var(--accent);
  font-size: 13px;
  width: 14px;
  text-align: center;
}

/* 요금 버튼 */
.hm-price-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.hm-price-btn:hover { transform: translateY(-1px); }
.hm-btn-purple {
  background: var(--accent);
  color: #fff;
}
.hm-btn-purple:hover { box-shadow: 0 4px 16px var(--accent-glow); }
.hm-btn-gold {
  background: var(--gold);
  color: #0C0C0E;
}
.hm-btn-gold:hover { box-shadow: 0 4px 16px rgba(232,213,163,.3); }

/* ── 모바일 반응형 ── */
@media (max-width: 640px) {
  .hm-hero { padding: 72px 20px 56px; }
  .hm-hero-title { font-size: 34px; }
  .hm-ai-box { padding: 32px 20px; }
  .hm-ai-grid { grid-template-columns: 1fr; gap: 28px; }
  .hm-founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .hm-founder { padding: 56px 20px; }
  .hm-philo { padding: 56px 20px; }
  .hm-philo-box { padding: 32px 20px; }
  .hm-philo-line { font-size: 16px; }
  .hm-pricing { padding: 56px 20px; }
  .hm-price-grid { grid-template-columns: 1fr; max-width: 360px; }
  .hm-pricing-title { font-size: 24px; }
}
