:root {
    --primary-color: #39A7A7;
    --secondary-color: #70757a;
    --bg-color: #f8fafb;
    --card-bg: #f5f5f5;
    --text-black: #000;
    --font-family: 'Inter', sans-serif;
    --transition-speed: 0.2s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-black);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#app {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 10px;
    position: relative;
    width: 100%;
}

.back-btn {
    position: absolute;
    left: -10px;
    top: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.back-btn svg {
    width: 24px;
    height: 24px;
    color: #4a4a4a;
}

.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.logo span {
    letter-spacing: -0.5px;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: #eef5f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

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

.step-container {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.small-headline {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8c9298;
    margin-bottom: 5px;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 0px;
    color: #000;
    line-height: 1.1;
}

h1.small-h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    margin-bottom: 35px;
}

.gender-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card {
    background: #f1f3f4;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card:active {
    transform: scale(0.97);
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1.4;
    object-fit: cover;
    display: block;
}

.card-label {
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 0;
}

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

.card-horizontal {
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    border: 1px solid #ebedef;
    min-height: 85px;
}

.card-horizontal:active {
    transform: scale(0.98);
}

.card-horizontal-label {
    font-weight: 700;
    font-size: 1.25rem;
    color: #6d747a;
}

.card-horizontal-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
}

.btn-option {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #ebedef;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6d747a;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
}

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

.left-image-layout {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.layout-left {
    flex: 1;
}

.layout-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.layout-image {
    width: 100%;
    object-fit: contain;
}

.card-horizontal-emoji {
    font-size: 1.8rem;
}

.card-horizontal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
}

.options-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card-half {
    padding-left: 10px;
    min-height: 65px;
}

.card-half .card-horizontal-label {
    font-size: 1rem;
}

.card-half .card-horizontal-image {
    width: 60px;
    height: 65px;
}

.social-proof-container {
    text-align: center;
}

.social-proof-image {
    width: 90%;
    max-width: 320px;
    margin: 15px auto 15px;
    display: block;
    border-radius: 15px;
}

.testimonial-main-image {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ebedef;
    text-align: left;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.testimonial-text {
    font-size: 1rem;
    color: #6d747a;
    line-height: 1.5;
}

/* Multi-selection styles */
.card-multi {
    background: #f8f9fa;
    border: 1px solid #ebedef;
    border-radius: 15px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.card-multi.selected {
    border-color: var(--primary-color);
    background-color: #f0f7f7;
}

.card-multi-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-multi-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.card-multi-emoji {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.card-multi-text-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-multi-label {
    font-weight: 700;
    font-size: 1.15rem;
    color: #4a4a4a;
}

.card-multi-description {
    font-size: 0.95rem;
    color: #8c9298;
    font-weight: 400;
}

.card-multi-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
}

.card-multi.selected .card-multi-checkbox {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.card-multi.selected .card-multi-checkbox::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.subtitle-colored span {
    color: var(--primary-color);
}

.subtitle-text {
    font-size: 1.1rem;
    color: #000;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
    padding: 0 10px;
}

.food-category-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 25px 0 15px;
    color: #000;
}

.food-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.food-grid-item {
    background: #f8f9fa;
    border: 1px solid #ebedef;
    border-radius: 15px;
    padding: 16px 10px;
    text-align: left;
    padding-left: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #98a0a6;
    cursor: pointer;
    transition: all 0.2s;
}

.food-grid-item.selected {
    border-color: var(--primary-color);
    background-color: #f0f7f7;
    color: #4a4a4a;
}

.info-footer-box {
    background-color: #F0FBF7;
    border-radius: 12px;
    padding: 24px;
    margin-top: 25px;
    color: #39A7A7;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    animation: fadeIn 0.5s ease;
}

.info-footer-box b {
    display: block;
    font-weight: 800;
    margin-bottom: 5px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    margin-top: 12px;
}

.btn-primary:active {
    transform: scale(0.98);
    background-color: #0d8a75;
}
.height-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.unit-toggle {
    display: flex;
    background: #f1f3f5;
    border-radius: 20px;
    padding: 4px;
    margin-bottom: 30px;
}

.unit-btn {
    border: none;
    background: none;
    padding: 6px 20px;
    border-radius: 16px;
    font-weight: 700;
    color: #8c9298;
    cursor: pointer;
    transition: all 0.2s;
}

.unit-btn.active {
    background: var(--primary-color);
    color: white;
}

.height-display {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.height-display span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 4px;
}

.ruler-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    margin-bottom: 20px;
}

.ruler-container:active {
    cursor: grabbing;
}

.ruler-track {
    position: absolute;
    display: flex;
    align-items: flex-start;
    height: 100%;
    transition: transform 0.1s ease-out;
}

.ruler-marker {
    flex-shrink: 0;
    width: 1px;
    height: 40px;
    border-left: 1px solid #ced4da;
    position: relative;
    margin: 0 5px; /* Adjust spacing to match 11px per step (1px line + 10px total margins) */
}

.ruler-marker.minor {
    height: 16px;
}

.ruler-marker.medium {
    height: 32px;
    border-left-color: #adb5bd;
}

.ruler-marker.major {
    height: 48px;
    border-left: 2px solid #6d747a;
}

.imc-alert-box {
    background-color: #f0faf8;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    border-left: 4px solid var(--primary-color);
}

.imc-alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0d8a75;
    margin-bottom: 10px;
}

.imc-alert-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.5;
}

.input-group {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #8c9298;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 16px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    transition: border-color 0.2s;
    background-color: white;
}

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

.info-alert-box {
    background-color: #f0faf8;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    text-align: left;
}

