/* ============================================
   LOCATEWISE - 랜딩 페이지 (라이트 볼드 미니멀)
   ============================================ */

/* 공통 섹션 */
.home-page {
  background: var(--bg-off-white);
}

.home-section {
  padding: 80px 24px;
  max-width: 100%;
}

.home-section > * {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-section--white {
  background: #fff;
}

.section-label {
  font-size: 13px;
  color: var(--color-mint);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-left: 30px;
}

.section-title {
  font-size: 28px;
  font-weight: var(--font-weight-extrabold);
  color: #111;
  letter-spacing: -1px;
  line-height: 1.35;
  margin-bottom: 12px;
  padding-left: 30px;
  text-align: left;
}

.section-subtitle {
  font-size: 14px;
  color: #999;
  padding-left: 30px;
}

.text-highlight--mint {
  background: linear-gradient(transparent 60%, var(--color-mint-highlight) 60%);
}

.text-highlight--red {
  background: linear-gradient(transparent 60%, rgba(255, 107, 107, 0.2) 60%);
}

/* ── 히어로 ── */
.hero {
  background: var(--bg-off-white);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-mint-light), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.hero__inner {
  max-width: 520px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-mint-light);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-mint);
  border-radius: 50%;
}

.hero__badge-text {
  font-size: 11px;
  color: var(--color-mint);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero__title {
  font-size: 36px;
  font-weight: var(--font-weight-extrabold);
  color: #111;
  line-height: 1.3;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 15px;
  color: #888;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero__btn-primary {
  background: var(--color-mint);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.hero__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero__btn-text {
  color: #111;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hero__btn-text:hover {
  opacity: 0.7;
}

/* 히어로 4대 지표 */
.hero__indicators {
  display: flex;
  padding-top: 28px;
  border-top: 1px solid #e5e5e3;
}

.hero__indicator {
  flex: 1;
  padding: 12px 16px;
}

.hero__indicator + .hero__indicator {
  border-left: 1px solid #e5e5e3;
}

.hero__indicator-icon {
  width: 28px;
  height: 28px;
  background: var(--color-mint-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.hero__indicator-name {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.hero__indicator-desc {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
}

/* ── 문제 제기 ── */
.problem-cards {
  display: flex;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}

.problem-card {
  flex: 1;
  background: var(--bg-card-light);
  border: 1px solid #f0efed;
  border-radius: 12px;
  padding: 24px 16px;
}

.problem-card__icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.problem-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.problem-card__desc {
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

.problem-solution {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--color-mint-light), rgba(78, 205, 196, 0.02));
  border-radius: 12px;
  border: 1px solid rgba(78, 205, 196, 0.15);
  text-align: center;
}

.problem-solution__title {
  font-size: 16px;
  font-weight: 600;
  color: #111;
  line-height: 1.5;
}

.problem-solution__sub {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
}

/* ── 리포트 미리보기 ── */
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
  margin: 40px auto 0;
}

.preview-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.preview-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.preview-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.preview-card__icon--transport { background: rgba(78, 205, 196, 0.1); }
.preview-card__icon--school { background: rgba(91, 141, 239, 0.1); }
.preview-card__icon--infra { background: rgba(168, 130, 250, 0.1); }
.preview-card__icon--price { background: rgba(232, 89, 110, 0.1); }

.preview-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #111;
}

.preview-card__stats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.preview-card__stat {
  flex: 1;
  background: var(--bg-card-light);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.preview-card__stat-value {
  font-size: 16px;
  font-weight: var(--font-weight-extrabold);
  color: #111;
}

.preview-card__stat-label {
  font-size: 10px;
  color: #aaa;
}

.preview-card__insight {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* 점수 바 */
.score-bar {
  height: 5px;
  background: #f0efed;
  border-radius: 3px;
}

.score-bar__fill {
  height: 100%;
  border-radius: 3px;
}

/* 미니 추이 차트 */
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}

.mini-chart__bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--color-indicator-price);
  opacity: 0.15;
}

.mini-chart__bar:nth-child(n+5) {
  opacity: 0.4;
}

.mini-chart__bar:last-child {
  opacity: 0.7;
}

/* ── 서비스 카드 ── */
.service-cards {
  display: flex;
  gap: 16px;
  max-width: 580px;
  margin: 40px auto 0;
}

.service-card {
  flex: 1;
  background: var(--bg-card-light);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card--featured {
  background: linear-gradient(135deg, var(--color-mint-gradient-start), var(--color-mint-gradient-end));
  border-color: rgba(78, 205, 196, 0.25);
}

.service-card__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

.service-card__badge--recommend {
  background: var(--color-mint);
  color: #fff;
}

.service-card__badge--premium {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #111;
  font-size: 9px;
  letter-spacing: 1px;
}

.service-card__emoji {
  font-size: 28px;
  margin-bottom: 12px;
}

.service-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.service-card__desc {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
  margin-bottom: 16px;
}

.service-card__price {
  font-size: 24px;
  font-weight: var(--font-weight-extrabold);
  color: #111;
  margin-bottom: 2px;
}

.service-card__price-unit {
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.service-card__credits {
  font-size: 11px;
  color: var(--color-mint);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card__features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 20px;
}

.service-card__feature {
  font-size: 11px;
  color: #666;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card__feature-check {
  color: var(--color-mint);
  font-size: 12px;
}

.service-card__feature-check--gold {
  color: var(--color-gold);
}

.service-card__btn {
  display: block;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #e0e0de;
  background: #fff;
  color: #111;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.service-card__btn:hover {
  border-color: var(--color-mint);
  color: var(--color-mint);
}

.service-card__btn--primary {
  background: var(--color-mint);
  color: #fff;
  border-color: var(--color-mint);
}

.service-card__btn--primary:hover {
  opacity: 0.9;
}

/* ── CTA 배너 ── */
.cta-banner {
  background: var(--bg-off-white);
  padding: 60px 24px;
}

.cta-banner__card {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.cta-banner__card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--color-mint-light), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__btn {
  display: block;
  max-width: 280px;
  margin: 0 auto;
  background: var(--color-mint);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s;
}

.cta-banner__btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.cta-banner__alt {
  color: #111;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #111;
  padding-bottom: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-banner__alt:hover {
  opacity: 0.7;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  .hero__title {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero__indicators {
    flex-wrap: wrap;
  }

  .hero__indicator {
    flex: 1 1 45%;
  }

  .hero__indicator:nth-child(3) {
    border-left: none;
  }

  .problem-cards {
    flex-direction: column;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .service-cards {
    flex-direction: column;
  }

  .service-card--featured {
    order: -1;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero__title {
    font-size: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 22px;
    letter-spacing: 0;
    padding-left: 0;
  }

  .section-label {
    padding-left: 0;
  }

  .section-subtitle {
    padding-left: 0;
  }

  .cta-banner__card {
    padding: 36px 24px;
  }
}

/* 접근성: 모션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
  .animate-stagger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__btn-primary,
  .hero__btn-text,
  .preview-card,
  .service-card,
  .cta-banner__btn {
    transition: none !important;
  }
}
