/* ============================================
   LA BIBLIA CANTADA - LANDING PAGE STYLES
   OPTIMIZED FOR PAGESPEED & ACCESSIBILITY
   ============================================ */

/* CSS Variables - Updated for WCAG AA Contrast */
:root {
    /* Primary Colors - Darkened for better contrast */
    --primary-orange: #C44B1C;
    --primary-orange-dark: #A33D15;
    --primary-green: #0D9668;
    --primary-gold: #B45309;

    /* Text Colors - Better contrast */
    --text-black: #1F2937;
    --text-dark: #374151;
    --text-medium: #4B5563;
    --text-light: #6B7280;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;

    /* Feedback Colors - Better contrast */
    --success: #0D9668;
    --warning: #B45309;
    --error: #DC2626;

    /* Borders */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-orange: 0 8px 20px rgba(196,75,28,0.4);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background: var(--bg-white);
    padding: 60px 20px 80px;
    text-align: center;
}

.badge-superior {
    display: inline-block;
    background: linear-gradient(135deg, #C44B1C 0%, #B45309 100%);
    padding: 10px 30px;
    border-radius: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(196,75,28,0.3);
    animation: pulse-badge 2s infinite;
}

.badge-superior span {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.headline {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-black);
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 25px;
    min-height: 160px;
}

/* FIXED: Better contrast for highlighted text */
.headline .highlight {
    color: #9A3412;
}

.subheadline {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

.subheadline strong {
    color: var(--text-dark);
}

.hero-mockup {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 800 / 530;
}

.hero-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Button - Updated with better contrast */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-orange);
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-orange);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    max-width: 100%;
}

.cta-button:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(196,75,28,0.5);
}

.cta-button.pulse {
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.cta-button .arrow {
    font-size: 24px;
}

.cta-button.large {
    font-size: 22px;
    padding: 22px 60px;
}

.cta-button.extra-large {
    font-size: 24px;
    padding: 25px 70px;
    box-shadow: 0 12px 35px rgba(196,75,28,0.6);
}

/* Trust Badges - Reserve space to prevent CLS */
.trust-badges {
    margin-top: 25px;
    font-size: 15px;
    color: var(--text-medium);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 48px;
}

.trust-badges .separator {
    color: var(--border-medium);
}

/* ============================================
   METODO SECTION
   ============================================ */
.metodo-section {
    background: var(--bg-light);
    padding: 70px 20px;
    text-align: center;
}

.brain-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
}

.brain-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 25px;
    line-height: 1.3;
}

/* FIXED: Better contrast for highlight text */
.highlight-text {
    color: #9A3412;
}

.section-text {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 35px;
}

.bullets-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 17px;
    color: var(--text-dark);
}

.bullet-check {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIOS SECTION
   ============================================ */
.testimonios-section {
    background: var(--bg-light);
    padding: 80px 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stars {
    color: #D97706;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-orange);
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-text strong {
    color: var(--text-black);
}

.testimonial-author {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.author-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black);
}

.author-location {
    display: block;
    font-size: 14px;
    color: var(--text-medium);
    margin-top: 4px;
}

/* Stats Box */
.stats-box {
    display: flex;
    justify-content: center;
    gap: 60px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    padding: 40px;
    border-radius: 16px;
    margin-top: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-orange);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* ============================================
   PASOS SECTION
   ============================================ */
.pasos-section {
    background: var(--bg-white);
    padding: 80px 20px;
}

.pasos-container {
    max-width: 800px;
    margin: 50px auto;
}

.paso-card {
    background: white;
    border-left: 5px solid var(--primary-orange);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.paso-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.paso-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.paso-text {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

.pasos-image {
    max-width: 700px;
    margin: 50px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 700 / 467;
}

.pasos-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   BENEFICIOS SECTION
   ============================================ */
.beneficios-section {
    background: var(--bg-light);
    padding: 70px 20px;
    text-align: center;
}

.beneficios-container {
    max-width: 700px;
    margin: 40px auto 0;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(to right, white, var(--bg-light));
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--bg-gray);
    margin-bottom: 20px;
    text-align: left;
}

.beneficio-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.beneficio-item p {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ============================================
   INCLUIDO SECTION
   ============================================ */
.incluido-section {
    background: var(--bg-light);
    padding: 80px 20px;
}

.modulos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 50px auto;
}

.modulo-card {
    background: white;
    border: 2px solid var(--border-light);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.modulo-card:hover {
    border-color: var(--primary-orange);
}

.modulo-card.principal {
    grid-column: span 2;
    background: linear-gradient(135deg, #FFF7ED 0%, white 100%);
    border-color: var(--primary-orange);
}

.modulo-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.modulo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 12px;
}

.modulo-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 15px;
}

.modulo-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.modulo-valor {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-orange);
}

/* Bonus Separator */
.bonus-separator {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-gold);
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    padding: 20px 30px;
    border-radius: 12px;
    margin: 50px auto 40px;
    max-width: 600px;
}

/* Bonus Grid */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.bonus-card {
    background: linear-gradient(135deg, #FFFBEB 0%, white 100%);
    border: 2px solid #D97706;
    padding: 25px;
    border-radius: 16px;
    position: relative;
}

.bonus-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary-gold);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
}

/* ============================================
   VALUE STACK SECTION
   ============================================ */
