/* Reset y base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0b;
    --red-deep: #8b1a1a;
    --red-dark: #a61b1b;
    --red-medium: #c42525;
    --text-secondary: #a0a0a0;
    --text-muted: #505050;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Canvas de sinapsis neuronal */
#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Overlay para profundidad */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 11, 0.4) 70%, rgba(10, 10, 11, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Contenido principal centrado */
.content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Título PRÓXIMAMENTE */
.title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out;
}

/* Subtítulo */
.subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Banda inferior */
.footer {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    background: transparent;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(139, 26, 26, 0.15) 15%,
        rgba(180, 40, 40, 0.4) 35%,
        rgba(200, 50, 50, 0.6) 50%,
        rgba(180, 40, 40, 0.4) 65%,
        rgba(139, 26, 26, 0.15) 85%,
        transparent 100%
    );
}

/* Tagline */
.tagline {
    font-size: 0.95rem;
    color: #707070;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Logo elegante */
.logo {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--red-medium) 0%, var(--red-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Contacto */
.contact {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.contact .label {
    color: #606060;
}

.contact a {
    color: #a04040;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact a:hover {
    opacity: 0.7;
}

/* Copyright */
.copyright {
    font-size: 0.7rem;
    color: #404040;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
}
