/* ════════════════════════════════
   CSS 변수
════════════════════════════════ */
:root {
  /* 새 디자인 시스템 */
  --bg-primary: #080B14;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);

  --accent: #F97316;
  --accent-hover: #EA6C0A;
  --accent-glow: rgba(249, 115, 22, 0.25);

  --purple: #A855F7;
  --teal: #22D3EE;

  --text-primary: #FFFFFF;
  --text-secondary: #C4BAE0;
  --text-muted: #9490B4;

  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(249, 115, 22, 0.5);

  --radius: 20px;

  /* 하위 호환 — 기존 var() 참조 유지 */
  --bg1: #080B14;
  --bg2: #0F1220;
  --primary: #F97316;
  --secondary: #A855F7;
  --card: rgba(255, 255, 255, 0.04);
  --text: #FFFFFF;
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-text: #F0EEFF;
  --nav-bg: rgba(8, 11, 20, 0.75);
}

/* ════════════════════════════════
   기본
════════════════════════════════ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 10%,
      rgba(139, 92, 246, 0.22) 0%,
      transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 90%,
      rgba(34, 211, 238, 0.12) 0%,
      transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%,
      rgba(249, 115, 22, 0.05) 0%,
      transparent 70%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 배경 글로우 (body gradient가 주 역할, blur는 숨김) */
.bg-blur { display: none; }

/* ════════════════════════════════
   네비게이션
════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(8, 11, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
}
.nav-logo {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.3px;
}
.nav-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-links a.nav-earlybird {
  color: #00D2D3;
  border: 1px solid rgba(0, 210, 211, 0.45);
  border-radius: 20px;
  padding: 5px 14px;
  font-weight: 600;
  font-size: 13px;
}
.nav-links a.nav-earlybird:hover {
  background: rgba(0, 210, 211, 0.12);
  color: #00D2D3;
}
.nav-right { display: flex; gap: 8px; align-items: center; }
.mobile-nav-link.nav-earlybird-mobile { color: #00D2D3; font-weight: 600; }

/* 햄버거 메뉴 */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav-dropdown {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(8, 11, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 199;
  padding: 12px 20px 16px;
  flex-direction: column;
  gap: 2px;
  animation: screenFadeIn 0.2s ease;
}
.mobile-nav-dropdown.open { display: flex; }
.mobile-nav-dropdown a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-nav-dropdown a:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }

/* 초기화 버튼 네비 */
.btn-reset-nav {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s, border-color 0.2s;
}
.btn-reset-nav:hover { opacity: 1; color: var(--accent); border-color: rgba(249,115,22,0.4); }
.btn-google-login {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-google-login:hover { border-color: rgba(255,255,255,0.5); color: #fff; background: rgba(255,255,255,0.05); }
.btn-google-login-mobile {
  width: 100%; text-align: left;
  background: transparent; border: none;
  font-size: inherit; font-family: inherit;
  cursor: pointer;
}

/* ════════════════════════════════
   화면 플로우
════════════════════════════════ */
.flow-wrap {
  width: 100%;
  margin-top: 64px;
  z-index: 1;
}
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px);
  padding: 60px 24px;
  width: 100%;
  animation: screenFadeIn 0.4s ease;
}
.screen.active { display: flex; }
@keyframes screenFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════
   랜딩 / 히어로
════════════════════════════════ */
#screen-landing {
  padding: 200px 24px 160px;
  justify-content: flex-start;
}
.landing-inner {
  text-align: center;
  max-width: 560px;
  width: 100%;
}
.brand-logo {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.landing-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px;
  white-space: nowrap;
}
.main-copy {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}
.main-copy .pct-highlight {
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub-copy {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 40px;
  font-weight: 400;
}
.cta-main {
  display: inline-block;
  width: auto;
  min-width: 220px;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 32px rgba(249, 115, 22, 0.35), 0 4px 16px rgba(0,0,0,0.3);
}
.cta-main:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 48px rgba(249, 115, 22, 0.5), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}
.cta-gradient {
  background: linear-gradient(90deg, #6C5CE7, #00D2D3) !important;
  box-shadow: 0 0 32px rgba(168,85,247,0.25), 0 4px 16px rgba(0,0,0,0.3);
}
.cta-gradient:hover {
  opacity: 0.9;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3) !important;
  box-shadow: 0 0 48px rgba(168,85,247,0.35), 0 8px 24px rgba(0,0,0,0.4);
}
.cta-main:active { transform: translateY(0); }
.cta-main:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

/* ════════════════════════════════
   진행 표시
════════════════════════════════ */
.progress-wrap {
  width: 100%;
  max-width: 440px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.progress-text {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  border-radius: 99px;
  transition: width 0.4s ease;
}

/* ════════════════════════════════
   화면 공통 콘텐츠
════════════════════════════════ */
.screen-content {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
}
.screen-q {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.screen-sub {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  line-height: 1.6;
}

/* ════════════════════════════════
   선택지 카드
════════════════════════════════ */
.choice-grid { display: flex; flex-direction: column; gap: 10px; }
.choice-card {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
  line-height: 1.5;
  color: var(--text-primary);
}
.choice-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(249,115,22,0.1);
}
.choice-card.selected {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

/* ════════════════════════════════
   에너지/멘탈 선택
════════════════════════════════ */
.state-section { margin-bottom: 24px; }
.state-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.options { display: flex; gap: 10px; }
.option {
  flex: 1;
  padding: 14px 0;
  border-radius: 12px;
  background: var(--bg-card);
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.2s;
  border: 1px solid var(--border);
  user-select: none;
}
.option:hover {
  background: var(--bg-card-hover);
  border-color: rgba(249,115,22,0.25);
  color: var(--text-primary);
}
.option.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.5);
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.15);
}
#btn-mission { margin-top: 28px; }

