/* ============================================================
   ZO Skin Health – 5 Step System    Vertical 4K UHD (2160 × 3840) Interactive Presentation
   ============================================================ */

/* --- Schengen A (local) --- */

@font-face {
    font-family: 'Schengen A Light';
    src: url('../assets/fonts/SchengenBeta240307-SchengenALight.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Schengen A Light Italic';
    src: url('../assets/fonts/SchengenBeta240307-SchengenALightItalic.woff2') format('woff2');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Schengen A Regular';
    src: url('../assets/fonts/SchengenBeta240307-SchengenARegular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Schengen A Regular Italic';
    src: url('../assets/fonts/SchengenBeta240307-SchengenARegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Schengen A Book';
    src: url('../assets/fonts/SchengenBeta240307-SchengenABook.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Schengen A Book Italic';
    src: url('../assets/fonts/SchengenBeta240307-SchengenABookItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}


/* --- CSS Custom Properties --- */
:root {
    --viewport-w: 2160px;
    --viewport-h: 3840px;

    /* Colors */
    --color-bg-dark: #0f1d33;
    --color-bg-overlay: rgba(15, 29, 51, 0.6);
    --color-glass: rgba(255, 255, 255, 0.10);
    --color-glass-border: rgba(255, 255, 255, 0.18);
    --color-glass-strong: rgba(255, 255, 255, 0.15);
    --color-white: #ffffff;
    --color-text-primary: #ffffff;
    --color-text-secondary: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.5);
    --color-accent-navy: #141464;
    --color-accent-blue: #2b2ba0;
    --color-correct-green: #4CAF50;
    --color-modal-bg: #ffffff;
    --color-modal-text: #1a1a1a;
    --color-modal-muted: #666666;
    --color-input-border: #e0e0e0;
    --color-thankyou-bg: #f5f5f5;
    --color-thankyou-text: #2b2ba0;

    /* Typography */
    --font-heading: 'Schengen A Light';
    --font-light: 'Schengen A Light';
    --font-regular: 'Schengen A Regular';
    --font-jakarta: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;

    /* Spacing */
    --pad-section: 160px;
    --pad-card: 80px;
    --radius-card: 40px;
    --radius-btn: 100px;
    --radius-input: 20px;

    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.7s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: var(--viewport-w);
    height: var(--viewport-h);
    overflow: hidden;
    font-family: var(--font-light);
    font-size: 32px;
    color: var(--color-text-primary);
    background: var(--color-bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

button:focus {
    outline: none;
}



/* --- App Container --- */
#app {
    width: var(--viewport-w);
    height: var(--viewport-h);
    position: relative;
    overflow: hidden;
}

/* --- Background --- */
.app-background {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--viewport-w);
    height: var(--viewport-h);
    z-index: 0;
    background: var(--color-bg-dark);
}

.app-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




/* White filter overlay for the target slide during Z-wipe transition */
.z-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 4;
    /* above background but below z-panels */
    pointer-events: none;
}

/* --- Z-Wipe Overlay (no longer used, kept for safety) --- */

/* --- Header / Logo --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--viewport-w);
    height: 400px;
    display: flex;
    align-items: center;
    padding: 0 var(--pad-section);
    z-index: 100;
    background: #ffffff;
    padding-left: 120px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 197px;
    width: auto;
}

/* --- Step Indicator (left side) --- */
.step-indicator {
    position: fixed;
    left: 72px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    height: calc(100% - 400px);
    align-items: center;
    gap: 0px;
    z-index: 90;
    transition: opacity var(--transition-medium);
    justify-content: center;
    margin-top: 200px;
}

.step-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.step-indicator-line {
    width: 4px;
    height: 80px;
    background: #ffffff;
}

.step-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 49%;
    width: 4px;
    height: 30.7%;
    background: #ffffff;
    z-index: 0;
}

.step-indicator::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 49%;
    width: 4px;
    height: 30.7%;
    background: #ffffff;
    z-index: 0;
}

.step-dot {
    width: 202px;
    height: 202px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-sizing: border-box;
    /* Ensures padding does not mutate dimension logic */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Manual Optical Centering */
    padding-top: 25px;
    padding-right: 3px;
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 200;
    line-height: 1;
    color: #ffffff;
    background: transparent;
    transition: background-color 1.2s ease, color 1.2s ease, border-color 1.2s ease, box-shadow 1.2s ease;
    cursor: default;
    position: relative;
}

.step-dot.active {
    background: var(--color-white);
    color: var(--color-bg-dark);
    border-color: var(--color-white);

    box-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
}

.step-dot.completed {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

/* --- Slides Container --- */
.slides-container {
    position: relative;
    width: var(--viewport-w);
    height: var(--viewport-h);
    z-index: 10;
}

/* --- Single Slide --- */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--viewport-w);
    height: var(--viewport-h);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    padding: 630px 120px var(--pad-section) 120px;
    overflow-y: auto;
    scrollbar-width: none;
}

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

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Slide with step content (padded for step indicator) */
.slide.has-steps {
    padding-left: 430px;
}

/* --- Intro Slide (Section 1) --- */
.slide-intro {
    justify-content: flex-start;
    padding-top: 520px;
}

.slide-intro>.intro-content {
    display: none;
    /* hide the original one */
}

.z-panel .intro-content {
    position: absolute;
    top: 920px;
    bottom: 500px;
    left: 128px;
    right: var(--pad-section);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 160px;
    z-index: 6;
}

.intro-title {
    font-family: var(--font-heading);
    font-size: 175px;
    font-weight: 200;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: auto;
}

.intro-cta {
    align-self: flex-end;
    margin-top: auto;
    margin-bottom: 0px;
}

/* --- Z-Shape SVG Overlay --- */
.z-shape {
    position: absolute;
    top: 520px;
    left: 128px;
    width: 1867px;
    height: 3189px;
    pointer-events: none;
    z-index: 4;
    opacity: 1;
}

/* --- Z-Split Panels --- */
/* Two panels that together cover the full intro slide,
   split along the Z diagonal (top-right → bottom-left).
   Each panel carries its own copy of the background so it
   can fly away independently. */
.z-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    z-index: 2;
}

/* Top panel: everything ABOVE 13% */
.z-panel-top {
    clip-path: polygon(0% 0%, 100% 0%, 100% 13.5%, 0% 13.5%);
}

