/* =============================================================
   Victor Ndunda — Guide Article Styles
   Shared across all 8 "How to Use AI" guide articles
   ============================================================= */

.guide-body { max-width: 780px; margin: 0 auto; padding: 8rem 2rem 4rem; font-size: 1.0625rem; line-height: 1.8; color: var(--text); }

.guide-meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.guide-meta .cat-badge { display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.25rem 0.625rem; border-radius: 4px; background: rgba(0,212,255,0.1); color: var(--accent); }
.guide-meta .cat-badge.Sector { background: rgba(16,185,129,0.1); color: #10b981; }
.guide-meta .cat-badge.Intermediate { background: rgba(245,158,11,0.1); color: #f59e0b; }
.guide-meta .cat-badge.Builder { background: rgba(168,85,247,0.1); color: var(--accent-2); }
.guide-meta .duration { font-family: 'JetBrains Mono', monospace; }
.guide-meta .audience { color: var(--text-dim); }

.guide-body h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.2; margin-bottom: 1rem; }
.guide-body .lead { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.7; }
.guide-body h2 { font-size: 1.5rem; margin-top: 3rem; margin-bottom: 1rem; color: var(--accent); }
.guide-body h3 { font-size: 1.1875rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.guide-body h4 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; font-weight: 700; }
.guide-body p { margin-bottom: 1.5rem; color: var(--text-muted); }
.guide-body p strong { color: var(--text); }
.guide-body ul, .guide-body ol { margin-bottom: 1.5rem; color: var(--text-muted); padding-left: 1.5rem; }
.guide-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.guide-body li strong { color: var(--text); }

.guide-body code { font-family: 'JetBrains Mono', monospace; font-size: 0.875em; padding: 0.15rem 0.4rem; border-radius: 4px; background: var(--glass); border: 1px solid var(--border); color: var(--accent); }
.guide-body pre { padding: 1.5rem; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--border); overflow-x: auto; margin-bottom: 1.5rem; }
.guide-body pre code { padding: 0; border: none; background: none; color: var(--text); font-size: 0.8125rem; line-height: 1.6; display: block; }

.guide-body blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--accent); background: var(--glass); border-radius: 0 8px 8px 0; font-style: italic; color: var(--text); }
.guide-body blockquote p { margin-bottom: 0; color: var(--text); }

.guide-body table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: 0.875rem; }
.guide-body th { text-align: left; padding: 0.75rem 1rem; font-weight: 600; color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--border); }
.guide-body td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-muted); }
.guide-body tr:last-child td { border-bottom: none; }
.guide-body tr:hover td { background: rgba(255,255,255,0.02); }

/* Callout boxes */
.callout { margin: 2rem 0; padding: 1.25rem 1.5rem; border-radius: 12px; border: 1px solid var(--border); }
.callout-title { font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.callout.tip { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.2); }
.callout.tip .callout-title { color: #10b981; }
.callout.warning { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.2); }
.callout.warning .callout-title { color: #f59e0b; }
.callout.danger { background: rgba(239,68,68,0.05); border-color: rgba(239,68,68,0.2); }
.callout.danger .callout-title { color: #ef4444; }
.callout.info { background: rgba(0,212,255,0.05); border-color: rgba(0,212,255,0.2); }
.callout.info .callout-title { color: var(--accent); }
.callout p:last-child { margin-bottom: 0; }

/* Prompt example cards */
.prompt-card { margin: 1.5rem 0; padding: 1.25rem; border-radius: 12px; background: var(--bg-elev); border: 1px solid var(--border); }
.prompt-card .prompt-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.5rem; }
.prompt-card .prompt-before { color: var(--text-dim); font-style: italic; margin-bottom: 0.75rem; padding: 0.5rem; background: rgba(239,68,68,0.05); border-radius: 6px; border-left: 2px solid #ef4444; }
.prompt-card .prompt-after { color: var(--text); padding: 0.5rem; background: rgba(16,185,129,0.05); border-radius: 6px; border-left: 2px solid #10b981; font-family: 'JetBrains Mono', monospace; font-size: 0.8125rem; line-height: 1.6; }

/* Before/after comparison */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.before-after .ba-col { padding: 1rem; border-radius: 10px; }
.before-after .ba-before { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.2); }
.before-after .ba-after { background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.2); }
.before-after .ba-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.before-after .ba-before .ba-label { color: #ef4444; }
.before-after .ba-after .ba-label { color: #10b981; }
.before-after .ba-content { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 600px) { .before-after { grid-template-columns: 1fr; } }

/* CTA at bottom of article */
.guide-cta { margin-top: 3rem; padding: 2rem; border-radius: 16px; background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(168,85,247,0.08)); border: 1px solid rgba(0,212,255,0.2); text-align: center; }
.guide-cta h3 { margin-top: 0; color: var(--text); }
.guide-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }
.guide-cta .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 10px; font-weight: 600; font-size: 0.9375rem; text-decoration: none; transition: all 0.2s; }
.guide-cta .btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: none; }
.guide-cta .btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--glow); color: #fff; }
.guide-cta .btn.ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); margin-left: 0.5rem; }
.guide-cta .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Article nav (prev/next) */
.guide-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.guide-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.guide-nav a:hover { color: var(--accent); }
.guide-nav .nav-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); display: block; margin-bottom: 0.25rem; }

/* Source citations */
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.sources h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 0.75rem; }
.sources ul { list-style: none; padding: 0; margin: 0; font-size: 0.75rem; color: var(--text-dim); }
.sources li { margin-bottom: 0.25rem; line-height: 1.5; }
.sources a { color: var(--text-muted); text-decoration: underline; }

/* Pricing disclaimer */
.price-disclaimer { font-size: 0.75rem; color: var(--text-dim); font-style: italic; margin-top: 0.5rem; }