/* ════════════════════════════════
   공감 메시지
════════════════════════════════ */
.empathy-msg {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  line-height: 1.7;
}

/* ════════════════════════════════
   미션 카드
════════════════════════════════ */
.mission-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  margin-bottom: 24px;
  transition: border-color 0.3s;
}
.mission-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.mission-text {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--text-primary);
}

/* ════════════════════════════════
   액션 버튼
════════════════════════════════ */
.action-btns {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}
.btn-done {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.3);
}
.btn-done:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.45);
  transform: translateY(-1px);
}
.btn-pass {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  margin-top: 8px;
  border-radius: 10px;
}
.btn-pass:hover { color: var(--text-secondary); }

.result-msg {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  min-height: 24px;
  margin: 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.result-msg.show { opacity: 1; }
.result-msg.done-msg { color: var(--accent); animation: celebrate 0.5s ease; }
.result-msg.pass-msg { color: var(--text-muted); font-weight: 500; font-size: 14px; }
@keyframes celebrate {
  0%   { transform: scale(0.85); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.btn-restart {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-restart:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.12); }

/* ════════════════════════════════
   하단 정적 콘텐츠
════════════════════════════════ */
.page-wrap {
  width: 100%;
  max-width: 700px;
  padding: 60px 24px 80px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: #00D2D3;
  box-shadow: 0 0 0 1px rgba(0,210,211,0.15), 0 20px 60px rgba(0,0,0,0.2);
}

/* ── 광고 슬롯 ── */
.ad-slot {
  width: 100%;
  min-height: 90px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ad-slot ins { display: block; }

/* ── 섹션 공통 ── */
.section-header { margin-bottom: 28px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6C5CE7;
  background: rgba(108, 92, 231, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.section-header h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.3px; }
.section-header p { font-size: 15px; color: var(--text-secondary); margin: 0; line-height: 1.7; }

/* ════════════════════════════════
   아티클
════════════════════════════════ */
.articles-list { display: flex; flex-direction: column; gap: 16px; }
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.25s;
}
.article-card:hover {
  background: var(--bg-card-hover);
  border-color: #00D2D3;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0,210,211,0.15), 0 12px 40px rgba(0,0,0,0.3);
}
.article-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.article-category {
  font-size: 12px;
  font-weight: 600;
  color: #C084FC;
  background: rgba(168, 85, 247, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
}
.article-read-time { font-size: 12px; color: var(--text-muted); }
.article-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; line-height: 1.4; color: var(--text-primary); letter-spacing: -0.2px; }
.article-card .article-summary { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.article-body { display: none; }
.article-body.open { display: block; }
.article-body p { font-size: 14px; color: #D4CCE8; line-height: 1.9; margin: 0 0 14px; }
.article-body h4 { font-size: 15px; font-weight: 700; margin: 20px 0 8px; color: var(--text-primary); }
.article-body ul { margin: 8px 0 14px 0; padding-left: 18px; }
.article-body ul li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.article-toggle {
  font-size: 13px; font-weight: 600; color: var(--accent);
  cursor: pointer; background: none; border: none; padding: 0;
  transition: opacity 0.2s;
}
.article-toggle:hover { opacity: 0.75; }

/* ════════════════════════════════
   실패 허용 / 비교 섹션
════════════════════════════════ */

/* 이용 방법 스텝 */
.how-badge {
  display: inline-block;
  background: rgba(0,210,211,0.15);
  border: 1px solid rgba(0,210,211,0.3);
  border-radius: 20px;
  color: #00D2D3;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.how-steps {
  max-width: 480px;
  margin: 0 auto;
}
.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.how-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.how-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,210,211,0.15);
  border: 1.5px solid #00D2D3;
  color: #00D2D3;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.how-circle-final {
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  color: #fff;
  border-color: #6C5CE7;
}
.how-line {
  width: 1.5px;
  height: 48px;
  background: rgba(0,210,211,0.2);
  margin: 0 auto;
}
.how-step-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  flex: 1;
  margin-bottom: 4px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.how-step-card:hover {
  border-color: #00D2D3;
  box-shadow: 0 0 0 1px rgba(0,210,211,0.15);
}
.how-step-card-final {
  background: rgba(0,210,211,0.08);
  border-color: rgba(0,210,211,0.25);
  margin-bottom: 0;
}
.how-step-tag {
  font-size: 11px;
  font-weight: 600;
  color: #00D2D3;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.how-step-title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}
.how-step-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.how-cta {
  text-align: center;
  margin-top: 32px;
}
.how-cta-text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}

.diff-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.diff-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  transition: all 0.25s;
}
.diff-item.bad { border-color: rgba(255, 80, 80, 0.2); }
.diff-item.good {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.04);
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.08);
}
.diff-item.ai { border-color: rgba(168, 85, 247, 0.25); }
.diff-item .diff-icon { font-size: 24px; margin-bottom: 10px; }
.diff-item .diff-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.diff-item .diff-lbl.bad-lbl { color: #F87171; }
.diff-item .diff-lbl.good-lbl { color: var(--accent); }
.diff-item .diff-lbl.ai-lbl { color: #C084FC; }
.diff-item p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ════════════════════════════════
   소셜 프루프
════════════════════════════════ */
.social-counter {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.social-sub { font-size: 14px; color: var(--text-secondary); margin: 6px 0 24px; }
.review-cards { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.2s;
}
.review-card:hover { border-color: rgba(249,115,22,0.2); }
.review-card .reviewer { font-size: 12px; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.review-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.7; }

/* ════════════════════════════════
   소개
════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.about-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  transition: border-color 0.2s;
}
.about-item:hover { border-color: rgba(168,85,247,0.25); }
.about-item .icon { font-size: 24px; margin-bottom: 10px; }
.about-item h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--text-primary); }
.about-item p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ════════════════════════════════
   베타 신청
════════════════════════════════ */
.beta-section {
  background: rgba(249, 115, 22, 0.06) !important;
  border: 1px solid rgba(249, 115, 22, 0.2) !important;
  border-radius: 24px !important;
}
.beta-section:hover {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: rgba(249, 115, 22, 0.3) !important;
}
.beta-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.beta-section h2 { font-size: 24px; font-weight: 700; margin: 10px 0 8px; letter-spacing: -0.3px; }
.beta-sub { font-size: 15px; color: var(--text-secondary); margin: 0 0 24px; line-height: 1.65; }
.beta-form { display: flex; gap: 10px; }
.beta-form input { flex: 1; }
.btn-beta {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}
.btn-beta:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 32px rgba(249, 115, 22, 0.5);
  transform: translateY(-1px);
}
.beta-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

/* ════════════════════════════════
   문의 / 폼
════════════════════════════════ */
input, textarea {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, textarea:focus {
  border-color: #00D2D3;
  box-shadow: 0 0 0 3px rgba(0, 210, 211, 0.1);
}
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.btn-submit {
  padding: 12px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary); font-size: 14px;
  font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-submit:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── 개인정보처리방침 ── */
.privacy-content h3 { font-size: 16px; font-weight: 700; margin: 28px 0 10px; color: var(--text-primary); }
.privacy-content p, .privacy-content li { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin: 0 0 8px; }
.privacy-content ul { padding-left: 20px; }
.privacy-content a { color: var(--accent); }

/* ════════════════════════════════
   Disqus
════════════════════════════════ */
#disqus_container {
  width: 100%; max-width: 700px; padding: 28px;
  background: var(--bg-card); backdrop-filter: blur(12px);
  border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1; color-scheme: dark; margin-bottom: 40px;
}
#disqus_thread iframe { filter: invert(0.88) hue-rotate(180deg); }
#disqus_container h2 { font-size: 18px; font-weight: 700; margin: 0 0 24px; color: var(--text-primary); }

/* ════════════════════════════════
   푸터
════════════════════════════════ */
.site-footer {
  width: 100%; text-align: center; padding: 28px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: transparent;
}
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ════════════════════════════════
   1% 복리 계산기
════════════════════════════════ */
.calc-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.calc-title {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0 32px;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.calc-controls { margin-bottom: 32px; }
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.1);
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(249,115,22,0.5);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 0 20px rgba(249,115,22,0.7);
  transform: scale(1.15);
}
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(249,115,22,0.5);
  cursor: pointer;
  border: none;
}
.calc-day-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}
.calc-num-input {
  width: 76px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}
