/* === CSS RESET & HELPERS === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --primary-green: #2ECC71;
    --primary-green-hover: #2ECC71;
    --gray-dark: #1F2937;
    --gray-light: #9CA3AF;
    --input-bg: #111827;
    --border-color: #374151;
    --font-main: 'Inter', sans-serif;
}

a.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#screen-9 a.btn-primary {
    animation: wiggle 5s linear infinite;
    transition: .2s ease-in-out;
    width: fit-content;
}


@keyframes wiggle {
    2% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }

    4% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }

    6% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }

    8% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }

    10% {
        -webkit-transform: rotate(1deg);
        transform: rotate(1deg);
    }

    12% {
        -webkit-transform: rotate(-1deg);
        transform: rotate(-1deg);
    }

    14% {
        -webkit-transform: rotate(1deg);
        transform: rotate(1deg);
    }

    16% {
        -webkit-transform: rotate(-1deg);
        transform: rotate(-1deg);
    }

    18% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    20% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.video-bg {
    position: relative;
}

img#video-im {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

img#play-icon {
    position: absolute;
    width: 35px;
    background: #2ecc718c;
    border-radius: 100px;
}

.video-wraps {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-wraps.hide {
    opacity: 0;
    visibility: hidden;
}


div#error-5,
div#error-6 {
    font-size: 10px !important;
    font-weight: 300 !important;
}

#screen-3 button.btn-primary.mt-auto {
    margin-top: 50px !important;
}

#screen-3 .weight-picker-container {
    margin-bottom: 50px !important;
}

#screen-4 button.btn-primary.mt-auto {
    margin-top: 24px !important;
}

#screen-4 .range-labels {
    margin-bottom: 50px !important;
}

div#iti-0__dropdown-content {
    background: #000;
}

li.iti__country span {
    color: #6F7480 !important;
    font-size: 14px;
}

ul#iti-0__country-listbox {
    background: #000 !important;
    width: 100% !important;
    max-width: 100% !important;
    border: 1px solid #4D5059;
    padding: 13px 26px 13px 0px;
    margin-top: 5px;
    border-radius: 4px;
}

input.wpforms-field-large.wpforms-field-required.wpforms-smart-phone-field.wpforms-input-temp-name.iti__tel-input {
    padding-left: 45px !important;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}

#mainHeader[data-screen="9"] {
    display: block !important;
}

.btn-primary {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
    /* mobile blue highlight */
}

* {
    -webkit-tap-highlight-color: transparent;
}


.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible {
    outline: none;
    box-shadow: none;
}


.wpforms-field.wpforms-field-text.Bmi-ctm.wpforms-field-readonly {
    display: none !important;
}

html.custom-quiz {
    background: #000 !important;
}




.custom-form-container {
    width: 100%;
}

.wpforms-container .wpforms-field {
    margin-top: 0px !important;
    padding-top: 0px;
}

em.wpforms-error {
    font-size: 9px !important;
    font-family: "Inter" !important;
}

.btn-primary:hover {
    background: #fff !important;
    color: #192126 !important;
}

.selection-error {
    animation: fadeIn 0.3s ease-in-out;
    font-weight: 500;
}

.linea-quiz-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
}

.linea-quiz-wrapper * {
    box-sizing: border-box;
}

button.round-btn.small svg {
    width: 31.401115px;
    height: 31.401115px;
    display: flex;
}

button.round-btn.small {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

label.wpforms-field-label {
    font-size: 14px !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-family: "Inter" !important;
}

input.wpforms-field-large.wpforms-field-required::placeholder {
    color: #6F7480 !important;
    opacity: 1 !important;
}

input.wpforms-field-large.wpforms-field-required {
    height: 52px;
    background: transparent !important;
    border: 1px solid #4D5059 !important;
    padding: 16px !important;
    border-radius: 4px !important;
    color: #6F7480 !important;
    outline: none !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    font-family: 'Inter' !important;
}

section#screen-8 h2.section-title {
    text-align: left;
}


form.wpforms-validate.wpforms-form.wpforms-ajax-form {
    width: 100% !important;
    max-width: 100% !important;
}

.mt-auto {
    margin-top: auto !important;
}

#screen-8 {
    display: none;
    flex-direction: column;
}

#screen-8.active {
    display: flex;
}

.wpforms-submit-container,
.wpforms-confirmation-container,
.wpforms-confirmation,
.wpforms-error-container {
    display: none !important;
}

