/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0a192f; /* Dark background */
    color: #ccd6f6; /* Light text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

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

.section {
    padding: 80px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #f9f9f9;
    position: relative;
    display: inline-block;
}

.section h2::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #64ffda; /* Accent color */
}

.bg-light {
    background-color: #112240; /* Slightly lighter background */
}

/* Accesibilidad: enlace para saltar la navegación (visible solo al recibir el foco) */
.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 5px;
    background-color: #64ffda;
    color: #0a192f;
    font-weight: bold;
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 8px;
}

main:focus {
    outline: none;
}

/* Foco visible con teclado en enlaces, botones y campos */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #ffd166;
    outline-offset: 3px;
}

/* Xyrelis en cifras */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    flex: 1 1 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column-reverse;   /* la cifra arriba y su etiqueta debajo, con dt/dd en orden correcto */
    padding: 24px 16px;
    border: 1px solid rgba(100, 255, 218, 0.25);
    border-radius: 8px;
    background-color: #112240;
}

.stat-item dd {
    margin: 0 0 6px;
    font-family: 'Space Mono', monospace;
    font-size: 2em;
    font-weight: bold;
    color: #64ffda;
    line-height: 1.1;
}

.stat-item dt {
    color: #ccd6f6;
}

.stats-note {
    margin: 24px 0 0;
    font-size: 0.9em;
    color: #a8b2d1;
}

/* Ejemplos de análisis satelital */
.examples-intro {
    max-width: 760px;
    margin: 0 auto 30px;
}

.examples-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.example-item {
    flex: 1 1 300px;
    max-width: 380px;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #112240;
    text-align: left;
}

.example-item img {
    display: block;
    width: 100%;
    height: auto;
}

.example-item figcaption {
    padding: 16px 18px 20px;
}

.example-item h3 {
    margin: 0 0 8px;
    font-size: 1.15em;
    color: #f9f9f9;
}

