/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 480px;
    /* Mobile-first constraint */
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.hidden {
    display: none !important;
}

/* QUIZ HEADER */
.quiz-header {
    margin-bottom: 20px;
    text-align: center;
}

.progress-bar-bg {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar-fill {
    height: 100%;
    background-color: #2E8B57;
    /* Christmas Green */
    width: 10%;
    transition: width 0.3s ease;
}

#question-counter {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* QUIZ CONTENT */
.quiz-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #D42426;
    /* Christmas Red */
}

.visual-placeholder {
    width: 100%;
    height: 150px;
    background-color: #f0f8ff;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 25px;
    color: #888;
}

.options-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-btn {
    width: 100%;
    padding: 15px 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    display: flex;
    align-items: center;
}

.quiz-btn:hover,
.quiz-btn:active {
    background-color: #f9f9f9;
    border-color: #2E8B57;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* PROCESSING SCREEN */
#processing-container {
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #D42426;
    color: white;
}

.spinner-container {
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* FEEDBACK OVERLAY */
.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.feedback-content {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 80%;
    max-width: 300px;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feedback-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

#feedback-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* SALES PAGE BLOCKS */
.sales-block {
    margin-bottom: 40px;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
}

.alert-block {
    background-color: #fff0f0;
    border: 2px solid #D42426;
}

.product-block {
    background-color: #fff;
}

.offer-block {
    background: linear-gradient(135deg, #D42426 0%, #b31b1d 100%);
    color: white;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(212, 36, 38, 0.3);
}

.social-block {
    background-color: #fff;
    padding: 20px;
}

/* TYPOGRAPHY & ELEMENTS */
.icon-large {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: blink 1s infinite;
}

.headline {
    font-size: 1.8rem;
    font-weight: 800;
    color: #D42426;
    margin-bottom: 10px;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.1rem;
    color: #333;
}

.headline-small {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.product-name {
    font-size: 1.5rem;
    color: #2E8B57;
    margin-bottom: 10px;
}

.promise {
    font-size: 1.1rem;
    color: #555;
}

.old-price {
    font-size: 1.2rem;
    opacity: 0.8;
}

.strikethrough {
    text-decoration: line-through;
}

/* CTA BUTTON - CRITICAL FIX */
.cta-button {
    display: block;
    width: 100%;
    padding: 25px 20px;
    /* Larger padding */
    background-color: #2E8B57;
    /* Green */
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    /* Larger font */
    font-weight: 900;
    border-radius: 50px;
    margin: 25px 0;
    box-shadow: 0 6px 0 #1e5c39, 0 10px 20px rgba(0, 0, 0, 0.2);
    /* 3D effect + shadow */
    transition: transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    /* White border to pop against red bg */
}

.cta-button:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #1e5c39;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

}

.testimonial {
    font-style: italic;
    font-size: 1.1rem;
}

.footer {
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
    color: #999;
}

/* SALES PAGE ENHANCEMENTS */
.result-box {
    background-color: #fff;
    border: 2px solid #D42426;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
}

.score-display {
    font-size: 2rem;
    font-weight: 900;
    color: #D42426;
    margin-top: 5px;
}

.pain-text {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.vision-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.arrow-down {
    font-size: 2rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.features-block {
    text-align: left;
    background-color: #fff;
    padding: 20px;
}

.section-title {
    font-size: 1.5rem;
    color: #2E8B57;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-list .check {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
}

.feature-list strong {
    display: block;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.feature-list p {
    font-size: 0.95rem;
    color: #666;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
}

.amount {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.cents {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
}

.scarcity-text {
    background-color: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 15px;
}

.guarantee .icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: left;
    border-left: 4px solid #FFD700;
}

.review-card .author {
    text-align: right;
    font-weight: 600;
    color: #555;
    margin-top: 10px;
}