/* ===== BLOG SHARED STYLES =====
   Premium dark fintech blog styling for FuturesHive.
   Referenced from blog posts as ../../blog-styles.css
   ========================================== */

/* ===== BLOG CONTAINER ===== */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    line-height: 1.8;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}
.breadcrumb a {
    color: #1e90ff;
    text-decoration: none;
    transition: color 0.3s;
}
.breadcrumb a:hover {
    color: #4facff;
    text-decoration: underline;
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 0.5rem;
}

/* ===== BLOG HEADER ===== */
.blog-header {
    margin-bottom: 3rem;
    text-align: center;
    padding-top: 1rem;
}
.blog-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(30, 144, 255, 0.15);
}
.blog-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.blog-meta span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.15);
}

/* ===== ANSWER CAPSULE (AI Citation) ===== */
.answer-capsule {
    background: rgba(30, 144, 255, 0.05);
    border-left: 4px solid #1e90ff;
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0 2.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #e0e0e0;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(30, 144, 255, 0.12);
    border-left: 4px solid #1e90ff;
}
.answer-capsule strong {
    color: #1e90ff;
}

/* ===== BLOG CONTENT ===== */
.blog-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(30, 144, 255, 0.15);
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #1e90ff 0%, #4facff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2.25rem 0 1rem 0;
    letter-spacing: -0.01em;
}
.blog-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e90ff;
    margin: 1.75rem 0 0.75rem 0;
}
.blog-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}
.blog-content strong {
    color: #ffffff;
    font-weight: 600;
}
.blog-content a {
    color: #1e90ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 144, 255, 0.3);
    transition: all 0.3s;
}
.blog-content a:hover {
    color: #4facff;
    border-bottom-color: #4facff;
}

/* ===== LISTS ===== */
.blog-content ul,
.blog-content ol {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}
.blog-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}
.blog-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e90ff, #4facff);
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.4);
}
.blog-content ol {
    counter-reset: blog-counter;
}
.blog-content ol li {
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    counter-increment: blog-counter;
}
.blog-content ol li::before {
    content: counter(blog-counter);
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(30, 144, 255, 0.15);
    color: #1e90ff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(30, 144, 255, 0.3);
}
.blog-content li strong {
    color: #ffffff;
}

/* ===== BLOCKQUOTE ===== */
.blog-content blockquote {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-left: 3px solid #1e90ff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid #1e90ff;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}
.blog-content blockquote p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.comparison-table th {
    background: rgba(30, 144, 255, 0.12);
    color: #1e90ff;
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
}
.comparison-table td {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #d1d5db;
    font-size: 0.95rem;
    transition: background 0.3s;
}
.comparison-table tr:hover td {
    background: rgba(30, 144, 255, 0.04);
}
.comparison-table td strong {
    color: #ffffff;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background: rgba(30, 144, 255, 0.06);
    backdrop-filter: blur(12px);
    border-left: 4px solid #1e90ff;
    border: 1px solid rgba(30, 144, 255, 0.15);
    border-left: 4px solid #1e90ff;
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
}
.highlight-box h3 {
    color: #1e90ff;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.highlight-box p {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.highlight-box p:last-child {
    margin-bottom: 0;
}
.highlight-box strong {
    color: #1e90ff;
}
.highlight-box ul,
.highlight-box ol {
    color: #d1d5db;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    list-style: disc;
}
.highlight-box li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ===== PRO TIP ===== */
.pro-tip {
    background: rgba(255, 215, 0, 0.04);
    backdrop-filter: blur(12px);
    border-left: 4px solid #fbbf24;
    border: 1px solid rgba(255, 215, 0, 0.12);
    border-left: 4px solid #fbbf24;
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
    position: relative;
}
.pro-tip::before {
    content: 'PRO TIP';
    position: absolute;
    top: -0.6rem;
    left: 1.25rem;
    background: #fbbf24;
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}
.pro-tip strong {
    color: #fbbf24;
}
.pro-tip p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}
.pro-tip p:last-child {
    margin-bottom: 0;
}

/* ===== WARNING BOX ===== */
.warning-box {
    background: rgba(239, 68, 68, 0.04);
    backdrop-filter: blur(12px);
    border-left: 4px solid #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-left: 4px solid #ef4444;
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
    position: relative;
}
.warning-box::before {
    content: 'WARNING';
    position: absolute;
    top: -0.6rem;
    left: 1.25rem;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
}
.warning-box strong {
    color: #ef4444;
}
.warning-box p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}
.warning-box p:last-child {
    margin-bottom: 0;
}