/* Upper panel: left diagonal */
.z-panel-upper {
    clip-path: polygon(0% 13.4%, 88.5% 13.4%, 12% 96.55%, 0% 96.55%);
}

/* Lower panel: right diagonal */
.z-panel-lower {
    clip-path: polygon(88% 13.4%, 100% 13.4%, 100% 96.55%, 12% 96.55%);
}

/* Bottom panel: everything BELOW 87% */
.z-panel-bottom {
    clip-path: polygon(0% 96.5%, 100% 96.5%, 100% 100%, 0% 100%)
}

/* Inner background that fills each panel —
   uses the same image as app-background so it looks seamless */
.z-panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--viewport-w);
    height: var(--viewport-h);
    background-image: url('../assets/images/home-background.png');
    background-size: cover;
    background-position: center;
}



/* --- Z-Wipe Overlay (no longer used, kept for safety) --- */
.z-wipe-overlay {
    display: none;
}

/* --- CTA Button (pill, outlined) --- */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 56px 108px 32px 108px;
    border: 4px solid var(--color-white);
    border-radius: var(--radius-btn);
    font-family: var(--font-light);
    font-size: 56px;
    font-weight: 500;
    color: var(--color-white);
    background: transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cta-btn.introCtaBtn {
    padding: 89px 157px;
    border-radius: 150px;
    font-size: 87px;
    font-weight: 500;
    font-family: var(--font-jakarta);
}

/* --- Next Step Button --- */
.next-step-btn {
    position: absolute;
    bottom: 250px;
    right: 120px;
    z-index: 80;
    padding: 90px 188px 70px 188px;
    border: 4px solid var(--color-white);
    border-radius: 200px;
    font-family: var(--font-light);
    font-size: 82px;
    font-weight: 300;
    color: var(--color-white);
    background: transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.next-step-btn:hover {
    background: rgba(255, 255, 255, 0.12);

}

.next-step-btn.hidden {
    opacity: 0;
    pointer-events: none;
}


/* --- Step Slide Content --- */
.step-header {
    margin-bottom: 30px;
    height: 460px;
    flex-shrink: 0;
    overflow: visible;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 229px;
    font-weight: 200;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 0;
    position: relative;
}

.step-title .regSign {
    position: absolute;
    top: -20px;
    left: 475px;
    font-size: 150px;
    line-height: 1;
}

.step-subtitle {
    font-family: var(--font-light);
    font-size: 69px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.4;
}

/* --- Glass Card (info card) --- */
.glass-card {
    padding: var(--pad-card);
    margin-bottom: 94px;
    background: rgba(255, 255, 255, 0.17);
    border-radius: 68.98px;
    border: 4.60px rgba(255, 255, 255, 0.01) solid;
    backdrop-filter: blur(68.98px);
    -webkit-backdrop-filter: blur(68.98px);
    transform: translateZ(0);
    will-change: transform, opacity, backdrop-filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.glass-card-inner {
    display: flex;
    gap: 120px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.glass-card-text {
    font-family: var(--font-light);
    font-weight: 300;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 70px;
    height: -webkit-fill-available;
}

#slide-2 .glass-card-text {
    gap: 40px;
}


#slide-4 .glass-card-text {
    gap: 150px;
}


.glass-card-text p {
    font-size: 46px;
    line-height: 78px;
    margin-bottom: 40px;
    font-weight: 300;
    color: var(--color-text-secondary);
}


#slide-2 .glass-card-text p {
    max-width: 600px;
}

#slide-2 .quiz-section {
    min-height: 1026px;
}

.glass-card-image {
    flex: 0 0 528px;
    max-width: 528px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    justify-content: space-between;
    height: -webkit-fill-available;
}

.glass-card-image img {
    width: 100%;
    height: auto;
    border-radius: 9.20px
}

/* Clinical Studies link */
.clinical-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    font-size: 46px;
    font-weight: 200;
    color: var(--color-text-secondary);
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: color var(--transition-fast);
}

.clinical-link:hover {
    color: var(--color-white);
}

.clinical-link svg,
.clinical-link img {
    width: 40px;
    height: 47px;
    fill: currentColor;
}

.product-card .clinical-link {
    justify-content: center;
    margin-bottom: 43px;
}

.view-products-btn {
    width: 560px;
    padding: 27px 50px 16px 50px;
    border: 2px solid #ffffff;
    border-radius: 100px;
    font-family: var(--font-light);
    font-size: 46px;
    font-weight: 300;
    color: var(--color-white);
    background: transparent;
    transition: all var(--transition-fast);
    cursor: pointer;
    white-space: nowrap;
}

.view-products-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.product-card-btn {
    width: 575px;
    align-self: center;
    padding: 38px 45px 30px 45px;
    border: 2px solid #ffffff;
    border-radius: 100px;
    font-family: var(--font-light);
    font-size: 46px;
    color: var(--color-white);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 50px;
    position: relative;
    z-index: 100 !important;
    pointer-events: auto !important;
}

.product-card-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Quiz Section --- */
.quiz-section {
    background: var(--color-glass-strong);
    border: 2px solid var(--color-glass-border);
    border-radius: 68.98px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--pad-card);
    transform: translateZ(0);
    /* Hardware acceleration fix for blur blink */
    will-change: transform, opacity, backdrop-filter;
}

.quiz-label {
    font-size: 50px;
    font-weight: 200;
    /* font-family: var(--font-light); */
    color: var(--color-text-secondary);
    margin-bottom: 65px;

}

.quiz-label.title {
    font-weight: 400;
    font-family: var(--font-regular);
}

.quiz-question {
    font-family: var(--font-regular);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-white);
    margin-bottom: 56px;
}

.quiz-question strong {
    font-weight: 500;
}

.quiz-question.question2 {
    font-size: 46px;
    font-weight: 200;
    line-height: 78.18px;
}

#slide-4 .quiz-question {
    margin-bottom: 100px;
    font-size: 45.99px;
    font-weight: 200;
    line-height: 78.18px;
}

#slide-4 .quiz-label {
    margin-bottom: 73px;
}

#slide-4 .quiz-section {
    min-height: 900px;
}


#slide-5 .quiz-question {
    font-size: 45.99px;
    font-weight: 200;
    line-height: 103.93px;
    margin-bottom: 191px;
}

#slide-5 .quiz-section {
    min-height: 820px;
}

