@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Paleta Scooby-Doo Premium */
    --purple: #6B3FA0;
    --purple-light: #8b5cf6;
    --lime: #84cc16; /* Más vibrante para web */
    --cyan: #06b6d4;
    --orange: #f97316;
    --dark: #0f172a;
    --slate: #f1f5f9;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
    font-family: 'Outfit', sans-serif;
}

/* Rediseño de Mesh Gradient con Colores Scooby */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #fff;
    background-image: 
        radial-gradient(at 0% 0%, rgba(107, 63, 160, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(132, 204, 22, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.05) 0px, transparent 50%);
    filter: blur(80px);
}

/* Glassmorphism Refinado */
.nav-glass {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.5s ease;
}

.nav-glass.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px -15px rgba(107, 63, 160, 0.15);
}

/* Animaciones de Entrada (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Botones Premium con Efectos Scooby */
.btn-premium {
    position: relative;
    background: var(--purple);
    color: #fff;
    font-weight: 800;
    border-radius: 20px;
    padding: 1.25rem 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(107, 63, 160, 0.4);
}

.btn-premium:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(107, 63, 160, 0.5);
    background: var(--purple-light);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
}

.btn-premium:active::after {
    transform: scale(1);
}

/* Tarjetas Bento */
.bento-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 40px;
    padding: 3rem;
    transition: all 0.5s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.1);
    border-color: var(--purple);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float-subtle {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.floating-subtle {
    animation: float-subtle 8s ease-in-out infinite;
}

/* Secciones de Color */
.section-purple { background: var(--purple); color: #fff; }
.section-lime { background: var(--lime); color: var(--dark); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { 
    background: var(--purple); 
    border-radius: 10px;
    border: 3px solid #f1f1f1;
}