.info-alert-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0d8a75;
    margin-bottom: 12px;
    line-height: 1.4;
}

.info-alert-text {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.bmi-section {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.bmi-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.bmi-subtitle {
    font-size: 0.9rem;
    color: #8c9298;
    margin-bottom: 20px;
}

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

.bmi-bar {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #48c78e 0%, #ffe08a 50%, #f14668 100%);
    position: relative;
    top: 10px;
}

.bmi-thumb {
    position: absolute;
    top: -2px;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.bmi-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8c9298;
    font-weight: 600;
    margin-top: 15px;
}

.bmi-body-image {
    width: 100%;
    max-width: 280px;
    display: block;
    margin: 0 auto;
}

.warning-box {
    background-color: #fff9db;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.warning-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #f59f00;
    margin-bottom: 12px;
}

.warning-text {
    font-size: 0.95rem;
    color: #6d747a;
    line-height: 1.5;
}

.chart-container {
    width: 100%;
    margin: 30px 0;
    position: relative;
    padding: 10px;
    background: #fff;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
}

.chart-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.chart-grid {
    stroke: #f1f1f1;
    stroke-width: 1;
    stroke-dasharray: 4;
}

.chart-path {
    fill: none;
    stroke: url(#chartGradient);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.chart-area {
    fill: url(#areaGradient);
    opacity: 0.15;
}

.chart-dot {
    stroke: #fff;
    stroke-width: 3;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.1));
}

.chart-label {
    position: absolute;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.chart-label.vos {
    background-color: #f14668;
}

.chart-label.meta {
    background-color: #48c78e;
}

.subtitle-highlight {
    display: block;
    margin-top: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: #333;
    text-decoration: underline;
}

.highlighted-result {
    font-size: 1.3rem;
    font-weight: 800;
    text-decoration: underline;
    margin: 20px 0;
    display: block;
}

.loading-progress-container {
    width: 100%;
    margin: 40px 0;
}

.loading-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.loading-bar-bg {
    width: 100%;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.status-text {
    margin-top: 15px;
    font-weight: 600;
    color: #495057;
}

.status-subtext {
    color: #8c9298;
    font-size: 0.95rem;
    margin-top: 5px;
}

.social-proof-section {
    margin-top: 40px;
    text-align: center;
}

.social-count {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.social-desc {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 20px;
}

.testimonial-carousel {
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-img-card {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Sales Page */
.sales-page {
    text-align: center;
    padding-bottom: 60px;
}

.transformation-container {
    background-color: #fff9ed;
    border-radius: 20px;
    margin: 20px 0;
    overflow: hidden;
}


.transformation-img {
    width: 100%;
    margin-bottom: -5px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.comparison-col h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: left;
}

.stat-item {
    text-align: left;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
}

.stat-value {
    font-size: 0.85rem;
    color: #8c9298;
    margin-bottom: 5px;
    display: block;
}

.stat-bar-bg {
    width: 100%;
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    position: relative;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.stat-bar-fill.red {
    background-color: #f14668;
}

.stat-bar-fill.green {
    background-color: #48c78e;
}

.stat-dot {
    position: absolute;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border: 3px solid #ddd;
    border-radius: 50%;
    transform: translateX(-50%);
}

.light-green-box {
    background-color: #e6fffa;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.light-green-box h2 {
    color: #000;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-list {
    margin-top: 40px;
}

.feature-item {
    margin-bottom: 35px;
}

.feature-title {
    background-color: #ffd43b;
    display: inline-block;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 2px 5px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.feature-text {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
}

.offer-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 35px;
}

.offer-ribbon {
    background-color: #1a9c8b;
    color: white;
    font-weight: 700;
    padding: 7px;
    font-size: 0.95rem;
    text-align: center;
}

.offer-body {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.offer-title {
    font-weight: 800;
    font-size: 1.15rem;
    text-align: left;
    max-width: 50%;
    line-height: 1.2;
    color: #121212;
}

.price-box {
    background-color: #f1f3f5;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: right;
    width: fit-content;
}

.old-price {
    font-size: 0.8rem;
    color: #70757a;
}

.new-price {
    font-weight: 800;
    font-size: 1.7rem;
    display: block;
    color: #000;
    line-height: 1;
    margin: 3px 0;
}

.price-sub {
    font-size: 0.75rem;
    color: #70757a;
    font-weight: 500;
}

.timer-box {
    background-color: #fff0f6;
    border-radius: 10px;
    padding: 12px;
    margin: 8px 0;
    color: #f14668;
    font-weight: 700;
}

.trust-badges-img {
    width: 90%;
    margin-top: 15px;
}

.transformation-grid-section {
    margin-top: 50px;
}

.transformation-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.trans-img {
    width: 100%;
    border-radius: 12px;
}

.video-section {
    margin-top: 40px;
}

.video-container {
    position: relative;
    padding-bottom: 177.77%; /* 9:16 aspect ratio for shorts */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 20px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.guarantee-section {
    margin-top: 60px;
    padding: 20px;
}

.guarantee-seal {
    width: 200px;
    margin: 0 auto 20px;
    display: block;
}

.guarantee-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.guarantee-text {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
}

.guarantee-email {
    font-weight: 700;
    color: #333;
    display: block;
    margin-top: 15px;
}

.ruler-label {
    position: absolute;
    top: 70px;
    left: -15px;
    width: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #8c9298;
    font-weight: 600;
}

.ruler-indicator {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 80px;
    background-color: var(--primary-color);
    z-index: 2;
    border-radius: 2px;
}

.ruler-indicator::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid var(--primary-color);
}

.drag-hint {
    font-size: 0.9rem;
    color: #8c9298;
    margin-bottom: 30px;
}
