:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #8a2be2;
    --accent-rgb: 138, 43, 226;
    /* Blue Violet / Neon Purple */
    --accent-glow: rgba(138, 43, 226, 0.5);
    --gradient-primary: linear-gradient(135deg, #8a2be2 0%, #4b0082 100%);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s, top 0.15s ease-out, left 0.15s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.highlight {
    color: var(--accent-color);
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .dot {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 1px solid var(--accent-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
    background: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-bg-effect {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    filter: blur(150px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
    animation: pulse 10s infinite alternate;
}

/* Sections General */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About */
.about p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.about strong {
    color: white;
}

.stat-card {
    background: var(--surface-color);
    padding: 30px;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-card .icon {
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Features (Diferenciais) */
.bg-darker {
    background-color: #020202;
}

.features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-color);
    opacity: 0.5;
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    position: relative;
    cursor: pointer;
}

.hidden-art,
.hidden-video {
    display: none;
}

.project-img {
    height: 400px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    transition: transform 0.5s;
    filter: grayscale(100%);
}

.project-card:hover .project-img {
    transform: scale(1.02);
    filter: grayscale(0%);
}

.video-container {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-video {
    transform: scale(1.02);
}

.placeholder-gradient-1 {
    background: linear-gradient(45deg, #121212, #2a2a2a);
}

.placeholder-gradient-2 {
    background: linear-gradient(45deg, #0f0f0f, #333333);
}

.placeholder-gradient-3 {
    background: linear-gradient(45deg, #1a1a1a, #444444);
}

.project-info {
    margin-top: 20px;
}

.project-info h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

/* Value Prop */
.about-photo-3d {
    max-width: 60%;
    border-radius: 15px;
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.5), -5px -5px 15px rgba(255, 255, 255, 0.05);
    transform: rotate(90deg) perspective(1000px) rotateY(-5deg);
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.about-photo-3d:hover {
    transform: rotate(90deg) perspective(1000px) rotateY(0deg) scale(1.05);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.3);
}

.large-text {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto;
    letter-spacing: -1px;
}

/* Contact */
.contact-list {
    margin-top: 40px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.full-width {
    width: 100%;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 3rem;
    }

    .grid-2,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-img {
        filter: grayscale(0%);
    }

    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 30px;
        height: 3px;
        background: white;
        margin: 6px 0;
        transition: 0.3s;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: 0.5s ease forwards;
    }

    /* Hamburger Animation */
    .toggle .span1 {
        transform: rotate(-45deg) translate(-6px, 7px);
    }

    .toggle .span2 {
        opacity: 0;
    }

    .toggle .span3 {
        transform: rotate(45deg) translate(-6px, -7px);
    }

    .hero {
        text-align: center;
        justify-content: center;
    }

    .hero-bg-effect {
        right: 0;
        width: 300px;
        height: 300px;
    }

    .hero-btns {
        justify-content: center;
    }
}