/* Post Page Styles */
.post-header {
    padding-top: 10rem;
    padding-bottom: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(255, 61, 46, 0.08) 0%, transparent 70%);
}

.post-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    display: inline-block;
    max-width: 1000px;
}

.post-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text2);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.6;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('../../images/grid.svg') center/50px repeat;
    opacity: 0.1;
    pointer-events: none;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    color: var(--text2);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-meta span i {
    color: var(--red);
}

.post-content-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .post-content-wrap {
        grid-template-columns: 1fr 340px;
    }
}

.post-article {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: clamp(1.5rem, 5vw, 4rem);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.post-article .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.post-article h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: #fff;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-article h2::before {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.post-article h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-article p {
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text2);
}

.post-article ul, .post-article ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-article li {
    margin-bottom: 1rem;
    color: var(--text2);
    line-height: 1.7;
}

.post-article img {
    width: 100%;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

/* Feature Box / Stats */
.feature-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(255, 61, 46, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.tech-item:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 61, 46, 0.2);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0;
    background: rgba(4, 4, 10, 0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    padding: 1.2rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comparison-table td {
    padding: 1.2rem;
    color: var(--text2);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: #fff;
}

/* Case Study */
.case-study {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--red);
    padding: 2.5rem;
    border-radius: 0 15px 15px 0;
    margin: 3rem 0;
}

.case-study h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.case-study p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.case-study strong {
    color: var(--red);
}

/* Method Card */
.method-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

.method-number {
    position: absolute;
    left: 1.2rem;
    top: 1.8rem;
    width: 32px;
    height: 32px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

/* AI vs Human Columns */
.ai-vs-human {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .ai-vs-human {
        grid-template-columns: 1fr 1fr;
    }
}

.ai-column, .human-column {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 2rem;
}

.ai-column h4 { color: var(--blue); }
.human-column h4 { color: var(--red); }

/* FAQ Item */
.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    transition: 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 61, 46, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.faq-item h5 {
    color: #fff;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

/* Sidebar Widgets */
.sidebar-box {
    position: sticky;
    top: 110px;
}

.widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.widget-title {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    border-left: 3px solid var(--red);
    padding-left: 1.2rem;
}

.widget-links {
    list-style: none;
    padding: 0;
}

.widget-links li {
    margin-bottom: 1.2rem;
}

.widget-links a {
    color: var(--text2);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
}

.widget-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.widget-links a i {
    font-size: 0.7rem;
    color: var(--red);
    opacity: 0.5;
}

.widget-cta {
    background: linear-gradient(135deg, rgba(255, 61, 46, 0.1), rgba(255, 159, 28, 0.1));
    border: 1px solid rgba(255, 61, 46, 0.2);
    text-align: center;
}

.widget-cta h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-header {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .post-article {
        padding: 2rem 1.5rem;
    }
    
    .post-article h2 {
        margin-top: 2.5rem;
    }
    
    .comparison-table {
        display: block;
        overflow-x: auto;
    }
}

/* ══════════════════════════════════════
   BOOTSTRAP SHIMS FOR DARK THEME
   ══════════════════════════════════════ */
/* Texts & Backgrounds */
.text-muted { color: var(--text2) !important; }
.text-primary { color: var(--blue) !important; }
.text-success { color: var(--green) !important; }
.text-info { color: var(--cyan) !important; }
.text-danger { color: var(--red) !important; }
.text-warning { color: var(--amber) !important; }
.bg-dark { background: var(--bg3) !important; color: #fff !important; }
.bg-success { background: rgba(46, 204, 138, 0.1) !important; color: var(--green) !important; border: 1px solid rgba(46, 204, 138, 0.2); }
.bg-info { background: rgba(6, 200, 232, 0.1) !important; color: var(--cyan) !important; border: 1px solid rgba(6, 200, 232, 0.2); }
.bg-warning { background: rgba(255, 159, 28, 0.1) !important; color: var(--amber) !important; border: 1px solid rgba(255, 159, 28, 0.2); }
.bg-light { background: rgba(255,255,255,0.05) !important; color: #fff !important; }
.text-dark { color: #fff !important; }
.border-0 { border: none !important; }
.border-top { border-top: 1px solid var(--border) !important; }
.shadow-sm { box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important; }

/* Alerts */
.alert-warning { background: rgba(255, 159, 28, 0.1); border-color: rgba(255, 159, 28, 0.2); color: var(--amber); }
.alert-success { background: rgba(46, 204, 138, 0.1); border-color: rgba(46, 204, 138, 0.2); color: var(--green); }
.alert-danger { background: rgba(255, 61, 46, 0.1); border-color: rgba(255, 61, 46, 0.2); color: var(--red); }

/* Tables */
.table-responsive { width: 100%; overflow-x: auto; margin-bottom: 2rem; }
.table { width: 100%; border-collapse: collapse; margin-bottom: 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 1.25rem; text-align: left; border-bottom: 1px solid var(--border); color: var(--text2); }
.table th { color: #fff; font-weight: 800; background: rgba(255,255,255,0.03); }
.table-dark th { background: var(--bg3); border-bottom-color: var(--border2); }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(255,255,255,0.02); }
.table-bordered { border: 1px solid var(--border); }
.table-bordered th, .table-bordered td { border: 1px solid var(--border); }
.table tbody tr:hover { background: rgba(255,255,255,0.05); }

/* Accordion */
.accordion { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 2rem; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { margin: 0; }
.accordion-button { width: 100%; text-align: left; padding: 1.25rem; background: var(--surface); color: #fff; border: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: 0.3s; }
.accordion-button:hover { background: var(--surface2); }
.accordion-button::after { content: '▾'; font-family: monospace; font-size: 1.2rem; transition: transform 0.3s; }
.accordion-button:not(.collapsed)::after { transform: rotate(180deg); }
.accordion-button:not(.collapsed) { background: rgba(255, 61, 46, 0.05); color: var(--red); }
.accordion-collapse { display: none; padding: 0 1.25rem 1.25rem; background: rgba(255, 61, 46, 0.02); color: var(--text2); }
.accordion-collapse.show { display: block; }
.accordion-body { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.05); line-height: 1.8; }

/* Utility Spacing */
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.d-inline-flex { display: inline-flex !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.rounded-circle { border-radius: 50% !important; }
.list-unstyled { list-style: none; padding-left: 0 !important; }
.text-start { text-align: left !important; }

/* Badges */
.badge { padding: 0.4rem 0.8rem; font-size: 0.8em; font-weight: 700; border-radius: 8px; text-decoration: none; display: inline-block; transition: 0.3s; border: 1px solid rgba(255,255,255,0.1); }
.badge.bg-light:hover { background: rgba(255,255,255,0.1) !important; color: #fff !important; border-color: var(--amber); }

/* Buttons */
.btn { display: inline-block; font-weight: 800; text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid transparent; padding: 0.75rem 1.75rem; font-size: 1rem; border-radius: 12px; transition: 0.3s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--red), var(--orange)); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(255,61,46,0.3); color: #fff; }
.btn-outline-primary { color: #fff; border-color: rgba(255,255,255,0.2); background: transparent; }
.btn-outline-primary:hover { background: rgba(255,255,255,0.05); transform: translateY(-3px); color: #fff; border-color: #fff; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* Font Awesome Utilities */
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }

/* Grid Supplements */
.g-4 { gap: 1.5rem; }
