/* Blog Premium Design System v3.0 — Fintech Edition */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist:wght@400;500;600;700;800&display=swap');

:root {
    --fsp-green: #00d4aa;
    --fsp-green-glow: rgba(0, 212, 170, 0.3);
    --fsp-purple: #a855f7;
    --fsp-bg: #050508;
    --fsp-surface: #0d0d14;
    --fsp-card: rgba(18, 18, 28, 0.7);
    --fsp-border: rgba(255, 255, 255, 0.08);
    --fsp-text: rgba(255, 255, 255, 0.85);
    --fsp-muted: rgba(255, 255, 255, 0.5);
}

.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
    color: var(--fsp-text);
    font-family: 'Geist', 'Inter', sans-serif;
    line-height: 1.8;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 64px; /* Below Topbar */
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--fsp-green), var(--fsp-purple));
    box-shadow: 0 0 10px var(--fsp-green-glow);
    transition: width 0.1s ease-out;
}

/* Typography */
.blog-article h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-article h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-article h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--fsp-green);
    border-radius: 4px;
    box-shadow: var(--fsp-green-glow);
}

.blog-article p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
}

.blog-article strong {
    color: #fff;
    font-weight: 600;
}

/* Table of Contents */
.toc {
    background: var(--fsp-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--fsp-border);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.toc h4 {
    color: var(--fsp-green);
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.toc a {
    color: var(--fsp-text);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.toc a i {
    font-size: 0.8rem;
    color: var(--fsp-muted);
}

.toc a:hover {
    color: var(--fsp-green);
    transform: translateX(4px);
}

/* FAQ Section */
.faq-section {
    margin-top: 5rem;
    border-top: 1px solid var(--fsp-border);
    padding-top: 3rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--fsp-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    font-weight: 700;
    color: var(--fsp-green);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-article { padding: 40px 20px; }
    .toc ul { grid-template-columns: 1fr; }
    .blog-article h1 { font-size: 2.25rem; }
}
