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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #1a1a1a;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 120, 120, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(120, 120, 120, 0.1) 0%, transparent 50%);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

header {
    margin-bottom: 80px;
    padding-left: 40px;
    border-left: 3px solid #404040;
}

header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

header p {
    font-size: 22px;
    color: #a0a0a0;
    font-weight: 400;
    letter-spacing: -0.005em;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: right;
    padding-right: 40px;
    border-right: 2px solid #333;
    letter-spacing: -0.01em;
}

.project {
    margin-bottom: 50px;
    padding: 30px 0;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}

.project:nth-child(even) {
    padding-left: 60px;
}

.project:nth-child(odd) {
    padding-right: 60px;
    text-align: right;
}

.project:last-child {
    border-bottom: none;
}

.project::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #404040 0%, #2a2a2a 100%);
    top: 0;
}

.project:nth-child(odd)::before {
    right: 0;
}

.project:nth-child(even)::before {
    left: 0;
}

.project h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.project p {
    color: #b0b0b0;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
}

.tech-stack {
    color: #7fb3d4 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
}

.project:nth-child(odd) p {
    margin-left: auto;
}

.links {
    display: flex;
    gap: 20px;
}

.project:nth-child(odd) .links {
    justify-content: flex-end;
}

.links a {
    color: #7fb3d4;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #404040;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: rgba(127, 179, 212, 0.05);
}

.links a:hover {
    background: rgba(127, 179, 212, 0.15);
    border-color: #7fb3d4;
    transform: translateY(-1px);
}

.contact {
    background: #242424;
    margin: 0 -20px;
    padding: 60px 60px;
    border-top: 1px solid #333;
}

.contact h2 {
    text-align: left;
    border: none;
    padding: 0;
    margin-bottom: 30px;
    color: #ffffff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
}

.contact-info a {
    color: #7fb3d4;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(127, 179, 212, 0.2);
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #ffffff;
    border-bottom-color: #7fb3d4;
    padding-left: 8px;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 16px;
    }
    
    header {
        padding-left: 20px;
        margin-bottom: 60px;
    }
    
    header h1 {
        font-size: 32px;
    }
    
    h2 {
        text-align: left;
        padding-right: 0;
        border-right: none;
        border-left: 2px solid #333;
        padding-left: 20px;
    }
    
    .project:nth-child(even),
    .project:nth-child(odd) {
        padding: 20px 0;
        text-align: left;
    }
    
    .project p {
        max-width: none;
        margin-left: 0;
    }
    
    .project:nth-child(odd) .links {
        justify-content: flex-start;
    }
    
    .links {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .project::before {
        display: none;
    }
    
    .contact {
        margin: 0 -16px;
        padding: 40px 36px;
    }
}