/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    padding: 2rem 0;
    position: relative;
    z-index: 100;
}



/* Hero Section */
.hero {
    padding: 7rem 0 6rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.title-line:first-child {
    color: #1a1a1a;
}

.title-line:last-child {
    color: #666;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 32rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #888;
    transition: all 0.2s ease;
    padding: 0.75rem;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #1a1a1a;
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.avatar-decoration {
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    border: 2px solid #f0f0f0;
    border-radius: 50%;
    z-index: 1;
}

.avatar-decoration::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
}

/* Experience Section */
.experience {
    padding: 7rem 0;
    background: linear-gradient(135deg, #f5f6f7 0%, #f0f1f2 100%);
    margin: 0 -2rem;
}

.experience > div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}



/* Experience Grid */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 90rem;
    margin: 0 auto;
    justify-items: center;
}

.experience-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 28rem;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    flex-direction: column;
}

.company-logo {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 50%;
}

.company-info {
    text-align: center;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 0.875rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.card-content {
    margin-bottom: 0;
    text-align: center;
}

.card-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}



/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #f0f1f2 0%, #e8e9ea 100%);
    margin: 0 -2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-text {
    color: #888;
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-description {
        max-width: none;
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 60rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .experience {
        margin: 0 -1rem;
    }
    
    .experience > div {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .avatar {
        width: 15rem;
        height: 15rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .experience-card {
        padding: 2rem;
    }
    
    .company-logo {
        width: 3rem;
        height: 3rem;
    }
    
    .logo {
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
    }
}

.projects {
    padding: 7rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7f8f9 100%);
    margin: 0 -2rem;
}

.projects > div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 90rem;
    margin: 0 auto;
    justify-items: center;
}

.project-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 28rem;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.project-logo {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-info {
    text-align: center;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.card-content {
    margin-bottom: 0;
    text-align: center;
}

.card-content p {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 60rem;
    }
}

@media (max-width: 768px) {
    .projects {
        margin: 0 -1rem;
    }
    .projects > div {
        padding: 0 1rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card { cursor: pointer; }
.project-card:focus { outline: 3px solid #1a1a1a; outline-offset: 4px; }