.valor-section {
    background: var(--bg-white);
    padding: 70px 20px;
    text-align: center;
}

.value-stack-box {
    background: white;
    border: 3px solid var(--primary-orange);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-width: 650px;
    margin: 40px auto 0;
}

.value-list {
    text-align: left;
    margin-bottom: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
}

.value-item:last-child {
    border-bottom: none;
}

/* FIXED: Better contrast for value names */
.value-name {
    flex: 1;
    font-size: 15px;
    color: var(--text-dark);
}

.value-item.bonus .value-name {
    color: #92400E;
}

.value-dots {
    flex: 0 0 auto;
    width: 50px;
    border-bottom: 2px dotted var(--border-medium);
    margin: 0 10px;
}

.value-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-black);
}

.value-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid var(--border-light);
    margin-top: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-black);
}

.total-price {
    font-size: 26px;
}

.price-transition {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.price-old {
    font-size: 32px;
    color: var(--error);
    text-decoration: line-through;
    margin-bottom: 10px;
}

.price-new {
    font-size: 60px;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: pulse-price 2s infinite;
}

@keyframes pulse-price {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.discount-badge {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-green);
    margin: 10px 0 25px;
}

.urgencia-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: var(--error);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
}

.payment-methods {
    margin-top: 35px;
}

.payment-methods p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-medium);
}

.payment-icons.local {
    margin-top: 10px;
}

.recap-beneficios {
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.recap-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.recap-beneficios ul {
    list-style: none;
    text-align: left;
}

.recap-beneficios li {
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 0;
}

.recap-beneficios li::before {
    color: var(--primary-green);
    font-weight: 700;
}

/* ============================================
   PARA QUIEN SECTION
   ============================================ */
.para-quien-section {
    background: var(--bg-white);
    padding: 70px 20px;
}

.qualifications-container {
    max-width: 800px;
    margin: 40px auto;
}

.qualification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 0;
}

.qual-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.qualification-item p {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.6;
}

.separator-line {
    border: none;
    border-top: 2px dashed var(--border-medium);
    width: 60%;
    margin: 40px auto;
}

.disqualification-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--error);
    text-align: center;
    margin-bottom: 30px;
}

/* ============================================
   GARANTIA SECTION
   ============================================ */
.garantia-section {
    background: var(--bg-light);
    padding: 80px 20px;
}

.garantia-box {
    background: linear-gradient(135deg, #ECFDF5 0%, white 100%);
    border: 3px solid var(--primary-green);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(13,150,104,0.15);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.garantia-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
}

.garantia-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garantia-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.garantia-text {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
}

.garantia-text strong {
    color: var(--text-black);
}

.garantia-final {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-green);
    margin-top: 25px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--bg-white);
    padding: 80px 20px;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-black);
    transition: background 0.2s ease;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-arrow {
    color: var(--primary-orange);
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 20px 50px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
}

.faq-support {
    text-align: center;
    margin-top: 50px;
}

.faq-support p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.faq-support a {
    font-size: 16px;
    color: var(--primary-orange);
    transition: opacity 0.2s ease;
}

.faq-support a:hover {
    opacity: 0.8;
}

/* ============================================
   FINAL SECTION
   ============================================ */
.final-section {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    padding: 80px 20px;
    text-align: center;
    border-top: 4px solid var(--primary-orange);
}

.urgencia-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--error);
    margin-bottom: 25px;
}

.urgencia-text {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 20px;
}

.urgencia-text strong {
    color: var(--text-black);
}

.final-section .cta-button {
    margin-top: 30px;
}

.final-section .trust-badges {
    margin-top: 25px;
}

.recap-beneficios.final {
    margin-top: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-gray);
    padding: 50px 20px;
    text-align: center;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 20px;
}

.footer-security {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 25px;
}

.footer-separator {
    border-top: 1px solid var(--border-light);
    width: 60%;
    margin: 25px auto;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 5px;
}

.footer-contact a {
    color: var(--primary-orange);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-links {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-links span {
    margin: 0 10px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .headline {
        font-size: 40px;
        min-height: auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .modulos-grid {
        grid-template-columns: 1fr;
    }

    .modulo-card.principal {
        grid-column: span 1;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
    }

    .stats-box {
        flex-direction: column;
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 15px 60px;
    }

    .headline {
        font-size: 32px;
        min-height: auto;
    }

    .subheadline {
        font-size: 17px;
    }

    .section-title {
        font-size: 26px;
    }

    .cta-button {
        font-size: 17px;
        padding: 18px 30px;
        width: 100%;
    }

    .cta-button.large,
    .cta-button.extra-large {
        font-size: 18px;
        padding: 20px 25px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 8px;
    }

    .trust-badges .separator {
        display: none;
    }

    .testimonial-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .value-stack-box {
        padding: 25px;
    }

    .price-new {
        font-size: 48px;
    }

    .garantia-box {
        padding: 30px 20px;
    }

    .urgencia-title {
        font-size: 28px;
    }

    .payment-icons {
        flex-direction: column;
        gap: 8px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .headline {
        font-size: 28px;
    }

    .badge-superior {
        padding: 8px 20px;
    }

    .badge-superior span {
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .price-new {
        font-size: 42px;
    }

    .stat-number {
        font-size: 36px;
    }
}
