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

:root {
    --bg-dark: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 255, 255, 0.2);
    --accent: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    opacity: 0.7;
}

.btn-primary {
    padding: 10px 24px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--text-primary);
}

/* Main Content */
.main-content {
    position: relative;
    padding-top: 120px;
    min-height: 100vh;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 600px;
    background: radial-gradient(ellipse at center top, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.main-content > .container {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0 120px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    margin-bottom: 40px;
    background-color: rgba(255, 255, 255, 0.02);
}

.badge-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-primary);
    box-shadow: 0 0 0 2px var(--bg-dark), 0 0 0 3px var(--text-primary);
}

.badge-text {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.headline {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.headline .line {
    display: block;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.name-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.headline-firstname {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 9vw, 100px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.headline-lastname {
    font-family: 'Playfair Display', serif;
    font-size: clamp(56px, 9vw, 100px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    margin-top: -10px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.subheadline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-resume {
    padding: 14px 32px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-resume:hover {
    background-color: var(--accent);
    border-color: var(--text-primary);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* About Section */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Tabs Section */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 14px 32px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.tab-button:hover {
    background-color: var(--accent);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.tab-button.active {
    background-color: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Work Section */
.work-grid {
    display: grid;
    gap: 60px;
}

.work-item {
    padding: 40px 0;
    margin-bottom: 60px;
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: flex-start;
    position: relative;
}

.work-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--border-color) 0%, transparent 70%);
    opacity: 0.3;
}

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

.project-image-container {
    flex-shrink: 0;
    width: 150px;
    min-width: 150px;
    border-radius: 12px;
    overflow: hidden;
    background-color: transparent;
    padding: 0;
}

.project-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    background-color: transparent;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.05);
}

.work-item-content {
    flex: 1;
    min-width: 0;
}

.work-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.work-company {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.work-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.6;
}

.work-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 8px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
}

.skill-category {
    padding: 0;
}

.skill-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

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

.skill-list li {
    font-size: 16px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Education Section */
.education-item {
    padding: 40px 0;
}

.education-degree {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.education-school {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.education-date {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.contact-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}


.work-tech {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 20px;
    font-style: italic;
}

.work-tech strong {
    color: var(--text-primary);
}

.btn-code {
    display: inline-block;
    padding: 10px 24px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 12px;
}

.btn-code:hover {
    background-color: var(--accent);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    margin-top: 100px;
}

.clients {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.4;
}

.client-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 24px;
    }

    .btn-primary {
        order: 2;
    }

    .headline {
        font-size: 48px;
    }

    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .work-item {
        flex-direction: column;
        gap: 24px;
    }

    .project-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .clients {
        justify-content: center;
        gap: 24px;
    }
}

