/* ==========================================
   GALAXIA - ULTRA MODERN DESIGN SYSTEM
   Inspirado en Vambe.ai y Codefly
   ========================================== */

/* ==========================================
   BASE & RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Dark Theme con gradientes futuristas */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #A78BFA;
    --accent: #F472B6;
    --success: #34D399;
    --warning: #FBBF24;
    
    /* Gradientes principales */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
    --gradient-card: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    --gradient-glow: radial-gradient(circle at center, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    
    /* Dark Background - Tonos morados */
    --bg-primary: #0f0a1f;
    --bg-secondary: #1a1433;
    --bg-tertiary: #2d2347;
    --bg-card: rgba(26, 20, 51, 0.8);
    --bg-glass: rgba(167, 139, 250, 0.08);
    
    /* Text Colors - M��s brillantes */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e1;
    
    /* Borders & Effects */
    --border-color: rgba(255, 255, 255, 0.15);
    --border-glow: rgba(99, 102, 241, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(167, 139, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==========================================
   HEADER / NAVBAR - Vambe.ai Style Clean (Floating)
   ========================================== */
.main-header {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    top: 1rem;
    width: calc(100% - 6rem);
}

.header-container {
    background: rgba(15, 10, 31, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.25);
    border-radius: 1rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.main-header.scrolled .header-container {
    background: rgba(15, 10, 31, 0.6);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    padding: 0.875rem 2rem;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-img:hover {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* Navigation Menu */
.header-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-link {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Disabled Nav Links */
.nav-link.disabled {
    color: rgba(255, 255, 255, 0.3);
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-link.disabled:hover {
    color: rgba(255, 255, 255, 0.3);
    background: transparent;
}

/* Platform Dropdown Menu - Vambe Style */
.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.platform-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 600px;
    max-width: 90vw;
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.875rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    padding: 1rem;
    pointer-events: none;
}

.platform-dropdown::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
}

.nav-item-dropdown:hover .platform-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.platform-dropdown-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.platform-dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-section-header {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.375rem;
}

/* Aplicaci��n Principal */
.platform-main-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.625rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.platform-main-item:hover {
    background: rgba(65, 105, 255, 0.1);
    border-color: rgba(65, 105, 255, 0.3);
    transform: translateY(-2px);
}

.platform-main-image {
    width: 100%;
    height: 100px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.platform-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.platform-main-content {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.platform-main-icon {
    width: 34px;
    height: 34px;
    background: rgba(65, 105, 255, 0.15);
    border: 1px solid rgba(65, 105, 255, 0.3);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-main-icon i {
    color: #4169ff;
    font-size: 0.95rem;
}

.platform-main-text h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.platform-main-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.35;
}

/* Extensiones Grid */
.platform-extensions-grid {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.platform-extension-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.platform-extension-item:hover {
    background: rgba(65, 105, 255, 0.08);
    border-color: rgba(65, 105, 255, 0.2);
}

/* Disabled Platform Extension Items */
.platform-extension-item.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.platform-extension-item.disabled:hover {
    background: transparent;
    border-color: transparent;
}

.platform-extension-item.disabled .platform-extension-icon {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.03);
}

.platform-extension-item.disabled .platform-extension-icon i {
    color: rgba(255, 255, 255, 0.5);
}

.platform-extension-item.disabled .platform-extension-text h4 {
    color: rgba(255, 255, 255, 0.5);
}

.platform-extension-item.disabled .platform-extension-text p {
    color: rgba(255, 255, 255, 0.4);
}

.platform-extension-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-extension-icon i {
    color: #a78bfa;
    font-size: 0.875rem;
}

.platform-extension-text h4 {
    font-size: 0.825rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.platform-extension-text p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

/* Language/Country Selector */
.language-selector {
    position: relative;
    margin-right: 1rem;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.language-btn .fi {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: block;
    clip-path: circle(50% at center);
    -webkit-clip-path: circle(50% at center);
}

.language-btn i.fa-chevron-down {
    display: none;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    min-width: 240px;
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-header {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.language-options {
    overflow-y: auto;
    max-height: 320px;
    padding: 0.5rem;
}

.language-options::-webkit-scrollbar {
    width: 6px;
}

.language-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.language-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.language-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.language-option.active {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
    position: relative;
}

.language-option.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    color: var(--primary-light);
    font-size: 0.9rem;
}

.language-option .fi {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    overflow: hidden;
    display: block;
    clip-path: circle(50% at center);
    -webkit-clip-path: circle(50% at center);
}

/* CTA Button */
.header-cta {
    display: flex;
    align-items: center;
}

.header-btn-primary {
    background: #a78bfa;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(167, 139, 250, 0.3);
    font-family: var(--font-primary);
    position: relative;
    z-index: 1;
}

.header-btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    z-index: -1;
}

.header-btn-primary::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    filter: blur(15px);
    opacity: 0.5;
    z-index: -2;
}

.header-btn-primary:hover {
    background: #9370ee;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.5);
    transform: translateY(-2px);
}

.header-btn-primary:hover::after {
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION - ULTRA MODERN
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--spacing-2xl) + 80px) 0 var(--spacing-2xl) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: conic-gradient(
        from 0deg,
        rgba(99, 102, 241, 0.15) 0deg,
        rgba(139, 92, 246, 0.12) 90deg,
        rgba(236, 72, 153, 0.1) 180deg,
        rgba(99, 102, 241, 0.08) 270deg,
        rgba(99, 102, 241, 0.15) 360deg
    );
    mask: linear-gradient(transparent 10%, black 30%, black 70%, transparent 90%),
          linear-gradient(90deg, transparent 10%, black 30%, black 70%, transparent 90%);
    mask-composite: intersect;
    -webkit-mask: linear-gradient(transparent 10%, black 30%, black 70%, transparent 90%),
                  linear-gradient(90deg, transparent 10%, black 30%, black 70%, transparent 90%);
    -webkit-mask-composite: source-in;
    pointer-events: none;
    animation: rotate-border 10s linear infinite;
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.5) 0%, 
        rgba(30, 41, 59, 0.45) 50%,
        rgba(15, 23, 42, 0.5) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-badge i {
    color: var(--primary-light);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 255, 255, 0.1);
}

.gradient-text {
    color: #c084fc;
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #c084fc;
    border-radius: 2px;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #f1f5f9;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dashboard Preview con Glassmorphism */
.dashboard-preview {
    position: relative;
    border-radius: 1.5rem;
    overflow: visible;
    max-width: 450px;
    margin: 0 auto;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    z-index: -2;
    animation: pulse-glow 3s ease-in-out infinite;
}

.dashboard-preview::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    filter: blur(25px);
    opacity: 0.7;
    z-index: -3;
    animation: pulse-glow 3s ease-in-out infinite;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(15, 10, 31, 0.95);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    position: relative;
    z-index: 1;
    border-radius: 1.5rem 1.5rem 0 0;
}

.dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.dashboard-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard-content {
    padding: 0;
    position: relative;
    z-index: 1;
    background: rgba(15, 10, 31, 0.95);
    border-radius: 0 0 1.5rem 1.5rem;
    overflow: hidden;
}

/* ==========================================
   CLIENTS LOGOS - Marquee Infinito
   ========================================== */
.clients-logos {
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
}

.clients-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-lg);
}

.logos-marquee {
    overflow: hidden;
    position: relative;
}

.logos-marquee::before,
.logos-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, 
        rgba(15, 23, 42, 1) 0%, 
        rgba(15, 23, 42, 0.95) 20%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(15, 23, 42, 0.3) 75%,
        transparent 100%);
    border-radius: 0 50% 50% 0 / 0 100% 100% 0;
}

.logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, 
        rgba(15, 23, 42, 1) 0%, 
        rgba(15, 23, 42, 0.95) 20%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(15, 23, 42, 0.3) 75%,
        transparent 100%);
    border-radius: 50% 0 0 50% / 100% 0 0 100%;
}

