@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --bg: #ffffff;
    --bg-secondary: #f9fafb; /* 조금 더 부드러운 회색으로 조정 */
    --text: #111827; /* 가독성을 위해 조금 더 깊은 블랙 */
    --text-muted: #4b5563;
    /* 🎯 제국 상징색: 인디고 블루 동기화 */
    --accent: #4f46e5; 
    --accent-hover: #4338ca;
    --border: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --max-width: 900px; /* AI 허브로서 조금 더 시원한 가로폭 */
}

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

body {
    /* 🎯 영문 Inter + 국문 Noto Sans 조합으로 테크 감성 극대화 */
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

/* Header - 사령탑의 위엄 */
.site-header {
    background: #111827; /* 짙은 차콜로 고급스러움 강조 */
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-size: 1.4rem; font-weight: 800; color: white; text-decoration: none; letter-spacing: -0.05em; }
.site-nav a { color: #d1d5db; text-decoration: none; font-size: 0.9rem; font-weight: 500; margin-left: 24px; transition: color 0.2s; }
.site-nav a:hover { color: var(--accent); }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Main */
main { padding: 48px 0 80px; min-height: 70vh; }

/* Post list - 지식의 목록 */
.post-list { list-style: none; }
.post-item { padding: 32px 0; border-bottom: 1px solid var(--border); transition: all 0.2s; }
.post-item:hover { transform: translateX(5px); } /* 리스트 호버 시 미세한 움직임 */
.post-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.post-title a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.post-title a:hover { color: var(--accent); }
.post-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.post-meta .category { background: #4f46e51a; color: var(--accent); padding: 2px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }
.post-desc { color: #4b5563; font-size: 0.95rem; line-height: 1.6; }

/* Single post - 지식의 본문 */
article h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 16px; letter-spacing: -0.03em; }
article .featured-image { width: 100%; max-height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 40px; box-shadow: var(--card-shadow); }
article h2 { margin-top: 50px; margin-bottom: 20px; font-size: 1.6rem; color: var(--text); border-left: 5px solid var(--accent); padding-left: 16px; }
article h3 { margin-top: 40px; margin-bottom: 15px; font-size: 1.3rem; color: var(--text); font-weight: 700; }
article p { margin-bottom: 24px; font-size: 1.05rem; }
article blockquote { border-left: 4px solid var(--accent); padding: 20px 25px; margin: 32px 0; background: #f9fafb; border-radius: 0 12px 12px 0; font-style: italic; color: #374151; }

/* Footer - 제국의 끝 */
.site-footer { background: #f3f4f6; padding: 48px 0; text-align: center; color: #6b7280; font-size: 0.88rem; border-top: 1px solid var(--border); }
.site-footer a { color: #4b5563; text-decoration: none; margin: 0 12px; font-weight: 500; }
.site-footer a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 640px) {
    .site-header .container { flex-direction: column; gap: 15px; text-align: center; }
    .site-nav a { margin: 0 8px; }
    article h1 { font-size: 1.75rem; }
}