/* Generales */
:root {
    --primary-color: #0056b3; /* Azul para botones principales */
    --secondary-color: #007bff; /* Azul ligeramente más claro para links */
    --accent-color: #28a745; /* Verde para acentos, por ejemplo, prueba gratuita */
    --dark-color: #343a40; /* Texto oscuro, fondo de header/footer */
    --light-color: #f8f9fa; /* Fondo claro */
    --text-color: #495057; /* Texto general */
    --border-color: #e9ecef; /* Bordes sutiles */
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-color);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

h3 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #218838; /* un poco más oscuro */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header (Minimalista para Landing Page) */
.header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* Oculta la navegación en desktop para una landing page pura */
.header .nav {
    display: none; /* Elimina la navegación principal */
}

/* Contenedor para los botones del header */
.header-buttons {
    display: flex;
    gap: 15px; /* Espacio entre los botones */
    align-items: center;
}

/* Estilos para el botón de Iniciar Sesión (discreto) */
.btn-login {
    background-color: transparent;
    color: var(--primary-color); /* Color de texto del botón de inicio de sesión */
    border: 1px solid var(--primary-color); /* Borde sutil */
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Estilos para el botón CTA principal pequeño en el header */
.header-btn-small {
    padding: 8px 18px;
    font-size: 0.9rem;
    /* Aseguramos que el botón de "Prueba Gratuita" se mantenga con el color de acento */
    background-color: var(--accent-color);
    color: #fff;
    border: none;
}

.header-btn-small:hover {
    background-color: #218838;
}


/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.85)), url('https://via.placeholder.com/1600x900?text=Fondo+Hero+Profesional'); /* Replace with actual background image */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-ctas .btn {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

/* Common Section Styles */
section {
    padding: 80px 0;
}

section:nth-of-type(even) { /* Apply subtle background to alternate sections */
    background: #fdfdfd;
}

section h2 {
    margin-bottom: 3rem;
}

/* Problem / Solution */
.problems-solution {
    background: var(--light-color);
    text-align: center;
}

.problems-solution h2 {
    color: var(--dark-color);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.problem-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.problem-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.problem-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

/* Features Section */
.features {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-item i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

/* Testimonials */
.testimonials {
    background: var(--light-color);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.testimonial-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: #ffc107; /* Estrella dorada */
    margin-bottom: 15px;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes client info to bottom */
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: auto; /* Push to bottom */
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--border-color);
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-info span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Pricing Section */
.pricing {
    background: #fff;
    text-align: center;
}

.pricing-intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.pricing-plan {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Para el badge */
}

.pricing-plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.pricing-plan.featured-plan {
    border: 3px solid var(--primary-color); /* Cambiado a primary color para destacar mejor */
    background: #e6f0fa; /* Un azul muy suave para el plan destacado */
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.pricing-plan h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pricing-plan .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.pricing-plan .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
}

.pricing-plan ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
    padding: 0 20px;
}

.pricing-plan ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-color);
}

.pricing-plan ul li i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* Estilo para el icono de "no incluido" */
.pricing-plan ul li i.fa-times-circle {
    color: #dc3545; /* Rojo para indicar que no está incluido */
}

.pricing-plan .btn {
    margin-top: auto; /* Push button to bottom */
    width: 80%;
}

.pricing-info {
    font-size: 1rem;
    color: #6c757d;
}

.pricing-info a {
    font-weight: 600;
}

/* Badge de Ahorro para el Plan Anual */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color); /* Verde para el ahorro */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Footer (Minimalista para Landing Page) */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 40px 0;
    font-size: 0.85rem;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.footer-col.logo-col .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.footer-col h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 5px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: #fff;
}

/* Selector de Idioma en el Header */
.language-selector {
    /* Estilos para el contenedor del selector */
}

.language-selector select {
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
}


/* Responsividad */
@media (max-width: 992px) {
    .header .header-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: flex-end;
    }

    .header .header-btn-small,
    .header .btn-login,
    .header .language-selector select { /* Ajuste para el selector de idioma en móvil */
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-ctas .btn {
        margin: 10px 5px;
    }

    .hero-image {
        margin-top: 40px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .problem-grid,
    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-plan.featured-plan {
        transform: scale(1);
        box-shadow: var(--shadow-light);
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col ul {
        padding: 0;
    }

    .footer-col ul li {
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
    section {
        padding: 60px 0;
    }
    h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
}