/* ============================================================
   ADOPTED BY GRACE — Global Design System v2
   Mega-menu nav, aggressive design, evolving elegance.
   ============================================================ */

/* ===== RESET & TOKENS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg-deep: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --accent-gold: #d4a254;
    --accent-ember: #e8642c;
    --accent-violet: #8b5cf6;
    --text-primary: #f0ece4;
    --text-secondary: #9a958c;
    --text-muted: #5a5650;
    --border-subtle: rgba(212, 162, 84, 0.12);
    --glow-gold: rgba(212, 162, 84, 0.15);
    --glow-violet: rgba(139, 92, 246, 0.1);
    --nav-bg: rgba(10, 10, 15, 0.88);
    --dropdown-bg: rgba(14, 14, 22, 0.97);
}
html { scroll-behavior: smooth; }
body { background: var(--bg-deep); color: var(--text-primary); font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-text-size-adjust: 100%; }

/* ===== NAVIGATION — MEGA MENU ===== */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--nav-bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(212, 162, 84, 0.08); transition: background 0.4s ease; }
nav.scrolled { background: rgba(10, 10, 15, 0.95); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; height: 56px; }

/* Logo — compact, elegant */
.logo { font-family: 'Playfair Display', serif; font-size: 0.85rem; font-weight: 700; background: linear-gradient(135deg, var(--accent-gold), var(--accent-ember)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 0.15em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }

/* Top-level nav links */
.nav-links { display: flex; gap: 0; list-style: none; height: 56px; align-items: stretch; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a,
.nav-links > li > .nav-trigger { 
    text-decoration: none; color: var(--text-secondary); font-size: 0.82rem; font-weight: 600; 
    letter-spacing: 0.04em; text-transform: uppercase; padding: 0 0.9rem; height: 56px; 
    display: flex; align-items: center; gap: 0.3rem; transition: color 0.25s ease; 
    cursor: pointer; background: none; border: none; font-family: inherit;
    position: relative;
}
.nav-links > li > a::after,
.nav-links > li > .nav-trigger::after {
    content: ''; position: absolute; bottom: 0; left: 0.9rem; right: 0.9rem; height: 2px;
    background: var(--accent-gold); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: center;
}
.nav-links > li:hover > a,
.nav-links > li:hover > .nav-trigger,
.nav-links > li > a.active { color: var(--accent-gold); }
.nav-links > li:hover > a::after,
.nav-links > li:hover > .nav-trigger::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

/* Dropdown arrow */
.nav-arrow { font-size: 0.55rem; transition: transform 0.3s ease; opacity: 0.5; }
.nav-links > li:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* Dropdown panel */
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 220px; 
    background: var(--dropdown-bg); border: 1px solid var(--border-subtle); border-radius: 8px; 
    padding: 0.6rem 0; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px); 
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav-links > li:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.nav-dropdown a { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 1.3rem; 
    color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; font-weight: 500;
    transition: all 0.2s ease; border-left: 2px solid transparent;
}
.nav-dropdown a:hover { color: var(--accent-gold); background: rgba(212, 162, 84, 0.05); border-left-color: var(--accent-gold); padding-left: 1.5rem; }
.nav-dropdown .dropdown-label { font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; color: var(--text-muted); 
    text-transform: uppercase; letter-spacing: 0.15em; padding: 0.8rem 1.3rem 0.3rem; display: block; }
.nav-dropdown .dropdown-divider { height: 1px; background: var(--border-subtle); margin: 0.4rem 1rem; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; z-index: 1001; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--accent-gold); margin: 4px 0; transition: all 0.3s ease; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: 3.2rem; font-weight: 900; }
h2 { font-size: 2.4rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; padding: 9rem 2rem 4rem; text-align: center; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(212, 162, 84, 0.05) 0%, rgba(139, 92, 246, 0.03) 40%, transparent 70%); border-radius: 50%; pointer-events: none; animation: pulseGlow 6s ease-in-out infinite; }
@keyframes pulseGlow { 0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } }
.page-hero .eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.35em; color: var(--accent-ember); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero h1 { position: relative; z-index: 1; max-width: 800px; margin: 0 auto 1.5rem; }
.page-hero h1 .gold { background: linear-gradient(135deg, var(--accent-gold), var(--accent-ember)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero .subtitle { color: var(--text-secondary); font-size: 1.15rem; max-width: 650px; margin: 0 auto; line-height: 1.8; position: relative; z-index: 1; }

/* ===== SECTION DIVIDERS ===== */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--accent-gold), transparent); opacity: 0.2; margin: 0; border: none; }

