/* ==============================================
   Section-specific styles
   ============================================== */

/* ---------- HERO ---------- */
.hero {
  padding-top: 140px; padding-bottom: 100px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center;
  /* minmax(0, ...) 필수: 기본값(auto)이면 우측 폰 콘텐츠(phase 전환 시 폭이 미세하게 달라짐)가
     grid 트랙을 content 크기만큼 밀어붙여, 좌측 컬럼 폭이 hover/phase에 따라 흔들리는 문제가 있었음
     (hero-highlights 4배지 줄바꿈 버그의 근본 원인). 트랙을 0으로 고정해 fr 비율만으로 폭이 정해지게 함. */
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 { margin-top: 20px; min-height: 2.6em; }
/* min-height: 상담(2줄)·예약(2줄, 이번 수정으로 축소) phase 모두 기본 2줄 기준으로 높이를 맞춰
   hero-dual 카드 위치 흔들림을 방지. 이전 4.6em은 4줄 기준이라 2줄일 때 아래 여백이 과하게 남았음.
   드물게 좁은 폭에서 예약 문구가 3줄로 넘어가더라도 살짝만 밀리는 정도로 허용. */
.hero-h1-booking {
  font-size: clamp(28px, 4.5vw, 54px);
  /* 예약 phase 문구("답장 대신 예약 확정을 보내세요.")가 상담 phase보다 길어서 기본 h1 크기(clamp 34~64px)로는
     "답장 대신 예약 확정을" / "보내세요." 사이에서 줄바꿈이 일어나 총 3줄이 되고, 그 사이 min-height 여백이
     빈 줄처럼 보이는 문제가 있었음. 이 클래스만 살짝 작은 크기로 지정해 "답장 대신 예약 확정을 보내세요."가
     한 줄에 들어가도록 함 (h1의 hero-h1-booking 클래스는 hero.jsx에 이미 적용되어 있었으나 대응 CSS가 없어서
     지금까지 효과가 없었음 — 이번에 처음 추가). */
}
.hero h1 .accent { color: var(--teal); position: relative; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--teal-tint); z-index: -1; border-radius: 4px;
}
.hero h1 .accent.accent-amber { color: var(--amber); }
.hero h1 .accent.accent-amber::after { background: var(--amber-tint); }

/* Smooth crossfade between phase-swapped h1/sub copy */
.hero h1, .hero-sub { transition: opacity .35s var(--ease); }
.hero-sub { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 500px; line-height: 1.6; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 28px; display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-mute); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta span::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--teal-bright); }

/* Hero right — phone with kakao stack */
.hero-visual {
  position: relative; height: 560px; display: flex; align-items: center; justify-content: center;
}
.phone-frame {
  width: 320px; height: 540px;
  background: #0d1a16;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-3);
  position: relative; overflow: hidden;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, #a9c9dc 0%, #b6d3a8 100%);
  border-radius: 36px; overflow: hidden;
  position: relative;
  transition: background 1.5s var(--ease);
}
.phone-screen.phase-morning { background: linear-gradient(180deg, #b3d4e6 0%, #f5e8c8 100%); }
.phone-screen.phase-night { background: linear-gradient(180deg, #1a2b4a 0%, #0a1428 100%); }
.phone-status {
  display: flex; justify-content: space-between; padding: 14px 24px 8px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.92);
  position: relative; z-index: 2;
}
.phone-clock {
  text-align: center; padding: 20px 0 4px;
  font-size: 68px; font-weight: 300; color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
  position: relative; z-index: 2;
  font-variant-numeric: tabular-nums;
}
.phone-date {
  text-align: center; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500;
  position: relative; z-index: 2;
  margin-bottom: 24px;
}
.notif-stack {
  position: relative; z-index: 2; padding: 0 12px;
}
.notif {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(-8px) scale(.95); opacity: 0;
  animation: notifIn .5s var(--ease) forwards;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.notif:nth-child(1) { animation-delay: .2s; }
.notif:nth-child(2) { animation-delay: .8s; }
.notif:nth-child(3) { animation-delay: 1.4s; }
.notif:nth-child(4) { animation-delay: 2.0s; }
.notif:nth-child(5) { animation-delay: 2.6s; }
@keyframes notifIn { to { transform: translateY(0) scale(1); opacity: 1; } }
.notif-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--kakao); display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 11px; color: var(--kakao-ink);
}
.notif-body { flex: 1; min-width: 0; }
.notif-app { font-size: 10px; font-weight: 600; color: var(--ink-mute); letter-spacing: 0.02em; }
.notif-msg { font-size: 12px; color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-count {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: var(--coral); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; padding: 2px 8px; min-width: 22px; text-align: center;
}

/* Floating counter badge */
.hero-badge {
  position: absolute;
  padding: 10px 14px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-2);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.hero-badge.b1 { top: 20%; left: -20px; animation: floatY 4s ease-in-out infinite; }
.hero-badge.b2 { bottom: 20%; right: -30px; animation: floatY 4s ease-in-out infinite .8s; }
.hero-badge .num { font-size: 20px; font-weight: 800; color: var(--coral); font-variant-numeric: tabular-nums; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-badge .lbl { color: var(--ink-soft); font-size: 12px; font-weight: 500; }

/* ---------- PROBLEMS ---------- */
.problems {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.problems-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 48px;
}
@media (max-width: 720px) { .problems-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all .3s var(--ease);
}
.problem-card:hover { border-color: var(--coral-soft); transform: translateY(-2px); }
.problem-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--coral-tint); color: var(--coral);
  font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.problem-card h3 { font-size: 20px; margin-bottom: 8px; }
.problem-card p { font-size: 15px; }
.problem-card .marker {
  position: absolute; top: 20px; right: 20px;
  font-size: 22px; opacity: .35;
}

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--paper); }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px;
  position: relative;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: all .3s var(--ease);
}
.step:hover { border-color: var(--teal-tint-2); box-shadow: var(--shadow-2); transform: translateY(-3px); }
.step-num {
  font-size: 12px; font-weight: 700; color: var(--teal);
  letter-spacing: 0.15em; margin-bottom: 20px;
}
.step-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; line-height: 1.5; }
.step-arrow {
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  color: var(--line); font-size: 24px; z-index: 1;
}
@media (max-width: 900px) { .step-arrow { display: none; } }

