/* =============================================================
   CROMATEX BLOG & SEO ARCHITECTURE CSS
   High-Authority Editorial & Technical Typography
   Dark Luxury Streetwear Aesthetic · Neon Chromatics
   ============================================================= */

/* ── READING PROGRESS BAR ───────────────────────────────────── */
#reading-progress {
    position: fixed;
    top: 76px;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--c-lime), var(--c-electric), var(--c-coral));
    z-index: 100;
    transition: width 0.1s ease-out;
}

/* ── BLOG CONTAINER & LAYOUT ───────────────────────────────── */
.blog-article-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 36px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 1024px) {
    .blog-article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 24px 16px 60px;
    }
}

.blog-main-content {
    min-width: 0;
}

/* ── BREADCRUMBS ────────────────────────────────────────────── */
.blog-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.blog-breadcrumbs a {
    color: var(--c-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-breadcrumbs a:hover {
    color: var(--c-lime);
}

.blog-breadcrumbs .sep {
    color: rgba(255, 255, 255, 0.25);
}

.blog-breadcrumbs .current {
    color: var(--c-white);
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── ARTICLE HEADER ─────────────────────────────────────────── */
.article-header {
    margin-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 32px;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(206, 246, 46, 0.1);
    border: 1px solid rgba(206, 246, 46, 0.35);
    color: var(--c-lime);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 18px;
}

.article-title {
    font-family: var(--f-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 18px;
}

.article-excerpt {
    font-size: 1.18rem;
    line-height: 1.65;
    color: #b8c1d9;
    margin-bottom: 24px;
    font-weight: 400;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--c-muted);
    font-weight: 500;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.meta-item svg {
    color: var(--c-lime);
}

.article-cover-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin: 30px 0 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ── EDITORIAL CONTENT TYPOGRAPHY ──────────────────────────── */
.article-body {
    font-family: var(--f-body);
    font-size: 1.08rem;
    line-height: 1.82;
    color: #d1d7e5;
}

.article-body p {
    margin-bottom: 1.6rem;
}

.article-body h2 {
    font-family: var(--f-head);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.03em;
    margin: 48px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.article-body h2::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--c-lime);
}

.article-body h3 {
    font-family: var(--f-head);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin: 36px 0 16px;
}

.article-body h4 {
    font-family: var(--f-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--c-lime);
    margin: 24px 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-body ul, .article-body ol {
    margin: 0 0 1.8rem 1.6rem;
}

.article-body li {
    margin-bottom: 0.6rem;
    padding-left: 4px;
}

.article-body li strong {
    color: #ffffff;
}

.article-body a {
    color: var(--c-lime);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
    font-weight: 600;
}

.article-body a:hover {
    color: var(--c-electric);
}

/* ── CALLOUT BOXES ─────────────────────────────────────────── */
.callout {
    padding: 24px;
    border-radius: 8px;
    margin: 32px 0;
    border-left: 4px solid;
    background: #0e121d;
}

.callout-pro {
    border-color: var(--c-lime);
    background: linear-gradient(135deg, rgba(206, 246, 46, 0.06), #0e121d);
}

.callout-warning {
    border-color: var(--c-coral);
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.06), #0e121d);
}

.callout-electric {
    border-color: var(--c-electric);
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.06), #0e121d);
}

.callout-title {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callout-body {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #c4ccdf;
    margin: 0;
}

/* ── RESPONSIVE DATA & COMPARISON TABLES ────────────────────── */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 36px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #0b0e17;
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    text-align: left;
    min-width: 600px;
}

.seo-table th {
    background: #141926;
    color: #ffffff;
    font-family: var(--f-head);
    font-weight: 800;
    padding: 16px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.seo-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #c4ccdf;
}

.seo-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.seo-table .highlight-col {
    background: rgba(206, 246, 46, 0.03);
    font-weight: 600;
    color: #ffffff;
}

.badge-tag-good {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 230, 118, 0.15);
    color: #00e676;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge-tag-bad {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ── STEP-BY-STEP WORKFLOW CARDS ───────────────────────────── */
.step-guide-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.step-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #0d111c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.step-card:hover {
    border-color: rgba(206, 246, 46, 0.3);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(206, 246, 46, 0.12);
    border: 1px solid var(--c-lime);
    color: var(--c-lime);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-head);
    font-size: 1.25rem;
    font-weight: 900;
}

.step-content h4 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #ffffff;
    text-transform: none;
    letter-spacing: normal;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #aeb7cb;
    line-height: 1.6;
}

/* ── FAQ ACCORDION COMPONENT ───────────────────────────────── */
.faq-section {
    margin: 48px 0;
}

.faq-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0e17;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--f-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--c-lime);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    transition: transform 0.25s ease;
    color: var(--c-lime);
}

