/* ══════════════════════════════════
   BLOOM — LANDING CSS (v4 — Clean White)
   히어로: 대형 이미지 + 글래스 카드
══════════════════════════════════ */

/* ═══════════════════════════════
   HERO
═══════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  gap: 80px;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}
.hero::after {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── 텍스트 ─── */
.hero-text {
  z-index: 2; position: relative;
  animation: heroFadeIn .6s ease both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-full);
  background: var(--terra-lt);
  font-size: 13px; font-weight: 600; color: var(--terracotta);
  letter-spacing: .6px; text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta);
  animation: blink 2s infinite;
}

.hero h1 {
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: 1.2; letter-spacing: -1.5px;
  color: var(--ink); margin-bottom: 24px;
  font-weight: 700;
}
.hero h1 .italic { font-style: normal; background: linear-gradient(135deg, var(--terracotta), #EC4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-desc {
  font-size: 17px; font-weight: 400; color: var(--ink-60);
  line-height: 1.8; max-width: 440px; margin-bottom: 40px;
}
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--ink-10);
}
.hstat-num {
  font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1;
  letter-spacing: -1px;
}
.hstat-label { font-size: 12px; color: var(--ink-60); margin-top: 4px; }

.hero-trust {
  display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-60);
}
.trust-item svg { flex-shrink: 0; }


/* ═══════════════════════════════
   HERO — 우측 비주얼
   대형 이미지 + 글래스 카드 오버레이
═══════════════════════════════ */
.hero-visual {
  position: relative;
  z-index: 2;
  height: 560px;
  animation: heroFadeIn .6s ease .1s both;
}

/* ─── 이미지 컨테이너 ─── */
.hero-image {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(79,70,229,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(5,150,105,.04) 0%, transparent 50%),
    linear-gradient(160deg, #EEF2FF 0%, #ECFDF5 40%, #FFFBEB 70%, #EEF2FF 100%);
  background-size: 100%, 100%, 100%;
}
.hero-image::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(79,70,229,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .3;
  pointer-events: none;
}
.hero-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.2) 100%);
  pointer-events: none;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── 글래스 카드 공통 ─── */
.hero-glass-card {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--ink-10);
  box-shadow: var(--shadow-lg);
}

/* 메인 카드 (하단) */
.hero-gc-main {
  bottom: 28px; left: 28px; right: 28px;
  border-radius: 20px;
  padding: 22px 24px 18px;
  animation: cardUp .5s ease .3s both;
}
.hero-gc-main::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terracotta), #EC4899, var(--sage));
  border-radius: 20px 20px 0 0;
}

/* 알림 카드 (좌상단) */
.hero-gc-noti {
  top: 28px; left: 28px;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  animation: cardUp .5s ease .5s both;
}

/* D-day 카드 (우상단) */
.hero-gc-dday {
  top: 100px; right: 28px;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  animation: cardUp .5s ease .65s both;
}

@keyframes cardUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 카드 내부 요소 ─── */
.hgc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: var(--sage);
  background: var(--sage-lt); padding: 3px 10px; border-radius: var(--r-full);
  margin-bottom: 10px;
}
.hgc-score {
  position: absolute; top: 18px; right: 20px;
  font-size: 24px; font-weight: 700; color: var(--terracotta);
  letter-spacing: -0.5px;
}
.hgc-row {
  display: flex; align-items: center; margin-bottom: 10px;
}
.hgc-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; border: 2px solid white; flex-shrink: 0;
}
.hgc-avatar:nth-child(2) { margin-left: -10px; }
.hgc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hgc-heart {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--terra-lt); display: flex; align-items: center; justify-content: center;
  font-size: 12px; margin: 0 8px;
  animation: heartbeat 2.5s ease-in-out infinite;
}
.hgc-title { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.hgc-sub { font-size: 12px; color: var(--ink-60); }
.hgc-chips { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 10px; }
.hgc-chip {
  padding: 3px 9px; border-radius: var(--r-full);
  background: rgba(26,20,16,.05); font-size: 11px; color: var(--ink-60); font-weight: 500;
}

.hgc-mini-icon {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  flex-shrink: 0;
}
.hgc-mini-text { font-size: 13px; font-weight: 500; color: var(--ink); }
.hgc-mini-sub  { font-size: 11px; color: var(--ink-60); margin-top: 1px; }


/* ═══════════════════════════════
   HOW IT WORKS
═══════════════════════════════ */
.how-section { background: var(--warm); padding: 100px 48px; }
.how-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 48px;
}
.how-item {
  background: white; padding: 32px; border-radius: var(--r-lg);
  border: 1px solid var(--ink-10);
  transition: all .3s var(--ease); position: relative;
}
.how-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.how-num {
  font-size: 48px; font-weight: 700; color: var(--ink-10);
  line-height: 1; margin-bottom: 20px; user-select: none;
  position: absolute; top: 20px; right: 24px;
}
.how-item h3 { font-size: 20px; margin-bottom: 12px; }
.how-item p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; font-weight: 300; }
.how-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}


