:root {
    /* Colores Principales */
    --primary-black: #0a0a0a;
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --light-blue: #dbeafe;
    --warning-yellow: #fbbf24;
    
    /* Degradados Mejorados */
    --gradient-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #1e293b 25%, #1e40af 75%, #3b82f6 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    
    /* Grises con mejor contraste */
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    
    /* Colores de Estado */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Sombras Mejoradas */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 25px -5px rgba(30, 64, 175, 0.3);
    
    /* Transiciones */
    --transition-fast: all 0.15s ease-in-out;
    --transition-normal: all 0.3s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
    
    /* Fuentes */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Fira Code', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    
    /* Espaciado */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
}

/* ===============================================
   Reset y Base Styles MEJORADOS
   =============================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Selección de texto personalizada */
::selection {
    background: var(--accent-blue);
    color: white;
}

::-moz-selection {
    background: var(--accent-blue);
    color: white;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-secondary);
    border-radius: 6px;
    border: 2px solid var(--gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* ===============================================
   Typography MEJORADA
   =============================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
    letter-spacing: -0.05em;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

p {
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-600);
    opacity: 0.9;
}

.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===============================================
   Navigation Styles COMPLETAMENTE REDISEÑADAS
   =============================================== */

.navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    min-height: auto;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    transition: var(--transition-fast);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 32px;
    width: auto;
    margin-right: 0.75rem;
    filter: brightness(1.1);
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--warning-yellow) !important;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
    position: relative;
    margin: 0 0.25rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--warning-yellow);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

.navbar-nav .nav-link.active {
    color: white !important;
    background: var(--gradient-accent);
    box-shadow: var(--shadow-blue);
}

.navbar-nav .nav-link.active::before {
    width: 100%;
}

/* Botones en navbar */
.navbar .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    margin-left: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.navbar .btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Dropdown menus COMPLETAMENTE REDISEÑADOS */
.dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 1rem;
    margin-top: 0.5rem;
    min-width: 240px;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    transition: var(--transition-fast);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.25rem;
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--gradient-secondary);
    color: white;
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.dropdown-item .badge {
    margin-left: auto;
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: var(--gradient-warning);
    color: var(--gray-900);
    border-radius: var(--radius-md);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 0.75rem 0;
}

/* Navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===============================================
   Hero Section SIMPLE Y FUNCIONAL
   =============================================== */

   .hero-section {
    background: linear-gradient(135deg, #000000 0%, #1e293b 25%, #1e40af 75%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Contenido del hero - SIMPLE */
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-right: 20px;
    max-width: 100%;
}

.hero-content h1 {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 90% !important;
    width: 95%;
    word-break: break-word !important;
}

.hero-content .text-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Visual del hero */
.hero-visual {
    position: relative;
    z-index: 2;
}

.hero-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.hero-mockup img {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto;
}

/* Estadísticas */
.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.hero-stats .h4 {
    color: #fbbf24;
    font-weight: 900;
    font-size: 2.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero-stats small {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Botones */
.hero-actions {
    margin: 2rem 0;
}

.hero-features {
    margin-top: 2rem;
}

.hero-features small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-features i.fa-check {
    color: #fbbf24;
    margin-right: 0.5rem;
}

/* ===============================================
   RESPONSIVE DESIGN LIMPIO
   =============================================== */

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2rem !important;
        max-width: 100%;
}
}
@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-mockup {
        transform: none;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-stats {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .hero-stats .h4 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-stats .h4 {
        font-size: 1.8rem;
    }
}
/* ===============================================
   Buttons COMPLETAMENTE REDISEÑADOS
   =============================================== */

.btn {
    font-weight: 700;
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-md);
}

.btn: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: var(--transition-normal);
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), var(--shadow-blue);
    color: white;
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--gray-900);
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.3);
    font-weight: 800;
}

.btn-warning:hover {
    background: var(--warning);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 15px 30px -5px rgba(245, 158, 11, 0.4);
    color: var(--gray-900);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: var(--success);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 15px 30px -5px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: var(--space-xl) var(--space-3xl);
    font-size: 1.125rem;
    font-weight: 800;
}

