/* 
  Essencial Bíblico - Stylesheet
  Theme: Dark, Premium, Trustworthy, Gold Accents
*/

:root {
    --bg-primary: #0a0f1c; /* Deep Dark Blue */
    --bg-secondary: #131b2f;
    --accent-gold: #d4af37;
    --accent-gold-hover: #e5c158;
    --accent-bright: #fbbf24;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(19, 27, 47, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title.left {
    text-align: left;
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-gold));
    color: #000;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.cta-button.secondary {
    background: var(--bg-secondary);
    color: var(--accent-bright);
    border: 1px solid var(--accent-gold);
}

.cta-button.secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.cta-button.outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.cta-button.outline:hover {
    background: rgba(255,255,255,0.05);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-slow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.floating { animation: float 6s ease-in-out infinite; }
.floating-slow { animation: float-slow 8s ease-in-out infinite; }
.pulse { animation: pulse-glow 2s infinite; }

/* 1. HERO SECTION */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(19, 27, 47, 0.8), transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-bright);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.headline .highlight {
    color: var(--accent-gold);
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.supplementary-text {
    font-size: 1rem;
    color: var(--text-muted);
    border-left: 3px solid var(--accent-gold);
    padding-left: 15px;
    margin-bottom: 30px;
    font-style: italic;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 1;
}

.glow-effect.gold {
    background: rgba(212, 175, 55, 0.15);
}

/* 5. DELIVERABLES */
.deliverables {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.products-showcase-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.products-showcase-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.audience-text {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.deliverables .card {
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.deliverables .card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.deliverables h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.deliverables p {
    color: var(--text-muted);
}

/* 6. BENEFITS (PAIN VS SOLUTION) */
.benefits {
    padding: 100px 0;
    background: var(--bg-primary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--glass-border);
}

.pain {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ef4444; /* Red for pain */
    font-weight: 600;
    margin-bottom: 15px;
}

.arrow {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.solution h4 {
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.solution p {
    color: var(--text-main);
}

.center-cta {
    text-align: center;
}

/* 8. BONUSES */
.bonuses {
    padding: 100px 0;
    background: radial-gradient(circle at center, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.bonus-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.bonus-card-image-wrapper {
    position: relative;
    width: 100%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.bonus-glow {
    width: 150px;
    height: 150px;
}

.bonus-card-image {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
}

.bonus-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bonus-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.bonus-card-header i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.bonus-card-header h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

.bonus-card-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    flex: 1;
}

.bonus-pricing {
    background: rgba(19, 27, 47, 0.8);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid var(--accent-gold);
}

.bonus-individual-value {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.bonus-free-badge {
    color: var(--accent-bright);
    font-weight: 700;
    font-size: 1.1rem;
}

.bonus-free-badge span {
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    display: block;
    margin-top: 2px;
}

.bonus-total-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px;
    border: 1px solid var(--accent-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(19, 27, 47, 0.9));
    border-radius: 12px;
}

.bonus-total-banner i {
    font-size: 3rem;
    color: var(--accent-bright);
}

.bonus-total-banner p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* 9 & 10. OFFER ANCHORING */
.offer {
    padding: 80px 0 40px;
    text-align: center;
}

.value-anchoring .total-value {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.value-anchoring .total-value span {
    text-decoration: line-through;
    color: #ef4444;
}

.irresistible-offer {
    font-size: 2.2rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.offer-subtext {
    font-size: 1.1rem;
}

/* 11. PRICING */
.pricing {
    padding: 40px 0 100px;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 50px;
}

.pricing-card {
    flex: 1;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.basic {
    margin-top: 20px;
    margin-bottom: 20px;
}

.pricing-card.premium {
    border: 2px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, rgba(19, 27, 47, 0.9) 0%, rgba(10, 15, 28, 0.9) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.plan-header p {
    color: var(--text-muted);
}

.plan-features {
    flex: 1;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.plan-features li i {
    color: var(--accent-bright);
    font-size: 1.2rem;
}

.plan-features li.disabled {
    color: #6b7280;
}

.plan-features li.disabled i {
    color: #6b7280;
}

.highlight-feature {
    color: var(--accent-bright);
    font-weight: 600;
}

.plan-price, .plan-price-wrapper {
    text-align: center;
    margin: 30px 0;
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
}

.plan-price .amount {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    font-family: var(--font-heading);
}

.plan-price .cents {
    font-size: 1.5rem;
}

.plan-price-wrapper .original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: -10px;
}

.highlight-price .amount {
    color: var(--accent-gold);
}

.urgency-timer {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card .cta-button {
    width: 100%;
}

.trust-seals {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.seal {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.seal i {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

/* 12. TESTIMONIALS */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    margin-bottom: 25px;
    color: #d1d5db;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid var(--accent-gold);
}

.author-info strong {
    display: block;
    color: #fff;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 13. AUTHORITY */
.authority {
    padding: 100px 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDIiLz4KPC9zdmc+') repeat;
}

.authority-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    text-align: center;
}

.authority-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 14. FAQ & GUARANTEE */
.faq-guarantee {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.faq-item {
    background: var(--bg-secondary);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px; /* arbitrary large value */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.guarantee-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(19, 27, 47, 0.8), rgba(212, 175, 55, 0.05));
}

.guarantee-icon {
    font-size: 4rem;
    color: var(--accent-gold);
}

.guarantee-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-bright);
}

/* FOOTER */
.footer {
    background: #05080f;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #1f2937;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer .disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #4b5563;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* STICKY CTA */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--accent-gold);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.4);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-price-info {
    display: flex;
    flex-direction: column;
}

.sticky-original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.sticky-current {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.2;
}

.sticky-current strong {
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.sticky-cta-bar .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (min-width: 769px) {
    .sticky-cta-bar {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .badges {
        justify-content: center;
    }
    .headline {
        font-size: 2.8rem;
    }
    .bonus-container {
        flex-direction: column;
    }
    .pricing-grid {
        flex-direction: column;
    }
    .pricing-card.basic {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .headline {
        font-size: 2.2rem;
    }
    .section-title, .section-title.left {
        font-size: 2rem;
        text-align: center;
    }
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    .authority-content {
        padding: 30px 20px;
    }
}

/* 15. MODAL DE UPSELL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-primary);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.modal-overlay.visible .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-modal:hover {
    color: #ef4444;
}

.modal-header h2 {
    color: var(--accent-bright);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-savings {
    color: var(--text-muted);
    font-size: 0.9rem !important;
    margin-bottom: 30px !important;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.refuse-button {
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.refuse-button:hover {
    color: #fff;
}
