/* Daily Helper — Custom CSS (Modern Redesign v2) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --primary:        #4f46e5;   /* Indigo 600 — brand primary */
  --primary-dark:   #3730a3;   /* Indigo 800 */
  --primary-light:  #818cf8;   /* Indigo 400 */
  --accent:         #06b6d4;
  --surface:        #ffffff;          /* ① 라이트: 카드 순백색 */
  --surface-2:      #f8fafc;          /* ① 라이트: body 배경 슬레이트 톤 */
  --border:         #e2e8f0;          /* ① 라이트: 카드 구분 border */
  --text-primary:   #0f172a;
  --text-secondary: #64748b;
  --radius-card:    0.875rem;
  --radius-sm:      0.5rem;
  --shadow-card:    0 1px 4px rgba(0,0,0,0.07), 0 2px 8px rgba(15,23,42,0.06); /* ① 라이트: soft shadow */
  --shadow-hover:   0 8px 28px rgba(79,70,229,0.16), 0 3px 10px rgba(0,0,0,0.08);
  --max-w:          1240px;           /* ① 통일 max-width 토큰 */
  --container-px:   1.5rem;
  --transition-fast: 0.18s ease;
  --transition-med:  0.24s ease;
}

/* Dark mode tokens */
html.dark {
  --surface:        #151d2a;          /* ② 다크: 카드 배경 */
  --surface-2:      #0b0f17;          /* ② 다크: body 딥블루/블랙 */
  --border:         rgba(255,255,255,0.08); /* ② 다크: 카드 테두리 */
  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --shadow-card:    0 1px 6px rgba(0,0,0,0.4), 0 2px 12px rgba(0,0,0,0.28); /* ② 다크: 입체 shadow */
  --shadow-hover:   0 8px 32px rgba(99,102,241,0.28), 0 3px 12px rgba(0,0,0,0.4);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans KR', sans-serif;
  background-color: #f8fafc;          /* ① 라이트 body 배경 슬레이트 톤 */
  color: var(--text-primary);
  transition: background var(--transition-med), color var(--transition-med);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
html.dark body { background-color: #0b0f17; } /* ② 다크 body 딥블루/블랙 */

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,0.82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(15,23,42,0.07);
  transition:
    background var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med);
}
.site-header.scrolled {
  background: rgba(248,250,252,0.92);
  box-shadow: 0 2px 18px rgba(15,23,42,0.08), 0 1px 0 rgba(15,23,42,0.05);
  border-bottom-color: rgba(15,23,42,0.1);
}
html.dark .site-header {
  background: rgba(13,17,23,0.82);
  border-bottom-color: rgba(255,255,255,0.06);
}
html.dark .site-header.scrolled {
  background: rgba(13,17,23,0.94);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.04);
  border-bottom-color: rgba(255,255,255,0.08);
}

/* Header category quick menu */
.header-cat-btn {
  padding: 0.3rem 0.85rem;
  border: none; border-radius: 1.5rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.8rem; font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.header-cat-btn::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-fast);
  transform-origin: center;
}
.header-cat-btn:hover {
  color: var(--primary);
  background: rgba(79,70,229,0.06);
}
.header-cat-btn:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.header-cat-btn.active-cat {
  color: var(--primary);
  background: rgba(79,70,229,0.08);
  font-weight: 600;
}
.header-cat-btn.active-cat::after {
  transform: translateX(-50%) scaleX(1);
}
html.dark .header-cat-btn { color: var(--text-secondary); }
html.dark .header-cat-btn:hover { color: var(--primary-light); background: rgba(129,140,248,0.07); }
html.dark .header-cat-btn.active-cat { color: var(--primary-light); background: rgba(129,140,248,0.1); }

/* Header inner: flex (logo left | controls right) */
.header-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 64px;
}
.header-logo-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-align: left;
}
.brand-text-group {
  display: flex;
  flex-direction: column;
}
@media (max-width: 640px) {
  .brand-text-group {
    display: none;
  }
}
/* 카테고리 퀵 메뉴: 중앙 정렬 */
.header-cat-nav {
  display: none; /* 모바일 기본 숨김 */
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .header-cat-nav { display: flex; }
}

.logo-text {
  font-size: 1.15rem; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}
.slogan-text { font-size: 0.7rem; color: var(--text-secondary); letter-spacing: 0.01em; }

