:root {
    --bg-dark: #000000;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-heavy: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-bright: rgba(255, 255, 255, 0.25);
    --accent-primary: #ffffff;
    --accent-secondary: #5e5e5e;
    --text-main: #f5f5f7; 
    --text-muted: #86868b;
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --transition-apple: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    overflow-x: hidden;
    line-height: 1.47059;
    letter-spacing: -0.022em;
}

::-webkit-scrollbar {
    width: 0px;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #111 0%, #000 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    mix-blend-mode: screen;
}

.blob-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #2c2c2c, #000);
    top: -20%;
    left: -10%;
    animation: liquidMove 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #1a1a1a, #000);
    bottom: -15%;
    right: -10%;
    animation: liquidMove 30s infinite alternate-reverse ease-in-out;
}

@keyframes liquidMove {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(10%, 15%) rotate(120deg) scale(1.1); }
    66% { transform: translate(-10%, 20%) rotate(240deg) scale(0.9); }
    100% { transform: translate(5%, -5%) rotate(360deg) scale(1); }
}

.cursor-follower {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s, background 0.5s;
}

.cursor-follower.hover {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 0 5%;
}

.nav-container {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    padding: 0.5rem 2rem;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: var(--transition-apple);
}

.nav-links a:hover {
    color: var(--text-main);
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.hero h1 {
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 500px;
}

.section-title {
    padding: 8rem 10% 4rem;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 10% 10rem;
}

.project-card {
    background: var(--bg-glass);
    backdrop-filter: blur(40px);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    padding: 2.5rem;
    transition: var(--transition-apple);
    overflow: hidden;
}

.project-card:hover {
    transform: scale(1.02);
    background: var(--bg-glass-heavy);
    border-color: var(--border-glass-bright);
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #000;
    border-radius: 24px;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-apple);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-tags {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
}
