/* ==========================================================================
   2080 PREMIUM CYBER-SPIRITUAL DESIGN SYSTEM - CONEXIÓN AYAHUASCA
   Estética de Computación Cuántica, Neón-Glass, HUD militar y Geometría Sagrada
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700;800&family=Inter:wght@300;400;500;600&family=Share+Tech+Mono&display=swap');

:root {
    /* Color Palette - Inspiración Teal / Esmeralda "PulzCAD" */
    --color-bg-deep: #031417;         /* Verde pino muy oscuro y profundo */
    --color-glass-base: rgba(3, 16, 18, 0.08); /* Vidrio al 8% de opacidad para máxima transparencia */
    --color-glass-hover: rgba(5, 26, 30, 0.15);
    
    /* Neon Emissions */
    --color-neon-cyan: #0df2c9;       /* Menta / Cian vivo */
    --color-neon-blue: #00a8cc;       /* Turquesa eléctrico */
    --color-neon-emerald: #00ffaa;    /* Verde esmeralda brillante */
    --color-neon-gold: #00ff87;       /* Verde sanación */
    
    /* Text Hierarchy */
    --text-pure: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #e0f7f4;        
    --text-muted: #8abcb4;            
    --text-muted-rgba: rgba(138, 188, 180, 0.6);
    
    /* Glass Borders with refraction */
    --border-glass-cyan: 1.5px solid rgba(13, 242, 201, 0.35); 
    --border-glass-blue: 1.5px solid rgba(0, 168, 204, 0.35);
    --border-glass-emerald: 1.5px solid rgba(0, 255, 170, 0.35);
    
    /* Interactive Glows */
    --glow-cyan: 0 0 25px rgba(13, 242, 201, 0.4);
    --glow-blue: 0 0 25px rgba(0, 168, 204, 0.4);
    --glow-emerald: 0 0 25px rgba(0, 255, 170, 0.4);
    
    /* Spacing & Borders en rem para permitir escalado dinámico */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    --radius-hud: 1rem;
}

/* Reset & Quantum Background Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 13.5px; /* Reducción de la escala base global (13.5px en lugar de los 16px por defecto) para paridad visual al 100% de zoom */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-deep);
    background-image: 
        radial-gradient(circle at 50% 40%, #00363a 0%, transparent 70%),
        radial-gradient(circle at 10% 20%, #002224 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, #014c4f 0%, #031417 100%); /* Gradiente verde esmeralda y cian profundo */
    background-attachment: fixed; /* Evita el cambio de tono al hacer scroll */
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Cyber Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #031417;
    border-left: 1px solid rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(13, 242, 201, 0.25);
    border-radius: 4px;
    border: 1px solid #031417;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* Layout Core Wrapper */
.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md);
    position: relative;
    z-index: 2;
}

/* Canvas background overlay */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

/* Abstract Cosmic Nebulae background */
.quantum-nebula {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18; /* Nebulosas más suaves para integrarse al negro */
    z-index: 0;
    pointer-events: none;
    animation: floating-orb 25s infinite alternate ease-in-out;
}
.nebula-blue {
    top: -150px;
    left: 10%;
    background: radial-gradient(circle, #0044cc 0%, transparent 70%);
}
.nebula-cyan {
    bottom: -150px;
    right: 15%;
    background: radial-gradient(circle, #051b3b 0%, transparent 70%);
    animation-delay: -7s;
}


/* Typography Utility */
.mono-ui {
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Master Glassmorphism Panel Class */
.glass-panel {
    background: var(--color-glass-base);
    backdrop-filter: blur(8px); /* Desenfoque más suave para ver mejor el vórtice de fondo */
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(13, 242, 201, 0.35); /* Borde menta brillante */
    border-radius: var(--radius-hud);
    box-shadow: 
        0 0 25px rgba(13, 242, 201, 0.15),
        0 15px 45px rgba(0, 0, 0, 0.55), 
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-hud);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Animations */
@keyframes floating-orb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 60px) scale(1.15); }
}

@keyframes pulse-neon {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 243, 255, 0.15); }
    50% { box-shadow: 0 0 25px rgba(0, 243, 255, 0.35); }
}
