:root {
    --bg: #fafafa;
    --bg-alt: #fff;
    --bg-subtle: #f5f5f5;
    --text: #1a1a1a;
    --text-light: #525252;
    --text-muted: #8b8b8b;
    --border: #e5e5e5;
    --accent: #2563eb;
    --accent-bg: rgba(37, 99, 235, 0.08);
    --accent-border: rgba(37, 99, 235, 0.2);
    --success: #059669;
    --radius: 8px;
    --font: 'Roboto', -apple-system, sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg: #111;
    --bg-alt: #1a1a1a;
    --bg-subtle: #222;
    --text: #e5e5e5;
    --text-light: #a3a3a3;
    --text-muted: #6b6b6b;
    --border: #2a2a2a;
    --accent: #3b82f6;
    --accent-bg: rgba(59, 130, 246, 0.12);
    --accent-border: rgba(59, 130, 246, 0.3);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.025em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
    transition: all 0.2s;
}

.hidden {
    display: none !important;
}

/* Login Screen */
.login-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index: 1000;
}

.login-box {
    max-width: 380px;
    padding: 2.5rem;
    text-align: center;
}

.login-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.login-greeting {
    margin-bottom: 1.5rem;
}

.login-greeting .name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    display: block;
    margin-top: 0.25rem;
}

.login-input {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.25em;
    transition: border-color 0.2s;
}

.login-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.login-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius);
    transition: background-color 0.2s, transform 0.1s;
}

.login-btn:hover {
    background: color-mix(in srgb, var(--accent) 90%, black);
}

.login-btn:active {
    transform: translateY(1px);
}

.login-error {
    margin-top: 1rem;
    padding: 0.75rem;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border-radius: var(--radius);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Transition Overlay */
.transition-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    pointer-events: none;
    z-index: 2000;
}

.transition-slice {
    flex: 1;
    background: var(--text);
    transform: scaleY(0);
    transform-origin: bottom;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 0.5rem;
}

.nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.nav-btn:hover {
    background: var(--bg-subtle);
    color: var(--text);
}

.nav-btn.active {
    color: var(--accent);
    background: var(--accent-bg);
    box-shadow: var(--shadow-sm);
}

.theme-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: background-color 0.2s;
}

.theme-btn:hover {
    background: var(--bg-subtle);
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="light"] .icon-moon {
    display: none;
}

/* Main App */
.main-app {
    opacity: 0;
    transition: opacity 0.4s;
}

.main-app.visible {
    opacity: 1;
}

.main-content {
    margin-top: 60px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.section {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading & Error States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

/* Introduction */
.intro {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.intro-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
    font-weight: 500;
}

.intro-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-md);
}

.intro-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.intro-section {
    margin-bottom: 1.5rem;
}

.intro-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.intro-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.2s;
}

.intro-tag:hover {
    border-color: var(--accent-border);
    background: var(--accent-bg);
}

.intro-tag.value {
    font-style: italic;
    color: var(--accent);
    border-color: var(--accent-border);
    background: var(--accent-bg);
}

.intro-qualities {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.intro-name {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.intro-role {
    color: var(--text-light);
    font-size: 1rem;
}

.intro-bio {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.intro-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.intro-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.intro-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.intro-link svg {
    width: 16px;
    height: 16px;
}

.intro-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Projects Layout */
.projects-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    min-height: calc(100vh - 140px);
}

.projects-sidebar {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.sidebar-header {
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-subtle);
}

.projects-list {
    padding: 0.5rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Project Items - Frame blue au lieu de fond bleu */
.project-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.project-item:hover {
    background: var(--bg-subtle);
    border-color: var(--accent-border);
}

.project-item.active {
    border-color: var(--accent);
    background: transparent;
    box-shadow: 0 0 0 1px var(--accent-border);
}

.project-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: 6px;
    font-size: 1.125rem;
}

.project-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.project-item-info {
    flex: 1;
    min-width: 0;
}

.project-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.subprojects {
    margin-left: 1rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
}

/* Project Detail */
.project-detail {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    min-height: calc(100vh - 200px);
}

.project-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: var(--text-muted);
    font-style: italic;
}

.project-header-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-header-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    font-size: 1.75rem;
}