/* ===== CONTENT SECTIONS ===== */
.content-section { max-width: 850px; margin: 0 auto; padding: 4rem 2rem; }
.content-section h2 { margin-bottom: 1.5rem; }
.content-section h3 { margin-top: 2.5rem; margin-bottom: 1rem; color: var(--accent-gold); }
.content-section p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.5rem; }
.content-section p strong { color: var(--text-primary); font-weight: 600; }
.content-section a { color: var(--accent-gold); text-decoration: none; border-bottom: 1px solid rgba(212, 162, 84, 0.3); transition: all 0.3s ease; }
.content-section a:hover { color: var(--accent-ember); border-color: var(--accent-ember); }

/* ===== BLOCKQUOTES (Scripture) ===== */
blockquote, .scripture-block { background: linear-gradient(135deg, rgba(139, 92, 246, 0.04), rgba(232, 100, 44, 0.04)); border-left: 4px solid var(--accent-gold); border-radius: 0 8px 8px 0; padding: 1.8rem 2rem; margin: 2rem 0; position: relative; overflow: hidden; }
blockquote::after { content: '\201D'; position: absolute; top: -10px; right: 20px; font-size: 8rem; font-family: 'Playfair Display', serif; color: rgba(212, 162, 84, 0.06); pointer-events: none; }
blockquote p, .scripture-block p { font-style: italic; color: var(--text-primary); line-height: 1.9; font-size: 1.1rem; margin-bottom: 0; }
blockquote cite, .scripture-ref { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--accent-gold); letter-spacing: 0.1em; font-style: normal; display: block; margin-top: 0.8rem; }

/* ===== CARDS ===== */
.card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 2rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-ember)); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.card:hover { transform: translateY(-4px); border-color: rgba(212, 162, 84, 0.25); box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-gold); }
.card:hover::before { transform: scaleX(1); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-block; padding: 1rem 2.5rem; background: linear-gradient(135deg, var(--accent-gold), #b8860b); color: #0a0a0f; font-weight: 700; font-size: 1rem; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; letter-spacing: 0.03em; position: relative; overflow: hidden; border: none; cursor: pointer; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.btn-primary:hover::after { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212, 162, 84, 0.3); }
.btn-secondary { display: inline-block; padding: 1rem 2.5rem; border: 1px solid rgba(212, 162, 84, 0.4); color: var(--accent-gold); font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 6px; transition: all 0.3s ease; background: transparent; cursor: pointer; }
.btn-secondary:hover { background: rgba(212, 162, 84, 0.08); border-color: var(--accent-gold); transform: translateY(-2px); }

/* ===== LABELS & BADGES ===== */
.label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; padding: 0.35rem 0.8rem; border-radius: 4px; display: inline-block; }
.label-gold { background: rgba(212, 162, 84, 0.12); color: var(--accent-gold); }
.label-ember { background: rgba(232, 100, 44, 0.12); color: var(--accent-ember); }
.label-violet { background: rgba(139, 92, 246, 0.12); color: var(--accent-violet); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(18, 18, 26, 0.9); border: 1px solid var(--border-subtle); color: var(--accent-gold); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; backdrop-filter: blur(10px); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: rgba(212, 162, 84, 0.15); border-color: var(--accent-gold); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--bg-card); border-top: 1px solid var(--border-subtle); padding: 3rem 2rem; margin-top: 5rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.footer-section h4 { color: var(--accent-gold); margin-bottom: 1rem; font-family: 'Playfair Display', serif; font-size: 1rem; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 0.5rem; }
.footer-section a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; display: inline-block; padding: 0.4rem 0; min-height: 44px; line-height: 1.8; }
.footer-section a:hover { color: var(--accent-gold); }
.footer-copyright { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-subtle); color: var(--text-muted); font-size: 0.85rem; }