.logos-track {
    display: flex;
    gap: 2.5rem;
    animation: marquee 18s linear infinite;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 80px;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.85);
    filter: saturate(1.3) brightness(1.1);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: saturate(1.5) brightness(1.2);
}

.more-clients {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: var(--spacing-2xl) 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    position: relative;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-header {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl) auto;
}

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glow);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-glow);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(99, 102, 241, 0.3);
}

.feature-card:hover::before {
    opacity: 0.5;
    animation: rotate-glow 8s linear infinite;
}

.feature-card.featured {
    background: var(--gradient-card);
    border-color: var(--border-glow);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--success);
    font-size: 1rem;
}

/* ==========================================
   FEATURES VAMBE STYLE - Bottom Gradient Glow
   ========================================== */
.features-grid-vambe {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-vambe {
    background: rgba(15, 10, 31, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 1.75rem;
    position: relative;
    overflow: visible; /* CAMBIADO: permite que el glow se vea fuera */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.feature-header-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-icon-vambe {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.feature-icon-vambe i {
    color: var(--text-primary);
}

.feature-card-vambe h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.feature-card-vambe p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.feature-card-vambe .feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.feature-card-vambe .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-card-vambe .feature-list i {
    color: var(--success);
    font-size: 1rem;
}

.feature-btn-vambe {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: fit-content;
}

.feature-btn-vambe i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.feature-btn-vambe:hover i {
    transform: translateX(4px);
}

/* Blue Card (Agentes Orquestados) */
.feature-card-blue {
    position: relative;
}

.feature-card-blue::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(65, 105, 255, 0.4) 0%, rgba(0, 212, 255, 0.3) 25%, transparent 60%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.feature-card-blue::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 30%;
    background: radial-gradient(ellipse at center, rgba(65, 105, 255, 0.5) 0%, rgba(0, 212, 255, 0.4) 30%, transparent 65%);
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.feature-card-blue .feature-icon-vambe {
    background: rgba(65, 105, 255, 0.1);
    border-color: rgba(65, 105, 255, 0.3);
}

.feature-card-blue .feature-icon-vambe i {
    color: #4169ff;
}

.feature-btn-blue {
    background: linear-gradient(135deg, #4169ff 0%, #00d4ff 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(65, 105, 255, 0.3);
}

.feature-btn-blue:hover {
    box-shadow: 0 6px 30px rgba(65, 105, 255, 0.5);
    transform: translateY(-2px);
}

/* Purple Card (Ecosistema MCP) */
.feature-card-purple {
    position: relative;
}

.feature-card-purple::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.4) 0%, rgba(139, 92, 246, 0.3) 25%, transparent 60%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.feature-card-purple::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 30%;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.5) 0%, rgba(139, 92, 246, 0.4) 30%, transparent 65%);
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.feature-card-purple .feature-icon-vambe {
    background: rgba(107, 70, 193, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.feature-card-purple .feature-icon-vambe i {
    color: #a855f7;
}

.feature-btn-purple {
    background: linear-gradient(135deg, #6b46c1 0%, #a855f7 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.feature-btn-purple:hover {
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Pink Card (Trazabilidad Forense) */
.feature-card-pink {
    position: relative;
}

.feature-card-pink::before {
    content: '';
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.4) 0%, rgba(168, 85, 247, 0.3) 25%, transparent 60%);
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.feature-card-pink::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 30%;
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.5) 0%, rgba(168, 85, 247, 0.4) 30%, transparent 65%);
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.6;
    z-index: -1;
    pointer-events: none;
}

.feature-card-pink .feature-icon-vambe {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(236, 72, 153, 0.3);
}

.feature-card-pink .feature-icon-vambe i {
    color: #ec4899;
}

.feature-btn-pink {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.feature-btn-pink:hover {
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.5);
    transform: translateY(-2px);
}

/* Bottom Gradient Glows */
.feature-glow-vambe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.4s ease;
}

.feature-card-vambe:hover .feature-glow-vambe {
    opacity: 0.7;
}

.feature-glow-blue {
    background: radial-gradient(ellipse at bottom, rgba(65, 105, 255, 0.6) 0%, rgba(0, 212, 255, 0.4) 30%, transparent 70%);
}

.feature-glow-purple {
    background: radial-gradient(ellipse at bottom, rgba(107, 70, 193, 0.6) 0%, rgba(168, 85, 247, 0.4) 30%, transparent 70%);
}

.feature-glow-pink {
    background: radial-gradient(ellipse at bottom, rgba(168, 85, 247, 0.6) 0%, rgba(236, 72, 153, 0.4) 30%, transparent 70%);
}

/* ==========================================
   CAPABILITIES GRID
   ========================================== */
.capabilities-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.capability-card {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    transform: translateX(10px);
    border-color: var(--border-glow);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.capability-card:hover::before {
    opacity: 1;
}

.capability-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
}

.capability-content {
    flex: 1;
}

.capability-icon-small {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.capability-icon-small i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

.capability-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.capability-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.capability-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(100px);
}

.cta-content {
    position: relative;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 2rem;
    padding: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: #a78bfa;
    color: white;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    z-index: -1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #F472B6 100%);
    filter: blur(15px);
    opacity: 0.5;
    z-index: -2;
}

.btn-primary:hover {
    background: #9370ee;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.6);
}

.btn-primary:hover::after {
    opacity: 0.7;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: #25D366;
    border-color: #25D366;
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-glow);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--primary-light);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   FOOTER
   ========================================== */
