/* ==========================================================================
   REFFI HOME PAGE - DISEÑO UI/UX PROFESIONAL
   Colores oficiales de Reffi con diseño moderno y elegante
   ========================================================================== */

:root {
    /* Colores principales de Reffi - Gradiente Morado → Rosa/Rojo */
    --color-purple-dark: #3a1a5e;
    --color-purple: #693E98;
    --color-pink: #EE3958;
    --color-pink-light: #FF416C;
    --color-orange: #F89F2B;
    --color-dark: #1a1d29;
    --color-navy: #0f1419;

    /* Gradiente principal de Reffi (como el header) */
    --gradient-reffi: linear-gradient(135deg, #3a1a5e 0%, #693E98 30%, #EE3958 70%, #FF416C 100%);

    /* Colores de texto */
    --text-dark: #1a1d29;
    --text-muted: #6b7280;
    --text-white-80: rgba(255, 255, 255, 0.8);

    /* Colores de fondo */
    --bg-light: #f8f9fc;
    --bg-purple-light: #f5f3ff;

    /* Sistema de espaciado consistente */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --space-3xl: 128px;

    /* Sombras consistentes */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.15);

    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Optimización de rendimiento */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Will-change para elementos animados (usar con moderación) */
.hero-title,
.pricing-card:hover,
.btn:hover {
    will-change: transform;
}

/* Prevenir layout shift */
.case-image img,
.success-image img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* GPU acceleration para animaciones suaves */
.btn,
.pricing-card,
.testimonial-card,
.nav-link-landing {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Utilidades de espaciado */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Utilidades de display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Utilidades de alineación */
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Utilidades de texto */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-normal { font-weight: 400; }

/* Truncate text */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Utilidades globales */
section {
    scroll-margin-top: 80px; /* Para smooth scroll con navbar fixed */
}

.container {
    position: relative;
    z-index: 1;
}

/* Animaciones de entrada sutiles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aplicar animaciones a elementos clave */
.hero-title {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.cta-buttons {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.badge-pill-hero {
    animation: scaleIn 0.6s ease-out both;
}

.pricing-card {
    animation: fadeInUp 0.6s ease-out both;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Reducir animaciones si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   HERO SECTION - Diseño Moderno con Animaciones
   ========================================================================== */

.hero-section {
    background: var(--gradient-reffi);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.badge-pill-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-purple);
    letter-spacing: 0.8px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.badge-pill-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.dot-orange {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #fbbf24 100%);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(248, 159, 43, 0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Efecto de hover en cards mejorado */
.card-hover-lift {
    transition: all var(--transition-base);
}

.card-hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Efecto ripple en botones (click feedback) */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Cursor personalizado para elementos interactivos */
button, a, .clickable {
    cursor: pointer;
}

button:disabled, a.disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Efecto shimmer en placeholders */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    animation: shimmer 2s infinite;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
}

/* Entrada de formularios mejorada */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(105, 62, 152, 0.1);
    transition: all var(--transition-base);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 35px 0;
    color: white;
    position: relative;
    z-index: 2;
}

.hero-title .text-purple {
    color: #e9d5ff;
    text-shadow: 0 2px 20px rgba(167, 139, 250, 0.7);
}

.hero-title .text-green {
    color: #34d399;
    text-shadow: 0 2px 20px rgba(52, 211, 153, 0.7);
}

.hero-title .text-orange {
    color: #fbbf24;
    text-shadow: 0 2px 20px rgba(251, 191, 36, 0.7);
}

.hero-title .text-muted-hero {
    color: rgba(255, 255, 255, 0.95);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Botones Hero Section - Diseño Premium */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-purple {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 38px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(91, 33, 182, 0.6), 0 0 40px rgba(124, 58, 237, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-purple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-purple:hover::before {
    left: 100%;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 45px rgba(91, 33, 182, 0.8), 0 0 60px rgba(124, 58, 237, 0.5);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    padding: 18px 38px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-orange:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.7), 0 0 40px rgba(245, 158, 11, 0.4);
    color: white;
}

.btn-outline-dark {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    padding: 18px 38px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-outline-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-outline-dark:hover::before {
    left: 100%;
}

.btn-outline-dark:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6), 0 0 40px rgba(16, 185, 129, 0.3);
}

.btn-lg {
    padding: 18px 38px;
    font-size: 1.1rem;
}

/* Mejoras globales de botones */
.btn {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(105, 62, 152, 0.3);
}

.btn:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

/* Accesibilidad - Skip to content */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-purple);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 0 0 8px 0;
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Mejoras de contraste para WCAG AA */
.text-muted {
    color: #6b7280; /* Asegurar contraste 4.5:1 */
}

/* Focus visible en links */
a:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Indicadores de navegación por teclado */
*:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

/* Ocultar outline en click de mouse pero mantener en teclado */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Sección de Marcas */
.brands-section {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.brands-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.8px;
    margin-bottom: 30px;
}

.brands-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(105, 62, 152, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(105, 62, 152, 0.15);
    border-color: rgba(105, 62, 152, 0.25);
}

.brand-item i {
    font-size: 32px;
    color: var(--color-purple);
}

.brand-item span {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ==========================================================================
   BUSINESS SECTION - Diseño Moderno
   ========================================================================== */

.business-section {
    padding: 120px 0;
    background: linear-gradient(180deg,
        rgba(105, 62, 152, 0.03) 0%,
        rgba(105, 62, 152, 0.06) 50%,
        rgba(105, 62, 152, 0.03) 100%);
    position: relative;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(105, 62, 152, 0.05) 100%);
    color: var(--color-purple);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(105, 62, 152, 0.15);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.section-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Demo de IA - Diseño Glassmorphism */
.ai-demo-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1.5px solid rgba(105, 62, 152, 0.15);
    transition: all 0.3s ease;
}

.ai-demo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(105, 62, 152, 0.15);
}

.demo-header .demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(105, 62, 152, 0.3);
}

.demo-header h4 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 20px;
}

.demo-form .form-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.demo-form .form-control {
    border: 2px solid rgba(105, 62, 152, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.demo-form .form-control:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 0 4px rgba(105, 62, 152, 0.1);
    outline: none;
}

.demo-form .form-control::placeholder {
    color: #9ca3af;
}

.ai-response {
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(105, 62, 152, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(105, 62, 152, 0.12);
    border-color: rgba(105, 62, 152, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-icon.purple {
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    color: white;
}

.feature-icon.orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, #fbbf24 100%);
    color: white;
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h4 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   USERS SECTION
   ========================================================================== */

.users-section {
    padding: 120px 0;
    background: linear-gradient(180deg,
        rgba(238, 57, 88, 0.03) 0%,
        rgba(255, 65, 108, 0.06) 50%,
        rgba(238, 57, 88, 0.03) 100%);
}

.user-feature-card {
    background: white;
    border-radius: 24px;
    padding: 45px 35px;
    text-align: center;
    border: 1.5px solid rgba(248, 159, 43, 0.15);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.user-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(248, 159, 43, 0.15);
    border-color: var(--color-orange);
}

.user-feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--color-orange) 0%, #fbbf24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 10px 30px rgba(248, 159, 43, 0.3);
    transition: all 0.3s ease;
}

.user-feature-card:hover .user-feature-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(248, 159, 43, 0.4);
}

.user-feature-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.user-feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================================
   SUCCESS SECTION
   ========================================================================== */

.success-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.success-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid rgba(105, 62, 152, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(105, 62, 152, 0.15);
    border-color: var(--color-purple);
}

.success-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.success-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.success-card:hover .success-image img {
    transform: scale(1.1);
}

.success-content {
    padding: 35px;
}

.success-category {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(105, 62, 152, 0.05) 100%);
    color: var(--color-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.success-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.success-quote {
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 25px;
}

.success-metric {
    display: flex;
    align-items: center;
    gap: 15px;
}

.metric-value {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value.purple {
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
}

/* ==========================================================================
   PRICING SECTION - Diseño Premium
   ========================================================================== */

.pricing-section {
    padding: 120px 0;
    background: linear-gradient(135deg,
        rgba(255, 65, 108, 0.04) 0%,
        rgba(238, 57, 88, 0.06) 50%,
        rgba(255, 65, 108, 0.04) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(238, 57, 88, 0.1) 0%, rgba(255, 65, 108, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(58, 26, 94, 0.08) 0%, rgba(105, 62, 152, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
}

.pricing-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Toggle Mensual/Anual */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.toggle-label {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 130px;
}

.toggle-label:first-child {
    text-align: right;
}

.toggle-label:last-child {
    text-align: left;
}

.savings-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-pink);
    margin-left: 4px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 100%);
    transition: 0.4s;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(105, 62, 152, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-pink-light) 100%);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

/* Pricing Cards - Diseño Limpio y Profesional */
.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 45px 35px;
    border: 2px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(105, 62, 152, 0.3);
}

/* Plan Emprendedor */
.pricing-card:nth-child(1) .plan-badge {
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(105, 62, 152, 0.05) 100%);
    color: var(--color-purple);
}

.pricing-card:nth-child(1) .pricing-price .amount {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card:nth-child(1) .features-list-pricing i {
    color: var(--color-purple);
}

.pricing-card:nth-child(1) .btn {
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    border: none;
    color: white !important;
}

.pricing-card:nth-child(1) .btn:hover {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 100%);
    box-shadow: 0 8px 25px rgba(105, 62, 152, 0.35);
    transform: translateY(-2px);
    color: white !important;
}

/* Card Popular - Elegante con Borde Gradiente */
.pricing-card-popular {
    background: white;
    border: 3px solid transparent;
    background-image:
        linear-gradient(white, white),
        var(--gradient-reffi);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transform: scale(1.05);
    position: relative;
    box-shadow:
        0 10px 40px rgba(105, 62, 152, 0.2),
        0 0 0 1px rgba(238, 57, 88, 0.1);
}

.pricing-card-popular:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 25px 60px rgba(105, 62, 152, 0.25),
        0 0 80px rgba(238, 57, 88, 0.15);
}

/* Todos los textos en negro para máxima legibilidad */
.pricing-card-popular .plan-name {
    color: var(--text-dark);
}

.pricing-card-popular .plan-description {
    color: var(--text-muted);
}

.pricing-card-popular .pricing-features h4 {
    color: var(--text-muted);
}

/* Precio con Gradiente Reffi */
.pricing-card-popular .pricing-price .currency {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-popular .pricing-price .amount {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card-popular .pricing-price .period {
    color: var(--text-muted);
}

.pricing-card-popular .features-list-pricing li {
    color: var(--text-dark);
}

.pricing-card-popular .features-list-pricing i {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Plan Cadena */
.pricing-card:nth-child(3) .plan-badge {
    background: linear-gradient(135deg, rgba(238, 57, 88, 0.1) 0%, rgba(238, 57, 88, 0.05) 100%);
    color: var(--color-pink);
}

.pricing-card:nth-child(3) .amount-custom {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-pink-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card:nth-child(3) .features-list-pricing i {
    color: var(--color-pink);
}

.pricing-card:nth-child(3) .btn {
    background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-pink-light) 100%);
    border: none;
    color: white !important;
}

.pricing-card:nth-child(3) .btn:hover {
    background: linear-gradient(135deg, #c72042 0%, var(--color-pink) 100%);
    box-shadow: 0 8px 25px rgba(238, 57, 88, 0.35);
    transform: translateY(-2px);
    color: white !important;
}

/* Popular Badge - Elegante con Gradiente */
.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-reffi);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow:
        0 8px 25px rgba(105, 62, 152, 0.4),
        0 0 0 3px white;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    white-space: nowrap;
}

/* Badge de Validación (mismo estilo que popular pero en morado) */
.popular-badge--validation {
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    box-shadow:
        0 8px 25px rgba(105, 62, 152, 0.4),
        0 0 0 3px white;
}

/* Pricing Header */
.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(105, 62, 152, 0.05) 100%);
    color: var(--color-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.plan-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.plan-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Price */
.pricing-price {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .period {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.amount-custom {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Launch Offer */
.launch-offer {
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(238, 57, 88, 0.08) 0%, rgba(255, 65, 108, 0.05) 100%);
    border-radius: 12px;
    color: var(--color-pink);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(238, 57, 88, 0.2);
}

/* Pricing Button */
.btn-outline-pricing {
    background: white;
    color: var(--color-purple);
    border: 2px solid var(--color-purple);
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.btn-outline-pricing:hover {
    background: linear-gradient(135deg, var(--color-purple) 0%, #8b5cf6 100%);
    color: white;
    border-color: var(--color-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(105, 62, 152, 0.3);
}

/* Botón especial para tarjeta popular */
.pricing-card-popular .btn-orange {
    background: var(--gradient-reffi);
    color: white;
    font-weight: 800;
    border: none;
}

.pricing-card-popular .btn-orange:hover {
    background: linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(105, 62, 152, 0.4);
    color: white;
}

/* Pricing Features */
.pricing-features {
    flex-grow: 1;
    margin-top: 30px;
}

.pricing-features h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.features-list-pricing {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list-pricing li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.features-list-pricing li:last-child {
    border-bottom: none;
}

.features-list-pricing i {
    font-size: 1.2rem;
    color: var(--color-green);
    flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
    margin-top: 100px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 50px;
}

.accordion {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
}

.accordion-item {
    background: white;
    border: 2px solid rgba(105, 62, 152, 0.1);
    border-radius: 16px !important;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--color-purple);
    box-shadow: 0 8px 25px rgba(105, 62, 152, 0.1);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: transparent;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 25px 30px;
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.05) 0%, rgba(105, 62, 152, 0.02) 100%);
    color: var(--color-purple);
}

.accordion-button::after {
    background-image: none;
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 1.3rem;
    color: var(--color-purple);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 20px 30px 30px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================================================
   STORIES SECTION - Historias Detalladas
   ========================================================================== */

.stories-section {
    padding: 120px 0;
    background: linear-gradient(135deg,
        rgba(105, 62, 152, 0.04) 0%,
        rgba(238, 57, 88, 0.04) 50%,
        rgba(255, 65, 108, 0.04) 100%);
}

.stories-label {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(238, 57, 88, 0.1) 100%);
    color: var(--color-purple);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.stories-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-gradient-reffi {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stories-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Story Stats */
.story-stat {
    text-align: center;
    padding: 25px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.story-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.story-stat i {
    font-size: 2rem;
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.story-stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.story-stat p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

/* Case Studies */
.case-study {
    margin-top: 80px;
}

.case-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    height: 500px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-image:hover img {
    transform: scale(1.05);
}

.case-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.case-badge span {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.case-badge small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.case-content {
    padding: 30px;
}

.case-category {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.1) 0%, rgba(238, 57, 88, 0.1) 100%);
    color: var(--color-purple);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.case-category i {
    margin-right: 6px;
}

.case-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.case-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.case-metrics {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.case-metric {
    flex: 1;
    min-width: 150px;
}

.metric-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

/* Testimonials */
.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.testimonial-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    border: 2px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(105, 62, 152, 0.3);
}

.testimonial-featured {
    background: var(--color-navy);
    border: 2px solid rgba(105, 62, 152, 0.35);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    color: white;
}

.testimonial-featured .testimonial-text,
.testimonial-featured p,
.testimonial-featured .testimonial-author p {
    color: white;
}

.testimonial-featured h5 {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.05rem;
}

.testimonial-featured .quote-icon {
    background: var(--gradient-reffi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 1;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(105, 62, 152, 0.15);
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-purple);
    flex-shrink: 0;
}

.testimonial-featured .author-avatar {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.testimonial-author h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px 0;
}

.testimonial-author p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* CTA Dark Section */
.cta-dark-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1d29 0%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.cta-dark-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(105, 62, 152, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-dark-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(238, 57, 88, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-dark-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-dark-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cta-dark-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.btn-light-cta {
    background: white;
    color: var(--color-purple);
    border: none;
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-light-cta:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, white 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
    color: var(--color-purple);
}

.btn-outline-light-cta {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-outline-light-cta:hover {
    background: white;
    color: var(--color-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

.cta-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   RESPONSIVE - Optimizado para móvil (crítico para B2C)
   ========================================================================== */

/* Tablet y móvil grande */
@media (max-width: 991px) {
    /* Hero */
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Historias */
    .stories-title {
        font-size: 2.5rem;
    }

    .case-image {
        height: 350px;
        margin-bottom: 30px;
    }

    .case-title {
        font-size: 1.5rem;
    }

    .metric-number {
        font-size: 2.5rem;
    }

    /* CTA Dark */
    .cta-dark-title {
        font-size: 2.5rem;
    }

    .cta-dark-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-light-cta,
    .btn-outline-light-cta {
        width: 100%;
        text-align: center;
    }

    /* Pricing */
    .pricing-card-popular {
        transform: scale(1);
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px) scale(1);
    }
}

/* Móvil */
@media (max-width: 767px) {
    /* Hero */
    .hero-section {
        padding: 80px 0 100px;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .brands-section {
        margin-top: 60px;
    }

    .brand-item {
        flex: 0 0 calc(50% - 20px);
        padding: 16px 20px;
    }

    /* Secciones generales */
    section {
        padding: 80px 0 !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
    }

    /* Pricing */
    .pricing-title {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 35px 25px;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .pricing-price .amount {
        font-size: 3rem;
    }

    /* Historias */
    .stories-title {
        font-size: 2rem;
    }

    .case-title {
        font-size: 1.3rem;
    }

    .case-image {
        height: 280px;
    }

    .metric-number {
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    /* CTA Dark */
    .cta-dark-title {
        font-size: 2rem;
    }

    .cta-dark-subtitle {
        font-size: 1rem;
    }

    .btn-light-cta,
    .btn-outline-light-cta {
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Botones táctiles más grandes */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }

    .btn-lg {
        min-height: 52px;
        padding: 16px 32px;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .badge-pill-hero {
        font-size: 11px;
        padding: 10px 20px;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .stories-title {
        font-size: 1.75rem;
    }

    .cta-dark-title {
        font-size: 1.75rem;
    }

    /* Ajuste de gap para móviles pequeños */
    .row.g-4 {
        gap: 1.5rem !important;
    }

    .row.g-5 {
        gap: 2rem !important;
    }
}

/* ==========================================================================
   AMBASSADOR SECTION
   ========================================================================== */

.ambassador-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a1d29 100%);
    position: relative;
    overflow: hidden;
}

.ambassador-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(248, 159, 43, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.ambassador-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 220, 199, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-label.orange {
    background: linear-gradient(135deg, rgba(248, 159, 43, 0.2) 0%, rgba(248, 159, 43, 0.1) 100%);
    color: var(--color-orange);
    border-color: rgba(248, 159, 43, 0.3);
}

.text-white-80 {
    color: var(--text-white-80);
}

.ambassador-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 45px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.ambassador-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.ambassador-card.dark {
    background: rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-icon.green {
    background: linear-gradient(135deg, var(--color-green) 0%, #22d3ee 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 220, 199, 0.3);
}

.card-icon.orange {
    background: linear-gradient(135deg, var(--color-orange) 0%, #fbbf24 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(248, 159, 43, 0.3);
}

.ambassador-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.ambassador-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    margin-bottom: 18px;
}

.ambassador-card p {
    color: var(--text-white-80);
    line-height: 1.8;
    margin-bottom: 30px;
}

.commission-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.commission-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.commission-badge {
    font-size: 2.2rem;
    font-weight: 900;
    padding: 18px 24px;
    border-radius: 14px;
    flex-shrink: 0;
}

.commission-badge.purple {
    background: linear-gradient(135deg, rgba(105, 62, 152, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #c4b5fd;
    box-shadow: 0 4px 15px rgba(105, 62, 152, 0.2);
}

.commission-badge.orange {
    background: linear-gradient(135deg, rgba(248, 159, 43, 0.3) 0%, rgba(251, 191, 36, 0.2) 100%);
    color: #fcd34d;
    box-shadow: 0 4px 15px rgba(248, 159, 43, 0.2);
}

.commission-item h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.commission-item p {
    font-size: 0.95rem;
    margin: 0;
}

.kit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.kit-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.kit-list li:last-child {
    border-bottom: none;
}

.kit-list i {
    font-size: 1.3rem;
}

/* ==========================================================================
   CTA SECTION - Diseño Premium
   ========================================================================== */

.cta-section {
    padding: 100px 0;
    background: var(--gradient-reffi);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cta-buttons-final {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Botón Primario CTA - Gradiente Naranja Premium */
.cta-section .btn-purple {
    background: linear-gradient(135deg, var(--color-orange) 0%, #fbbf24 100%);
    color: white;
    border: none;
    padding: 20px 45px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 10px 30px rgba(248, 159, 43, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-section .btn-purple:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(248, 159, 43, 0.6);
    background: linear-gradient(135deg, #fbbf24 0%, var(--color-orange) 100%);
    color: white;
}

/* Botón Secundario - Glassmorphism Premium */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 43px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.25);
    color: white;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-section {
    padding: 70px 0 35px;
    background: linear-gradient(180deg, #0a0c10 0%, #000000 100%);
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    height: 45px;
    filter: brightness(1.2);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 0;
    max-width: 280px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-orange);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   PROFILE SECTION IMAGES - Imágenes de perfil por tipo de usuario
   ========================================================================== */

.profile-section-img {
    max-height: 380px;
    width: auto;
    border-radius: 20px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s ease;
}

.profile-section-img:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Recorte lateral para imagen de Negocios */
.profile-img-negocio-crop {
    overflow: hidden;
    border-radius: 20px;
    height: 380px;
    width: 72%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.profile-img-negocio-crop:hover {
    transform: translateY(-8px) scale(1.02);
}

.profile-img-negocio-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

@media (max-width: 991px) {
    .profile-img-negocio-crop {
        height: 280px;
        width: 65%;
    }
}

@media (max-width: 767px) {
    .profile-img-negocio-crop {
        height: 220px;
        width: 75%;
    }
}

/* Avatar de testimonio con foto real */
.author-avatar-photo {
    padding: 0;
    overflow: hidden;
    background: none;
}

.author-avatar-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

@media (max-width: 991px) {
    .profile-section-img {
        max-height: 280px;
    }
}

@media (max-width: 767px) {
    .profile-section-img {
        max-height: 220px;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP - Diseño Premium
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    animation: float 3s ease-in-out infinite;
}

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

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
    color: white;
}

/* ==========================================================================
   RESPONSIVE - Optimización Mobile
   ========================================================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .ai-demo-container {
        padding: 35px;
    }

    .feature-item {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .pricing-card-popular {
        transform: scale(1);
    }

    .pricing-card-popular:hover {
        transform: translateY(-10px) scale(1);
    }

    .pricing-toggle {
        flex-direction: column;
        gap: 10px;
    }

    .faq-title {
        font-size: 2rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 20px;
    }

    .accordion-body {
        padding: 15px 20px 25px;
    }

    .cta-buttons,
    .cta-buttons-final {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn,
    .cta-buttons-final .btn,
    .cta-buttons .btn-purple,
    .cta-buttons .btn-orange,
    .cta-buttons .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }

    .business-section,
    .users-section,
    .success-section,
    .ambassador-section,
    .cta-section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .brands-logos {
        gap: 20px;
    }

    .ai-demo-container {
        padding: 30px 20px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .feature-item:hover {
        transform: translateY(-5px);
    }

    .commission-item {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 30px;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 16px 30px;
        font-size: 1rem;
    }
}