.calc-num-input:focus { border-color: rgba(249,115,22,0.5); }
.calc-day-unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}
.calc-result-area { text-align: center; }
.calc-sentence {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.6;
}
#calc-sentence-mult {
  color: var(--text-primary);
  font-weight: 700;
}
.calc-big-num {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 16px;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -3px;
  transition: opacity 0.15s;
}
.calc-times { font-size: 44px; letter-spacing: 0; }
.calc-compare {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  min-height: 24px;
  transition: opacity 0.2s;
  line-height: 1.65;
}

/* ════════════════════════════════
   성장 시각화 카드
════════════════════════════════ */
.growth-card {
  display: none;
  background: var(--bg-card);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 16px;
  animation: screenFadeIn 0.4s ease;
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.06), 0 20px 60px rgba(0,0,0,0.25);
}
.growth-card.show { display: block; }
.growth-plant-wrap { margin: 0 0 20px; }
.growth-plant-icon {
  font-size: 64px;
  display: inline-block;
  animation: plantSway 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 20px rgba(249,115,22,0.3));
}
@keyframes plantSway {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50%       { transform: rotate(3deg) scale(1.06); }
}
.growth-day-line {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-primary);
  letter-spacing: -0.2px;
}
.growth-formula {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 16px;
  line-height: 1.6;
}
.growth-formula sup { font-size: 10px; }
.growth-msg-text {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.6;
}

