/* =========================================
   VARIABLES Y CONFIGURACIÓN INICIAL
   ========================================= */
:root {
    --bg-dark: #0F172A;
    --bg-alt: #0b1120;
    --bg-card: #1E293B;
    --primary-orange: #FF5500;
    --primary-dark: #CC3700;
    --accent-amber: #FFB347;
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-amber), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   NAVEGACIÓN (HEADER)
   ========================================= */

.navbar {
    padding: 16px 0; /* Ligeramente más compacto para no robar espacio de lectura */
    position: sticky;
    top: 0;
    background-color: rgba(15, 23, 42, 0.85); /* Tu color marino (--bg-dark) al 85% de opacidad */
    backdrop-filter: blur(12px); /* Efecto cristal esmerilado moderno */
    -webkit-backdrop-filter: blur(12px); /* Soporte para Safari */
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria sutil */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* =========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    padding: 60px 0 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,85,0,0.15) 0%, rgba(15,23,42,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.badge {
    display: inline-block;
    background: rgba(255, 179, 71, 0.1);
    color: var(--accent-amber);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 179, 71, 0.2);
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Botón Play Store */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 85, 0, 0.4);
}

/* =========================================
   CELULAR SIMULADO
   ========================================= */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background-color: #0b1120;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 0 4px #334155;
    position: relative;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(-10px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    border-radius: 30px;
    overflow: hidden;
    padding: 24px 16px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 50px;
    margin-top: 10px;
}

.timer { color: var(--text-light); }
.score { color: var(--accent-amber); }

.verb-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.verb-card h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
}

.verb-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.highlight-text {
    color: var(--primary-orange);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    margin-bottom: 20px;
    margin-top: 5px;
}

.input-simulated {
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
}

.cursor {
    color: var(--primary-orange);
    animation: blink 1s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* =========================================
   SECCIONES GENERALES (Motor, Modos, PRO)
   ========================================= */
.section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

/* Grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Tarjetas */
.feature-card, .mode-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover, .mode-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 179, 71, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.feature-card h3, .mode-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.feature-card p, .mode-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Banner PRO */
.pro-banner {
    background: linear-gradient(135deg, rgba(255,85,0,0.1) 0%, rgba(204,55,0,0.2) 100%);
    border: 1px solid rgba(255, 85, 0, 0.3);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-text {
    max-width: 600px;
}

.pro-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pro-text p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.pro-list {
    list-style: none;
}

.pro-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-alt);
    padding: 60px 0 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    margin-bottom: 16px;
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-amber);
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   RESPONSIVO (MÓVIL)
   ========================================= */
@media (max-width: 900px) {
    .hero-content, .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero-text h1 { font-size: 2.2rem; }
    
    .nav-links { display: none; }
    
    .pro-banner { padding: 30px 20px; }
}
/* =========================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES)
   ========================================= */
.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    font-family: var(--font-heading);
    color: var(--accent-amber);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

/* El contenedor desplegable */
details.faq-item {
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 20px;
    transition: border-color 0.3s ease;
}

details.faq-item:hover {
    border-color: rgba(255, 179, 71, 0.3);
}

/* Ocultar la flecha por defecto del navegador */
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    padding-right: 30px;
    transition: color 0.3s ease;
}

/* Efecto hover en la pregunta */
details.faq-item summary:hover {
    color: var(--primary-orange);
}

/* La flecha personalizada a la derecha */
details.faq-item summary::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
}

/* Rotar flecha cuando está abierto */
details.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

/* El contenido (respuesta) */
.faq-content {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* =========================================
   SECCIÓN CONTACTO Y SOPORTE
   ========================================= */
.contact-block {
    margin-bottom: 50px;
}

.contact-block h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-light);
}

.contact-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Enlaces de texto dentro de párrafos */
.text-link {
    color: var(--accent-amber);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}
/* =========================================
   SELECTOR DE IDIOMA (ENLACES DIRECTOS)
   ========================================= */
.lang-selector {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: 32px;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-selector a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.lang-selector a:hover {
    color: var(--primary-orange);
}

/* El idioma actual seleccionado (Ej. ES) */
.lang-selector a.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 2px;
}

/* Ajuste móvil */
@media (max-width: 900px) {
    .lang-selector {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
        justify-content: center;
    }
}