/* 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;
    }
}

