/* ==============================================
   PARALLAX SUAVE ENTRE SECCIONES Y EFECTOS DINÁMICOS
   ============================================== */

/* PARALLAX SUAVE ENTRE SECCIONES */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-light) 50%, 
        transparent 100%);
    animation: section-divider 3s ease-in-out infinite;
}

@keyframes section-divider {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* EFECTO STAGGER PARA ELEMENTOS */
.stagger-animation {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-animation.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.stagger-animation:nth-child(1) { transition-delay: 0.1s; }
.stagger-animation:nth-child(2) { transition-delay: 0.2s; }
.stagger-animation:nth-child(3) { transition-delay: 0.3s; }
.stagger-animation:nth-child(4) { transition-delay: 0.4s; }

/* PROBLEMS SECTION CON MEJOR DINAMISMO */
.problem-card {
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.1), 
        transparent);
    transition: left 0.5s ease;
}

.problem-card:hover::before {
    left: 100%;
}

/* FLOATING ELEMENTS PARA BENEFITS */
.benefits-section {
    position: relative;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.1;
    animation: float-random 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes float-random {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
    75% { transform: translateY(-5px) rotate(2deg); }
}
/* ==============================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ============================================== */
:root {
    /* Paleta de colores moderna */
    --primary: #1DD1A1;
    --primary-dark: #0FB49B;
    --primary-light: #00E7C7;
    --secondary: #2C3E50;
    --accent: #6366F1; /* Indigo moderno, from new navbar */
    --accent-light: #818CF8; /* from new navbar */
    --success: #10B981; /* from new navbar */
    --warning: #F59E0B; /* from new navbar */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Tipografía responsiva */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    /* Variables base (mobile first) */
    --font-xl: clamp(2.5rem, 6vw, 4rem);
    --font-lg: clamp(1.8rem, 4vw, 2.5rem);
    --font-md: clamp(1.3rem, 3vw, 1.8rem);
    --font-sm: clamp(1rem, 2vw, 1.25rem);
    --font-xs: clamp(0.875rem, 1.5vw, 1rem);
    
    /* Espaciado adaptativo */
    --space-xs: clamp(0.5rem, 2vw, 1rem);
    --space-sm: clamp(1rem, 3vw, 1.5rem);
    --space-md: clamp(1.5rem, 4vw, 2.5rem);
    --space-lg: clamp(2rem, 5vw, 3rem);
    --space-xl: clamp(2.5rem, 6vw, 4rem);
    
    /* Layout */
    --container-width: min(1400px, 90vw);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1); /* from new navbar */
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1); /* from new navbar */
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15); /* from new navbar */

    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
    --gradient-dark: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    --gradient-accent: linear-gradient(135deg, var(--accent), #8B5CF6);
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    padding-top: 80px; /* Adjust for fixed header */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 max(20px, 5vw);
}


/* ==============================================
   2. NAVBAR
   ============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--gray-300);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    height: 80px;
}

/* LOGO MINIMALISTA */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateX(2px);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transition: var(--transition);
}

.logo:hover .logo-text::after {
    width: 100%;
}

/* MENÚ DE NAVEGACIÓN */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

/* ESTILO BASE PARA ENLACES */
.nav-link {
    position: relative;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-600);
    background: transparent;
}

.nav-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

/* SOLUCIONES IA - ESTILO PRINCIPAL */
.nav-link.ai-special {
    background: var(--primary);
    color: white;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(29, 209, 161, 0.4);
    margin: 0 12px;
    position: relative;
    overflow: hidden;
}

.nav-link.ai-special::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.nav-link.ai-special:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 209, 161, 0.5);
    color: white;
}

.nav-link.ai-special:hover::before {
    transform: translateX(100%);
}