/* Lang toggle */
.lang-btn {
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--text-secondary);
  border: 1px solid transparent;
  background: transparent; cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-btn.active-lang {
  background: var(--primary); color: white;
  border-color: var(--primary);
}

/* Dark toggle */
#dark-toggle {
  width: 2.1rem; height: 2.1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent; cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
#dark-toggle:hover {
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  border-color: rgba(79,70,229,0.2);
}

/* ── Hero — Compact & Deep Indigo SaaS Gradient ──────────── */
.hero-section {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding: 17px 20px 14px;            /* 상하 패딩 대폭 축소 (전체 높이 컴팩트화) */
}
/* Subtle Noise texture overlay */
.hero-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(99,102,241,0.12) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.035'/%3E%3C/g%3E%3C/svg%3E");
}
/* Hero 하단 은은한 보더 라인 */
.hero-section::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3) 50%, transparent);
  pointer-events: none;
}
.hero-section p:has(#hero-count:empty) {
  display: none;
  margin: 0;
}
/* ① 다크모드 히어로 배너 대비 및 시인성 개선 */
html.dark .hero-section,
.dark .hero-section {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html.dark .hero-section::before,
.dark .hero-section::before {
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 45%, rgba(99, 102, 241, 0.18) 0%, rgba(59, 130, 246, 0.08) 45%, transparent 75%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='40' cy='40' r='1.5' fill='%23ffffff' fill-opacity='0.035'/%3E%3C/g%3E%3C/svg%3E");
}

/* ── 라이트모드 히어로 배너 배경 및 텍스트 톤 개선 ────────── */
html:not(.dark) .hero-section,
.light .hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
html:not(.dark) .hero-section::before,
.light .hero-section::before {
  display: none !important;
}
html:not(.dark) .hero-section::after,
.light .hero-section::after {
  display: none !important;
}
html:not(.dark) .hero-title,
.light .hero-title {
  color: #0f172a !important; /* 선명한 다크 네이비 */
  font-weight: 900 !important;
  text-shadow: none !important;
}
html:not(.dark) .hero-title-badge,
.light .hero-title-badge {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-weight: inherit !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-left: 0.25em;
  filter: none !important;
}
html:not(.dark) .hero-sub,
.light .hero-sub {
  color: #475569 !important; /* text-slate-600 */
}
html:not(.dark) .search-input,
.light .search-input {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important; /* text-slate-800 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
html:not(.dark) .search-input::placeholder,
.light .search-input::placeholder {
  color: #94a3b8 !important; /* text-slate-400 */
}
html:not(.dark) .search-input:focus,
.light .search-input:focus {
  background: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12), 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
}
html:not(.dark) .search-icon,
.light .search-icon {
  color: #64748b !important; /* text-slate-500 */
}
html:not(.dark) .hero-section p:has(#hero-count),
.light .hero-section p:has(#hero-count),
html:not(.dark) #hero-count,
.light #hero-count {
  color: #64748b !important;
}

/* ── Social Proof Bar ──────────────────────────────────────── */
.proof-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.proof-bar::-webkit-scrollbar { display: none; }
/* ② 다크모드 정보 띠 배너: 단정하게 정돈된 캡슐 바(Bar) 스타일 */
html.dark .proof-bar,
.dark .proof-bar {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 9999px;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1.5rem !important; /* py-2 px-6 */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.proof-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--container-px); /* ① max-width 통일 */
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: nowrap; white-space: nowrap;
}
html.dark .proof-bar-inner,
.dark .proof-bar-inner {
  padding: 0 !important;
  max-width: 100%;
}
.proof-item {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0;
  font-size: 13.5px; font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
}
.proof-item-icon { font-size: 0.95rem; line-height: 1; }
.proof-item-text { color: #64748b; }
html.dark .proof-item-text,
.dark .proof-item-text { color: #e2e8f0 !important; /* text-slate-200 */ }
@media (max-width: 640px) {
  .proof-bar-inner { gap: 20px; }
  html.dark .proof-bar,
  .dark .proof-bar {
    border-radius: 12px;
    padding: 0.5rem 1rem !important;
  }
}
@media (max-width: 480px) {
  .proof-bar-inner { gap: 16px; justify-content: flex-start; }
  .proof-item { font-size: 12.5px; }
}

/* ── 라이트모드 정보 띠 배너: 둥근 라운드 캡슐 박스 디자인 통일 ── */
html:not(.dark) .proof-bar,
.light .proof-bar {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  width: fit-content;
  max-width: calc(100% - 2rem);
  margin-left: auto;
  margin-right: auto;
  padding: 8px 24px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #475569 !important;
}
html:not(.dark) .proof-bar-inner,
.light .proof-bar-inner {
  padding: 0 !important;
  max-width: 100%;
}
html:not(.dark) .proof-item,
.light .proof-item,
html:not(.dark) .proof-item-text,
.light .proof-item-text {
  color: #475569 !important; /* text-slate-600 */
}
@media (max-width: 640px) {
  html:not(.dark) .proof-bar,
  .light .proof-bar {
    border-radius: 12px !important;
    padding: 8px 16px !important;
  }
}

/* ── Clickable App Guide Badge in Social Proof Bar ── */
.proof-guide-btn {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 9999px;
  padding: 3px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.proof-guide-btn .proof-item-text {
  color: #4f46e5 !important;
  font-weight: 600;
}
.proof-guide-btn:hover {
  background: #6366f1 !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
.proof-guide-btn:hover .proof-item-text {
  color: #ffffff !important;
}
.proof-guide-btn:active {
  transform: translateY(0);
}

html.dark .proof-guide-btn,
.dark .proof-guide-btn {
  background: rgba(99, 102, 241, 0.2) !important;
  border: 1px solid rgba(165, 180, 252, 0.35) !important;
}
html.dark .proof-guide-btn .proof-item-text,
.dark .proof-guide-btn .proof-item-text {
  color: #c7d2fe !important;
}
html.dark .proof-guide-btn:hover,
.dark .proof-guide-btn:hover {
  background: #6366f1 !important;
  border-color: #818cf8 !important;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}
html.dark .proof-guide-btn:hover .proof-item-text,
.dark .proof-guide-btn:hover .proof-item-text {
  color: #ffffff !important;
}

.hero-title {
  font-size: 1.875rem; /* 30px (모바일: 28px ~ 32px / text-3xl) */
  font-weight: 900;    /* font-black (가장 굵은 웨이트 적용) */
  color: #ffffff;
  letter-spacing: -0.03em; /* tracking-tight로 단단하고 정갈하게 조임 */
  line-height: 1.25;
  margin: 0 auto 16px; /* 서브 설명문과의 여백 16px 균형 */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
  word-break: keep-all;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.875rem; /* 46px (PC 데스크톱: 44px ~ 48px / text-5xl) */
    line-height: 1.18;
    margin-bottom: 16px;
  }
}

/* ★ Hero Title Highlight Badge — 다크모드 발광 시안~블루 네온 그라데이션 */
.hero-title-badge {
  display: inline-block;
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: inherit;
  letter-spacing: inherit;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  margin-left: 0.25em;
  filter: drop-shadow(0 2px 14px rgba(56, 189, 248, 0.4));
}
.hero-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.5;
}

.search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0.68rem auto 0;              /* 간격 20% 압축 (0.85rem -> 0.68rem) */
}
.search-input {
  width: 100%;
  padding: 0.62rem 1rem 0.62rem 2.85rem; /* 높이 컴팩트화 (0.72rem -> 0.62rem) */
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  background: rgba(255, 255, 255, 0.08); /* 은은한 반투명 다크 글래스모피즘 */
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}
.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(99, 102, 241, 0.35);
}
.search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  width: 1.15rem;
  height: 1.15rem;
}

