:root {
    --bg-dark: #070914;
    --royal-blue: #2b59c3;
    --royal-blue-hover: #1e44a3;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray: #666;
    --light-gray: #f8f9fa;
    --red: #d32f2f;
    --green: #2ecc71;
    --gold: #d4af37;
    --deep-blue: #161b36;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body.hybrid-theme {
    background: radial-gradient(circle at top, var(--deep-blue) 0%, var(--bg-dark) 100%);
    min-height: 100vh;
}

#funnel-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px 0;
}

.white-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 20px 30px;
    /* Increased top padding to avoid logo overlap */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    text-align: center;
    position: relative;
    z-index: 10;
    margin: 0 15px;
}

.hidden {
    display: none !important;
}

.text-blue {
    color: var(--royal-blue);
}

.text-black {
    color: var(--black);
}

.text-gray {
    color: var(--gray);
}

.bold {
    font-weight: 700;
}

.generating-text-box {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #1a1a1a;
    padding: 0 10px;
}

.product-preview-flat {
    width: 65%;
    max-width: 220px;
    margin: 0 auto 30px;
    display: block;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.validation-msg {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: none;
}

/* Progress Bar */
.progress-wrapper {
    margin: 20px 15px;
}

.loading-bar-container {
    background: #efefef;
    height: 12px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    border: 1px solid #eee;
}

.generating-progress {
    background: var(--royal-blue);
    height: 100%;
    width: 0%;
    /* removed transition for script-controlled precision */
}

.percent-label {
    display: none;
    /* Hide old label, we'll use the one below book */
}

/* Landing & Quiz */
.title-bold {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-img-styled {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-royal-blue {
    background: var(--royal-blue);
    color: #fff;
    border: none;
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 15px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 6px 0 0 var(--royal-blue-hover);
    transition: all 0.2s;
}

.btn-royal-blue:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 0 var(--royal-blue-hover);
}

/* Sales Page - PREMIER DARK THEME */
.sales-page-wrapper {
    background: var(--bg-dark);
    color: white;
    width: 100%;
    overflow-x: hidden;
}

.sales-section {
    padding: 60px 25px;
    /* Added more side padding */
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}

.sales-header {
    background: #000;
    padding: 25px 15px;
    border-bottom: 2px solid var(--royal-blue);
    text-align: center;
}

.highlight-yellow {
    color: #ffeb3b;
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.accent-blue {
    color: #4dabf7;
}

.offer-box-container {
    background: #fff;
    border-radius: 30px;
    padding: 40px 20px;
    /* Adjusted padding for better balance */
    color: var(--black);
    margin: -30px 10px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.sales-mockup-wide {
    width: 110%;
    margin-left: -5%;
    max-width: 500px;
    margin-bottom: 35px;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

.price-tag {
    background: #f8f9fa;
    border: 2px solid #eee;
    padding: 30px 20px;
    border-radius: 20px;
    margin: 20px 0;
}

.old-price {
    text-decoration: line-through;
    color: #cc3333;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 10px;
    display: block;
}

.new-price-big {
    font-size: 4.2rem;
    font-weight: 900;
    color: var(--green);
    margin: 5px 0;
    line-height: 1;
    letter-spacing: -2px;
}

.btn-cta-green {
    background: var(--green);
    color: white;
    width: 100%;
    padding: 24px;
    font-size: 1.4rem;
    font-weight: 900;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 8px 0 0 #27ae60;
}

.btn-cta-green:active {
    transform: translateY(4px);
    box-shadow: 0 4px 0 0 #27ae60;
}

.enrichment-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 25px;
    margin-bottom: 25px;
    text-align: left;
    border-left: 5px solid var(--royal-blue);
}

.enrichment-card h3 {
    color: #ffeb3b;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.enrichment-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ddd;
}

.section-title-sales {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.3;
}

.checklist-box {
    text-align: left;
    margin: 35px 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.check-icon {
    color: var(--green);
    font-size: 1.4rem;
}

/* Carousel Testimonials */
.carousel-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 40px auto;
    overflow: hidden;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(128, 128, 128, 0.7);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    transition: background 0.3s, opacity 0.3s;
}

.carousel-button:hover {
    background: rgba(128, 128, 128, 0.9);
}

.carousel-button--left {
    left: 5px;
}

.carousel-button--right {
    right: 5px;
}

.carousel-button .arrow {
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.timer-banner {
    background: #ff5252;
    color: #fff;
    padding: 18px;
    border-radius: 15px;
    font-weight: 900;
    font-size: 1.2rem;
    margin: 40px 0;
}

.guarantee-wrapper {
    padding: 50px 25px;
    border: 3px dashed rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.03);
}

.btn-pulse {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        transform: scale(1);
    }

    70% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

.btn-pulse-intense {
    animation: pulseIntense 1.5s infinite;
}

@keyframes pulseIntense {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(43, 89, 195, 0.7);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 0 20px rgba(43, 89, 195, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(43, 89, 195, 0);
    }
}

.btn-cta-green.btn-pulse-intense {
    animation: pulseGreenIntense 1.5s infinite;
}

@keyframes pulseGreenIntense {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 20px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(1);
    }
}

/* Special Audio Box (WhatsApp Style - Reference Exact) */
.audio-special-box {
    background: #e9e0d6;
    /* Beige WhatsApp bubble color */
    padding: 15px;
    border-radius: 15px;
    margin: 25px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.priest-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.priest-thumb {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}

.priest-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.priest-info strong {
    font-size: 0.95rem;
    color: #000;
}

.priest-info span {
    font-size: 0.8rem;
    color: #666;
}

.audio-ui {
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 45px;
}

.play-icon-wh {
    font-size: 1.1rem;
    border: none;
    background: #737373;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    padding-left: 2px;
    transition: background 0.2s;
}

.play-icon-wh:hover {
    background: #555;
}

.audio-progress-container {
    flex-grow: 1;
    background: #d1d1d1;
    height: 4px;
    border-radius: 2px;
    position: relative;
    margin: 0 5px;
}

.audio-progress-bar {
    background: #53bdeb;
    /* Azul WhatsApp */
    height: 100%;
    width: 0%;
    border-radius: 2px;
    position: relative;
}

.audio-thumb {
    width: 12px;
    height: 12px;
    background: #53bdeb;
    border-radius: 50%;
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.audio-time {
    color: #666;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* Trust Block Styles */
.trust-block {
    background: #fff;
    color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 25px;
    margin: 0 10px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.trust-price {
    margin: 15px 0 25px;
    font-size: 1rem;
    font-weight: 600;
}

.strike-red {
    color: #e53935;
    text-decoration: line-through;
}

.text-green-dark {
    color: #2e7d32;
}

.trust-fatima-img {
    width: 100%;
    max-width: 320px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trust-title {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.trust-subtitle {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #444;
    font-weight: 500;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: -35px;
    position: relative;
    z-index: 20;
    transition: opacity 0.3s;
}

.mini-logo {
    height: 65px;
    width: 65px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    background: #fff;
    object-fit: contain;
    padding: 3px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.option-btn {
    background: var(--light-gray);
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin-bottom: 12px;
    width: 100%;
    transition: transform 0.2s;
}

.option-btn:active {
    transform: scale(0.98);
}

.opt-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.input-capture {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    border: 2px solid #eee;
    border-radius: 15px;
    margin-bottom: 25px;
    outline: none;
}

textarea.input-capture {
    height: 160px;
    resize: none;
    font-family: inherit;
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.6rem;
    }

    .new-price-big {
        font-size: 3.8rem;
    }
}

/* WhatsApp Support Button */
.whatsapp-support-container {
    margin: 40px 0 20px;
    text-align: center;
}

.support-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
    width: auto;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 25px;
    height: 25px;
    fill: white;
}

/* Final Persuasion Message */
.final-conviction-box {
    margin-top: 50px;
    padding: 30px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.final-title {
    color: #ffeb3b;
    /* Gold */
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.3;
}

.final-text {
    font-size: 1.05rem;
    color: #ddd;
    line-height: 1.7;
    font-style: italic;
    font-weight: 500;
}