/* Universal Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #333;
    overflow-x: hidden;
}

/* Header mejorado */
.header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 45px;
    transition: transform 0.3s ease;
}

.logo-section img:hover {
    transform: scale(1.1);
}

.brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #e50914, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-validar {
    padding: 12px 24px;
    background: linear-gradient(135deg, #e50914, #c00812);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(229, 9, 20, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-validar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-validar:hover::before {
    left: 100%;
}

.btn-validar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(229, 9, 20, 0.4);
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 8px 16px;
    border-radius: 25px;
    /* Eliminado: color: #22c55e; para que el enlace interno pueda ser blanco */
    font-size: 0.85rem;
    font-weight: 500;
}

/* Regla específica para el enlace dentro del .status-indicator (texto "Validado de codigos") */
.status-indicator a {
    color: #FFFFFF; /* Texto blanco puro */
    text-decoration: none; /* Sin subrayado */
    font-family: 'Arial', sans-serif; /* Fuente deseada */
    /* font-weight: 500; (Opcional, ya se hereda del padre) */
}

/* Asegurarse de que el punto sigue siendo verde */
.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e; /* Verde del punto */
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Hero Section mejorado */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(229, 9, 20, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.1), rgba(229, 9, 20, 0.2));
    border: 1px solid rgba(229, 9, 20, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    color: #e50914;
    font-weight: 600;
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contenedor de íconos para disposición horizontal */
.hero-icons {
    display: flex; /* Activa Flexbox */
    flex-direction: row; /* Coloca los elementos en fila */
    justify-content: center; /* Centra los íconos horizontalmente */
    align-items: center; /* Centra los íconos verticalmente (si es necesario) */
    gap: 20px; /* Espacio entre los íconos */
    margin-top: 50px; /* Asegura un margen superior si es necesario */
}

/* Estilos para el contenedor de los íconos (los cuadrados redondeados) */
.hero-icons .icon {
    background-color: #3b3c4a; /* Fondo gris oscuro */
    border-radius: 15px; /* Bordes redondeados */
    width: 90px; /* Ancho de la caja */
    height: 90px; /* Alto de la caja */
    display: flex; /* Para centrar el ícono dentro de su caja */
    justify-content: center; /* Centrado horizontal del ícono */
    align-items: center; /* Centrado vertical del ícono */
    font-size: 3rem; /* Tamaño del emoji/ícono */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra sutil */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición para hover */
    cursor: pointer; /* Indica que es clicable */
    /* Las propiedades de animación y color específicas para cada icono se mantienen en .icon:nth-child() */
}

/* Estilos para el enlace que contiene el ícono, para quitar el subrayado */
.hero-icons a {
    text-decoration: none; /* Quita la línea azul de subrayado */
    color: inherit; /* Asegura que el color del emoji/ícono no cambie por ser un enlace */
    display: flex; /* Hace que el enlace se comporte como flex para controlar su tamaño y alineación */
    justify-content: center;
    align-items: center;
    /* Importante: si el .icon tiene padding y el <a> no lo respeta, puedes añadir aquí width/height del <a> */
}


/* Efecto al pasar el ratón (hover) */
.hero-icons a:hover .icon {
    transform: translateY(-5px); /* Pequeño levantamiento */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* ESTA REGLA .icon PARECE SER DUPLICADA O MENOS ESPECÍFICA.
   Los estilos de la caja (background, border-radius, width, etc.) para los íconos de la sección hero
   DEBEN estar en .hero-icons .icon como se define arriba.
   Si estos .icon son para otra parte, asegúrate de que no haya conflicto.
   He ajustado los estilos de .hero-icons .icon para que tengan prioridad.
*/
.icon {
    /* Estas propiedades son más generales. Las de .hero-icons .icon son más específicas. */
    /* Si esta regla es para otros iconos en el sitio, podría necesitar un nombre de clase diferente */
    /* o ser más específica para evitar conflictos. */
    font-size: 3.5rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}

.icon:nth-child(1) { animation-delay: 0s; color: #e50914; }
.icon:nth-child(2) { animation-delay: 0.5s; color: #3b82f6; }
.icon:nth-child(3) { animation-delay: 1s; color: #22c55e; }

/* Problem Section */
.problem-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    background-image: url('puntos.png'); /* Agrega tu imagen aquí */
    background-repeat: repeat; /* Para que la imagen se repita */
    background-size: auto; /* O ajusta si lo necesitas */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23fbbf24" fill-opacity="0.1"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #92400e;
}

.section-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #a16207;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.problem-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.problem-image {
    text-align: center;
    position: relative;
}

.problem-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.problem-image img:hover {
    transform: scale(1.05);
}

/* Steps Section */
.steps-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);

    background-repeat: repeat; /* Para que la imagen se repita */
    background-size: auto; /* O ajusta si lo necesitas */
    padding: 100px 0;
    position: relative;
}

.steps-section .section-title {
    color: #FFFFFF; /* Cambiado a blanco */
    margin-bottom: 30px;
}

.steps-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    gap: 20px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #64748b;
    position: relative;
}

