/* ========================================
   BLOG PAGE SPECIFIC STYLES
   ======================================== */

.blog-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #141933 50%, #1a1f3a 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.blog-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========================================
   BLOG FILTERS
   ======================================== */

.blog-filters-section {
    background: var(--bg-light);
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid #e2e8f0;
}

.blog-filters {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-family);
}

.filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-color: transparent;
}

/* ========================================
   BLOG ARTICLES GRID
   ======================================== */

.blog-articles-section {
    background: var(--bg-light-secondary);
    padding: var(--spacing-xl) 0;
}

.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.blog-article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.article-placeholder {
    color: var(--text-gray-light);
}

.article-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.article-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
}

.article-date {
    color: var(--text-gray);
}

.article-category {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
    border-top: 1px solid #e2e8f0;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--bg-light-secondary);
    color: var(--text-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    font-family: var(--font-family);
    white-space: nowrap;
}

.read-more-btn:hover {
    color: var(--primary-purple);
    transform: translateX(5px);
}

/* ========================================
   COMING SOON MESSAGE
   ======================================== */

.coming-soon-message {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.coming-soon-message h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.coming-soon-message p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   BLOG CTA SECTION
   ======================================== */

.blog-cta-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.blog-cta-card {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px;
}

.blog-cta-card h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.blog-cta-card p {
    font-size: 1.2rem;
    color: var(--text-gray-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   FILTER ANIMATIONS
   ======================================== */

.blog-article-card.hidden {
    display: none;
}

.blog-article-card.filtering {
    animation: fadeOut 0.3s ease-out;
}

.blog-article-card.showing {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .blog-hero-title {
        font-size: 2.5rem;
    }
    
    .blog-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 40vh;
        padding-top: 80px;
    }
    
    .blog-hero-title {
        font-size: 2rem;
    }
    
    .blog-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .read-more-btn {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.8rem;
    }
    
    .blog-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .coming-soon-icon {
        font-size: 3rem;
    }
    
    .coming-soon-message h3 {
        font-size: 1.5rem;
    }
    
    .blog-cta-card h2 {
        font-size: 1.6rem;
    }
}
