/* styles.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f8;
    color: #333;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #2c3e50;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 3.0em;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.1em;
    color: #ddd;
}

.sections-container {
    display: flex;
    flex-direction: column; /* Apilados por defecto para móviles */
    /*max-width: 900px;*/
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .sections-container {
        flex-direction: row;
        gap: 30px;
        align-items: stretch;
    }
}

@media (min-width: 957px) {
    li {
        white-space: nowrap; /* evita saltos de línea */
        overflow: hidden;    /* oculta contenido que se desborde */
        text-overflow: ellipsis; /* añade "..." si el texto es muy largo */
    }
}

section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 30px;
    flex: 1; /* Permite que las secciones crezcan */
}

@media (min-width: 768px) {
    section {
        margin-bottom: 0; /* Eliminar el margen inferior cuando están lado a lado */
        flex: 1 1 0;       /* <-- Fix aquí */
        min-width: 0;      /* <-- Y aquí para forzar igualdad de ancho */
    }
}

.features, .premium {
    margin-top: 0;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
    color: #2c3e50;
    font-weight: 600;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    background: #f9f9f9;
    padding: 15px 20px;
    margin-bottom: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 1.0em;
    display: flex;
    align-items: center;
}

.cta {
    text-align: center;
    padding: 50px 20px;
    background: #34495e;
    color: #fff;
    margin-top: 50px;
}

.cta h2 {
    color: #fff;
}

#install_btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    transition: background 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#install_btn:hover {
    background: #29b064;
}

footer {
    text-align: center;
    padding: 25px;
    font-size: 0.85em;
    color: #777;
    margin-top: auto;
    background: #f4f6f8;
}