.nav-link.ai-special i {
    font-size: 16px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

/* CONTACTO - ESTILO SECUNDARIO ELEGANTE */
.nav-link.contact-cta {
    color: var(--accent);
    font-weight: 600;
    border: 2px solid var(--accent);
    background: transparent;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.nav-link.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.nav-link.contact-cta:hover {
    color: white;
    border-color: var(--accent);
    transform: translateY(-1px);
}

.nav-link.contact-cta:hover::before {
    transform: scaleX(1);
}

/* INDICADOR DE PÁGINA ACTIVA */
.nav-link.active:not(.ai-special):not(.contact-cta) {
    color: var(--primary);
    background: rgba(29, 209, 161, 0.1);
    font-weight: 600;
}

.nav-link.active:not(.ai-special):not(.contact-cta)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    justify-content: space-between;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    border-radius: 1px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ==============================================
   3. HERO SECTION
   ============================================== */
.hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, rgba(29, 209, 161, 0.05) 50%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s infinite linear;
    z-index: 1;
    will-change: transform; /* Optimización GPU */
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-60px); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 60vh; /* Altura mínima más flexible */
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent); /* Now uses new accent color */
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: var(--font-xs);
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: var(--font-lg);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-sm);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(29, 209, 161, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 209, 161, 0.4);
    background: var(--primary-dark);
}

/* VISUAL PLACEHOLDER (Original from ophelia-ai.html, adapted to new variables) */
.visual-placeholder {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}


/* ==============================================
   4. CHAT DEMO
   ============================================== */
.chat-demo {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.chat-header {
    background: var(--gray-800);
    color: white;
    padding: var(--space-sm);
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--primary);
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3); 
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(29, 209, 161, 0.2);
}

.chat-name {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    margin-bottom: 0.1rem;
    color: white;
}

.chat-status {
    font-size: 0.75rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    color: var(--primary-light);
    font-weight: 400;
}

.chat-status::before {
    content: '🟢';
    margin-right: 0.3rem;
    font-size: 0.6rem;
}

.chat-messages {
    flex: 1;
    padding: var(--space-sm);
    overflow-y: auto;
    background: var(--gray-50);
    max-height: calc(100% - 180px);
}

.message {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: messageSlideIn 0.5s ease forwards;
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.user {
    flex-direction: row-reverse;
}

.message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: var(--font-xs);
    line-height: 1.4;
}

.message.user .message-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.ophelia .message-bubble {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-bottom-left-radius: 4px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message.ophelia .message-avatar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.message.user .message-avatar {
    background: var(--gray-400);
    color: white;
}

.chat-input-area {
    padding: var(--space-sm);
    background: white;
    border-top: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
}

.quick-question {
    background: var(--gray-100);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: var(--transition);
}

.quick-question:hover {
    background: var(--primary);
    color: white;
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--gray-300);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    font-size: var(--font-xs);
    outline: none;
    transition: var(--transition);
}

.chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.1);
}

.chat-send-btn {
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.typing-indicator {
    display: none;
    align-items: center; 
    gap: 0.5rem;
    margin-bottom: var(--space-sm);
    padding: 0 0.5rem;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator .message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0; 
}

.typing-content {
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
}

.typing-dots {
    display: flex;
    gap: 2px;
    align-items: center; 
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.typing-text {
    font-size: 0.75rem; 
    color: var(--gray-500);
    margin-top: 0.25rem; 
}

/* ==============================================
   5. PROBLEMS SECTION
   ============================================== */
.problems-section {
    padding: 6rem 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(29, 209, 161, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
    position: relative;
    overflow: hidden;
}

.problems-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.02'%3E%3Cpath d='M20 20h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2zm8 0h2v2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: matrix-move 20s linear infinite;
    opacity: 0.3;
}

@keyframes matrix-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

/* HEADER IMPACTANTE */
.problems-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.problems-header::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(29, 209, 161, 0.5);
}

.problems-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(29, 209, 161, 0.3);
    color: var(--primary-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(29, 209, 161, 0.3); }
    50% { box-shadow: 0 0 20px rgba(29, 209, 161, 0.6), 0 0 30px rgba(29, 209, 161, 0.3); }
}