#slide-1 .quiz-section {
    min-height: 710px;
}

#slide-1 .quiz-question {

    margin-bottom: 100px;
}



.quiz-options.unanswered .quiz-btn {
    outline: 4px solid #e53935 !important;
    will-change: outline;
}

.poll-chart.unanswered .poll-bar-group .poll-bar-radio {
    border: 4px solid #e53935 !important;
    will-change: border;

}

.quiz-options {
    display: flex;
    gap: 40px;
}

.quiz-options.vertical {
    flex-direction: column;
}

.quiz-btn {
    flex: 1;
    padding: 46px 56px 28px 56px;
    border-radius: 28px;
    font-size: 46px;
    font-weight: 400;
    color: var(--color-white);
    text-align: center;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border var(--transition-fast);
    background: rgba(255, 255, 255, 0.16);
    border-radius: 459.86px;
}

#quiz-strength .quiz-btn {
    font-family: var(--font-regular);
    font-weight: 400;
    padding: 40px 42px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 68.98px;
    font-size: 45.99px;
    line-height: 63.77px;
    text-align: start;
}

.quiz-btn:hover {
    background: rgba(255, 255, 255, 0.42) !important;
}

.quiz-btn.selected {
    background: rgba(255, 255, 255, 0.45) !important;
}

.quiz-btn.correct {
    background: rgba(255, 255, 255, 0.45) !important;
}

.quiz-btn.incorrect {
    background: rgba(255, 255, 255, 0.45) !important;
}



/* Multi-select quiz options */
.quiz-options.multi-select {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.quiz-btn.multi {
    padding: 45px 43px;
    font-size: 46px;
    line-height: 1.35;
    font-weight: 400;
    line-height: 63.77px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 68.98px;
    text-align: start;
}

.quiz-btn.multi.selected {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
}

/* --- Quiz Feedback --- */
.quiz-feedback {
    display: none;
}

.quiz-feedback.visible {
    display: block;
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 73px;
}

.feedback-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feedback-icon svg {
    width: 44px;
    height: 44px;
    fill: #224473;
}

.feedback-status {
    font-size: 50px;
    font-weight: 200;
    color: var(--color-text-secondary);
}

.feedback-status strong {
    color: var(--color-white);
}

.feedback-answer-title {
    font-family: var(--font-heading);
    font-size: 78px;
    font-weight: 200;
    color: var(--color-white);
    margin-bottom: 32px;
}

.feedback-explanation {
    font-size: 46px;
    line-height: 1.6;
    font-weight: 200;
    color: var(--color-text-secondary);
}

/* --- Poll Section (Step 3 / Correct) --- */
.poll-section {
    background: var(--color-glass-strong);
    border: 2px solid var(--color-glass-border);
    border-radius: 68.98px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--pad-card);
    margin-right: 120px;
    transform: translateZ(0);
    will-change: transform, opacity, backdrop-filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

#slide-3 {
    padding-right: 0 !important;
}

.poll-label {
    color: var(--color-white);
    margin-top: 40px;
    margin-bottom: 60px;
    font-size: 50.58px;
    font-weight: 600;
    line-height: 96px;
}

.poll-question {
    color: var(--color-white);
    margin-bottom: 60px;
    font-size: 46px;
    line-height: 82px;
    font-weight: 300;
}

.poll-subquestion {
    color: var(--color-white);
    margin-bottom: 80px;
    font-size: 70px;
    line-height: 100px;
    font-weight: 300;
}

.poll-label,
.poll-question,
.poll-subquestion {
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), margin 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.poll-content.compacted .poll-label,
.poll-content.compacted .poll-question,
.poll-content.compacted .poll-subquestion,
.poll-content.answered .poll-label,
.poll-content.answered .poll-question,
.poll-content.answered .poll-subquestion {
    max-height: 0px !important;
    opacity: 0 !important;
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

/* Poll Bar Chart */
.poll-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
    transition: height 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.poll-content.compacted .poll-chart {
    height: auto;
    align-items: flex-start;
    margin-bottom: 0px;
}

.poll-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.poll-bar-track {
    width: 76px;
    height: 370px;
    background: rgba(255, 255, 255, 0.30);
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
    transition: height 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), width 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.poll-content.expanded .poll-bar-track {
    height: 600px;
}

.poll-content.compacted .poll-bar-track {
    order: 1;
    height: 149px;
    margin-bottom: 12px;
    width: 74px;
}

.poll-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 40px;
    background: #FFFFFF;
    transition: height 2s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 0;
    top: auto;
}

.poll-bar-percent {
    order: 2;
    font-size: 36px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.poll-bar-radio {
    width: 71px;
    height: 71px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    margin-bottom: 16px;
    transition: all 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    order: 3;
}

.poll-bar-group.selected .poll-bar-radio {
    background: var(--color-white);
    border-color: var(--color-white);
}

.poll-bar-label {
    color: var(--color-white);
    text-align: center;
    font-size: 33px;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 20px;
    order: 4;
}

.poll-chart.revealed .poll-bar-percent {
    opacity: 1;
    display: block;
}

.poll-content.compacted .poll-bar-percent {
    display: block;
    order: 2;
    opacity: 1;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
    margin-top: 10px;
}

.poll-content.compacted .poll-bar-radio,
.poll-content.answered .poll-bar-radio {
    height: 0px;
    opacity: 0;
    margin-bottom: 0px;
    border-width: 0px;
    overflow: hidden;
}

.poll-content.compacted .poll-bar-label {
    order: 3;
    font-size: 33px;
    font-weight: 200;
}

.poll-thanks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
    max-height: 0px;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), margin 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.poll-thanks.visible {
    max-height: 300px;
    opacity: 1;
    margin-bottom: 70px;
}

.poll-thanks-text {
    font-size: 50.58px;
    font-weight: 400;
    line-height: 95.65px;
    color: var(--color-text-secondary);
}

.poll-thanks-collapse {
    width: 114px;
    height: 133px;
    border-radius: 16px;
    background: #96AABC;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: -13px;
    border-top-left-radius: 4.60px;
    border-top-right-radius: 4.60px;
    border-bottom-right-radius: 32.19px;
    border-bottom-left-radius: 32.19px;
    right: 150px;
}

.poll-thanks-collapse svg {
    width: 100px;
    height: 100px;
    margin-top: 32px;
    fill: var(--color-white);
    transition: transform var(--transition-fast);
}