/* ── Category Tabs — Minimal Text Style ─────────────────── */
#category-filters {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0.1rem;
  margin-top: 0;
}
#category-filters::-webkit-scrollbar { display: none; }

.filter-btn {
  padding: 0.6rem 1rem;
  border: none; border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem; font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  margin-bottom: -1.5px; /* overlap the container border */
  font-family: inherit;
  letter-spacing: 0.01em;
}
.filter-btn:hover {
  color: var(--primary);
}
.filter-btn-active {
  color: var(--primary) !important;
  font-weight: 600;
  border-bottom-color: var(--primary) !important;
}
html.dark .filter-btn { color: var(--text-secondary); }
html.dark .filter-btn-active { color: var(--primary-light) !important; border-bottom-color: var(--primary-light) !important; }
html.dark .filter-btn:hover { color: var(--primary-light); }

/* ── App Grid ───────────────────────────────────────────── */
#app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.1rem;
}
@media (max-width: 640px) {
  #app-grid { grid-template-columns: 1fr; }
}

/* ── App Card — Contrast-enhanced ───────────────────────── */
.app-card {
  background-color: #ffffff !important;
  border-radius: var(--radius-card);
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  overflow: hidden;
  animation: fadeInUp 0.35s ease both;
}

/* ② Dark mode: 입체감 및 시인성 강화 */
html.dark .app-card,
.dark .app-card {
  background-color: #1a2234 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

/* ★ Hover: lift + refined shadow */
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: #94a3b8 !important;
}
html.dark .app-card:hover,
.dark .app-card:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background-color: #202b42 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6) !important;
}