.faq-card.open .faq-icon {
    transform: rotate(45deg);
    color: var(--c-coral);
}

.faq-answer {
    padding: 0 24px 22px;
    color: #b8c1d9;
    font-size: 0.96rem;
    line-height: 1.68;
    display: none;
}

.faq-card.open .faq-answer {
    display: block;
}

/* ── AUTHOR BOX ────────────────────────────────────────────── */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: #0d111c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 48px 0 36px;
}

.author-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid var(--c-lime);
    object-fit: cover;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: var(--f-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}

.author-role {
    font-size: 0.82rem;
    color: var(--c-lime);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 0.88rem;
    color: #a3adc2;
    line-height: 1.55;
    margin: 0;
}

/* ── SOCIAL SHARE BAR ──────────────────────────────────────── */
.share-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.share-label {
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--c-lime);
    color: var(--c-lime);
}

.share-btn-wa:hover {
    border-color: #25d366;
    color: #25d366;
}

/* ── SIDEBAR & STICKY TABLE OF CONTENTS ────────────────────── */
.blog-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.toc-card {
    background: #0b0e17;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 24px;
}

.toc-title {
    font-family: var(--f-head);
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list li {
    margin-bottom: 10px;
    padding: 0;
}

.toc-list a {
    color: #8c96ac;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    padding-left: 12px;
    border-left: 2px solid transparent;
    transition: all 0.2s;
}

.toc-list a:hover, .toc-list a.active {
    color: var(--c-lime);
    border-left-color: var(--c-lime);
    padding-left: 16px;
}

/* Sidebar Conversion Widget */
.sidebar-cta-widget {
    background: linear-gradient(135deg, rgba(206, 246, 46, 0.08), rgba(0, 242, 254, 0.05), #0b0e17);
    border: 1px solid rgba(206, 246, 46, 0.25);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.sidebar-cta-widget h4 {
    font-family: var(--f-head);
    font-size: 1.2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.sidebar-cta-widget p {
    font-size: 0.88rem;
    color: #b0bad0;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-cta-btn {
    display: block;
    width: 100%;
    padding: 13px 16px;
    background: var(--c-lime);
    color: #08090e;
    font-family: var(--f-head);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.sidebar-cta-btn:hover {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(206, 246, 46, 0.4);
}

.sidebar-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    font-family: var(--f-head);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.sidebar-wa-btn:hover {
    background: #25d366;
    color: #08090e;
}

/* ── RELATED ARTICLES GRID ─────────────────────────────────── */
.related-articles-section {
    max-width: 1300px;
    margin: 60px auto 80px;
    padding: 0 24px;
}

.related-title {
    font-family: var(--f-head);
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.article-card {
    background: #0b0e17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 246, 46, 0.4);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
}

.article-card-thumb {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--c-lime);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.article-card-title {
    font-family: var(--f-head);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.article-card:hover .article-card-title {
    color: var(--c-lime);
}

.article-card-desc {
    font-size: 0.88rem;
    color: #9aa5be;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--c-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
}

/* ── BLOG HUB HERO & FILTERS ───────────────────────────────── */
.blog-hub-hero {
    background: radial-gradient(circle at 50% 20%, rgba(206, 246, 46, 0.08) 0%, transparent 60%), #08090e;
    padding: 60px 24px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(206, 246, 46, 0.1);
    border: 1px solid rgba(206, 246, 46, 0.3);
    color: var(--c-lime);
    font-family: var(--f-head);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 20px;
}

.blog-hub-title {
    font-family: var(--f-head);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 18px;
}

.blog-hub-subtitle {
    font-size: 1.15rem;
    color: #9aa5be;
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.blog-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-pill {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c4ccdf;
    font-family: var(--f-head);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-pill:hover, .filter-pill.active {
    background: var(--c-lime);
    color: #08090e;
    border-color: var(--c-lime);
}

/* ── FEATURED BLOG HERO CARD ───────────────────────────────── */
.featured-blog-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    background: linear-gradient(135deg, #0e121d 0%, #08090e 100%);
    border: 1px solid rgba(206, 246, 46, 0.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

@media (max-width: 900px) {
    .featured-blog-card {
        grid-template-columns: 1fr;
    }
}

.featured-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.featured-blog-img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.featured-blog-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-pill {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background: var(--c-lime);
    color: #08090e;
    font-family: var(--f-head);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    border-radius: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.featured-title {
    font-family: var(--f-head);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 14px;
}

.featured-desc {
    font-size: 0.98rem;
    color: #aeb8ce;
    line-height: 1.6;
    margin-bottom: 24px;
}

.featured-read-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: var(--f-head);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: all 0.2s;
}

.featured-blog-card:hover .featured-read-btn {
    background: var(--c-lime);
    color: #08090e;
    border-color: var(--c-lime);
}