/* ════════════════════════════════
   반응형 — 모바일
════════════════════════════════ */
@media (max-width: 520px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  #screen-landing { padding: 140px 24px 100px; }
  .main-copy { font-size: 36px; letter-spacing: -1px; }
  .sub-copy { font-size: 17px; }
  .cta-main { min-width: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .beta-form { flex-direction: column; }
  .mission-text { font-size: 22px; }
  .screen-q { font-size: 22px; }
  .calc-big-num { font-size: 56px; letter-spacing: -2px; }
  .calc-times { font-size: 36px; }
  .calc-card { padding: 28px 20px; }
  .growth-plant-icon { font-size: 52px; }
  .page-wrap { padding: 40px 20px 60px; gap: 40px; }
}

/* ════════════════════════════════
   A/B 선택 카드 (메인 화면)
════════════════════════════════ */
.main-header {
  text-align: center;
  margin-bottom: 32px;
}
.main-days-line {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0 0 12px;
}
.main-days-line .main-days,
.main-days-line .main-mult,
.main-days-line .daily-days,
.main-days-line .daily-mult {
  background: linear-gradient(135deg, #F97316, #FB923C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.level-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.ab-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
  margin: 0 0 14px;
}
.ab-cards {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
}
.ab-card {
  flex: 1;
  padding: 20px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
  user-select: none;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.card-a {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
}
.card-a:hover, .card-a.selected {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12), 0 20px 60px rgba(0,0,0,0.3);
}
.card-b {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.card-b:hover, .card-b.selected {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 115, 22, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), 0 20px 60px rgba(0,0,0,0.3);
}
.ab-emoji { font-size: 22px; }
.ab-card-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}
.ab-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ab-card-stat {
  font-size: 22px;
  font-weight: 800;
  margin-top: 4px;
}
.card-a-stat { color: #F97316; }
.card-b-stat { color: rgba(255, 255, 255, 0.6); }
.ab-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.6;
}

/* ── 미션 배지 ── */
.mission-badge-wrap { margin-bottom: 14px; }
.mission-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.mission-badge.grow    { color: var(--accent);  background: rgba(249, 115, 22, 0.12); }
.mission-badge.maintain { color: #C084FC; background: rgba(168, 85, 247, 0.12); }

/* ── 최고 레벨 ── */
.max-level-msg { margin-top: 24px; text-align: center; }
.max-level-msg p { font-size: 18px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
.btn-add-category {
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: rgba(249, 115, 22, 0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-add-category:hover { background: rgba(249, 115, 22, 0.15); transform: translateY(-1px); }

/* ── 오늘 완료 화면 ── */
.done-today-plant { font-size: 72px; line-height: 1; margin-bottom: 8px; }
.done-today-mult {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -1px;
}
.done-today-sub { font-size: 15px; color: var(--text-secondary); margin: 0; }

/* ── 초기화 버튼 ── */
.btn-reset {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  padding: 8px 16px;
}
.btn-reset:hover { opacity: 0.85; }

/* 모바일 ── */
@media (max-width: 520px) {
  .ab-card-title { font-size: 16px; }
  .done-today-plant { font-size: 56px; }
  .done-today-mult { font-size: 32px; }
}

/* ── screen-compact (done-today) ── */
.screen-compact {
  min-height: auto !important;
  padding: 72px 24px 48px;
}

/* ── 홈 아이콘 버튼 ── */
.btn-back-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.2s, color 0.2s;
}
.btn-back-home:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ── 홈으로 돌아가기 버튼 ── */
.btn-home {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
  margin-bottom: 4px;
}
.btn-home:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.12); }

/* ════════════════════════════════
   커스텀 확인 모달
════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-box {
  background: #0F1220;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  animation: screenFadeIn 0.2s ease;
}
.modal-msg {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  line-height: 1.65;
  margin: 0 0 28px;
  color: var(--text-primary);
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.modal-btn-ok {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}
.modal-btn-ok:hover { background: var(--accent-hover); transform: translateY(-1px); }
.modal-btn-cancel {
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.modal-btn-cancel:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.15); }

/* ── 얼리버드 모달 ── */
.modal-earlybird-box {
  position: relative;
  max-width: 400px;
  background: linear-gradient(160deg, #0F1220 0%, #0d1028 100%);
  border: 1px solid rgba(0, 210, 211, 0.3);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 40px rgba(0,210,211,0.06);
}
.modal-earlybird-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-secondary);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.modal-earlybird-close:hover { background: rgba(255,255,255,0.12); color: var(--text-primary); }
.modal-earlybird-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00D2D3;
  background: rgba(0,210,211,0.12);
  border: 1px solid rgba(0,210,211,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.modal-earlybird-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}
.modal-earlybird-sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}
.modal-earlybird-form { display: flex; flex-direction: column; gap: 10px; }
.modal-earlybird-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.modal-earlybird-input:focus { border-color: #00D2D3; box-shadow: 0 0 0 3px rgba(0,210,211,0.1); }
.modal-earlybird-input::placeholder { color: var(--text-muted); }
.modal-earlybird-btn {
  width: 100%;
  padding: 14px;
  background: #00D2D3;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(0,210,211,0.35);
}
.modal-earlybird-btn:hover { background: #00b8b9; transform: translateY(-1px); }
.modal-earlybird-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.modal-earlybird-done {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #00D2D3;
  padding: 8px 0 4px;
  line-height: 1.6;
}
.modal-earlybird-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 14px 0 0;
}

/* ── 랜딩 완료 메시지 ── */
.landing-done-msg {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.7;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* ════════════════════════════════
   데스크탑 사이드바
════════════════════════════════ */
.desktop-sidebar {
  display: none;
  position: fixed;
  right: 0;
  top: 64px;
  bottom: 0;
  width: 300px;
  background: rgba(8, 11, 20, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 100;
  overflow-y: auto;
  padding: 24px;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 768px) {
  .desktop-sidebar.sb-active { display: flex; }
  body.has-sidebar { padding-right: 300px; }
}

/* ── 성장 애니메이션 오버레이 ── */
.growth-anim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.growth-anim-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.growth-anim-plant {
  font-size: 120px;
  line-height: 1;
  display: block;
  text-align: center;
}
.growth-anim-msg {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin: 0;
}
.growth-anim-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* 같은 단계: 통통 튀는 pulse */
@keyframes plantPulse {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.25); }
  40%  { transform: scale(0.92); }
  60%  { transform: scale(1.12); }
  80%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}
.plant-pulse { animation: plantPulse 1.0s cubic-bezier(0.36, 0.07, 0.19, 0.97); }

/* 레벨업: 커지면서 사라짐 */
@keyframes plantGrowOut {
  0%   { transform: scale(1);   opacity: 1; }
  60%  { transform: scale(1.9); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.plant-grow-out { animation: plantGrowOut 0.48s ease forwards; }

/* 레벨업: 새 식물 등장 */
@keyframes plantGrowIn {
  0%   { transform: scale(0.2); opacity: 0; }
  55%  { transform: scale(1.25); opacity: 1; }
  75%  { transform: scale(0.9); }
  100% { transform: scale(1);   opacity: 1; }
}
.plant-grow-in { animation: plantGrowIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

/* ── 모바일 상단 요약 바 ── */
.mobile-summary-bar {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  height: 40px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 150;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
}
.msb-label { font-weight: 500; }
.msb-mult { color: #F97316; font-weight: 800; letter-spacing: -0.3px; }
.msb-unit { font-weight: 500; }

/* ── 모바일 📊 플로팅 버튼 ── */
.mobile-stats-btn {
  display: none;
  position: fixed;
  bottom: 24px; right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.35);
  font-size: 22px;
  cursor: pointer;
  z-index: 150;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, background 0.2s;
  align-items: center;
  justify-content: center;
}
.mobile-stats-btn:active { transform: scale(0.94); background: rgba(249, 115, 22, 0.25); }

/* ── 모바일 통계 바텀시트 ── */
.mobile-stats-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 400;
  align-items: flex-end;
}
.mobile-stats-overlay.open { display: flex; }
.mobile-stats-sheet {
  width: 100%;
  max-height: 82vh;
  background: #0F1220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 0 24px 48px;
  overflow-y: auto;
  animation: slideUpSheet 0.28s ease;
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.mobile-stats-handle {
  width: 40px; height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  margin: 12px auto 12px;
}

@media (max-width: 767px) {
  .mobile-summary-bar.visible { display: flex; }
  .mobile-stats-btn.visible   { display: flex; }
  body.has-mobile-bar .flow-wrap { margin-top: 104px; }
  .site-footer { padding-bottom: 80px; }
}

/* ════════════════════════════════
   잔디밭 (Grass Grid)
════════════════════════════════ */
.grass-grid {
  display: grid;
  grid-template-columns: repeat(7, 14px);
  gap: 3px;
  margin: 8px 0 10px;
}
.grass-cell {
  width: 14px; height: 14px;
  border-radius: 2px;
  cursor: default;
  transition: opacity 0.15s;
}
.grass-cell:hover { opacity: 0.8; }
.grass-legend {
  display: flex; gap: 14px;
  font-size: 11px; color: rgba(255,255,255,0.45);
  margin-top: 6px;
}
.grass-legend-item { display: flex; align-items: center; gap: 4px; }
.grass-dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 2px; flex-shrink: 0;
}
.grass-tooltip {
  position: fixed;
  background: rgba(20,22,36,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 800;
  white-space: nowrap;
  transform: translateY(-110%);
}

/* ── 월별 달력 ── */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
}
.cal-nav-title {
  font-size: 12px !important;
  font-weight: 600;
  color: rgba(255,255,255,0.7) !important;
  margin: 0 !important;
}
.cal-nav-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}
.cal-nav-btn:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
.cal-week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 3px;
}
.cal-week-label {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 10px;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.cal-cell-empty { background: transparent !important; }
.cal-day-num { font-size: 9px; line-height: 1; }

/* 홈 화면 잔디밭 섹션 */
.home-grass-section {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 8px 0 4px;
}
.home-grass-title {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* 홈 기록 좌우 레이아웃 */
.home-record-box {
  display: flex;
  gap: 0;
  align-items: stretch;
}
.home-record-left {
  flex: 0 0 auto;
  min-width: 56px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
}
.home-record-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 16px;
  flex-shrink: 0;
}
.home-record-right {
  flex: 1;
  min-width: 0;
}
.home-record-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
/* 이번 주 행 */
.hw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  flex: 1;
}
.hw-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  min-width: 14px;
}
.hw-dot {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}
.hw-icon { font-size: 13px; line-height: 1; }
.hw-today .hw-label { color: #F97316; font-weight: 600; }
.hw-today .hw-dot  { color: rgba(249,115,22,0.4); }
@media (max-width: 768px) {
  .home-record-box { flex-direction: column; }
  .home-record-divider { width: auto; height: 1px; margin: 12px 0; }
  .home-record-left { padding-right: 0; flex-direction: row; gap: 0; }
  .hw-row { flex: 1; flex-direction: column; gap: 2px; padding: 0 2px; }
  .hw-label { min-width: auto; }
}

/* ── 섹션 구분선 ── */
.sb-sect-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 20px 0;
}

/* ── 오늘의 성장 패널 ── */
.sb-today-panel {
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 16px;
  padding: 18px 20px 16px;
  margin-bottom: 20px;
  text-align: center;
}
.sb-today-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(249, 115, 22, 0.8);
  margin-bottom: 10px;
}
.sb-today-msg {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 16px;
}
.sb-today-mult {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #F97316, #FB923C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.sb-today-mult-unit {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}
.sb-today-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.5px;
}

