@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #080808;
    --text-color: #f7f7f7;
    --accent-color: #00ffcc;
    --secondary-color: #121212;
    --muted-color: #a0a0a0;
    --font-heading: 'JetBrains Mono', monospace;
    --font-body: 'JetBrains Mono', monospace;
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    text-align: left;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--muted-color);
    margin-bottom: 25px;
    opacity: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 7vw, 6rem);
    line-height: 1;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -3px;
}

.hero-title .line {
    overflow: hidden;
    display: block;
}

.hero-title .line span {
    display: block;
    transform: translateY(105%);
}

.hero-title .accent-text {
    color: var(--accent-color);
}

.hero-desc {
    max-width: 550px;
    font-size: 1.1rem;
    color: var(--muted-color);
    opacity: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Marquee */
.marquee {
    background-color: transparent;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-color);
    padding: 25px 0;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: rotate(-2deg) scale(1.05);
    margin: 50px -5%;
    background: rgba(0, 255, 204, 0.02);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.marquee-content {
    display: inline-block;
    animation: scroll 40s linear infinite;
}

.marquee-content span {
    padding: 0 40px;
    opacity: 0.5;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Sections */
section {
    padding: 150px 10%;
    position: relative;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 80px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Experience */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.exp-item {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.exp-title h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.exp-title span {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.exp-date {
    font-size: 0.8rem;
    color: var(--muted-color);
    letter-spacing: 1px;
}

.exp-item p {
    font-size: 1.1rem;
    color: var(--muted-color);
    max-width: 800px;
    line-height: 1.6;
}

/* Projects */
.work-container {
    display: flex;
    gap: 80px;
    padding-bottom: 50px;
}

@media (max-width: 800px) {
    .work-container {
        flex-direction: column;
        gap: 30px;
        padding-bottom: 0;
    }
}

.project-card {
    min-width: 450px;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    background-color: #161616;
    border-color: rgba(0, 255, 204, 0.2);
}

.project-card .card-top {
    margin-bottom: 30px;
}

.project-card .card-top span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
}

.project-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-card p {
    color: var(--muted-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.tag {
    font-size: 0.65rem;
    padding: 6px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    color: var(--muted-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: start;
}

.about-content h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted-color);
    margin-bottom: 40px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-item {
    font-size: 0.8rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 255, 204, 0.3);
    padding: 5px 0;
    letter-spacing: 1px;
}

/* Contact */
.contact {
    padding: 200px 10%;
    text-align: left;
}

.contact-button {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 5rem);
    color: var(--text-color);
    text-decoration: none;
    display: block;
    margin-top: 40px;
    position: relative;
    line-height: 1;
    font-weight: 700;
}

.contact-button:hover {
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 80px 10%;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted-color);
}

.footer-socials {
    display: flex;
    gap: 40px;
}

.footer-socials a {
    color: var(--muted-color);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-socials a:hover {
    color: var(--accent-color);
}

.footer-tagline {
    font-size: 0.65rem;
    opacity: 0.4;
    display: block;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Mobile Updates */
@media (max-width: 800px) {
    body {
        line-height: 1.4;
    }

    nav {
        padding: 20px 5%;
    }

    .logo {
        font-size: 0.9rem;
    }

    section {
        padding: 80px 5% !important;
    }

    .hero {
        align-items: center;
        text-align: center;
        padding: 0 5%;
        height: 80vh;
    }

    .hero-title {
        letter-spacing: -1px;
        margin-bottom: 30px;
        width: 100%;
    }

    .hero-desc {
        font-size: 1rem;
        max-width: 100%;
        letter-spacing: 0;
    }

    .marquee {
        margin: 30px -5%;
        padding: 15px 0;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .section-label {
        text-align: center;
        margin-bottom: 10px;
    }

    .experience-list {
        gap: 40px;
    }

    .exp-header {
        flex-direction: column;
        gap: 10px;
    }

    .exp-title h3 {
        font-size: 1.2rem;
    }

    .exp-item p {
        font-size: 1rem;
    }

    .work-container {
        gap: 30px;
        padding-bottom: 30px;
    }

    .project-card {
        min-width: 85vw;
        padding: 30px;
    }

    .project-card h3 {
        font-size: 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-content p {
        font-size: 1rem;
    }

    .skills-grid {
        justify-content: center;
    }

    .contact {
        text-align: center;
        padding: 100px 5% !important;
    }

    .contact-button {
        font-size: 1.5rem;
        word-break: break-all;
    }

    footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 50px 5%;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