.poll-thanks-collapse svg.rotated {
    transform: rotate(180deg);
}

/* --- Product Carousel (Swiper) --- */
.product-carousel-container {
    margin-top: 56px;
    display: none;
}

.product-carousel-container.visible {
    display: block;
    overflow: hidden;
}

.product-swiper {
    width: 100%;
    padding-bottom: 150px !important;
    overflow: visible;
}

.product-card {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: none;
    background: var(--color-glass);
    border: 2px solid var(--color-glass-border);
    border-radius: 68.98px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 80px 50px 10px 50px;
    max-width: 717px;
    height: 1303px;
    display: flex;
    flex-direction: column;
    transform: translateZ(0);
    will-change: transform, opacity, backdrop-filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.product-card:nth-child(odd) {
    scroll-snap-align: start;
}

.product-card-title {
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 28px;
    font-size: 50.58px;
    font-family: var(--font-regular);
    font-weight: 400;
    line-height: 71px;
}

.product-card-desc {
    color: var(--color-white);
    font-family: var(--font-jakarta);
    font-weight: 300;
    margin-bottom: 40px;
    font-size: 45.99px;
    line-height: 68.98px;
    letter-spacing: -0.5px;
    opacity: 0.9;
}

.product-card-image {
    width: 571px;
    height: 333px;
    /* height: auto; */
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 40px;
}

.product-card-image img {
    /* width: auto;
    height: auto; */
}

.product-card-image.placeholder {
    color: var(--color-text-muted);
    font-size: 32px;
}


.swiper-fade .swiper-slide-active {
    padding-bottom: 50px;
}

.correct-modal-wrapper .swiper-backface-hidden .swiper-slide {
    margin-right: 50px !important;
}

.factsheet-modal-wrapper .swiper-backface-hidden .swiper-slide {
    padding-bottom: 50px !important;
}

.agingtexture-factsheet-modal-body .swiper-fade .swiper-slide-active {
    padding-bottom: 0px !important;
}

/* Swiper pagination custom bullets */
.product-swiper-pagination {
    display: flex;
    gap: 47px;
    margin-top: 24px;
    padding-left: 8px;
    justify-content: flex-start !important;
    bottom: 20px !important;
    left: 0 !important;
    width: auto !important;
}

.product-swiper-pagination .swiper-pagination-bullet {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 !important;
    transition: background var(--transition-fast);
}

.product-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

/* --- Modal Overlay (Lead Capture) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--viewport-w);
    height: var(--viewport-h);
    background: rgba(0, 0, 0, 0.55);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.modal-overlay.visible {
    display: flex;
}

.modal-card {
    background: var(--color-modal-bg);
    border-radius: 48px;
    padding: 150px 156px;
    width: 100%;
    max-width: 1233px;
    box-shadow: 0 48px 128px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-icon {
    width: 151px;
    height: 151px;
    margin-bottom: 59px;

}

.modal-icon svg {
    width: 100%;
    height: 100%;

}

.modal-title {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: #0B109E;
    font-size: 91.97px;
    font-weight: 300;
    line-height: 110.37px;

}

.modal-subtitle {
    color: black;
    margin-bottom: 64px;
    font-size: 45.99px;
    font-family: var(--font-light);
    font-weight: 200;
    line-height: 95.70px;
    word-wrap: break-word;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 57px;
}

.modal-input {
    width: 100%;
    padding: 51px 53px;
    border-radius: 10.40px;
    font-family: var(--font-light);
    font-size: 46px;
    font-weight: 300;
    line-height: 50px;
    color: #767676;
    background: #F2F2F2;
    outline: none;
    transition: border-color var(--transition-fast);
    border: unset;
}

.modal-input::placeholder {
    color: #aaa;
}

.modal-input:focus {
    border-color: var(--color-accent-navy);
}

.modal-input.error {
    outline: 3px solid #e53935;
}

.modal-checkbox-row.error .modal-checkbox {
    outline: 3px solid #e53935;
    border-radius: 8px;
}

.modal-select-wrapper {
    position: relative;
    width: 100%;
}

.modal-select-wrapper::after {
    content: '';
    position: absolute;
    right: 53px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 24px solid #aaa;
    pointer-events: none;
}

select.modal-input {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 120px;
}

select.modal-input:invalid {
    color: #aaa;
}

select.modal-input option {
    color: #767676;
    background: #fff;
    font-size: 40px;
}

.modal-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 8px;
}

.modal-checkbox {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.55);
    border-radius: 12px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #0B109E;
    margin-top: 12px;
    border-radius: 5.20px;
}

.modal-checkbox-label {
    color: var(--color-modal-muted);
    font-family: var(--font-light);
    line-height: 1;
    color: #1A202C;
    font-size: 25px;
    font-weight: 300;
    line-height: 40px;
}

.modal-submit-btn {
    width: 100%;
    padding: 60px 51px 42px 51px;
    border-radius: var(--radius-btn);
    background: #0B109E;
    color: var(--color-white);
    font-size: 55.18px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    margin-top: 100px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.modal-submit-btn:hover {
    background: var(--color-accent-blue);
    transform: scale(1.02);
}

/* --- Summary Slide (Section 7) --- */
.summary-step-cluster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
    padding-top: 200px;
    position: relative;
    height: 900px;
}

/* Circular layout for step dots in summary */
.summary-step-cluster .cluster-dots {
    position: relative;
    width: 900px;
    height: 900px;
}

.summary-step-cluster .cluster-dot {
    position: absolute;
    width: 60px;
    /* Starting size (matches left indicator) */
    height: 60px;
    border-radius: 50%;
    border: 3.12px solid rgba(255, 255, 255, 0.5);
    /* Starting border */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    /* Starting font size */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.25);
    padding-top: 25px;
}

/* We remove the nth-child fixed positioning from CSS because GSAP will calculate these center positions and animate to them. */

.summary-step-cluster .cluster-dot.active-final {
    background: var(--color-white);
    color: var(--color-bg-dark);
    border-color: var(--color-white);
}