.problems-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, white, var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.problems-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--gray-300);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* GRID INNOVADOR CON EFECTOS MODERNOS */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.problem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(29, 209, 161, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.problem-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(29, 209, 161, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(29, 209, 161, 0.2);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-card:hover::after {
    opacity: 1;
}

.problem-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.problem-card:hover .problem-icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.problem-icon {
    font-size: 2.5rem;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(29, 209, 161, 0.5));
}

.problem-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.problem-description {
    color: var(--gray-300);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* CTA SECTION INTEGRADA */
.cta-integration {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(29, 209, 161, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(29, 209, 161, 0.4);
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-icon i {
    font-size: 1.5rem;
    color: white;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(29, 209, 161, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* EFECTOS ADICIONALES */
.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-effect::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch-effect::after {
    animation: glitch-2 0.5s infinite;
    color: var(--accent);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    15%, 49% {
        opacity: 1;
        transform: translateX(-2px);
    }
}

@keyframes glitch-2 {
    0%, 19%, 20%, 44%, 45%, 99%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    20%, 44% {
        opacity: 1;
        transform: translateX(2px);
    }
}


/* ==============================================
   6. SOLUTIONS SECTION
   ============================================== */
.solution {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, rgba(29, 209, 161, 0.05), rgba(0, 231, 199, 0.05));
}

.solution-content {
    text-align: left;
    max-width: 1600px;
    margin: 0 auto;
}

.solution-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto var(--space-md);
    box-shadow: 0 15px 35px rgba(29, 209, 161, 0.3);
    animation: pulse 3s infinite;
}


/* ==============================================
   7. BENEFITS SECTION
   ============================================== */        /* SECCIÓN PRINCIPAL REDISEÑADA */
        .benefits-section {
            padding: var(--space-xl) 0;
            background: 
                radial-gradient(circle at 25% 25%, rgba(29, 209, 161, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
                linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            position: relative;
            overflow: hidden;
        }

        .benefits-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
            animation: float-pattern 20s infinite linear;
            pointer-events: none;
        }

        @keyframes float-pattern {
            0% { transform: translateY(0px) translateX(0px); }
            100% { transform: translateY(-60px) translateX(20px); }
        }

        /* HEADER IMPACTANTE */
        .benefits-header {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            z-index: 2;
        }

        .benefits-header::before {
            content: '';
            position: absolute;
            top: -2rem;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
            box-shadow: 0 0 20px rgba(29, 209, 161, 0.5);
        }

        .benefits-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(29, 209, 161, 0.1);
            border: 1px solid rgba(29, 209, 161, 0.3);
            color: var(--primary-dark);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-size: var(--font-xs);
            font-weight: 700;
            margin-bottom: var(--space-md);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { 
                box-shadow: 0 0 5px rgba(29, 209, 161, 0.3);
                transform: scale(1);
            }
            50% { 
                box-shadow: 0 0 20px rgba(29, 209, 161, 0.5);
                transform: scale(1.02);
            }
        }

        .benefits-title {
            font-size: var(--font-lg);
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: var(--space-sm);
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .benefits-title .highlight {
            background: var(--gradient-primary);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .benefits-subtitle {
            font-size: var(--font-sm);
            color: var(--gray-600);
            max-width: 700px;
            margin: 0 auto var(--space-lg);
            line-height: 1.6;
        }

        /* GRID INNOVADOR CON EFECTOS MODERNOS */
        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
            gap: 1.5rem;
            margin-bottom: 4rem;
            position: relative;
            z-index: 2;
        }

        .benefit-card {
            background: white;
            border: 2px solid transparent;
            border-radius: var(--border-radius-lg);
            padding: 1.75rem 1.5rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: var(--shadow-md);
            cursor: pointer;
        }

        .benefit-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }

        .benefit-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at center, rgba(29, 209, 161, 0.05) 0%, transparent 70%);
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .benefit-card:hover {
            transform: translateY(-12px) scale(1.02);
            border-color: rgba(29, 209, 161, 0.3);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(29, 209, 161, 0.2);
        }

        .benefit-card:hover::before {
            transform: scaleX(1);
        }

        .benefit-card:hover::after {
            opacity: 1;
        }

        /* ICONOS Y NÚMEROS MEJORADOS */
        .benefit-icon-container {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .benefit-icon-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            border-radius: 50%;
            opacity: 0.1;
            transition: all 0.4s ease;
        }

        .benefit-card:hover .benefit-icon-bg {
            opacity: 0.15;
            transform: scale(1.1);
        }

        .benefit-icon {
            font-size: 2rem;
            color: var(--primary);
            position: relative;
            z-index: 2;
            transition: all 0.4s ease;
        }

        .benefit-card:hover .benefit-icon {
            transform: scale(1.1);
            filter: drop-shadow(0 0 15px rgba(29, 209, 161, 0.6));
        }

        .benefit-number {
            font-size: 2.2rem;
            font-weight: 900;
            background: var(--gradient-primary);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: block;
            margin-bottom: 0.75rem;
            position: relative;
            z-index: 2;
            text-shadow: 0 0 30px rgba(29, 209, 161, 0.3);
        }

        .benefit-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: 0.75rem;
            position: relative;
            z-index: 2;
            line-height: 1.3;
        }

        .benefit-description {
            color: var(--gray-600);
            font-size: 0.9rem;
            line-height: 1.5;
            position: relative;
            z-index: 2;
        }

        /* DECORATIVE ELEMENTS */
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .shape {
            position: absolute;
            border-radius: 50%;
            background: var(--gradient-primary);
            opacity: 0.05;
            animation: float-shape 6s ease-in-out infinite;
        }

        .shape:nth-child(1) {
            width: 100px;
            height: 100px;
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .shape:nth-child(2) {
            width: 60px;
            height: 60px;
            top: 70%;
            right: 15%;
            animation-delay: 2s;
        }

        .shape:nth-child(3) {
            width: 80px;
            height: 80px;
            bottom: 20%;
            left: 80%;
            animation-delay: 4s;
        }

        @keyframes float-shape {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(180deg); }
        }

        /* CTA SECTION INTEGRADA */
        .cta-integration {
            text-align: center;
            padding: 3rem 2rem;
            background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
            border-radius: var(--border-radius-lg);
            position: relative;
            overflow: hidden;
            color: white;
        }

        @keyframes rotate-glow {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .cta-content {
            position: relative;
            z-index: 2;
        }

        .cta-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            box-shadow: 0 0 30px rgba(29, 209, 161, 0.5);
            animation: float-icon 3s ease-in-out infinite;
        }

        @keyframes float-icon {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .cta-icon i {
            font-size: 2rem;
            color: white;
        }

        .cta-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .cta-subtitle {
            font-size: 1.1rem;
            color: var(--gray-300);
            margin-bottom: 2rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--gradient-primary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(29, 209, 161, 0.6);
        }

        .cta-button:hover::before {
            transform: translateX(100%);
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            .benefits-grid {
                grid-template-columns: 1fr;
                gap: 1.25rem;
            }

            .benefit-card {
                padding: 1.5rem 1.25rem;
            }

            .benefit-number {
                font-size: 2rem;
            }

            .shape {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .benefit-icon-container {
                width: 70px;
                height: 70px;
            }

            .benefit-icon {
                font-size: 1.75rem;
            }

            .benefit-number {
                font-size: 1.8rem;
            }

            .benefit-title {
                font-size: 1.1rem;
            }

            .benefit-description {
                font-size: 0.85rem;
            }
        }

        /* ACCESIBILIDAD */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        .benefit-card:focus-visible,
        .cta-button:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }


/* ==============================================
   8. CTA AND FORM SECTION
   ============================================== */
.cta-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-lg);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    background: linear-gradient(135deg, white, var(--primary-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: var(--font-sm);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    line-height: 1.6;
    color: var(--gray-200);
    max-width: 1600px;
}

.demo-form { 
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--gray-200);
    max-width: 1600px;
}

.form-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.form-title {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: var(--font-xs);
    color: var(--gray-600);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-input, .form-select { 
    padding: 1rem 1.5rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--gray-50);
    color: var(--gray-800);
    font-size: var(--font-xs);
    outline: none;
    transition: var(--transition);
    font-weight: 500;
    width: 100%; 
}

.form-row-full {
    grid-column: 1 / -1;
}

.form-input::placeholder, .form-select option:first-child {
    color: var(--gray-500);
    font-weight: 400;
}

.form-input:focus, .form-select:focus { 
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(29, 209, 161, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-input-other {
    margin-top: 0.5rem;
    display: none;
}

.form-input-other.show {
    display: block;
}
/* CAPTCHA STYLES (from index.html) */
.captcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: var(--space-sm);
}

.captcha-display {
    font-size: var(--font-sm);
    font-weight: 700;
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    background: white;
    border: 1px dashed var(--primary-light);
    border-radius: var(--border-radius);
    min-width: 150px;
    text-align: center;
}

/* Ajuste para el input del CAPTCHA */
.captcha-container .form-input {
    text-align: center;
}

.form-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: var(--font-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(29, 209, 161, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(29, 209, 161, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    margin-left: auto;
    margin-right: auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-xs);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(29, 209, 161, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.trust-item:hover::before {
    opacity: 1;
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    box-shadow: 0 8px 20px rgba(29, 209, 161, 0.3);
    flex-shrink: 0;
}

.trust-text {
    font-weight: 600;
    color: white;
    line-height: 1.4;
    font-size: 0.9rem;
}


/* ==============================================
   9. TARGET AUDIENCE SECTION
   ============================================== */
.target-audience {
    padding: var(--space-xl) 0;
    background: var(--gray-50);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: var(--space-lg);
}

.audience-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.audience-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 10px 25px rgba(29, 209, 161, 0.2);
}

.audience-title {
    font-size: var(--font-sm);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.audience-description {
    color: var(--gray-600);
    font-size: var(--font-xs);
    line-height: 1.6;
}


/* ==============================================
   10. TESTIMONIALS SECTION
   ============================================== */
.testimonials {
    padding: var(--space-xl) 0;
    background: white;
}

.testimonials-placeholder {
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
}


/* ==============================================
   11. FOOTER
   ============================================== */
.footer {
    background: #2D3748;
    color: #A0AEC0;
    padding: var(--space-xl) 0 var(--space-md);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(29, 209, 161, 0.02) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 231, 199, 0.01) 50%, transparent 60%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.015'%3E%3Cpath d='M20 20h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2zm4 0h2v2h-2v-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none;
}
    
/* OPTIMIZED GRID LAYOUT */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* 4 columnas */
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* BRAND SECTION - Más compacta */
.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    display: block;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #718096;
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

/* CONTACT INFO - Simplificado */
.contact-simple {
    margin-bottom: var(--space-md);
}

.contact-item { 
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #A0AEC0;
    margin-bottom: 0.75rem;
}

.contact-item i { 
    color: var(--primary);
    width: 14px;
    text-align: center;
    font-size: 0.8rem;
}

.contact-item a { 
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover { 
    color: var(--primary);
}

/* FOOTER ACTIONS */
.footer-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* WHATSAPP CTA */
.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    max-width: fit-content;
}

.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta i {
    font-size: 1.1rem;
}

/* SOCIAL LINKS - Ajustado */
.social-links { 
    display: flex;
    gap: 0.75rem; 
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #4A5568;
    border-radius: var(--border-radius);
    color: #A0AEC0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.65rem;
}

.footer-section a {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.1rem 0;
}

.footer-section a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-section a i {
    font-size: 0.75rem;
    width: 14px;
    color: #718096;
    transition: var(--transition);
}

.footer-section a:hover i {
    color: var(--primary);
}

/* TRUST SECTION */
.trust-badges { 
    display: flex;
    gap: 0.75rem;
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.trust-badge { 
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #4A5568;
    padding: 0.4rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: #E2E8F0;
    border: 1px solid #718096;
}

.trust-badge i { 
    color: var(--primary);
    font-size: 0.7rem;
}

/* FOOTER BOTTOM */
.footer-bottom { 
    border-top: 1px solid #4A5568; 
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copyright { 
    color: #718096; 
    font-size: 0.85rem;
}

.footer-legal { 
    display: flex;
    gap: var(--space-md);
}

.footer-legal a { 
    color: #718096; 
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover { 
    color: var(--primary);
}


/* ==============================================
   12. RESPONSIVE DESIGN (Media Queries)
   ============================================== */
/* MOBILE: 320px - 767px */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 100px 0 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }
    
    .chat-demo {
        height: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
        margin-bottom: 1.5rem;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr; 
        gap: var(--space-lg);
    }
    
    .footer-brand {
        grid-column: 1 / -1; 
        max-width: 100%;
        text-align: center;
    }
    
    .footer-actions {
        align-items: center; 
    }
    
    .social-links {
        justify-content: center; 
    }

    .problems-section {
        padding: 4rem 0;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problem-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* TABLET PORTRAIT: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Navbar responsive */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid var(--gray-200);
        gap: 12px;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        margin: 0;
        border-radius: 8px;
    }

    .nav-link.ai-special {
        margin: 8px 0;
    }

    .nav-link.contact-cta {
        margin: 4px 0 0 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        padding: 100px 0 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .chat-demo {
        height: 550px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        margin-bottom: 2rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .trust-indicators {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        margin-top: var(--space-md);
    }

    .trust-item {
        padding: 1.25rem 0.75rem;
    }

    .trust-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .trust-text {
        font-size: 0.85rem;
    }

    .quick-questions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .quick-question {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
        text-align: center;
    }

    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr 1fr; 
        gap: var(--space-lg);
    }
}

/* DESKTOP 1080p: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
    .hero {
        min-height: 75vh;
        padding: 90px 0 2rem;
    }
    
    .hero-content {
        gap: 3rem;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 3.5vw, 3rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .chat-demo {
        height: 650px;
        max-width: 550px;
    }
    
    .hero-text {
        max-width: 520px;
    }
}

/* PANTALLAS 2K: 1440px - 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero {
        min-height: 85vh;
        padding: 120px 0 3rem;
    }
    
    .hero-content {
        gap: 4rem;
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 4vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }
    
    .chat-demo {
        height: 600px;
        max-width: 550px;
    }
}

/* PANTALLAS ULTRA WIDE: 1920px+ */
@media (min-width: 1920px) {
    .hero {
        min-height: 90vh;
        padding: 50px 0 2rem;
    }
    
    .hero-content {
        gap: 5rem;
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: clamp(4rem, 5vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.4rem, 2.2vw, 1.4rem);
    }
    
    .chat-demo {
        height: 700px;
        max-width: 650px;
    }
    
    .container {
        max-width: 1800px;
    }
}

/* OPTIMIZACIONES ESPECÍFICAS PARA ALTURA DE PANTALLA */
@media (max-height: 800px) and (min-width: 1024px) {
    .hero {
        min-height: 60vh;
        padding: 80px 0 1rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .chat-demo {
        height: 600px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 3vw, 2.5rem);
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 1.5vw, 1.1rem);
        margin-bottom: 1.5rem;
    }
}

@media (max-height: 700px) and (min-width: 1024px) {
    .hero {
        min-height: 50vh;
        padding: 70px 0 4rem;
    }
    
    .chat-demo {
        height: 550px;
    }
}

/* ESPECÍFICO PARA 1920x1080 */
@media (width: 1920px) and (height: 1080px) {
    .hero {
        min-height: 75vh;
        padding: 90px 0 1rem;
    }
    
    .chat-demo {
        height: 480px;
    }
}

/* RESPONSIVIDAD DE QUICK QUESTIONS */
@media (max-width: 1200px) {
    .quick-questions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .quick-question {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Navbar responsive */
    .nav {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 24px;
    }
    
    .quick-questions {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .quick-question {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; 
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .footer-actions {
        align-items: center;
    }
}

/* ==============================================
   13. ANIMACIONES Y ACCESIBILIDAD
   ============================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .hero::before {
        animation: none;
    }
    
    * {
        animation-duration: 0.1s !important;
        transition-duration: 0.1s !important;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==============================================
   14. BOTÓN "SCROLL TO TOP"
   ============================================== */
.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.scroll-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-to-top-btn.show {
    display: flex;
    opacity: 1;
}

@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 35px;
        right: 35px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ==============================================
   15. Solution Section
   ============================================== */

        /* SECCIÓN PRINCIPAL REDISEÑADA */
        .solution-section {
            padding: var(--space-xl) 0;
            background: 
                radial-gradient(circle at 25% 25%, rgba(29, 209, 161, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
                linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            position: relative;
            overflow: hidden;
        }

        .solution-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
            animation: float-pattern 20s infinite linear;
            pointer-events: none;
        }

        @keyframes float-pattern {
            0% { transform: translateY(0px) translateX(0px); }
            100% { transform: translateY(-60px) translateX(20px); }
        }

        .solution-content {
            position: relative;
            z-index: 2;
        }

        /* HERO DE LA SECCIÓN */
        .solution-hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--space-xl);
            align-items: center;
            margin-bottom: var(--space-xl);
            padding: var(--space-lg);
        }

        .solution-text {
            order: 1;
        }

        .solution-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: rgba(29, 209, 161, 0.1);
            color: var(--primary-dark);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-size: var(--font-xs);
            font-weight: 700;
            margin-bottom: var(--space-md);
            border: 1px solid rgba(29, 209, 161, 0.2);
            animation: pulse-glow 3s ease-in-out infinite;
        }

        @keyframes pulse-glow {
            0%, 100% { 
                box-shadow: 0 0 5px rgba(29, 209, 161, 0.3);
                transform: scale(1);
            }
            50% { 
                box-shadow: 0 0 20px rgba(29, 209, 161, 0.5);
                transform: scale(1.02);
            }
        }

        .solution-title {
            font-size: var(--font-lg);
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: var(--space-sm);
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .solution-title .highlight {
            background: var(--gradient-primary);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }

        .solution-description {
            font-size: var(--font-sm);
            color: var(--gray-600);
            margin-bottom: var(--space-lg);
            line-height: 1.7;
            max-width: 90%;
        }

        .solution-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            background: var(--gradient-primary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: var(--font-sm);
            transition: var(--transition);
            box-shadow: 0 10px 30px rgba(29, 209, 161, 0.3);
            position: relative;
            overflow: hidden;
        }

        .solution-cta::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .solution-cta:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(29, 209, 161, 0.4);
        }

        .solution-cta:hover::before {
            transform: translateX(100%);
        }

        /* VISUAL MEJORADO */
        .solution-visual {
            order: 2;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .ophelia-avatar {
            width: 200px;
            height: 200px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: white;
            box-shadow: 0 25px 50px rgba(29, 209, 161, 0.3);
            position: relative;
            animation: float-avatar 6s ease-in-out infinite;
        }

        @keyframes float-avatar {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-10px) rotate(5deg); }
        }

        .ophelia-avatar::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-light), var(--accent-light), var(--primary));
            opacity: 0.3;
            animation: rotate-glow 8s linear infinite;
            z-index: -1;
        }

        @keyframes rotate-glow {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .floating-element {
            position: absolute;
            background: white;
            border-radius: var(--border-radius);
            padding: 0.75rem 1rem;
            box-shadow: var(--shadow-md);
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--gray-700);
            animation: float-element 4s ease-in-out infinite;
            opacity: 0;
            border: 1px solid var(--gray-200);
        }

        .floating-element:nth-child(1) {
            top: 10%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            top: 20%;
            right: 15%;
            animation-delay: 1s;
        }

        .floating-element:nth-child(3) {
            bottom: 25%;
            left: 5%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(4) {
            bottom: 10%;
            right: 10%;
            animation-delay: 3s;
        }

        @keyframes float-element {
            0%, 100% { 
                opacity: 0;
                transform: translateY(20px) scale(0.8);
            }
            20%, 80% { 
                opacity: 1;
                transform: translateY(0px) scale(1);
            }
        }

        /* SECCIÓN DE INTEGRACIONES REDISEÑADA */
        .integrations-section {
            background: white;
            border-radius: var(--border-radius-lg);
            padding: var(--space-lg);
            box-shadow: var(--shadow-lg);
            margin-top: var(--space-xl);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--gray-200);
        }

        .integrations-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
        }

        .integrations-header {
            text-align: center;
            margin-bottom: var(--space-lg);
        }

        .integrations-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            font-size: var(--font-md);
            font-weight: 700;
            color: var(--gray-900);
            margin-bottom: var(--space-sm);
        }

        .integrations-title i {
            color: var(--primary);
            font-size: 1.5rem;
        }

        .integrations-subtitle {
            font-size: var(--font-sm);
            color: var(--gray-600);
            max-width: 1000px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .integrations-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: var(--space-sm);
            margin-bottom: var(--space-lg);
        }

        .integration-card {
            background: var(--gray-50);
            border: 2px solid var(--gray-200);
            border-radius: var(--border-radius);
            padding: 1.5rem 1rem;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .integration-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--gradient-primary);
            opacity: 0;
            transition: var(--transition);
        }

        .integration-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary);
            box-shadow: 0 10px 25px rgba(29, 209, 161, 0.2);
        }

        .integration-card:hover::before {
            opacity: 0.05;
        }

        .integration-icon {
            font-size: 2rem;
            margin-bottom: 0.75rem;
            position: relative;
            z-index: 2;
            transition: var(--transition);
        }

        .integration-card:hover .integration-icon {
            color: var(--primary);
            transform: scale(1.1);
        }

        .integration-name {
            font-weight: 600;
            color: var(--gray-700);
            font-size: 0.9rem;
            position: relative;
            z-index: 2;
            transition: var(--transition);
        }

        .integration-card:hover .integration-name {
            color: var(--gray-900);
        }

        /* STATS SECTION */
        .stats-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: var(--space-md);
            margin-top: var(--space-lg);
            padding: var(--space-lg);
            background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
            border-radius: var(--border-radius-lg);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DD1A1' fill-opacity='0.1'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
            pointer-events: none;
        }

        .stat-card {
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .stat-number {
            font-size: var(--font-lg);
            font-weight: 800;
            color: var(--primary-light);
            display: block;
            margin-bottom: 0.5rem;
        }

        .stat-label {
            font-size: var(--font-xs);
            color: var(--gray-300);
            font-weight: 500;
        }

        /* RESPONSIVE DESIGN */
        @media (max-width: 768px) {
            .solution-hero {
                grid-template-columns: 1fr;
                gap: var(--space-lg);
                text-align: center;
            }

            .solution-text {
                order: 2;
            }

            .solution-visual {
                order: 1;
            }

            .ophelia-avatar {
                width: 150px;
                height: 150px;
                font-size: 3.5rem;
            }

            .integrations-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .stats-section {
                grid-template-columns: repeat(2, 1fr);
            }

            .floating-element {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .integrations-grid {
                grid-template-columns: 1fr;
            }

            .stats-section {
                grid-template-columns: 1fr;
            }

            .solution-description {
                max-width: 100%;
            }
        }

        /* ACCESIBILIDAD */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* ESTADOS DE FOCUS */
        .solution-cta:focus-visible,
        .integration-card:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
        }

        /* Agregar esto antes de la benefits-section */
.section-divider {
    height: 8px;
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--accent) 50%, 
        var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.4), 
        transparent);
    animation: shimmer-divider 3s infinite;
}

@keyframes shimmer-divider {
    0% { left: -100%; }
    100% { left: 100%; }
}