/* ===== COMPARISON TABLES ===== */
.compare-table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
.compare-table th { font-family: 'Playfair Display', serif; padding: 1rem; text-align: left; border-bottom: 2px solid var(--accent-gold); color: var(--accent-gold); font-size: 1rem; }
.compare-table td { padding: 1rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; vertical-align: top; }
.compare-table tr:hover td { background: rgba(212, 162, 84, 0.03); }
.compare-table .reformed { color: var(--accent-gold); font-weight: 600; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 2.5rem; border-left: 2px solid rgba(212, 162, 84, 0.2); max-width: 800px; margin: 2rem auto; }
.timeline-item { margin-bottom: 3rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -2.5rem; top: 0.5rem; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--accent-gold); background: var(--bg-deep); transform: translateX(-5px); }
.timeline-date { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent-ember); margin-bottom: 0.4rem; }
.timeline-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 0.6rem; }
.timeline-text { color: var(--text-secondary); line-height: 1.8; }

/* ===== LISTS ===== */
.content-section ul, .content-section ol { color: var(--text-secondary); margin: 1.5rem 0; padding-left: 1.5rem; }
.content-section li { margin-bottom: 0.8rem; line-height: 1.8; font-size: 1.05rem; }
.content-section li::marker { color: var(--accent-gold); }

