/* CSS Variables */
:root {
    --primary: #050816;
    --secondary: #0a0f2c;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --cyan: #22d3ee;
    --emerald: #34d399;
    --rose: #fb7185;
    --amber: #fbbf24;
    --violet: #a78bfa;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--primary);
    color: var(--slate-300);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 6s ease infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gold-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 4s ease infinite;
}

/* Glass Effect */
.glass {
    background: rgba(10, 15, 44, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.glass-card {
    background: linear-gradient(135deg, rgba(10,15,44,0.8), rgba(20,25,60,0.6));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99,102,241,0.2);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

.glass-card:hover {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 30px rgba(99,102,241,0.15), 0 20px 60px rgba(0,0,0,0.3);
    transform: translateY(-5px);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s;
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 15, 44, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(99,102,241,0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-links a {
    color: var(--slate-300);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--cyan);
    background: rgba(255,255,255,0.05);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-300);
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    border-top: 1px solid rgba(99,102,241,0.2);
    padding: 16px;
    gap: 8px;
}

.mobile-menu a {
    color: var(--slate-300);
    text-decoration: none;
    padding: 12px 24px;
    transition: all 0.3s;
}

.mobile-menu a:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(99,102,241,0.4) 0%, rgba(34,211,238,0.4) 100%);
    border-radius: 8px;
}

.mobile-menu a:hover::before {
    content: '▸';
    margin-right: 8px;
    color: var(--cyan);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .mobile-menu.active { 
        display: flex; 
        background: #0a0f2c;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
    }
}

.hero-text {
    text-align: center;
    flex: 1;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    background: rgba(10,15,44,0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6,182,212,0.2);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.availability-badge span {
    color: var(--cyan);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #ffffff;
}

.hero h1 .gradient-text {
    color: #ffffff;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.name-sub {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (min-width: 640px) {
    .name-sub {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .name-sub {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 32px;
    max-width: 500px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 32px;
    border: 1px solid rgba(99,102,241,0.4);
    color: var(--accent-light);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(99,102,241,0.1);
}

/* Hero Avatar */
.hero-avatar {
    position: relative;
    flex-shrink: 0;
    width: 180px;
    height: 180px;
}

@media (min-width: 640px) {
    .hero-avatar {
        width: 208px;
        height: 208px;
    }
}

@media (min-width: 768px) {
    .hero-avatar {
        width: 256px;
        height: 256px;
    }
}

@media (min-width: 1024px) {
    .hero-avatar {
        width: 288px;
        height: 288px;
    }
}

.avatar-ring {
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    border: 2px dashed rgba(99,102,241,0.3);
    animation: spin 20s linear infinite;
}

.ring-2 {
    inset: -32px;
    border: 1px solid rgba(34,211,238,0.15);
    animation-direction: reverse;
    animation-duration: 30s;
}

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

.avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99,102,241,0.3), rgba(34,211,238,0.2), rgba(167,139,250,0.3));
    filter: blur(20px);
    transform: scale(1.1);
}

.avatar-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid;
    border-color: transparent;
    background: linear-gradient(var(--secondary), var(--secondary)) padding-box,
                linear-gradient(135deg, #6366f1, #22d3ee, #a78bfa) border-box;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99,102,241,0.3), 0 0 60px rgba(99,102,241,0.1); }
    50% { box-shadow: 0 0 40px rgba(99,102,241,0.5), 0 0 80px rgba(99,102,241,0.2); }
}

.avatar-letter {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 640px) {
    .avatar-letter {
        font-size: 5rem;
    }
}

@media (min-width: 768px) {
    .avatar-letter {
        font-size: 6rem;
    }
}

@media (min-width: 1024px) {
    .avatar-letter {
        font-size: 7rem;
    }
}

.avatar-sub {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.8;
    letter-spacing: 0.3em;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .avatar-sub {
        font-size: 1.25rem;
    }
}

@media (min-width: 768px) {
    .avatar-sub {
        font-size: 1.5rem;
    }
}

.badge-phd {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--emerald), var(--cyan));
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(52,211,153,0.3);
}

@media (min-width: 768px) {
    .badge-phd {
        bottom: -4px;
        right: 8px;
    }
}

.badge-brevet {
    position: absolute;
    top: -8px;
    left: -8px;
    background: linear-gradient(135deg, var(--amber), #f97316);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 15px rgba(251,191,36,0.3);
}

@media (min-width: 768px) {
    .badge-brevet {
        top: 8px;
        left: -8px;
    }
}

/* Contact Pills */
.contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: default;
}

.pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-icon.loc { background: linear-gradient(135deg, #f43f5e, #ec4899); }
.pill-icon.phone { background: linear-gradient(135deg, var(--emerald), #14b8a6); }
.pill-icon.email { background: linear-gradient(135deg, var(--accent), var(--violet)); }

.pill-icon::before {
    content: '';
    width: 12px;
    height: 12px;
    background: white;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

.pill-icon.loc::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.pill-icon.phone::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E"); }
.pill-icon.email::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E"); }

.pill span {
    color: var(--slate-300);
    font-size: 0.875rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    justify-content: center;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(99,102,241,0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 6px;
    height: 12px;
    background: var(--cyan);
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Section Styles */
.section {
    padding: 80px 24px;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .section {
        padding: 120px 32px;
    }
}

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

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.title-badge svg {
    width: 18px;
    height: 18px;
    color: var(--cyan);
}

.title-badge span {
    color: var(--cyan);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
}

/* Profil Section */
.profile-card {
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .profile-card {
        padding: 48px;
    }
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.profile-card p {
    color: var(--slate-300);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.profile-card p:last-child {
    margin-bottom: 0;
}

.highlight-cyan {
    color: var(--cyan);
    font-weight: 600;
}

.highlight-indigo {
    color: var(--accent-light);
    font-weight: 600;
}

.highlight-violet {
    color: var(--violet);
    font-weight: 600;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.stat-card {
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.stat-icon.ind { background: linear-gradient(135deg, var(--accent), var(--violet)); }
.stat-icon.amber { background: linear-gradient(135deg, var(--amber), #f97316); }
.stat-icon.cyan { background: linear-gradient(135deg, var(--cyan), #06b6d4); }
.stat-icon.rose { background: linear-gradient(135deg, var(--rose), #ec4899); }

.stat-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: white;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.stat-icon.ind::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath d='M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253'/%3E%3C/svg%3E"); }
.stat-icon.amber::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z'/%3E%3C/svg%3E"); }
.stat-icon.cyan::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 00-2-2h-4a2 2 0 00-2 2v16'/%3E%3C/svg%3E"); }
.stat-icon.rose::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Crect x='4' y='4' width='16' height='16' rx='2'/%3E%3Cpath d='M9 9h.01M15 9h.01M9 15h.01M15 15h.01'/%3E%3C/svg%3E"); }

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

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

/* Brevet Section */
.brevet-card {
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.brevet-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    border-radius: 9999px;
    margin-bottom: 16px;
}

.brevet-badge svg {
    width: 18px;
    height: 18px;
    color: var(--amber);
}

.brevet-badge span {
    color: var(--amber);
    font-size: 0.875rem;
    font-weight: 600;
}

.brevet-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .brevet-card h3 {
        font-size: 2rem;
    }
}

.brevet-card p {
    color: var(--cyan);
    opacity: 0.7;
}

.features-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border-radius: 16px;
    padding: 32px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon.cyan { background: linear-gradient(135deg, var(--cyan), #3b82f6); }
.feature-icon.violet { background: linear-gradient(135deg, var(--violet), #a855f7); }
.feature-icon.amber { background: linear-gradient(135deg, var(--amber), #f97316); }

.feature-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background: white;
    mask-size: contain;
    -webkit-mask-size: contain;
}

.feature-icon.cyan::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); }
.feature-icon.violet::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
.feature-icon.amber::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--slate-400);
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.job-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.job-color.cyan { background: linear-gradient(to bottom, var(--cyan), #3b82f6); }
.job-color.violet { background: linear-gradient(to bottom, var(--violet), #a855f7); }
.job-color.emerald { background: linear-gradient(to bottom, var(--emerald), #14b8a6); }

.job-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding-left: 24px;
}

@media (min-width: 768px) {
    .job-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.job-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.company {
    color: var(--cyan);
    font-weight: 500;
}

.period {
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.period.cyan-grad { background: linear-gradient(135deg, var(--cyan), #3b82f6); color: white; }
.period.violet-grad { background: linear-gradient(135deg, var(--violet), #a855f7); color: white; }
.period.emerald-grad { background: linear-gradient(135deg, var(--emerald), #14b8a6); color: white; }

.job-tasks {
    list-style: none;
    padding-left: 24px;
}

.job-tasks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.job-tasks li::before {
    content: '→';
    color: var(--cyan);
    flex-shrink: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    border-radius: 24px;
    overflow: hidden;
}

.project-header {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.project-header.ind { background: linear-gradient(135deg, var(--accent), #7c3aed); }
.project-header.cyan { background: linear-gradient(135deg, var(--cyan), #2563eb); }
.project-header.amber { background: linear-gradient(135deg, var(--amber), #ea580c); }
.project-header.emerald { background: linear-gradient(135deg, var(--emerald), #0d9488); }

.project-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.1;
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.project-header > div {
    flex: 1;
    position: relative;
    z-index: 1;
}

.project-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.project-header p {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

.project-decor {
    position: absolute;
    top: 16px;
    right: 16px;
    opacity: 0.3;
}

.project-decor svg {
    width: 48px;
    height: 48px;
    color: white;
}

.project-body {
    padding: 24px;
    margin-top: -12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

.status-badge.emerald {
    color: var(--emerald);
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.2);
}

.status-badge.cyan {
    color: var(--cyan);
    background: rgba(34,211,238,0.1);
    border: 1px solid rgba(34,211,238,0.2);
}

.status-badge.amber {
    color: var(--amber);
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
}

.project-body p {
    color: var(--slate-300);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--slate-300);
    margin-bottom: 8px;
}

.features-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--slate-300);
}

/* Degrees Grid */
.degrees-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .degrees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.degree-card {
    border-radius: 16px;
    overflow: hidden;
}

.degree-header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.degree-header.ind { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.degree-header.cyan { background: linear-gradient(135deg, #0891b2, #2563eb); }
.degree-header.emerald { background: linear-gradient(135deg, #059669, #0d9488); }

.degree-icon {
    font-size: 2rem;
}

.degree-year {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    opacity: 0.8;
}

.degree-body {
    padding: 24px;
}

.degree-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.degree-school {
    color: var(--cyan);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.degree-detail {
    color: var(--slate-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.skill-card {
    border-radius: 16px;
    padding: 24px;
}

.skill-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.skill-icon.ind { background: linear-gradient(135deg, var(--accent), var(--violet)); }
.skill-icon.cyan { background: linear-gradient(135deg, var(--cyan), #3b82f6); }
.skill-icon.emerald { background: linear-gradient(135deg, var(--emerald), #14b8a6); }
.skill-icon.amber { background: linear-gradient(135deg, var(--amber), #f97316); }
.skill-icon.violet { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

.skill-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.skill-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate-300);
    font-size: 0.875rem;
    margin-bottom: 10px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot.ind { background: linear-gradient(135deg, var(--accent), var(--violet)); }
.dot.cyan { background: linear-gradient(135deg, var(--cyan), #3b82f6); }
.dot.emerald { background: linear-gradient(135deg, var(--emerald), #14b8a6); }
.dot.amber { background: linear-gradient(135deg, var(--amber), #f97316); }
.dot.violet { background: linear-gradient(135deg, #8b5cf6, #a855f7); }

/* Certifications */
.certifications {
    border-radius: 24px;
    padding: 32px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .certifications {
        padding: 40px;
    }
}

.cert-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--amber), #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.cert-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cert-badge {
    padding: 10px 20px;
    border-radius: 9999px;
    background: rgba(10,15,44,0.6);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--slate-300);
    font-size: 0.875rem;
    transition: all 0.3s;
}

.cert-badge:hover {
    border-color: rgba(34,211,238,0.5);
    color: var(--cyan);
}

/* Extra Info */
.extra-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 768px) {
    .extra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lang-card, .hobbies-card {
    border-radius: 16px;
    padding: 32px;
}

.lang-card h3, .hobbies-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.lang-card h3 svg, .hobbies-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--cyan);
}

.hobbies-card h3 svg {
    color: var(--amber);
}

.lang-item {
    margin-bottom: 20px;
}

.lang-item:last-child {
    margin-bottom: 0;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.lang-info span:first-child {
    color: white;
    font-weight: 500;
}

.lang-info span:last-child {
    color: var(--slate-400);
    font-size: 0.875rem;
}

.skill-bar {
    height: 6px;
    background: rgba(99,102,241,0.15);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}

.hobbies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hobby-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}

.hobby-item:hover {
    border-color: rgba(99,102,241,0.3);
    transform: translateX(8px);
}

.hobby-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.hobby-icon.ind { background: linear-gradient(135deg, var(--accent), var(--cyan)); color: white; }
.hobby-icon.cyan { background: linear-gradient(135deg, var(--cyan), #3b82f6); color: white; }
.hobby-icon.amber { background: linear-gradient(135deg, var(--amber), #f97316); color: white; }

.hobby-item span {
    color: var(--slate-300);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.contact-card {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.emerald { background: linear-gradient(135deg, var(--emerald), #14b8a6); }
.contact-icon.ind { background: linear-gradient(135deg, var(--accent), var(--violet)); }
.contact-icon.cyan { background: linear-gradient(135deg, var(--cyan), #3b82f6); }
.contact-icon.rose { background: linear-gradient(135deg, var(--rose), #ec4899); }

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-card .label {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.contact-card .value {
    color: white;
    font-weight: 500;
    word-break: break-all;
}

/* Footer */
footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(99,102,241,0.1);
    position: relative;
    z-index: 10;
}

footer p {
    color: var(--slate-500);
    font-size: 0.875rem;
}

footer .gradient-text {
    font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-light);
}
