@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --bg-color: #0a0a0a;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent: #5e60ce;
    --accent-light: #7b7ff0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

.cursor-main {
    --size: 0px;
    position: fixed;
    top: calc(var(--size) / -2);
    left: calc(var(--size) / -2);
    width: var(--size);
    height: var(--size);
    border-radius: 50px;
    pointer-events: none;
    z-index: 9999;
    background-color: #d4b8ff;
    box-shadow: 0 0 30px #af83ff;
    mix-blend-mode: difference;
    transition: top .3s ease-out, left .3s ease-out, width .3s ease-out, height .3s ease-out;
    will-change: left, top;
}

.cursor-icons {
    top: 10px;
    left: 10px;
    height: calc(var(--cursorH) - 20px);
    transition: all .5s ease-out, height .5s ease-in-out;
}

.cursor-disable {
    --size: 0px;
}

@media only screen and (min-width: 600px) {
    .cursor-main {
        --size: 50px;
    }
    .cursor-disable {
        --size: 0px;
    }
}

html.lenis, html.lenis body {
    height: auto;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}



.container-main {
    position: relative;
    z-index: 10;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

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

.social-icons {
    position: fixed;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 100;
}

.social-icons a {
    color: var(--text-primary);
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

#smooth-wrapper {
    width: 100%;
}

#smooth-content {
    width: 100%;
}

.section-container {
    width: 1300px;
    max-width: calc(100% - 160px);
    margin: 0 auto;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
}

.section-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.8);
}

.section-content p + p {
    margin-top: 1.5rem;
}

.landing-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.landing-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.landing-intro h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.landing-intro h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.landing-intro h1 span {
    color: var(--accent-light);
}

.landing-info {
    text-align: right;
}

.landing-info h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.landing-info h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
}

.landing-info-h2 {
    display: flex;
    flex-direction: column;
}

.landing-h2-1,
.landing-h2-2,
.landing-h2-info,
.landing-h2-info-1 {
    display: block;
}

.landing-h2-1,
.landing-h2-info-1 {
    color: var(--accent);
}

.landing-h2-2,
.landing-h2-info {
    display: none;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2.5rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-5.5px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.work-card {
    cursor: pointer;
    transition: all 0.3s;
}

.work-card:hover {
    transform: translateY(-10px);
}

.work-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.work-placeholder {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
}

.work-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.work-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-item {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tech-item:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
}

footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-github {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-github:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: rgba(30, 30, 35, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.modal-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .section-container {
        width: 900px;
        max-width: calc(100% - 80px);
    }
    
    .navbar {
        padding: 1rem 2rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .landing-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .landing-info {
        text-align: left;
    }
    
    .service-cards,
    .work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-container {
        width: 500px;
        max-width: calc(100% - 48px);
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .nav-logo {
        font-size: 1.25rem;
    }
    
    .social-icons {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .section-content p {
        font-size: 1.125rem;
    }

    .landing-container {
        gap: 2rem;
    }

    .landing-intro h2 {
        font-size: 1.125rem;
    }

    .service-cards {
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.9375rem;
    }

    .work-grid {
        gap: 1.5rem;
    }

    .work-card {
        max-width: 100%;
    }

    .work-placeholder {
        font-size: 1.5rem;
    }

    .work-info h3 {
        font-size: 1.125rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
        margin-bottom: 2rem;
    }

    .timeline-dot {
        left: -1.5rem;
        width: 10px;
        height: 10px;
        transform: translateX(-4.5px);
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-company,
    .timeline-desc {
        font-size: 0.9375rem;
    }

    .tech-item {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }

    .modal-content p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        max-width: calc(100% - 32px);
    }

    .service-card {
        padding: 1.25rem;
    }

    .service-card h3 {
        font-size: 1.125rem;
    }

    .work-card .work-image {
        aspect-ratio: 16/9;
    }

    .work-placeholder {
        font-size: 1.25rem;
    }

    .timeline-item {
        margin-bottom: 1.5rem;
    }

    .tech-grid {
        gap: 0.625rem;
    }

    .tech-item {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }

    .cta-button {
        display: block;
        text-align: center;
    }
}