/* ===== FOCUS STYLES ===== */
*:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 2px; border-radius: 2px; }
a:focus-visible { outline-offset: 3px; }
.skip-to-content { position: absolute; top: -40px; left: 0; background: var(--accent-gold); color: var(--bg-deep); padding: 8px 16px; z-index: 10000; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: top 0.2s; }
.skip-to-content:focus { top: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hamburger { display: block; }
    .nav-links { 
        display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto;
        background: rgba(10, 10, 15, 0.98); flex-direction: column; padding: 0.5rem 0 1rem; 
        border-bottom: 1px solid var(--border-subtle); overflow-y: auto; max-height: 85vh;
    }
    .nav-links.open { display: flex; }
    .nav-links > li { height: auto; flex-direction: column; align-items: stretch; }
    .nav-links > li > a,
    .nav-links > li > .nav-trigger { 
        height: auto; padding: 0.8rem 2rem; justify-content: space-between; font-size: 0.9rem;
    }
    .nav-links > li > a::after,
    .nav-links > li > .nav-trigger::after { display: none; }
    .nav-dropdown { 
        position: static; transform: none; opacity: 1; visibility: visible; 
        min-width: 100%; border: none; border-radius: 0; box-shadow: none;
        background: rgba(18, 18, 26, 0.5); padding: 0; display: none;
    }
    .nav-links > li.dropdown-open > .nav-dropdown { display: block; }
    .nav-links > li:hover > .nav-dropdown,
    .nav-links > li.dropdown-open > .nav-dropdown {
        position: static; transform: none; opacity: 1; visibility: visible;
        left: 0; width: 100%; min-width: 100%;
    }
    .nav-dropdown a { padding: 0.6rem 2rem 0.6rem 3rem; font-size: 0.85rem; border-left: none; }
    .nav-dropdown a:hover { padding-left: 3.2rem; }
    .nav-dropdown .dropdown-label { padding: 0.6rem 2rem 0.2rem 3rem; }
    nav .nav-container { position: relative; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .page-hero { padding: 5rem 1.5rem 2rem; }
    .page-hero::before { width: 350px; height: 350px; }
    .page-hero .subtitle { font-size: 1rem; }
    .content-section { padding: 2rem 1.5rem; }
    footer { margin-top: 2.5rem; padding: 2rem 1.5rem; }
    .card-grid { grid-template-columns: 1fr; padding: 0 1.5rem; }
    .compare-table { font-size: 0.85rem; }
    .compare-table th, .compare-table td { padding: 0.7rem 0.5rem; }
    .timeline { padding-left: 1.5rem; }
    .timeline-item::before { left: -1.5rem; transform: translateX(-5px); }
}
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .page-hero { padding: 4.5rem 1rem 1.5rem; }
    .page-hero::before { width: 250px; height: 250px; }
    .content-section { padding: 1.5rem 1rem; }
    footer { margin-top: 2rem; padding: 1.5rem 1rem; }
    .btn-primary, .btn-secondary { padding: 0.8rem 1.8rem; font-size: 0.9rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-grid { gap: 1.2rem; }
    .pull-quote { padding: 2rem 1.2rem 1.5rem; }
    .pull-quote-text { font-size: 1.05rem; }
    .accordion-header { padding: 1rem 1.2rem; font-size: 1rem; }
    .accordion-body-inner { padding: 1rem 1.2rem 1.3rem; }
    .tab-btn { padding: 0.8rem 1rem; font-size: 0.78rem; }
    .steps li { padding: 1.2rem 1rem 1.2rem 3.8rem; }
    .callout { padding: 1.2rem 1.3rem; }
    .tooltip::after { max-width: 220px; }
}

/* ===== ADVANCED TYPOGRAPHY ===== */
.text-gradient { background: linear-gradient(135deg, var(--accent-gold), var(--accent-ember)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-violet { background: linear-gradient(135deg, var(--accent-violet), #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-celestial { background: linear-gradient(135deg, var(--accent-gold), var(--accent-violet)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Drop caps — first letter of lead paragraphs */
.drop-cap::first-letter { font-family: 'Playfair Display', serif; font-size: 4.2em; float: left; line-height: 0.8; margin: 0.05em 0.12em 0 0; color: var(--accent-gold); font-weight: 900; }

/* Pull quotes */
.pull-quote { position: relative; margin: 3rem auto; padding: 2.5rem 2.5rem 2rem; max-width: 700px; text-align: center; border-top: 1px solid rgba(212, 162, 84, 0.15); border-bottom: 1px solid rgba(212, 162, 84, 0.15); }
.pull-quote::before { content: '\201C'; position: absolute; top: -0.6em; left: 50%; transform: translateX(-50%); font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--accent-gold); opacity: 0.2; line-height: 1; }
.pull-quote-text { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-style: italic; color: var(--text-primary); line-height: 1.8; }
.pull-quote-attribution { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--accent-ember); letter-spacing: 0.1em; margin-top: 1rem; text-transform: uppercase; }

/* Small caps for theological terms */
.sc { font-variant: small-caps; letter-spacing: 0.06em; font-weight: 600; }

/* Verse numbers */
.verse-num { font-family: 'JetBrains Mono', monospace; font-size: 0.65em; color: var(--accent-violet); vertical-align: super; margin-right: 0.1em; font-weight: 600; }

/* ===== ANIMATION LIBRARY ===== */
/* Fade variants */
.fade-in { animation: fadeIn 0.8s ease forwards; }
.fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.fade-in-down { animation: fadeInDown 0.8s ease forwards; }
.fade-in-left { animation: fadeInLeft 0.8s ease forwards; }
.fade-in-right { animation: fadeInRight 0.8s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* Staggered children — add .stagger to parent */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.visible > * { opacity: 1; transform: translateY(0); }

/* Shimmer effect for headings */
.shimmer { background: linear-gradient(110deg, var(--accent-gold) 0%, #f5deb3 30%, var(--accent-gold) 60%); background-size: 200% 100%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: shimmer 4s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 200% 0; } 50% { background-position: -200% 0; } }

/* Glow pulse for emphasis */
.glow-pulse { animation: glowPulse 3s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { text-shadow: 0 0 10px rgba(212, 162, 84, 0.2); } 50% { text-shadow: 0 0 25px rgba(212, 162, 84, 0.4), 0 0 50px rgba(212, 162, 84, 0.1); } }

/* Slide-up counter for stat numbers */
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Border draw animation */
.border-draw { position: relative; }
.border-draw::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--accent-gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.border-draw:hover::after, .border-draw.active::after { transform: scaleX(1); transform-origin: left; }

/* ===== ACCORDION ===== */
.accordion { max-width: 850px; margin: 2rem auto; border: 1px solid var(--border-subtle); border-radius: 12px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border-subtle); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { width: 100%; background: var(--bg-card); border: none; color: var(--text-primary); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; text-align: left; padding: 1.3rem 1.8rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; }
.accordion-header:hover { background: var(--bg-card-hover); color: var(--accent-gold); }
.accordion-header::after { content: '+'; font-family: 'Inter', sans-serif; font-size: 1.5rem; font-weight: 300; color: var(--accent-gold); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.accordion-item.open .accordion-header::after { transform: rotate(45deg); }
.accordion-item.open .accordion-header { color: var(--accent-gold); background: var(--bg-card-hover); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.accordion-body-inner { padding: 1.3rem 1.8rem 1.8rem; color: var(--text-secondary); line-height: 1.85; font-size: 1rem; }

/* ===== TABS ===== */
.tabs { max-width: 900px; margin: 2rem auto; }
.tab-nav { display: flex; gap: 0; border-bottom: 2px solid var(--border-subtle); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tab-nav::-webkit-scrollbar { display: none; }
.tab-btn { background: none; border: none; color: var(--text-secondary); font-family: 'Inter', sans-serif; font-size: 0.88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 1rem 1.5rem; cursor: pointer; position: relative; white-space: nowrap; transition: color 0.3s ease; }
.tab-btn::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--accent-gold); transform: scaleX(0); transition: transform 0.3s ease; }
.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent-gold); }
.tab-btn.active::after { transform: scaleX(1); }
.tab-content { display: none; padding: 2rem 0; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

/* ===== STAT COUNTERS ===== */
.stat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; padding: 2rem 0; }
.stat-box { text-align: center; min-width: 140px; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; background: linear-gradient(135deg, var(--accent-gold), var(--accent-ember)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 0.5rem; }

/* ===== PROGRESS BARS ===== */
.progress-bar { background: rgba(212, 162, 84, 0.08); border-radius: 6px; height: 8px; overflow: hidden; margin: 0.8rem 0; }
.progress-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-ember)); transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1); width: 0; }
.progress-fill.animated { /* width set via data-width attribute in JS */ }

/* ===== TOOLTIPS ===== */
.tooltip { position: relative; cursor: help; border-bottom: 1px dotted var(--accent-gold); }
.tooltip::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(4px); background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-subtle); border-radius: 6px; padding: 0.6rem 1rem; font-size: 0.82rem; font-style: normal; white-space: nowrap; max-width: 300px; white-space: normal; opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 100; pointer-events: none; box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.tooltip::before { content: ''; position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%) translateY(4px); border: 6px solid transparent; border-top-color: var(--border-subtle); opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 101; }
.tooltip:hover::after, .tooltip:hover::before { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ===== CALLOUT BOXES ===== */
.callout { border-radius: 8px; padding: 1.5rem 1.8rem; margin: 2rem 0; position: relative; overflow: hidden; }
.callout::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; }
.callout-gold { background: rgba(212, 162, 84, 0.06); border: 1px solid rgba(212, 162, 84, 0.15); }
.callout-gold::before { background: var(--accent-gold); }
.callout-ember { background: rgba(232, 100, 44, 0.06); border: 1px solid rgba(232, 100, 44, 0.15); }
.callout-ember::before { background: var(--accent-ember); }
.callout-violet { background: rgba(139, 92, 246, 0.06); border: 1px solid rgba(139, 92, 246, 0.15); }
.callout-violet::before { background: var(--accent-violet); }
.callout-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.callout-gold .callout-title { color: var(--accent-gold); }
.callout-ember .callout-title { color: var(--accent-ember); }
.callout-violet .callout-title { color: var(--accent-violet); }

