:root {
    /* Colors */
    --primary-color: #5e6af0;
    --primary-light: rgba(94, 106, 240, 0.1);
    --primary-gradient: linear-gradient(135deg, #5e6af0 0%, #8b6ce7 100%);
    
    --secondary-color: #ff6b46;
    --secondary-light: rgba(255, 107, 70, 0.1);
    --secondary-gradient: linear-gradient(135deg, #ff6b46 0%, #ff9057 100%);
    
    --success-color: #4CAF50;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    
    --background-color: #f9fafc;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style-position: inside;
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Quiz Container */
.quiz-container {
    background-color: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
}

/* Screen Styles */
.screen {
    display: none;
    padding: 30px;
}

.screen.active {
    display: block;
}

/* Quiz Header */
.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}

.quiz-header h1 {
    margin-bottom: 15px;
}

.quiz-header .highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Social Proof */
.social-proof {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.people-count, .rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.people-count i, .rating i {
    color: var(--primary-color);
}

.stars {
    color: #ffc107;
}

/* Button Styles */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.primary-button {
    background: var(--primary-gradient);
    color: white;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(94, 106, 240, 0.3);
}

.primary-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-button {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.secondary-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.secondary-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Privacy Note */
.privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0;
    transition: width 0.3s ease;
}

/* Question Styles */
.question {
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.option:hover {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.option.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.option.selected .option-radio {
    border-color: var(--primary-color);
}

.option.selected .option-radio:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.option-text {
    flex: 1;
}

/* Question Counter */
.question-counter {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* Loading Bar */
.loading-container {
    margin: 30px 0;
}

.loading-bar {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loading-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0;
    transition: width 0.3s ease;
}

.loading-percentage {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Results Stats */
.result-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.stat-container {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 15px;
}

.stat-container h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.stat-bar {
    height: 10px;
    background-color: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.stat-fill {
    height: 100%;
    width: 0;
    transition: width 1s ease;
}

.stat-fill.danger {
    background: linear-gradient(90deg, #f44336, #ff7961);
}

.stat-fill.success {
    background: linear-gradient(90deg, #4CAF50, #80e27e);
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stat-value.danger {
    color: var(--danger-color);
}

.stat-value.success {
    color: var(--success-color);
}

/* Benefits List */
.benefits-container {
    margin: 30px 0;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.benefits-list li i {
    color: var(--success-color);
}

/* Features List */
.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.features-list li i {
    color: var(--primary-color);
}

/* Persona Selector */
.persona-selector {
    margin-bottom: 30px;
}

.persona-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.persona-option {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
    width: 150px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.persona-option:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.persona-option.selected {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.persona-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

/* Button Content */
.button-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.button-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    20%, 100% {
        transform: translateX(100%) rotate(30deg);
    }
}

/* Processing Steps */
.processing-steps {
    margin: 30px 0;
}

.processing-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0.5;
    transition: var(--transition);
}

.processing-step.active {
    opacity: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Brain Container */
.brain-container {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.brain-container i {
    font-size: 4rem;
    color: var(--primary-color);
}

.brain-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
}

.wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: wave 2s infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 0.5s;
}

.wave-3 {
    animation-delay: 1s;
}

@keyframes wave {
    0% {
        opacity: 0.8;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Processing Facts */
.processing-facts {
    margin-top: 30px;
    text-align: center;
}

.fact-container {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Result Badge */
.result-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    background-color: var(--primary-light);
    padding: 10px 20px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.result-badge i {
    color: var(--primary-color);
}

.result-badge h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Result Type */
.result-type-container {
    text-align: center;
    margin-bottom: 30px;
}

.result-type {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.result-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Stat Markers */
.stat-markers {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

/* Solution Box */
.solution-box {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
}

.solution-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.solution-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.solution-highlight {
    background-color: white;
    border-radius: var(--radius);
    padding: 15px;
    margin-top: 15px;
    position: relative;
}

.solution-highlight i {
    position: absolute;
    top: 10px;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.5rem;
    opacity: 0.2;
}

.solution-highlight p {
    margin-left: 20px;
    font-style: italic;
}

/* Product Offer */
.product-offer {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
    position: relative;
}

.offer-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.product-offer h2 {
    text-align: center;
    margin-top: 10px;
}

.product-offer h3 {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.product-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-image {
    width: 150px;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-description {
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary-color);
}

/* Bonus Section */
.bonus-section {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
}

.bonus-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.bonus-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.bonus-list {
    list-style: none;
}

.bonus-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.bonus-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.bonus-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bonus-content {
    flex: 1;
}

.bonus-content strong {
    display: block;
    margin-bottom: 5px;
}

.bonus-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.bonus-value {
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: line-through;
}

/* Total Value */
.total-value {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.value-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.value-item.highlight {
    font-weight: 700;
    font-size: 1.2rem;
}

.total-original {
    text-decoration: line-through;
    color: var(--text-light);
}

.total-current {
    color: var(--secondary-color);
}

/* Urgency Timer */
.urgency-timer {
    text-align: center;
    margin: 30px 0;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.countdown-item {
    background-color: var(--primary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.countdown-item span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* Buy Button */
.buy-button-final {
    display: block;
    background: var(--secondary-gradient);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.buy-button-final:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 107, 70, 0.3);
}

/* Payment Options */
.payment-options {
    text-align: center;
    margin-bottom: 30px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    font-size: 1.5rem;
    color: var(--text-lighter);
}

/* Guarantee */
.guarantee {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 30px;
}

.guarantee-icon {
    font-size: 2.5rem;
    color: var(--success-color);
}

.guarantee-content h4 {
    margin-bottom: 5px;
}

.guarantee-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    margin: 40px 0;
}

.testimonial-slider {
    position: relative;
    margin: 20px 0;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial {
    background-color: #f5f5f5;
    border-radius: var(--radius);
    padding: 20px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin-bottom: 0;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.8rem;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.testimonial-prev, .testimonial-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question h4 {
    margin-bottom: 0;
}

.faq-answer {
    display: none;
    padding-bottom: 15px;
}

.faq-answer.active {
    display: block;
}

/* Final Note */
.final-note {
    font-style: italic;
    text-align: center;
    color: var(--text-light);
    margin-top: 40px;
}

/* Confetti Container */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Question Dots */
.question-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.question-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    transition: var(--transition);
}

.question-dot.active {
    background-color: var(--primary-color);
}

.question-dot.completed {
    background-color: var(--success-color);
}

/* Animated Background */
.quiz-wrapper {
    position: relative;
    padding: 50px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    animation: float 8s infinite alternate;
}

.shape-2 {
    top: 50%;
    right: -150px;
    width: 400px;
    height: 400px;
    background: var(--secondary-gradient);
    animation: float 12s infinite alternate-reverse;
}

.shape-3 {
    bottom: -150px;
    left: 30%;
    width: 350px;
    height: 350px;
    background: var(--primary-gradient);
    animation: float 10s infinite alternate;
}

.shape-4 {
    top: 20%;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--secondary-gradient);
    animation: float 6s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(30px, 30px) rotate(10deg);
    }
}

/* Progress Stats */
.progress-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.progress-percentage {
    font-weight: 600;
    color: var(--primary-color);
}

/* Question Wrapper */
.question-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.question-container {
    flex: 1;
}

.question-illustration {
    display: none;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .question-illustration {
        display: block;
        width: 200px;
    }
    
    .result-stats {
        flex-direction: row;
    }
    
    .stat-container {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .quiz-container {
        max-width: 100%;
    }
    
    .persona-options {
        flex-direction: column;
        align-items: center;
    }
    
    .persona-option {
        width: 100%;
        max-width: 300px;
    }
    
    .product-header {
        flex-direction: column;
        text-align: center;
    }
    
    .product-image {
        margin: 0 auto;
    }
    
    .guarantee {
        flex-direction: column;
        text-align: center;
    }
}
