html {
    scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&display=swap');

:root {
    --bg-dark: #0a0b0d;
    --bg-card: #141518;
    --accent-color: #d4ff3f; 
    --accent-secondary: #ff0055; 
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --border: rgba(255, 255, 255, 0.07);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    
    
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 50px 50px;
}


body::before,
body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px); 
    z-index: -1; 
    opacity: 0.15; 
    pointer-events: none;
}


body::before {
    background: var(--accent-color);
    top: -10%;
    right: -10%;
    animation: floatNeon1 15s ease-in-out infinite alternate;
}


body::after {
    background: var(--accent-secondary);
    bottom: -10%;
    left: -10%;
    animation: floatNeon2 18s ease-in-out infinite alternate;
}



@keyframes floatNeon1 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    50% {
        transform: translate(-80px, 60px) scale(1.2);
        opacity: 0.18;
    }
    100% {
        transform: translate(-40px, -30px) scale(0.9);
        opacity: 0.12;
    }
}


@keyframes floatNeon2 {
    0% {
        transform: translate(0, 0) scale(1.1);
        opacity: 0.15;
    }
    50% {
        transform: translate(90px, -50px) scale(0.85);
        opacity: 0.10;
    }
    100% {
        transform: translate(40px, 40px) scale(1.15);
        opacity: 0.15;
    }
}
.nav-menu {
    display: flex;
    gap: 10px;
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    align-items: center;
    background: var(--accent-color);
    color: black;
    font-weight: bold;
    border-radius: 15px;
    animation: float 3s ease-in-out infinite;
}
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 5%;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 15px;
}

.nav-btn {
    
    text-decoration: none; 
    
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent; 
    letter-spacing: 1px;
}


.nav-btn:hover {
    text-decoration: none; 
    color: var(--accent-color);
    background: rgba(212, 255, 63, 0.05);
    border-color: rgba(212, 255, 63, 0.2);
    transform: translateY(-2px);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span { color: var(--accent-color); }

.nav-links span {
    margin-left: 20px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.btn-top {
    background: var(--accent-color);
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.btn-top:hover { transform: scale(1.05); }

.header-name-container {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.elegant-title {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: -1px;
    
   
    animation: elegantEntrance 1.2s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.elegant-title .neon-surname {
    display: block;
    color: var(--accent-color); 
    
   
    animation: neonGlow 3s ease-in-out infinite alternate;
}



@keyframes elegantEntrance {
    0% {
        letter-spacing: -5px;
        transform: translateY(30px);
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        letter-spacing: -1px;
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 5px rgba(212, 255, 63, 0.2), 
                     0 0 10px rgba(212, 255, 63, 0.2);
    }
    100% {
        text-shadow: 0 0 15px rgba(212, 255, 63, 0.6), 
                     0 0 25px rgba(212, 255, 63, 0.4),
                     0 0 35px rgba(212, 255, 63, 0.2);
    }
}
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    padding: 50px 5%;
    min-height: 80vh;
    align-items: center;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.hero h1 span {
    display: block;
    color: var(--text-dim);
}

.tagline {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: bold;
}

.btn-main {
    display: inline-block;
    margin-top: 30px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-main:hover {
    background: var(--text-main);
    color: black;
}


.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    justify-self: center;
    
    
    padding: 10px; 
}

.image-container img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--border);
    filter: grayscale(0.2);
    display: block;
    
  
    animation: avatarEntrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
   
    animation-delay: 0.2s; 
}


.floating-card {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: var(--accent-color);
    color: black;
    padding: 15px 25px;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
    
    
    animation: elegantEntrance 1.3s cubic-bezier(0.215, 0.610, 0.355, 1.000) both, 
               float 4s ease-in-out infinite 1.3s;
}




@keyframes avatarEntrance {
    0% {
        
        transform: scale(1.15) translate(30px, -10px) rotate(5deg);
        filter: blur(15px) grayscale(0.5);
        opacity: 0;
    }
    60% {
        
        filter: blur(4px) grayscale(0.2);
        opacity: 0.8;
    }
    100% {
       
        transform: scale(1) translate(0, 0) rotate(2deg);
        filter: blur(0) grayscale(0.2);
        opacity: 1;
    }
}


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

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent-color);
    color: black;
    padding: 20px;
    font-weight: bold;
    border-radius: 15px;
    animation: float 3s ease-in-out infinite;
}
.eye-tracker-dot {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(212, 255, 63, 0.4) 0%, rgba(212, 255, 63, 0.1) 40%, transparent 70%);
    border: 1px dashed rgba(212, 255, 63, 0.6);
    border-radius: 50%;
    position: fixed;
    pointer-events: none; 
    transform: translate(-50%, -50%);
    z-index: 9999; 
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: screen; 
    
   
    animation: trackerPulse 2s infinite ease-in-out;
}

