/* Blog-specific styles */

/* Navigation */
.blog-nav {
    background: #1a1a2e;
    padding: 1rem 0;
    border-bottom: 1px solid #2d2d44;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00d4ff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: #00d4ff;
}

.nav-links a.active {
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

/* Blog Header */
.blog-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid #2d2d44;
}

.blog-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-tagline {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Main */
.blog-main {
    padding: 4rem 0;
    min-height: 60vh;
}

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

/* Blog Cards */
.blog-card {
    background: #1e1e2e;
    border: 1px solid #2d2d44;
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: #00d4ff;
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.1);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-meta time {
    color: #888;
}

.blog-category {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card h2 a:hover {
    color: #00d4ff;
}

.blog-excerpt {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-read-more {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
    display: inline-block;
}

.blog-read-more:hover {
    gap: 0.5rem;
}

/* Individual Blog Post */
.blog-post {
    padding: 2rem 0 4rem;
}

.post-container {
    max-width: 800px;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #2d2d44;
}

.post-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.post-meta time {
    color: #888;
}

.post-category {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.post-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.post-lead {
    font-size: 1.25rem;
    color: #b0b0b0;
    line-height: 1.6;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #00d4ff;
}

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

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

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

.post-content strong {
    color: #00d4ff;
    font-weight: 600;
}

.post-content blockquote {
    border-left: 4px solid #00d4ff;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 212, 255, 0.05);
    font-style: italic;
    color: #e0e0e0;
}

.post-content code {
    background: #2d2d44;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #00d4ff;
}

.post-content pre {
    background: #1e1e2e;
    border: 1px solid #2d2d44;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.post-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9em;
    line-height: 1.6;
    color: #e0e0e0;
    display: block;
}

/* Post CTA */
.post-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border: 1px solid #00d4ff;
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.post-cta p {
    margin-bottom: 1rem;
}

.post-cta p:last-child {
    margin-bottom: 0;
}

.post-cta a {
    color: #00d4ff;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.post-cta a:hover {
    opacity: 0.8;
}

/* Post Footer */
.post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #2d2d44;
}

.post-footer a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.post-footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

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

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }
}
