* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: rgb(0, 180, 216);      /* Azul sólido #40E0D0 rgb(64, 224, 208) #29AB87*/
    --primary-dark: rgb(9, 142, 168);
    --secondary: black;    /* Negro */
    --secondary-light: #1a1a1a;
    --accent:   rgb(0, 180, 216);
    --white: #ffffff;
    --light-bg: #f5f7fb;
    --text-dark: #111111;
    --text-muted: #3a3a3a;
    --border: #dee2e6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.5;
}

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


.Encabezado
{
    display: flex;
    color:transparent;
    width: 100%;
    height: 100px;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.925);
    border-bottom: 1px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.Navegacion a
{
    position: relative;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

.Navegacion a::after
{
    content:'';
    position: absolute;
    left: 0;
    bottom: 8px;
    width: 100%;
    height: 3px;
    background:  var(--primary);
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.Navegacion a:hover::after
{
    transform-origin: left;
    transform: scaleX(1);
}

.menu
{
    padding: 10px;
    top: 10px !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo
{
    font-size: 25px;
    color: var(--primary);
    font-weight: 800;
}

.imagen-logo
{
   height: 100px;
   width: 150px; 
}

.logoIMG
{
    margin-top: -10px; 
    width: 90px; 
    height: 90px;  
    display: none;
}

.menu .Navegacion  ul li
{
    position: relative;
    float: left;
}

.menu .Navegacion ul li a
{
    font-size: 18px;
    padding: 20px;
    color: white;
    display: block;
}

.menu .Navegacion ul li a:hover
{
    color: var(--primary);
}

#menu
{
    display: none;
}

.menu-icono
{
    width: 25px;
}

.menu label
{
    cursor: pointer;
    display: none;
}

.close-btn 
{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 1002;
}

.close-btn:hover {
    color: red;
    background: rgba(255, 255, 255, 0.2);
}

/* Overlay para cerrar al hacer clic fuera */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 999;
    display: none;
}
.menu-overlay.active {
    display: block;
}



/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: none;
}

.hero-background 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que cubra todo sin deformarse */
    display: block;
    /* Eliminamos el blur y reducimos el brillo para que se vea la imagen */
    filter: brightness(0.7); /* Solo oscurece un poco, sin desenfoque */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Oscurece más para que el texto sea legible */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    color: var(--white);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Hero principal */
.herodd
{
    text-align: center;
}

.herodd h1 
{
    font-size: 70px;
}

.herodd p 
{
    color: #ddd;
    font-size: 1.2rem;
}

/* Animación letra por letra */
.herodd span 
{
    display: inline-block;
    transition: color 1s ease-in-out;
}


.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Botones */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
              text-align: center;
            align-items: center;
}

.descargar_boton
{
            text-align: center;
            align-items: center;
}

.btn-primary 
{
              text-align: center;
            align-items: center;
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 6px rgba(13,110,253,0.2);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: white; }

/* Features */
.features {
    padding: 5rem 2rem;
    background: var(--white);
}
.features-container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary);
    margin: 0.8rem auto 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
    border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon svg { stroke: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.4rem; margin: 0.5rem 0; color: var(--secondary); }

/* CTA */
.cta {
    background: var(--secondary);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}
.cta h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta .btn-primary { background: var(--primary); color: white; margin-top: 1rem; }

/* Page header */
.page-header {
    background: var(--secondary);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }

/* Documentación */
.documentation { padding: 4rem 2rem; background: var(--light-bg); min-height: 70vh; }
.docs-container { max-width: 1200px; margin: 0 auto; }
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.doc-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    border-left: 4px solid var(--primary);
}
.doc-header {
    background: var(--secondary);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.doc-icon svg { stroke: white; }
.doc-content { padding: 1.8rem; }
.features-list { list-style: none; margin-top: 1rem; }
.features-list li { padding: 0.3rem 0; color: var(--text-muted); }
.doc-actions { padding: 0 1.8rem 1.8rem; display: flex; justify-content: space-between; align-items: center; }
.version { background: #e9ecef; padding: 0.2rem 0.8rem; border-radius: 20px; font-size: 0.8rem; }

/* Resources */
.resources-section { margin-top: 4rem; text-align: center; }
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.resource-item { background: white; padding: 1.8rem; border-radius: 20px; box-shadow: var(--shadow); }
.resource-icon svg { stroke: var(--primary); margin-bottom: 1rem; }

/* Downloads */
.downloads { padding: 4rem 2rem; background: var(--light-bg); }
.downloads-container { max-width: 1200px; margin: 0 auto; }
.download-section { margin-bottom: 4rem; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.5rem;
}
.latest-tag { background: var(--primary); color: white; padding: 0.2rem 1rem; border-radius: 40px; font-size: 0.8rem; }
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}
.download-card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.2s;
    border-top: 3px solid var(--primary);
}
.download-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.platform-icon svg { margin-bottom: 1rem;}
.fondo-icono-print
{
    
    background: black;
    align-items: center;
    height: auto;
    width: auto;
}
.specs {
    background: #f8f9fa;
    padding: 0.8rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-size: 0.8rem;
}
.btn-download { display: inline-flex; align-items: center; gap: 0.4rem; } 

/* Info cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.info-card {
    background: var(--secondary);
    color: white;
    padding: 1.8rem;
    border-radius: 20px;
}
.info-card h3 { margin-bottom: 1rem; }
.info-card ul { list-style: none; }
.info-card li { padding: 0.3rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 2rem;
    text-align: center;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.social-links { display: flex; gap: 1rem; }
.social-icon svg { stroke: white; transition: 0.2s; }
.social-icon:hover svg { stroke: var(--primary); }

@media (max-width: 870px) {

    .menu label
    {
        display: initial;
    }

    .close-btn
    {
        display: flex;
    }

    .menu-icono {
        display: block;
    }

    .menu
    {
        top: 0px !important;
        padding: 2px 10px;
    }

    .logo
    {
        right: 50px;
    }

    .texto-logo
    {
        display: none;
    }

    .logoIMG
    {
        display: absolute;
    }

    .menu .img
    {
        left: 90px;
    }


    .Navegacion {
        position: fixed;
        top: 0;
        right: -100%; /* oculto fuera de la pantalla */
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6); 
        backdrop-filter: blur(12px); 
        -webkit-backdrop-filter: blur(12px);
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        padding-top: 80px;
    }

    .Navegacion ul {
        flex-direction: column;
        position: absolute;
        align-items: center;
        gap: 2rem;
    }

    .menu .Navegacion ul li
    {
        width: 100%;
        right: 25px;
    }

    .Navegacion a {
        font-size: 1.2rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .Navegacion a::after
    {
        display: none;
    }


    #menu:checked ~ .Navegacion {
        display: initial;
        right: 0;
    }

    /* Ajuste para que el LOGO no se superponga */
    .LOGO {
        z-index: 1002;
    }

    .herodd h1 
    {
        font-size: 50px;
    }

    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .page-header h1 { font-size: 1.8rem; }
    .cta h2 { font-size: 1.6rem; }
    .footer-content { flex-direction: column; }
    .docs-grid, .downloads-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .Navegacion 
    {
        width: 85%;
    }

    .herodd h1 
    {
        font-size: 40px;
    }

    .hero-buttons { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; text-align: center;
            align-items: center;  gap: 10px; top: 10px; margin-top: 15px;}
    .hero-title { font-size: 1.8rem; }
  	.btn-primary{  text-align: center;
            align-items: center;}
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 350px) 
{
    .herodd h1
    {
        font-size: 30px;
    }

}