.software-section {
    margin-top: 50px;
    margin-bottom: 30px;
    animation: elegantEntrance 1.4s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}

.software-title {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.software-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}


.software-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 21, 24, 0.6);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.software-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.3s;
}


.icon-svg {
    width: 20px;
    height: 20px;
    color: var(--text-dim);
    transition: color 0.3s, transform 0.3s;
}

.adobe-box {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
    transition: all 0.3s;
}


.software-item:hover {
    border-color: var(--accent-color);
    background: rgba(212, 255, 63, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 255, 63, 0.1);
}

.software-item:hover span {
    color: var(--accent-color);
}


.software-item:hover .icon-svg {
    color: var(--accent-color);
    transform: scale(1.1);
}

.software-item:hover .adobe-box {
    color: var(--accent-color);
    border-color: var(--accent-color);
    text-shadow: 0 0 8px rgba(212, 255, 63, 0.5);
    box-shadow: inset 0 0 4px rgba(212, 255, 63, 0.2);
}


.software-item:hover .ai-box { background: rgba(255, 154, 0, 0.05); }
.software-item:hover .ps-box { background: rgba(0, 200, 255, 0.05); }
.software-item:hover .ae-box { background: rgba(153, 153, 255, 0.05); }
.software-item:hover .pr-box { background: rgba(255, 102, 255, 0.05); }
.software-item:hover .lr-box { background: rgba(0, 230, 180, 0.05); }
body:has(a:hover, button:hover, .card:hover) .eye-tracker-dot {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(212, 255, 63, 0.6) 0%, rgba(212, 255, 63, 0.2) 50%, transparent 80%);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 255, 63, 0.5);
}


@keyframes trackerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.5;
    }
}

