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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #0F1117;
    color: #E5E7EB;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.hero {
    background: linear-gradient(135deg, #171A23 0%, #1E222E 100%);
    padding: 80px 40px;
    border-radius: 0 0 8px 8px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
    border: 3px solid #5B8CFF;
    box-shadow: 0 8px 24px rgba(91, 140, 255, 0.15);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.role {
    font-size: 1.5rem;
    color: #5B8CFF;
    font-weight: 600;
    margin-bottom: 16px;
}

.tagline {
    font-size: 1.125rem;
    color: #9CA3AF;
    max-width: 600px;
}

.contacts {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-link {
    color: #E5E7EB;
    text-decoration: none;
    font-size: 1.0625rem;
    padding: 12px 24px;
    background: rgba(91, 140, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(91, 140, 255, 0.2);
    transition: all 0.2s;
}

.contact-link:hover {
    background: rgba(91, 140, 255, 0.2);
    border-color: #5B8CFF;
    transform: translateY(-2px);
}

section {
    padding: 64px 40px;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #FFFFFF;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.expertise-card {
    background: #171A23;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #2A2F3C;
    transition: all 0.2s;
}

.expertise-card:hover {
    border-color: #5B8CFF;
    transform: translateY(-4px);
}

.expertise-card h3 {
    font-size: 1.25rem;
    color: #5B8CFF;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.expertise-card li {
    padding: 8px 0;
    color: #D1D5DB;
    position: relative;
    padding-left: 20px;
}

.expertise-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #5B8CFF;
}

.tech-stack {
    background: #171A23;
}

.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tech-category h3 {
    font-size: 1.125rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.tech-tag {
    padding: 8px 16px;
    background: rgba(91, 140, 255, 0.1);
    color: #E5E7EB;
    border-radius: 20px;
    font-size: 0.9375rem;
    border: 1px solid rgba(91, 140, 255, 0.2);
    transition: all 0.2s;
}

.tech-tag:hover {
    background: rgba(91, 140, 255, 0.2);
    border-color: #5B8CFF;
}

.project-card {
    background: #171A23;
    padding: 48px;
    border-radius: 8px;
    border: 1px solid #2A2F3C;
}

.project-card h3 {
    font-size: 1.75rem;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.project-desc {
    color: #9CA3AF;
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.project-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item strong {
    color: #5B8CFF;
    font-size: 1.0625rem;
}

.feature-item span {
    color: #D1D5DB;
    font-size: 0.9375rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.skill-card {
    background: #171A23;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #2A2F3C;
    transition: all 0.2s;
}

.skill-card:hover {
    border-color: #5B8CFF;
    transform: translateY(-4px);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.skill-card h3 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-card p {
    color: #9CA3AF;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer {
    background: #171A23;
    padding: 48px 40px;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.footer-content p {
    color: #E5E7EB;
    margin-bottom: 16px;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-contacts a {
    color: #5B8CFF;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: #7EA3FF;
}

.footer-contacts span {
    color: #4B5563;
}

.footer-location {
    color: #9CA3AF;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .hero {
        padding: 48px 24px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .role {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .contacts {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .contact-link {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 48px 24px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .expertise-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 32px 24px;
    }

    .project-features {
        grid-template-columns: 1fr;
    }

    .avatar {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }
}