/* ── 섹션 라벨 ── */
.sb-sect-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 10px;
}

/* ── 카테고리 타이틀 ── */
.sb-cat-title {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 4px;
}

/* ── 배수 숫자 ── */
.sb-mult-big {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.sb-mult-unit {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.sb-mult-growth {
  background: linear-gradient(135deg, #F97316, #FB923C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sb-mult-maintain { color: #B8B0D0; }
.sb-status-growth {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #F97316;
  margin-bottom: 4px;
}
.sb-status-maintain {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #B8B0D0;
  margin-bottom: 4px;
}

/* ── 레벨 ── */
.sb-level-display {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.sb-level-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.sb-level-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sb-next-mission {
  font-size: 13px;
  color: #8B83A8;
  line-height: 1.5;
}

/* ── 완료 통계 박스 ── */
.sb-stats-row {
  display: flex;
  gap: 10px;
}
.sb-stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}
.sb-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.sb-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.50);
}

/* ── 7일 히스토리 ── */
.sb-day-row {
  display: flex;
  gap: 4px;
  justify-content: space-between;
}
.sb-day-box {
  width: 36px;
  height: 52px;
  border-radius: 10px;
  text-align: center;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sb-day-box-empty   { background: rgba(255, 255, 255, 0.03); }
.sb-day-box-growth  { background: rgba(249, 115, 22, 0.15); }
.sb-day-box-maintain{ background: rgba(168, 85, 247, 0.12); }
.sb-day-box-pass    { background: rgba(255, 255, 255, 0.03); }
.sb-day-today { outline: 1px solid #F97316; outline-offset: -1px; }
.sb-day-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.50);
  font-weight: 600;
}
.sb-day-icon {
  font-size: 18px;
  line-height: 1;
}

/* ── 비활성 카테고리 ── */
.sb-cat-inactive-block {
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ════════════════════════════════
   유지 3일 연속 성장 제안 배너
════════════════════════════════ */
.maintain-banner {
  width: 100%;
  background: rgba(249, 115, 22, 0.06);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 20px;
  animation: screenFadeIn 0.4s ease;
}
.maintain-banner-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
  line-height: 1.6;
}
.maintain-banner-btns { display: flex; gap: 8px; }
.btn-banner-grow {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.3);
}
.btn-banner-grow:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-banner-stay {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-banner-stay:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.14); }

