:root {
    --primary-color: #4f46e5;
    --secondary-color: #ec4899;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.2), transparent 50%),
                radial-gradient(circle at bottom left, rgba(236, 72, 153, 0.2), transparent 50%);
    position: relative;
}

nav {
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav a:hover {
    color: #fff;
}

nav a:hover::after {
    width: 100%;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Sections */
section {
    padding: 6rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* À propos */
.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
}

.about-content img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.description p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Compétences */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79,70,229,0.2);
    border-color: rgba(79,70,229,0.3);
}

.skill-category ul, .skill-category ol {
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.skill-category li {
    margin-bottom: 1rem;
    position: relative;
}

.skill-category li::marker {
    color: var(--secondary-color);
}

/* Parcours (Table) */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

caption {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: left;
}

th, td {
    padding: 1.5rem;
    text-align: left;
}

th {
    background: rgba(0,0,0,0.2);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

td {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

tbody tr {
    transition: var(--transition);
}

tbody tr:hover {
    background: rgba(255,255,255,0.03);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Footer & Socials */
footer {
    background: #0b1120;
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links a {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

