/* Revolutionary Neural Network & Biotech Design System */

/* CSS Variables for Neural Theme */
:root {
    /* Neural Network Color Palette */
    --neural-blue: #00d4ff;
    --neural-pink: #ff0080;
    --bio-green: #00ff88;
    --space-silver: #c0c0c0;
    --dark-neural: #0a0a0f;
    --neural-gradient: linear-gradient(135deg, var(--neural-blue) 0%, var(--neural-pink) 50%, var(--bio-green) 100%);
    --bio-gradient: linear-gradient(45deg, var(--bio-green) 0%, var(--neural-blue) 100%);
    --space-gradient: linear-gradient(180deg, var(--dark-neural) 0%, var(--space-silver) 100%);
    
    /* Neural Typography */
    --neural-font: 'Orbitron', 'Roboto', sans-serif;
    --bio-font: 'Inter', 'Segoe UI', sans-serif;
    
    /* Neural Spacing */
    --neural-radius: 25px;
    --bio-radius: 50px;
    --space-radius: 15px;
    
    /* Neural Shadows */
    --neural-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --bio-glow: 0 0 25px rgba(0, 255, 136, 0.4);
    --pink-glow: 0 0 20px rgba(255, 0, 128, 0.5);
}

/* Global Neural Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--bio-font);
    background: var(--dark-neural);
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Neural Network Animations */
@keyframes neural-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: var(--neural-glow);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: var(--pink-glow);
    }
}

@keyframes bio-flow {
    0% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-10px) rotate(180deg);
        opacity: 1;
    }
    100% { 
        transform: translateY(0) rotate(360deg);
        opacity: 0.7;
    }
}

@keyframes neural-connect {
    0% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
    100% { 
        background-position: 0% 50%;
    }
}

@keyframes space-drift {
    0%, 100% { 
        transform: translateX(0) translateY(0);
    }
    25% { 
        transform: translateX(10px) translateY(-5px);
    }
    50% { 
        transform: translateX(-5px) translateY(10px);
    }
    75% { 
        transform: translateX(-10px) translateY(-5px);
    }
}

/* Neural Navigation */
.navbar-custom {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--neural-blue);
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.navbar-custom:hover {
    background: rgba(10, 10, 15, 0.98);
    box-shadow: var(--neural-glow);
}

.navbar-brand {
    font-family: var(--neural-font);
    font-weight: 800;
    font-size: 1.8rem;
    background: var(--neural-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neural-connect 3s ease-in-out infinite;
    background-size: 200% 200%;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--neural-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--neural-blue) !important;
    text-shadow: var(--neural-glow);
}

.btn-contact {
    background: var(--neural-gradient);
    border: none;
    color: white;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: var(--neural-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: var(--pink-glow);
}

/* Neural Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--neural-gradient);
    background-size: 400% 400%;
    animation: neural-connect 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(0,212,255,0.2)"/><circle cx="40" cy="80" r="1" fill="rgba(255,0,128,0.3)"/><circle cx="70" cy="70" r="2.5" fill="rgba(0,255,136,0.2)"/></svg>');
    animation: space-drift 20s ease-in-out infinite;
}

.hero-title {
    font-family: var(--neural-font);
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    animation: neural-pulse 4s ease-in-out infinite;
}

.hero-desc {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Neural Cards */
.neural-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    border-radius: var(--bio-radius);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.neural-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--neural-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--bio-radius);
    z-index: -1;
}

.neural-card:hover::before {
    opacity: 0.1;
}

.neural-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    border-color: var(--neural-blue);
    box-shadow: var(--neural-glow);
}

/* Bio-Tech Sections */
.bio-section {
    padding: 6rem 0;
    position: relative;
}

.bio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.section-neural-bg {
    background: var(--bio-gradient);
    background-size: 300% 300%;
    animation: neural-connect 6s ease-in-out infinite;
    border-radius: var(--bio-radius);
    position: relative;
    overflow: hidden;
}