/* ════════════════════════════════
   홈 화면 — 카테고리 카드
════════════════════════════════ */
.home-content { max-width: 440px; }
.home-header { text-align: center; margin-bottom: 32px; }
.home-title { font-size: 26px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.3px; }
.home-sub { font-size: 15px; color: var(--text-secondary); margin: 0; }
.home-cards { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.home-cat-card {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-cat-active {
  border-color: rgba(249, 115, 22, 0.3);
  background: rgba(249, 115, 22, 0.04);
}
.home-cat-active:hover {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.1), 0 20px 60px rgba(0,0,0,0.3);
}
.home-cat-inactive { opacity: 0.8; }
.home-cat-inactive:hover { opacity: 1; transform: translateY(-1px); }
.home-cat-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.home-cat-icon { font-size: 28px; flex-shrink: 0; }
.home-cat-info { flex: 1; min-width: 0; }
.home-cat-name { font-size: 16px; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.1px; color: var(--text-primary); }
.home-cat-meta { font-size: 12px; color: var(--accent); font-weight: 600; }
.home-cat-meta-inactive { color: rgba(255,255,255,0.85); font-weight: 400; }
.home-cat-reset-btn {
  padding: 5px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); font-size: 12px; cursor: pointer;
  opacity: 0.6; transition: all 0.2s; flex-shrink: 0;
}
.home-cat-reset-btn:hover { opacity: 1; color: var(--accent); border-color: rgba(249,115,22,0.35); }
.home-cat-mission-btn {
  width: 100%; max-width: none;
  padding: 14px 20px; font-size: 15px;
  border-radius: 12px; border: none;
  background: var(--accent);
  color: #fff; font-weight: 700; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.3);
}
.home-cat-mission-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 40px rgba(249, 115, 22, 0.45);
  transform: translateY(-2px);
}
.home-cat-mission-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
/* ── 루틴 그룹 카드 ── */
.home-routine-group .home-cat-top { margin-bottom: 10px; }
.routine-unlock-banner {
  font-size: 0.8rem;
  color: #F97316;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  text-align: center;
}
.routine-slots-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.routine-slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.routine-slot-icon { font-size: 20px; flex-shrink: 0; }
.routine-slot-info { flex: 1; min-width: 0; }
.routine-slot-name { font-size: 14px; font-weight: 600; color: var(--text-primary); display: block; }
.routine-slot-meta { font-size: 11px; color: var(--text-muted); }
.routine-slot-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.routine-slot-actions .home-cat-mission-btn {
  width: auto; padding: 8px 14px; font-size: 13px; box-shadow: none; border-radius: 8px;
}
.routine-slot-actions .home-cat-reset-btn { padding: 5px 8px; }
.routine-add-btn {
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
}
.routine-add-btn.can-add {
  border: 1px dashed rgba(249,115,22,0.5); background: transparent;
  color: #F97316;
}
.routine-add-btn.can-add:hover { background: rgba(249,115,22,0.06); border-color: rgba(249,115,22,0.7); }
.routine-add-btn.locked {
  border: 1px dashed rgba(255,255,255,0.12); background: transparent;
  color: rgba(255,255,255,0.3); cursor: not-allowed;
}
.routine-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.routine-progress-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.routine-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: #F97316;
  transition: width 0.4s ease;
}
.routine-progress-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