/* ===== TAG CLOUD ===== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: 20px; border: 1px solid var(--border-subtle); color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; cursor: pointer; }
.tag:hover { color: var(--accent-gold); border-color: var(--accent-gold); background: rgba(212, 162, 84, 0.08); }

/* ===== READING PROGRESS BAR ===== */
.reading-progress { position: fixed; top: 56px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--accent-gold), var(--accent-ember), var(--accent-violet)); z-index: 999; transition: width 0.1s linear; }

/* ===== DECORATIVE DIVIDERS ===== */
.divider-ornament { text-align: center; margin: 3rem 0; position: relative; }
.divider-ornament::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border-subtle), transparent); }
.divider-ornament span { position: relative; background: var(--bg-deep); padding: 0 1.5rem; color: var(--accent-gold); font-family: 'Playfair Display', serif; font-size: 1.5rem; }

/* ===== SCRIPTURE HIGHLIGHT ===== */
.scripture-highlight { background: linear-gradient(135deg, rgba(212, 162, 84, 0.08), rgba(139, 92, 246, 0.05)); padding: 2.5rem; border-radius: 12px; border: 1px solid rgba(212, 162, 84, 0.1); text-align: center; margin: 3rem 0; position: relative; }
.scripture-highlight blockquote { background: none; border: none; padding: 0; margin: 0; }
.scripture-highlight blockquote::after { display: none; }
.scripture-highlight blockquote p { font-size: 1.3rem; line-height: 1.9; }