input#heightRange::-webkit-slider-runnable-track {
    background: transparent !important;
    border-radius: 5px;
    cursor: pointer;
}

@media(max-width: 600px) {
    .hero-image-container {
        width: 100vw;
    }
}

.app-container {
    background-color: var(--bg-color);
    min-height: 810px;
    height: 810px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 390px;
}

/* Corrected Autofill Logic */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:autofill {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
    box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #6F7480 !important;
    transition: background-color 5000000s ease-in-out 0s !important;
}




.app-container input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100% !important;
    background: #3B3B3D;
    height: 8px;
    border-radius: 100px;
    outline: none;
    margin: 15px 0;
    border: 1px solid #666666;
}

.range-labels {
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 73%;
}

input#heightRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: #595959;
    border: 1px solid #848484 !important;
    cursor: pointer;
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D !important;

}

input#heightRange::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #595959;
    border: 1px solid #848484 !important;
    cursor: pointer;
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D !important;
}


.hero-image-container {
    margin-bottom: -150px;
}

/* Animations */
.screen {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    flex: 1;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.screen.active {
    display: flex;
}

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

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

/* Typography */
.linea-quiz-wrapper h1,
.linea-quiz-wrapper h2,
.linea-quiz-wrapper h3 {
    text-align: center;
    line-height: 1.3;
}

.text-center {
    text-align: center;
}

/* === Screen 1: Welcome === */
.logo-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9abf8c;
}

.logo-large svg {
    width: 60px;
    height: 60px;
    stroke: #9abf8c;
}



.hero-title {
    font-family: "Work Sans", Sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 32px !important;
    letter-spacing: -0.1px;
    color: #FFFFFF;
    max-width: 340px;
    margin-top: 0px !important;
    margin-bottom: 10px;
}

.highlight {
    color: #2ECC71 !important;
}

.video-placeholder-container {
    margin: 20px 0px 15px !important;
}


#mainHeader[data-screen="9"] .header-bottom-row {
    display: none !important;
    margin: 0px !important;
}

#mainHeader[data-screen="9"] .header-logo-centered {
    margin: 0px !important;
}

#mainHeader[data-screen="9"] {
    margin: 0px;
    padding: 0px;
}

section#screen-8 h2.section-title {
    text-align: left;
    font-size: 27px !important;
}

.hero-desc {
    text-align: center;
    font-family: "Lato", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.3px;
    color: #EBEDF0;
    max-width: 300px;
}

/* Image Grid */
.image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2.5rem;
    width: 100%;
}

.grid-item {
    width: 28%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 0.8;
    background-color: #222;
}

.grid-item.main {
    width: 35%;
    border-radius: 32px;
    z-index: 10;
    transform: scale(1.05);
    border: 1px solid #333;
    aspect-ratio: 0.9;
}

.placeholder-img {
    width: 100%;
    height: 100%;
}

/* Button */
.btn-primary {
    background-color: white;
    color: black;
    font-family: 'Poppins', Sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    border: none !important;
    letter-spacing: 0%;
    width: 100%;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
    height: 56px;
    border-radius: 32px;
    opacity: 1;
    padding-top: 16px;
    padding-right: 20px;
    padding-bottom: 16px;
    padding-left: 20px;
}

a.green-link {
    text-decoration: underline;
    color: #2ECC71 !important;
}

.btn-primary:active {
    transform: scale(0.98);
}

.trust-badge {
    position: relative;
    width: fit-content;
    margin-bottom: 2rem;

    /* background (unchanged) */
    background: linear-gradient(90deg,
            rgba(44, 41, 41, 0.4) 0%,
            rgba(111, 104, 104, 0.4) 100%);

    /* shape */
    border-radius: 678.57px;

    /* spacing (unchanged) */
    padding-top: 6.11px;
    padding-right: 12px;
    padding-bottom: 6.11px;
    padding-left: 12px;

    /* text (unchanged) */
    color: #fff;
    font-family: "archivo", sans-serif;
    font-weight: 500;
    font-size: 10.93px;
    line-height: 16.35px;
    letter-spacing: -0.1px;
    vertical-align: middle;
    opacity: 1;
}