/* ═══════════════════════════════
   FEATURED PLANNERS
═══════════════════════════════ */
.planners-section {
  padding: 100px 48px; background: white;
  position: relative; overflow: hidden;
}
.planners-section .section-inner { max-width: var(--content-max); margin: 0 auto; }

.planners-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px; flex-wrap: wrap;
}
.planners-header .section-tag { margin-bottom: 12px; }
.planners-header .section-h2 { margin-bottom: 0; }

.btn-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--r-full);
  border: 1.5px solid var(--terracotta);
  font-size: 14px; font-weight: 600; color: var(--terracotta);
  background: transparent; cursor: pointer; transition: all .2s var(--ease);
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.btn-view-all:hover {
  background: var(--terracotta); color: white;
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,70,229,.2);
}

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

.planner-card {
  background: white; border-radius: var(--r-lg); padding: 28px;
  border: 1px solid var(--ink-10); transition: all .3s var(--ease);
  cursor: pointer; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.planner-card:hover {
  transform: translateY(-2px);
  border-color: var(--terracotta);
  box-shadow: 0 4px 20px rgba(79,70,229,.08);
}
.planner-card::after {
  content: none;
}

.pc-avatar {
  width: 52px; height: 52px; border-radius: 16px; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden; flex-shrink: 0;
}
.pc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }

.pc-name {
  font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px;
}
.pc-spec { font-size: 13px; color: var(--ink-60); margin-bottom: 6px; }
.pc-location { font-size: 12px; color: var(--ink-60); margin-bottom: 16px; }
.pc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.pc-tag {
  padding: 5px 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 500;
  color: var(--ink-60); background: var(--ink-10); transition: all .2s var(--ease);
}
.planner-card:hover .pc-tag { background: var(--terra-lt); color: var(--terracotta); }