/* ===============================================
   Cards COMPLETAMENTE REDISEÑADAS
   =============================================== */

.product-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--accent-blue);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.icon-wrapper {
    transition: var(--transition-normal);
    margin-bottom: var(--space-lg);
}

.product-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

.product-card h4 {
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.product-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

.product-card ul li {
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--space-xl);
    font-size: 4rem;
    color: var(--accent-blue);
    font-family: serif;
    opacity: 0.3;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-blue);
}

.stars {
    color: var(--warning);
    margin-bottom: var(--space-lg);
}

/* ===============================================
   Feature Items COMPLETAMENTE REDISEÑADAS
   =============================================== */

.feature-item {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    margin-bottom: var(--space-lg);
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(12px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-xl);
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover .feature-icon {
    background: var(--gradient-secondary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-blue);
}

.feature-item h5 {
    color: var(--gray-900);
    font-weight: 800;
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

/* ===============================================
   Sections MEJORADAS
   =============================================== */

section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.bg-light {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

/* ===============================================
   Footer COMPLETAMENTE REDISEÑADO Y PROFESIONAL
   =============================================== */

footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 100%);
    color: #e2e8f0;
    padding: 4rem 0 2rem 0;
    position: relative;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Efecto de brillo sutil en la parte superior */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.5) 25%, 
        rgba(251, 191, 36, 0.5) 50%, 
        rgba(59, 130, 246, 0.5) 75%, 
        transparent 100%
    );
    opacity: 0.8;
}

/* Container del footer */
footer .container {
    position: relative;
    z-index: 2;
}

/* Logo y descripción en el footer */
footer .d-flex.align-items-center {
    margin-bottom: 1.5rem;
}

footer .h5 {
    color: #ffffff;
    font-weight: 800;
    margin: 0;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

footer img {
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
    height: 32px;
    width: auto;
}

footer img:hover {
    transform: scale(1.05);
}

/* Texto descriptivo */
footer p.text-muted {
    color: #94a3b8 !important;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: 320px;
}

/* Títulos de las columnas */
footer h6 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer h6::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-secondary);
    border-radius: 1px;
}

/* Enlaces del footer */
footer .list-unstyled {
    padding: 0;
    margin: 0;
}

footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    display: inline-block;
}

footer a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: var(--transition-fast);
}

footer a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

footer a:hover::before {
    width: 100%;
}

/* Redes sociales */
footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: var(--transition-fast);
    margin-right: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

footer .social-links a:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-blue);
    border-color: transparent;
}

footer .social-links a:hover::before {
    width: 0;
}

/* Separador en footer */
footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 3rem 0 2rem 0;
}

/* Copyright y versión */
footer .row.align-items-center {
    margin-top: 2rem;
}