.app-card-inner { padding: 1.1rem 1.15rem 1.1rem; display: flex; flex-direction: column; height: 100%; }

.app-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.14);
}

.app-card-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.app-card-desc {
  font-size: 0.825rem; color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 1rem; flex: 1;
}

/* ★ Category badge — muted monochromatic style */
.cat-badge {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.7rem; font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 0.375rem;
  letter-spacing: 0.02em;
  background: rgba(100,116,139,0.1);
  color: #475569;
  border: 1px solid rgba(100,116,139,0.15);
}
html.dark .cat-badge {
  background: rgba(148,163,184,0.1);
  color: #94a3b8;
  border-color: rgba(148,163,184,0.12);
}

/* ★ FREE / NEW / FEATURED badges — subtle */
.badge {
  font-size: 0.62rem; font-weight: 700; padding: 0.12rem 0.45rem;
  border-radius: 0.35rem; letter-spacing: 0.04em;
  display: inline-flex; align-items: center;
}
.badge-free {
  background: rgba(16,185,129,0.1); color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
}
.badge-new {
  background: rgba(245,158,11,0.1); color: #d97706;
  border: 1px solid rgba(245,158,11,0.2);
}
.badge-featured {
  background: rgba(99,102,241,0.1); color: #4f46e5;
  border: 1px solid rgba(99,102,241,0.25);
}
html.dark .badge-free     { background: rgba(16,185,129,0.12); color: #34d399; border-color: rgba(52,211,153,0.2); }
html.dark .badge-new      { background: rgba(245,158,11,0.12);  color: #fbbf24; border-color: rgba(251,191,36,0.2); }
html.dark .badge-featured { background: rgba(99,102,241,0.18);  color: #a5b4fc; border-color: rgba(165,180,252,0.3); }

/* Coming Soon Badge */
.badge-coming-soon {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.25);
}
html.dark .badge-coming-soon {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.25);
}

/* Coming Soon Card Style */
.app-card-coming-soon {
  opacity: 0.92;
  border: 1px solid #cbd5e1 !important;
  cursor: default;
  position: relative;
  background-color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}
.app-card-coming-soon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
  border-color: #94a3b8 !important;
}
html.dark .app-card-coming-soon,
.dark .app-card-coming-soon {
  background-color: #1a2234 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}
html.dark .app-card-coming-soon:hover,
.dark .app-card-coming-soon:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background-color: #202b42 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55) !important;
}

/* App Tags */
.app-tags-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
  margin-bottom: 0.85rem;
}
.app-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: #64748b;
  background: rgba(241, 245, 249, 0.9);
  padding: 0.12rem 0.45rem;
  border-radius: 0.35rem;
  border: 1px solid #e2e8f0;
  letter-spacing: 0.01em;
}
html.dark .app-tag {
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ★ Detail button — Deep Indigo brand color */
.detail-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.55rem 1rem;
  background: var(--primary);
  color: white; border: none; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  width: 100%;
  font-family: inherit;
  letter-spacing: 0.01em;
}
.detail-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.detail-btn:active {
  transform: translateY(0);
}

