:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #CEFF00;
    /* Acid Lime */
    --secondary-accent: #FF00FF;
    /* Hot Pink */
    --font-primary: 'Syne', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --padding-sides: 5vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor for custom one */
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem var(--padding-sides);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.menu-btn {
    font-family: var(--font-secondary);
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 var(--padding-sides);
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 12vw;
    line-height: 0.85;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    overflow: hidden;
    /* For animation */
}

.hero-title .highlight {
    color: var(--accent-color);
    -webkit-text-stroke: 1px var(--accent-color);
    color: transparent;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* Marquee Section */
.marquee-section {
    padding: 5rem 0;
    background: var(--accent-color);
    color: var(--bg-color);
    overflow: hidden;
    transform: rotate(-2deg) scale(1.1);
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 4rem;
    min-width: 100%;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 6vw;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opactiy='1'/%3E%3C/svg%3E");
}

/* Background Gradients */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 60%);
    opacity: 0.15;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: 0;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Services Section */
.services-section {
    padding: 10rem var(--padding-sides);
    position: relative;
    background: var(--bg-color);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 5rem;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.service-desc {
    font-family: var(--font-secondary);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Vibe Section */
.vibe-section {
    padding: 10rem var(--padding-sides);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vibe-text {
    font-family: var(--font-primary);
    font-size: 8vw;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--text-color);
    mix-blend-mode: exclusion;
}

.vibe-text span {
    display: inline-block;
    color: var(--secondary-accent);
}

.glitch-wrapper {
    position: relative;
    display: inline-block;
}

.glitch-wrapper::before,
.glitch-wrapper::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-wrapper::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-wrapper::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(38px, 9999px, 81px, 0);
    }

    20% {
        clip: rect(69px, 9999px, 88px, 0);
    }

    40% {
        clip: rect(15px, 9999px, 86px, 0);
    }

    60% {
        clip: rect(89px, 9999px, 5px, 0);
    }

    80% {
        clip: rect(2px, 9999px, 25px, 0);
    }

    100% {
        clip: rect(69px, 9999px, 14px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(56px, 9999px, 34px, 0);
    }

    20% {
        clip: rect(32px, 9999px, 57px, 0);
    }

    40% {
        clip: rect(85px, 9999px, 33px, 0);
    }

    60% {
        clip: rect(7px, 9999px, 92px, 0);
    }

    80% {
        clip: rect(43px, 9999px, 11px, 0);
    }

    100% {
        clip: rect(18px, 9999px, 63px, 0);
    }
}

/* Contact Section */
.contact-section {
    padding: 10rem var(--padding-sides);
    background: var(--accent-color);
    color: var(--bg-color);
    text-align: left;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
}

.contact-title {
    font-family: var(--font-primary);
    font-size: 6vw;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--bg-color);
    padding: 1rem 0;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--bg-color);
    outline: none;
    border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(5, 5, 5, 0.6);
}

.submit-btn {
    align-self: flex-start;
    padding: 1.5rem 4rem;
    background: var(--bg-color);
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: scale(1.05);
}

.footer {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 2rem var(--padding-sides);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-section {
    padding: 10rem var(--padding-sides);
    background: var(--bg-color);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.testimonial-card {
    border-left: 2px solid var(--accent-color);
    padding-left: 2rem;
}

.testimonial-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-secondary);
    color: var(--secondary-accent);
    font-weight: 600;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    /* Hidden by default */
}

.menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 5vw;
    font-size: 1.5rem;
    cursor: pointer;
    font-weight: 700;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.menu-link {
    font-family: var(--font-primary);
    font-size: 8vw;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
    line-height: 1;
}

.menu-link:hover {
    color: var(--accent-color);
    -webkit-text-stroke: 1px var(--accent-color);
}

.menu-socials {
    margin-top: 4rem;
    display: flex;
    gap: 2rem;
}

/* Popup Modal */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}

.popup-modal.active {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    padding: 3rem;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 30px rgba(206, 255, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.5s ease-out;
}

.popup-modal.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-weight: 700;
    padding: 0.5rem;
}

.popup-content h2 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 1rem;
}

.popup-content p {
    font-family: var(--font-secondary);
    margin-bottom: 2rem;

    .work-gallery {
        padding: 0 var(--padding-sides) 10rem;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 5rem;
    }

    .gallery-item {
        cursor: pointer;
    }

    .gallery-image {
        width: 100%;
        aspect-ratio: 16/9;
        background-color: #333;
        border-radius: 20px;
        margin-bottom: 1.5rem;
        transition: transform 0.5s;
        overflow: hidden;
    }

    .gallery-item:hover .gallery-image {
        transform: scale(0.98);
    }

    .gallery-info h3 {
        font-family: var(--font-primary);
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .gallery-info p {
        font-family: var(--font-secondary);
        color: var(--accent-color);
    }

    .popup-btn {
        padding: 1rem 3rem;
        background: var(--accent-color);
        color: var(--bg-color);
        border: none;
        font-family: var(--font-primary);
        font-weight: 700;
        font-size: 1.2rem;
        cursor: pointer;
    }

    /* Responsiveness */
    @media (max-width: 768px) {
        :root {
            --padding-sides: 2rem;
        }

        body {
            cursor: auto;
            /* Restore cursor on mobile */
        }

        .cursor,
        .cursor-follower {
            display: none;
        }

        .hero-title {
            font-size: 15vw;
        }

        .section-title {
            font-size: 3.5rem;
        }

        .services-grid {
            grid-template-columns: 1fr;
        }

        .vibe-text {
            font-size: 12vw;
        }

        .contact-title {
            font-size: 10vw;
        }
    }