/* ===== TECHNIQUE BOX ===== */
.technique-box {
    background: rgba(34, 197, 94, 0.04);
    backdrop-filter: blur(12px);
    border-left: 4px solid #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-left: 4px solid #22c55e;
    padding: 1.75rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
}
.technique-box h4 {
    color: #22c55e;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
}
.technique-box p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}
.technique-box p:last-child {
    margin-bottom: 0;
}

/* ===== KEY STATS GRID ===== */
.key-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}
.stat-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    padding: 1.75rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(30, 144, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-box:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.1);
}
.stat-box .stat-value,
.stat-box h3 {
    font-size: 2rem;
    font-weight: 900;
    color: #1e90ff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.3);
}
.stat-box .stat-label,
.stat-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    margin-top: 3rem;
}
.faq-section h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1e90ff 0%, #4facff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.faq-item {
    margin-bottom: 1rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(30, 144, 255, 0.2);
    background: rgba(30, 144, 255, 0.03);
}
.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.faq-answer {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
}
.faq-answer strong {
    color: #ffffff;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
}
.toc h3,
.toc h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.toc ol {
    list-style: none;
    counter-reset: toc-counter;
    padding-left: 0;
    margin: 0;
}
.toc ol li {
    counter-increment: toc-counter;
    padding: 0.4rem 0;
}
.toc ol li::before {
    content: counter(toc-counter) '.';
    color: #1e90ff;
    font-weight: 700;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}
.toc a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.toc a:hover {
    color: #1e90ff;
}

/* ===== CTA BOX ===== */
.cta-box {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(30, 144, 255, 0.05) 100%);
    border: 1px solid rgba(30, 144, 255, 0.25);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-box h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.cta-box p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.cta-box .btn,
.cta-box a.btn {
    position: relative;
    z-index: 1;
}

/* ===== BLOG FOOTER ===== */
.blog-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}
.blog-footer a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.blog-footer a:hover {
    color: #4facff;
}
.blog-footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 768px) {
    .blog-container {
        padding: 1.5rem 1.25rem 3rem;
    }
    .blog-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    .blog-content h2 {
        font-size: 1.5rem;
    }
    .blog-content h3 {
        font-size: 1.2rem;
    }
    .blog-content p {
        font-size: 1rem;
    }
    .comparison-table {
        font-size: 0.85rem;
        border-radius: 12px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }
    .key-stats {
        grid-template-columns: 1fr 1fr;
    }
    .stat-box .stat-value,
    .stat-box h3 {
        font-size: 1.5rem;
    }
    .highlight-box,
    .pro-tip,
    .warning-box,
    .technique-box {
        padding: 1.25rem;
    }
    .cta-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    .faq-item {
        padding: 1.25rem;
    }
    .blog-meta {
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 480px) {
    .blog-container {
        padding: 1rem 1rem 2.5rem;
    }
    .blog-title {
        font-size: 1.65rem;
        line-height: 1.25;
    }
    .blog-header {
        margin-bottom: 2rem;
    }
    .blog-content h2 {
        font-size: 1.35rem;
        margin: 2.5rem 0 1rem;
    }
    .blog-content h3 {
        font-size: 1.1rem;
    }
    .blog-content p {
        font-size: 0.95rem;
        line-height: 1.75;
    }
    .key-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .comparison-table {
        font-size: 0.8rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 0.6rem 0.5rem;
    }
    .cta-box {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .cta-box h3 {
        font-size: 1.25rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
    .answer-capsule {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    .toc {
        padding: 1.25rem 1.5rem;
    }
}

/* Related Articles */
.related-articles { margin: 3rem 0; padding: 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.related-articles h3 { font-size: 1.5rem; font-weight: 700; color: #ffffff; margin-bottom: 1.5rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related-card { display: block; padding: 1.5rem; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; text-decoration: none; transition: all 0.3s; }
.related-card:hover { background: rgba(30, 144, 255, 0.05); border-color: rgba(30, 144, 255, 0.3); transform: translateY(-4px); }
.related-tag { display: inline-block; font-size: 0.7rem; font-weight: 600; color: #1e90ff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; background: rgba(30, 144, 255, 0.1); padding: 0.2rem 0.6rem; border-radius: 10px; }
.related-card h4 { font-size: 0.95rem; font-weight: 600; color: #e0e0e0; line-height: 1.4; margin: 0; }
.related-card:hover h4 { color: #ffffff; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }
