/* Reset y Variables CSS */
:root {
    /* Colores Cyberpunk */
    --cyber-blue: #00ffff;
    --cyber-pink: #ff0080;
    --cyber-purple: #8000ff;
    --cyber-green: #00ff41;
    
    /* Colores Impresionistas */
    --scream-orange: #ff4500;
    --scream-yellow: #ffcc00;
    --deep-blue: #1a1a3a;
    --muted-purple: #6a4c93;
    
    /* Neutros */
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-light: #e0e0e0;
    --text-muted: #a0a0a0;
    --border-color: #333;
    
    /* Fuentes */
    --font-cyber: 'Orbitron', monospace;
    --font-body: 'Roboto', sans-serif;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Cyberpunk de Fondo */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(255, 0, 128, 0.03) 49%,
        rgba(255, 0, 128, 0.03) 51%,
        transparent 52%
    );
    z-index: -1;
    animation: glitchMove 8s ease-in-out infinite;
}

@keyframes glitchMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(2px); }
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cyber-blue);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-cyber);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cyber-blue);
    text-shadow: 0 0 10px var(--cyber-blue);
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--cyber-blue);
    text-shadow: 0 0 5px var(--cyber-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-pink));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--cyber-blue);
    margin: 3px 0;
    transition: var(--transition);
}

/* Sección Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 2rem 2rem;
    background: linear-gradient(
        135deg,
        var(--dark-bg) 0%,
        var(--deep-blue) 50%,
        var(--dark-bg) 100%
    );
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    position: relative;
    font-family: var(--font-cyber);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.glitch {
    position: relative;
    color: var(--cyber-blue);
    text-shadow: 
        0 0 10px var(--cyber-blue),
        0 0 20px var(--cyber-blue),
        0 0 30px var(--cyber-blue);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--cyber-pink);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--cyber-green);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% { transform: translate(0); }
    15%, 49% { transform: translate(-2px, -1px); }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% { transform: translate(0); }
    21%, 62% { transform: translate(2px, 1px); }
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--scream-orange);
    margin-top: 0.5rem;
    text-shadow: 0 0 5px var(--scream-orange);
}

/* ===== NEURAL OVERLAY - NEURONAS REALES ===== */
.neural-overlay {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

/* Neurona base */
.neuron {
    position: absolute;
    opacity: 0.9;
}

/* Soma (cuerpo celular) */
.soma {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #ff69b4 0%, #ff1493 50%, #dc143c 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 0 10px #ff69b4,
        0 0 20px #ff1493,
        inset 0 0 5px rgba(255, 255, 255, 0.3);
    animation: neuronPulse 2s ease-in-out infinite;
}

/* Axones */
.axon {
    position: absolute;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #da70d6);
    height: 2px;
    border-radius: 2px;
    box-shadow: 0 0 5px #ff69b4;
    animation: electricPulse 1.5s linear infinite;
}

/* Dendritas */
.dendrite {
    position: absolute;
    background: linear-gradient(45deg, #da70d6, #ff69b4);
    height: 1.5px;
    border-radius: 2px;
    box-shadow: 0 0 3px #da70d6;
    animation: dendritePulse 2.5s ease-in-out infinite;
}

/* Sinapsis */
.synapse {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ffffff, #ff69b4);
    border-radius: 50%;
    box-shadow: 0 0 8px #ff69b4;
    animation: synapseFire 1s ease-in-out infinite;
}

/* Posicionamiento específico de cada neurona */
.neuron-1 {
    top: 10%;
    left: 15%;
    transform: rotate(-15deg);
}

.neuron-1 .axon {
    width: 45px;
    top: 5px;
    left: 12px;
    transform: rotate(25deg);
}

.neuron-1 .dendrite-1 {
    width: 25px;
    top: -3px;
    left: -20px;
    transform: rotate(-45deg);
}

.neuron-1 .dendrite-2 {
    width: 30px;
    top: 8px;
    left: -25px;
    transform: rotate(-80deg);
}

.neuron-1 .dendrite-3 {
    width: 20px;
    top: 15px;
    left: -18px;
    transform: rotate(-120deg);
}

.neuron-1 .synapse-1 {
    top: -5px;
    left: 50px;
    animation-delay: 0.3s;
}

.neuron-1 .synapse-2 {
    top: 15px;
    left: 48px;
    animation-delay: 0.8s;
}

.neuron-2 {
    top: 25%;
    right: 20%;
    transform: rotate(45deg);
}

.neuron-2 .axon {
    width: 40px;
    top: 5px;
    left: 12px;
    transform: rotate(-30deg);
}

.neuron-2 .dendrite-1 {
    width: 28px;
    top: -2px;
    left: -22px;
    transform: rotate(60deg);
}

.neuron-2 .dendrite-2 {
    width: 22px;
    top: 12px;
    left: -20px;
    transform: rotate(120deg);
}

.neuron-2 .synapse-1 {
    top: 8px;
    left: 45px;
    animation-delay: 0.5s;
}

.neuron-3 {
    top: 45%;
    left: 25%;
    transform: rotate(-30deg);
}

.neuron-3 .axon {
    width: 50px;
    top: 5px;
    left: 12px;
    transform: rotate(15deg);
}

.neuron-3 .dendrite-1 {
    width: 35px;
    top: -5px;
    left: -28px;
    transform: rotate(-30deg);
}

.neuron-3 .dendrite-2 {
    width: 25px;
    top: 5px;
    left: -23px;
    transform: rotate(-70deg);
}

.neuron-3 .dendrite-3 {
    width: 30px;
    top: 15px;
    left: -25px;
    transform: rotate(-110deg);
}

.neuron-3 .dendrite-4 {
    width: 18px;
    top: 18px;
    left: -15px;
    transform: rotate(-140deg);
}

.neuron-3 .synapse-1 {
    top: -2px;
    left: 55px;
    animation-delay: 0.2s;
}

.neuron-3 .synapse-2 {
    top: 12px;
    left: 52px;
    animation-delay: 0.7s;
}

.neuron-3 .synapse-3 {
    top: 20px;
    left: 48px;
    animation-delay: 1.2s;
}

.neuron-4 {
    top: 65%;
    right: 30%;
    transform: rotate(75deg);
}

.neuron-4 .axon {
    width: 38px;
    top: 5px;
    left: 12px;
    transform: rotate(-45deg);
}

.neuron-4 .dendrite-1 {
    width: 32px;
    top: -1px;
    left: -26px;
    transform: rotate(45deg);
}

.neuron-4 .dendrite-2 {
    width: 24px;
    top: 10px;
    left: -22px;
    transform: rotate(90deg);
}

.neuron-4 .synapse-1 {
    top: 3px;
    left: 42px;
    animation-delay: 0.6s;
}

.neuron-5 {
    top: 80%;
    left: 35%;
    transform: rotate(-60deg);
}

.neuron-5 .axon {
    width: 42px;
    top: 5px;
    left: 12px;
    transform: rotate(20deg);
}

.neuron-5 .dendrite-1 {
    width: 28px;
    top: -4px;
    left: -24px;
    transform: rotate(-60deg);
}

.neuron-5 .dendrite-2 {
    width: 26px;
    top: 8px;
    left: -23px;
    transform: rotate(-100deg);
}

.neuron-5 .dendrite-3 {
    width: 20px;
    top: 16px;
    left: -18px;
    transform: rotate(-130deg);
}

.neuron-5 .synapse-1 {
    top: 0px;
    left: 48px;
    animation-delay: 0.4s;
}

.neuron-5 .synapse-2 {
    top: 18px;
    left: 45px;
    animation-delay: 0.9s;
}

/* Animaciones neurales */
@keyframes neuronPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 10px #ff69b4,
            0 0 20px #ff1493;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 
            0 0 15px #ff69b4,
            0 0 30px #ff1493,
            0 0 40px #da70d6;
    }
}

@keyframes electricPulse {
    0% {
        background: linear-gradient(90deg, #ff69b4, #ff1493, #da70d6);
        box-shadow: 0 0 5px #ff69b4;
    }
    25% {
        background: linear-gradient(90deg, #da70d6, #ff69b4, #ff1493);
        box-shadow: 0 0 10px #da70d6;
    }
    50% {
        background: linear-gradient(90deg, #ff1493, #da70d6, #ff69b4);
        box-shadow: 0 0 15px #ff1493;
    }
    75% {
        background: linear-gradient(90deg, #ff69b4, #ff1493, #da70d6);
        box-shadow: 0 0 10px #ff69b4;
    }
    100% {
        background: linear-gradient(90deg, #da70d6, #ff69b4, #ff1493);
        box-shadow: 0 0 5px #da70d6;
    }
}

@keyframes dendritePulse {
    0%, 100% {
        opacity: 0.7;
        box-shadow: 0 0 3px #da70d6;
    }
    33% {
        opacity: 1;
        box-shadow: 0 0 8px #ff69b4;
    }
    66% {
        opacity: 0.8;
        box-shadow: 0 0 5px #ff1493;
    }
}

@keyframes synapseFire {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 5px #ff69b4;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 
            0 0 15px #ff69b4,
            0 0 25px #ff1493,
            0 0 35px #da70d6;
    }
    100% {
        transform: scale(0.5);
        opacity: 0.8;
        box-shadow: 0 0 5px #ff69b4;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--dark-bg);
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--cyber-blue);
    border-color: var(--cyber-blue);
}

.btn-secondary:hover {
    background: var(--cyber-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--cyber-blue);
}

/* Elementos visuales del hero */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 6s ease-in-out infinite;
}

.element.mind {
    background: radial-gradient(circle, var(--cyber-pink), transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element.resilience {
    background: radial-gradient(circle, var(--scream-orange), transparent);
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.element.philosophy {
    background: radial-gradient(circle, var(--cyber-purple), transparent);
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.scream-inspired {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
}

.waves {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 204, 0, 0.1) 10px,
        rgba(255, 204, 0, 0.1) 20px
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: waveDistort 4s ease-in-out infinite;
}

@keyframes waveDistort {
    0%, 100% { 
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        transform: rotate(0deg);
    }
    50% { 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(5deg);
    }
}

/* Secciones comunes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-family: var(--font-cyber);
}

.cyber-text {
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Sección Sobre Mí */
.about {
    padding: 6rem 0;
    background: linear-gradient(
        to bottom,
        var(--dark-bg),
        var(--muted-purple),
        var(--dark-bg)
    );
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyber-blue), var(--cyber-pink));
}

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

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--cyber-blue);
    border: 3px solid var(--dark-bg);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyber-blue);
}

.timeline-content h3 {
    color: var(--scream-orange);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.neural-network {
    position: relative;
    width: 200px;
    height: 200px;
}

.node {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--cyber-pink), transparent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.node:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node:nth-child(2) {
    bottom: 20px;
    left: 20px;
    animation-delay: 0.7s;
}

.node:nth-child(3) {
    bottom: 20px;
    right: 20px;
    animation-delay: 1.4s;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Sección Servicios */
.services {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyber-blue);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.service-card.featured {
    border-color: var(--cyber-pink);
    background: linear-gradient(135deg, var(--card-bg), rgba(255, 0, 128, 0.1));
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header i {
    font-size: 3rem;
    color: var(--cyber-blue);
    margin-bottom: 1rem;
    display: block;
}

.service-card.featured .card-header i {
    color: var(--cyber-pink);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.price {
    display: inline-block;
    background: linear-gradient(45deg, var(--cyber-blue), var(--cyber-purple));
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-card.featured .price {
    background: linear-gradient(45deg, var(--cyber-pink), var(--scream-orange));
}

.card-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.card-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

.card-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--cyber-blue);
    font-size: 0.8rem;
}

.service-card.featured .card-content li::before {
    color: var(--cyber-pink);
}

/* Sección Filosofía */
.philosophy {
    padding: 6rem 0;
    background: linear-gradient(
        135deg,
        var(--deep-blue) 0%,
        var(--dark-bg) 50%,
        var(--muted-purple) 100%
    );
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pillar {
    text-align: center;
    padding: 2rem;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-5px);
    border-color: var(--cyber-blue);
    background: rgba(26, 26, 26, 0.9);
}

.pillar-icon {
    margin-bottom: 1rem;
}

.pillar-icon i {
    font-size: 2.5rem;
    color: var(--cyber-blue);
}

.pillar h3 {
    font-size: 1.3rem;
    color: var(--scream-orange);
    margin-bottom: 1rem;
}

.pillar p {
    color: var(--text-muted);
    line-height: 1.6;
}

.philosophy-quote {
    background: rgba(0, 255, 255, 0.05);
    border-left: 4px solid var(--cyber-blue);
    padding: 2rem;
    border-radius: 0 10px 10px 0;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-quote blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.philosophy-quote cite {
    color: var(--cyber-blue);
    font-weight: 600;
}

/* Sección Contacto */
.contact {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.contact-content-centered {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    width: 100%;
    text-align: center;
}

.contact-info h3 {
    color: var(--cyber-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 5px;
    border-left: 3px solid var(--cyber-blue);
}

.contact-item i {
    color: var(--cyber-blue);
    font-size: 1.2rem;
}

.contact-cta {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 128, 0.1));
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.contact-cta h4 {
    color: var(--scream-orange);
    margin-bottom: 1rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    min-width: 200px;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.8rem !important;
    color: var(--scream-orange);
    font-style: italic;
}

.footer-credits {
    margin-top: 1rem;
}

.footer-credits summary {
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    list-style: none;
    position: relative;
    padding-left: 1rem;
}

.footer-credits summary::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--cyber-blue);
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.footer-credits[open] summary::before {
    transform: rotate(90deg);
}

.footer-credits summary:hover {
    color: var(--cyber-blue);
}

.footer-credits summary a {
    color: var(--cyber-blue);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credits summary a:hover {
    color: var(--cyber-pink);
    text-shadow: 0 0 5px var(--cyber-pink);
}

.footer-credits p {
    margin-top: 0.5rem;
    padding-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-credits p a {
    color: var(--cyber-pink);
    text-decoration: none;
    transition: var(--transition);
}

.footer-credits p a:hover {
    color: var(--scream-orange);
    text-shadow: 0 0 5px var(--scream-orange);
}

.footer-social p {
    color: var(--cyber-blue);
    font-style: italic;
}

/* Responsive Design - Comprehensive Device Coverage */

/* ===================================== 
   SMART TVs - Ultra Large Screens
   ===================================== */

/* Smart TVs Enormes (75"+ / 4K+) - 3840px+ */
@media screen and (min-width: 3840px) {
    .container {
        max-width: 3200px;
        padding: 0 4rem;
    }
    
    .hero-title {
        font-size: 8rem;
    }
    
    .section-title {
        font-size: 6rem;
    }
    
    .hero-description {
        font-size: 2rem;
        line-height: 2.2;
    }
    
    .btn {
        padding: 2rem 4rem;
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 4rem;
    }
    
    .navbar {
        padding: 2rem 0;
    }
    
    .nav-container {
        padding: 0 4rem;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
}

/* Smart TVs Medianos (55"-65" / 2K-4K) - 2560px to 3839px */
@media screen and (min-width: 2560px) and (max-width: 3839px) {
    .container {
        max-width: 2200px;
        padding: 0 3rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 4.5rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
        line-height: 2;
    }
    
    .btn {
        padding: 1.5rem 3rem;
        font-size: 1.4rem;
    }
    
    .service-card {
        padding: 3rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
}

/* Smart TVs Pequeños (32"-50" / HD-2K) - 1920px to 2559px */
@media screen and (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 1600px;
        padding: 0 2.5rem;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
}

/* ===================================== 
   DESKTOP - Large to Medium Screens
   ===================================== */

/* Desktop Grandes (27"+ / 1440p+) - 1440px to 1919px */
@media screen and (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1300px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop Medianos (21"-24" / 1080p) - 1200px to 1439px */
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1100px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Desktop Pequeños (19"-21") - 1024px to 1199px */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================== 
   LAPTOPS - Large to Small
   ===================================== */

/* Laptops Grandes (15"-17") - 1366px to 1440px */
@media screen and (min-width: 1366px) and (max-width: 1440px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.8rem;
    }
}

/* Laptops Medianas (13"-14") - 1024px to 1365px */
@media screen and (min-width: 1024px) and (max-width: 1365px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content-centered {
        max-width: 600px;
    }
}

/* Laptops Pequeñas (11"-12" / Netbooks) - 768px to 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content-centered {
        display: block;
    }
    
    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===================================== 
   TABLETS - Portrait and Landscape
   ===================================== */

/* Tablets Landscape (iPad Pro, Galaxy Tab) - 1024px to 1366px */
@media screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablets Portrait (iPad, Galaxy Tab) - 768px to 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .philosophy-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================== 
   SMARTPHONES - Large to Small
   ===================================== */

/* Smartphones Grandes (6.5"+ / iPhone Pro Max, Galaxy Note) - 414px to 767px */
@media screen and (min-width: 414px) and (max-width: 767px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-pillars {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* Smartphones Medianos (5.5"-6.1" / iPhone, Galaxy S) - 375px to 413px */
@media screen and (min-width: 375px) and (max-width: 413px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 60px 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .timeline-item {
        padding-left: 3rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-marker {
        left: 6px;
    }
}

/* Smartphones Pequeños (4"-5.4" / iPhone SE, Galaxy A) - 320px to 374px */
@media screen and (max-width: 374px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .hero {
        padding: 50px 0.8rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .nav-container {
        padding: 1rem 0.8rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
}

/* ===================================== 
   SMARTWATCHES - Ultra Small Screens
   ===================================== */

/* Smartwatches (Apple Watch, Galaxy Watch, Wear OS) - up to 320px */
@media screen and (max-width: 320px) {
    body {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .navbar {
        display: none; /* Hide complex navigation */
    }
    
    .hero {
        padding: 1rem 0.5rem;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.1;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
        margin-top: 0.2rem;
    }
    
    .hero-description {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-visual {
        height: 200px;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .services-grid,
    .philosophy-pillars {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .service-card,
    .pillar {
        padding: 0.8rem;
    }
    
    .service-card h3,
    .pillar h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p,
    .pillar p {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .service-card li {
        font-size: 0.7rem;
        padding: 0.2rem 0;
    }
    
    .contact-item {
        padding: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item span {
        font-size: 0.7rem;
    }
    
    .footer {
        padding: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-text p {
        font-size: 0.6rem;
    }
    
    .footer-credits {
        margin-top: 0.5rem;
    }
    
    .footer-credits summary {
        font-size: 0.6rem;
    }
    
    /* Hide complex visual elements for better performance */
    .floating-elements,
    .scream-inspired,
    .cyber-grid,
    .glitch-overlay {
        display: none;
    }
    
    /* Simplify animations for better performance */
    .glitch::before,
    .glitch::after {
        display: none;
    }
    
    /* Optimize timeline for small screens */
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: 1px;
        width: 12px;
        height: 12px;
    }
    
    .timeline-content h3 {
        font-size: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.7rem;
    }
}

/* ===================================== 
   ORIENTATION SPECIFIC ADJUSTMENTS
   ===================================== */

/* Landscape mode for mobile devices */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 2rem 1rem 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: 300px;
    }
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    .glitch {
        text-shadow: 
            0 0 5px var(--cyber-blue),
            0 0 10px var(--cyber-blue),
            0 0 15px var(--cyber-blue);
    }
    
    .cyber-text {
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-elements,
    .glitch-overlay,
    .cyber-grid {
        animation: none;
    }
    
    .glitch::before,
    .glitch::after {
        display: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #000000;
        --card-bg: #111111;
        --text-light: #ffffff;
    }
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    :root {
        --dark-bg: #f5f5f5;
        --card-bg: #ffffff;
        --text-light: #333333;
        --text-muted: #666666;
    }
}

/* ===================================== 
   GALLERY PREVIEW SECTION
   ===================================== */

.gallery-preview {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
}

.gallery-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 0, 150, 0.1) 0%, transparent 70%);
}

.gallery-preview-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-description h3 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.gallery-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preview-item {
    padding: 2rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    background: rgba(0, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
    background: rgba(0, 255, 255, 0.1);
}

.preview-item i {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.preview-item span {
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-cta h4 {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin: 2rem 0 1rem 0;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.gallery-cta p {
    margin-bottom: 2rem;
}

/* Responsive para gallery preview */
@media (max-width: 768px) {
    .gallery-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .preview-item {
        padding: 1.5rem 1rem;
    }
    
    .preview-item i {
        font-size: 2rem;
    }
    
    .gallery-description h3 {
        font-size: 1.5rem;
    }
}
