/* style.css - 집값해독 v2 홈탭 */

/* ── 공통 ── */
.hm-dim { color: rgba(255,255,255,.28); }
.hm-purple { color: #7877C6; }
.hm-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7877C6;
  border: 1px solid rgba(120,119,198,.3);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 20px;
}

/* ── 1. 히어로 ── */
.hm-hero {
  background-color: #0C0C0E;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 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: 12px;
  font-weight: 600;
  color: #22c55e;
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 32px;
  letter-spacing: .3px;
}
.hm-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: hm-pulse 1.6s ease-in-out infinite;
}
@keyframes hm-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  50% { opacity: .7; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hm-hero-title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -1.5px;
}
.hm-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.5);
  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: #fff;
  color: #0C0C0E;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  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 rgba(255,255,255,.15);
}
.hm-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  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: rgba(255,255,255,.3);
  color: #fff;
}

/* ── 2. AI 해독사 ── */
.hm-ai {
  padding: 80px 24px;
  background: #0C0C0E;
}
.hm-ai-box {
  max-width: 900px;
  margin: 0 auto;
  background: #111114;
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,.06);
}
.hm-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hm-ai-left {}
.hm-ai-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 16px;
}
.hm-ai-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  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: 12px;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 6px 12px;
}
.hm-ai-badge i { color: #7877C6; font-size: 11px; }

.hm-ai-right {}
.hm-ai-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hm-ai-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.hm-ai-card:hover {
  border-color: rgba(120,119,198,.4);
  transform: translateY(-2px);
}
.hm-ai-card i { font-size: 22px; margin-bottom: 10px; display: block; }
.hm-ai-card span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.7); }
.hm-ic-red { color: #ef4444; }
.hm-ic-purple { color: #7877C6; }
.hm-ic-green { color: #22c55e; }
.hm-ic-gold { color: #E8D5A3; }

.hm-ai-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.35);
  text-align: center;
}
.hm-ai-footer i { color: #22c55e; margin-right: 4px; }

/* ── 3. 창업자 스토리 ── */
.hm-founder {
  padding: 80px 24px;
  background: #0C0C0E;
}
.hm-founder-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.hm-founder-left {}
.hm-quote {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  margin: 0 0 24px;
  padding-left: 20px;
  border-left: 3px solid #7877C6;
}
.hm-founder-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.hm-founder-body {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin: 0 0 16px;
}
.hm-founder-sig {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  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: 18px;
  flex-shrink: 0;
}
.hm-feat-red { background: rgba(239,68,68,.12); color: #ef4444; }
.hm-feat-green { background: rgba(34,197,94,.12); color: #22c55e; }
.hm-feat-purple { background: rgba(120,119,198,.12); color: #7877C6; }
.hm-feat-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.hm-feat-desc {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin: 0;
}

/* ── 4. 철학 ── */
.hm-philo {
  padding: 80px 24px;
  background: #0C0C0E;
}
.hm-philo-box {
  max-width: 640px;
  margin: 0 auto;
  background: #111114;
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.hm-philo-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(120,119,198,.15), transparent 70%);
  pointer-events: none;
}
.hm-philo-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font-size: 16px;
  color: rgba(255,255,255,.7);
}
.hm-philo-line + .hm-philo-line {
  border-top: 1px solid rgba(255,255,255,.04);
}
.hm-philo-num {
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.2);
  min-width: 28px;
  letter-spacing: 1px;
}

/* ── 5. 요금제 ── */
.hm-pricing {
  padding: 80px 24px;
  background: #0C0C0E;
}
.hm-pricing-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.hm-pricing-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.hm-pricing-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  margin: 0;
  line-height: 1.6;
}
.hm-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.hm-price-card {
  background: #111114;
  border: 1px solid rgba(255,255,255,.06);
  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: rgba(255,255,255,.1); }
.hm-price-basic:hover { border-color: rgba(255,255,255,.2); }
.hm-price-pro { border-color: rgba(120,119,198,.4); }
.hm-price-pro:hover { border-color: #7877C6; }
.hm-price-expert { border-color: rgba(232,213,163,.3); }
.hm-price-expert:hover { border-color: #E8D5A3; }

/* 추천/전문가 배지 */
.hm-price-badge-pro,
.hm-price-badge-expert {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  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: #7877C6; color: #fff; }
.hm-price-badge-expert { background: #E8D5A3; color: #0C0C0E; }

.hm-price-top {
  margin-bottom: 16px;
}
.hm-price-amount {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.hm-price-period {
  font-size: 14px;
  color: rgba(255,255,255,.35);
  margin-left: 4px;
}
.hm-price-headline {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.hm-price-desc {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  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: 13px;
  color: rgba(255,255,255,.55);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-price-features li i {
  color: #22c55e;
  font-size: 11px;
  width: 14px;
  text-align: center;
}

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

/* hm-btn-ghost already defined in hero; reuse for basic pricing */

/* ── 모바일 반응형 ── */
@media (max-width: 640px) {
  .hm-hero { padding: 72px 20px 56px; }
  .hm-hero-title { font-size: 32px; }
  .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: 14px; }
  .hm-pricing { padding: 56px 20px; }
  .hm-price-grid { grid-template-columns: 1fr; max-width: 360px; }
  .hm-pricing-title { font-size: 22px; }
}
