* { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
body { margin: 0; padding: 0; background: white; min-height: 100vh; }

.hero-gradient { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-content { position: relative; z-index: 1; }

.project-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.writing-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.writing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 3rem;
}

.workshop-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.profile-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.metric-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 16px;
    color: white;
    font-weight: 500;
}

.footer-gradient {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.5);
}

.blog-header-bar { position: fixed; top: 0; left: 0; width: 100vw; z-index: 100; background: white; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.blog-header-bar-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; height: 64px; padding: 0 24px; }

.blog-container { display: flex; max-width: 1200px; margin: 0 auto; gap: 80px; padding: 80px 20px 40px 20px; }
.blog-main { flex: 1; max-width: 760px; }
.blog-sidebar { width: 280px; padding: 0; margin-left: auto; }

.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-item { padding: 24px 0; border-bottom: 1px solid #e5e7eb; }
.blog-item:last-child { border-bottom: none; }
.blog-item h3 { margin: 0 0 8px 0; font-size: 1.4rem; font-weight: 600; color: #111; line-height: 1.3; }
.blog-item h3 a { color: #111; text-decoration: none; }
.blog-item h3 a:hover { color: #3b82f6; }
.blog-item .meta { color: #666; font-size: 0.9rem; margin-bottom: 8px; }
.blog-item .excerpt { color: #555; line-height: 1.5; margin-bottom: 12px; }
.blog-item .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-item .tag { background: #f3f4f6; color: #374151; padding: 2px 8px; border-radius: 12px; font-size: 0.8rem; }

.blog-item-inner { display: flex; gap: 16px; }
.blog-item-image { width: 200px; height: 140px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #f8fafc; }
.blog-item-content { flex: 1; }

.categories { background: #f8fafc; padding: 10px; border-radius: 8px; margin-bottom: 20px; }
.categories h3 { margin: 0 0 16px 0; font-size: 1.1rem; font-weight: 600; }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-item { margin-bottom: 8px; }
.category-link { color: #666; text-decoration: none; font-size: 0.9rem; }
.category-link:hover { color: #3b82f6; }
.category-count { color: #999; font-size: 0.8rem; margin-left: 4px; }

.blog-layout { display: flex; max-width: 1400px; margin-left: auto; margin-right: auto; background: white; min-height: 100vh; padding: 80px 24px 0 24px; justify-content: center; }
.sidebar { width: 240px; background: white; padding: 48px 12px 28px 12px; border-left: 1px solid #e5e7eb; position: sticky; top: 80px; height: calc(100vh - 80px); overflow-y: auto; order: 2; }
.main-content { flex: 1; padding: 48px 28px 28px 28px; max-width: 1000px; }

.blog-header { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid #e5e7eb; }
.blog-title { font-size: 2.5rem; font-weight: 700; color: #111; margin: 0 0 16px 0; line-height: 1.2; }
.blog-subtitle { font-size: 1.25rem; color: #666; margin: 0 0 20px 0; line-height: 1.4; }
.blog-meta { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.blog-date { color: #666; font-size: 0.95rem; }
.tags { display: flex; flex-wrap: gap; gap: 8px; }
.tag { background: #f3f4f6; color: #374151; padding: 4px 12px; border-radius: 16px; font-size: 0.85rem; font-weight: 500; }

.blog-content { line-height: 1.7; color: #333; }
.blog-content h1 { font-size: 2rem; color: #111; margin: 40px 0 20px 0; font-weight: 600; }
.blog-content h2 { font-size: 1.5rem; color: #111; margin: 32px 0 16px 0; font-weight: 600; }
.blog-content h3 { font-size: 1.25rem; color: #111; margin: 28px 0 14px 0; font-weight: 600; }
.blog-content p { margin-bottom: 20px; font-size: 1rem; }
.blog-content ul, .blog-content ol { margin: 16px 0; padding-left: 24px; }
.blog-content ul { list-style-type: disc; }
.blog-content ol { list-style-type: decimal; }
.blog-content li { margin-bottom: 8px; }
.blog-content a { color: #3b82f6; text-decoration: none; }
.blog-content a:hover { text-decoration: underline; }

.toc-title { font-size: 1.1rem; font-weight: 600; color: #111; margin-bottom: 20px; }
.toc-item { display: block; padding: 6px 0; color: #666; text-decoration: none; font-size: 0.9rem; border-radius: 4px; }
.toc-item:hover { color: #3b82f6; background: #f8fafc; }
.toc-h2 { margin-left: 0px; }
.toc-h3 { margin-left: 16px; }
.toc-h4 { margin-left: 32px; }
.back-link { color: #3b82f6; font-weight: 500; margin-bottom: 24px; display: block; }
.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .blog-container { flex-direction: column; padding: 80px 20px 40px 20px; }
    .blog-sidebar { order: -1; }
    .blog-layout { flex-direction: column; padding: 80px 20px 0 20px; }
    .sidebar { width: 100%; height: auto; position: relative; order: 1; padding: 32px 20px 20px 20px; top: 0; }
    .main-content { order: 2; padding: 32px 20px 20px 20px; }
    .blog-title { font-size: 2rem; }
    .blog-header-bar-inner { padding: 0 12px; height: 56px; }
}