/* ===== NUMBERED LIST STEPS ===== */
.steps { counter-reset: step; list-style: none; padding: 0; max-width: 800px; }
.steps li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 4.5rem; position: relative; margin-bottom: 1rem; background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 8px; transition: all 0.3s ease; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1.4rem; width: 2rem; height: 2rem; background: linear-gradient(135deg, var(--accent-gold), var(--accent-ember)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; font-weight: 700; color: var(--bg-deep); }
.steps li:hover { border-color: rgba(212, 162, 84, 0.25); transform: translateX(4px); }

/* ===== CARD VARIANTS ===== */
.card-featured { border-color: rgba(212, 162, 84, 0.3); }
.card-featured::before { transform: scaleX(1); }
.card-compact { padding: 1.2rem 1.5rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card h3 a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }
.card h3 a:hover { color: var(--accent-gold); }
.card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; margin-bottom: 0; }
.card .card-meta { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.8rem; }

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; padding: 0 2rem; align-items: start; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== SCROLL-LINKED PARALLAX HINT ===== */
.parallax-subtle { will-change: transform; transition: transform 0.1s linear; }

/* ===== PRINT STYLES ===== */
@media print {
    nav, footer, .back-to-top, .share-bar, .reading-progress { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .page-hero { padding: 2rem 0 1rem; }
    .page-hero::before { display: none; }
    h1, h2, h3, h4 { color: #000; }
    .text-gradient, .text-gradient-violet, .text-gradient-celestial, .shimmer { -webkit-text-fill-color: #000; background: none; }
    blockquote { border-left-color: #666; background: #f5f5f5; }
    .card { border: 1px solid #ccc; box-shadow: none; background: #fff; }
    a { color: #000; text-decoration: underline; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* ===== SOCIAL SHARE BAR ===== */
.share-bar {
    display: flex; align-items: center; justify-content: center; gap: 0.8rem;
    max-width: 900px; margin: 0 auto 2rem; padding: 0.8rem 2rem;
    border-top: 1px solid rgba(212, 162, 84, 0.08); border-bottom: 1px solid rgba(212, 162, 84, 0.08);
}
.share-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.12em; margin-right: 0.5rem;
}
.share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(212, 162, 84, 0.06); border: 1px solid rgba(212, 162, 84, 0.12);
    color: var(--text-secondary); text-decoration: none; cursor: pointer;
    transition: all 0.3s ease; font-size: 0;
}
.share-btn:hover {
    color: var(--accent-gold); border-color: var(--accent-gold);
    background: rgba(212, 162, 84, 0.12); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 162, 84, 0.15);
}
.share-btn.share-copy.copied {
    color: #4ade80; border-color: #4ade80; background: rgba(74, 222, 128, 0.08);
}
@media (max-width: 480px) {
    .share-bar { gap: 0.5rem; padding: 0.6rem 1rem; }
    .share-label { display: none; }
    .share-btn { width: 44px; height: 44px; }
}
