/*
Theme Name: Read & Pray Pro
Theme URI: https://readandpray.com
Author: Wuicho
Description: Tema modular y profesional para WordPress optimizado para editorial de autopublicación.
Version: 1.0.0
Text Domain: read-and-pray
*/

:root {
    --bg-body: #FFFFFF;
    --blue-primary: #2563eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --card-bg: #FFFFFF;
    --section-alt: #f8fafc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

header {
    padding: 18px 0; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--border-light); background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100;
}
.logo { font-weight: 800; font-size: 1.2rem; color: var(--text-main); text-decoration: none; }
.logo span { font-family: 'Playfair Display', serif; font-style: italic; color: var(--blue-primary); }
nav { display: flex; align-items: center; gap: 28px; }
nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
nav a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.btn-header { background: var(--blue-primary); color: #FFFFFF !important; padding: 9px 18px; border-radius: 8px; font-weight: 600; }

.hero-section {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.92) 0%, rgba(37, 99, 235, 0.90) 50%, rgba(59, 130, 246, 0.88) 100%), 
                url('https://images.unsplash.com/photo-1455390582262-044cdead277a?auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center; color: #FFFFFF; padding: 90px 0 70px;
    text-align: center; border-radius: 0 0 32px 32px; margin-bottom: 60px; position: relative; overflow: hidden;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25); padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; color: #FFFFFF; margin-bottom: 24px;
}
.hero-badge span { font-family: 'Playfair Display', serif; font-style: italic; color: #93c5fd; }
.hero-section h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.1; font-weight: 800; max-width: 800px; margin: 0 auto 20px; }
.hero-section h1 em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400; color: #93c5fd; }
.hero-section p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.9); max-width: 650px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: #FFFFFF; color: #1d4ed8; padding: 14px 28px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.btn-glass { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.3); padding: 14px 28px; border-radius: 10px; font-weight: 600; text-decoration: none; }

.funnel-step { padding: 60px 0; border-bottom: 1px solid var(--border-light); }
.section-title { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.section-title h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 1.05rem; }

.books-carousel { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.book-card { min-width: 240px; background: var(--section-alt); border: 1px solid var(--border-light); border-radius: 16px; padding: 20px; text-align: center; scroll-snap-align: start; }
.book-mockup { height: 280px; background: #cbd5e1; border-radius: 8px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #475569; }
.book-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.book-card p { font-size: 0.85rem; color: var(--text-muted); }

.success-box { background: var(--section-alt); border: 1px solid var(--border-light); border-radius: 24px; padding: 40px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.success-img { background: #e2e8f0; height: 300px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-weight: 600; }
.success-content h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.success-content p { color: var(--text-muted); margin-bottom: 20px; }
.author-tag { font-weight: 700; color: var(--blue-primary); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card-box { background: var(--section-alt); border: 1px solid var(--border-light); border-radius: 20px; padding: 40px 32px; transition: all 0.3s; }
.card-box:hover { transform: translateY(-6px); background: #FFFFFF; border-color: var(--blue-primary); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08); }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.price-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: 20px; padding: 40px 32px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border: 2px solid var(--blue-primary); box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12); }
.tag-pop { position: absolute; top: -14px; right: 32px; background: var(--blue-primary); color: #FFFFFF; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.price-val { font-size: 2.8rem; font-weight: 800; margin-bottom: 28px; }
.features-list { list-style: none; margin-bottom: 30px; color: var(--text-muted); font-size: 0.9rem; }
.features-list li { margin-bottom: 10px; display: flex; gap: 8px; }
.features-list li::before { content: "✓"; color: var(--blue-primary); font-weight: bold; }
.card-btn { margin-top: auto; text-align: center; padding: 13px; border-radius: 10px; font-weight: 700; text-decoration: none; background: #f1f5f9; color: var(--text-main); }
.price-card.featured .card-btn { background: var(--blue-primary); color: #FFFFFF; }

.cta-bottom { background: var(--section-alt); border-radius: 24px; padding: 60px 40px; text-align: center; margin: 80px 0; border: 1px solid var(--border-light); }
.cta-bottom h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta-bottom p { color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; font-size: 1.05rem; }

footer { border-top: 1px solid var(--border-light); padding: 50px 0; text-align: center; color: var(--text-muted); font-size: 0.85rem; }