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

body {
    font-family: 'Eurostyle', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
    height: 400vh;
}

.transform-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main-content {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.3s ease;
}


.morphing-logo,
.morphing-title,
.morphing-subtitle {
    text-align: center;
    z-index: 5;
    position: relative;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.morphing-logo {
    height: 12rem;
    width: auto;
    transform-origin: center;
    margin-bottom: 1rem;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.1) contrast(1.2);
    z-index: 5;
}

.morphing-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.9;
    transform-origin: center;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 1),
        0 0 40px rgba(0, 0, 0, 1),
        0 0 80px rgba(0, 0, 0, 0.9),
        0 0 120px rgba(0, 0, 0, 0.8),
        0 4px 8px rgba(0, 0, 0, 1),
        0 8px 16px rgba(0, 0, 0, 1),
        0 12px 24px rgba(0, 0, 0, 0.9);
    font-variant: small-caps;
    z-index: 10;
    position: relative;
}

.morphing-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #888888;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
    transform-origin: center;
}


.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    text-align: center;
}

.scroll-progress {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
}

.scroll-progress::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ffffff);
    animation: scrollProgress 3s ease-in-out infinite;
}

@keyframes scrollProgress {
    0% { top: -100%; }
    50% { top: 100%; }
    100% { top: -100%; }
}

.scroll-text {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding-top: max(350px, 25vh);
    box-sizing: border-box;
}

.content-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.content-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 2px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
}

.content-overlay.active .content-item {
    transform: translateY(0);
    opacity: 1;
}

.content-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.item-number {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
    letter-spacing: 0.2em;
}

.content-item h3 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.content-item p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-item {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #666;
}

.contact-content {
    text-align: center;
    max-width: 600px;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    color: #888;
    font-size: 1rem;
    letter-spacing: 0.05em;
}


.contact-item {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: none;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.contact-item span {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: #cccccc;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
        height: 300vh;
    }
    
    .cursor,
    .cursor-trail {
        display: none;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .morphing-logo {
        height: 10rem;
    }
    
    .morphing-title {
        font-size: 2rem !important;
        text-shadow: 
            0 0 20px rgba(0, 0, 0, 1),
            0 0 40px rgba(0, 0, 0, 1),
            0 0 80px rgba(0, 0, 0, 0.9),
            0 0 120px rgba(0, 0, 0, 0.8),
            0 4px 8px rgba(0, 0, 0, 1),
            0 8px 16px rgba(0, 0, 0, 1),
            0 12px 24px rgba(0, 0, 0, 0.9) !important;
    }
    
    .morphing-subtitle {
        font-size: 1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        aspect-ratio: auto;
        min-height: 100px;
        padding: 1rem;
    }
    
    .content-overlay {
        padding-top: 10rem;
    }
}

@media (max-width: 480px) {
    .morphing-logo {
        height: 8rem;
    }
    
    .morphing-title {
        font-size: 1.5rem !important;
    }
    
    .content-item {
        padding: 1rem;
    }
    
    .portfolio-item {
        min-height: 80px;
        padding: 0.8rem;
    }
    
    .content-overlay {
        padding-top: 8rem;
    }
}