/* Theme Name: Agentic Workspace Ultra / Version: 11.0 */
:root {
    --bg: #05070a; --accent: #3b82f6; --accent-glow: rgba(59, 130, 246, 0.4);
    --text: #f1f5f9; --text-dim: #94a3b8; --border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Sora', sans-serif; --font-body: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

/* HEADER */
.site-header { height: 75px; background: rgba(5, 7, 10, 0.8); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; }
.header-flex { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.home-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--font-heading); font-weight: 800; }
.brand-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }
.brand-text span { color: var(--accent); font-weight: 300; }
.nav-menu { display: flex; list-style: none; gap: 25px; }
.nav-menu a { color: var(--text-dim); text-decoration: none; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* HERO */
.hero { padding: 80px 0 60px; text-align: center; }
.hero-container { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: 600px; max-width: 90%; height: auto; margin-bottom: 25px; filter: drop-shadow(0 0 30px var(--accent-glow)); }
.hero-tagline { font-size: 1.2rem; color: var(--text-dim); max-width: 600px; margin-bottom: 20px; font-weight: 300; }
.hero-status-bar { color: var(--accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: flex; align-items: center; gap: 8px; }
.pulse-icon { width: 6px; height: 6px; background: #10b981; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* GRID */
.agent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 80px; }
.post-card { background: rgba(15, 17, 23, 0.5); border: 1px solid var(--border); border-radius: 20px; padding: 30px; transition: 0.4s; overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--accent); transform: translateY(-8px); box-shadow: 0 15px 35px var(--accent-glow); }
.card-image-wrapper { margin: -30px -30px 20px -30px; height: 200px; overflow: hidden; }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.post-card:hover .card-image { transform: scale(1.1); }
.post-card h2 a { color: #fff; text-decoration: none; font-family: var(--font-heading); }

/* SINGLE POST UI - ENHANCED IMAGE SCALING */
.single-post-layout { display: grid; grid-template-columns: 250px 1fr; gap: 60px; padding: 60px 0; align-items: start; }
.post-sidebar { position: sticky; top: 120px; }
.toc-container { background: rgba(255,255,255,0.02); border: 1px solid var(--border); padding: 20px; border-radius: 12px; }
.toc-title { color: var(--accent); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 15px; }
#toc-list { list-style: none; }
.toc-link { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; display: block; margin-bottom: 10px; transition: 0.3s; }
.toc-link:hover { color: #fff; transform: translateX(5px); }

.full-post { max-width: 800px; width: 100%; }
.entry-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem); margin: 20px 0; line-height: 1.1; }

.featured-image-wrapper { 
    margin: 40px 0; 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid var(--border);
    max-width: 100%;
}

.featured-image { 
    width: 100%; 
    max-width: 100%;
    height: auto; 
    display: block; 
    object-fit: contain;
}

.post-content { font-size: 1.1rem; line-height: 1.8; color: #cbd5e1; width: 100%; }
.post-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 12px; 
    margin: 20px 0; 
}

/* TOOL CARD */
.tool-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 25px; margin: 40px 0; display: flex; justify-content: space-between; align-items: center; }
.tool-btn { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: rgba(255,255,255,0.05); padding: 6px 15px; border-radius: 50px; }
.back-icon-container { width: 20px; height: 20px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.back-icon-container svg { width: 10px; height: 10px; }
.back-text { font-size: 0.7rem; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }

@media (max-width: 1000px) { .single-post-layout { grid-template-columns: 1fr; } .post-sidebar { display: none; } }