:root {
    /* Color Palette - Premium Modern Dark */
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --card-hover: #1f1f1f;
    --primary: #5271ff;
    /* Electric Blue */
    --primary-glow: rgba(82, 113, 255, 0.4);
    --accent: #00f0ff;
    /* Cyan Accent */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --success: #00ff9d;

    /* Layout */
    --max-width: 480px;
    /* Mobile focused max width */
    --radius: 16px;
    --header-height: auto;
}

.main-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0 20px 0;
}

.brand-logo {
    height: 150px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    background: radial-gradient(circle at top right, #1a1a1a, var(--bg-color));
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    /* Stack Quiz and Footer */
    align-items: center;
    /* Center Horizontally */
    justify-content: center;
    /* Center Vertically */
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* ... existing code ... */

/* Social Proof Carousel - Discreet */
.date-box {
    margin: 10px 0 0 0;
    text-align: center;
    opacity: 0.7;
    /* Discreet */
    transition: opacity 0.3s;
}

.date-box:hover {
    opacity: 1;
}

.proof-carousel {
    display: flex;
    justify-content: center;
    /* Center images */
    gap: 8px;
    padding: 5px;
}

.proof-img {
    width: 90px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    filter: grayscale(100%);
    filter: brightness(0.8);
    transition: all 0.3s ease;
}

.proof-img:hover {
    transform: scale(1.2);
    /* Pop on hover */
    filter: brightness(1);
    border-color: var(--primary);
    z-index: 10;
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Container */
.app-container {
    width: 100%;
    max-width: var(--max-width);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
    text-align: center;
}

.progress-bar-bg {
    width: 100%;
    height: 6px;
    background-color: var(--card-bg);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 0 10px var(--primary-glow);
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Steps Common */
.step {
    display: none;
    /* Hidden by default */
    width: 100%;
}

.step.active-step {
    display: block;
}

.animate-in {
    animation: slideInRight 0.4s ease-out forwards;
}

.animate-out {
    animation: slideOutLeft 0.3s ease-in forwards;
}

/* Typography */
.question-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.question-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Grids & Cards */
.options-grid {
    display: grid;
    gap: 12px;
    /* reduced gap */
}

.user-type-grid {
    grid-template-columns: 1fr 1fr;
    /* Force side-by-side */
}

.physique-grid {
    grid-template-columns: 1fr 1fr;
    /* 2 cols for physiques */
}

/* Option Card */
.option-card {
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 15px;
    /* Reduced padding */
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.option-card:hover,
.option-card:active {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.option-card h3 {
    margin-top: 10px;
    font-size: 1rem;
    color: white;
    /* Changed from var(--text-main) */
}

.option-card span {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    /* Explicitly white */
}

.img-wrapper {
    width: 70px;
    /* Reduced */
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.photo-wrapper {
    overflow: hidden;
    padding: 0;
    width: 100%;
    /* Responsive fill like Step 2 */
    height: 180px;
    /* Reduced from 250px */
    border-radius: var(--radius);
    /* Rounded Rect like Step 2 */
    border: 1px solid var(--border-color);
    /* Same border */
    margin-bottom: 8px;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Ensure face is not cropped */
    transition: transform 0.3s ease;
}

.photo-wrapper-rect {
    overflow: hidden;
    padding: 0;
    width: 100%;
    height: 180px;
    /* Reduced from 250px */
    border-radius: var(--radius);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

.gender-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#img-obese {
    /* Real photo used, no transform needed */
    object-position: top center;
}

.option-card:hover .gender-photo {
    transform: scale(1.1);
}

.option-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    transition: transform 0.3s ease;
}

.option-card:hover .option-icon {
    transform: scale(1.1);
}

/* List Options (Age, Goal) */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-row {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.option-row:hover,
.option-row:active {
    background: var(--card-hover);
    border-color: var(--primary);
}

.row-icon {
    font-size: 1.5rem;
    margin-right: 16px;
}

.row-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    border: 2px solid var(--border-color);
}

.row-text {
    flex: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    /* Changed to white */
}

.chevron {
    color: var(--text-muted);
    font-size: 1.5rem;
}

/* Results Page */
.result-container {
    text-align: center;
}

.urgency-title {
    color: var(--success);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.result-card {
    background: linear-gradient(145deg, var(--card-bg), #0f0f0f);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.solution-box {
    background: rgba(82, 113, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    text-align: left;
}

.solution-list {
    list-style: none;
    margin-top: 10px;
}

.solution-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Old social proof styles removed */

/* CTA */
.primary-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), #3a5af0);
    padding: 20px;
    border-radius: 99px;
    text-decoration: none;
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
    animation: pulse 2s infinite;
}

/* Footer Proof */
.persistent-footer {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-text {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Transformation Image */
.transformation-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    border: 2px solid var(--success);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
    display: block;
    margin: 0 auto;
    transition: transform 0.5s ease;
}

.transformation-img:hover {
    transform: scale(1.02);
}

.hidden {
    display: none !important;
}

.cta-sub {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 4px;
}

/* Mobile Responsive */
@media (max-width: 380px) {
    .question-title {
        font-size: 1.8rem;
    }

    .option-card {
        padding: 15px;
    }
}

/* =========================================
   LANDING PAGE STYLES (High Conversion)
   ========================================= */

.lp-hero {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 60px;
    height: 60px;
    background: var(--success);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}

.checkmark-circle svg {
    width: 32px;
    height: 32px;
    color: #000;
}

.lp-headline {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.lp-subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Sections */
.lp-section {
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title-sm {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 15px;
}

.section-text-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-top: 10px;
}

/* Recap Box */
.recap-box {
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
}

.recap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.recap-item {
    display: flex;
    flex-direction: column;
}

.recap-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.recap-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.recap-note {
    font-size: 0.95rem;
    color: #fff;
}

.check-icon {
    color: var(--success);
    font-weight: bold;
}

/* Pain Points */
.pain-point-list {
    list-style: none;
    text-align: left;
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    display: inline-block;
    width: 100%;
}

.pain-point-list li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #ffcccc;
}

.pain-point-list li:last-child {
    margin-bottom: 0;
}

/* Solution Box */
.solution-card {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(82, 113, 255, 0.15);
    border-radius: var(--radius);
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.sol-title {
    color: var(--primary);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.sol-subtitle {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
}

.sol-desc {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 25px;
}

.benefit-list {
    list-style: none;
    text-align: left;
}

.benefit-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #e0e0e0;
}

/* Authority */
.auth-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.auth-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Offer Box */
.offer-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.offer-item {
    display: flex;
    align-items: center;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
}

.offer-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* CTA Pulse Faster */
.pulse-fast {
    animation: pulse 1.5s infinite;
}

.guarantee-text {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Mobile Responsive Tweaks */
@media (max-width: 480px) {
    .question-title {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .question-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Reduce Card Size */
    .option-card {
        padding: 12px;
    }

    .photo-wrapper,
    .photo-wrapper-rect {
        height: 160px;
        /* Reduced from 250px */
        margin-bottom: 8px;
    }

    .img-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .option-card h3,
    .option-card span {
        font-size: 0.95rem;
        margin-top: 8px;
    }

    /* Compact Grid gaps */
    .options-grid {
        gap: 10px;
    }

    .user-type-grid {
        grid-template-columns: 1fr 1fr;
        /* Force 2 columns on mobile for gender */
    }

    .physique-grid {
        grid-template-columns: 1fr 1fr;
        /* Ensure 2 columns */
    }

    /* List Options (Age/Goal) Compact */
    .option-row {
        padding: 12px;
        gap: 10px;
    }

    .row-img {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }

    .row-text {
        font-size: 1rem;
    }

    /* Landing Page Mobile Tweaks */
    .lp-headline {
        font-size: 1.5rem;
    }

    .recape-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lp-hero {
        padding: 20px 10px;
    }
}