*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0f1117; --bg2: #1a1d27; --bg3: #22263a;
  --accent: #6366f1; --accent2: #818cf8;
  --text: #e2e8f0; --muted: #94a3b8; --border: #2d3148;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0 24px; display: flex; align-items: center; height: 60px; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--accent2); letter-spacing: -.02em; }
.logo span { color: var(--text); }
.container { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent2); }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.meta { font-size: .82rem; color: var(--muted); margin-bottom: 32px; display: flex; gap: 16px; flex-wrap: wrap; }
.meta span::before { content: '· '; }
.meta span:first-child::before { content: ''; }
.article-body h2 { font-size: 1.3rem; font-weight: 700; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--accent2); }
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin: 24px 0 8px; }
.article-body p { margin-bottom: 16px; color: #cbd5e1; }
.article-body ul, .article-body ol { margin: 0 0 16px 24px; color: #cbd5e1; }
.article-body li { margin-bottom: 6px; }
.article-body code { font-family: monospace; background: var(--bg3); padding: 2px 6px; border-radius: 4px; font-size: .88em; color: var(--accent2); }
.article-body pre { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 16px; overflow-x: auto; margin-bottom: 20px; }
.article-body pre code { background: none; padding: 0; color: var(--text); }
.cta-box { background: linear-gradient(135deg, #6366f120, #818cf810); border: 1.5px solid var(--accent); border-radius: 14px; padding: 24px 28px; margin: 40px 0; text-align: center; }
.cta-box h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cta-box p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.btn-cta { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; padding: 12px 28px; border-radius: 999px; font-size: .95rem; transition: opacity .2s; }
.btn-cta:hover { opacity: .85; text-decoration: none; }
.faq { margin: 40px 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 700; margin-bottom: 6px; }
.faq-a { color: var(--muted); font-size: .9rem; }
.related-articles { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.related-articles h2 { font-size: 1rem; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.related-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: .88rem; font-weight: 600; transition: border-color .2s; }
.related-card:hover { border-color: var(--accent); text-decoration: none; }
footer { text-align: center; padding: 32px 24px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--border); }
