/* ============================================
   Advanced Section - JustAddAI Theme
   Shared styles for all Advanced pages
   ============================================ */

:root {
    --warm-cream: #FDF8F3;
    --bg-secondary: #F5EDE3;
    --bg-card: #ffffff;
    --bg-elevated: #f0ebe4;

    --forest-green: #2D4A3E;
    --deep-sage: #5B7B6D;
    --faith-gold: #D4AF37;
    --soft-gold: #E8D5B7;
    --rich-amber: #C4956A;
    --warm-brown: #6B4E3D;
    --soft-coral: #E8B4A0;
    --hope-green: #4A7C59;

    --text-primary: #3D3229;
    --text-secondary: #5A4D42;
    --text-muted: #8a7e73;

    --accent: #2D4A3E;
    --accent-hover: #234035;
    --accent-glow: rgba(45, 74, 62, 0.1);
    --accent-success: #4A7C59;
    --accent-danger: #b05050;

    --border: rgba(232, 213, 183, 0.5);
    --border-subtle: rgba(232, 213, 183, 0.3);

    --shadow-sm: 0 2px 8px rgba(107, 78, 61, 0.05);
    --shadow-md: 0 10px 40px rgba(107, 78, 61, 0.08);
    --shadow-lg: 0 20px 50px rgba(107, 78, 61, 0.12);
    --shadow-card: 0 4px 20px rgba(107, 78, 61, 0.06);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --transition: 200ms ease;
}

/* ============================================
   Reset & Base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
    font-family: 'Source Sans Pro', Georgia, serif;
    background: var(--warm-cream);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
    font-size: 18px;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    background: var(--forest-green);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--warm-cream);
    text-decoration: none;
}
.nav-brand span { color: var(--faith-gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: rgba(253, 248, 243, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--faith-gold); }

.nav-icon-btn {
    background: none;
    border: none;
    color: rgba(253, 248, 243, 0.7);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}
.nav-icon-btn:hover {
    color: var(--faith-gold);
    background: rgba(253, 248, 243, 0.1);
}

/* ============================================
   Hero
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--deep-sage) 0%, var(--forest-green) 100%);
    text-align: center;
    padding: 50px 30px 45px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.page-tag {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 18px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.hero-message {
    font-size: 1.15rem;
    color: rgba(253, 248, 243, 0.85);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
    max-width: 1000px;
    margin: 0 auto;
    padding: 14px 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .bc-sep { color: var(--text-muted); opacity: 0.5; }
.breadcrumb .bc-current { color: var(--text-secondary); font-weight: 600; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary { background: var(--forest-green); color: white; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary { background: var(--bg-elevated); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }

.btn-small { padding: 6px 12px; font-size: 0.82rem; }
.btn-danger { background: var(--accent-danger); color: white; }

.btn-icon {
    width: 36px; height: 36px; padding: 0;
    background: transparent; border: none;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted); cursor: pointer;
    transition: var(--transition);
}
.btn-icon:hover { background: var(--accent-glow); color: var(--accent); }

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--forest-green);
    color: var(--warm-cream);
    padding: 40px 30px;
    text-align: center;
}

.footer-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 6px;
    color: var(--faith-gold);
}
.footer-tagline {
    opacity: 0.8;
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(253, 248, 243, 0.9);
}

.footer-nav {
    padding-top: 16px;
    border-top: 1px solid rgba(253, 248, 243, 0.15);
}
.footer-nav a {
    color: rgba(253, 248, 243, 0.7);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--faith-gold); }

/* ============================================
   Topics Grid (Landing Page)
   ============================================ */

.topics-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 48px 30px 60px;
}

.topics-section-title {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.topic-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--faith-gold), var(--rich-amber));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.topic-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}
.topic-card:hover::before { opacity: 1; }

.topic-card-icon {
    width: 48px; height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}

.topic-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}
.topic-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.topic-card-arrow {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.topic-card:hover .topic-card-arrow { opacity: 1; }

/* ============================================
   Document Content (Guide Pages)
   ============================================ */

.doc-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px 60px;
    display: flex;
    gap: 48px;
}

/* Table of Contents */
.toc {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
    align-self: flex-start;
    padding-top: 32px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.toc-title {
    font-family: 'Caveat', cursive;
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.toc-list a {
    display: block;
    padding: 6px 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s ease;
    line-height: 1.4;
}
.toc-list a:hover { color: var(--text-primary); background: var(--accent-glow); }
.toc-list a.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background: var(--accent-glow);
    font-weight: 600;
}

/* Main content area */
.doc-content {
    flex: 1;
    min-width: 0;
    padding-top: 32px;
}

.doc-section {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
}

.doc-section > h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-subtle);
}

.doc-section > h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 12px;
}

.doc-section p {
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.doc-section p strong { color: var(--text-primary); }

.doc-section ul, .doc-section ol {
    margin-bottom: 14px;
    padding-left: 24px;
}
.doc-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* ============================================
   Architecture Flow Diagram
   ============================================ */

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    min-width: 160px;
    max-width: 200px;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

.arch-card-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--forest-green);
}

.arch-card-icon.cloud {
    background: rgba(137, 180, 200, 0.15);
    color: var(--sky-blue);
}

.arch-card-icon.server {
    background: rgba(212, 175, 55, 0.12);
    color: var(--faith-gold);
}