footer .row.align-items-center p {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

footer .fas.fa-heart {
    color: #ef4444;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive footer */
@media (max-width: 991.98px) {
    footer {
        padding: 3rem 0 1.5rem 0;
        text-align: center;
    }
    
    footer .col-lg-4,
    footer .col-lg-2 {
        margin-bottom: 2rem;
    }
    
    footer h6::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer .social-links {
        justify-content: center;
    }
    
    footer p.text-muted {
        max-width: none;
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 576px) {
    footer {
        padding: 2rem 0 1rem 0;
    }
    
    footer .col-lg-4,
    footer .col-lg-2 {
        margin-bottom: 1.5rem;
    }
    
    footer .social-links a {
        width: 40px;
        height: 40px;
    }
    
    footer h6 {
        font-size: 1rem;
    }
}

/* ===============================================
   Loading Overlay MEJORADO
   =============================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-content h5 {
    color: white;
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.loading-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    border-color: var(--warning-yellow);
    border-right-color: transparent;
}

/* ===============================================
   Animations MEJORADAS
   =============================================== */

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.8s ease-out forwards;
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.6s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ===============================================
   Forms MEJORADOS
   =============================================== */

.form-control {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
    font-weight: 500;
}

.form-control:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.15);
    background: white;
    transform: translateY(-1px);
}

.form-label {
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

/* ===============================================
   Utilities MEJORADAS
   =============================================== */

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-scale {
    transition: var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ===============================================
   Badge Credits MEJORADO
   =============================================== */

.badge {
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
}

.bg-warning {
    background: var(--gradient-warning) !important;
    color: var(--gray-900) !important;
}

/* ===============================================
   CTA Section MEJORADA
   =============================================== */

.py-5.bg-primary {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.py-5.bg-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.3;
}

.cta-buttons {
    margin-bottom: var(--space-xl);
}

.cta-note {
    margin-top: var(--space-lg);
}

.cta-note small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.cta-note i.fa-check {
    color: var(--warning-yellow);
}

/* ===============================================
   Responsive Design MEJORADO
   =============================================== */

@media (max-width: 991.98px) {
    .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .navbar .btn {
        margin-top: 1rem;
        margin-left: 0;
        width: 100%;
    }
    
    .dropdown-menu {
        border: none;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        margin-top: 0;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-2xl) 0;
        min-height: auto;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
        margin-bottom: var(--space-lg) !important;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-mockup {
        transform: none;
        margin-top: var(--space-2xl);
    }
    
    .product-card {
        margin-bottom: var(--space-xl);
    }
    
    .feature-item:hover {
        transform: none;
    }
    
    .btn-lg {
        padding: var(--space-lg) var(--space-xl);
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-brand img {
        height: 28px;
    }
    
    .hero-stats {
        margin: var(--space-xl) 0;
        padding: var(--space-xl);
    }
    
    .hero-stats .h4 {
        font-size: 2rem;
    }
    
    section {
        padding: var(--space-2xl) 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-stats {
        margin: var(--space-lg) 0;
        padding: var(--space-lg);
    }
    
    .hero-stats .h4 {
        font-size: 1.5rem;
    }
    
    .testimonial-card::before {
        display: none;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-brand img {
        height: 24px;
    }
    
    .btn-lg {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
    }
    
    .product-card,
    .testimonial-card {
        padding: var(--space-xl);
    }
    
    .feature-item {
        padding: var(--space-lg);
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* ===============================================
   Print Styles
   =============================================== */

@media print {
    .navbar,
    .loading-overlay,
    .btn,
    footer .social-links {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    .btn {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }
    
    footer {
        background: white !important;
        color: black !important;
        border-top: 2px solid black !important;
    }
}

/* ===============================================
   Dark Mode Support (Futuro)
   =============================================== */

@media (prefers-color-scheme: dark) {
    .dark-mode-preferred {
        --bg-primary: var(--gray-900);
        --text-primary: var(--gray-100);
    }
}

/* ===============================================
   Accessibility Improvements
   =============================================== */

/* Focus states mejorados */
a:focus,
button:focus,
.btn:focus,
.form-control:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: var(--radius-md);
}

.skip-to-content:focus {
    top: 6px;
}

/* Reducir movimiento para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-mockup {
        transform: none !important;
    }
}

/* ===============================================
   Additional Utility Classes
   =============================================== */

.text-primary-custom {
    color: var(--primary-blue) !important;
}

.text-secondary-custom {
    color: var(--secondary-blue) !important;
}

.bg-primary-custom {
    background: var(--gradient-primary) !important;
}

.bg-secondary-custom {
    background: var(--gradient-secondary) !important;
}

.border-primary-custom {
    border-color: var(--primary-blue) !important;
}

.shadow-blue-custom {
    box-shadow: var(--shadow-blue) !important;
}

/* Spacing utilities */
.mt-custom { margin-top: var(--space-3xl) !important; }
.mb-custom { margin-bottom: var(--space-3xl) !important; }
.py-custom { padding: var(--space-3xl) 0 !important; }
.px-custom { padding: 0 var(--space-3xl) !important; }

/* Text utilities */
.fw-extra-bold { font-weight: 800 !important; }
.fs-xs { font-size: 0.75rem !important; }
.lh-tight { line-height: 1.2 !important; }
.ls-tight { letter-spacing: -0.025em !important; }

/* Animation delays para elementos secuenciales */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Hover effects adicionales */
.hover-shadow:hover {
    box-shadow: var(--shadow-xl) !important;
    transition: var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4) !important;
    transition: var(--transition-normal);
}

/* Status indicators */
.status-online {
    background: var(--success);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Fin del archivo CSS */