/* ===== PUREBLOG THEME - CORE SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;700;800;900&display=swap');

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

:root {
    --color-bg: #f9fafb;
    --color-bg-card: #ffffff;
    --color-text-main: #111827;
    --color-text-muted: #6b7280;
    --color-text-light: #4b5563;
    --color-cyan: #0284c7;
    --color-purple: #7c3aed;
    --color-pink: #FF2E93;
    --color-gold: #FFB800;
    --color-green: #10B981;
    --font-body: 'Inter', sans-serif;
    --font-headings: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-purple) 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(2,132,199,0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(2,132,199,0.4), 0 0 25px rgba(124,58,237,0.3);
}

/* Footer */
footer { background: #f3f4f6; padding: 40px 0 30px; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 80px; }

/* ===== PUREBLOG THEME - ARTICLE/GUIDE STYLES ===== */
body { background-color: var(--color-bg); color: var(--color-text-main); }
.guide-header { padding: 120px 20px 60px; text-align: center; background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%); border-bottom: 1px solid rgba(0,0,0,0.05); }
.guide-title { font-family: var(--font-headings); font-size: 3rem; margin-bottom: 20px; line-height: 1.2; color: #111827; }
.guide-meta { display: flex; justify-content: center; gap: 20px; color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 30px; flex-wrap: wrap; }
.guide-meta span { display: flex; align-items: center; gap: 8px; }
.author-badge { background: rgba(2, 132, 199, 0.1); border: 1px solid rgba(2, 132, 199, 0.2); padding: 5px 15px; border-radius: 20px; color: var(--color-cyan); font-weight: 600; }

.guide-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 50px; padding: 60px 20px; align-items: start; }
@media (max-width: 992px) { .guide-container { grid-template-columns: 1fr; padding: 40px 20px; } }

/* Table of Contents (Sticky) */
.toc { position: sticky; top: 100px; background: #ffffff; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; padding: 25px; backdrop-filter: blur(10px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); }
.toc h3 { font-size: 1.2rem; margin-bottom: 15px; font-family: var(--font-headings); color: #111827; }
.toc ul { list-style: none; padding: 0; margin: 0; max-height: 70vh; overflow-y: auto; }
.toc ul::-webkit-scrollbar { width: 5px; }
.toc ul::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
.toc li { margin-bottom: 10px; }
.toc a { color: var(--color-text-light); text-decoration: none; font-size: 0.9rem; transition: 0.3s; display: block; }
.toc a:hover { color: var(--color-cyan); transform: translateX(5px); }

/* Content Area */
.guide-content { font-size: 1.1rem; line-height: 1.8; color: var(--color-text-light); padding-bottom: 80px; }
.guide-content h2 { font-family: var(--font-headings); font-size: 2.2rem; color: #111827; margin: 60px 0 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); position: relative; scroll-margin-top: 100px; }
.guide-content h2::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background: var(--color-cyan); }
.guide-content h3 { font-family: var(--font-headings); font-size: 1.5rem; color: #111827; margin: 40px 0 20px; }
.guide-content p { margin-bottom: 20px; }
.guide-content ul { margin-bottom: 25px; padding-left: 20px; }
.guide-content li { margin-bottom: 10px; }

/* Rich Elements */
.expert-tip { background: rgba(2, 132, 199, 0.05); border-left: 4px solid var(--color-cyan); padding: 20px 25px; border-radius: 0 8px 8px 0; margin: 30px 0; position: relative; }
.expert-tip::before { content: '\f0eb'; font-family: 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 20px; right: 20px; color: rgba(2,132,199,0.2); font-size: 2rem; }

/* Reading Progress */
.progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: transparent; z-index: 10000; }
.progress-bar { height: 4px; background: var(--color-cyan); width: 0%; box-shadow: 0 0 10px var(--color-cyan); }

/* Massive CTA */
.guide-cta { background: linear-gradient(135deg, rgba(243,244,246,0.8), rgba(2,132,199,0.05)); border: 1px solid rgba(2,132,199,0.2); border-radius: 20px; padding: 50px 30px; text-align: center; margin-top: 60px; }
.guide-cta h3 { font-size: 2rem; color: #111827; margin-bottom: 20px; }

/* FAQ Grid */
.faq-grid { display: grid; gap: 15px; margin-top: 30px; }
.faq-item { background: #ffffff; border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px; background: none; border: none; color: #111827; font-weight: 600; font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.3s ease; color: var(--color-text-light); }
.faq-answer p { margin-bottom: 20px; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }

/* ===== PUREBLOG THEME - NAVIGATION ===== */
.main-nav { display: flex; gap: 25px; align-items: center; }
@media(max-width:1024px){
  .header-cta-btn { display: none !important; }
  .main-nav { display: none !important; position: absolute; top: 100%; left: 0; right: 0; background: rgba(248,249,252,0.98); flex-direction: column !important; padding: 20px; border-bottom: 1px solid rgba(0,0,0,0.08); backdrop-filter: blur(20px); gap: 20px !important; align-items: flex-start !important; }
  .main-nav.active { display: flex !important; }
  .hamburger-btn { display: block !important; }
}
.hamburger-btn { display: none; background: none; border: none; color: inherit; font-size: 2rem; cursor: pointer; padding: 0 10px; line-height: 1; }
