/* public/assets/css/system/web-unlocker.css */

.unlock-wrapper { padding: 32px; border-radius: var(--radius-lg); position: relative; }
.unlock-header { text-align: center; margin-bottom: 40px; }
.unlock-title { font-size: 2.2rem; font-weight: 800; color: var(--text-main); margin-bottom: 12px; letter-spacing: -0.5px; }
.unlock-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; line-height: 1.6; }

.unlock-workspace { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }

/* 安装向导卡片 */
.unlock-guide-box { background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: 16px; padding: 32px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 32px; }

.guide-step { display: flex; gap: 24px; align-items: flex-start; }
.step-badge { flex-shrink: 0; width: 48px; height: 48px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: 900; box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3); }

.step-content { flex: 1; }
.step-content h3 { font-size: 1.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 8px; }
.step-content p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

/* 发光的拖拽书签按钮 */
.drag-zone { background: rgba(16, 185, 129, 0.05); border: 2px dashed rgba(16, 185, 129, 0.3); border-radius: 12px; padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: 0.3s; }
.drag-zone:hover { background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.5); }

.bookmarklet-btn { display: inline-block; padding: 16px 40px; font-size: 1.2rem; font-weight: 800; background: linear-gradient(to right, #10b981, #047857); color: #fff !important; text-decoration: none !important; border-radius: 40px; cursor: grab; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3); transition: 0.2s; border: 2px solid #34d399; }
.bookmarklet-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4); }
.bookmarklet-btn:active { cursor: grabbing; transform: scale(0.95); }
.drag-hint { margin-top: 12px; color: #10b981; font-weight: 700; font-family: monospace; animation: bounce 2s infinite; }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* 极客源代码区 */
.unlock-code-zone { background: #0f172a; border-radius: 16px; border: 1px solid #334155; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.code-header { display: flex; justify-content: space-between; align-items: center; background: #1e293b; padding: 12px 20px; border-bottom: 1px solid #334155; }
.code-title { color: #94a3b8; font-weight: 700; font-size: 0.9rem; }
.btn-copy-code { background: transparent; color: #38bdf8; border: 1px solid #38bdf8; padding: 6px 16px; border-radius: 4px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: 0.2s; }
.btn-copy-code:hover { background: #38bdf8; color: #0f172a; }

.code-editor-wrap { padding: 16px 20px; overflow-x: auto; }
.code-editor-wrap pre { margin: 0; }
.code-editor-wrap code { font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; color: #f8fafc; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }

/* SEO 信息卡片 */
.unlock-info-card { background: var(--bg-surface); padding: 24px; border-radius: 16px; border: 1px solid var(--border-color); max-width: 900px; margin: 0 auto; box-sizing: border-box; }

@media (max-width: 768px) {
    .guide-step { flex-direction: column; gap: 16px; }
    .step-badge { width: 40px; height: 40px; font-size: 1.2rem; }
    .drag-zone { padding: 24px 16px; }
    .bookmarklet-btn { font-size: 1rem; padding: 12px 24px; }
}