.home-cat-add-btn {
  width: 100%; padding: 14px 20px; border-radius: 12px;
  border: 1px dashed rgba(249,115,22,0.3); background: transparent;
  color: #F97316; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.home-cat-add-btn:hover {
  border-color: rgba(249, 115, 22, 0.4);
  color: var(--accent);
  background: rgba(249, 115, 22, 0.04);
}
.home-cat-done-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--accent); background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.home-cat-done-btn {
  width: 100%; padding: 14px 20px; border-radius: 12px; border: none;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px; font-weight: 600; cursor: default;
}
.home-add-section {
  display: flex; flex-direction: column; gap: 8px; margin-top: 4px;
}
.home-add-cat-btn {
  width: 100%; padding: 13px 20px; border-radius: 12px;
  border: 1px dashed rgba(249, 115, 22, 0.3); background: transparent;
  color: rgba(249, 115, 22, 0.8); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; text-align: center;
}
.home-add-cat-btn:hover {
  border-color: rgba(249, 115, 22, 0.5);
  color: #F97316;
  background: rgba(249, 115, 22, 0.04);
}
.next-mission-preview {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: left;
}
.next-mission-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.next-mission-text {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

/* ── 사이드바 멀티 카테고리 (구 스타일, 미사용) ── */
.sb-cat-block { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.sb-cat-block:last-of-type { border-bottom: none; }

@media (max-width: 520px) {
  .home-cat-name { font-size: 15px; }
  .home-cat-icon { font-size: 24px; }
}

/* ── Disqus 토글 ── */
#disqus_container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
#disqus-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  margin-bottom: 12px;
}
#disqus-toggle-btn:hover {
  background: var(--bg-card-hover);
  border-color: #00D2D3;
  color: #00D2D3;
}

/* ── SNS 공유 버튼 ── */
.calc-share-btn {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  color: #F97316;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.calc-share-btn:hover { opacity: 1; }

.mission-share-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 12px;
  margin-bottom: 4px;
}
.mission-share-btn:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.12); }

/* ── 온보딩 로딩 ── */
.ob-loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 100%;
}
.ob-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(249, 115, 22, 0.2);
  border-top-color: #F97316;
  border-radius: 50%;
  animation: obSpin 0.9s linear infinite;
}
@keyframes obSpin {
  to { transform: rotate(360deg); }
}
.ob-loading-empathy {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin: 0;
}
.ob-loading-text {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}
.ob-loading-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── 감사일기 링크 ── */
.gratitude-info-link {
  display: block;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 4px 0;
  margin: 4px auto 0;
  text-align: center;
}
.gratitude-info-link:hover { color: rgba(255, 255, 255, 0.75); }

/* ── 감사일기 모달 ── */
.gratitude-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.gratitude-modal-overlay.open { display: flex; }
.gratitude-modal {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #0F1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px 28px;
  animation: fadeInScale 0.22s ease;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.gratitude-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.gratitude-modal-close:hover { color: rgba(255, 255, 255, 0.8); }
.gratitude-modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.gratitude-modal-body {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.modal-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.modal-list {
  display: block;
  padding-left: 4px;
  color: var(--text-secondary);
  line-height: 2;
}

/* ── 공유 토스트 ── */
.share-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: rgba(249, 115, 22, 0.92);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s, transform 0.22s;
  z-index: 9999;
  white-space: nowrap;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── 수면 드럼롤 피커 ── */
.sleep-picker-wrap {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}
.drum-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 220px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.drum-col {
  width: 80px;
  height: 220px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* 위아래 숫자 투명 페이드 */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
}
.drum-col:active { cursor: grabbing; }
.drum-col::-webkit-scrollbar { display: none; }
.drum-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s, font-size 0.15s, font-weight 0.15s;
}
.drum-item.drum-selected {
  color: #F97316;
  font-size: 1.75rem;
  font-weight: 700;
}
.drum-sep {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  align-self: center;
}
.drum-picker-highlight {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 8px;
  border-top: 1px solid rgba(249, 115, 22, 0.25);
  border-bottom: 1px solid rgba(249, 115, 22, 0.25);
  pointer-events: none;
  z-index: 1;
}
.drum-picker-mask {
  display: none; /* mask-image on .drum-col으로 대체 */
}
.sleep-confirm-msg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 24px 0;
  white-space: pre-line;
}
/* 수면 홈카드 진행바 */
.sleep-progress-wrap {
  margin: 8px 0 4px;
}
.sleep-progress-track {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.sleep-progress-fill {
  height: 100%;
  background: #F97316;
  border-radius: 2px;
  transition: width 0.4s;
}
.sleep-progress-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ════════════════════════════════
   온보딩 슬라이드
════════════════════════════════ */
#screen-landing:has(#ob-wrap) {
  padding: 0 !important;
  height: calc(100vh - 64px);
  overflow: hidden;
}
#ob-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  position: relative;
  width: 100%;
}

#ob-logo {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 50px 24px 0;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

#ob-slides {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
  margin-top: -20px;
  padding: 0 48px;
  box-sizing: border-box;
}

.ob-slide {
  display: none;
  flex-direction: column;
  flex: 1;
}
.ob-slide.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: obIn 0.4s ease-out;
}

@keyframes obIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ob-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 24px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ob-nav-inner {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px 32px;
  background: transparent;
}

.ob-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.ob-grad {
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ob-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  text-align: center;
  margin: 0;
}

.ob-points { display: flex; flex-direction: column; gap: 10px; }

.ob-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.ob-star { color: #6C5CE7; font-size: 16px; }

.ob-formula-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.ob-formula-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 8px;
}

.ob-formula-eq {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  font-family: monospace;
}

.ob-dimmed { color: rgba(255,255,255,0.4); }