.summary-text {
    text-align: center;
    padding: 0 80px;
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.summary-title {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 80px;
    font-size: 174.75px;
    font-weight: 200;
    line-height: 231.77px;
    word-wrap: break-word;
}

.summary-paragraph {
    color: var(--color-text-secondary);
    max-width: 1400px;
    margin: 0 auto;
    font-size: 59.78px;
    font-weight: 300;
    line-height: 111.59px;
    word-wrap: break-word;
}

/* --- Thank You Slide (Section 8) --- */
.slide-thankyou {
    background: var(--color-thankyou-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 20;
}

.slide-thankyou .thankyou-title {
    font-family: var(--font-heading);
    margin-bottom: 56px;
    color: #0B109E;
    font-size: 183.80px;
    font-weight: 200;
    line-height: 240.78px;
    word-wrap: break-word;
    margin-top: -185px;
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

.slide-thankyou .thankyou-subtitle {
    max-width: 1200px;
    color: black;
    font-size: 68.93px;
    font-weight: 200;
    line-height: 120.85px;
    word-wrap: break-word;
    transform: translateZ(0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
}

/* --- Transitions for diagonal wipe effect --- */
.slide-thankyou::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-thankyou-bg);
    z-index: -1;
}

/* --- GSR Products Modal --- */
#gsrProductsModal,
#strengthProductsModal,
#correctProductsModal,
#protectProductsModal,
#optimizeProductsModal {
    z-index: 200;
}

.gsr-modal-wrapper {
    position: relative;
    width: 1930px;
    max-width: 100%;
}

.strength-modal-wrapper,
.protect-modal-wrapper,
.optimize-modal-wrapper {
    position: relative;
    width: 1990px;
    max-width: 100%;
}

.optimize-modal-wrapper {
    width: 1929px;
}

.correct-modal-wrapper {
    position: relative;
    width: 1848px;
    max-width: 100%;
}

.gsr-modal-card,
.strength-modal-card,
.correct-modal-card,
.protect-modal-card,
.optimize-modal-card {
    border-radius: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}



.gsr-modal-header,
.strength-modal-header,
.correct-modal-header,
.protect-modal-header,
.optimize-modal-header {
    background: #26338C;
    padding: 80px 100px;
    color: var(--color-white);
}

.gsr-modal-title,
.strength-modal-title,
.protect-modal-title,
.optimize-modal-title {
    font-family: var(--font-regular);
    font-size: 180px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 1;
    padding: 50px 50px 0px 0px;
}

.correct-modal-title {
    font-family: var(--font-regular);
    font-size: 180px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 1;
    padding: 50px 50px 25px 0px;
}


.regSign {
    font-family: var(--font-light);
    font-size: 0.5em;
    vertical-align: super;
    top: 120px;
    left: 470px;
    position: absolute;
}

.gsr-modal-title sup,
.strength-modal-title sup,
.correct-modal-title sup,
.protect-modal-title sup,
.optimize-modal-title sup {
    font-size: 100px;
}

.gsr-modal-title span {
    font-family: var(--font-light);
    margin-left: 30px;
    font-size: 70px;
    font-weight: 300;
}

.strength-modal-title span,
.correct-modal-title span,
.protect-modal-title span,
.optimize-modal-title span {
    font-size: 70px;
    font-weight: 300;
}

.gsr-modal-body,
.strength-modal-body,
.correct-modal-body,
.protect-modal-body,
.optimize-modal-body {
    padding: 100px 100px 100px 100px;
    background: #ffffff;
}

.gsr-range-title,
.strength-range-title,
.protect-range-title,
.optimize-range-title {
    color: #26338C;
    font-family: var(--font-regular);
    font-size: 70px;
    font-weight: 500;
    margin-bottom: 80px;
    padding: 0 0px;
    box-sizing: border-box;
}

.correct-range-title {
    color: #26338C;
    font-family: var(--font-regular);
    font-size: 70px;
    font-weight: 500;
    margin-bottom: 80px;
    padding: 0 80px;
    box-sizing: border-box;
}

/* .correct-row {
    display: flex;
    gap: 65px;
    margin-bottom: 90px;
} */

.correct-category-oiliness {
    width: 760px !important;
    min-width: 760px !important;
    max-width: 760px !important;
}


.correct-category-redness {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
}

.correct-row .correct-category {
    margin-bottom: 0px;
}

.gsr-category {
    margin-bottom: 100px;
}

.strength-category {
    margin-bottom: 80px;
}

.gsr-category:last-child {
    margin-bottom: 100px;
}

.strength-category:last-child,
.correct-category:last-child {
    margin-bottom: 0px;
}

.gsr-category-title,
.strength-category-title,
.correct-category-title {
    color: #26338C;
    font-family: var(--font-light);
    font-size: 65px;
    font-weight: 400;
    border-bottom: 2px solid #26338C;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.gsr-product-grid {
    display: flex;
    gap: 50px;
}

.strength-product-grid {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}


.correct-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 100px;
    justify-content: start;
    margin-bottom: 90px;
}


.protect-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 100px;
    justify-content: start;
    margin-bottom: 120px;
}

.optimize-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 100px;
    justify-content: start;
    margin-bottom: 280px;
}


.gsr-product,
.strength-product {
    width: 365px;
    display: flex;
    flex-direction: column;
}