/* Disabled Coming Soon Button */
.detail-btn-coming-soon {
  background: #e2e8f0 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  border: 1px solid #cbd5e1 !important;
  opacity: 0.9;
}
.detail-btn-coming-soon:hover,
.detail-btn-coming-soon:active {
  background: #e2e8f0 !important;
  transform: none !important;
}
html.dark .detail-btn-coming-soon {
  background: rgba(30, 41, 59, 0.7) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.dark .detail-btn-coming-soon:hover,
html.dark .detail-btn-coming-soon:active {
  background: rgba(30, 41, 59, 0.7) !important;
  transform: none !important;
}

/* ── Ad Placeholder — 728x90 고정 규격 광고 컨테이너 ────────── */
.ad-placeholder-bottom {
  max-width: 728px;
  width: 100%;
  height: 90px;
  margin: 48px auto;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
html:not(.dark) .ad-placeholder-bottom {
  border: 1px dashed rgba(15, 23, 42, 0.15);
  background: rgba(15, 23, 42, 0.02);
}
html.dark .ad-placeholder-bottom {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
}
.ad-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.65;
}
@media (max-width: 768px) {
  .ad-placeholder-bottom {
    max-width: 320px;
    height: 50px;
    margin: 32px auto;
  }
}
/* legacy .ad-placeholder (카드 grid inline 대비) */
.ad-placeholder {
  background: var(--surface);
  border: 1.5px dashed rgba(100,116,139,0.22);
  border-radius: var(--radius-card);
  max-height: 90px; min-height: 56px;
  padding: 0.4rem 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
html.dark .ad-placeholder { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }

/* ── Modal ──────────────────────────────────────────────── */
#app-modal {
  position: fixed; inset: 0; z-index: 100;
  align-items: flex-end;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (min-width: 768px) {
  #app-modal { align-items: center; justify-content: flex-end; }
}

.modal-panel {
  background: var(--surface);
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
html.dark .modal-panel {
  background: #131929;
  border: 1px solid rgba(255,255,255,0.07);
}
@media (min-width: 768px) {
  .modal-panel {
    border-radius: 1.25rem 0 0 1.25rem;
    height: 100vh; max-height: 100vh;
    transform: translateX(100%);
  }
}
.modal-panel.modal-open { transform: translateY(0) !important; }
@media (min-width: 768px) {
  .modal-panel.modal-open { transform: translateX(0) !important; }
}

.modal-close-btn {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  background: rgba(0,0,0,0.32); color: white;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem; font-size: 0.78rem; cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition-fast);
}
.modal-close-btn:hover { background: rgba(0,0,0,0.55); }

.modal-hero {
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  position: relative;
}
.modal-hero-icon { font-size: 2.75rem; line-height: 1; }

.modal-body { padding: 1.25rem 1.5rem; }

.modal-section { margin-bottom: 1.6rem; }
.modal-section-title {
  font-size: 0.88rem; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--border);
  letter-spacing: 0.01em;
}

/* ── Modal Screenshot Showcase & Smartphone Mockup ───────── */
.modal-screenshot-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}
html.dark .modal-screenshot-showcase {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
}

