/* --- Reset y Estilos Globales --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f9f9f9;
}

/* Language Switcher */
.language-switcher {
    background-color: #111827;
    color: #fff;
    padding: 8px 0;
    text-align: right;
    font-size: 0.85em;
}
.language-switcher a { color: #9CA3AF; text-decoration: none; margin: 0 5px; transition: color 0.2s; }
.language-switcher a.active {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
.language-switcher a:hover { text-decoration: underline; }

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #1E293B; /* Azul oscuro */
}

h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 35px;
}

section {
    padding: 50px 0;
}

/* --- Hero Header --- */
.hero {
    background: radial-gradient(ellipse at center, #3B82F6, #1D4ED8); /* Gradiente azul suave */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero-logo {
    height: 120px;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)); /* Sombra suave para destacar sobre el fondo */
}

.hero h1 {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 3em;
    margin: 0;
    color: #fff;
}

.hero .subtitle {
    font-size: 1.3em;
    font-weight: 400;
    margin: 10px 0 15px;
    opacity: 0.9;
    max-width: none; /* Asegura que ocupe el ancho para centrar el texto */
}

.hero p {
    max-width: 640px;
    margin: 0 auto 25px auto;
}

.cta-button {
    display: inline-block;
    background-color: #FBBF24; /* Amarillo */
    color: #1E293B;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #F59E0B; /* Amarillo más oscuro */
    transform: translateY(-2px);
}

/* --- Sección "Cómo Funciona" --- */
.how-it-works {
    background-color: #fff;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    text-align: center;
}

.step {
    flex: 1;
}

.step-number {
    width: 45px;
    height: 45px;
    background-color: #3B82F6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 auto 15px auto;
}

.step h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* --- Sección de Características --- */
.features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features li {
    background-color: #fff;
    padding: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- Sección de Capturas de Pantalla --- */
.screenshots {
    background-color: #F0F9FF; /* Azul muy claro */
}

.screenshot-gallery {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.screenshot-item {
    flex: 1;
    text-align: center;
}

.screenshot-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.screenshot-item p {
    margin-top: 15px;
    font-style: italic;
    color: #555;
}

/* --- Sección de FAQ --- */
.faq-item {
    background-color: #fff;
    padding: 18px;
    border-radius: 5px;
    margin-bottom: 12px;
    border-left: 5px solid #3B82F6;
}

.faq-item h4 {
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.faq-item p {
    margin: 0;
}

/* --- CTA Final y Footer --- */
.final-cta {
    background-color: #1E293B;
    color: #fff;
    text-align: center;
    padding-top: 10px;
}

.final-cta h2 {
    color: #fff;
}

.final-cta p {
    max-width: 480px;
    margin: 0 auto 25px auto;
}

.final-cta small {
    display: block;
    margin-top: 12px;
    opacity: 0.7;
}

footer {
    background-color: #111827;
    color: #9CA3AF;
    text-align: center;
    padding: 18px 0;
}

footer a {
    color: #3B82F6;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.85em;
}

.footer-links a {
    color: #9CA3AF;
    margin: 0 10px;
}

.footer-links span {
    color: #4B5563;
}

/* Styles for text-heavy pages (Privacy, Cookies) */
.text-page-header {
    background: #1E293B;
    color: #fff;
    padding: 35px 0;
    text-align: center;
}
.text-page-header h1 {
    color: #fff;
    font-size: 2.2em;
}
.text-content {
    background-color: #fff;
    padding: 35px;
    margin-top: -20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.text-content h2 { text-align: left; font-size: 1.6em; margin-top: 25px; }
.text-content h3 { text-align: left; font-size: 1.4em; }
.text-content p, .text-content li { color: #333; }
.text-content strong { color: #1E293B; }

/* --- Responsividad --- */
@media (max-width: 768px) {
    .steps, .screenshot-gallery {
        flex-direction: column;
    }
    .features ul {
        grid-template-columns: 1fr;
    }
}