/* Custom Styles - Neve-inspired: Minimal, Agile, Blue/Gray/White – Hero Disruptivo Upgraded */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

.hero {
    /* Degradado híbrido disruptivo: Radial + Lineal para profundidad etérea */
    background: 
        radial-gradient(circle at center, rgba(0, 191, 255, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, #007bff 0%, #0056b3 50%, #4B0082 100%);
    min-height: 100vh;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Overlay etéreo para menos plano – como en las refs */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(20px) brightness(1.1);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

/* Partículas sutiles azules para sparkle (CSS puro, liviano) */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 191, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 123, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

@keyframes sparkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

.navbar {
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: #333 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff !important;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15) !important;
}

.italic {
    font-style: italic;
    font-size: 0.95em;
}

.text-primary {
    color: #007bff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4); /* Glow disruptivo */
    transform: scale(1.05);
}

/* Responsive Adjustments – Hero adapta degradado en mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding-top: 100px;
        background: 
            radial-gradient(ellipse at top, rgba(0, 191, 255, 0.15) 0%, transparent 60%),
            linear-gradient(180deg, #007bff 0%, #4B0082 100%); /* Vertical para mobile */
    }
    
    .hero::before {
        filter: blur(10px); /* Menos blur en small screens */
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    @keyframes sparkle {
        from { transform: translateX(0px); }
        to { transform: translateX(-200px); }
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Footer Links */
footer a {
    transition: color 0.3s;
}

footer a:hover {
    color: #007bff !important;
    text-decoration: none;
}

/* Tool Stack Icons */
.card-body i {
    font-size: 1.5rem;
}