.example-item p {
    margin: 0;
    font-size: 0.95em;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.primary-button {
    background-color: #64ffda;
    color: #0a192f;
}

.primary-button:hover {
    background-color: #49ccb7;
}

.secondary-button {
    background-color: transparent;
    color: #64ffda;
    box-shadow: inset 0 0 0 2px #64ffda;
}

.secondary-button:hover {
    background-color: rgba(100, 255, 218, 0.12);
}

/* Llamadas a la acción (demo, registro) */
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-actions-center,
.cta-band .cta-actions {
    justify-content: center;
}

.cta-actions-center {
    margin-top: 30px;
}

.cta-band {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #0f3d3e, #112240);
}

.cta-band h2 {
    font-size: 2em;
    margin: 0 0 10px;
    color: #f9f9f9;
}

.cta-band p {
    margin: 0 0 25px;
    font-size: 1.1em;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

nav {
    padding: 20px;
    display: flex;
    align-items: center;
    margin: 0;
    transition: background-color 0.5s ease-in-out;
}

.menu {
    width: 93%;
}

nav ul {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea */
    list-style: none;
    padding: 0;
    margin: 0 3%;
    justify-content: flex-end;
  }

nav ul li {
margin-right: 10px; /* Espacio entre los elementos */
text-align: right;
}

.logo {
    display: flex;
    align-items: center;
    width: 17%;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    margin: 0;
    font-size: 1.8em;
    font-weight: bold;
    color: white;
}

nav ul li a {
    text-decoration: none;
    color: #ccd6f6;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Acceso a la tienda: botón destacado en el nav.
   '.active' incluido para que el resaltado por scroll no lo pinte de amarillo. */
nav ul li a.nav-tienda,
nav ul li a.nav-tienda.active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 12px;
    border: 1px solid #64ffda;
    border-radius: 999px;
    color: #64ffda;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a.nav-tienda:hover,
nav ul li a.nav-tienda.active:hover,
nav ul li a.nav-tienda:focus-visible {
    background-color: #64ffda;
    color: #0a192f;
}

/* "Solicitar demo": botón relleno, el más visible del menú */
nav ul li a.nav-demo,
nav ul li a.nav-demo.active {
    display: inline-block;
    padding: 2px 14px;
    border: 1px solid #64ffda;
    border-radius: 999px;
    background-color: #64ffda;
    color: #0a192f;
    line-height: 1.6;
    transition: background-color 0.3s ease;
}

nav ul li a.nav-demo:hover,
nav ul li a.nav-demo.active:hover,
nav ul li a.nav-demo:focus-visible {
    background-color: #49ccb7;
    border-color: #49ccb7;
    color: #0a192f;
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffd166; /* Ajustado desde #ffb516 para mejorar el contraste sobre fondo oscuro */
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 150px 20px 100px;
    text-align: left;
    background-image: linear-gradient(rgba(10, 25, 47, 0.55), rgba(10, 25, 47, 0.55)), url('/static/media/img/index_back.webp');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 600px;
    margin-right: 40px;
}

.hero h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #f9f9f9;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    color: white;
    margin-bottom: 30px;
}

.hero-image {
    max-width: 400px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Contenedor flexible para los divs */
.about-container {
    display: flex;
    flex-wrap: wrap; /* Esto permite que los elementos se ajusten a la siguiente línea cuando sea necesario */
    justify-content: space-between;
}

/* Estilos para los divs dentro del contenedor */
.about-content {
    width: 48%; /* Ajustamos el ancho para dar espacio */
    margin: 1%; /* Añadimos un pequeño margen entre los elementos */
    text-align: left; /* Alineamos el texto a la izquierda por defecto */
}

/* Estilo de la imagen dentro del div */
.about-content img {
    width: 100%; /* Aseguramos que la imagen ocupe el 100% de su contenedor */
    max-width: 100%;
    height: auto;
}

/* ==========================================
   CARRUSEL FUNCIONES PRINCIPALES
   El ancho de cada tarjeta se calcula restando los huecos, así N tarjetas
   + (N-1) huecos suman exactamente el 100% del viewport.
   ========================================== */
#features {
    --carousel-gap: 24px;
    --carousel-visible: 4;
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 12px 0 24px; /* margen para la sombra y el "lift" al hover */
}

.features-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--carousel-gap);
    transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.card-item {
    flex: 0 0 calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible));
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1e2d4a 0%, #172a46 100%);
    border: 1px solid #233554;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(100, 255, 218, 0.6);
    box-shadow: 0 20px 40px -18px rgba(100, 255, 218, 0.35);
}

.card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0) 55%, rgba(23, 42, 70, 0.95) 100%);
    pointer-events: none;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card-item:hover .card-img img {
    transform: scale(1.06);
}

.card-section {
    flex: 1;
    text-align: left;
    padding: 6px 22px 24px;
    color: #ccd6f6;
}

.card-section h3 {
    margin: 0 0 10px;
    font-size: 1.1em;
    color: #f9f9f9;
}

.card-section h3::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    margin-top: 10px;
    border-radius: 3px;
    background-color: #64ffda;
    transition: width 0.35s ease;
}

.card-item:hover .card-section h3::after {
    width: 56px;
}

.card-section p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #a8b2d1;
}

/* Controles: flecha · "Entérate de más" + puntos · flecha */
.nav-arrows {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 8px;
}

.carousel-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 160px;
}

.nav-arrows .text {
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64ffda;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background-color: #233554;
    cursor: pointer;
    transition: width 0.35s ease, background-color 0.35s ease;
}

.carousel-dot:hover {
    background-color: #3b5278;
}

.carousel-dot.active {
    width: 28px;
    background-color: #64ffda;
}

.nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #64ffda;
    border-radius: 50%;
    background-color: transparent;
    color: #64ffda;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.nav-arrow:hover {
    background-color: #64ffda;
    color: #0a192f;
    transform: scale(1.06);
}

