/* Static Blog Styles */
:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --purple-400: #a855f7;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --pink-500: #ec4899;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: var(--text-secondary);
    line-height: 1.75;
    min-height: 100vh;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 24px;
}

header nav {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 24px;
    margin-top: auto;
}

footer .footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

footer a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

footer .credits {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    gap: 24px;
}

main {
    flex: 1;
    padding: 48px 24px;
}

.blog-header {
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    color: var(--text-muted);
}

.post-card {
    display: block;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    text-decoration: none;
    transition: background 0.2s;
}

.post-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.post-card .date {
    font-size: 12px;
    color: var(--purple-400);
    margin-bottom: 8px;
}

.post-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.2s;
}

.post-card:hover h2 {
    color: var(--purple-400);
}

.post-card .excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.post-card .read-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
    color: var(--purple-400);
}

article {
    max-width: 768px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    font-size: 14px;
    color: var(--purple-400);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--purple-500);
}

article header {
    border: none;
    padding: 0;
    margin-bottom: 32px;
}

article header .date {
    font-size: 14px;
    color: var(--purple-400);
    margin-bottom: 12px;
}

article header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

article header .excerpt {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.prose {
    color: var(--text-secondary);
    line-height: 1.75;
}

.prose h2 {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.prose h3 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.prose p {
    margin-bottom: 16px;
}

.prose ul,
.prose ol {
    margin: 16px 0;
    padding-left: 24px;
}

.prose li {
    margin-bottom: 8px;
}

.prose li::marker {
    color: var(--purple-400);
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.prose a {
    color: var(--purple-400);
    text-decoration: none;
    transition: color 0.2s;
}

.prose a:hover {
    color: var(--purple-500);
}

.prose a .external {
    font-size: 12px;
    margin-left: 4px;
}

.cta-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed 0%, #a855f7 100%);
}

.cta-card strong {
    display: block;
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 8px;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.cta-card .cta-button {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-card .cta-button:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.article-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    article header h1 {
        font-size: 26px;
    }

    .prose h2 {
        font-size: 22px;
    }

    .prose h3 {
        font-size: 18px;
    }
}