/* Premium Blog Detail Styles */

/* Base & Layout */
.blog-article-page {
    position: relative;
    background-color: #020617; /* Slate 950 */
    color: #cbd5e1;
    overflow-x: hidden;
}

.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.article-header {
    text-align: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.article-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }
.tag-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border-color: rgba(6, 182, 212, 0.3); }

.article-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #f8fafc;
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.article-meta i { margin-right: 0.5rem; }

/* Content Styling */
.article-content {
    font-size: 1.15rem;
    line-height: 1.9;
    padding-bottom: 6rem;
}

.article-content p {
    margin-bottom: 2rem;
}

.article-content h2 {
    font-size: 2rem;
    color: #f8fafc;
    margin: 3.5rem 0 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article-content h2 i {
    font-size: 1.5rem;
    color: #60a5fa; /* Default accent */
}

/* Feature Cards Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature-box {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.box-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
}

.feature-box h3 {
    color: #f1f5f9;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-box p {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Tech Stack Icons */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* CTA Section */
.article-cta {
    margin-top: 5rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #ec4899);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #3b82f6;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.5);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6);
    background: #2563eb;
}

/* Responsive */
@media (max-width: 768px) {
    .article-header { padding: 6rem 0 3rem; }
    .article-title { font-size: 2.25rem; }
    .article-meta { flex-direction: column; gap: 0.5rem; align-items: center; }
    .feature-grid { grid-template-columns: 1fr; }
}