.project-header-icon .icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.project-tagline {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* Nouveaux liens pour site et code source */
.project-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.2s;
}

.project-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-bg);
}

.project-link svg {
    width: 14px;
    height: 14px;
}

.project-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.badge {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    background: var(--bg-subtle);
    color: var(--text-light);
}

.badge.green {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.badge.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-field-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.project-field-value {
    font-size: 0.9rem;
    font-weight: 500;
}

.project-section {
    margin-top: 1.5rem;
}

.project-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.project-desc {
    color: var(--text-light);
    line-height: 1.7;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    background: var(--bg-subtle);
    border-radius: 4px;
    color: var(--text-light);
}

.tech-tag.lang {
    border-left: 2px solid var(--success);
}

.tech-tag.fw {
    border-left: 2px solid var(--accent);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.member-card:hover {
    transform: translateY(-2px);
}

.member-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-light);
}

.member-name {
    font-size: 0.9rem;
    font-weight: 500;
}

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

.project-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.action-btn svg {
    flex-shrink: 0;
}

.action-btn.primary {
    color: #fff;
    background: var(--accent);
}

.action-btn.primary:hover {
    background: color-mix(in srgb, var(--accent) 90%, black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn.secondary {
    color: var(--text);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
}

.action-btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
}

/* Source View */
.source-view {
    padding: 1.5rem;
}

.source-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.source-back:hover {
    background: var(--bg-subtle);
    color: var(--text);
}

.code-block {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.code-header {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
    font-family: 'Roboto Mono', monospace;
    color: var(--text-light);
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.85rem;
    font-family: 'Roboto Mono', monospace;
}

/* Graph Sections */
.graph-section {
    min-height: calc(100vh - 140px);
}

.graph-container {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: calc(100vh - 180px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.graph-header {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.graph-title {
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--bg-alt);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.graph-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    display: flex;
    gap: 0.25rem;
}

.graph-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    transition: all 0.2s;
}

.graph-btn:hover {
    background: var(--bg-subtle);
    color: var(--text);
}

.graph-svg {
    width: 100%;
    height: 100%;
}

.timeline-line {
    stroke: var(--border);
    stroke-width: 2;
}

.timeline-node {
    cursor: pointer;
}

.timeline-node circle {
    fill: var(--bg-alt);
    stroke: var(--border);
    stroke-width: 2;
    transition: all 0.2s;
}

.timeline-node:hover circle {
    stroke: var(--accent);
    fill: var(--accent-bg);
    transform: scale(1.1);
}

.timeline-node.active circle {
    fill: var(--accent);
    stroke: var(--accent);
}

.timeline-node text {
    font-family: var(--font);
    font-size: 13px;
    fill: var(--text);
}

.timeline-node .node-date {
    font-size: 11px;
    fill: var(--text-muted);
}

.timeline-node.active .node-label {
    fill: var(--accent);
    font-weight: 600;
}

.timeline-year {
    font-family: var(--font);
    font-size: 11px;
    fill: var(--text-muted);
}

.graph-panel {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 360px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    z-index: 20;
    box-shadow: var(--shadow-md);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.panel-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border-radius: 4px;
    transition: background-color 0.2s;
}

.panel-close:hover {
    background: var(--bg-subtle);
    color: var(--text);
}

.panel-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    padding-right: 2rem;
}

.panel-date {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.panel-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.panel-details {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.panel-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.375rem 0;
    font-size: 0.85rem;
}

.panel-detail-label {
    color: var(--text-muted);
}

.panel-detail-value {
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.skills-header {
    margin-bottom: 2rem;
}

.skills-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.skills-subtitle {
    color: var(--text-light);
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.skill-card {
    padding: 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s;
}

.skill-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ajout du nombre de projets */
.project-count {
    font-size: 0.75rem;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: var(--bg-subtle);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.skill-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.certs-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.certs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.cert-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    border-radius: var(--radius);
    color: var(--accent);
    font-weight: 600;
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }
    
    .projects-sidebar {
        max-height: 250px;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 1rem;
    }
    
    .nav {
        gap: 0.25rem;
    }
    
    .nav-btn {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .intro-header {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .graph-panel {
        left: 1rem;
        right: 1rem;
        width: auto;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
    
    .certs-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .intro-links {
        justify-content: center;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}