/* dev-blog.css - Final Combined Master Version */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;700&display=swap');

:root {
    --bg-deep: #051014;
    --accent-cyan: #00F2EA;
    --text-main: #E0F7FA;
    --text-muted: #6C8D9B;
    --card-bg: #0B1E27;
}

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

body { 
    background-color: var(--bg-deep); 
    color: var(--text-main); 
    font-family: 'Outfit', sans-serif; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: var(--bg-deep);
    border-bottom: 1px solid rgba(0, 242, 234, 0.1);
}

.nav-brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.logo-icon { height: 35px; width: auto; }
.logo-text { color: #fff; font-weight: 700; font-size: 1.2rem; }

.nav-cta {
    background: var(--accent-cyan);
    color: var(--bg-deep) !important;
    text-decoration: none !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-cta:hover { transform: scale(1.05); }

/* --- MAIN CONTAINER --- */
.blog-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 4rem 6%;
    background-color: var(--card-bg);
    border-radius: 40px;
    border: 1px solid rgba(0, 242, 234, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.back-link { 
    color: var(--accent-cyan); 
    text-decoration: none; 
    font-size: 0.9rem; 
    margin-bottom: 2rem; 
    display: inline-block; 
    font-weight: 600;
}

.date { 
    color: var(--accent-cyan); 
    font-weight: 700;
    font-size: 0.85rem; 
    display: block;
    margin-bottom: 1rem;
    font-family: monospace;
}

h1 {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #fff;
}

/* --- ARTICLE CONTENT --- */
.content p { margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-main); }

.content img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    margin: 2rem 0;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 700;
    background: rgba(0, 242, 234, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* --- FOOTER (Matched to Stuffrite Centering) --- */
footer {
    padding: 4rem 8%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center; /* This is the Stuffrite centering logic */
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover { color: var(--accent-cyan) !important; }

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .blog-container { margin: 2rem 1rem; padding: 2.5rem 1.5rem; }
    footer { padding: 3rem 8%; }
    .footer-links { gap: 15px; }
}