/* ---------- CHANNELS ---------- */
.channels { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.channels-viz {
  position: relative; margin-top: 40px;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.channels-svg { width: 100%; max-width: 720px; height: 100%; }
.channel-node {
  position: absolute;
  width: 84px; height: 84px; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  transition: transform .3s var(--ease);
}
.channel-node .lbl { font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.channel-node:hover { transform: scale(1.06); }
.channel-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 140px; height: 140px; border-radius: 32px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright));
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800; box-shadow: 0 20px 50px rgba(15,110,86,.25);
  z-index: 3;
}
.channel-hub .big { font-size: 22px; letter-spacing: -0.02em; }
.channel-hub .sm { font-size: 11px; opacity: .85; margin-top: 4px; letter-spacing: 0.05em; }
.channel-hub::after {
  content: ''; position: absolute; inset: -8px; border-radius: 40px;
  border: 1px solid rgba(27,168,121,.3);
  animation: pulseHub 2.4s ease-out infinite;
}
@keyframes pulseHub {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.channels-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px;
}
@media (max-width: 720px) { .channels-list { grid-template-columns: repeat(2, 1fr); } }
.channel-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.channel-item .badge {
  margin-left: auto; font-size: 10px; background: var(--teal-tint); color: var(--teal);
  padding: 2px 8px; border-radius: 999px; font-weight: 700;
}

/* ---------- DEMO (Kakao chat simulation) ---------- */
.demo { background: var(--paper); }
.demo-layout {
  display: grid; grid-template-columns: 380px 1fr; gap: 60px; align-items: center;
  margin-top: 40px;
}
@media (max-width: 900px) { .demo-layout { grid-template-columns: 1fr; gap: 40px; } }
.chat-phone {
  width: 100%; max-width: 380px; margin: 0 auto;
  background: #0d1a16; border-radius: 40px; padding: 10px;
  box-shadow: var(--shadow-3);
}
.chat-inner {
  background: #b2c7d9;
  border-radius: 32px; overflow: hidden;
  height: 640px;
  display: flex; flex-direction: column;
}
.chat-header {
  background: #b2c7d9; padding: 20px 20px 12px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 16px;
}
.chat-avatar {
  width: 36px; height: 36px; border-radius: 12px;
  background: #fff; display: grid; place-items: center;
  color: var(--teal); font-weight: 800; font-size: 12px;
}
.chat-body {
  flex: 1; padding: 12px 16px; overflow-y: auto;
  scroll-behavior: smooth;
  display: flex; flex-direction: column; gap: 10px;
}
.bubble {
  max-width: 78%; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.45;
  opacity: 0; transform: translateY(8px);
  animation: bubbleIn .35s var(--ease) forwards;
}
@keyframes bubbleIn { to { opacity: 1; transform: translateY(0); } }
.bubble.them {
  background: #fff; color: var(--ink);
  align-self: flex-start; border-top-left-radius: 4px;
}
.bubble.us {
  background: var(--kakao); color: var(--kakao-ink);
  align-self: flex-end; border-top-right-radius: 4px;
}
.bubble .meta { display: block; font-size: 10px; color: var(--ink-mute); margin-top: 4px; }
.bubble.system {
  align-self: center; background: rgba(13,26,22,.05); color: var(--ink-soft);
  font-size: 11px; padding: 6px 12px; border-radius: 999px;
  font-weight: 500;
}
.chat-input {
  background: #fff; padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
}
.chat-input .box { flex: 1; background: var(--paper); border-radius: 999px; padding: 8px 14px; }

