:root {
    --primary-color: #ff3366;
    /* Adjust based on logo later if needed */
    --text-color: #333;
    --font-family: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 20px;
}

/* Mobile Adjustment: Align to top to reduce whitespace */
@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding-top: 40px;
        /* Adjusted padding to be minimal but safe */
    }
}

/* Overlay */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    /* 85% opaque white */
    z-index: 1;
}

/* Progress Bar */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    /* Use a reasonable height, or match user request if "bar" means header, but likely just a progress line */
    background-color: #e0e0e0;
    z-index: 100;
}

.progress-bar {
    width: 15%;
    height: 100%;
    background-color: #000;
    /* User requested black progress bar */
    transition: width 0.3s ease;
}

.quiz-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.quiz-logo {
    max-width: 150px;
    /* Looks smaller in the reference */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Typography */
.main-headline {
    color: #000;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.highlight-red {
    color: #ff0000;
}

.highlight-green {
    color: #28a745;
}

.sub-headline {
    color: #666;
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 400;
}

/* Video Placeholder */
.video-container {
    background-color: #333;
    border-radius: 15px;
    height: 200px;
    /* Approximate */
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
    background-image: url('https://placehold.co/600x350/555/FFF?text=Video+Thumbnail');
    /* Temporary placeholder */
    background-size: cover;
    background-position: center;
}

.video-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.mute-box {
    background-color: rgba(200, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid white;
    text-align: center;
}

.mute-icon {
    font-size: 2rem;
    margin: 5px 0;
}

.small-text,
.click-text {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.bottom-text {
    position: absolute;
    bottom: 10px;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.highlight-yellow {
    color: yellow;
    background-color: transparent;
}

/* Buttons */
.btn-primary {
    background-color: #28a745;
    /* Green */
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #218838;
}

.footer-text {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #666;
}

/* Testimonial Section */
.testimonial-section {
    margin-top: 40px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: #000;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* Quiz Steps */
.step-container {
    animation: fadeIn 0.5s ease;
    max-width: 500px;
    margin: 0 auto;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    /* Rounded as requested */
    margin-bottom: 25px;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: var(--font-family);
}

.form-input:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.copyright-text {
    margin-top: 50px;
    font-size: 0.7rem;
    color: #999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 3 & Options */
.subtitle-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.palm-image {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto 25px auto;
    border-radius: 10px;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.option-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    /* Matching input radius */
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: #333;
}

.option-card:hover {
    background-color: #fff;
    border-color: #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.option-card.selected .option-radio {
    border-color: #28a745;
    background-color: #28a745;
}

.option-card.selected {
    border-color: #28a745;
    background-color: #e8f5e9;
}

/* Step 5: Textarea */
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 5px;
    /* Space for counter */
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: var(--font-family);
    font-style: italic;
    resize: none;
    height: 120px;
}

.form-textarea:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.char-count {
    font-size: 0.7rem;
    color: #999;
    text-align: right;
    margin-bottom: 25px;
    display: block;
}

/* Green Option Cards for Final Step */
.option-card-green {
    background-color: #28a745;
    color: white;
    border: 1px solid #218838;
    justify-content: center;
    /* Center content as per image */
    text-align: center;
}

.option-card-green:hover {
    background-color: #218838;
    border-color: #1e7e34;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.option-card-green .option-radio {
    display: none;
    /* Hide radio button for these buttons if they look like buttons */
}

/* Be careful, standard option-card has display flex. I'll keep it but hide radio if it looks like a button */
/* Wait, looking at the image, it looks like just buttons. "Sim, um homem", "Sim, uma mulher". green background. */
/* Final Step: Bio Card */
.final-bio-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin-top: 30px;
    font-family: 'Times New Roman', serif;
    /* Matching the more serious look */
}

.bio-title {
    color: #DAA520;
    /* Golden color */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-family);
    /* Stick to main font for title or match image */
}

.bio-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.final-video-container {
    margin-bottom: 20px;
    border-radius: 5px;
    /* Less rounded as per image */
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* Set a fixed aspect ratio or height if needed, but standard video works */
}