@import './tokens.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* 유틸 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-live   { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-soon   { background: rgba(251,191,36,0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.badge-mobile { background: rgba(99,102,241,0.15);  color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }

/* 공통 섹션 */
.section { padding: 80px 0; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.section-sub   { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; }

/* 코드 블록 */
.code-block {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #a5f3fc;
  overflow-x: auto;
  line-height: 1.7;
}
.code-block .comment { color: #475569; }
.code-block .cmd     { color: #34d399; }
.code-block .url     { color: #f472b6; }

/* 스텝 */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.step-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-grad); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.step-body h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-body p  { font-size: 14px; color: var(--text-muted); }

/* 모바일 프레임 */
.phone-frame {
  width: 240px; height: 480px;
  border-radius: 32px;
  border: 2px solid var(--border);
  background: #0f172a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #000; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen { width: 100%; height: 100%; overflow: hidden; }
