
:root {
    --bg: #0b0f19;
    --card-bg: #111827;
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover-border: rgba(59, 130, 246, 0.4);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
body { background: var(--bg); color: var(--text-main); line-height: 1.65; overflow-x: hidden; }

/* NAVIGATION */
.blog-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(11, 15, 25, 0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    padding: 0.9rem 1.75rem; display: flex; justify-content: space-between; align-items: center;
}
.blog-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-size: 1.25rem; font-weight: 800; }
.blog-logo img { width: 34px; height: 34px; border-radius: 8px; }
.blog-nav-links { display: flex; align-items: center; gap: 1.25rem; }
.blog-nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.blog-nav-link:hover { color: #fff; }
.btn-launch-tool {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff !important; text-decoration: none; padding: 0.6rem 1.25rem;
    border-radius: 8px; font-size: 0.88rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-launch-tool:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }

/* MAIN CONTAINER */
.container { max-width: 1140px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem 1.5rem; }

/* BREADCRUMBS */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs i { font-size: 0.75rem; opacity: 0.6; }

/* ARTICLE HEADER */
.article-header { margin-bottom: 2.5rem; }
.article-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa; padding: 5px 14px; border-radius: 9999px; font-size: 0.78rem; font-weight: 600;
    margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px;
}
h1.article-title { font-size: 2.2rem; line-height: 1.3; font-weight: 800; color: #ffffff; margin-bottom: 1rem; letter-spacing: -0.5px; }
.article-meta { display: flex; align-items: center; gap: 18px; color: var(--text-muted); font-size: 0.88rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* LEAD BOX & CALLOUT */
.lead-box {
    background: rgba(30, 41, 59, 0.45); border-left: 4px solid var(--primary);
    padding: 1.35rem 1.65rem; border-radius: 0 10px 10px 0; margin-bottom: 2rem;
    font-size: 1.05rem; color: #e2e8f0; line-height: 1.7;
}

/* HUB FILTER TABS */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2.5rem 0 2rem;
    justify-content: center;
}
.tab-btn {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 0.65rem 1.3rem;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tab-btn:hover {
    background: #1e293b;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}
.tab-btn.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
    font-weight: 600;
}

/* BLOG GRID & CARDS */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 1rem;
}
.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    position: relative;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-hover-border);
    box-shadow: 0 12px 30px -8px rgba(59, 130, 246, 0.25);
}
.card-badge {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-primary { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-accent { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-error { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }

.card-title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}
.card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}
.card-title a:hover {
    color: #60a5fa;
}
.card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--card-border);
    padding-top: 1rem;
    font-size: 0.82rem;
    color: #64748b;
}
.read-more {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.read-more:hover {
    color: #93c5fd;
    gap: 10px;
}

/* ARTICLE BODY */
.article-body h2 { font-size: 1.45rem; font-weight: 700; color: #f1f5f9; margin: 2.2rem 0 0.85rem 0; border-bottom: 1px solid var(--card-border); padding-bottom: 0.5rem; }
.article-body h3 { font-size: 1.18rem; font-weight: 600; color: #e2e8f0; margin: 1.5rem 0 0.5rem 0; }
.article-body p { margin-bottom: 1.25rem; color: #cbd5e1; font-size: 0.98rem; }
.article-body ul, .article-body ol { margin: 0 0 1.5rem 1.5rem; color: #cbd5e1; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: #fff; }

/* STEPS GRID */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.75rem 0; }
.step-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 12px; padding: 1.25rem; position: relative;
}
.step-num {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white; width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; margin-bottom: 0.75rem;
}
.step-title { font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.55; }

/* STYLED TABLE */
.table-styled {
    width: 100%; border-collapse: collapse; font-size: 0.92rem;
    margin: 1.75rem 0; background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 10px; overflow: hidden;
}
.table-styled th {
    background: rgba(255, 255, 255, 0.04); color: #fff;
    padding: 12px 16px; border-bottom: 1px solid var(--card-border);
    font-weight: 700; text-align: left;
}
.table-styled td {
    padding: 12px 16px; border-bottom: 1px solid var(--card-border);
    color: #cbd5e1;
}
.table-styled tr:last-child td { border-bottom: none; }
.table-styled tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.35); border-radius: 14px;
    padding: 2rem; margin: 2.5rem 0; display: flex; align-items: center;
    justify-content: space-between; gap: 20px; flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.cta-banner-text h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.4rem; font-weight: 700; }
.cta-banner-text p { color: #94a3b8; font-size: 0.95rem; margin: 0; }
.btn-cta-big {
    background: linear-gradient(135deg, #10b981, #059669); color: white !important;
    text-decoration: none; padding: 0.8rem 1.6rem; border-radius: 10px;
    font-size: 0.95rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4); transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
}
.btn-cta-big:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6); }

/* FAQ ITEMS */
.faq-item {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 10px; padding: 1.15rem 1.35rem; margin-bottom: 12px;
}
.faq-q { font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 8px; }
.faq-q i { color: #60a5fa; font-size: 0.95rem; }
.faq-a { color: #cbd5e1; font-size: 0.92rem; line-height: 1.6; }

/* STICKY BOTTOM BAR */
.sticky-footer-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: rgba(15, 23, 42, 0.96); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(59, 130, 246, 0.4);
    padding: 0.85rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}
.sticky-footer-cta span { color: #f1f5f9; font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.btn-sticky-cta {
    background: linear-gradient(135deg, #3b82f6, #2563eb); color: white !important;
    text-decoration: none; padding: 0.55rem 1.35rem; border-radius: 8px;
    font-size: 0.88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
}

/* FOOTER */
.blog-footer {
    border-top: 1px solid var(--card-border); padding: 3rem 1.5rem;
    text-align: center; color: var(--text-muted); font-size: 0.88rem; background: #070a12;
}
.blog-footer a { color: #cbd5e1; text-decoration: none; margin: 0 8px; }
.blog-footer a:hover { color: var(--primary); }

@media (max-width: 768px) {
    h1.article-title { font-size: 1.65rem; }
    .container { padding: 1.5rem 1rem 4.5rem 1rem; }
    .cta-banner { flex-direction: column; align-items: flex-start; }
    .filter-tabs { gap: 0.5rem; }
    .tab-btn { font-size: 0.85rem; padding: 0.5rem 1rem; }
    .sticky-footer-cta { flex-direction: column; gap: 8px; text-align: center; }
}