.demo-narration { max-width: 460px; }
.demo-narration .step-badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--teal); background: var(--teal-tint); padding: 4px 10px; border-radius: 999px;
  margin-bottom: 16px;
}
.demo-narration h3 { font-size: 26px; margin-bottom: 12px; }
.demo-narration p { font-size: 16px; line-height: 1.55; }
.demo-controls { margin-top: 24px; display: flex; gap: 10px; }
.demo-btn {
  padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: var(--paper-2); border: 1px solid var(--line);
  transition: all .2s;
}
.demo-btn:hover { border-color: var(--teal); color: var(--teal); }
.demo-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- AI DRAFT ---------- */
.ai { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ai-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center;
  margin-top: 40px;
}
@media (max-width: 900px) { .ai-layout { grid-template-columns: 1fr; } }
.ai-window {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.ai-window-head {
  background: var(--paper); padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.ai-window-head .dots { display: flex; gap: 6px; margin-right: 8px; }
.ai-window-head .dots span { width: 10px; height: 10px; border-radius: 999px; background: var(--line); }
.ai-window-body { padding: 24px; }
.ai-inquiry {
  background: var(--paper); border-radius: 12px; padding: 16px 18px;
  font-size: 14px; margin-bottom: 20px; border-left: 3px solid var(--teal);
}
.ai-inquiry .who { font-size: 11px; color: var(--ink-mute); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 6px; }
.ai-tags { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.ai-tag {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--teal-tint); color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  opacity: 0; transform: scale(.9);
  animation: tagIn .3s var(--ease) forwards;
}
.ai-tag.urgent { background: var(--coral-tint); color: var(--coral); }
.ai-tag.warn { background: var(--amber-tint); color: var(--amber); }
@keyframes tagIn { to { opacity: 1; transform: scale(1); } }
.ai-draft-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--teal-bright); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.ai-draft-label::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(27,168,121,.2);
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(27,168,121,.4); }
  100% { box-shadow: 0 0 0 8px rgba(27,168,121,0); }
}
.ai-draft {
  font-size: 14px; line-height: 1.7; color: var(--ink);
  min-height: 120px;
}
.ai-draft .caret {
  display: inline-block; width: 2px; height: 16px;
  background: var(--teal-bright); margin-left: 2px; vertical-align: -3px;
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.ai-actions { margin-top: 20px; display: flex; gap: 10px; }
.ai-btn { padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.ai-btn.primary { background: var(--ink); color: #fff; }
.ai-btn.ghost { background: transparent; color: var(--ink-soft); }

/* ---------- PRIORITY ---------- */
.priority { background: var(--paper); }
.priority-layout {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
  margin-top: 40px;
}
@media (max-width: 900px) { .priority-layout { grid-template-columns: 1fr; } }
.inbox {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.inbox-head {
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600;
}
.inbox-head .count { font-size: 12px; color: var(--ink-mute); font-weight: 500; }
.inbox-item {
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 12px;
  transition: all .5s var(--ease);
  position: relative;
}
.inbox-item:last-child { border-bottom: none; }
.pri-dot {
  width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0;
}
.pri-dot.red { background: var(--coral); box-shadow: 0 0 0 4px rgba(216,90,48,.15); }
.pri-dot.yellow { background: var(--amber); }
.pri-dot.green { background: var(--teal-bright); }
.inbox-item .msg { flex: 1; min-width: 0; }
.inbox-item .who { font-size: 12px; color: var(--ink-mute); font-weight: 600; margin-bottom: 2px; }
.inbox-item .txt { font-size: 14px; color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inbox-item .tag {
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
  letter-spacing: 0.05em;
}
.inbox-item .tag.red { background: var(--coral-tint); color: var(--coral); }
.inbox-item .tag.yellow { background: var(--amber-tint); color: var(--amber); }
.inbox-item .tag.green { background: var(--teal-tint); color: var(--teal); }

/* ---------- TRANSLATION ---------- */
.translation { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px;
}
@media (max-width: 900px) { .trans-grid { grid-template-columns: repeat(2, 1fr); } }
.trans-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.trans-flag {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
  margin-bottom: 14px;
}
.trans-flag.kr { background: #eaf4f0; color: var(--teal-deep); }
.trans-flag.en { background: #eaf0fb; color: #2a5cc8; }
.trans-flag.cn { background: #fbeaea; color: #c8402a; }
.trans-flag.jp { background: #fbf4ea; color: #b87519; }
.trans-original { font-size: 13px; color: var(--ink-mute); margin-bottom: 10px; min-height: 20px; }
.trans-translated { font-size: 15px; font-weight: 500; color: var(--ink); }
.trans-status {
  margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px; color: var(--teal-bright);
}
.trans-status.skip { color: var(--ink-mute); }
.trans-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
}

/* ---------- NUMBERS ---------- */
.numbers {
  background: var(--ink);
  color: #fff;
}
.numbers h2 { color: #fff; }
.numbers p { color: rgba(255,255,255,.7); }
.numbers .eyebrow { background: rgba(255,255,255,.08); color: var(--teal-bright); }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .numbers-grid { grid-template-columns: 1fr; } }
.num-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all .3s var(--ease);
}
.num-card:hover { background: rgba(255,255,255,.07); border-color: rgba(27,168,121,.3); }
.num-value {
  font-size: clamp(40px, 5vw, 60px); font-weight: 800;
  color: var(--teal-bright);
  letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.num-label { font-size: 15px; color: rgba(255,255,255,.85); line-height: 1.5; margin-bottom: 14px; font-weight: 500; }
.num-source { font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: 0.05em; }
.numbers-disclaimer {
  margin-top: 40px; padding: 20px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6;
}

/* ---------- UPDATES ---------- */
.updates { background: var(--paper); }
.updates-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
@media (max-width: 900px) { .updates-grid { grid-template-columns: 1fr; } }
.update-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all .3s var(--ease);
}
.update-card:hover { border-color: var(--teal-tint-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.update-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--teal-tint); color: var(--teal);
  margin-bottom: 16px;
}
.update-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px; background: var(--teal-bright);
  animation: pulse 1.5s ease-out infinite;
}
.update-card h3 { font-size: 18px; margin-bottom: 8px; }
.update-card p { font-size: 14px; line-height: 1.55; }
.update-card .roadmap {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 12px; color: var(--ink-mute);
}

/* ---------- COMPARISON ---------- */
.comparison { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.comp-table {
  margin-top: 48px;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.comp-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr;
  border-bottom: 1px solid var(--line-soft);
}
.comp-row:last-child { border-bottom: none; }
.comp-row.head { background: var(--paper); font-weight: 700; }
.comp-row.head .cell.own {
  background: var(--ink); color: #fff;
  position: relative;
}
.comp-row.head .cell.own::after {
  content: '추천'; position: absolute; top: 8px; right: 8px;
  font-size: 10px; padding: 2px 8px; border-radius: 999px;
  background: var(--teal-bright); color: #fff; font-weight: 700; letter-spacing: 0.05em;
}
.cell {
  padding: 20px 18px;
  border-right: 1px solid var(--line-soft);
  font-size: 14px;
  display: flex; align-items: center;
}
.cell:last-child { border-right: none; }
.cell.own {
  background: var(--teal-tint);
  font-weight: 600; color: var(--teal-deep);
}
.cell.label { font-weight: 700; color: var(--ink); }
.cell .icon { margin-right: 8px; font-size: 16px; }
.icon.check { color: var(--teal-bright); }
.icon.minus { color: var(--ink-mute); }
.icon.cross { color: var(--coral); }
@media (max-width: 720px) {
  .comp-row { grid-template-columns: 1fr; }
  .cell { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .cell.label { background: var(--paper); font-size: 13px; padding: 12px 18px; }
}

/* ---------- FIT ---------- */
.fit { background: var(--paper); }
.fit-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }
.fit-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s var(--ease);
}
.fit-card:hover { border-color: var(--teal-tint-2); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.fit-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-tint), var(--teal-tint-2));
  display: grid; place-items: center;
  color: var(--teal-deep);
  margin-bottom: 20px;
}
.fit-card h3 { font-size: 19px; margin-bottom: 8px; }
.fit-card p { font-size: 14px; line-height: 1.55; }
.fit-stats { margin-top: 16px; font-size: 12px; color: var(--teal); font-weight: 700; letter-spacing: 0.05em; }

/* ---------- SECURITY ---------- */
.security { background: var(--paper-warm); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-layout {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start;
  margin-top: 40px;
}
@media (max-width: 900px) { .sec-layout { grid-template-columns: 1fr; } }
.sec-shield {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
  box-shadow: var(--shadow-1);
  position: sticky; top: 100px;
}
.sec-shield-icon {
  width: 80px; height: 80px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright));
  border-radius: 22px;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 12px 30px rgba(15,110,86,.25);
}
.sec-shield h3 { font-size: 20px; margin-bottom: 8px; }
.sec-shield p { font-size: 14px; }
.sec-list { display: flex; flex-direction: column; gap: 16px; }
.sec-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
  display: flex; gap: 16px;
  transition: all .3s var(--ease);
}
.sec-item:hover { border-color: var(--teal-tint-2); }
.sec-item-num {
  flex-shrink: 0;
  font-size: 13px; font-weight: 800; color: var(--teal);
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.sec-item h4 { font-size: 16px; margin-bottom: 4px; }
.sec-item p { font-size: 14px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-list { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 600; color: var(--ink);
  gap: 20px;
}
.faq-toggle {
  width: 28px; height: 28px; border-radius: 999px; flex-shrink: 0;
  background: var(--paper-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .2s;
  color: var(--ink-soft);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease);
  color: var(--ink-soft);
  font-size: 15px; line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 16px; }

/* ---------- CTA / APPLY ---------- */
.cta { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 20% 30%, rgba(27,168,121,.15), transparent 40%),
              radial-gradient(600px circle at 80% 70%, rgba(216,90,48,.08), transparent 40%);
  pointer-events: none;
}
.cta h2 { color: #fff; }
.cta .eyebrow { background: rgba(255,255,255,.08); color: var(--teal-bright); }
.cta-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  margin-top: 40px;
  position: relative;
}
@media (max-width: 900px) { .cta-layout { grid-template-columns: 1fr; } }
.cta-left h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 20px; }
.cta-left p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.6; }
.cta-benefits { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.cta-benefit {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: rgba(255,255,255,.9);
}
.cta-benefit .check {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--teal-bright); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 12px; font-weight: 800;
}
.cta-form {
  background: #fff; color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
}
.cta-form h3 { font-size: 20px; margin-bottom: 8px; }
.cta-form .desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.form-row { margin-bottom: 16px; }
.form-row.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row label {
  display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft);
  margin-bottom: 6px; letter-spacing: 0.05em;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 14px; color: var(--ink);
  transition: border-color .2s, background .2s;
  font-family: inherit;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-cta {
  width: 100%; padding: 14px;
  background: var(--ink); color: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  transition: transform .2s var(--ease), background .2s;
  margin-top: 8px;
}
.form-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--ink-mute); margin-top: 12px; text-align: center; }
.form-alt {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
}
.form-alt a {
  font-size: 13px; color: var(--ink-soft); font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  transition: background .2s;
}
.form-alt a:hover { background: var(--paper); }

.form-success {
  text-align: center; padding: 20px 0;
}
.form-success .check-big {
  width: 60px; height: 60px; margin: 0 auto 20px;
  background: var(--teal-bright); color: #fff;
  border-radius: 999px; display: grid; place-items: center;
  font-size: 28px; font-weight: 800;
}
.form-success h3 { color: var(--ink); margin-bottom: 10px; }
.form-success p { color: var(--ink-soft); }

/* ---------- Diagnostic ---------- */
.diagnostic {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}
.diagnostic h3 { font-size: 18px; margin-bottom: 4px; }
.diagnostic .sub { font-size: 13px; color: var(--ink-mute); margin-bottom: 16px; }
.diag-options { display: flex; flex-direction: column; gap: 8px; }
.diag-opt {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; text-align: left;
  transition: all .2s;
  display: flex; align-items: center; gap: 10px;
}
.diag-opt:hover { border-color: var(--teal); background: var(--teal-tint); }
.diag-opt.active { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-deep); font-weight: 600; }
.diag-opt .bullet {
  width: 18px; height: 18px; border-radius: 999px;
  border: 1.5px solid var(--line);
  display: grid; place-items: center;
  transition: all .2s;
}
.diag-opt.active .bullet { border-color: var(--teal); background: var(--teal); }
.diag-opt.active .bullet::after {
  content: ''; width: 6px; height: 6px; border-radius: 999px; background: #fff;
}
.diag-result {
  margin-top: 20px; padding: 20px; background: var(--teal-tint); border-radius: 12px;
  font-size: 14px; color: var(--teal-deep); font-weight: 600;
  display: none;
}
.diag-result.show { display: block; }

/* ---------- Hero diagnostic CTA (무료진단 신청) ---------- */
.hero-diag-trigger {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--teal-tint); border: 1px solid var(--teal-tint-2);
  color: var(--teal-deep); font-size: 13px; font-weight: 600;
  transition: all .2s var(--ease); cursor: pointer;
}
.hero-diag-trigger:hover { background: var(--teal-tint-2); border-color: var(--teal); transform: translateY(-1px); }
.hero-diag-icon { font-size: 15px; }
.hero-diag-arrow { color: var(--teal); font-weight: 700; margin-left: 2px; }

.diag-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,26,22,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: diagFadeIn .2s var(--ease);
}
@keyframes diagFadeIn { from { opacity: 0; } to { opacity: 1; } }

.diag-modal-card {
  position: relative; width: 100%; max-width: 420px;
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  animation: diagPopIn .25s var(--ease);
}
@keyframes diagPopIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.diag-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink-mute);
  font-size: 13px; transition: all .2s;
}
.diag-modal-close:hover { background: var(--line-soft); color: var(--ink); }

.diag-modal-title { font-size: 20px; margin: 12px 0 6px; }
.diag-modal-desc { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 24px; line-height: 1.55; }

@media (max-width: 640px) {
  .diag-modal-card { padding: 28px 22px; }
}

/* ---------- BOOKING (예약 자동화 히어로급 홍보 섹션) ---------- */
.booking {
  padding-top: 100px; padding-bottom: 100px;
  position: relative; overflow: hidden;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.booking-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
}
@media (max-width: 900px) {
  .booking-grid { grid-template-columns: 1fr; gap: 48px; }
}
.booking-eyebrow { color: var(--teal); }
.booking-eyebrow .dot { background: var(--teal-bright); }
.booking-title { margin-top: 20px; font-size: 40px; line-height: 1.25; }
.booking-sub { margin-top: 22px; font-size: 18px; color: var(--ink-soft); max-width: 520px; line-height: 1.65; }

