
/* Variables CSS para colores y estilos - Mejor organizadas */
:root {
            /* Colores principales */
            --color-primary: #dc2626; /* red-600 */
            --color-secondary: #8b5cf6; /* purple-700 */
            --color-tertiary: #ec4899; /* pink-600 */
            
            /* Colores de fondo */
            --color-dark-bg: #0a0a0a; /* black */
            --color-card-bg: #1f2937; /* gray-800 */
            --color-form-bg: #1a202c;
            
            /* Colores de texto */
            --color-text-light: #f3f4f6; /* gray-100 */
            --color-text-gray: #d1d5db; /* gray-300 */
            --color-text-muted: #9ca3af;
            
            /* Gradientes */
            --gradient-primary: linear-gradient(to right, #ef4444, #a200ff);
            --gradient-hero: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
            /* Bordes */
            --border-radius: 0.5rem;
            --border-radius-lg: 1.5rem;
            --border-radius-xl: 2rem;
            
            /* Sombras */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            
            /* Espaciado */
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 1.5rem;
            --spacing-lg: 2rem;
            --spacing-xl: 3rem;
            --spacing-xxl: 4rem;
            
            /* Fuentes */
            --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            --font-size-sm: 0.875rem;
            --font-size-base: 1rem;
            --font-size-lg: 1.125rem;
            --font-size-xl: 1.25rem;
            --font-size-2xl: 1.5rem;
            --font-size-3xl: 1.875rem;
            --font-size-4xl: 2.25rem;
            --font-size-5xl: 3rem;
            --font-size-6xl: 3.75rem;
        }

        /* Reset y estilos base mejorados */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-sans);
            margin: 0;
            background-color: var(--color-dark-bg);
            color: var(--color-text-light);
            overflow-x: hidden;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;

            
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--spacing-sm);
        }

        @media (min-width: 640px) {
            .container {
                padding: 0 var(--spacing-lg);
            }
        }

        /* ==================== Estilo del Hero Section ==================== */
        .hero {
            position: relative;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            
            text-align: center;
            padding: var(--spacing-lg) var(--spacing-sm);
           
        }

        .hero-bg-animate {
            position: absolute;
            border-radius: 50%;
            opacity: 0.2;
            will-change: transform; /* Mejora de rendimiento */
        }

        .circle-1 { 
            top: 10%; 
            left: 5%; 
            width: 128px; 
            height: 128px; 
            background-color: #c084fc; 
            animation: moveY 4s infinite ease-in-out; 
        }

        .circle-2 { 
            bottom: 10%; 
            right: 5%; 
            width: 96px; 
            height: 96px; 
            background-color: #f87171; 
            animation: moveYReverse 3s infinite ease-in-out; 
        }

        .circle-3 { 
            top: 50%; 
            left: 25%; 
            width: 64px; 
            height: 64px; 
            background-color: #60a5fa; 
            animation: rotate 8s infinite linear; 
        }

        @keyframes moveY { 
            0%, 100% { transform: translateY(0) scale(1); } 
            50% { transform: translateY(-40px) scale(1.1); } 
        }

        @keyframes moveYReverse { 
            0%, 100% { transform: translateY(0) scale(1); } 
            50% { transform: translateY(40px) scale(0.9); } 
        }

        @keyframes rotate { 
            from { transform: rotate(0deg); } 
            to { transform: rotate(360deg); } 
        }

