@font-face {
    font-family: 'Camp';
    src: url(/assets/fonts/CamptonMedium.otf);
}

@font-face {
    font-family: 'lol';
    src: url(/assets/fonts/Syne-ExtraBold.ttf);
}

:root {
    --bg-dark: #0a0a0c;
    --primary: #7000ff;
    /* Violeta Eléctrico */
    --accent-pink: #FF019A;
    --accent-cyan: #00F1FF;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: #fff;
    font-family:'Camp';
}

/* --- FONDO DINÁMICO --- */
.background-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #150a2e 0%, #050505 100%);
}

.mesh-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(112, 0, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 1, 154, 0.15) 0%, transparent 40%);
    filter: blur(100px);
}

.interactive-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 5;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04;
    pointer-events: none;
}

/* --- NAVBAR & HOVER "TALK" --- */
.super-nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 35px;
    background: var(--glass);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: 100px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family:'lol';
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -1px;
}

.logo span {
    color: #FF77A8;
}

.nav-links-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
}

.link-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-item:hover {
    color: #FF77A8;
    transform: translateY(-2px);
}

.nav-cta {
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.nav-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary);
}

.nav-cta svg {
    transition: transform 0.4s ease;
}

.nav-cta:hover svg {
    transform: rotate(45deg) translate(2px, -2px);
}

/* --- HERO --- */
.hero-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    user-select: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.badge-top {
    font-size: 0.7rem;
    letter-spacing: 4px;
    opacity: 0.6;
    margin-bottom: 20px;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.main-title {
    font-family:'lol';
    font-size: clamp(2.5rem, 10vw, 12rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-weight: 800;
    background: linear-gradient(to bottom, #fff 50%, rgba(255, 255, 255, 0.2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    margin-top: 40px;
}

.label-text {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: #FF77A8;
    border: 1px solid rgba(255, 111, 32, 0.4);
    padding: 10px 25px;
    border-radius: 50px;
    background: rgba(255, 111, 32, 0.05);
    backdrop-filter: blur(5px);
}

/* --- HOVER "GET IN TOUCH" --- */
.hero-footer {
    position: absolute;
    bottom: 50px;
    width: 85%;
    max-width: 1200px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.footer-wrap p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    opacity: 0.5;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover {
    color: #FF77A8;
}

.contact-link:hover .icon-box {
    background:#FF77A8;
    border-color: var(--primary);
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 0 0 25px var(--primary-glow);
}

/* --- HAMBURGER & MOBILE --- */
.menu-toggle {
    display: none; /* Se activa en el @media query */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s var(--nx-ease);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: #050505; /* Bloquea el glow de fondo */
    z-index: 9999; /* Por encima de todo */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden; /* Evita que el menú capture clics estando cerrado */
}

.mobile-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.close-menu {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
}

.m-links {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 5vh, 45px);
    text-align: center;
    width: 100%;
}

.m-item {
    font-family: 'lol', sans-serif;
    font-size: clamp(2.2rem, 10vw, 3.8rem);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
}

.m-item:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* START PROJECT BUTTON */
.m-item-cta {
    align-self: center;
    background: var(--primary);
    padding: 18px 45px;
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.m-item-cta:active {
    transform: scale(0.95);
}

/* GLOW FIX */
#glow, .interactive-glow {
    position: fixed;
    pointer-events: none; /* No bloquea clics */
    z-index: -1; /* Siempre detrás del contenido y del menú */
}

/* RESPONSIVE LOGIC */
@media (max-width: 850px) {
    .nav-links-desktop {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .label-text {
        display: none; /* Oculta el badge en móvil para limpiar espacio */
    }

    .footer-wrap {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}