.pc-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--ink-10); margin-top: auto;
}
.pc-price {
  font-size: 14px; font-weight: 600; color: var(--terracotta); margin-bottom: 4px;
}
.pc-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-60); }
.star-ico { color: #FBBF24; }
.pc-match {
  font-size: 12px; font-weight: 700; color: var(--terracotta);
  background: var(--terra-lt); padding: 6px 14px; border-radius: var(--r-full);
  transition: all .25s var(--ease);
}
.planner-card:hover .pc-match { background: var(--terracotta); color: white; }


/* ═══════════════════════════════
   REVIEWS
═══════════════════════════════ */
.social-proof-section { padding: 80px 48px; background: var(--warm); text-align: center; }
.social-proof-section .section-inner { max-width: var(--content-max); margin: 0 auto; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.proof-card {
  background: white; border-radius: var(--r-lg); padding: 28px;
  border: 1px solid var(--ink-10); text-align: left; transition: all .3s var(--ease);
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proof-stars { font-size: 14px; color: #FBBF24; margin-bottom: 12px; letter-spacing: 2px; display:flex; align-items:center; gap:2px; }
.proof-stars .star-filled .s-ico { color:#FBBF24; fill:#FBBF24; }
.proof-stars .star-dim .s-ico { color:#E5E0DA; fill:#E5E0DA; opacity:.4; }
.proof-text {
  font-size: 14px; color: var(--ink); line-height: 1.7; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.proof-author { display: flex; align-items: center; gap: 10px; }
.proof-author-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--terra-lt);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.proof-author-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.proof-author-sub { font-size: 11px; color: var(--ink-60); }


/* ═══════════════════════════════
   CTA BAND + FOOTER
═══════════════════════════════ */
.cta-band {
  background: var(--ink); padding: 80px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(28px,3vw,34px); color: white; line-height: 1.3; letter-spacing: -1px; margin-bottom: 16px; }
.cta-band h2 em { font-style: normal; color: #EC4899; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

footer {
  background: white; padding: 48px;
  text-align: center;
  border-top: 1px solid var(--ink-10);
}
footer .logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; margin-bottom: 16px; }
footer .logo .dot { color: var(--terracotta); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.footer-links a { font-size: 13px; color: var(--ink-60); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
footer small { font-size: 12px; color: var(--ink-30); }


/* ═══════════════════════════════
   RESPONSIVE — LANDING
═══════════════════════════════ */

/* ── 와이드스크린 ── */
@media (min-width: 1400px) {
  .hero, .how-section, .planners-section, .social-proof-section, .cta-band, footer {
    padding-left: 80px; padding-right: 80px;
  }
}

/* ── 중간 데스크톱 ── */
@media (max-width: 1100px) {
  .planner-grid, .proof-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .hero-gc-main { left: 16px; right: 16px; }
  .hero-gc-noti { left: 16px; }
  .hero-gc-dday { right: 16px; }

  .hero { gap: 48px; padding: calc(var(--nav-h) + 60px) 40px 60px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 32px; }
}

/* ── 태블릿 ── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) 48px 48px;
    gap: 40px; min-height: auto;
    text-align: center;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-desc { max-width: 520px; margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* 비주얼 영역 */
  .hero-visual { height: 320px; max-width: 480px; margin: 0 auto; }
  .hero-gc-main { padding: 16px 18px 14px; }
  .hero-gc-noti, .hero-gc-dday { display: none; }

  .how-section, .planners-section, .social-proof-section, .cta-band, footer {
    padding-left: 48px; padding-right: 48px;
  }

  /* 플래너 카드 2열 유지 */
  .planner-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }

  /* How 섹션 카드 */
  .how-item { padding: 28px 24px; }
  .how-num { font-size: 36px; }

  /* 푸터 */
  footer { flex-direction: column; text-align: center; gap: 16px; }
  .footer-links { justify-content: center; }
}

/* ── 소형 태블릿 ── */
@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 36px) 32px 40px; }
  .hero h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -1px; }
  .hero-visual { height: 300px; }

  .planner-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .planner-card { border-radius: var(--r-md); }

  .how-section, .planners-section, .social-proof-section { padding: 60px 32px; }
  .cta-band { padding: 60px 32px; }

  .section-heading { font-size: clamp(24px, 4vw, 32px); }
}

/* ── 모바일 ── */
@media (max-width: 640px) {
  .hero {
    padding: calc(var(--nav-h) + 28px) 20px 36px;
    text-align: center;
  }
  .hero h1 { font-size: clamp(26px, 7vw, 34px); letter-spacing: -.5px; }
  .hero-eyebrow { font-size: 11px; padding: 5px 12px; }
  .hero-desc { font-size: 15px; line-height: 1.7; }
  .hero-cta { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-cta .btn-terra,
  .hero-cta .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hstat-num { font-size: 24px; }
  .hstat-label { font-size: 11px; }
  .hero-trust { flex-direction: column; gap: 8px; align-items: center; }
  .hero-visual { height: 240px; border-radius: 16px; }
  .hero-image { border-radius: 16px; }

  /* 섹션 */
  .how-section, .planners-section, .social-proof-section { padding: 48px 20px; }
  .section-heading { font-size: 24px; margin-bottom: 32px; }

  /* How 섹션 */
  .how-grid { gap: 12px; }
  .how-item { padding: 24px 20px; }
  .how-icon { font-size: 28px; }

  /* 플래너 카드 1열 */
  .planner-grid { grid-template-columns: 1fr; gap: 14px; }
  .planners-header { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* 리뷰 */
  .proof-grid { gap: 14px; }

  /* CTA */
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .btn-terra { width: 100%; }

  /* 푸터 */
  footer {
    padding: 32px 20px calc(var(--bottom-nav-h) + 20px);
    flex-direction: column;
    align-items: center; text-align: center; gap: 16px;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 12px; }
}

/* ── 초소형 모바일 ── */
@media (max-width: 360px) {
  .hero { padding: calc(var(--nav-h) + 20px) 16px 28px; }
  .hero h1 { font-size: 24px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { gap: 16px; }
  .hstat-num { font-size: 22px; }

  .how-section, .planners-section, .social-proof-section { padding: 40px 16px; }
  .cta-band { padding: 40px 16px; }
  footer { padding: 28px 16px calc(var(--bottom-nav-h) + 16px); }
}