.section-neural-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 Q50,10 80,20 Q90,50 80,80 Q50,90 20,80 Q10,50 20,20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    animation: bio-flow 15s ease-in-out infinite;
}

/* Neural Typography */
.neural-text {
    background: var(--neural-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--neural-font);
    font-weight: 800;
    background-size: 200% 200%;
    animation: neural-connect 4s ease-in-out infinite;
}

.bio-text {
    color: var(--bio-green);
    font-weight: 600;
    text-shadow: var(--bio-glow);
}

/* Expert Profiles with Neural Theme */
.expert-neural-card {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 3px solid transparent;
    border-radius: var(--bio-radius);
    padding: 3rem;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.expert-neural-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--neural-gradient);
    border-radius: var(--bio-radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expert-neural-card:hover::before {
    opacity: 1;
}

.expert-neural-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.expert-neural-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 4px solid var(--neural-blue);
    box-shadow: var(--neural-glow);
    transition: all 0.3s ease;
    animation: neural-pulse 6s ease-in-out infinite;
}

.expert-neural-photo:hover {
    border-color: var(--neural-pink);
    box-shadow: var(--pink-glow);
}

/* Neural Pricing Cards */
.pricing-neural-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    border: 2px solid var(--neural-blue);
    border-radius: var(--neural-radius);
    padding: 3rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-neural-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--neural-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-neural-card:hover::after {
    transform: scaleX(1);
}

.pricing-neural-card:hover {
    transform: translateY(-10px);
    border-color: var(--neural-pink);
    box-shadow: var(--pink-glow);
}

.pricing-neural-price {
    font-family: var(--neural-font);
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--neural-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 2rem 0;
}

/* Neural Buttons */
.btn-neural {
    background: var(--neural-gradient);
    border: none;
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: var(--neural-radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: var(--neural-font);
}

.btn-neural::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.btn-neural:hover::before {
    width: 300px;
    height: 300px;
}

.btn-neural:hover {
    transform: translateY(-3px);
    box-shadow: var(--neural-glow);
}

/* Neural Footer */
.footer-neural {
    background: var(--dark-neural);
    border-top: 3px solid var(--neural-blue);
    position: relative;
    overflow: hidden;
}

.footer-neural::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--neural-gradient);
    animation: neural-connect 5s ease-in-out infinite;
    background-size: 200% 200%;
}

.footer-neural-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-neural-links a:hover {
    color: var(--neural-blue);
    text-shadow: var(--neural-glow);
}

/* Neural Contact Form */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--neural-blue);
    border-radius: var(--neural-radius);
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--neural-pink);
    box-shadow: var(--pink-glow);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Neural Cookie Consent */
.cookie-neural {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid var(--neural-blue);
    border-radius: var(--neural-radius);
    padding: 1.5rem;
    z-index: 1000;
    animation: neural-pulse 3s ease-in-out infinite;
}

/* Responsive Neural Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .neural-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .expert-neural-card {
        padding: 2rem;
    }
    
    .pricing-neural-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-desc {
        font-size: 1.1rem;
    }
    
    .neural-card {
        padding: 1rem;
    }
}

/* Neural Utility Classes */
.neural-glow {
    box-shadow: var(--neural-glow);
}

.bio-glow {
    box-shadow: var(--bio-glow);
}

.pink-glow {
    box-shadow: var(--pink-glow);
}

.neural-border {
    border: 2px solid var(--neural-blue);
}

.bio-border {
    border: 2px solid var(--bio-green);
}

.space-border {
    border: 2px solid var(--space-silver);
}

.neural-bg {
    background: var(--neural-gradient);
}

.bio-bg {
    background: var(--bio-gradient);
}

.space-bg {
    background: var(--space-gradient);
}

/* Neural Loading Animation */
.neural-loader {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top: 3px solid var(--neural-blue);
    border-radius: 50%;
    animation: neural-pulse 1s linear infinite;
}

/* Neural Scroll Indicator */
.neural-scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--neural-gradient);
    transform-origin: left;
    z-index: 1000;
}

