/* ==========================================================================
   SISTEMA DE DISEÑO - MESA DE PROYECTOS (DARK MODE PREMIUM)
   ========================================================================== */

/* Variables de CSS Globales */
:root {
    /* Colores */
    --color-bg-deep: #050508;
    --color-bg-card: rgba(15, 15, 25, 0.7);
    --color-bg-card-hover: rgba(22, 22, 38, 0.85);
    --color-border-glass: rgba(255, 255, 255, 0.08);
    --color-border-glass-hover: rgba(168, 85, 247, 0.4);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    
    /* Acentos y Gradientes */
    --color-primary: #a855f7; /* Morado */
    --color-secondary: #ec4899; /* Rosa */
    --color-accent: #f97316; /* Naranja */
    
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    --gradient-glow: 0 0 20px rgba(168, 85, 247, 0.35);
    --gradient-glow-hover: 0 0 35px rgba(236, 72, 153, 0.65);
    
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    
    /* Fuentes */
    --font-primary: 'Outfit', sans-serif;
    
    /* Sombras y Efectos */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-neumorphic: inset 2px 2px 5px rgba(255,255,255,0.05), inset -2px -2px 5px rgba(0,0,0,0.5);
    --glass-blur: blur(12px);
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    border: 2px solid var(--color-bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(236, 72, 153, 0.4);
}

/* Estilos de Contenedor y Tipografía Comunes */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

p {
    color: var(--color-text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.glassmorphism {
    background: var(--color-bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border-glass);
    box-shadow: var(--shadow-glass);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.text-center { text-align: center; }
.mb-16 { margin-bottom: 4rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.w-full { width: 100%; }
.text-xs { font-size: 0.75rem; }
.text-red { color: var(--color-error); }
.text-purple { color: #c084fc; }
.text-pink { color: #f472b6; }
.text-orange { color: #fb923c; }
.text-slate { color: var(--color-text-secondary); }
.max-w-2xl { max-w: 42rem; }
.max-w-3xl { max-w: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.items-center { align-items: center; }
.hidden { display: none !important; }
.block { display: block !important; }

/* Grid Utilities Mobile-First */
.grid-2, .grid-3 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   COMPONENTES: BOTONES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-height: 48px; /* Accesibilidad táctil */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #a855f7 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    box-shadow: var(--gradient-glow);
}

.btn-glow:hover {
    box-shadow: var(--gradient-glow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border-glass);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-tertiary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.btn-tertiary:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* Animación pulsante */
@keyframes pulsate {
    0% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
    }
    50% {
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
    }
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
    }
}

.pulsate {
    animation: pulsate 2s infinite ease-in-out;
}

/* ==========================================================================
   HEADER Y NAV
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border-glass);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(5, 5, 8, 0.9);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
    .main-nav ul {
        display: flex;
        gap: 2rem;
    }
    .main-nav a {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--color-text-secondary);
    }
    .main-nav a:hover {
        color: var(--color-text-primary);
        text-shadow: 0 0 10px rgba(255,255,255,0.2);
    }
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .hamburger-menu {
        display: none;
    }
}

/* Menú Móvil Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg-deep);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: var(--transition-slow);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-container {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mobile-nav a {
    font-size: 1.75rem;
    font-weight: 700;
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-glass);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border-radius: 9999px;
    width: fit-content;
    margin-bottom: 2rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-pulse {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    animation: pulse 1.5s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

@media (min-width: 768px) {
    .hero-subheadline {
        font-size: 1.25rem;
    }
}

.hero-actions-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 480px) {
    .hero-actions-group {
        flex-direction: row;
        align-items: center;
    }
}

/* Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--color-border-glass);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Visual Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-mockup {
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}

.mockup-header {
    background: rgba(255,255,255,0.03);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border-glass);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background-color: var(--color-error); }
.dot.yellow { background-color: var(--color-warning); }
.dot.green { background-color: var(--color-success); }

.mockup-title {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.mockup-body {
    padding: 2rem 1.5rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.call-overlay {
    position: relative;
    z-index: 2;
}

.expert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 10, 20, 0.75);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.expert-avatar-container {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-avatar-placeholder {
    font-size: 1.5rem;
}

.avatar-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--color-secondary);
    animation: rotate 2s linear infinite;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: var(--color-success);
    border: 2px solid var(--color-bg-deep);
    border-radius: 50%;
    z-index: 3;
}

.expert-info {
    display: flex;
    flex-direction: column;
}

.expert-role {
    font-size: 0.7rem;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.expert-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.expert-status {
    font-size: 0.75rem;
    color: var(--color-success);
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    animation: ripple 1.8s infinite ease-out;
    top: -5px;
    left: -5px;
    z-index: -1;
}

.mockup-content-grid {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.code-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.w-3\/4 { width: 75%; }
.w-1\/2 { width: 50%; }
.w-5\/6 { width: 83%; }

.interactive-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    background: rgba(255,255,255,0.02);
    padding: 0.75rem;
    border-radius: 10px;
}

.diagram-node {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.diagram-node.gradient-bg {
    background: var(--gradient-primary);
    border: none;
}

.diagram-arrow {
    color: var(--color-secondary);
    animation: slideRight 1.5s infinite;
}

.shimmer-text {
    position: relative;
    overflow: hidden;
}

.shimmer-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 2s infinite;
}

.mockup-footer {
    background: rgba(255,255,255,0.01);
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border-glass);
}

.footer-info {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    display: block;
    text-align: center;
}

/* ==========================================================================
   PRUEBA SOCIAL: CAROUSEL INFINITO
   ========================================================================== */
.social-proof-bar {
    background: rgba(10, 10, 15, 0.6);
    border-top: 1px solid var(--color-border-glass);
    border-bottom: 1px solid var(--color-border-glass);
    padding: 1.5rem 0;
    overflow: hidden;
}

.social-proof-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 3rem;
    min-width: 100%;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-item {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: var(--transition-smooth);
    cursor: default;
}

.marquee-item:hover {
    color: var(--color-text-primary);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* ==========================================================================
   SECCIÓN PROBLEMA / SOLUCIÓN (PAS)
   ========================================================================== */
.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.25rem;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.problem-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    color: var(--color-text-primary);
}

.red-bg {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--color-error);
}

.problem-list strong {
    font-size: 1.1rem;
    color: var(--color-text-primary);
}

.problem-list p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #c084fc;
    font-weight: 600;
    margin-top: 1.5rem;
}

.link-arrow:hover {
    color: var(--color-secondary);
}

.link-arrow span {
    transition: var(--transition-smooth);
}

.link-arrow:hover span {
    transform: translateX(5px);
}

.problem-card.border-red {
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(239, 68, 68, 0.03);
}

.problem-card.border-red:hover {
    border-color: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   SECCIÓN CARACTERÍSTICAS (FEATURES)
   ========================================================================== */
.feature-card {
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-glass-hover);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.12);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    transform: scale(1.1);
    box-shadow: var(--gradient-glow);
}

.feature-icon {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.card-step-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    user-select: none;
    transition: var(--transition-smooth);
}

.feature-card:hover .card-step-num {
    color: rgba(168, 85, 247, 0.06);
}

/* ==========================================================================
   SECCIÓN TESTIMONIOS (CAROUSEL)
   ========================================================================== */
.testimonial-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.testimonial-card {
    padding: 3rem;
    border: 1px solid var(--color-border-glass);
}

.stars-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24; /* Amarillo Oro */
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(168, 85, 247, 0.4);
    background-color: var(--color-bg-deep);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.verified-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
}

.user-position {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.carousel-control {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.carousel-control:hover {
    background: var(--gradient-primary);
    box-shadow: var(--gradient-glow);
    border-color: transparent;
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot-indicator.active {
    width: 24px;
    border-radius: 4px;
    background: var(--gradient-primary);
}

/* ==========================================================================
   SECCIÓN PLANES Y PRECIOS
   ========================================================================== */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.billing-toggle {
    width: 60px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border-glass);
    border-radius: 9999px;
    cursor: pointer;
    position: relative;
    padding: 0;
    transition: var(--transition-smooth);
}

.toggle-circle {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.billing-toggle[aria-pressed="true"] .toggle-circle {
    left: 32px;
}

.toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.toggle-label.active {
    color: var(--color-text-primary);
}

.badge-sale {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-left: 0.25rem;
}

/* Pricing Card */
.pricing-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-badge-placeholder {
    height: 30px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.badge-popular {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.plan-tagline {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    min-height: 45px;
    margin-bottom: 2rem;
}

.plan-price-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 2.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.price-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.plan-features span {
    color: var(--color-primary);
    font-weight: 700;
}

.plan-cta-wrapper {
    margin-top: auto;
}

/* Featured Pricing Card */
.pricing-card.featured-card {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(20, 15, 35, 0.8);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.08);
}

.pricing-card.featured-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 45px rgba(168, 85, 247, 0.18);
}

.pricing-card.featured-card .plan-features span {
    color: var(--color-secondary);
}

.risk-reversal-badge-wrapper {
    max-width: 800px;
    margin: 3rem auto 0;
}

.risk-reversal-badge {
    background: rgba(255,255,255,0.02);
    border: 1px dashed var(--color-border-glass);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: inline-block;
}

/* ==========================================================================
   FORMULARIO DE CAPTURA DE LEADS
   ========================================================================== */
.lead-form {
    padding: 3rem 2.5rem;
    border: 1px solid var(--color-border-glass);
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

/* Input Group with Floating Labels */
.input-group {
    position: relative;
    margin-bottom: 1.75rem;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.input-icon.align-start {
    top: 1.25rem;
    transform: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-neumorphic);
}

.input-group textarea {
    resize: none;
    padding-top: 1rem;
}

/* Floating Label Logic */
.input-group label {
    position: absolute;
    left: 3.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.input-group textarea ~ label {
    top: 1rem;
    transform: none;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 1rem;
    font-size: 0.75rem;
    color: #c084fc;
    background-color: #0d0d18;
    padding: 0 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: rgba(168, 85, 247, 0.5);
    background-color: rgba(168, 85, 247, 0.02);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.input-group input:focus ~ .input-icon,
.input-group textarea:focus ~ .input-icon {
    color: var(--color-primary);
}

/* Validation CSS States */
.input-group.success input,
.input-group.success textarea {
    border-color: var(--color-success);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.input-group.success .input-icon {
    color: var(--color-success);
}

.input-group.error input,
.input-group.error textarea {
    border-color: var(--color-error);
    box-shadow: 0 0 10px rgba(239, 108, 108, 0.1);
}

.input-group.error .input-icon {
    color: var(--color-error);
}

.validation-message {
    font-size: 0.75rem;
    color: var(--color-error);
    margin-top: 0.35rem;
    display: none;
    padding-left: 1rem;
}

.input-group.error .validation-message {
    display: block;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-group input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid var(--color-border-glass);
    accent-color: var(--color-primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    user-select: none;
}

.legal-link {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-link:hover {
    color: var(--color-secondary);
}

/* Loading spinner */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--color-text-primary);
    border-radius: 50%;
    animation: rotate 0.8s linear infinite;
    display: inline-block;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon {
    font-size: 1.25rem;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (FAQ - ACORDEÓN)
   ========================================================================== */
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--color-border-glass);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(255,255,255,0.01);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-primary);
    background: rgba(255,255,255,0.03);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(255, 255, 255, 0.01);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-secondary);
}

/* ==========================================================================
   FOOTER (PIE DE PÁGINA)
   ========================================================================== */
.main-footer {
    background: #030305;
    border-top: 1px solid var(--color-border-glass);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 2fr;
    }
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    transform: scale(1.1);
    box-shadow: var(--gradient-glow);
    border-color: transparent;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-text-primary);
    padding-left: 4px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.badge-icon {
    font-size: 1.5rem;
}

.trust-badge strong {
    font-size: 0.9rem;
    color: var(--color-text-primary);
}

.trust-badge p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.payment-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-icon {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border-glass);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--color-text-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   ELEMENTOS DE CONVERSIÓN Y VIRALIDAD
   ========================================================================== */

/* Sticky CTA bottom bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    z-index: 95;
    padding: 0.75rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-smooth);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.sticky-cta-bar.active {
    transform: translateY(0);
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .sticky-cta-container {
        flex-direction: row;
        gap: 0;
    }
}

.sticky-cta-text {
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

/* Toasts de Urgencia */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 1.5rem;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 320px;
    pointer-events: none;
}

.toast {
    background: rgba(15, 15, 28, 0.9);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-glass);
    display: flex;
    gap: 0.75rem;
    align-items: center;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon-pulse {
    width: 10px;
    height: 10px;
    background-color: var(--color-success);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 1.5s infinite;
}

.toast-body {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.toast-message {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: var(--glass-blur);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1.5rem;
}

.exit-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.exit-popup {
    width: 100%;
    max-width: 440px;
    padding: 3rem 2rem;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.exit-popup-overlay.active .exit-popup {
    transform: scale(1);
}

.exit-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.exit-close-btn:hover {
    color: var(--color-text-primary);
}

.exit-badge {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    width: fit-content;
    margin: 0 auto 1.5rem auto;
}

.exit-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.exit-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

/* Confetti Canvas for Success Form */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 150;
    display: none;
}

/* ==========================================================================
   ANIMACIONES CLAVE (@KEYFRAMES)
   ========================================================================== */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes shimmer {
    100% { left: 100%; }
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animaciones triggered por scroll (AOS mock) */
.scroll-animate {
    opacity: 0;
    transition: var(--transition-slow);
}

.scroll-animate.fade-in-left {
    transform: translateX(-40px);
}

.scroll-animate.fade-in-right {
    transform: translateX(40px);
}

.scroll-animate.scale-up {
    transform: scale(0.95);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.25s; }
.delay-3 { transition-delay: 0.4s; }

/* ==========================================================================
   MEDIA QUERIES COMPLEMENTARIAS
   ========================================================================== */
@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
    .hero-actions-group {
        width: 100%;
    }
}

/* ==========================================================================
   NOVEDADES: ESTILOS LOGO SVG, IMPUESTOS Y SELLOS DE CONFIANZA
   ========================================================================== */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 38px;
    height: 38px;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 4px rgba(168, 85, 247, 0.2));
}

.logo-link:hover .logo-svg {
    transform: rotate(15deg) scale(1.05);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
}

/* Detalle de precios e impuestos */
.price-tax-detail {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-top: -1.75rem;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 500;
}

/* Logos de confianza en pasarela de pagos */
.payment-trust-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border-glass);
    padding-top: 2rem;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.trust-logo-item:hover {
    color: var(--color-text-secondary);
    transform: translateY(-1px);
}

.flex { display: flex; }
.justify-center { justify-content: center; }
.gap-6 { gap: 1.5rem; }
.opacity-60 { opacity: 0.6; }


/* ==========================================================================
   NUEVAS SECCIONES: FLUJO DE 3 PASOS E INDICADORES
   ========================================================================== */

/* Steps Progress Flow */
.steps-progress-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 28, 0.7);
    border: 1px solid var(--color-border-glass);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    max-width: 850px;
    margin: 0 auto;
    gap: 1rem;
    box-shadow: var(--shadow-glass);
}

.step-flow-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 180px;
}

.step-flow-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.step-flow-content {
    display: flex;
    flex-direction: column;
}

.step-flow-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.step-flow-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.step-flow-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    flex-grow: 1;
    max-width: 60px;
}

