:root {
    --primary: rgb(6,70,130);
    --secondary: rgb(210,176,112);
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}
/* Header */
header {
    background: linear-gradient(135deg, var(--primary), #0a4b8a);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}



.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--secondary);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--secondary);
    transform: scale(1.05);
}

/* Features */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}



.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

/* Pricing */
.pricing {
    padding: 4rem 2rem;
    background-color: #f1f5f9;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.card-body {
    flex: 1;
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 0.3rem 1rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.pricing-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-period {
    opacity: 0.8;
}

.pricing-features {
    padding: 1.5rem;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

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

.pricing-features i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.pricing-button:hover {
    background-color: #0a4b8a;
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 4rem 2rem;
    background-color: #f1f5f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--primary);
    color: white;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}





/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    
}

/* Estilos para formularios de autenticación */
.auth-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.1rem;
    font-weight: 600;
}

.auth-form input {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.auth-form input:focus {
    outline: none;
    border: 1px solid #91b5f8;
    box-shadow: 0 0 5px rgba(145, 181, 248, 0.7);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.auth-form textarea {
    width: 100%;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}
.auth-form textarea:focus {
    outline: none;
    border: 1px solid #91b5f8;
    box-shadow: 0 0 5px rgba(145, 181, 248, 0.7);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.auth-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-form button[type="submit"]:hover {
    background-color: #e0c16b; /* Dorado más vibrante */
    box-shadow: 0 0 10px rgba(247, 200, 67, 0.9), 0 0 20px rgba(247, 200, 67, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.auth-form button[type="submit"]:focus {
    outline: none;
    background-color: #e0c16b; /* Dorado más vibrante */
    box-shadow: 0 0 10px rgba(247, 200, 67, 0.9), 0 0 20px rgba(247, 200, 67, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@keyframes slideFadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    overflow: auto;
    opacity: 0;
  transition: opacity 0.3s ease;
  animation: slideFadeIn 0.5s ease forwards;
}

.modal-content {
    background-color: #fefefe;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    position: relative;
}

.titulo-modal {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contenedor-planes {
    max-height: 70vh;
    overflow-y: auto;
    padding: 1rem;
}

.cuadricula-planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tarjeta-plan {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.etiqueta-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: var(--primary);
    padding: 0.3rem 1rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

.encabezado-plan {
    text-align: center;
    margin-bottom: 1rem;
    
    
}

.nombre-plan {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.precio-plan {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.periodo-plan {
    font-size: 1rem;
    color: var(--gray);
}

.caracteristicas-plan ul {
    list-style: none;
    margin: 1.5rem 0;
}

.caracteristicas-plan li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.caracteristicas-plan i {
    color: var(--secondary);
    margin-right: 0.5rem;
}

.boton-plan {
    display: block;
    text-align: center;
    background: var(--primary);
    color: white;
    padding: 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.boton-plan:hover {
    background: #0a4b8a;
}

.boton-cerrar, .boton-cerrar_contacto {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s;
}

.boton-cerrar:hover, .boton-cerrar_contacto:hover{
    color: var(--secondary);
    transform: rotate(90deg);
}

/* Estilos para la pasarela de pagos  */
.checkout-container {
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-summary {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.formulario-pago {
    margin-bottom: 1.5rem;
}

.formulario-pago label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

.formulario-pago input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}



.payment-method {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method input {
    margin-right: 1rem;
}

.payment-method-icon {
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.btn-pagar {
    background: var(--secondary);
    color: var(--primary);
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-pagar:hover {
    background: #e0c48c;
}

.plan-selected {
    background: rgba(6,70,130,0.05);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--secondary);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #eee;
}

.summary-total {
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.card-icons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card-icon {
    width: 40px;
    height: 25px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 3px;
}

.card-icons i {
    font-size: 2rem;
    color: #ccc;
    transition: 0.3s ease;
}

.card-icons i.active {
    color: var(--primary); /* o el color que quieras resaltar */
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

/* Estilo para el modal de exito */
.modal-exito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
}

.modal-exito-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 4px solid var(--secondary);
}

.modal-exito strong {
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-exito hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    margin: 1rem 0;
}

.modal-exito label {
    font-size: 1.1rem;
    color: #333;
    margin: 1.5rem 0;
    display: block;
}

.modal-exito .btn-modal {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: 1rem;
}

.modal-exito .btn-modal:hover {
    background-color: #0a4b8a;
}

/* Estilo para el modal de Error */
.modal-error {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s ease;
}

.modal-error-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 4px solid #dc3545;
}

.modal-error strong {
    color: #dc3545;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-error hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #dc3545, transparent);
    margin: 1rem 0;
}

.modal-error label {
    font-size: 1.1rem;
    color: #333;
    margin: 1.5rem 0;
    display: block;
}

.modal-error .btn-modal-error {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: 1rem;
}

.modal-error .btn-modal-error:hover {
    background-color: #c82333;
}

/* Estilo para fecha */

.expiry-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.expiry-fields input[list],
.expiry-fields input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}

/* Input para mes más ancho */
#card-expiry-month {
    min-width: 180px;
}

/* Input para año más pequeño */
#card-expiry-year {
    width: 80px;
    text-align: center;
}
 

/* Estilos para la sección de pagos -------------------------------*/
  
  /* Payment Methods */
.payment-methods {
    padding: 2rem 2rem;
    background: #f1f9ff;
}
  
  
  .payment-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .payment-title {
    text-align: center;
    font-size: 2.5em;
    color: #1e3a8a;
    margin-bottom: 15px;
    position: relative;
  }
  
  
  
  .payment-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
  }
  
  .payment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .payment-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 5px solid #1e3a8a;
  }
  
  .payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
  
  .payment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(0, 204, 153, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .payment-icon svg {
    width: 30px;
    height: 30px;
  }
  
  .payment-card h3 {
    color: #1e3a8a;
    font-size: 1.4em;
    margin-bottom: 15px;
  }
  
  .payment-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .payment-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
    
  }
  
  .badge.visa {
    background: #1a1f71;
  }
  
  .badge.mastercard {
    background: #eb001b;
  }
  
  .badge.paypal {
    background: #003087;
  }
  
  .bank-info, .office-hours {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: left;
  }
  
  .bank-info p, .office-hours p {
    margin: 5px 0;
    color: #444;
    font-size: 0.9em;
  }
  
  .payment-cta {
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    background: #f5f5f5;
  }
  
  .payment-cta p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 10px;
  }
  
  
  
  @media (max-width: 768px) {
    .payment-cards {
      grid-template-columns: 1fr;
    }
    
    .payment-title {
      font-size: 2em;
    }
  }

  /* Estilos para la sección de planes --------------------------------------------------------------*/
.pricing-section {
    background: #fafafa;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}


.section-title {
    font-size: 2.1rem;
    color: #0a4b8a;
    font-weight: 700;
    margin-top: 50px;
}

.section-title span {
    color: #0a4b8a;
}



.section-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 25px;
}

.highlight {
    color: #064682;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00cc99, #d2b070);
    opacity: 0.5;
}



.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    border-top: 5px solid #1e3a8a;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2.5rem;
    background: #ff4757;
    color: white;
    padding: 0.25rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background-color: #0a4b8a;
}

.pricing-section .plan-name {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;

    line-height: 1;
}



.card-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.card-features li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: #334155;
}

.feature-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #0a4b8a;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.plan-button {
    display: block;
    width: 100%;
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.plan-button:hover {
    background: #00cc99;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
}



/* Estilos para la sección de beneficios ---------------------------*/
.benefits-section {
    background: #f1f5f9;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
}


.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 204, 153, 0.15);
}

.card-illustration {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
    padding: 2rem;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefit-title {
    font-size: 1.5rem;
    color: #0a4b8a;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.benefit-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tech-tags span {
    background: #e2e8f0;
    color: #0a4b8a;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* SVG Illustrations */
.innovation-orb, .shield-badge, .globe-network {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Responsive */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    
    
    .card-illustration {
        height: 180px;
    }
}


/* Estilos para la sección "¿Qué es Lexibot?" --------------------------------------------*/
.about-lexibot {
    background: white;
    padding: 2rem 1rem;
    position: relative;
}

.about-content {
    display: flex;
    justify-content: center;
}

.about-card {
    background: #f0f8ff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;

}

.card-main {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon_info {
    background: rgba(0, 204, 153, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon_info svg {
    width: 20px;
    height: 20px;
}

.feature-text h3 {
    font-size: 1.2rem;
    color: #0a4b8a;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.description-box {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.description-box p {
    color: #0a4b8a;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.description-box strong {
    color: #0a4b8a;
}

.user-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.user-item svg {
    flex-shrink: 0;
}

.user-item span {
    color: #334155;
    font-size: 0.95rem;
}

.coming-soon {
    background: #0a4b8a;
    padding: 1.5rem;
    text-align: center;
}

.coming-soon h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.badge_lexi {
    display: inline-block;
    background: #3f91e2;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .card-main {
        grid-template-columns: 1fr;
    }
    
    .user-types {
        grid-template-columns: 1fr;
    }
}

/* Estilos base del hero ---------------------------------------------------------------------------------------------*/
/* Estilos base del hero - Fondo estático */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('background.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.title-container {
    margin-bottom: 2rem;
}

/* Animación para el título - Efecto zoom con fade */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    transform: scale(0.9);
    animation: titleReveal 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animación para el subtítulo - Deslizamiento desde abajo */
.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: subtitleReveal 0.8s ease-out 0.6s forwards;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animación para el botón - Efecto de rebote suave */
.hero .cta-button {
    display: inline-block;
    
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: buttonReveal 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.9s forwards;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

@keyframes buttonReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    80% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



.cta-button:active {
    transform: scale(0.98);
}

/* Efecto de partículas */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="10" cy="10" r="1" fill="white" opacity="0.5"/><circle cx="50" cy="80" r="1.5" fill="white" opacity="0.3"/><circle cx="150" cy="30" r="1" fill="white" opacity="0.7"/><circle cx="30" cy="150" r="2" fill="white" opacity="0.4"/><circle cx="180" cy="180" r="1" fill="white" opacity="0.6"/></svg>');
    animation: particles 20s linear infinite;
    opacity: 0.3;
}

@keyframes particles {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-100px) translateX(50px);
    }
}

/* Responsive */
@media (max-width: 768px) {
   .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}


/* Estilos para el footer -------------------------------------------------------------------------------------------------------------------*/
.site-footer {
    background-color: #0a4b8a;
    color: white;
    position: relative;
    padding-top: 80px;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    letter-spacing: 1px;
}

.footer-logo span {
    color: #0a4b8a;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: -5px;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #0a4b8a;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #0a4b8a;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0a4b8a;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    width: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background: #0a4b8a;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #0a4b8a;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #0a4b8a;
}

.legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        margin-bottom: 15px;
    }
    .social-links {
    gap: 12px;
}
}

/* Estilos para la sección de estadísticas ------------------------------------------------------------------------------*/
.analytics-section {
    background: #ffffff;
    padding: 2rem 1rem;
    position: relative;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #0a4b8a;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: #0a4b8a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0a4b8a;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.metric-label {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.compact-chart-container {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 1.5rem;
    height: 250px; /* Altura total del contenedor */
}

/* Ajustes específicos para el canvas */
#visitsChart {
    width: 100% !important;
    height: 200px !important;
}

@media (max-width: 768px) {
    .analytics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* Estilos modernizados para el modal */
.modal-noticias {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

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

.modal-contenido-noticias {
  background-color: #fff;
  margin: 5% auto;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: slideUp 0.4s ease-out;
}

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



.cerrar-noticias {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: rgba(143, 143, 143, 0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cerrar-noticias svg {
  stroke: rgb(210,176,112);
  width: 20px;
  height: 20px;
}

.cerrar-noticias:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
  transform: rotate(90deg);
}

.modal-hero {
  position: relative;
}


.hero-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px 0px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 50%, transparent 100%);
  color: white;
}


.modal-body {
  padding: 20px;
}

.noticia-destacada {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.titulo-destacado {
  color: #0d2c54;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.subtitulo-destacado {
  color: #4a6fa5;
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
}

.lista-noticias {
  margin-top: 15px;
  max-height: 50vh;
    overflow-y: auto;
}

.noticia-item {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color 0.2s;
}

.noticia-item:last-child {
  border-bottom: none;
}

.noticia-item:hover {
  background-color: #f9f9f9;
}

.noticia-icono {
  flex-shrink: 0;
  margin-right: 15px;
  color: #4a6fa5;
  background: #f0f4fa;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.noticia-contenido h4 {
  margin: 0 0 5px 0;
  color: #0d2c54;
  font-size: 1rem;
  font-weight: 600;
}

.noticia-contenido p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.modal-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  text-align: right;
  border-top: 1px solid #eee;
}
.fecha {
  margin-top: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-contenido-noticias {
    width: 95%;
    margin: 10% auto;
  }
  
  .titulo-modal {
    font-size: 1.3rem;
  }
  
  .hero-image {
    height: 100px;
  }
}