/* NeuralOmega Health - Ethereal Placeholder Styles */

:root {
    /* Research Brand Colors - Beautiful Blues Palette */
    --primary-blue: #3b82f6;      /* Electric Blue - Principal */
    --secondary-blue: #6366f1;    /* Indigo Blue - Secundario */
    --light-blue: #93c5fd;        /* Sky Blue - Claro */
    --soft-blue: #dbeafe;         /* Powder Blue - Suave */
    --accent-blue: #2563eb;       /* Royal Blue - Acento */
    
    /* Neutral Colors */
    --white: #ffffff;
    --near-white: #fefefe;
    --light-gray: #f8fafc;
    --medium-gray: #8892b0;
    --dark-gray: #2d3748;
    
    /* Glassmorphism Colors */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(59, 130, 246, 0.15);
    --glass-shadow: rgba(59, 130, 246, 0.08);
    
    /* Typography */
    --font-primary: 'Sora', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    background: var(--white);
    color: var(--dark-gray);
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ethereal Canvas Background */
#etherealCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

/* Hero Container */
.hero-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
}

/* Brand Container */
.brand-container {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.2s ease-out 0.5s forwards;
}

.brand-title {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3em; /* Espacio entre las palabras */
    flex-wrap: nowrap; /* Evita que se apile */
}

.brand-primary {
    background: linear-gradient(135deg, 
        var(--primary-blue) 100%, 
        var(--secondary-blue) 100%, 
        var(--light-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 15px rgba(183, 61, 124, 0.3));
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.brand-vertical {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--primary-blue);
    opacity: 0.9;
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.3));
}

/* Brand Description */
.brand-description {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    color: var(--medium-black);
    max-width: 600px;
    margin: 0 auto 4rem;
    
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1s forwards;
}

/* CTA Container */
.cta-container {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

/* Glassmorphism CTA Button */
.glass-cta {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1.2rem 3rem;
    
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-blue);
    
    cursor: pointer;
    transition: var(--transition-bounce);
    
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(59, 130, 246, 0.1);
    
    overflow: hidden;
    z-index: 1;
}

.glass-cta::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;
    z-index: -1;
}

.glass-cta:hover::before {
    left: 100%;
}

.glass-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(59, 130, 246, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

.glass-cta:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-text {
    position: relative;
    z-index: 2;
    display: block;
    transition: var(--transition-smooth);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition-smooth);
    z-index: 0;
}

.glass-cta:hover .cta-glow {
    width: 200px;
    height: 200px;
}

/* Footer Note */
.footer-note {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 2s forwards;
}

.footer-note p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--medium-gray);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

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

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Subtle floating animation for elements */
.brand-container {
    animation: fadeInUp 1.2s ease-out 0.5s forwards, 
              
}



/* Responsive Design */
@media (max-width: 768px) {
    .hero-container {
        padding: 1.5rem;
    }
    
    .content-wrapper {
        max-width: 100%;
    }
    
    .brand-container {
        margin-bottom: 2rem;
    }
    
    .brand-title {
        flex-direction: column;
        gap: 0.2em;
    }
    
    .brand-description {
        margin-bottom: 3rem;
        font-size: 1.1rem;
        line-height: 1.5;
    }
    
    .glass-cta {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .cta-container {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 1rem;
    }
    
    .brand-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.1em;
    }
    
    .brand-primary {
        font-size: 2.5rem;
    }
    
    .brand-vertical {
        font-size: 2rem;
    }
    
    .brand-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-primary {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .glass-cta {
        transition: none;
    }
}

/* Dark mode support (future-proofing) */
@media (prefers-color-scheme: dark) {
    :root {
        --glass-bg: rgba(0, 0, 0, 0.2);
        --medium-gray: #cbd5e1;
        --dark-gray: #f1f5f9;
    }
    
    body {
        background: #0f172a;
        color: var(--dark-gray);
    }
    
    #etherealCanvas {
        opacity: 0.3;
    }
}