body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background-color: #efefef;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

/* Contenedor para el logo */
.header-left {
    display: flex;
    align-items: center;
    margin-left: 0;
}

header img {
    height: 50px;
    margin-right: 0.4rem;
}

header .header-left p {
    font-weight: 100;
    color: #1a2a40;
    font-size: 20px;
    margin-left: 8px;
}

/* Contenedor para los botones */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Estilos para los enlaces y botones */
nav a {
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid;
    font-size: 0.95rem;
}

nav a:nth-child(2) {
    border-color: #333;
    color: #333;
    background-color: transparent;
}

nav a:nth-child(2):hover {
    color: #f5f2f2;
    background-color: #939393;
}

nav a:nth-child(3) {
    border-color: #1478dc;
    color: #1478dc;
    background-color: transparent;
}

nav a:nth-child(3):hover {
    color: #f5f2f2;
    background-color: #1E90FF;
}

nav a:nth-child(4) {
    border-color: #caa526;
    color: #caa526;
    background-color: transparent;
}

nav a:nth-child(4):hover {
    color: #f5f2f2;
    background-color: #b6921f;
}

main {
    margin-top: 80px;
    padding: 0.8rem 0;
}

/* Estilos para la sección hero */
.hero {
    text-align: center;
    padding: 5rem 1.5rem;
    background-color: transparent;
    margin: 0;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 2.8rem;
    color: #1d1d1e;
    margin-bottom: 1.5rem;
    font-weight: 50;
    max-width: 750px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #6e7879;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

/* Estilos para los botones en la sección hero (más pequeños) */
.hero-buttons {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
}

.hero .btn-primary,
.hero .btn-secondary {
    padding: 0.7rem 1.7rem;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    margin: 0 0.4rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.hero .btn-primary {
    background-color: #caa526;
    color: #212020;
    border: none;
    font-weight: 480;
}

.hero .btn-primary:hover {
    background-color: #b6921f;
}

.hero .btn-secondary {
    background-color: white;
    color: #1478dc;
    border: 2px solid #1478dc;
    font-weight: 480;
}

.hero .btn-secondary:hover {
    background-color: #1E90FF;
    color: white;
}

/* Estilos para la sección de características (features) */
.features {
    padding: 3rem 0;
    background-color: transparent;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.features h2 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 200;
    font-size: 1.7rem;
    color: #2c3e50;
    margin-bottom: 2.2rem;
}

.feature-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
}

/* Tarjetas más altas */
.card {
    background: rgb(255, 254, 254);
    border-radius: 10px;
    padding: 1.2rem;
    width: 280px;
    text-align: left;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    margin: 0 0.3rem;
    min-height: 220px;
}

.card .icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-left: 5px;
    margin-bottom: 0.8rem;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #161f29;
    margin-bottom: 0.7rem;
}

.card p {
    color: #697272;
    font-size: 0.95rem;
    margin: 0;
    flex-grow: 1;
}

/* Colores para los iconos */
.card:nth-child(1) .icon {
    background-color: #1E90FF;
    color: white;
}

.card:nth-child(2) .icon {
    background-color: #FFD700;
    color: white;
}

.card:nth-child(3) .icon {
    background-color: #1E90FF;
    color: white;
}

.card:nth-child(4) .icon {
    background-color: #FFD700;
    color: white;
}

/* Estilos para la sección de beneficios */
.benefits {
    padding: 0.5rem 1rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f8f9fa;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Título de la sección */
.benefits h2 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 2rem;
    color: #2c3e50;
    line-height: 0.9;
    margin: 3rem 0 3rem 0;
}

/* Lista de beneficios */
.benefits ul {
    column-count: 2;
    column-gap: 2rem;
    padding: 0;
    margin: 0;
    max-width: 900px;
    width: 100%;
    line-height: 0;
}

/* Cada elemento de la lista */
.benefits li {
    list-style: none;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 1.6rem 0;
    padding: 0;
    text-align: left;
    line-height: 0;
}

/* Contenido de cada beneficio */
.benefit-content {
    line-height: 0;
}

.benefit-content strong {
    display: block;
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 0.6rem 0;
    padding: 0;
    line-height: 1.2;
}

.benefit-content p {
    font-size: 0.95rem;
    color: #697272;
    margin: 0;
    padding: 0 0 0 1.25rem;
    line-height: 1.3;
}

/* Estilos para la sección CTA */
.cta {
    text-align: center;
    padding: 1rem 1rem 3rem 1rem;
    margin: 3rem auto;
    max-width: 1200px;
    border-radius: 20px;
    background: linear-gradient(90deg, #2d8e86 0%, #7fa29f 30%, #b6921f 100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

.cta h2 {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 30px;
    color: white;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.cta p {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background-color: white;
    color: #2c3e50;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 100;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
}

/* Estilos para el footer */
footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #e0e0e0;
}

footer img {
    width: 30px;
    height: 28px;
    margin-right: 0px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Estilos para el botón de cambio de tema */
.moon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none !important;
    background-color: transparent;
    padding: 0;
    outline: none !important;
}

/* Contenedor para los íconos del sol y la luna */
.icon-container {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    overflow: hidden;
}

.icon-container:hover {
    background-color: #ededed;
}

.icon-container img {
    height: 20px;
    width: 20px;
    margin: 0;
    border: none !important;
    outline: none !important;
}

/* Estilo para el enlace dentro del contenedor */
.moon-wrapper a {
    border: none !important;
    outline: none !important;
    padding: 0;
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 85%;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #697272;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #2c3e50;
}

.planes-container {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.plan {
    background: rgb(255, 254, 254);
    border-radius: 10px;
    padding: 1.5rem;
    width: 100%;
    text-align: center;
    border: 2px solid #e0e0e0;
}

.plan.popular {
    border: 3px solid #FFD700;
    transform: scale(1.05);
}

.popular-badge {
    background-color: #FFD700;
    color: #2c3e50;
    padding: 0.3rem 0.7rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.modal-content h2{
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 100;
    font-size: 30px;
}

.modal-content p {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    color: #2c3e50;
    font-size: 20px;
}

.plan h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-align: left;
}

.plan p {
    color: #697272;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: left;
}

.precio {
    font-size: 2.2rem;
    font-weight: 200;
    color: #2c3e50;
    margin: 1.5rem 0;
    text-align: left;
}

.plan ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1rem;
}

.plan ul li {
    margin: 0.7rem 0;
    color: #697272;
    font-size: 0.9rem;
}

/* Añadir al final del archivo */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 1rem;
        height: 60px;
    }

    .header-right {
        gap: 0.5rem;
    }

    nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .feature-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 300px;
    }

    .benefits ul {
        column-count: 1;
    }

    .cta h2 {
        font-size: 1.8rem;
    }

    .cta p {
        font-size: 1rem;
    }

    .planes-container {
        flex-direction: column;
    }

    .plan {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero .btn-primary, .hero .btn-secondary {
        width: 100%;
        padding: 0.6rem;
    }
}