html {
    cursor: none;
}
a, button, .team-trigger {
    cursor: none;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


.team-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    width: fit-content;
}
.team-section {
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-collapse {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.team-trigger {
    padding: 20px;
    list-style: none; 
    cursor: pointer;
    outline: none;
    transition: background 0.3s;
}

.team-trigger::-webkit-details-marker {
    display: none; 
}

.team-trigger:hover {
    background: rgba(255, 255, 255, 0.03);
}

.team-badge-compact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-info span {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border);
    animation: fadeIn 0.5s ease;
}


.partner-card {
    background: #1e1f23;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    text-align: center;
    transition: 0.3s;
}

.partner-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.avatar-large {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.partner-tag {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.btn-partner {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    transition: 0.3s;
}

.btn-partner:hover {
    background: var(--accent-color);
    color: #000;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


#equipo {
    scroll-margin-top: 100px;
}
.avatar-mini {
    width: 35px;
    height: 35px;
    background: #444;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid var(--bg-dark);
    margin-right: -10px;
}


.academic-grid {
    padding: 100px 5%;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.card.active {
    background: var(--accent-color);
    color: black;
}

.card h3 { margin-bottom: 20px; font-size: 1.5rem; }
.card ul { list-style: none; }
.card ul li { margin-bottom: 8px; opacity: 0.8; font-size: 0.9rem; }

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.academic-metrics-section {
    padding: 30px 5% 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Tarjeta individual de métrica */
.metric-card {
    background: rgba(20, 21, 24, 0.6);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -1px;
    line-height: 1;
}

.metric-subtext {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: block;
    margin-top: 10px;
}


.text-neon {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(212, 255, 63, 0.3);
}


.metric-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}


.status-active {
    color: #00ffa3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status-active::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #00ffa3;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #00ffa3;
    animation: metricPulse 2s infinite ease-in-out;
}



.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


.metric-card:has(.text-neon):hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 255, 63, 0.1);
}


@keyframes metricPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}
footer {
    padding: 50px 5%;
    border-top: 1px solid var(--border);
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.footer-col p {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.legal { margin-top: 20px; font-style: italic; }


@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .team-badge { margin: 30px auto; }
}

   

.rotulo-hardware-container {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    padding: 0 5%;
    position: relative;
    box-sizing: border-box;
}


.hardware-card-neon {
    background: linear-gradient(135deg, rgba(13, 14, 18, 0.95) 0%, rgba(8, 9, 11, 0.98) 100%);
    border: 1px solid rgba(255, 0, 85, 0.15);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(212, 255, 63, 0.02);
    overflow: hidden;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}


.hardware-card-neon:hover {
    border-color: rgba(212, 255, 63, 0.3);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(212, 255, 63, 0.04),
        inset 0 0 20px rgba(255, 0, 85, 0.03);
}


.neon-cable {
    position: absolute;
    background: var(--accent-secondary);
    box-shadow: 0 0 12px var(--accent-secondary), 0 0 4px var(--accent-secondary);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}


.cable-top-left {
    top: 0;
    left: 10%;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-secondary), transparent);
}


.cable-bottom-right {
    bottom: 0;
    right: 15%;
    width: 45px;
    height: 2px;
    background: linear-gradient(to left, var(--accent-color), transparent);
    box-shadow: 0 0 12px var(--accent-color), 0 0 4px var(--accent-color);
}

.hardware-card-neon:hover .cable-top-left {
    background: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-color), 0 0 4px var(--accent-color);
    opacity: 1;
}


.system-status {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-secondary);
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.glow-title-rotulo {
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0 0 25px 0;
    color: var(--text-main);
}

.glow-title-rotulo span {
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(212, 255, 63, 0.5);
}

.glow-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 25px 0;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.glow-subtitle span {
    color: var(--accent-secondary);
    text-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
}

.bio-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 0 0 18px 0;
}

.bio-text strong {
    color: var(--text-main);
    font-weight: 700;
}

.bio-text em {
    color: var(--accent-color);
    font-style: normal;
}


.ai-vs-student-container {
    margin-top: 35px;
}

.progress-bar-wrapper {
    display: flex;
    height: 32px;
    background: #0f1012;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    padding: 2px;
    box-sizing: border-box;
}

.bar-split {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.student-bar {
    background: var(--accent-secondary);
    color: var(--text-main);
    border-radius: 4px 0 0 4px;
    box-shadow: inset 0 0 10px rgba(255, 0, 85, 0.2);
}

.ai-bar {
    background: var(--accent-color);
    color: #0a0b0d;
    border-radius: 0 4px 4px 0;
    box-shadow: inset 0 0 10px rgba(212, 255, 63, 0.3);
}

.tech-specs-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: var(--text-dim);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 8px;
    opacity: 0.6;
}


.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}


.process-steps-vertical::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 20px;
    width: 1px;
    height: calc(100% - 30px);
    background: var(--border);
    z-index: 1;
}

.step-node {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}


.node-number {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #141518;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.node-content {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid transparent;
    padding: 0 15px 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.node-content h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 4px 0 6px 0;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.node-content p {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--text-dim);
    margin: 0;
}


.step-node:hover .node-number {
    border-color: var(--accent-color);
    color: #0a0b0d;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.step-node:hover .node-content h4 {
    color: var(--accent-color);
}


