:root {
    --bg-color: #0c0814;
    --card-bg: #140e24;
    --text-main: #f3f1f6;
    --text-muted: #a49cb0;
    --primary-neon: #a855f7;
    --primary-hover: #c084fc;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.container {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    min-height: 85vh;
}

header {
    margin-bottom: 4rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary-neon);
}

.contact-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-neon);
}

.about-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.profile-wrapper {
    width: 80px;
    height: 80px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.about-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.about-text h1 span {
    color: var(--primary-neon);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 540px;
}

.featured-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 18px; /* Smooth rounded card containers */
    padding: 2rem;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-neon);
}

.project-visual {
    color: var(--primary-neon);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.project-card h3 i {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.project-card:hover h3 i {
    transform: translate(2px, -2px);
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--primary-hover);
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
}

footer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 2rem;
}

:root {
    --bg-color: #0c0814;
    --card-bg: #140e24;
    --text-main: #f3f1f6;
    --text-muted: #a49cb0;
    --primary-neon: #a855f7;
    --primary-hover: #c084fc;
    
    /* HUMAN-LIKE MOTION: Custom cubic-bezier mimics physical inertia and weight */
    --transition-human: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background: linear-gradient(to bottom, #15092b 0%, #07030d 50%, #000000 100%);
    background-attachment: scroll;
    min-height: 100vh;
    
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 18px; 
    padding: 2rem;
    display: block;
    text-decoration: none;
    color: inherit;
    
    transition: var(--transition-human);
    
    animation: organic-breath 7s ease-in-out infinite alternate;
}

.project-card:hover {
    /* Smooth physical lift up and slight expansion */
    transform: translateY(-6px) scale(1.01);
    border-color: var(--primary-neon);
    /* Soft, realistic ambient glow shadow */
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.12);
}

.project-card h3 i {
    width: 18px;
    height: 18px;
    transition: var(--transition-human);
}

@keyframes organic-breath {
    0% {
        border-color: rgba(168, 85, 247, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    100% {
        border-color: rgba(168, 85, 247, 0.28);
        box-shadow: 0 4px 25px rgba(168, 85, 247, 0.04);
    }
}

@keyframes human-entrance {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: human-entrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