.progress-step.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.progress-line {
    height: 2px;
    width: 60px;
    background: #cbd5e1;
}

.progress-line.active {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 60px auto 0;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.feature-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
}

.feature-description {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-image-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex; /* Added for centering image */
    align-items: center; /* Added for centering image */
    justify-content: center; /* Added for centering image */
    min-height: 150px; /* Ensure a minimum height for the wrapper */
}

.feature-image-wrapper:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 30px #3b82f633;
}

.feature-image-content {
    max-width: 100%; /* Make image responsive */
    height: auto; /* Maintain aspect ratio */
    max-height: 220px; /* Control max height */
    object-fit: cover; /* Crop if necessary to fill space */
}

/* Trust Section */
.trust-section {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    background-image: url('puntos.png'); /* Agrega tu imagen aquí */
    background-repeat: repeat; /* Para que la imagen se repita */
    background-size: auto; /* O ajusta si lo necesitas */
    padding: 80px 0;
    text-align: center;
    color: rgb(255, 255, 255); /* Cambiado a blanco para que el texto sea visible con el fondo de puntos */
    position: relative; /* Asegura que cualquier contenido superpuesto se muestre correctamente */
    overflow: hidden; /* Si la imagen es más grande, evita barras de desplazamiento */
}

.trust-content {
    max-width: 800px;
    margin: 0 auto;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
    backdrop-filter: blur(10px);
     color: #000000;
}

.trust-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
        color: #000000;
}

.trust-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #000000;
}

}

/* El .trust-badge tiene un fondo blanco semitransparente, su texto ya será legible en negro. */
.trust-badge {
    /* ... tus estilos existentes ... */
    color: #000000; /* Si quieres que el texto del badge también sea negro */
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 100px 0;
    color: white;
}

.faq-section .section-title {
    color: white;
    margin-bottom: 60px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.faq-item h4 {
    color: #60a5fa;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h4::before {
    content: '❓';
    font-size: 1.5rem;
    opacity: 0.8;
}

.faq-item p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 60px 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin-bottom: 15px;
}

.footer strong {
    color: #e50914;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(229, 9, 20, 0.2); }
    100% { box-shadow: 0 0 30px rgba(229, 9, 20, 0.4); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .header-actions {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-icons {
        flex-wrap: wrap; /* Permite que los íconos se envuelvan a la siguiente línea en pantallas pequeñas */
        gap: 20px;
    }

    .icon {
        font-size: 2.5rem;
        padding: 15px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 25px;
    }

    .steps-progress {
        flex-wrap: wrap;
        gap: 10px;
    }

    .progress-line {
        width: 30px;
    }

    .faq-item {
        padding: 25px 20px;
    }

    .trust-section h2 {
        font-size: 2rem;
    }

    .trust-section p {
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #e50914, #c00812);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c00812, #a00710);
}


/* Colores y estilos adicionales */
.netflix-resaltado {
    color: #e50914; /* Rojo vibrante, similar al de Netflix */
    font-weight: 700; /* Negrita */
}

/* Otros estilos que pudieras tener para el color negro fuerte si lo llegas a necesitar de nuevo */
.texto-negro-fuerte {
    color: #000000; /* Negro puro */
    font-weight: 700; /* Hace la letra más gruesa (negrita) */
}