/* 
 * Health Optimization Quiz Funnel - Main Stylesheet
 * For: honestproductreviewer.site/mitolyn/
 */

/* CSS Variables */
:root {
    --primary-color: #3a0ca3;
    --secondary-color: #4cc9f0;
    --accent-color: #f72585;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f5f7fa;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

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

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

/* Header */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

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

.hero-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--success-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.hero-image {
    text-align: center;
    margin-top: 30px;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Quiz Section */
.quiz-container {
    display: none;
    padding: 60px 0;
    background-color: var(--background-color);
}

.quiz-header {
    margin-bottom: 30px;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease;
}

.question-counter {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.quiz-content {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.question-slide {
    display: none;
}

.question-slide.active {
    display: block;
}

.question-slide h3 {
    margin-bottom: 20px;
}

.answers {
    margin-bottom: 30px;
}

.answer-option {
    background-color: white;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.answer-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.answer-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(58, 12, 163, 0.05);
}

.answer-option input[type="radio"] {
    display: none;
}

.answer-option label {
    cursor: pointer;
    display: block;
    padding-left: 30px;
    position: relative;
}

.answer-option label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background-color: white;
}

.answer-option.selected label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.nav-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.nav-button:hover:not(:disabled) {
    background-color: var(--accent-color);
}

.nav-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Email Capture Section */
.email-capture {
    display: none;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.email-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58, 12, 163, 0.1);
}

.privacy-note {
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Results Preview Section */
.results-preview {
    display: none;
    padding: 40px 0;
    background-color: white;
}

.results-content {
    background-color: var(--background-alt);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.result-type {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.result-description {
    margin: 30px 0;
}

.result-image {
    max-width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.result-action {
    background-color: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-top: 30px;
    border-radius: var(--border-radius);
}

.text-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
}

.text-link:hover {
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--background-alt);
    text-align: center;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 20px;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-content h4 {
    margin-top: 20px;
    font-size: 1.1rem;
}

.location {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 6px rgba(247, 37, 133, 0.3);
}

.cta-button:hover {
    background-color: #e91e63;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(247, 37, 133, 0.4);
    color: white;
}

.cta-button i {
    margin-left: 8px;
}

/* Footer */
footer {
    background-color: #2b2b2b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: #aaaaaa;
    max-width: 800px;
}

.footer-disclaimer p {
    margin-bottom: 15px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .hero .container {
        display: flex;
        align-items: center;
        gap: 40px;
    }
    
    .hero-content {
        flex: 1;
    }
    
    .hero-image {
        flex: 1;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .quiz-content {
        padding: 20px;
    }
    
    .email-content {
        padding: 30px 20px;
    }
    
    .testimonial {
        min-width: 100%;
    }
}