.trust-badge::before {
    content: "";
    position: absolute;
    inset: 0;

    /* border thickness */
    padding: 0.68px;

    /* border gradient */
    background: linear-gradient(90deg,
            #191818 0%,
            #666666 100%);

    /* perfect rounding */
    border-radius: inherit;

    /* mask magic */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}



.legal-footer {
    color: #fff;
    padding-bottom: 0px;
    width: 100%;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 10px;
    text-align: center;
    max-width: 270px;
    line-height: 1.5;
}

.green-link {
    color: var(--primary-green);
    text-decoration: underline;
}

/* Header */
/* Header */
.main-header {
    width: 100%;
    padding-bottom: 20px;
}

.header-top {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

.header-top.inline-layout {
    gap: 15px;
    margin-bottom: 0px;
    padding-bottom: 5px;
}

/* Logo Top + Inline Bottom Layout */
.header-logo-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-small-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-bottom-row {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 5px;
}

.progress-dots-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-dot {
    width: 12.43px;
    height: 12.43px;
    border-radius: 50%;
    background: #24262B !important;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.progress-dot.active {
    background: var(--primary-green) !important;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
}

.progress-dot-line {
    flex: 1;
    height: 4px;
    background: #2C2C2E;
    margin: 0 4px;
    border-radius: 2px;
}

.progress-dot-line.active {
    background: var(--primary-green);
}

button#backBtn svg {
    fill: transparent;
}

.back-btn {
    background: #24262B;
    border: none;
    padding: 0px !important;
    border-radius: 8px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: white;
    /* Ensure SVG inherits color */
}

.back-btn:hover {
    transform: scale(1.05);
}

.logo-small {
    font-weight: 600;
    color: #9abf8c;
}

/* Inline Layout Specifics */
.header-top.inline-layout .progress-container {
    flex: 1;
    margin-top: 0;
    /* Reset */
    margin-bottom: 0;
    width: auto;
    /* Let flex handle width */
}

.header-top.inline-layout .logo-small {
    flex: 0 0 auto;
    margin-right: 0;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    /* transition: height 0.3s, background-color 0.3s; handled by Elementor controls usually */
}

.progress-bar {
    height: 100%;
    background: var(--primary-green);
    width: 10%;
    /* Initial width */
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section-title {
    font-family: "Work Sans", Sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 32px !important;
    letter-spacing: -0.1px;
    color: #FFFFFF;
    max-width: 340px;
    margin-top: 0px !important;
    margin-bottom: 10px;
}

.section-sub {
    color: var(--gray-light);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.mt-auto {
    margin-top: auto;
}

/* === Screen 2: Age Cards === */
.card-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    border: none;
    padding: 0;
}

.selection-card {
    cursor: pointer;
    position: relative;
    display: block;
}

.selection-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.card-content {
    overflow: visible;
    border: 1px solid #A2A2A2;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    margin-top: 40px !important;
}

section#screen-7 h2.section-title {
    margin: 0px;
}

.big-freq-display {
    line-height: normal;
}

.selection-card:hover .card-content {
    border-color: var(--primary-green);
}

.selection-card input:checked+.card-content {
    border-color: var(--primary-green);
    background-color: #2C2C2E;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.card-img {
    aspect-ratio: 1;
    width: 100%;
    margin-top: -50px;
    background-position: center;
    background-size: cover;
}

.card-label {
    text-align: center;
    height: 44.372535705566406px;
    border-bottom-right-radius: 19.37px;
    border-bottom-left-radius: 19.37px;
    padding: 9.19px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* === Screen 3: Weight Picker === */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
}

button.control-btn {
    padding: 0px;
}

button.control-btn svg {
    width: 31.401115px;
    height: 31.401115px;
    display: flex;
}

.toggle-switch {
    background-color: #333;
    padding: 4px;
    display: flex;
    position: relative;
    border-radius: 421px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    flex: 1;
    text-align: center;
    z-index: 2;
    cursor: pointer;
    line-height: 36px;
    font-weight: 600;
    color: #888;
    transition: color 0.3s;
    border-radius: 20px;
}

.toggle-switch input:checked+label {
    background-color: white;
    color: black;
}

.weight-picker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
}

#screen-1 button.btn-primary {
    background: #fff;
}

.control-btn:active {
    transform: scale(0.9);
}

.weight-display {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
}

input.weight-display {
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    width: 110px;
    /* Increased width to accommodate 3 digits */
    padding: 0;
    margin: 0;
    cursor: text;
    outline: none;
}