.main-footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.25);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(99, 102, 241, 0.4));
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

.footer-links-bottom {
    display: flex;
    gap: 2rem;
}

.footer-links-bottom a {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary-light);
}

/* ==========================================
   DEMO MODAL
   ========================================== */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.demo-modal-container {
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--border-glow);
    border-radius: 1.5rem;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 0 100px rgba(99, 102, 241, 0.3);
    animation: modalSlideIn 0.4s ease;
}

.demo-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.demo-modal-close:hover {
    background: var(--accent);
    color: white;
    border-color: transparent;
}

.demo-modal-content {
    padding: var(--spacing-xl);
}

.demo-modal-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.demo-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.5);
}

.demo-modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.demo-modal-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--border-glow);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group-checkbox {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.form-group-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group-checkbox label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group-checkbox a {
    color: var(--primary-light);
    text-decoration: none;
}

.form-group-checkbox a:hover {
    text-decoration: underline;
}

.demo-form-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    text-align: center;
    justify-content: center;
}

.demo-success {
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease;
}

.demo-success h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.demo-success p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.6;
        filter: blur(20px);
    }
    50% { 
        opacity: 0.8;
        filter: blur(25px);
    }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate-border {
    0% { 
        filter: hue-rotate(0deg) brightness(0.8);
    }
    25% {
        filter: hue-rotate(90deg) brightness(1);
    }
    50% { 
        filter: hue-rotate(180deg) brightness(0.8);
    }
    75% {
        filter: hue-rotate(270deg) brightness(1);
    }
    100% { 
        filter: hue-rotate(360deg) brightness(0.8);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-vambe {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Visibility Utilities */
.mobile-only { 
    display: none !important; 
}

.desktop-only { 
    display: block !important; 
}

@media (max-width: 768px) {
    .mobile-only { 
        display: block !important; 
    }
    
    .desktop-only { 
        display: none !important; 
    }

    /* Header Optimization */
    .main-header {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
    }

    .main-header.scrolled {
        width: 100%;
        top: 0;
    }

    .header-container {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(15, 10, 31, 0.98);
    }
    
    .header-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }
    
    .header-logo {
        z-index: 1002;
        order: 1;
    }

    .logo-img {
        height: 32px;
    }
    
    .language-selector {
        order: 2;
        margin-left: auto;
        margin-right: 0.5rem;
        z-index: 1002;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
        order: 3;
        margin-left: 0;
    }
    
    /* Mobile Menu Drawer */
    .header-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #0f0a1f; 
        padding: 5rem 1.5rem 2rem 1.5rem; /* Top padding for logo space */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-radius: 0;
        margin: 0;
        max-width: none;
        box-shadow: none;
        z-index: 1000;
    }
    
    .header-menu.active {
        transform: translateX(0);
        top: 0;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        font-size: 1.1rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
        display: flex;
        justify-content: space-between;
    }
    
    /* Dropdown Handling */
    .nav-item-dropdown .nav-link {
        color: var(--primary-light);
        border-bottom: none;
    }

    .platform-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 0 1rem 1rem !important;
        display: block;
        pointer-events: auto !important;
    }
    
    .platform-dropdown-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .platform-dropdown-column {
        gap: 0.75rem;
    }
    
    .platform-main-item, 
    .platform-extension-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Actions in Menu */
    .header-cta.mobile-only {
        margin-top: 2rem !important;
        width: 100%;
        display: flex !important;
    }
    
    .header-cta.desktop-only {
        display: none !important;
    }

    .header-cta.mobile-only .header-btn-primary {
        width: 100%;
        text-align: center;
        padding: 1rem;
        height: 48px; /* Standard touch size */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Language Selector - Keep in top bar */
    .language-selector {
        margin-left: auto; /* Push to right */
        margin-right: 0;
        margin-bottom: 0;
        position: relative;
        z-index: 1002;
    }

    .language-btn {
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0;
    }
    
    .language-dropdown {
        position: fixed;
        top: 60px;
        right: 1rem;
        left: auto;
        width: 280px;
        max-width: calc(100vw - 2rem);
    }

    /* Typography & Spacing Fixes */
    .hero {
        padding: 7rem 0 3rem 0; /* M��s espacio arriba para evitar solapamiento con header */
        min-height: auto;
        display: block; /* Cambiar a block para evitar problemas de centrado flex */
        height: auto;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-text {
        max-width: 100%;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
        display: inline-flex;
        white-space: normal; /* Permitir texto en m��ltiples l��neas si es necesario */
        text-align: left;
    }
    
    .hero-badge i {
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .hero-title { 
        font-size: 1.75rem;
        text-align: left;
        line-height: 1.25;
        margin-bottom: 1rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        word-wrap: break-word; /* Evitar desbordamiento de palabras largas */
    }

    .hero-title span {
        display: inline;
    }
    
    .gradient-text {
        display: inline;
    }
    
    .gradient-text::after {
        display: none; /* Remove underline on mobile */
    }
    
    .hero-subtitle { 
        font-size: 1rem;
        text-align: left;
        line-height: 1.6;
        margin-bottom: 2rem;
        font-weight: 400;
        color: var(--text-secondary);
    }
    
    .hero-cta {
        display: flex !important; /* Forzar visibilidad */
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 54px; /* Botones m��s altos para mejor tacto */
    }
    
    .hero-cta .btn-lg {
        padding: 1rem 1.5rem;
    }
    
    /* Dashboard Preview */
    .hero-visual {
        display: none !important; /* Forzar ocultamiento */
    }
    
    .dashboard-preview {
        display: none;
    }
    
    .dashboard-preview::before,
    .dashboard-preview::after {
        display: none; /* Remove glow effects for better mobile performance */
    }
    
    /* Clients Logos Section */
    .clients-logos {
        margin-top: var(--spacing-lg);
        padding: var(--spacing-lg) 0;
    }
    
    .clients-title {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .logo-item {
        min-width: 60px;
        transform: scale(0.8);
    }
    
    .logos-track {
        gap: 1.5rem;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
        margin-bottom: 1rem;
    }
    
    .section-title { 
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .section-title br {
        display: none; /* Remove line breaks on mobile */
    }
    
    .section-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .section-description br {
        display: none;
    }
    
    /* Features Grid Vambe */
    .features-section {
        padding: var(--spacing-xl) 0;
    }
    
    .features-grid-vambe {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-card-vambe {
        padding: 1.5rem;
    }
    
    .feature-card-blue::before,
    .feature-card-blue::after,
    .feature-card-purple::before,
    .feature-card-purple::after,
    .feature-card-pink::before,
    .feature-card-pink::after {
        display: none; /* Remove glow for better mobile performance */
    }
    
    .feature-header-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .feature-icon-vambe {
        width: 48px;
        height: 48px;
    }
    
    .feature-card-vambe h3 {
        font-size: 1.15rem;
    }
    
    .feature-card-vambe p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .feature-btn-vambe {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Capabilities Section */
    .capabilities-section {
        padding: var(--spacing-xl) 0;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .capability-card {
        padding: 1.25rem;
        flex-direction: column;
    }
    
    .capability-number {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .capability-icon-small {
        width: 36px;
        height: 36px;
        margin-bottom: 0.5rem;
    }
    
    .capability-icon-small i {
        font-size: 1rem;
    }
    
    .capability-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .capability-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* CTA Section */
    .cta-section {
        padding: var(--spacing-xl) 0;
    }
    
    .cta-section::before {
        width: 400px;
        height: 400px;
        filter: blur(80px);
    }
    
    .cta-content {
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-lg);
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .cta-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Stats Section (if exists) */
    .stats-section {
        padding: var(--spacing-xl) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: var(--spacing-lg) var(--spacing-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .btn-lg {
        padding: 1rem 1.75rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .btn i {
        font-size: 1rem;
    }
    
    /* Container padding */
    .container {
        padding: 0 1rem;
    }
    
    /* Inputs */
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom */
        min-height: 48px;
    }
    
    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
