:root {
    /* Colores más vibrantes para 2025 */
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --accent-color: #0ea5e9;
    --glass-bg-light: rgba(255, 255, 255, 0.7);
    --glass-bg-hero: rgba(255, 255, 255, 0.15); /* Cristal más transparente para fondo oscuro */
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-dark: #0f172a;
}

body {
    font-family: 'Outfit', sans-serif; /* Tipografía más geométrica/moderna */
    background-color: #f8fafc;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
    font-family: 'Space Grotesk', sans-serif; /* Toque futurista en títulos */
}

/* --- Navbar Glass --- */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 1rem 2rem;
    z-index: 1000;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HERO SECTION REIMAGINADO --- */
.hero-wrapper {
    position: relative;
    min-height: 100vh; /* Pantalla completa */
    display: flex;
    align-items: center;
    /* Gradiente llamativo de fondo */
    background: radial-gradient(circle at top right, #3b0764 0%, #1e1b4b 40%, #0f172a 100%);
    overflow: visible; /* Cambiado para permitir que el wave se vea */
    color: white;
    padding-top: 80px;
    padding-bottom: 100px; /* Espacio para el wave divider */
}

/* Fondo Animado de Iconos */
.animated-bg-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.08); /* Iconos sutiles */
    font-size: 3rem;
    animation: floatIcon 15s infinite linear;
}

/* Posiciones y tamaños variados para los iconos */
.icon-1 { top: 10%; left: 10%; font-size: 4rem; animation-duration: 25s; animation-delay: 0s; } /* Robot */
.icon-2 { top: 20%; right: 15%; font-size: 3rem; animation-duration: 20s; animation-delay: -5s; } /* Phone */
.icon-3 { bottom: 15%; left: 20%; font-size: 5rem; animation-duration: 30s; animation-delay: -2s; } /* Brain */
.icon-4 { bottom: 30%; right: 5%; font-size: 2.5rem; animation-duration: 18s; animation-delay: -10s; } /* Wave */
.icon-5 { top: 50%; left: 50%; font-size: 8rem; opacity: 0.03; animation: pulseIcon 10s infinite alternate; } /* Central giant icon */

@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-20px) rotate(10deg) scale(1.1); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes pulseIcon {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.03; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.06; }
}

/* Brillitos aleatorios (Particles) */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 10px #22d3ee;
    animation: particleMove 20s linear infinite;
}
@keyframes particleMove {
    0% { transform: translateY(100vh) translateX(0); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

/* --- Contenido del Hero --- */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    color: #22d3ee;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.cta-btn {
    background: linear-gradient(90deg, #22d3ee 0%, #3b82f6 100%);
    border: none;
    color: white;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6);
    color: white;
}

/* --- Secciones Generales (Blanco) --- */
.section-light {
    background: #f8fafc;
    color: var(--text-dark);
    position: relative;
    z-index: 2; /* Encima del background fijo si fuera necesario */
}

.glass-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); }

/* Icon styling */
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Form styling */
.form-control {
    border-radius: 12px;
    padding: 12px;
    background: #f1f5f9;
    border: 1px solid transparent;
}
.form-control:focus { background: white; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }


/* Wave Divider Styling */
.hero-wrapper > div:last-child {
    pointer-events: none; /* No interfiere con clicks */
}

.hero-wrapper svg {
    vertical-align: middle; /* Elimina espacios en blanco debajo del SVG */
}

/* Asegurar que la siguiente sección no tenga gap */
.section-light:first-of-type {
    margin-top: 0;
    padding-top: 3rem;
}

@media screen and (max-width: 768px) {
    .hero-wrapper {
        min-height: 80vh;
    }
}

@media screen and (max-width: 480px) {
    .hero-wrapper {
        min-height: 70vh;
    }
}