.carousel-dot:focus-visible,
.nav-arrow:focus-visible {
    outline: 2px solid #ffd166;
    outline-offset: 3px;
}

.nav-arrow.disabled,
.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .features-cards,
    .card-item,
    .card-img img,
    .carousel-dot {
        transition: none;
    }
}


/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Novedades: como mucho tres tarjetas con el mismo diseño que las de «Funciones principales»
   (card-item), cada una con la lista de novedades de su grupo. Sin desbordar en móviles de 320 px. */
.novedades-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
    margin-top: 40px;
    text-align: left;
}

.novedades-cards .card-item {
    flex: none;            /* fuera del carrusel: el ancho lo da la rejilla */
}

/* Las capturas son de la aplicación (fondo claro): se ven enteras por arriba a la izquierda. */
.novedad-card .card-img {
    background: #fff;
}

.novedad-card .card-img img {
    object-position: left top;
}

.novedad-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.novedad-lista li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #a8b2d1;
}

.novedad-lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #64ffda;
}

.novedad-lista strong {
    color: #e6f1ff;
    font-weight: 600;
}

.feature-item {
    background-color: #1e2d4a;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

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

.feature-item i,
.feature-item .feature-icon {
    font-size: 2em;
    color: #64ffda;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #f9f9f9;
    margin-bottom: 10px;
}

.feature-item p {
    color: #c3cbe6; /* Ajustado desde #a8b2d1 para mejorar el contraste sobre #1e2d4a */
}

/* Technology Section */
.technology-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.technology-list li {
    background-color: #1e2d4a;
    color: #ccd6f6;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    font-size: 1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.check-icon {
    color: #4ade80; /* Verde con mejor contraste sobre fondo oscuro que el verde estándar */
    font-weight: bold;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #1e2d4a;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-member h3 {
    color: #f9f9f9;
    margin-bottom: 5px;
}

.team-member p {
    color: #c3cbe6;
    font-size: 0.9em;
}

/* Contact Section */
.contact-form {
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ccd6f6;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #a8b2d1;
    border-radius: 5px;
    background-color: #112240;
    color: #ccd6f6;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    background-color: #0a192f;
    color: #c3cbe6;
    font-size: 0.9em;
}

.bg-green {
    background-color: green;
}
.bg-blue {
    background-color: blue;
}
.bg-grey {
    background-color: grey;
}

/* Estilos CSS para los divs de ofertas */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 5px;
    width: 270px;
    text-align: center;
    transition: transform 0.2s ease;
}

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

.card .bg-card{
    background-color: #0a192f;
    padding: 1rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card .price {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.card ul li {
    margin-bottom: 0.5rem;
}

.card .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #64ffda;
    color: #0a192f;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.card .btn:hover {
    background-color: #49ccb7;
}

.technology-list li a {
    color: #64ffda;
}

.main-footer a {
    color: #64ffda;
}

/* Sección Tienda */
.tienda-section {
    background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
    border-top: 1px solid #233554;
    border-bottom: 1px solid #233554;
}

.tienda-box {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 20px auto 0;
    padding: 40px;
    background-color: #1e2d4a;
    border: 1px solid #64ffda;
    border-radius: 12px;
    text-align: left;
}

.tienda-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: rgba(100, 255, 218, 0.1);
    color: #64ffda;
}

.tienda-text h3 {
    margin-top: 0;
    color: #f9f9f9;
}

.tienda-cta {
    margin-top: 10px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#benefits{
    background-image: linear-gradient(rgba(10, 25, 47, 0.55), rgba(10, 25, 47, 0.55)), url('/static/media/img/login_background.webp');
    background-size: cover;
}

.d_lg_block{
    display: block;
}
.d_lg_none{
    display: none;
}
.d_md_block{
    display: none;
}
.d_md_none{
    display: block;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0a192f;
    color: #ccd6f6;
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: none; /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}
#cookie-banner p {
    margin: 0;
    flex-basis: 100%;
    text-align: center;
}
#cookie-banner a {
    color: #64ffda;
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    gap: 15px;
}
.main-footer {
    background-color: #0a192f;
    color: #ccd6f6;
    padding: 40px 20px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}