/* Hide number input spinners */
input.weight-display::-webkit-outer-spin-button,
input.weight-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input.weight-display[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.unit-small {
    font-size: 1.5rem;
    font-weight: 600;
}

.input-label {
    color: #D4D7DF;
    margin-bottom: auto;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}

/* === Screen 4: Height === */
.height-display-box {
    margin: 4rem 0;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.height-display-box {
    line-height: normal;
}

.unit-xs {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.slider-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.round-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-green);
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
}

.round-btn.small {
    width: 36px;
    height: 36px;
}

.range-wrapper {
    flex: 1;
    position: relative;
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #666;
    cursor: pointer;
    margin-top: -10px;
    border: 2px solid #333;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #333;
    border-radius: 2px;
}

.linea-quiz-wrapper {
    height: 100%;
}

html.custom-quiz,
html.custom-quiz body,
html.custom-quiz body>.elementor,
.ctm-widget-quiz,
.ctm-widget-quiz>.elementor-container,
.elementor-widget-linea_quiz,
.elementor-widget-linea_quiz>.elementor-widget-container {
    height: 100%;
}

.weight-picker-container {
    margin: 4rem 0px auto;
}

.weight-display-container {
    display: flex;
    align-items: baseline;
    width: 140px;
    justify-content: center;
}

.options-list {
    margin: auto 0px;
}

form.vertical-options {
    margin: auto 0px !important;
}

p.section-sub.highlight-sub {
    margin-bottom: auto;
}

.big-freq-display {
    padding: 20px 0px 30px;
}

.ctm-widget-quiz {
    height: 100%;
}

.range-labels {
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 73%;
    color: #A3A3B3;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: auto;
    padding: 0 5px;
}

.range-labels span {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The vertical marker line (|) */
.range-labels span::before {
    content: '';
    width: 1px;
    height: 10px;
    background: #A3A3B3;
    margin-bottom: 5px;
}


/* === Screen 5: Goal Options === */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.option-item {
    cursor: pointer;
}

.option-item input {
    display: none;
}

.option-content {
    background-color: #111827;
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.radio-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radio-circle::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-green);
    opacity: 0;
    transition: opacity 0.2s;
}

.option-text {
    font-weight: 500;
    font-size: 1rem;
}

.option-item input:checked+.option-content {
    background-color: #1a1a1a;
    border-color: var(--primary-green);
}

.option-item input:checked+.option-content .radio-circle::after {
    opacity: 1;
}

/* === Screen 6: Workout Style Cards === */
.vertical-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    margin-bottom: 2rem;
}

.option-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
}

.option-card-content {
    display: flex;
    background-color: #111827;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.2s;
    align-items: center;
    padding: 8px;
}

.option-card:hover .option-card-content {
    border-color: #333;
}

.option-card input:checked+.option-card-content {
    border-color: var(--primary-green);
    background-color: #1a1a1a;
}

.opt-img-left {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-right: 1px solid #222;
    border-radius: 9px !important;
}

.opt-text-right {
    padding: 0 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.opt-text-right h3 {
    text-align: left;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: white;
    margin-top: 0px !important;
}

.opt-text-right p {
    text-align: left;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 0px;
}

/* === Screen 7: Frequency === */
.number-picker-strip {
    display: flex;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    background: #1B1F26B8;
    padding: 8px;
    border-radius: 27px;
    margin-bottom: 2rem;
    border: 1px solid #5E5E5E;
}

form.vertical-options {
    margin-top: 18px;
}

.num-box-label {
    cursor: pointer;
    position: relative;
}

.num-box-label input {
    position: absolute;
    opacity: 0;
}

p.section-sub.highlight-sub {
    color: #999999;
    font-size: 16px;
    max-width: 250px;
    line-height: 20px;
    letter-spacing: -0.3px;
    margin: 0px;
}

.num-box {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 21px;
    font-weight: 700;
    transition: all 0.2s;
    background: transparent;
    color: #BABBBE;
    font-size: 20px;
}

.num-box-label:hover .num-box {
    background: #222;
    color: white;
}

.num-box-label input:checked+.num-box {
    background: var(--primary-green);
    color: black;
    box-shadow: 0px 0px 0px 4px #C4C16140;
}

.highlight-sub {
    font-size: 0.85rem;
    margin-top: 0;
}

/* === Screen 8: Form === */
.lead-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 16px;
    background-color: #111827;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
}