@media (max-width: 900px) {
    .hardware-card-neon {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 25px;
    }
    .neon-cable {
        display: none; 
    }
}



:root {
    --pcb-bg-dark: #0a0b0d;       
    --pcb-neon-yellow: #ccff00;   
    --pcb-neon-fucsia: #ff007b;   
    --pcb-card-bg: rgba(13, 27, 34, 0.84); 
}

body {
    background-color: var(--pcb-bg-dark) !important;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    color: #ffffff;
    overflow-x: hidden;
}


.pcb-global-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    pointer-events: none; 
    background: radial-gradient(circle at center, transparent 30%, rgba(13, 27, 34, 0.7) 90%);
}


.rotulo-mainframe-card, 
.portfolio-box, 
.cyber-container {
    background: var(--pcb-card-bg) !important;
    backdrop-filter: blur(14px); 
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 0, 123, 0.25); 
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}


.rotulo-mainframe-card:hover {
    border-color: var(--pcb-neon-yellow);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 20px rgba(204, 255, 0, 0.1);
}

/* ==========================================================================
   PANTALLA DE ARRANQUE INMERSIVA (PRELOADER CYBER)
   ========================================================================== */

#hardware-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0d1b22; /* Tu azul oscuro profundo de base */
    z-index: 9999; /* Se superpone de manera absoluta a toda la web */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.8s;
}

/* Caja contenedora centralizada */
.terminal-loader-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

/* Núcleo de Energía Amarillo Neón */
.loader-matrix-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ccff00; /* Tu amarillo neón */
    box-shadow: 0 0 20px #ccff00, inset 0 0 15px rgba(204, 255, 0, 0.4);
    position: relative;
    animation: rotateCore 2s linear infinite;
}

.core-pulse-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ff007b; /* Tu fucsia */
    box-shadow: 0 0 25px #ff007b;
    animation: pulseRing 1.5s ease-out infinite;
}

/* Bloque de Textos e Interfaz del Terminal */
.terminal-text-diagnose {
    font-family: monospace; /* Tipografía de código rigurosa */
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #a0a5c0;
    text-transform: uppercase;
}

.terminal-line {
    margin: 6px 0;
    white-space: nowrap;
    overflow: hidden;
}

.terminal-line.status-ok {
    color: #ccff00;
    text-shadow: 0 0 8px rgba(204, 255, 0, 0.5);
}

.terminal-line.status-load {
    color: #ff007b;
    text-shadow: 0 0 8px rgba(255, 0, 123, 0.5);
}

/* Barra de progreso de carga de datos */
.progress-bytes-counter {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 123, 0.2);
    border-radius: 2px;
    margin: 15px 0;
    overflow: hidden;
}

.bytes-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff007b, #ccff00);
    box-shadow: 0 0 10px #ff007b;
    animation: fillProgress 2.2s cubic-bezier(0.1, 0.85, 0.25, 1) forwards;
}

/* Efecto Titilante del cursor final_ */
.blink-text {
    animation: textBlink 0.8s step-end infinite;
    color: #ffffff;
}