.ob-big-num {
  font-size: 60px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.ob-graph {
  width: 100%;
  height: auto;
}

.ob-compare-card {
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}

.ob-compare-card.ob-good {
  border-color: rgba(108,92,231,0.3);
  background: rgba(108,92,231,0.06);
}

.ob-compare-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ob-compare-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.ob-compare-icon.bad { background: rgba(239,68,68,0.2); color: #f87171; }
.ob-compare-icon.good {
  background: linear-gradient(135deg, rgba(108,92,231,0.3), rgba(0,210,211,0.3));
  color: #00D2D3;
}

.ob-compare-name { font-size: 14px; font-weight: 700; }
.ob-compare-name.bad { color: #f87171; }
.ob-compare-name.good {
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ob-badges { display: flex; gap: 4px; flex-wrap: nowrap; margin-bottom: 10px; }

.ob-badge {
  padding: 5px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  flex: 1;
  text-align: center;
}

.ob-badge.green { background: rgba(34,197,94,0.15); color: #4ade80; }
.ob-badge.red { background: rgba(239,68,68,0.2); color: #f87171; }
.ob-badge.purple { background: rgba(108,92,231,0.2); color: #a78bfa; }
.ob-badge.gray { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); }

.ob-compare-flow {
  font-size: 13px;
  margin: 0 0 6px;
}

.ob-compare-flow.bad { color: #f87171; }
.ob-flow-dim { color: rgba(255,255,255,0.4); }
.ob-compare-flow.good { color: rgba(255,255,255,0.6); }

.ob-compare-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 4px 0 0;
}

.ob-compare-note.cyan { color: rgba(0,210,211,0.6); }

.ob-keep-box {
  background: linear-gradient(90deg, rgba(108,92,231,0.1), rgba(0,210,211,0.1));
  border: 1px solid rgba(108,92,231,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 6px 0;
}

.ob-cyan { color: #00D2D3; font-size: 18px; }

.ob-science { display: flex; flex-direction: column; gap: 14px; }

.ob-science-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.ob-science-item em {
  color: rgba(255,255,255,0.4);
  font-style: normal;
  font-size: 13px;
}

.ob-check { color: #00D2D3; font-weight: 700; font-size: 16px; flex-shrink: 0; }

.ob-cta {
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.ob-nav-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  min-width: 60px;
}

.ob-nav-btn:hover { color: #fff; }

.ob-dots { display: flex; gap: 6px; align-items: center; }

.ob-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s;
}

.ob-dot.active {
  width: 24px;
  background: linear-gradient(90deg, #6C5CE7, #00D2D3);
}

/* 슬라이드 4 진입 애니메이션 */
#ob-slide-4 .ob-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease-out, transform 900ms ease-out;
}
#ob-slide-4 .ob-science-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
#ob-slide-4 .ob-sub,
#ob-slide-4 .ob-cta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
#ob-slide-4.anim-ready .ob-title,
#ob-slide-4.anim-ready .ob-science-item,
#ob-slide-4.anim-ready .ob-sub,
#ob-slide-4.anim-ready .ob-cta {
  opacity: 1;
  transform: translate(0);
}
#ob-slide-4.anim-ready .ob-title                      { transition-delay: 200ms; }
#ob-slide-4.anim-ready .ob-science-item:nth-child(1)  { transition-delay: 700ms; }
#ob-slide-4.anim-ready .ob-science-item:nth-child(2)  { transition-delay: 900ms; }
#ob-slide-4.anim-ready .ob-science-item:nth-child(3)  { transition-delay: 1100ms; }
#ob-slide-4.anim-ready .ob-sub                        { transition-delay: 1400ms; }
#ob-slide-4.anim-ready .ob-cta                        { transition-delay: 1600ms; }

/* 슬라이드 3 진입 애니메이션 */
#ob-slide-3 .ob-title {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease-out, transform 900ms ease-out;
}
#ob-slide-3 .ob-compare-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
#ob-slide-3.anim-ready .ob-title {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-3.anim-ready .ob-compare-card {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-3.anim-ready .ob-title        { transition-delay: 200ms; }
#ob-slide-3.anim-ready .ob-compare-card { transition-delay: 800ms; }

/* 슬라이드 2 진입 애니메이션 */
#ob-slide-2 .ob-formula-box,
#ob-slide-2 .ob-title,
#ob-slide-2 .ob-sub {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms ease-out, transform 900ms ease-out;
}
#ob-slide-2 .ob-big-num {
  opacity: 0;
  transition: opacity 600ms ease-out;
}
#ob-slide-2 .ob-graph {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
#ob-slide-2.anim-ready .ob-formula-box,
#ob-slide-2.anim-ready .ob-title,
#ob-slide-2.anim-ready .ob-sub {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-2.anim-ready .ob-big-num {
  opacity: 1;
}
#ob-slide-2.anim-ready .ob-graph {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-2.anim-ready .ob-title       { transition-delay: 150ms; }
#ob-slide-2.anim-ready .ob-sub         { transition-delay: 250ms; }
#ob-slide-2.anim-ready .ob-big-num     { transition-delay: 400ms; }
/* #ob-slide-2.anim-ready .ob-graph { transition-delay: 1500ms; } — JS로 직접 제어 */

/* 슬라이드 1 진입 애니메이션 */
#ob-slide-1 .ob-title {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1000ms ease-out, transform 1000ms ease-out;
}
#ob-slide-1 .ob-sub-group,
#ob-slide-1 .ob-points {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease-out, transform 800ms ease-out;
}
#ob-slide-1.anim-ready .ob-title {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-1.anim-ready .ob-sub-group,
#ob-slide-1.anim-ready .ob-points {
  opacity: 1;
  transform: translateY(0);
}
#ob-slide-1.anim-ready .ob-sub-group {
  transition-delay: 600ms;
}
#ob-slide-1.anim-ready .ob-points {
  transition-delay: 600ms;
}

.ob-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #6C5CE7, #00D2D3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.85;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.ob-arrow-btn:hover { opacity: 0.6; }
.ob-arrow-btn.hidden { display: none; }
#ob-prev { left: 4px; }
#ob-next { right: 4px; }

@media (max-width: 520px) {
  #screen-landing:has(#ob-wrap) {
    min-height: unset;
  }
  #ob-wrap {
    height: calc(100dvh - 64px);
    overflow: hidden;
  }
}