/* Hide progress indicators and back button on result screen */
#mainHeader[data-screen="9"] .progress-dots-container,
#mainHeader[data-screen="9"] .progress-container,
#mainHeader[data-screen="9"] #backBtn {
    display: none !important;
}

#mainHeader[data-screen="9"] .header-bottom-row {
    justify-content: flex-start;
}

/* === Screen 9: Results === */
.video-placeholder-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #222;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.video-bg.placeholder-img {
    width: 100%;
    height: 100%;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bmi-widget {
    width: 100%;
    margin: 30px 0;
    position: relative;
    padding-top: 50px;
    padding-bottom: 0px;
}

.bmi-bubble {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    background: #D9D9D9 !important;
    color: #000;
    border-radius: 8px;
    padding: 8px 16px;
    position: absolute;
    top: 0px;
    left: 0;
    transform: translateX(-50%);
    white-space: nowrap;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.bmi-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #D9D9D9 transparent transparent transparent;
}

/* Adjust bubble arrow position when near edges if needed, but centering over marker is primary */

.bmi-numbers {
    position: relative;
    width: 94.5%;
    height: 20px;
    margin-bottom: 8px;
    margin-left: 10px;
    margin-right: 10px;
}

.bmi-numbers span {
    position: absolute;
    transform: translateX(-50%);
    font-size: 14px;
    color: #938C83;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    top: 0;
}

.bmi-bar-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.bmi-ticks-top,
.bmi-ticks-bottom {
    margin: 0px 10px;
    display: block;
    position: relative;
    width: 94.5%;
    height: 12px;
}

.tick {
    position: absolute;
    width: 1px;
    height: 100%;
    background: #374151;
    transform: translateX(-50%);
}

.bmi-bar {
    height: 10px;
    width: 100%;
    background: linear-gradient(to right,
            #00E5BC 0%,
            #4ADE80 25%,
            #FACC15 50%,
            #FB923C 75%,
            #EF4444 100%);
    border-radius: 100px;
    position: relative;
    z-index: 2;
}

.bmi-marker {
    width: 22.604761px;
    height: 22.604761px;
    background: #FFFFFF;
    border-radius: 50%;
    border: 3px solid #D9D9D9;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bmi-labels {
    position: relative;
    width: 100%;
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
}

.bmi-cat-label {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #938C83;
    text-transform: uppercase;
    line-height: 1.2;
    transition: color 0.3s ease, font-weight 0.3s ease;
    text-align: left;
}

.bmi-cat-label[data-cat="under"] {
    width: 100px;
}

.bmi-cat-label.active {
    color: #FFFFFF;
}


.stats-box {
    background: #111827;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: space-between;
}

.stats-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

p.final-desc {
    margin-bottom: 0px;
}

.stats-box {
    overflow: hidden;
}

.results-image-wrapper {
    position: absolute;
    right: 0px;
    bottom: 0px;
    margin-bottom: -20px;
}

.results-image-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    max-height: 155px;
}

#screen-9 .btn-primary {
    display: flex;
    padding: 10px 39px !important;
    white-space: break-spaces !important;
    justify-content: center;
    align-items: center;
    line-height: 24px;
}


.stat-badge {
    position: absolute;
    font-family: "Roboto", Sans-serif;
    top: 10px;
    right: 10px;
    background: #D9D9D9;
    color: #090909;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 5.4px;
}

.stat-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #1f2937;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #aaa;
    flex-shrink: 0;
}



.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text small {
    color: #938C83;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: -0.1px;
    margin-bottom: 2px;
    white-space: nowrap;
}

.stat-text strong {
    font-size: 14px;
    color: #EBEDF0;
    font-family: "Roboto", Sans-serif;
    line-height: normal;
    font-weight: 500 !important;
}

.height-display-box {
    width: 180px;
}

.stat-text {
    max-width: 165px;
}

.final-desc {
    font-size: 0.85rem;
    color: #EBE1D3;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: "Lato", Sans-serif;
}

.disclaimer-box {
    margin-top: 20px;
    border: 1px solid #DC1752;
    border-radius: 16px;
    padding: 16px;
    background: #2C0505;
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.disc-title {
    color: #EBE1D3;
    font-size: 14px;
    font-family: "Lato", Sans-serif;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer-box p {
    margin: 0px;
    color: #EBE1D3;
    font-family: "Lato", Sans-serif;
    font-size: 0.7rem;
    line-height: 1.4;
}