.correct-product,
.protect-product,
.optimize-product {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.gsr-product-img-box,
.strength-product-img-box {
    border-radius: 30px;
    margin-bottom: 40px;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.correct-product-img-box,
.protect-product-img-box,
.optimize-product-img-box {
    border-radius: 30px;
    margin-bottom: 40px;
    width: 333px;
    height: 333px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gsr-product-img-box img,
.strength-product-img-box img,
.correct-product-img-box img,
.protect-product-img-box img,
.optimize-product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.gsr-product-name,
.strength-product-name {
    color: #26338C;
    font-family: var(--font-light);
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    margin-bottom: 10px;
}

.correct-product-name,
.protect-product-name,
.optimize-product-name {
    color: #26338C;
    font-family: var(--font-light);
    font-size: 40px;
    font-weight: 400;
    line-height: 50px;
    margin-bottom: 10px;
    width: 333px;
}

.gsr-product-type,
.strength-product-type,
.correct-product-type,
.protect-product-type,
.optimize-product-type {
    color: #26338C;
    font-family: var(--font-light);
    font-size: 40px;
    font-weight: 300;
    /* margin-top: auto; */
}

.gsr-product-type.type-italic,
.strength-product-type.type-italic,
.correct-product-type.type-italic,
.protect-product-type.type-italic,
.optimize-product-type.type-italic {
    font-style: italic;
}

.gsr-modal-close,
.strength-modal-close,
.correct-modal-close,
.protect-modal-close,
.optimize-modal-close {
    position: absolute;
    bottom: -150px;
    right: 0;
    color: var(--color-white);
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 300;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding-right: 30px;
}

.gsr-modal-close img,
.strength-modal-close img,
.correct-modal-close img,
.protect-modal-close img,
.optimize-modal-close img {
    height: 53px;
    width: auto;
}

.gsr-modal-close:hover,
.strength-modal-close:hover,
.correct-modal-close:hover,
.protect-modal-close:hover,
.optimize-modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Protect Products Modal Custom Styles --- */
.upcoming-launch-box {
    background-color: #ECEEEF !important;
}

.upcoming-launch-badge {
    background: #26338C;
    color: var(--color-white);
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-style: italic;
    font-size: 32px;
    line-height: 1.1;
    text-align: center;
    font-family: var(--font-regular);
}

/* --- Correct Products Modal --- */
#correctProductsModal {
    z-index: 200;
}

.correct-modal-body {
    height: 2630px;
    padding: 100px 0px 100px 0px;
    overflow: hidden;
}

.correct-modal-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    padding-bottom: 80px;
}

.correct-modal-swiper .swiper-slide {
    padding: 0px 80px;
    box-sizing: border-box;
}

.correct-modal-pagination {
    position: absolute;
    bottom: -150px !important;
    left: 0 !important;
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.correct-modal-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 20px 0 0 !important;
    transition: background var(--transition-fast);
}

.correct-modal-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}


.correct-modal-body::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.correct-row {
    display: flex;
    gap: 100px;
    margin-bottom: 160px;
}

.correct-row .correct-category {
    margin-bottom: 0;
    flex: 1;
}

/* .correct-product-grid {
    gap: 40px;
} */

.correct-prop .strength-product-img-box {
    width: 270px !important;
    height: 270px !important;
    margin-bottom: 20px !important;
    padding: 10px !important;
}

/* .correct-name {
    font-size: 28px !important;
} */

/* --- Fact Sheets Modal --- */
.factsheet-modal-wrapper {
    position: relative;
    width: 1843px;
    box-sizing: border-box;
    max-width: 100%;
}

.factsheet-modal-card {
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    /* Allow the scrollbar to spill out securely */
    overflow: visible;
}

.factsheet-modal-header {
    background: #26338C;
    padding: 60px 80px;
    color: var(--color-white);
    border-radius: 60px 60px 0 0;
}

.factsheet-scroll-area {
    width: calc(100% + 60px) !important;
    margin-right: -60px !important;
    padding-right: 60px !important;
    /* Pull content back into center */
    box-sizing: border-box;
    max-height: 2450px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Webkit Scrollbar */
.factsheet-scroll-area::-webkit-scrollbar {
    width: 14px;
}

.factsheet-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.factsheet-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff;
    /* White rounded pill */
    border-radius: 7px;
}

.factsheet-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.factsheet-modal-title {
    font-family: var(--font-regular);
    font-size: 60px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 54px;
    padding-top: 30px;
    padding-bottom: 20px;
    position: relative;
    width: max-content;
}

.factsheet-modal-body {
    padding: 0;
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 0 0 60px 60px;
}

.factsheet-swiper {
    overflow: visible !important;
    /* Allow scrollbar to spill outside the swiper track natively */
}

.factsheet-modal-close {
    position: absolute;
    bottom: -110px;
    right: 100px;
    /* adjusted because wrapper is wider */
    color: var(--color-white);
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 300;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding-right: 30px;
    z-index: 100;
}

.factsheet-modal-close img {
    height: 53px;
    width: auto;
}

.factsheet-modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.factsheet-pagination {
    position: absolute;
    bottom: -150px !important;
    left: 0 !important;
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

.factsheet-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 20px 0 0 !important;
    transition: background var(--transition-fast);
}

.factsheet-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.factsheet-button-next,
.factsheet-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.factsheet-button-next {
    right: -110px;
    /* adjusted to stay inside the wide wrapper correctly */
}

.factsheet-button-prev {
    left: -110px;
}

/* --- Strength Fact Sheets Modal --- */
.strength-factsheet-modal-wrapper {
    position: relative;
    width: 1843px;

    box-sizing: border-box;
    max-width: 100%;
}

.strength-factsheet-modal-card {
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    /* Allow the scrollbar to spill out securely */
    overflow: visible;
}

.strength-factsheet-modal-header {
    background: #26338C;
    padding: 60px 80px;
    color: var(--color-white);
    border-radius: 60px 60px 0 0;
}

.strength-factsheet-scroll-area {
    width: calc(100% + 60px) !important;
    margin-right: -60px !important;
    padding-right: 60px !important;
    /* Pull content back into center */
    box-sizing: border-box;
    max-height: 2450px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Webkit Scrollbar */
.strength-factsheet-scroll-area::-webkit-scrollbar {
    width: 14px;
}

.strength-factsheet-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.strength-factsheet-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff;
    /* White rounded pill */
    border-radius: 7px;
}

