/* =================================================================== */
/*        LANDING.CSS - v2.2 (Añade estilos para Verificación 2FA)     */
/* =================================================================== */

/* --- TEMA CLARO Y SUAVE (PALETA DE COLORES ACTUALIZADA) --- */
body:not(.logged-in){
    /* Colores Clave */
    --color-primary: #2ecc71;       /* Verde Afiliado */
    --color-secondary: #27ae60;      /* Verde Afiliado (hover) */
    --color-accent: #3498db;        /* Azul Genérico */
    --color-elite: #8e44ad;         /* Morado Élite */
    --color-advanced: #f39c12;      /* Naranja/Dorado Advanced Plus */
    --color-advanced-hover: #e67e22; /* Naranja Advanced Plus (hover) */
    
    --color-background: #ffffff; /* Fondo base ahora es blanco puro */
    --color-surface: #ffffff;
    --color-background-alt: #f8f9fa; /* Color para fondos alternos */
    --color-text-primary: #34495e;
    --color-text-secondary: #7f8c8d;
    --color-border: #e8ecef;
    --color-link: var(--color-primary);

    --border-radius-soft: 16px;
    --shadow-soft: 0 10px 30px rgba(52, 73, 94, 0.07);
    --font-size-base: 16px;
}

/* --- ESTILOS GENERALES Y HERO SECTION --- */
#landing-page-wrapper main > section {
    padding: 60px 5%;
    text-align: center;
}
#landing-page-wrapper main > section:nth-of-type(even) {
    background-color: var(--color-background-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
/* Excepciones para secciones con fondos específicos */
#landing-page-wrapper main > section.form-section-highlight,
#landing-page-wrapper main > section#social-proof-section {
    background-color: var(--color-background);
}
.hero-section {
    background-color: var(--color-background);
    padding: 100px 5%;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrapper { display: none; }
.hero-content { position: relative; }

.landing-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.landing-subtitle {
    color: var(--color-text-secondary);
    font-size: clamp(1rem, 4vw, 1.15rem);
    margin: 20px auto 35px;
    max-width: 650px;
}

body:not(.logged-in) .btn-primary-glow {
    background-color: var(--color-primary);
    color: #FFFFFF !important;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.4);
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 1.05rem;
}

body:not(.logged-in) .btn-primary-glow:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* --- SECCIONES Y BANNER DE URGENCIA --- */
#landing-page-wrapper main > section {
    padding: 60px 5%;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.section-subtitle {
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: -10px auto 40px;
    font-size: 1rem;
}

.urgency-banner{ background-color: var(--color-text-primary); color: #ffffff; padding: 15px 5%; text-align: center; }
.urgency-content{ display: flex; flex-direction: column; align-items: center; gap: 8px; }
.urgency-content h4{ font-size: 1rem; margin: 0; }
.urgency-content p{ margin: 0; font-size: 0.9rem; }
#countdown-timer{ font-size: 1.5rem; font-weight: 700; color: var(--color-primary); letter-spacing: 2px; }
/* --- ESTILO DE TARJETAS GENÉRICAS --- */

/* ====================================================== */
/*   INICIO: ESTILOS FALTANTES PARA SECCIÓN SOCIAL PROOF  */
/* ====================================================== */
/* ====================================================== */
/*   INICIO: ESTILOS CORREGIDOS PARA SECCIÓN SOCIAL PROOF */
/* ====================================================== */
#social-proof-section {
    /* CORRECCIÓN 1: Se añade la imagen de fondo y el degradado */
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.85)), url('../images/social-proof-bg.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Efecto parallax sutil */
    
    padding: 80px 5%;
    color: #fff;
    border: none !important;
    
    /* CORRECCIÓN 2: Se centra todo el contenido de la sección */
    text-align: center; 
}

/* Contenedor del título y subtítulo */
.social-proof-header {
    max-width: 800px;
    margin: 0 auto; /* Centra el bloque de texto */
}

/* Título y subtítulo ahora heredan el text-align: center */
#social-proof-section .section-title,
#social-proof-section .section-subtitle {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.social-proof-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.social-proof-card {
    background: rgba(255, 255, 255, 0.98); /* Ligeramente más opaco para legibilidad */
    color: var(--color-text-primary);
    border-radius: var(--border-radius-soft);
    padding: 30px 40px;
    /* CORRECCIÓN 3: El contenido INTERNO de la tarjeta se alinea a la izquierda */
    text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-proof-card h3 {
    text-align: center; /* El título de la tarjeta sí va centrado */
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.social-proof-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-proof-list li {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.social-proof-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-label i {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.feature-label strong {
    color: var(--color-text-primary);
}

.social-proof-list p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding-left: 35px; /* Alineado con el texto del label */
    line-height: 1.7;
}

.social-proof-list p strong {
    color: var(--color-text-primary);
}

/* ====================================================== */
/*    FIN: ESTILOS CORREGIDOS PARA SECCIÓN SOCIAL PROOF   */
/* ====================================================== */

/* --- ESTILO DE TARJETAS GENÉRICAS --- */
#pain-section, #for-who-section, #testimonials-section, #creator-section, #faq-section, .showcase-section, .guarantee-section, .user-guide-section, .coaching-section {
    background-color: var(--color-background);
}

#pain-section, #for-who-section, #testimonials-section, #faq-section, .guarantee-section, .user-guide-section, #coaching-section {
    border-top: 1px solid var(--color-border);
}