/* Contenedor para el contenido de texto */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
}
.hero-content {
  position: relative;
  z-index: 20;
  max-width: 960px;
  
}
.hero-logo {
    width: 128px; 
    height: 128px;
    margin-bottom: auto;
    border-radius: auto;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2), 0 10px 10px -5px rgba(0,0,0,0.1); }

        .hero-title { 
            font-size: var(--font-size-5xl); 
            font-weight: 700; 
            color: white; 
            margin-bottom: var(--spacing-md); 
            line-height: 1.2; 
            
        }

        .text-gradient {
            background-image: linear-gradient(to right, #f87171, #c084fc);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: block;
        }

        .hero-subtitle { 
            font-size: var(--font-size-xl); 
            color: rgba(255,255,255,0.9); 
            margin-bottom: var(--spacing-xl); 
        }

        .hero-info-badges { 
            display: flex; 
            flex-wrap: wrap; 
            justify-content: center; 
            gap: var(--spacing-lg); 
            
        }

        .badge { 
            display: flex; 
            align-items: center; 
            gap: var(--spacing-xs); 
            background-color: rgba(255,255,255,0.2); 
            backdrop-filter: blur(8px); 
            border-radius: 9999px; 
            padding: var(--spacing-xs) var(--spacing-md); 
            color: white; 
            font-weight: 600; 
        }

        .badge svg { 
            width: 24px; 
            height: 24px; 
            color: #a200ff; 
            flex-shrink: 0;
        }

        /* Contenedor de los teléfonos - MODIFICADO */
        .phone-mockups-container {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: flex-end;
            z-index: 5;
        }

        .phone-mockup {
            position: relative;
            width: min(380px, 55vw);
            height: auto;
            border-radius: var(--border-radius-xl);
            box-shadow: var(--shadow-xl);
            overflow: hidden;
            transition: transform 0.5s ease;
            background: linear-gradient(45deg, #1f2937, #374151);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            text-align: center;
           
        }
        
        .phone-mockup-1 {
            transform: rotate(-5deg);
            margin-bottom: var(--spacing-xl);
        }

        .phone-mockup-2 {
            transform: rotate(5deg);
            margin-bottom: var(--spacing-md);
        }

        .float-tag { 
            position: absolute; 
            padding: var(--spacing-xs) var(--spacing-sm); 
            border-radius: 9999px; 
            font-weight: 700; 
            box-shadow: var(--shadow-lg); 
            font-size: var(--font-size-sm);
        }

        .tag-1 { 
            top: 0.5rem; 
            left: 0.5rem; 
            background-color: #ef4444; 
            color: white; 
        }

        .tag-2 { 
            bottom: 0.5rem; 
            right: 0.5rem; 
            background-color: #a200ff; 
            color: white; 
        }
/* 
         Media queries para mayor responsividad 
        @media (min-width: 768px) { 
            .hero-title { 
                font-size: var(--font-size-6xl); 
            }
        }

        @media (max-width: 767px) {
            .hero-title {
                font-size: var(--font-size-4xl);
            }
            
            .hero-info-badges {
                gap: var(--spacing-sm);
            }
            
            .badge {
                padding: var(--spacing-xs) var(--spacing-sm);
            }
            
            .phone-mockups-container {
                flex-direction: column;
                align-items: center;
            }
            
            .phone-mockup {
                width: 60vw;
            }
        }

        @media (max-width: 480px) {
            .hero-title {
                font-size: var(--font-size-3xl);
            }
            
            .hero-subtitle {
                font-size: var(--font-size-lg);
            }
            
            .badge {
                font-size: var(--font-size-sm);
            }
            
            .phone-mockup {
                width: 70vw;
            }
        } 
        */

/* ==================== Sección de Características ==================== */
.features-section {
  padding: 5rem 1rem;
  color: white;


}
.features-header { text-align: center; margin-bottom: 4rem; }
.features-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.features-title-gradient {
   background:var(--gradient-primary); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block; 
}
.features-subtitle { font-size: 1.125rem; color: var(--color-text-gray); max-width: 48rem; margin: auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.feature-card {
    position: relative;
    background-color: rgba(26, 32, 44, 0.6); /* Color de fondo con transparencia */
    backdrop-filter: blur(10px) saturate(1.8); /* Efecto de cristal esmerilado */
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(26, 32, 44, 0.6);
    transition: transform 0.3s,
    border-color 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: #4b5563; }
.feature-icon-wrapper { display: inline-flex; padding: 1rem; border-radius: 1rem; background: linear-gradient(135deg, #ef4444, #a200ff); margin-bottom: 1.5rem; }
.feature-icon-wrapper svg { width: 2rem; height: 2rem; color: white; }
.feature-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.feature-description { color: var(--color-text-gray); }
.stats-grid { margin-top: 5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { display: flex; flex-direction: column; justify-content: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; background-image: linear-gradient(to right, #ef4444, #a200ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--color-text-gray); }

/* ==================== Sección de Registro (CTA) ==================== */
.cta-section-form {
  padding: 5rem 1rem;

  text-align: center;
  /* Combina la imagen y el gradiente */
    background: url(./assets/img/deli.png), black;
    background-repeat: no-repeat;
    background-size:auto;
    background-position: center;
}
.cta-form-container {
  max-width: 650px;
  margin: auto;
  background-color: rgba(26, 32, 44, 0.6); /* Color de fondo con transparencia */
  backdrop-filter: blur(10px) saturate(1.8); /* Efecto de cristal esmerilado */

    padding: 3.5rem 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.cta-form-title { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.cta-form-title-gradient { background-image: linear-gradient(to right, #ef4444, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline; }
.cta-form-subtitle { color: #d1d5db; margin-bottom: 2rem; }

.cta-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.input-group {
    text-align: left;
}
.input-group label {
    display: block;
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.cta-form input { 
    width: 100%; 
    padding: 1rem 1.25rem;
    border-radius: 0.5rem; 
    border: 1px solid #4b5563; 
    background-color: #1f2937; 
    color: white; 
    font-size: 1rem; 
    transition: border-color 0.3s, box-shadow 0.3s;
}
.cta-form input:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5);
}
.cta-form button { 
    padding: 1.25rem; 
    font-size: 1.125rem; 
    font-weight: 700; 
    color: white; 
    border: none; 
    border-radius: 0.5rem; 
    background-image: linear-gradient(to right, #ef4444, #a855f7); 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.cta-form button:hover:not(:disabled) { 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4); 
}
.cta-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-benefits {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.form-benefits p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0;
}
.form-benefits ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.form-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f3f4f6;
    font-size: 0.875rem;
    margin-bottom: 0;
}
.form-benefits li svg {
    color: #34d399;
}
.form-disclaimer {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1.5rem;
}
.registered-count {
    margin-top: 2rem;
    font-size: 1rem;
    color: #9ca3af;
}
.registered-count strong {
    font-size: 1.125rem;
    color: white;
}
.registered-avatars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.registered-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1a202c;
    margin-right: -10px;
}
.registered-avatars img:first-child { transform: translateX(10px); }
.registered-avatars img:nth-child(2) { transform: translateX(5px); }
.registered-avatars img:nth-child(3) { z-index: 10; }
.registered-avatars img:nth-child(4) { transform: translateX(-5px); }
.registered-avatars img:nth-child(5) { transform: translateX(-10px); }
.message { margin-top: 1rem; font-weight: 600; display: none; }
.success-message { color: #34d399; }
.error-message { color: #ef4444; }
.spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: none;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
    }
    .input-group {
        flex: 1;
    }
    .cta-form-title {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ==================== Pie de Página ==================== */
.footer {
  background: linear-gradient(to top, #0a0a0a, #1f2937);
  padding: 4rem 1rem 2rem;
}
.footer-container { max-width: 960px; margin: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-logo-section { grid-column: span 2; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo img { width: 3rem; height: 3rem; border-radius: 0.75rem; }
.footer-logo span { font-size: 1.5rem; font-weight: 700; background-image: linear-gradient(to right, #ef4444, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-description { color: var(--color-text-gray); max-width: 24rem; }
.footer-heading { font-size: 1.125rem; font-weight: 600; color: white; margin-bottom: 1rem; }
.footer-link { color: var(--color-text-gray); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #ef4444; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--color-text-gray); margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 1rem; height: 1rem; }
.footer-divider { border-top: 1px solid #374151; padding-top: 2rem; text-align: center; }
.footer-copyright { font-size: 0.875rem; color: #9ca3af; }
/* ==================== Avatares de Usuarios ==================== */
.registered-avatars {
    display: flex;
    gap: -0.5rem; /* Este valor negativo hace que las imágenes se superpongan */
}
.registered-avatars img {
    width: 2.5rem; /* Tamaño del avatar */
    height: 2.5rem;
    border-radius: 50%; /* Esto los hace circulares */
    border: 2px solid var(--color-card-bg); /* Un borde sutil que los separa */
}
/* ==================== Estilo de la Página de Políticas ==================== */
.policy-page {
    padding: var(--spacing-xl) var(--spacing-sm);
    background: linear-gradient(to top, #0a0a0a, #1f2937);
    color: var(--color-text-light);
}

.policy-section {
    max-width: 960px;
    margin: auto;
    padding: var(--spacing-lg);
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.policy-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.policy-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.policy-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.policy-content {
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

.policy-content h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: white;
}

.policy-content p,
.policy-content ul {
    font-size: var(--font-size-base);
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.policy-content ul {
    list-style: disc;
    padding-left: var(--spacing-lg);
}

.policy-footer {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.policy-footer .button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
    background-image: linear-gradient(to right, #ef4444, #a855f7);
    border-radius: var(--border-radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

.policy-footer .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
}

/* ==================== Estilo de Sobre Nosotros ==================== */
.team-section {
    margin-top: var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    text-align: center;
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-md);
}

.team-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: white;
}

.team-role {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    font-size: var(--font-size-base);
    color: var(--color-text-gray);
}

/* ==================== Estilo de Soporte ==================== */
.faq-item {
    margin-bottom: var(--spacing-md);
}

.faq-item summary {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: white;
    cursor: pointer;
}

.faq-item p {
    font-size: var(--font-size-base);
    color: var(--color-text-gray);
    margin-top: var(--spacing-sm);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-gray);
}

/* Estilos para el badge de reCAPTCHA */
.recaptcha-badge {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex; /* Para asegurar que el contenido se centre si es necesario */
    justify-content: center;
    align-items: center;
}