.strength-factsheet-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.strength-factsheet-modal-title {
    font-family: var(--font-regular);
    font-size: 60px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 54px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.strength-factsheet-modal-body {
    padding: 0;
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 0 0 60px 60px;
}

.strength-factsheet-swiper {
    overflow: visible !important;
    /* Allow scrollbar to spill outside the swiper track natively */
}

.strength-factsheet-modal-close {
    position: absolute;
    bottom: -110px;
    right: 100px;
    /* adjusted because wrapper is wider */
    color: var(--color-white);
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 300;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding-right: 30px;
    z-index: 100;
}

.strength-factsheet-modal-close img {
    height: 53px;
    width: auto;
}

.strength-factsheet-modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.strength-factsheet-pagination {
    position: absolute;
    bottom: -150px !important;
    left: 0 !important;
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

.strength-factsheet-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 20px 0 0 !important;
    transition: background var(--transition-fast);
}

.strength-factsheet-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.strength-factsheet-button-next,
.strength-factsheet-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.strength-factsheet-button-next {
    right: -110px;
    /* adjusted to stay inside the wide wrapper correctly */
}

.strength-factsheet-button-prev {
    left: -110px;
}

.strength-factsheet-button-next::after,
.strength-factsheet-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.strength-factsheet-modal-wrapper .swiper-button-disabled {
    display: none !important;
}

/* --- Protect Fact Sheets Modal --- */
.protect-factsheet-modal-wrapper {
    position: relative;
    width: 1843px;
    box-sizing: border-box;
    max-width: 100%;
}

.protect-factsheet-modal-card {
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    /* Allow the scrollbar to spill out securely */
    overflow: visible;
}

.protect-factsheet-modal-header {
    background: #26338C;
    padding: 60px 80px;
    color: var(--color-white);
    border-radius: 60px 60px 0 0;
}

.protect-factsheet-scroll-area {
    width: calc(100% + 60px) !important;
    margin-right: -60px !important;
    padding-right: 60px !important;
    /* Pull content back into center */
    box-sizing: border-box;
    max-height: 2450px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom Webkit Scrollbar */
.protect-factsheet-scroll-area::-webkit-scrollbar {
    width: 14px;
}

.protect-factsheet-scroll-area::-webkit-scrollbar-track {
    background: rgb(217 217 217 / 40%);
}

.protect-factsheet-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff;
    /* White rounded pill */
    border-radius: 7px;
}

.protect-factsheet-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.protect-factsheet-modal-title {
    font-family: var(--font-regular);
    font-size: 60px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 54px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.protect-factsheet-modal-body {
    padding: 0;
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 0 0 60px 60px;
}

.protect-factsheet-swiper {
    overflow: visible !important;
    /* Allow scrollbar to spill outside the swiper track natively */
}

.protect-factsheet-modal-close {
    position: absolute;
    bottom: -110px;
    right: 100px;
    /* adjusted because wrapper is wider */
    color: var(--color-white);
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 300;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding-right: 30px;
    z-index: 100;
}

.protect-factsheet-modal-close img {
    height: 53px;
    width: auto;
}

.protect-factsheet-modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.protect-factsheet-pagination {
    position: absolute;
    bottom: -150px !important;
    left: 0 !important;
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

.protect-factsheet-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 20px 0 0 !important;
    transition: background var(--transition-fast);
}

.protect-factsheet-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.protect-factsheet-button-next,
.protect-factsheet-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.protect-factsheet-button-next {
    right: -110px;
    /* adjusted to stay inside the wide wrapper correctly */
}

.protect-factsheet-button-prev {
    left: -110px;
}

.protect-factsheet-button-next::after,
.protect-factsheet-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.protect-factsheet-modal-wrapper .swiper-button-disabled {
    display: none !important;
}

.factsheet-button-next::after,
.factsheet-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.factsheet-button-next.swiper-button-disabled,
.factsheet-button-prev.swiper-button-disabled {
    display: none !important;
}

/* --- Optimize Fact Sheets Modal --- */
.optimize-factsheet-modal-wrapper,
.oiliness-factsheet-modal-wrapper,
.sensitiveredness-factsheet-modal-wrapper,
.agingtexture-factsheet-modal-wrapper,
.acne-factsheet-modal-wrapper,
.severeaging-factsheet-modal-wrapper,
.oiliness-factsheet-modal-wrapper,
.sensitiveredness-factsheet-modal-wrapper,
.agingtexture-factsheet-modal-wrapper,
.acne-factsheet-modal-wrapper,
.severeaging-factsheet-modal-wrapper {
    position: relative;
    width: 1843px;
    box-sizing: border-box;
    max-width: 100%;
}

.optimize-factsheet-modal-card,
.oiliness-factsheet-modal-card,
.sensitiveredness-factsheet-modal-card,
.agingtexture-factsheet-modal-card,
.acne-factsheet-modal-card,
.severeaging-factsheet-modal-card,
.oiliness-factsheet-modal-card,
.sensitiveredness-factsheet-modal-card,
.agingtexture-factsheet-modal-card,
.acne-factsheet-modal-card,
.severeaging-factsheet-modal-card {
    border-radius: 60px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

.optimize-factsheet-modal-header,
.oiliness-factsheet-modal-header,
.sensitiveredness-factsheet-modal-header,
.agingtexture-factsheet-modal-header,
.acne-factsheet-modal-header,
.severeaging-factsheet-modal-header,
.oiliness-factsheet-modal-header,
.sensitiveredness-factsheet-modal-header,
.agingtexture-factsheet-modal-header,
.acne-factsheet-modal-header,
.severeaging-factsheet-modal-header {
    background: #26338C;
    padding: 60px 80px;
    color: var(--color-white);
    border-radius: 60px 60px 0 0;
}

.optimize-factsheet-scroll-area {
    width: calc(100% + 60px) !important;
    margin-right: -60px !important;
    padding-right: 60px !important;
    box-sizing: border-box;
    max-height: 2450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.optimize-factsheet-scroll-area::-webkit-scrollbar {
    width: 14px;
}

.optimize-factsheet-scroll-area::-webkit-scrollbar-track {
    background: rgb(217 217 217 / 40%);
}

.optimize-factsheet-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 7px;
}

.optimize-factsheet-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.optimize-factsheet-modal-title,
.oiliness-factsheet-modal-title,
.sensitiveredness-factsheet-modal-title,
.agingtexture-factsheet-modal-title,
.acne-factsheet-modal-title,
.severeaging-factsheet-modal-title,
.oiliness-factsheet-modal-title,
.sensitiveredness-factsheet-modal-title,
.agingtexture-factsheet-modal-title,
.acne-factsheet-modal-title,
.severeaging-factsheet-modal-title {
    font-family: var(--font-regular);
    font-size: 60px;
    font-weight: 400;
    display: flex;
    align-items: baseline;
    gap: 40px;
    margin: 0;
    line-height: 54px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.optimize-factsheet-modal-body,
.oiliness-factsheet-modal-body,
.sensitiveredness-factsheet-modal-body,
.agingtexture-factsheet-modal-body,
.acne-factsheet-modal-body,
.severeaging-factsheet-modal-body,
.oiliness-factsheet-modal-body,
.sensitiveredness-factsheet-modal-body,
.agingtexture-factsheet-modal-body,
.acne-factsheet-modal-body,
.severeaging-factsheet-modal-body {
    padding: 0;
    background: white;
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 0 0 60px 60px;
}

.optimize-factsheet-swiper,
.oiliness-factsheet-modal-swiper,
.sensitiveredness-factsheet-modal-swiper,
.agingtexture-factsheet-modal-swiper,
.acne-factsheet-modal-swiper,
.severeaging-factsheet-modal-swiper {
    overflow: visible !important;
}

.optimize-factsheet-modal-close,
.oiliness-factsheet-modal-close,
.sensitiveredness-factsheet-modal-close,
.agingtexture-factsheet-modal-close,
.acne-factsheet-modal-close,
.severeaging-factsheet-modal-close,
.oiliness-factsheet-modal-close,
.sensitiveredness-factsheet-modal-close,
.agingtexture-factsheet-modal-close,
.acne-factsheet-modal-close,
.severeaging-factsheet-modal-close {
    position: absolute;
    bottom: -110px;
    right: 100px;
    color: var(--color-white);
    font-family: var(--font-light);
    font-size: 70px;
    font-weight: 300;
    text-decoration: underline;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
    background: none;
    border: none;
    padding-right: 30px;
    z-index: 100;
}

.optimize-factsheet-modal-close img,
.oiliness-factsheet-modal-close img,
.sensitiveredness-factsheet-modal-close img,
.agingtexture-factsheet-modal-close img,
.acne-factsheet-modal-close img,
.severeaging-factsheet-modal-close img {
    height: 53px;
    width: auto;
}

.optimize-factsheet-modal-close,
.oiliness-factsheet-modal-close,
.sensitiveredness-factsheet-modal-close,
.agingtexture-factsheet-modal-close,
.acne-factsheet-modal-close,
.severeaging-factsheet-modal-close:hover {
    color: rgba(255, 255, 255, 0.8);
}

.optimize-factsheet-pagination {
    position: absolute;
    bottom: -150px !important;
    left: 0 !important;
    width: auto !important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
}

.optimize-factsheet-pagination .swiper-pagination-bullet {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    margin: 0 20px 0 0 !important;
    transition: background var(--transition-fast);
}

.optimize-factsheet-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.optimize-factsheet-button-next,
.optimize-factsheet-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.optimize-factsheet-button-next {
    right: -110px;
}

.optimize-factsheet-button-prev {
    left: -110px;
}

.optimize-factsheet-button-next::after,
.optimize-factsheet-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.optimize-factsheet-button-next.swiper-button-disabled,
.optimize-factsheet-button-prev.swiper-button-disabled {
    display: none !important;
}

.agingtexture-factsheet-scroll-area {
    width: calc(100% + 60px) !important;
    margin-right: -60px !important;
    padding-right: 60px !important;
    box-sizing: border-box;
    max-height: 2450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.agingtexture-factsheet-scroll-area::-webkit-scrollbar {
    width: 14px;
}

.agingtexture-factsheet-scroll-area::-webkit-scrollbar-track {
    background: rgb(217 217 217 / 40%);
}

.agingtexture-factsheet-scroll-area::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 7px;
}

.agingtexture-factsheet-scroll-area::-webkit-scrollbar-thumb:hover {
    background: #e0e0e0;
}

.agingtexture-factsheet-modal-button-next,
.agingtexture-factsheet-modal-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.agingtexture-factsheet-modal-button-next {
    right: -110px;
    /* adjusted to stay inside the wide wrapper correctly */
}

.agingtexture-factsheet-modal-button-prev {
    left: -110px;
}

.agingtexture-factsheet-modal-button-next::after,
.agingtexture-factsheet-modal-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.agingtexture-factsheet-modal-button-next.swiper-button-disabled,
.agingtexture-factsheet-modal-button-prev.swiper-button-disabled {
    display: none !important;
}

/* .optimize-factsheet-modal-wrapper,
.oiliness-factsheet-modal-wrapper,
.sensitiveredness-factsheet-modal-wrapper,
.agingtexture-factsheet-modal-wrapper,
.acne-factsheet-modal-wrapper,
.severeaging-factsheet-modal-wrapper .swiper-button-disabled {
    display: none !important;
} */

.btn-all {
    max-width: 255px;
    padding-left: 79px;
}

.gsr-sup {
    position: absolute;
    right: -17px;
    top: -2px;
}

.factsheet-modal .swiper-wrapper {
    height: 2485px;
}

/* --- Correct Products Swiper Navigation --- */
.correct-button-next,
.correct-button-prev {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

.correct-button-next {
    right: -110px;
}

.correct-button-prev {
    left: -110px;
}

.correct-button-next::after,
.correct-button-prev::after {
    font-size: 120px !important;
    font-weight: 200;
}

.correct-modal-wrapper .swiper-button-disabled {
    display: none !important;
}

/* --- On-Screen Keyboard (4K scale-up) --- */
div.mlkeyboard {
    position: fixed;
    bottom: 17% !important;
    left: 50%;
    right: unset !important;
    transform: translateX(-50%) scale(2.6) !important;
    transform-origin: bottom center;
    z-index: 10000;
}

div.mlkeyboard ul li {
    color: #0B109E;
}

/* --- Staff Home Button (hidden, bottom-left corner) --- */
#staffHomeBtn {
    position: fixed;
    top: 97px;
    left: 117px;
    width: 1000px;
    height: 200px;
    background: transparent;
    border: none;
    outline: none;
    cursor: default;
    z-index: 99999;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    opacity: 0;
}

div.mlkeyboard ul li.active {
    background-color: #0b109e0f !important;
    border-color: #0B109E !important;
}


/* --- Correct Step Fact Sheets Custom Buttons --- */
[class$="-factsheet-button-next"],
[class$="-factsheet-button-prev"] {
    color: var(--color-white) !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 100;
}

[class$="-factsheet-button-next"] {
    right: -110px;
}

[class$="-factsheet-button-prev"] {
    left: -110px;
}

[class$="-factsheet-button-next"]::after,
[class$="-factsheet-button-prev"]::after {
    font-size: 120px !important;
    font-weight: 200;
}

.factsheet-modal-wrapper .swiper-button-disabled {
    display: none !important;
}

.correct-factsheet-modal-title {
    position: relative;
    width: max-content;
}

/* --- Utility Classes --- */
.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes barGrow {
    from {
        height: 0;
    }
}

/* for the last step active dot pulse */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 24px rgba(255, 255, 255, 0);
    }
}

#nextStepBtn.disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: default !important;
}