.phone-device-frame {
  position: relative;
  width: 240px;
  height: 480px;
  background: #0b0f19;
  border: 7px solid #1e293b;
  border-radius: 36px;
  box-shadow:
    0 18px 42px -6px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
html.dark .phone-device-frame {
  border-color: #334155;
  box-shadow:
    0 20px 48px -6px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(0, 0, 0, 0.9);
}

.phone-device-speaker {
  position: absolute;
  top: 7px;
  width: 36px;
  height: 3.5px;
  background: #475569;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

.phone-device-camera {
  position: absolute;
  top: 14px;
  width: 7px;
  height: 7px;
  background: #0f172a;
  border: 1.5px solid #475569;
  border-radius: 50%;
  z-index: 10;
  pointer-events: none;
}

.phone-device-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #000000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  scrollbar-width: none;
}
.phone-device-screen::-webkit-scrollbar {
  display: none;
}

.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-device-home {
  position: absolute;
  bottom: 6px;
  width: 72px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

/* Gallery (for multiple screenshots) */
.gallery-container {
  position: relative; overflow: hidden; border-radius: 0.75rem;
  background: var(--surface-2);
}
html.dark .gallery-container { background: rgba(255,255,255,0.04); }
.gallery-track { display: flex; transition: transform 0.3s ease; will-change: transform; width: 100%; height: 100%; }
.gallery-img { width: 100%; flex-shrink: 0; object-fit: cover; max-height: 230px; border-radius: 0.75rem; }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: white;
  border: none; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; font-size: 1.3rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
  z-index: 15;
}
.gallery-btn:hover { background: rgba(0,0,0,0.75); }
.gallery-btn-prev { left: 0.5rem; }
.gallery-btn-next { right: 0.5rem; }
.gallery-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 0.4rem; z-index: 15; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background var(--transition-fast); }
.dot-active { background: #ffffff; }
html.dark .dot-active { background: #ffffff; }

/* ── No-screenshot Smartphone Mockup ─────────────────────── */
.no-screenshots {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--surface-2); border-radius: 0.75rem;
  min-height: 180px;
}
html.dark .no-screenshots { background: rgba(255,255,255,0.04); }

/* Smartphone mockup frame */
.phone-mockup {
  width: 88px; height: 148px;
  border: 3px solid #cbd5e1;
  border-radius: 16px;
  background: #f8fafc;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.6);
  overflow: hidden;
}
html.dark .phone-mockup {
  border-color: rgba(255,255,255,0.15);
  background: #1e293b;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-mockup-notch {
  width: 36px; height: 6px;
  background: #cbd5e1;
  border-radius: 0 0 4px 4px;
  margin-top: 8px; flex-shrink: 0;
}
html.dark .phone-mockup-notch { background: rgba(255,255,255,0.12); }
.phone-mockup-screen {
  flex: 1; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem;
}
.phone-mockup-icon { font-size: 1.8rem; }
.phone-mockup-btn {
  width: calc(100% - 16px); height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin: 0 8px 10px;
  flex-shrink: 0;
}
html.dark .phone-mockup-btn { background: rgba(255,255,255,0.1); }
.no-screenshots-label {
  margin-top: 0.85rem;
  font-size: 0.78rem; color: var(--text-secondary);
  text-align: center;
}

/* ── Play Store Download Button — Enhanced ──────────────── */
.play-store-btn {
  display: flex; justify-content: center;
  margin: 0.5rem 0 1.25rem;
}
.play-store-link {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #4f46e5;
  color: white;
  border-radius: 0.875rem;
  text-decoration: none;
  font-family: inherit;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.play-store-link:hover {
  background: #3730a3;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(79,70,229,0.4);
}
.play-store-link:active { transform: translateY(0); }
.play-store-link-icon {
  font-size: 1.4rem; flex-shrink: 0;
}
.play-store-link-text { text-align: left; line-height: 1.2; }
.play-store-link-sub {
  font-size: 0.62rem; font-weight: 400;
  opacity: 0.82; display: block; letter-spacing: 0.02em;
}
.play-store-link-main {
  font-size: 0.92rem; font-weight: 700;
  display: block; letter-spacing: -0.01em;
}
/* Legacy badge fallback */
.play-badge { height: 52px; border-radius: 0.5rem; transition: transform var(--transition-fast); }
.play-badge:hover { transform: scale(1.04); }

/* Guide box */
.guide-box {
  background: rgba(79,70,229,0.06);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm); padding: 1rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
html.dark .guide-box { background: rgba(79,70,229,0.1); border-left-color: var(--primary-light); }

/* Version table */
.version-table { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.version-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.55rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
}
.version-row:last-child { border-bottom: none; }
.version-key { color: var(--text-secondary); font-weight: 500; }
.version-val { color: var(--text-primary); font-weight: 600; }

/* ── Static Pages ───────────────────────────────────────── */
.static-page { max-width: 760px; margin: 0 auto; padding: 2.5rem 1rem; }
.static-page h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.static-page .page-sub { color: var(--text-secondary); margin-bottom: 2rem; }
.static-page-body { line-height: 1.8; color: #334155; }
html.dark .static-page-body { color: #cbd5e1; }

/* Contact cards */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 1.4rem;
  margin-bottom: 1.1rem;
  transition: box-shadow var(--transition-fast);
}
.contact-card:hover { box-shadow: var(--shadow-hover); }
html.dark .contact-card { background: rgba(255,255,255,0.04); }

.email-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  background: var(--primary);
  color: white; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.88rem; font-family: inherit;
  text-decoration: none; transition: background var(--transition-fast), transform var(--transition-fast);
}
.email-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #080d18;
  color: #94a3b8;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
html.dark .site-footer { background: #030712; }
.footer-container {
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 3.5rem;
  }
}
.footer-nav-btn {
  background: none; border: none; color: #64748b;
  font-size: 0.82rem; cursor: pointer; padding: 0.2rem 0;
  text-align: left; transition: color var(--transition-fast);
  font-family: inherit;
}
.footer-nav-btn:hover { color: #e2e8f0; }

/* ── Layout Utility — ① max-width 1240px 통일 ──────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--container-px); }
.hidden { display: none !important; }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
html.dark ::-webkit-scrollbar-thumb { background: #1e293b; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── App Guide Document Styling ──────────────────────────── */
.guide-doc-page {
  max-width: 820px;
}
.guide-lead-box {
  border-left: 4px solid #6366f1;
}
.guide-feature-list li,
.guide-steps-list li {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.guide-feature-list li:hover,
.guide-steps-list li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
html.dark .guide-feature-list li:hover,
html.dark .guide-steps-list li:hover {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* ── Guide Subtabs Bar ───────────────────────────────────── */
.guide-tabs-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}
.guide-tabs-container::-webkit-scrollbar {
  height: 4px;
}
.guide-tabs-container::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
}

.guide-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.9);
  color: #475569;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.guide-tab-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.guide-tab-btn:active {
  transform: translateY(0);
}

.guide-tab-btn.guide-tab-active {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
  color: #ffffff !important;
  border-color: #4338ca;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.32);
}
.guide-tab-btn.guide-tab-active .guide-tab-name {
  color: #ffffff !important;
}

.guide-tab-icon {
  font-size: 1.05rem;
  line-height: 1;
}
.guide-tab-name {
  line-height: 1;
}

.guide-tab-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.28);
  line-height: 1.3;
}
.guide-tab-active .guide-tab-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Dark mode for Guide Subtabs */
html.dark .guide-tab-btn,
.dark .guide-tab-btn {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.8);
  color: #94a3b8;
}
html.dark .guide-tab-btn:hover,
.dark .guide-tab-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #f8fafc;
  border-color: #64748b;
}
html.dark .guide-tab-btn.guide-tab-active,
.dark .guide-tab-btn.guide-tab-active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff !important;
  border-color: #6366f1;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.45);
}
html.dark .guide-tab-badge,
.dark .guide-tab-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}
html.dark .guide-tab-active .guide-tab-badge,
.dark .guide-tab-active .guide-tab-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ── Guide Coming Soon Card ──────────────────────────────── */
.guide-coming-soon-card {
  padding: 3rem 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  border: 1.5px dashed #cbd5e1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.65));
  backdrop-filter: blur(8px);
  margin-top: 1rem;
}
.guide-cs-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}
.guide-cs-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.guide-cs-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 1.25rem;
}
.guide-cs-notice {
  max-width: 520px;
  margin: 0 auto 2rem;
  font-size: 0.975rem;
  line-height: 1.65;
  color: #64748b;
}
.guide-cs-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.guide-cs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
  transition: all 0.2s ease;
}
.guide-cs-btn-primary:hover {
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}
.guide-cs-btn-primary:active {
  transform: translateY(0);
}
.guide-cs-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-radius: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #475569;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.guide-cs-btn-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-1px);
}
.guide-cs-btn-secondary:active {
  transform: translateY(0);
}

/* Dark mode for Coming Soon Card */
html.dark .guide-coming-soon-card,
.dark .guide-coming-soon-card {
  border-color: rgba(71, 85, 105, 0.6);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.5), rgba(15, 23, 42, 0.65));
}
html.dark .guide-cs-icon-wrap,
.dark .guide-cs-icon-wrap {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.15));
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
html.dark .guide-cs-badge,
.dark .guide-cs-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}
html.dark .guide-cs-notice,
.dark .guide-cs-notice {
  color: #94a3b8;
}
html.dark .guide-cs-btn-secondary,
.dark .guide-cs-btn-secondary {
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.8);
  border-color: #475569;
}
html.dark .guide-cs-btn-secondary:hover,
.dark .guide-cs-btn-secondary:hover {
  background: #334155;
  color: #ffffff;
  border-color: #64748b;
}

/* Smooth fade-in */
.animate-fadeIn {
  animation: fadeInQuick 0.25s ease forwards;
}
@keyframes fadeInQuick {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