.arch-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.arch-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.arch-card-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: 12px;
}

.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.arch-arrow span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arch-caption {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

@media (max-width: 700px) {
    .arch-flow {
        flex-direction: column;
        gap: 8px;
    }
    .arch-card {
        max-width: 280px;
        width: 100%;
    }
    .arch-arrow {
        transform: rotate(90deg);
        margin: 4px 0;
    }
}

/* ============================================
   Prerequisites Checklist
   ============================================ */

.prereq-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.prereq-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.prereq-check {
    width: 22px; height: 22px;
    border: 2px solid var(--accent-success);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--accent-success);
    margin-top: 1px;
}
.prereq-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.prereq-item a:hover { text-decoration: underline; }

/* ============================================
   Download Cards
   ============================================ */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.download-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}
.download-card.featured {
    border-color: var(--faith-gold);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.04), var(--bg-card));
}
.download-card.featured:hover { border-color: var(--accent); }

.download-card-icon {
    width: 44px; height: 44px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
}
.download-card.featured .download-card-icon {
    background: rgba(212, 175, 55, 0.12);
    color: var(--faith-gold);
}

.download-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.download-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.download-card .file-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ============================================
   Step Cards
   ============================================ */

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.step-number {
    width: 28px; height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}
.step-body {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.step-body p { margin-bottom: 8px; }

/* ============================================
   Code Blocks
   ============================================ */

.code-block {
    position: relative;
    background: #1e293b;
    border-radius: var(--radius-sm);
    margin: 12px 0 16px;
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: rgba(0,0,0,0.2);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    font-family: 'JetBrains Mono', monospace;
}
.code-copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Source Sans Pro', sans-serif;
}
.code-copy-btn:hover { background: rgba(255,255,255,0.2); color: white; }
.code-copy-btn.copied { color: #4ade80; }

.code-block pre {
    padding: 16px;
    overflow-x: auto;
    margin: 0;
}
.code-block code {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #e2e8f0;
}

/* Inline code */
.doc-section code:not(.code-block code) {
    background: var(--bg-elevated);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 0.82em;
    color: var(--forest-green);
    border: 1px solid var(--border-subtle);
}

/* ============================================
   Info & Warning Boxes
   ============================================ */

.info-box, .warning-box {
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 0.88rem;
    line-height: 1.6;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.info-box {
    background: rgba(45, 74, 62, 0.06);
    border: 1px solid rgba(45, 74, 62, 0.15);
    color: var(--text-secondary);
}

.warning-box {
    background: rgba(176, 80, 80, 0.06);
    border: 1px solid rgba(176, 80, 80, 0.15);
    color: var(--text-secondary);
}

.info-box-icon, .warning-box-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}
.info-box-icon { color: var(--accent); }
.warning-box-icon { color: var(--accent-danger); }

/* ============================================
   Feature Grid
   ============================================ */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.feature-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.feature-card h4 .feature-icon { color: var(--accent); flex-shrink: 0; }
.feature-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   Accordion (Troubleshooting)
   ============================================ */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 24px;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-card);
}

.accordion-trigger {
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--accent-glow); }

.accordion-arrow {
    transition: transform 0.2s;
    color: var(--text-muted);
    flex-shrink: 0;
}
.accordion-item.open .accordion-arrow { transform: rotate(180deg); }

.accordion-body {
    display: none;
    padding: 0 18px 16px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.accordion-item.open .accordion-body { display: block; }

/* ============================================
   Section Divider
   ============================================ */

.section-divider {
    border: none;
    height: 1px;
    background: var(--border-subtle);
    margin: 32px 0;
}

/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    font-size: 0.88rem;
    max-width: 320px;
    animation: slideInRight 0.3s ease;
}
.toast.success { border-left: 3px solid var(--accent-success); }
.toast.error { border-left: 3px solid var(--accent-danger); }

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .hero { padding: 40px 20px 35px; }
    .hero h1 { font-size: 2rem; }
    .hero-message { font-size: 1rem; }

    .nav-links { gap: 12px; }
    .nav-links a { font-size: 0.85rem; }

    .footer { padding: 30px 20px; }
    .topics-section { padding: 32px 20px 40px; }
    .topics-grid { grid-template-columns: 1fr; }

    /* Doc layout collapses to single column */
    .doc-layout { flex-direction: column; padding: 0 20px 40px; gap: 0; }
    .toc {
        position: relative;
        top: auto;
        width: 100%;
        padding: 20px 0 0;
        max-height: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 16px;
        margin-bottom: 8px;
    }
    .toc-list { flex-direction: row; flex-wrap: wrap; gap: 4px; }
    .toc-list a { border-left: none; border-bottom: 2px solid transparent; border-radius: 4px 4px 0 0; padding: 6px 10px; font-size: 0.78rem; }
    .toc-list a.active { border-left: none; border-bottom-color: var(--accent); }

    .doc-content { padding-top: 20px; }
    .download-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .download-grid { grid-template-columns: 1fr; }
    .toc-list a { font-size: 0.72rem; padding: 5px 8px; }
}

/* ============================================
   CTA Banner
   ============================================ */

.cta-banner {
    background: var(--forest-green);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    margin-bottom: 32px;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--faith-gold);
    color: var(--forest-green);
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all var(--transition);
}
.cta-btn:hover {
    background: #c9a02c;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-btn { width: 100%; justify-content: center; }
}
