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

:root {
    --primary-color: #2d5016;
    --primary-light: #7cb342;
    --primary-lighter: #c5d86d;
    --bg-color: #f5f1de;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.profile-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(45, 80, 22, 0.2);
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    max-width: 400px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: var(--primary-light);
    color: white;
}

.social-link.linkedin:hover {
    background-color: #0077b5;
}

.social-link.github:hover {
    background-color: #1a1a1a;
}

.social-link.email:hover {
    background-color: #ea4335;
}

/* Neural Network Background */
.chart-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 400px;
    height: 300px;
    opacity: 0.2;
    z-index: 1;
}

/* Projects Section */
.projects {
    padding: 40px 0;
}

.project-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-decoration: underline;
    text-decoration-color: var(--primary-light);
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.project-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.link-highlight {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-light);
    transition: var(--transition);
}

.link-highlight:hover {
    color: var(--primary-light);
}

.project-section {
    margin-bottom: 20px;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.links-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: var(--primary-lighter);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--primary-light);
    cursor: pointer;
}

.link-item:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.link-item.coming-soon {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

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

.tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f5f5f5;
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    white-space: nowrap;
}

.tag.concept {
    background-color: #f0f7e0;
    border-color: var(--primary-light);
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 0;
    }

    .profile-image {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

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

    .project-card {
        padding: 24px;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .chart-bg {
        width: 250px;
        height: 200px;
        opacity: 0.12;
    }

    .links-group,
    .tags-group {
        gap: 8px;
    }

    .tag {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0;
    }

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

    .tagline {
        font-size: 0.95rem;
    }

    .social-icons {
        gap: 12px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .project-card {
        padding: 16px;
        margin-bottom: 20px;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-description {
        font-size: 0.9rem;
    }
}
