:root {
    --bg-dark: #000000;
    --text-main: #e0e0e0;
    --text-muted: #9ca3af;
    --accent: #00f2ff;
    --link-hover: rgba(0, 242, 255, 0.08);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

::selection { 
    background: var(--accent); 
    color: #000; 
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    font-size: 1.05rem;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none; 
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background-color: var(--accent);
    width: 0%;
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
}

.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    box-shadow: 0 0 15px var(--accent);
}

.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); 
}

.reveal.active { 
    opacity: 1; 
    transform: translateY(0); 
}

.container { 
    max-width: 720px; 
    margin: 0 auto; 
    padding: 120px 24px 100px 24px; 
}
        
.status-container {
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 25px;
    padding: 6px 14px; 
    border-radius: 100px; 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.05);
}

.status-tag { 
    color: var(--text-muted); 
    font-size: 0.8rem; 
    font-weight: 500; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}
        
.pulse-dot { 
    width: 6px; 
    height: 6px; 
    background-color: var(--accent); 
    border-radius: 50%; 
    box-shadow: 0 0 10px var(--accent); 
    animation: pulse 2s ease-in-out infinite; 
}
@keyframes 
pulse { 
    0%, 100% { 
    opacity: 1; 
    transform: scale(1); 
    }
50% { 
    opacity: 0.4; 
    transform: scale(0.8); 
}
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: #fff; 
}

h1 {
    font-size: clamp(3rem, 8vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 15px; 
    letter-spacing: -1.5px; 
    line-height: 1.1;
    background: linear-gradient(to right, #ffffff 20%, #80f9ff 40%, #80f9ff 60%, #ffffff 80%);
    background-size: 200% auto; 
    color: #000; 
    background-clip: text; 
    text-fill-color: transparent;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    animation: shine 6s linear infinite;
}

@keyframes 
shine { 
    to 
    { 
        background-position: 200% center; 
    } 
}
        
.subtitle { 
    color: var(--text-muted); 
    margin-bottom: 80px; 
    font-size: 1.15rem; 
    max-width: 90%; 
}

h2 { 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin: 70px 0 25px 0; 
    letter-spacing: -0.5px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

h2::after { 
    content: ""; 
    height: 1px; 
    flex-grow: 1; 
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent); 
}

p { 
    color: var(--text-muted); 
    margin-bottom: 24px; 
}
        
strong { 
    color: #fff; 
    font-weight: 500; 
}

a { 
    cursor: none; 
}

a.project-link {
    color: #fff; 
    text-decoration: none; 
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease; 
    font-weight: 500; 
    padding-bottom: 2px;
}

a.project-link:hover { 
    color: var(--accent); 
    border-bottom-color: var(--accent); 
    background-color: var(--link-hover); 
    border-radius: 4px 4px 0 0; 
}

.marquee-section {
    width: 100%; 
    overflow: hidden; 
    position: relative; 
    margin: 40px 0;
}

.marquee-section::before, .marquee-section::after {
    content: ""; 
    position: absolute; 
    top: 0; 
    width: 80px; 
    height: 100%; 
    z-index: 2; 
    pointer-events: none;
}

.marquee-section::before { 
    left: 0; 
    background: linear-gradient(to right, var(--bg-dark), transparent); 
}

.marquee-section::after { 
    right: 0; 
    background: linear-gradient(to left, var(--bg-dark), transparent); 
}

.marquee-row {
    display: flex; 
    gap: 20px; 
    white-space: nowrap; 
    width: max-content; 
    margin-bottom: 20px;
}
        
.marquee-tag {
    font-family: 'Inter', sans-serif; 
    font-size: 0.95rem; 
    font-weight: 500;
    padding: 12px 24px; 
    border-radius: 100px; 
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: var(--text-muted); 
    transition: all 0.3s ease;
}
        
.marquee-tag:hover { 
    color: #000; 
    background: var(--accent); 
    border-color: var(--accent); 
    transform: translateY(-2px); 
}

.scroll-left { 
    animation: scrollLeft 25s linear infinite; 
}
        
.scroll-right { 
    transform: translateX(-50%); 
    animation: scrollRight 25s linear infinite; 
}
        
.marquee-row:hover { 
    animation-play-state: paused; 
}

@keyframes scrollLeft { 
    0% { 
        transform: translateX(0); 
    } 
    100% { 
        transform: translateX(-50%); 
    } 
}

@keyframes scrollRight { 
    0% { 
        transform: translateX(-50%); 
    } 
    100% { 
        transform: translateX(0); 
    } 
}

.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; }
        
.project-card {
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 35px 30px; 
    border-radius: 16px; 
    display: flex; 
    flex-direction: column; 
    text-decoration: none;
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s ease, border-color 0.3s ease;
}
    
.project-card::before {
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(0, 242, 255, 0.08), transparent 40%);
    opacity: 0; 
    transition: opacity 0.5s ease; 
    z-index: 0; 
    pointer-events: none;
}

.project-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(0, 242, 255, 0.3); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); 
}
        
.project-card:hover::before { 
    opacity: 1; 
}
        
.project-card h3, .project-card p, .project-card .btn-view { 
    position: relative; 
    z-index: 1; 
}
        
.project-card h3 { 
    font-size: 1.6rem; 
    margin-bottom: 12px; 
}
        
.project-card p { 
    font-size: 0.95rem; 
    margin-bottom: 25px; 
    flex-grow: 1; 
}
       
.project-card .btn-view { 
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: var(--accent); 
    display: inline-flex; 
    align-items: center; 
}
        
.project-card .btn-view::after { 
    content: "→"; 
    margin-left: 8px; 
    transition: transform 0.3s ease; 
}
        
.project-card:hover .btn-view::after { 
    transform: translateX(5px); 
}

.contact-section { 
    margin-top: 100px; 
    padding-top: 40px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: var(--text-muted); 
    font-size: 1rem; 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
}
        
.contact-section a { 
    color: var(--accent); 
    text-decoration: none; 
    transition: color 0.2s; 
    font-weight: 500; 
}
        
.contact-section a:hover { 
    color: #fff; 
}
        
.separator { 
    color: rgba(255,255,255,0.1); 
}
        
.fade-up { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: smoothEntry 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
}
        
.delay-1 { 
    animation-delay: 0.2s; 
}

@keyframes smoothEntry { 
    to 
    { 
        opacity: 1; 
        transform: translateY(0); 
    } 
}

@media (max-width: 600px) {
    h1 { 
        font-size: 2.8rem;
    }
    .projects-grid { 
        grid-template-columns: 1fr; 
    }
    body, a { 
        cursor: auto; 
    }
    .cursor-dot, .cursor-outline { 
        display: none; 
    }
    .container { 
        padding: 80px 24px;
    }
}