.booking-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.booking-feature {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.booking-feature-icon {
  width: 24px; height: 24px; border-radius: 999px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 1px;
}
.booking-feature.is-done .booking-feature-icon { background: var(--teal-tint); color: var(--teal); }
.booking-feature.is-soon .booking-feature-icon { background: var(--line-soft); color: var(--ink-mute); }
.booking-feature.is-soon { color: var(--ink-mute); }

.booking-note {
  margin-top: 24px; font-size: 13px; color: var(--ink-mute);
  padding: 12px 16px; background: var(--teal-tint); border-radius: 10px; display: inline-block;
}

.booking-visual { height: auto; }
.booking-chat-screen { background: linear-gradient(180deg, #eef7f2 0%, #f7f6f1 100%) !important; }
.chat-header {
  text-align: center; padding: 16px 0 10px; font-size: 13px; font-weight: 700;
  color: var(--ink); position: relative; z-index: 2;
}
.chat-stack { position: relative; z-index: 2; padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.chat-bubble {
  max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 12.5px; line-height: 1.5;
  transform: translateY(-8px) scale(.96); opacity: 0;
  animation: notifIn .45s var(--ease) forwards;
}
.chat-bubble.user {
  align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px;
}
.chat-bubble.bot {
  align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.chat-bubble.bot-confirm { background: var(--teal); color: #fff; font-weight: 600; }
.chat-bubble.bot-sms {
  background: var(--amber-tint); color: var(--ink); font-size: 11.5px;
  border: 1px dashed var(--amber);
}
.chat-stack .chat-bubble:nth-child(1) { animation-delay: .2s; }
.chat-stack .chat-bubble:nth-child(2) { animation-delay: .7s; }
.chat-stack .chat-quickreplies { animation-delay: 1.1s; }
.chat-stack .chat-bubble:nth-child(4) { animation-delay: 1.7s; }
.chat-stack .chat-bubble:nth-child(5) { animation-delay: 2.2s; }
.chat-stack .chat-bubble:nth-child(6) { animation-delay: 2.8s; }

.chat-quickreplies {
  align-self: flex-start; display: flex; gap: 6px; flex-wrap: wrap; max-width: 90%;
  transform: translateY(-8px); opacity: 0;
  animation: notifIn .45s var(--ease) forwards;
}
.chat-qr {
  font-size: 11.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.chat-qr-active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- HERO DUAL (상담자동화·예약자동화 — 두 핵심 축을 대등하게) ---------- */
.hero-dual {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px;
  width: 560px; max-width: 100%;   /* 창 크기가 바뀌어도 카드 열의 전체 폭 자체를 절대값으로 고정 */
}
@media (max-width: 640px) {
  .hero-dual { gap: 10px; width: 100%; }
}
.hero-dual-divider { display: none; } /* divider deprecated — 두 카드가 자체 배경으로 구분됨 */

.hero-dual-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
  position: relative;
  flex: 1 1 0;                         /* basis 0 + grow 1 = 두 카드가 내용과 무관하게 정확히 50:50 (업계 표준 패턴) */
  min-width: 0;
  height: 112px;
  box-sizing: border-box;
  will-change: box-shadow;
}
@media (max-width: 640px) {
  .hero-dual-item {
    flex: 1 1 100%; width: 100%;
    height: auto; min-height: 88px;
  }
}
/* hover/active는 border 색상·shadow만 변경 — 두 상태 모두 항상 테두리가 보이므로 "크기가 달라 보이는" 착시 없음 */
.hero-dual-item:hover { box-shadow: 0 6px 16px rgba(13,26,22,.06); }
.hero-dual-item.is-active { box-shadow: 0 6px 16px rgba(13,26,22,.07); }

/* Left card: 상담 자동화 (teal) */
.hero-dual-item.dual-consult {
  background: var(--teal-tint);
  color: var(--teal);
  border-color: rgba(15,110,86,.14);   /* 비활성 상태에도 항상 옅은 테두리 표시 (활성 시와 동일한 두께, 색만 옅음) */
}
.hero-dual-item.dual-consult .hero-dual-title { color: var(--teal-deep, #0b4d3d); }
.hero-dual-item.dual-consult .hero-dual-desc { color: #3d5a4f; }
.hero-dual-item.dual-consult:hover,
.hero-dual-item.dual-consult.is-active { border-color: var(--teal); }

/* Right card: 예약 자동화 (amber) */
.hero-dual-item.dual-booking {
  background: var(--amber-tint);
  color: var(--amber);
  border-color: rgba(229,166,55,.18);  /* 비활성 상태에도 항상 옅은 테두리 표시 */
}
.hero-dual-item.dual-booking .hero-dual-title { color: #7a5410; }
.hero-dual-item.dual-booking .hero-dual-desc { color: #7d6337; }
.hero-dual-item.dual-booking:hover,
.hero-dual-item.dual-booking.is-active { border-color: var(--amber); }

.hero-dual-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(13,26,22,.06);
}
.hero-dual-item.dual-consult .hero-dual-icon { color: var(--teal); }
.hero-dual-item.dual-booking .hero-dual-icon { color: var(--amber); }
.hero-dual-icon svg { width: 26px; height: 26px; display: block; }

.hero-dual-body { flex: 1; min-width: 0; }
.hero-dual-title {
  font-size: 17px; font-weight: 800; letter-spacing: -0.01em;
  line-height: 1.25;
}
.hero-dual-desc {
  font-size: 13px; margin-top: 4px; line-height: 1.5; font-weight: 500;
  min-height: 2.4em; display: flex; align-items: center; /* 1줄/2줄 문구 모두 동일한 세로 공간 차지 */
}

/* Phase label — 폰 프레임 위쪽에 절대 배치 (원상복구) */
.hero-phase-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  background: #ffffff; border: 1px solid var(--line);
  color: var(--ink-soft);
  margin-bottom: 14px;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  box-shadow: 0 2px 8px rgba(13,26,22,.04);
}
.hero-phase-label::before {
  content: ''; width: 6px; height: 6px; border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor;
  opacity: .9;
  animation: phaseDotPulse 1.8s ease-out infinite;
}
@keyframes phaseDotPulse {
  0%   { box-shadow: 0 0 0 0 currentColor; opacity: .5; }
  100% { box-shadow: 0 0 0 6px transparent; opacity: 0; }
}
.hero-phase-label.is-consult { color: var(--teal); border-color: var(--teal-tint-2, #d5ebe1); background: var(--teal-tint); }
.hero-phase-label.is-booking { color: var(--amber); border-color: #f5e0a7; background: var(--amber-tint); }

/* Booking phase — mini chat inside phone-screen */
.phone-screen.phase-booking {
  background: linear-gradient(180deg, #eef7f2 0%, #f7f6f1 100%);
}
.phone-mini-chat {
  position: relative; z-index: 2;
  padding: 4px 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.phone-mini-chat .chat-bubble { max-width: 82%; font-size: 12px; padding: 9px 13px; }
.phone-mini-chat .chat-quickreplies { max-width: 92%; }
.phone-mini-chat .chat-qr { font-size: 11px; padding: 6px 11px; }

/* ---- 링크 클릭 → 시간 선택 흐름에 맞춘 전용 타이밍 (.phone-mini-chat 범위로 한정, 다른 chat-stack에는 영향 없음) ---- */
.phone-mini-chat.chat-stack > *:nth-child(1) { animation-delay: .2s; }   /* 사용자: 문의 */
.phone-mini-chat.chat-stack > *:nth-child(2) { animation-delay: .7s; }   /* 봇: 링크 안내 */
.phone-mini-chat.chat-stack > *:nth-child(3) { animation-delay: 1.2s; }  /* 링크 카드 */
.phone-mini-chat.chat-stack > *:nth-child(4) { animation-delay: 1.9s; }  /* 봇: 시간 골라주세요 */
.phone-mini-chat.chat-stack > *:nth-child(5) { animation-delay: 2.3s; }  /* 퀵리플라이 시간 선택지 */
.phone-mini-chat.chat-stack > *:nth-child(6) { animation-delay: 2.7s; }  /* 사용자: 시간 선택 확정 */

/* 링크 카드 — 실제 클릭 가능한 링크처럼 보이는 카드형 버블 */
.chat-link-card {
  display: flex; align-items: center; gap: 8px;
  align-self: flex-start; max-width: 86%;
  padding: 9px 13px;
  background: #fff; border: 1px solid var(--teal-tint-2, #d5ebe1); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,110,86,.08);
  position: relative; overflow: visible;
  transform: translateY(-8px) scale(.96); opacity: 0;
  animation: notifIn .45s var(--ease) forwards;
}
.chat-link-icon { font-size: 13px; flex-shrink: 0; }
.chat-link-text {
  font-size: 11.5px; font-weight: 700; color: var(--teal-deep, #0b4d3d);
  text-decoration: underline; text-decoration-color: var(--teal-tint-2, #d5ebe1);
  text-underline-offset: 2px;
}
.chat-link-arrow { font-size: 11px; color: var(--teal); flex-shrink: 0; margin-left: auto; }
/* '탭됨' 느낌을 주는 짧은 링 파동 효과 — 링크 카드 등장 후 살짝 뒤에 재생 */
.chat-link-tap {
  position: absolute; left: 18px; top: 50%; width: 14px; height: 14px;
  margin-top: -7px; border-radius: 999px; border: 2px solid var(--teal-bright);
  opacity: 0; transform: scale(.4);
  animation: chatLinkTap .5s var(--ease) 1.75s forwards;
  pointer-events: none;
}
@keyframes chatLinkTap {
  0%   { opacity: .9; transform: scale(.4); }
  70%  { opacity: .35; transform: scale(1.6); }
  100% { opacity: 0; transform: scale(2); }
}


/* ---------- BOOKING PHASE (히어로 폰 안) — 임팩트 강화 ---------- */

/* booking phase에서는 상태바(5G/100%)를 카톡 헤더 카드 안에 통합해 상단 여백 완전 제거 */
.phone-screen.phase-booking .phone-status {
  padding: 8px 20px 4px;
  color: var(--ink);
  font-size: 10.5px; font-weight: 700;
  text-shadow: none;
}
.phone-screen.phase-booking .phone-status span {
  color: var(--ink);
  opacity: 0.7;
}

/* 카톡 앱 헤더 — 상태바 바로 아래에 딱 붙어 렌더 (padding-top: 0) */
.phone-booking-header {
  position: relative; z-index: 2;
  padding: 0 10px 2px;                 /* 상단 여백 제거 */
}
.phone-booking-app { padding: 8px 10px; gap: 9px; }
.phone-booking-app-icon { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.phone-booking-app-name { font-size: 12px; }
.phone-booking-app-sub { font-size: 9.5px; }
.phone-booking-live { font-size: 8.5px; padding: 2px 6px; }
.phone-booking-app {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(13,26,22,.05);
}
.phone-booking-app-icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--kakao); color: var(--kakao-ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.phone-booking-app-name {
  font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.2;
}
.phone-booking-app-sub {
  font-size: 10px; color: var(--ink-soft); margin-top: 2px;
}
.phone-booking-live {
  margin-left: auto;
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  color: var(--coral);
  padding: 3px 7px; border-radius: 999px;
  background: var(--coral-tint);
  animation: bookingLive 1.6s ease-in-out infinite;
}
@keyframes bookingLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.phone-booking-body {
  position: relative; z-index: 2;
  padding: 2px 10px 10px;
  display: flex; flex-direction: column; gap: 5px;
}
.phone-booking-time {
  align-self: center;
  font-size: 9.5px; color: var(--ink-mute); font-weight: 600;
  padding: 1px 9px; border-radius: 999px;
  background: rgba(255,255,255,0.65);
  margin: 1px 0;
}

/* Restrict mini-chat inside booking phase — tight vertical rhythm */
.phone-booking-body .phone-mini-chat.chat-stack {
  padding: 1px 0 2px;
  display: flex; flex-direction: column; gap: 5px;
}
.phone-booking-body .chat-bubble { max-width: 82%; font-size: 11px; padding: 6px 11px; line-height: 1.4; }
.phone-booking-body .chat-quickreplies { max-width: 92%; gap: 4px; }
.phone-booking-body .chat-qr { font-size: 10px; padding: 4px 9px; }

/* Confirmation card — the "wow" moment */
.booking-confirm-card {
  margin-top: 4px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px 10px;
  position: relative;
  box-shadow: 0 8px 24px rgba(15,110,86,.35);
  transform: translateY(12px) scale(0.94);
  opacity: 0;
  animation: bookingCardPop .55s var(--ease) 3.0s forwards;
}
.booking-confirm-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
@keyframes bookingCardPop {
  0%   { transform: translateY(12px) scale(0.94); opacity: 0; }
  60%  { transform: translateY(-2px) scale(1.02); opacity: 1; }
  100% { transform: translateY(0) scale(1);       opacity: 1; }
}

.booking-confirm-check {
  position: absolute; top: -12px; right: 12px;
  width: 28px; height: 28px; border-radius: 999px;
  background: #fff; color: var(--teal);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(15,110,86,.3);
  transform: scale(0);
  animation: bookingCheckPop .5s var(--ease) 3.3s forwards;
}
.booking-confirm-check svg { width: 16px; height: 16px; }
@keyframes bookingCheckPop {
  0%   { transform: scale(0) rotate(-30deg); }
  70%  { transform: scale(1.25) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.booking-confirm-title {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.booking-confirm-datetime {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 7px;
}
.booking-confirm-day {
  font-size: 13px; font-weight: 800; color: #fff;
  letter-spacing: -0.01em;
}
.booking-confirm-hour {
  font-size: 17px; font-weight: 800; color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.booking-confirm-meta {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.booking-confirm-row {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; color: rgba(255,255,255,0.95); font-weight: 500;
  line-height: 1.3;
}
.booking-confirm-icon { font-size: 10px; opacity: 0.9; }

/* Impact badge below confirm card */
.booking-impact-badge {
  margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15,110,86,0.15);
  border-radius: 9px;
  opacity: 0;
  animation: notifIn .5s var(--ease) 3.7s forwards;
}
.booking-impact-num {
  font-size: 13px; font-weight: 800; color: var(--teal);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.booking-impact-lbl {
  font-size: 9.5px; color: var(--ink-soft); font-weight: 600;
}

/* ---------- HERO HIGHLIGHTS (핵심 4가지 — 아이콘 + 순차 애니메이션) ---------- */
.hero-highlights {
  margin-top: 28px;
  display: flex; flex-wrap: nowrap; gap: 10px;
  /* 데스크톱/태블릿에서는 항상 한 줄(4개) 고정 — hero-grid 트랙 고정(위 참고)과 함께 적용해야
     hover 시 4번째 배지가 다음 줄로 밀리는 현상이 재발하지 않음. */
}
@media (max-width: 900px) {
  .hero-highlights { flex-wrap: wrap; gap: 8px; }
  /* hero-grid가 1열로 바뀌는 지점(900px)부터는 배지 줄바꿈을 다시 허용 — 모바일/좁은 화면 대응 */
}
.hero-highlight-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 10px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  opacity: 0; transform: translateY(10px) scale(.94);
  animation: highlightPop .5s var(--ease) forwards;
}
.hero-highlight-icon {
  width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0;
  background: var(--teal-tint); color: var(--teal);
  display: grid; place-items: center;
  animation: iconPulse 2.4s ease-in-out infinite;
}
.hero-highlight-icon svg { width: 14px; height: 14px; }
/* 각 항목 아이콘 배경색을 살짝 다르게 (예약 자동화만 앰버로 강조 — 신규 기능 눈에 띄게) */
.hero-highlight-item:nth-child(3) .hero-highlight-icon { background: var(--amber-tint); color: var(--amber); }

@keyframes highlightPop {
  0%   { opacity: 0; transform: translateY(10px) scale(.94); }
  70%  { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