/* Ocultador automático (Será activado por JavaScript) */
#hardware-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* --- ANIMACIONES DE SISTEMA (KEYFRAMES) --- */
@keyframes rotateCore {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseRing {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes fillProgress {
    0% { width: 0%; }
    50% { width: 45%; }
    75% { width: 80%; }
    100% { width: 100%; }
}

@keyframes textBlink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

        .notes-fichero-system {
            max-width: 1200px;
            margin: 60px auto 100px auto;
            padding: 0 4%;
            box-sizing: border-box;
        }

        .fichero-header {
            margin-bottom: 25px;
        }

        .fichero-code {
            font-family: monospace;
            font-size: 0.65rem;
            font-weight: 800;
            letter-spacing: 3px;
            color: #18bbc3;
            text-shadow: 0 0 10px rgba(24, 187, 195, 0.4);
            display: block;
        }

        .fichero-title {
            font-size: 2rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: -0.5px;
            margin: 5px 0 0 0;
            color: #ffffff;
        }

        .fichero-title span {
            color: #ff007b;
            text-shadow: 0 0 20px rgba(255, 0, 123, 0.4);
        }

        .fichero-tabs-index {
            display: flex;
            gap: 12px;
            border-bottom: 2px solid rgba(160, 165, 192, 0.15);
            padding-bottom: 1px;
        }

        .tab-indexer {
            background: rgba(13, 21, 28, 0.6);
            border: 1px solid rgba(160, 165, 192, 0.2);
            border-bottom: none;
            padding: 12px 28px;
            font-family: monospace;
            font-size: 0.8rem;
            font-weight: 700;
            color: #a0a5c0;
            border-radius: 8px 8px 0 0;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
        }

        .tab-indexer:hover {
            color: #ffffff;
            background: rgba(13, 21, 28, 0.9);
            border-color: rgba(255, 0, 123, 0.4);
        }

        .tab-indexer.active {
            background: #0d1b22;
            color: #ccff00;
            border-color: #ccff00;
            border-bottom: 2px solid #0d1b22;
            padding-bottom: 13px;
            font-weight: 800;
            text-shadow: 0 0 10px rgba(204, 255, 0, 0.4);
            box-shadow: 0 -5px 15px rgba(204, 255, 0, 0.05);
        }

        .fichero-cards-vault {
            background: rgba(13, 21, 28, 0.85);
            border: 1px solid rgba(160, 165, 192, 0.15);
            border-top: none;
            border-radius: 0 0 16px 16px;
            padding: 40px 30px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .fichero-year-panel {
            display: none;
        }

        .fichero-year-panel.active {
            display: block;
            animation: panelDeploy 0.4s cubic-bezier(0.15, 0.85, 0.45, 1);
        }

        .fichero-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
        }

        .fichero-card {
            background: #111e25;
            border: 1px solid rgba(255, 0, 123, 0.15);
            border-left: 4px solid #ff007b;
            border-radius: 6px;
            padding: 20px;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 120px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.4);
            transition: all 0.3s cubic-bezier(0.15, 0.85, 0.45, 1);
        }

        .card-pcb-joint {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 6px;
            height: 6px;
            background: rgba(160, 165, 192, 0.3);
            border-radius: 50%;
        }

        .fichero-card:hover {
            transform: translateY(-4px);
            border-color: rgba(204, 255, 0, 0.4);
            box-shadow: 0 15px 30px rgba(0,0,0,0.5);
        }

        .subject-code {
            font-family: monospace;
            font-size: 0.65rem;
            color: #a0a5c0;
            opacity: 0.7;
            font-weight: 700;
        }

        .fichero-card h4 {
            font-size: 0.92rem;
            font-weight: 700;
            color: #ffffff;
            margin: 8px 0 15px 0;
            line-height: 1.3;
        }

        .fichero-card.status-in-progress {
            border-left-color: #ccff00;
        }

        .subject-status {
            font-family: monospace;
            font-size: 0.7rem;
            font-weight: 800;
            color: #ccff00;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .pulse-indicator-yellow {
            width: 7px;
            height: 7px;
            background-color: #ccff00;
            border-radius: 50%;
            box-shadow: 0 0 8px #ccff00;
            animation: indicatorPulse 1.2s ease-in-out infinite alternate;
        }

        .score-badge {
            font-family: monospace;
            font-size: 0.7rem;
            color: #a0a5c0;
            font-weight: 700;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .score-badge span {
            font-size: 1rem;
            font-weight: 900;
            color: #ff007b;
            text-shadow: 0 0 10px rgba(255, 0, 123, 0.3);
        }

        @keyframes panelDeploy {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes indicatorPulse {
            from { opacity: 0.3; box-shadow: 0 0 2px #ccff00; }
            to { opacity: 1; box-shadow: 0 0 10px #ccff00; }
        }

        @media (max-width: 600px) {
            .fichero-cards-vault { padding: 25px 15px; }
            .tab-indexer { padding: 10px 16px; font-size: 0.75rem; }
        }
    
     
        
        /* ==========================================================================
   BOTONES PRINCIPALES DE HARDWARE: ROSA/FUCSIA NEÓN INTERACTIVO
   ========================================================================== */

/* Buscador inteligente de botones por su contenido de texto */
button, .btn, .button, a[class*="btn"], a[class*="button"] {
    /* Filtramos específicamente los tuyos para no romper menús raros */
    &, &[href], &:is(button) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 28px;
        font-family: monospace; /* Estética técnica de código */
        font-size: 0.85rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
        cursor: pointer;
        border-radius: 6px;
        
        /* Ajuste de color: Texto blanco sobre fondo azul noche traslúcido */
        color: #ffffff !important;
        background: rgba(13, 27, 34, 0.6) !important;
        
        /* Estructura estructural en tu Rosa/Fucsia de marca */
        border: 2px solid #ff007b !important;
        
        /* Resplandor externo e interno del hardware encendido */
        box-shadow: 0 0 15px rgba(255, 0, 123, 0.4), 
                    inset 0 0 10px rgba(255, 0, 123, 0.2) !important;
                    
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        
        /* Transición veloz estilo pulso eléctrico */
        transition: all 0.3s cubic-bezier(0.15, 0.85, 0.45, 1) !important;
        margin: 10px;
    }
}

/* ==========================================================================
   INTERACCIÓN (HOVER): SOBRECARGA EN AMARILLO NEÓN
   ========================================================================== */

button:hover, .btn:hover, .button:hover, a[class*="btn"]:hover, a[class*="button"]:hover {
    /* El borde conmuta instantáneamente al Amarillo Neón / Lima */
    border-color: #ccff00 !important;
    
    /* El resplandor estalla en Amarillo */
    box-shadow: 0 0 25px #ccff00, 
                inset 0 0 15px rgba(204, 255, 0, 0.4) !important;
                
    /* Micro-desplazamiento de placa hacia arriba */
    transform: translateY(-3px) !important;
    color: #ffffff !important;
}

/* Detalle opcional por si querés agregar un micro testigo '>' antes del texto */
button::before, .btn::before, .button::before {
    content: "// " !important;
    color: #ff007b;
    transition: color 0.3s ease;
}

button:hover::before, .btn:hover::before, .button:hover::before {
    color: #ccff00; /* El testigo también muta a amarillo */
}


/* ==========================================================================
   EFECTO GLOBAL: REVELACIÓN PROGRESIVA AL HACER SCROLL (CSS PURO)
   ========================================================================== */

/* 1. Definimos la animación de hardware activándose */
@keyframes pcbSectionReveal {
    from {
        opacity: 0;
        filter: blur(8px); /* Arranca desenfocado */
        transform: translateY(40px) scale(0.98); /* Emerge desde abajo sutilmente */
    }
    to {
        opacity: 1;
        filter: blur(0px); /* Se vuelve 100% nítido */
        transform: translateY(0) scale(1); /* Calza en su posición real */
    }
}

/* 2. Aplicamos el efecto a los bloques principales de tu página */
section, 
.fichero-card, 
.profile-hardware-module, 
footer {
    /* Vinculamos la animación directamente al movimiento del scroll del usuario */
    animation: pcbSectionReveal linear both;
    animation-timeline: view();
    
    /* Configuración del rango: la animación empieza cuando el bloque asoma 
       por abajo de la pantalla y termina de encenderse cuando entra un 25% */
    animation-range: entry 5% cover 25%;
}

/* 3. Optimizaciones de rendimiento para que el scroll vaya a 60fps reales */
@media (prefers-reduced-motion: reduce) {
    /* Si el usuario tiene desactivadas las animaciones en su PC, se apaga por accesibilidad */
    section, .fichero-card, .profile-hardware-module {
        animation: none !important;
        filter: none !important;
        transform: none !important;
    }
}