/* Active State */
.step-flow-item.active .step-flow-number {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.step-flow-item.active .step-flow-title {
    color: var(--color-primary);
}

.step-flow-item.active .step-flow-desc {
    color: var(--color-text-primary);
}

@media (max-width: 768px) {
    .steps-progress-flow {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .step-flow-line {
        display: none;
    }
    
    .step-flow-item {
        width: 100%;
        min-width: auto;
    }
}

/* ==========================================================================
   NUEVAS SECCIONES: CASOS DE ÉXITO & CASOS DE USO
   ========================================================================== */
.cases-section {
    position: relative;
    z-index: 10;
}

/* Stats Bar */
.cases-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .cases-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cases-stat-card {
    padding: 1.75rem;
    text-align: center;
    border: 1px solid var(--color-border-glass);
    transition: var(--transition-smooth);
}

.cases-stat-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cases-stat-card .case-stat-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.cases-stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Controls Wrapper */
.cases-controls-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border-glass);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

@media (min-width: 1024px) {
    .cases-controls-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Search Box */
.cases-search-box {
    position: relative;
    flex-grow: 1;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .cases-search-box {
        max-width: 320px;
    }
}

.cases-search-box .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.cases-search-box input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    border-radius: 12px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.cases-search-box input:focus {
    border-color: rgba(168, 85, 247, 0.5);
    background: rgba(168, 85, 247, 0.02);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

/* Filters */
.cases-filters {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none; /* Firefox */
}

.cases-filters::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (min-width: 1024px) {
    .cases-filters {
        padding-bottom: 0;
    }
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    border-radius: 9999px;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

/* View Toggle */
.cases-view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    padding: 3px;
    border-radius: 10px;
    align-self: flex-start;
}

@media (min-width: 1024px) {
    .cases-view-toggle {
        align-self: auto;
    }
}

.btn-toggle {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 0.5rem;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-toggle:hover {
    color: var(--color-text-secondary);
}

.btn-toggle.active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-primary);
}

/* Grid layout rules */
.cases-grid.view-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cases-grid.view-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .cases-grid.view-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* List layout rules */
.cases-grid.view-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Case Card detailed */
.case-card {
    border: 1px solid var(--color-border-glass);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
    animation: fadeIn 0.4s ease forwards;
}

.case-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(168, 85, 247, 0.05);
}

.case-card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.case-badge-country {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.case-badge-duration {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
}

.case-card-industry {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.case-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1.4;
}

.case-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.case-card-section {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.case-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    font-weight: 700;
}

.case-section-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.case-card-footer {
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    background: rgba(16, 185, 129, 0.02);
    border-radius: 0 0 16px 16px;
}

.case-benefit-wrapper {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.case-benefit-icon {
    color: var(--color-success);
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 2px;
}

.case-benefit-text {
    font-size: 0.875rem;
    color: var(--color-success);
    font-weight: 600;
    line-height: 1.5;
}

/* Case List item */
.case-list-item {
    border: 1px solid var(--color-border-glass);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: var(--transition-smooth);
    animation: fadeIn 0.4s ease forwards;
    cursor: pointer;
}

.case-list-item:hover {
    border-color: rgba(168, 85, 247, 0.25);
    background: rgba(255, 255, 255, 0.01);
}

.case-list-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .case-list-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.case-list-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
}

.case-list-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-list-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.case-list-benefit-preview {
    font-size: 0.9rem;
    color: var(--color-success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-list-toggle-btn {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.case-list-item.expanded .case-list-toggle-btn {
    transform: rotate(45deg);
    color: var(--color-secondary);
}

.case-list-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    margin-top: 0;
    padding-top: 0;
}

.case-list-item.expanded .case-list-details {
    margin-top: 1rem;
    padding-top: 1rem;
    max-height: 500px;
}

@media (min-width: 768px) {
    .case-list-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ADICIONALES Y MEJORAS DE PLANES (4 COLUMNAS, SERVICIOS Y ASESORES)
   ========================================================================== */

/* Grid de 4 Columnas Responsivo */
.grid-4 {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Utilidad text-left */
.text-left {
    text-align: left;
}

/* Hooks H3 de Sección */
.subsection-hook {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin: 1rem auto 1.5rem;
    max-width: 750px;
    line-height: 1.4;
    text-shadow: 0 0 8px rgba(236, 72, 99, 0.15);
}

/* Estilos de la Sección de Servicios Adicionales */
.additional-services-card {
    padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
    .additional-services-card {
        padding: 4rem 3rem;
    }
}

.additional-services-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .additional-services-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.services-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-list-grid {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: 1fr;
    list-style: none;
    margin-top: 1.5rem;
}

@media (min-width: 576px) {
    .services-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-item {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    line-height: 1.4;
}

.service-item span {
    color: var(--color-success);
    font-weight: 700;
}

/* Tarjeta Red de Proveedores */
.provider-network-card {
    background: rgba(12, 8, 25, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.25);
    box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.05);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 16px;
}

.provider-network-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 12px 40px 0 rgba(168, 85, 247, 0.12);
}

.network-badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 9999px;
    letter-spacing: 0.05em;
    align-self: center;
}

.network-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
}

.network-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.network-stats {
    border-top: 1px solid var(--color-border-glass);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.network-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.network-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.border-purple {
    border-color: rgba(168, 85, 247, 0.35) !important;
}

/* Tarjeta de Asesores (Unete) */
.join-advisor-section {
    background: radial-gradient(circle at center, rgba(236, 72, 153, 0.03) 0%, transparent 60%);
}

.advisor-card {
    border: 1px solid rgba(168, 85, 247, 0.2);
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.08) 0%, rgba(15, 15, 25, 0.8) 70%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .advisor-card {
        padding: 4rem;
    }
}

.advisor-card:hover {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 15px 45px rgba(168, 85, 247, 0.1);
}

.section-title-h3 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text-primary);
}

@media (min-width: 768px) {
    .section-title-h3 {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   MODAL DE POLÍTICA DE PRIVACIDAD
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-glass-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.9);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.25rem;
}

.modal-close-btn:hover {
    color: var(--color-text-primary);
    transform: scale(1.1);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(5, 5, 8, 0.95);
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.3) transparent;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 3px;
}

.modal-intro {
    margin-bottom: 1.25rem;
    color: var(--color-text-primary);
}

.modal-section {
    margin-bottom: 1.5rem;
}

.modal-section h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.modal-section p {
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.modal-section ul {
    list-style: none;
    margin-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.modal-section li {
    position: relative;
    padding-left: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.4rem;
}

.modal-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--color-border-glass);
    display: flex;
    justify-content: flex-end;
    background: rgba(10, 10, 15, 0.9);
}

.modal-footer .btn {
    padding: 0.5rem 1.5rem;
    min-height: auto;
    font-size: 0.9rem;
}

