/* Blog Hero Section */
.blog-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10rem 0 6rem;
    background: var(--darker-gray);
}

.blog-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.blog-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--light-blue);
    opacity: 0.1;
    filter: blur(40px);
}

.blog-particle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation: floatParticle 15s ease-in-out infinite;
}

.blog-particle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation: floatParticle 20s ease-in-out infinite reverse;
}

.blog-particle-3 {
    width: 250px;
    height: 250px;
    bottom: 20%;
    left: 20%;
    animation: floatParticle 18s ease-in-out infinite;
}

.blog-particle-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 30%;
    animation: floatParticle 22s ease-in-out infinite reverse;
}

.blog-particle-5 {
    width: 220px;
    height: 220px;
    bottom: 40%;
    right: 10%;
    animation: floatParticle 16s ease-in-out infinite;
}

.blog-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.blog-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
}

.blog-hero-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.blog-title-main {
    color: var(--text-primary);
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
}

.blog-title-accent {
    background: linear-gradient(135deg, var(--light-blue) 0%, rgba(0, 212, 255, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.6em;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    opacity: 0.9;
}

.blog-hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--light-blue) 50%, transparent 100%);
    margin: 2rem auto 3rem;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.blog-hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-weight: 400;
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.blog-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem 2.5rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
}

.blog-stat:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.2),
                0 0 0 1px rgba(0, 212, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.blog-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Blog Posts Section */
.blog-posts {
    padding: 4rem 0;
    min-height: 60vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Blog Card */
.blog-card {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    will-change: transform;
    cursor: pointer;
}

.blog-card:hover {
    transform: translate3d(0, -8px, 0);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2),
                0 0 0 1px rgba(0, 212, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.2) 0%, 
        rgba(0, 212, 255, 0.1) 50%,
        rgba(42, 42, 42, 0.8) 100%);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(42, 42, 42, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(0, 212, 255, 0.3);
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-category {
    color: var(--light-blue);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-title {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.blog-read-more:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.blog-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.blog-read-more:hover::after {
    transform: translateX(4px);
}

/* Empty State */
.blog-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.blog-empty-state h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.blog-empty-state p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Article Page Styles */
.article-page {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-blue);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.article-back-link:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.article-category {
    color: var(--light-blue);
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(0, 212, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 800px;
}

.article-image {
    width: 100%;
    height: 400px;
    margin: 3rem 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.2) 0%, 
        rgba(0, 212, 255, 0.1) 50%,
        rgba(42, 42, 42, 0.8) 100%);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 2.5rem 0 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

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

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

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content code {
    background: rgba(0, 212, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--light-blue);
}

.article-content pre {
    background: rgba(26, 26, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        min-height: 75vh;
        padding: 8rem 0 4rem;
    }

    .blog-hero-title {
        font-size: 4.5rem;
        letter-spacing: -2px;
    }

    .blog-title-accent {
        font-size: 0.5em;
        letter-spacing: 4px;
    }

    .blog-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .blog-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .blog-stat {
        width: 100%;
        max-width: 280px;
        padding: 1.5rem 2rem;
    }

    .blog-stat-number {
        font-size: 2rem;
    }

    .blog-hero-divider {
        width: 80px;
        margin: 1.5rem auto 2rem;
    }
}

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 1.25rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-image {
        height: 250px;
    }

    .article-content {
        font-size: 1rem;
        padding: 2rem 0;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}