.pain-points-grid, .for-who-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
    text-align: left;
}
@media (min-width: 768px) {
    .pain-points-grid, .for-who-grid, .testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

.pain-point, .for-who-item, .guide-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 25px;
    border-radius: var(--border-radius-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-point:hover, .for-who-item:hover, .guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.pain-point i, .for-who-item i, .guide-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.pain-point h3, .for-who-item h4, .guide-card h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}
.pain-point p, .for-who-item p, .guide-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* (Estilos de secciones intermedias se mantienen igual) */
.for-who-item { text-align: center; }
.for-who-subtitle { font-size: 1.2rem; font-weight: 600; color: var(--color-text-primary); margin-top: 15px; margin-bottom: 20px; }
.app-showcase-container { display: grid; grid-template-columns: 1fr; gap: 30px; max-width: 900px; margin: 40px auto 0; text-align: left; }
@media (min-width: 768px){ .app-showcase-container{ grid-template-columns: 1fr 1.5fr; align-items: center; } }
.app-screen { background: var(--color-surface); border-radius: var(--border-radius-soft); padding: 20px; border: 1px solid var(--color-border); box-shadow: var(--shadow-soft); }
.app-screen-header { text-align: center; font-weight: bold; color: var(--color-text-primary); padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--color-border); }
.app-feature-list { list-style: none; padding: 0; margin: 0; }
.app-feature-item { display: flex; align-items: center; gap: 15px; color: var(--color-text-secondary); transition: all 0.25s ease; cursor: pointer; border-left: 4px solid transparent; padding: 12px 15px; margin: 5px 0; border-radius: 0 8px 8px 0; }
.app-feature-item.active { color: var(--color-primary); font-weight: 700; border-left-color: var(--color-primary); background-color: #f0fdf6; transform: translateX(10px); }
.feature-description-container { display: flex; align-items: center; min-height: 200px; }
.feature-description { transition: opacity 0.2s ease-in-out; width: 100%; }
.feature-description h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--color-text-primary); }
.feature-description h3 i { margin-right: 10px; color: var(--color-primary); }
.guarantee-section { background-color: transparent; }
.guarantee-content { max-width: 800px; margin: 0 auto; text-align: center; border: 2px solid var(--color-primary); border-radius: var(--border-radius-soft); padding: 30px; background-color: var(--color-surface); }
.guarantee-icon { font-size: 3rem; color: var(--color-primary); margin-bottom: 20px; }
.guarantee-content h3 { font-size: clamp(1.4rem, 4vw, 1.8rem); margin-bottom: 15px; color: var(--color-text-primary); }
.guarantee-subtitle { color: var(--color-text-secondary); font-size: 1rem; margin-bottom: 25px; }
.guarantee-details { text-align: left; font-size: 1rem; line-height: 1.7; color: var(--color-text-secondary); }
.guarantee-details p { margin-bottom: 15px; }
.testimonial-item { background: var(--color-surface); text-align: center; border: 1px solid var(--color-border); padding: 25px; border-radius: var(--border-radius-soft); }
.testimonial-item img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid var(--color-border); }
.testimonial-item blockquote p { font-style: italic; font-size: 1rem; margin-bottom: 15px; color: var(--color-text-secondary); }
.testimonial-item figcaption { font-weight: bold; color: var(--color-text-primary); font-style: normal; }
.faq-grid { display: grid; gap: 15px; max-width: 800px; margin: 40px auto 0; text-align: left; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--border-radius-soft); transition: var(--transition-medium); }
.faq-item[open] { box-shadow: var(--shadow-soft); }
.faq-item summary { font-size: 1.1rem; font-weight: 500; padding: 20px; cursor: pointer; list-style: none; position: relative; padding-right: 45px; color: var(--color-text-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 20px; top: 50%; transform: translateY(-50%) rotate(0deg); transition: transform 0.3s ease; color: var(--color-primary); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(-180deg); }
.faq-item div { padding: 0 20px 20px; color: var(--color-text-secondary); line-height: 1.7; font-size: 0.95rem; }
.creator-content { display: flex; flex-direction: column; align-items: center; gap: 25px; max-width: 800px; margin: auto; text-align: center; }
@media (min-width: 768px){ .creator-content{ flex-direction: row; text-align: left; gap: 35px; } }
.creator-photo { border-radius: 50%; width: 120px; height: 120px; object-fit: cover; border: 5px solid var(--color-primary); flex-shrink: 0; box-shadow: var(--shadow-soft); }
.creator-name-placeholder { color: var(--color-primary); font-weight: bold; }
.creator-text h3 { color: var(--color-text-primary); font-size: 1.3rem; }
.creator-text p { color: var(--color-text-secondary); font-size: 0.95rem; }
.creator-audio-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 15px; padding: 8px 16px; border-radius: 50px; border: 1px solid var(--color-primary); background-color: transparent; color: var(--color-primary); font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; }
.creator-audio-btn:hover { background-color: var(--color-primary); color: #fff; }
.creator-audio-btn i { transition: transform 0.3s ease; }
.guide-scroller-wrapper { position: relative; max-width: 100%; margin: 40px auto 0; }
.guide-scroller { display: flex; gap: 20px; padding: 20px; margin: 0 -20px; overflow-x: scroll; scroll-behavior: smooth; scroll-snap-type: x mandatory; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.guide-scroller.active-scroll { cursor: grabbing; scroll-behavior: auto; }
.guide-scroller::-webkit-scrollbar { display: none; }
.guide-card { flex-shrink: 0; width: 70%; max-width: 250px; scroll-snap-align: center; background: var(--color-surface); border-radius: var(--border-radius-soft); padding: 25px; text-align: center; border: 1px solid var(--color-border); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.guide-card i { font-size: 2.2rem; color: var(--color-primary); margin-bottom: 15px; }
.guide-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.guide-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background-color: var(--color-surface); color: var(--color-text-primary); border: 1px solid var(--color-border); border-radius: 50%; width: 45px; height: 45px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease-in-out; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.guide-arrow:hover { background-color: var(--color-primary); color: #fff; border-color: var(--color-primary); }
#guide-scroll-left { left: -22px; }
#guide-scroll-right { right: -22px; }
.coaching-section { background-color: var(--color-surface); }
.coaching-grid { display: grid; grid-template-columns: 1fr; gap: 25px; max-width: 900px; margin: 40px auto 0; }
.coaching-card { text-align: center; padding: 30px; border: 1px solid var(--color-border); border-radius: var(--border-radius-soft); background-color: var(--color-background); }
.coaching-icon { font-size: 2.5rem; color: var(--color-accent); margin-bottom: 20px; }
.coaching-card h3 { font-size: 1.4rem; color: var(--color-text-primary); margin-bottom: 15px; }
.coaching-card p { color: var(--color-text-secondary); font-size: 0.95rem; margin-bottom: 25px; }
.btn-coaching { background-color: var(--color-accent); color: #fff !important; border: none; padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn-coaching:hover { background-color: #2980b9; }

/* ====================================================== */
/*   INICIO: ESTILOS PARA NUEVA SECCIÓN DE PRECIOS        */
/* ====================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
    align-items: stretch; /* Asegura que las tarjetas tengan la misma altura */
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.pricing-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 25px;
    border-radius: var(--border-radius-soft);
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.04);
    position: relative;
    overflow: hidden; /* Para la insignia */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-soft);
}

.plan-header { margin-bottom: 15px; text-align: center; }
.plan-icon { font-size: 1.8rem; margin-bottom: 15px; }
.plan-header h3 { font-size: 1.4rem; font-weight: 700; color: var(--color-text-primary); margin: 0; }
.price-tag { font-size: 2rem; font-weight: 700; margin: 10px 0; }
.price-tag span { font-size: 0.9rem; font-weight: 400; color: var(--color-text-secondary); }
.card-subtitle { font-size: 0.9rem; color: var(--color-text-secondary); min-height: 4.5em; border-bottom: 1px solid var(--color-border); padding-bottom: 20px; margin-bottom: 20px; }
.features-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.features-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 0.9rem; color: var(--color-text-secondary); }
.features-list li i { margin-top: 4px; color: #2ecc71; font-size: 0.9rem; }
.features-list li strong { color: var(--color-text-primary); }
.pricing-card .btn { width: 100%; margin-top: auto; padding: 14px; font-size: 1rem; font-weight: bold; text-decoration: none; border-radius: 10px; border: 2px solid transparent; transition: all 0.2s ease; }

/* Estilos específicos por Plan */
.plan-freemium .plan-icon { color: var(--color-text-secondary); }
.btn-freemium { background-color: var(--color-surface); color: var(--color-text-primary) !important; border-color: var(--color-border); }
.btn-freemium:hover { background-color: var(--color-background); border-color: var(--color-text-secondary); }

.plan-affiliate .plan-icon { color: var(--color-primary); }
.plan-affiliate .price-tag.special-price { color: var(--color-primary); font-weight: 800; }
.btn-affiliate { background-color: var(--color-primary); color: #fff !important; }
.btn-affiliate:hover { background-color: var(--color-secondary); }

.plan-elite.recommended { border-width: 2px; border-color: var(--color-elite); }
.popular-badge {
    position: absolute;
    top: 18px;
    right: -30px;
    background: var(--color-advanced);
    color: #fff;
    padding: 4px 30px;
    font-weight: 700;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.popular-badge::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 4px;
    border-top: 15px solid var(--color-advanced);
    border-right: 15px solid transparent;
    filter: brightness(0.8);
}
.plan-elite .plan-icon, .plan-elite .price-tag { color: var(--color-elite); }
.btn-elite { background-color: var(--color-elite); color: #fff !important; }
.btn-elite:hover { background-color: #732d91; }

.plan-advanced .plan-icon, .plan-advanced .price-tag { color: var(--color-advanced); }
.btn-advanced { background-color: var(--color-advanced); color: #fff !important; }
.btn-advanced:hover { background-color: var(--color-advanced-hover); }

/* ====================================================== */
/*   ESTILOS PARA FORMULARIO DE REGISTRO Y AFILIADOS      */
/* ====================================================== */
.form-section-highlight { background-color: var(--color-surface); padding: 60px 5%; }
.form-card-highlight { max-width: 800px; margin: auto; background-color: var(--color-background); padding: 20px; border-radius: var(--border-radius-soft); border: 1px solid var(--color-border); }
@media (min-width: 768px) { .form-card-highlight { padding: 30px; } }

.affiliate-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
}
.affiliate-link:hover {
    text-decoration: underline;
}

#affiliate-input-container input {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.activation-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.activation-card { text-align: center; padding: 20px; border: 1px solid var(--color-border); border-radius: var(--border-radius-soft); background-color: var(--color-surface); }
footer.landing-footer { background-color: #fff; color: var(--color-text-secondary); padding: 30px 5%; border-top: 1px solid var(--color-border); font-size: 0.9rem; }
footer.landing-footer .footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; max-width: 1100px; margin: 0 auto; }
footer.landing-footer .footer-links a { color: var(--color-text-secondary); text-decoration: none; margin-left: 15px; transition: color 0.2s; }
footer.landing-footer a:hover { color: var(--color-text-primary); text-decoration: underline; }
body:not(.logged-in) .auth-form input { color: var(--color-text-primary); background-color: #fff; border: 1px solid var(--color-border); }
body:not(.logged-in) .auth-form input::placeholder { color: #aab8c2; }

/* --- INICIO DE NUEVOS ESTILOS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ====================================================== */
/*   ESTILOS PARA EL PASO DE VERIFICACIÓN DE CÓDIGO       */
/* ====================================================== */

/* El contenedor del paso 2, para centrar el contenido */
#register-step-2 {
    display: none; /* Oculto por defecto, se maneja con JS */
    animation: fadeIn 0.5s ease-in-out; /* Animación sutil al aparecer */
}

/* Estilo para el input del código, para que se vea más prominente */
#verification-code-input {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.5em; /* Espacio entre los números */
    font-weight: bold;
}
/* Placeholder con estilo normal */
#verification-code-input::placeholder {
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
}

/* Estilo para el enlace de reenviar código */
#resend-code-link {
    display: block;
    text-align: center;
    margin-top: 15px;
}
/* --- FIN DE NUEVOS ESTILOS --- */

/* --- INICIO DE NUEVOS ESTILOS --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ====================================================== */
/*   ESTILOS PARA EL PASO DE VERIFICACIÓN DE CÓDIGO       */
/* ====================================================== */

/* El contenedor del paso 2, para centrar el contenido */
#register-step-2 {
    display: none; /* Oculto por defecto, se maneja con JS */
    animation: fadeIn 0.5s ease-in-out; /* Animación sutil al aparecer */
}

/* Estilo para el input del código, para que se vea más prominente */
#verification-code-input {
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 0.5em; /* Espacio entre los números */
    font-weight: bold;
}
/* Placeholder con estilo normal */
#verification-code-input::placeholder {
    letter-spacing: normal;
    font-size: 1rem;
    font-weight: 400;
}

/* Estilo para el enlace de reenviar código */
#resend-code-link {
    display: block;
    text-align: center;
    margin-top: 15px;
}
/* --- FIN DE NUEVOS ESTILOS --- */