.footer-column {
    flex: 1;
    min-width: 280px;
    padding: 0 15px;
}
.footer-column h4 {
    color: #64ffda;
    margin-bottom: 15px;
}
.footer-column p {
    margin-bottom: 8px;
    color: #a8b2d1; /* Ajustado desde #8892b0 para cumplir contraste 4.5:1 sobre #0a192f */
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #233554;
}



/* Media query para 3 tarjetas en pantallas grandes */
/* Responsive Design */
@media (max-width: 768px) {

    nav {
        padding: 15px;
    }

    /* El logo ocupa lo que necesita y el menú el resto */
    nav .logo {
        width: auto;
        flex: 0 0 auto;
    }

    nav .menu {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }
    /* En móvil solo quedan visibles Tienda y Mi Panel/Iniciar Sesión:
       se muestran en una fila alineada con el logo en vez de apilados. */
    nav ul {
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    nav ul li {
        margin: 0;
        white-space: nowrap;
    }

    nav ul li a.nav-tienda {
        padding: 6px 10px;
    }

    nav ul li a.nav-demo {
        padding: 6px 12px;
    }

    .hero .cta-actions {
        justify-content: center;
    }

    .tienda-box {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
        text-align: center;
    }

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

    .hero-content {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .hero-image {
        max-width: 80%;
    }

    .section{
        display: block !important;
    }

    .about-content {
        width: 100%; /* Hacemos que los divs ocupen el 100% en pantallas pequeñas */
        margin: 0;
        text-align: center; /* Centrado de texto en pantallas pequeñas */
    }

    .d_md_block{
        display: block;
    }
    .d_md_none{
        display: none;
    }

    .d_lg_block{
        display: none;
    }
    .d_lg_none{
        display: block;
    }
}

@media (max-width: 480px) {
    /* Pantallas muy estrechas: la tienda queda como icono y el logo encoge */
    .logo-text {
        font-size: 1.4em;
    }

    .logo img {
        margin-right: 6px;
    }

    .nav-tienda-text {
        display: none;
    }

    /* Sin sitio en el menú: la demo se pide desde el botón de la portada */
    nav ul li.demo {
        display: none;
    }
}

/* 3 tarjetas */
@media (max-width: 991px) {
    #features {
        --carousel-visible: 3;
    }
}


/* 2 tarjetas */
@media (max-width: 767px) {
    #features {
        --carousel-visible: 2;
        --carousel-gap: 16px;
    }
}


/* 1 tarjeta */
@media (max-width: 479px) {
    #features {
        --carousel-visible: 1;
    }

    .nav-arrows {
        gap: 14px;
    }

    .carousel-status {
        min-width: 0;
    }

    .features-cards {
        margin: 0;
    }
}

/* Mensajes flash como etiqueta fija arriba de todo */
.flashes {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: auto;
    max-width: 90%;
}

.flashes li {
    padding: 8px 20px;
    margin-top: 8px;
    border-radius: 0 0 8px 8px;
    font-size: 0.85em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    color: #0a192f;
    background-color: #64ffda; /* color por defecto */
    animation: flash-slide-down 0.3s ease-out;
}

.flashes li.success {
    background-color: #4ade80;
}

.flashes li.error,
.flashes li.danger {
    background-color: #ff6b6b;
    color: #fff;
}

.flashes li.warning {
    background-color: #ffd166;
}

.flashes li.info {
    background-color: #64ffda;
}

@keyframes flash-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Botón con aspecto de enlace en el pie (Configurar cookies) */
.footer-link-button {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.footer-link-button {
    color: #64ffda;
}

/* Vídeo de demostración */
.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.video-wrapper video {
    display: block;
    width: 100%;
    height: auto;
    background-color: #0a192f;
}
