:root {
    --primary-green: #2ecc71;  /* Vibrant Green */
    --dark-green: #27ae60;
    --light-green: #eafaf1;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-color: #f1f2f6;
    --white: #ffffff;
    --red-alert: #e74c3c;
    --card-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.logo-header {
    width: 100%;
    padding: 16px;
    background: var(--white);
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    z-index: 10;
}

.logo {
    max-height: 50px;
    object-fit: contain;
}

.funnel-container {
    width: 100%;
    max-width: 480px;
    padding: 24px 20px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    border-radius: 0 0 24px 24px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .funnel-container {
        padding: 20px 16px;
        border-radius: 0;
        margin-bottom: 0;
        min-height: calc(100vh - 82px);
    }
    .main-headline {
        font-size: 22px !important;
        margin-bottom: 16px !important;
    }
    .question-title {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }
    .cta-button {
        padding: 15px !important;
        font-size: 16px !important;
    }
    .testimonial-card {
        padding: 14px !important;
        margin-bottom: 14px !important;
    }
    .image-wrapper {
        margin-bottom: 16px !important;
    }
}

.step {
    display: none;
    flex-direction: column;
    animation: slideIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.step.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Typography & Colors */
.main-headline {
    font-size: 26px;
    text-align: center;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-dark);
    line-height: 1.3;
}

.highlight {
    background: var(--primary-green);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
    transform: rotate(-1deg);
}

/* Image */
.image-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.25);
}

.cover-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.4s ease;
}
.cover-image:hover {
    transform: scale(1.03);
}

/* Text elements */
.urgency-text {
    font-size: 15px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.5;
    padding: 0 10px;
}

.attention {
    color: var(--red-alert);
    font-weight: 700;
}
.highlight-red {
    color: var(--red-alert);
    font-weight: 800;
}

/* Buttons */
.cta-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: var(--primary-green);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.35);
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(46, 204, 113, 0.4);
}

/* Questionnaire styles */
.progress-bar {
    width: 100%;
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    margin-bottom: 35px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-green);
    border-radius: 5px;
    transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.question-title {
    font-size: 26px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.3;
}
.highlight-green {
    color: var(--primary-green);
}

.question-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 28px;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.option-btn {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 700;
    min-height: 80px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn::after {
    content: "›";
    font-size: 24px;
    color: #bdc3c7;
    margin-top: -2px;
}

.option-btn:hover, .option-btn:active {
    border-color: var(--primary-green);
    background: var(--light-green);
    color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.1);
}

.option-btn:hover::after {
    color: var(--primary-green);
}

.body-type-option {
    display: flex;
    align-items: center;
    gap: 18px;
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 16px;
    padding: 18px 20px;
    min-height: 90px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.body-type-option:hover {
    border-color: var(--primary-green);
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.1);
}

.body-icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: contain;
    background: #f1f2f6;
}

.body-type-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
}

/* Input Styles */
.input-wrapper {
    margin-top: 24px;
    margin-bottom: 24px;
}

.name-input {
    width: 100%;
    padding: 18px;
    border: 2px solid #ecf0f1;
    border-radius: 14px;
    font-size: 18px;
    outline: none;
    transition: all 0.2s ease;
    background: #fafafa;
}

.name-input:focus {
    border-color: var(--primary-green);
    background: white;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.1);
}

.security-text {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.btn-disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    box-shadow: none;
}
.btn-disabled:hover {
    background: #bdc3c7;
    transform: none;
    box-shadow: none;
}

/* Opções Complexas Step 7 */
.option-btn-complex {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 16px;
    padding: 22px 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-btn-complex:hover, .active-border {
    border-color: var(--primary-green);
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.1);
}

.option-emoji {
    font-size: 32px;
    background: #f8f9fa;
    padding: 12px 14px;
    border-radius: 12px;
}

.option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.option-text strong {
    font-size: 18px;
    color: var(--text-dark);
}
.option-text span {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-light);
    margin-top: 4px;
}

.option-arrow {
    font-size: 28px;
    color: #bdc3c7;
}

.option-btn-complex:hover .option-arrow, .active-border .option-arrow {
    color: var(--primary-green);
}

/* Checkboxes Step 8 */
.checkbox-option {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 16px;
    padding: 24px 20px;
    min-height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover, .active-cb {
    border-color: var(--primary-green);
    background: var(--light-green);
}

.cb-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
}

input[type="checkbox"].benefit-cb {
    width: 26px;
    height: 26px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

/* Telas de 10 a 14 Novos Componentes */

/* Testimonials Step 10 */
.testimonial-card {
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 12px 0;
}
.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-info strong {
    font-size: 15px;
    color: var(--text-dark);
}
.author-info span {
    font-size: 12px;
    color: var(--text-light);
}
.testimonial-text {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
}

/* Sliders Step 11/12 */
.toggle-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}
.toggle-btn {
    padding: 8px 25px;
    border-radius: 20px;
    background: #ecf0f1;
    color: var(--text-light);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.active-toggle {
    background: var(--primary-green);
    color: white;
}
.slider-display {
    text-align: center;
    margin-bottom: 30px;
}
.slider-display span {
    font-size: 54px;
    font-weight: 800;
    color: var(--text-dark);
}
.slider-display small {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-left: 6px;
}
.slider-container {
    width: 100%;
    position: relative;
    padding: 10px 0;
}
.styled-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #bdc3c7;
    border-radius: 4px;
    outline: none;
}
.styled-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-green);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(46,204,113,0.5);
    border: 3px solid white;
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}
.slider-hint {
    text-align: center;
    font-size: 12px;
    color: #bdc3c7;
    margin-top: 10px;
}

/* Loader progress */
.progress-bar-loader {
    width: 100%;
    height: 8px;
    background: #ecf0f1;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
}
.progress-loader {
    height: 100%;
    background: var(--primary-green);
    border-radius: 4px;
    transition: width 0.15s linear;
}

/* Telas de 15 a 18 - Analises e Bônus */
.metric-row {
    margin-bottom: 15px;
}
.metric-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-bottom: 6px;
}
.metric-bars {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    gap: 4px;
}
.bar {
    height: 100%;
    border-radius: 4px;
}
.bar-red {
    background: #e74c3c;
}
.bar-green {
    background: #2ecc71;
}
.metric-scale {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #95a5a6;
    margin-top: 4px;
}

.bonus-card {
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.bonus-icon {
    font-size: 32px;
    background: rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bonus-text h4 {
    font-size: 15px;
    margin-bottom: 5px;
}
.bonus-text p {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
}
