    :root {
        --primary-blue: #4a90c0;
        --primary-blue-gradient: linear-gradient(180deg, #4E81A7 0%, #94BACF 100%);
        --yellow: #FFDF4D;
        --white: #FFFFFF;
        --dark-text: #41505B;
        --light-text: #FFFFFF;
        --border-radius: 20px;
        --button-radius: 60px;
        --progress-height: 6px;
        --container-width: 22.5rem;
        --container-padding: 15px;
        --base-font-size: 16px;
    }

    html {
        font-size: var(--base-font-size);
    }

    /* Media query for smaller screens */
    @media (max-width: 375px) { 
        html {
            font-size: 14px;
        }
        /* #quiz-container, #results-container {
            max-width: 90% !important;
        } */
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Open Sauce One', sans-serif;
        font-weight: 400;
    }

    input:placeholder {
        color: #809CAD;
        font-weight: 600;
        line-height: 1;
    }

    body {
        background: var(--primary-blue-gradient);
        color: var(--light-text);
        min-height: 100vh;
        min-height: 100dvh;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--container-padding);
        overflow-x: hidden;
        padding: 0;
    }

    .container, 
    .thankyou-container,
    .special-offer-container,
    .offer-card,
    .day-card {
        width: 100%;
        max-width: var(--container-width);
        margin-left: auto;
        margin-right: auto;
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
        animation: fadeIn .3s ease-in-out;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 100vh;
        height: 100dvh;
    }

    #home-page.container {
        justify-content: start;
    }

    #home-page.container .img-box {
       flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        padding-top: 1.875rem; /* 30px */
    }

    #home-page.container .img-box img {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }

    #home-page.container .inner-box {
        height: 70vh;
        height: 70dvh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }

    #offer-page.container {
        padding: 0;
        justify-content: start;
        height: 100%;
        padding-bottom: 3rem; /* 100px */
        position: relative;
    }

    .thankyou-container {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100vh;
        height: 100dvh;
    }

    .thankyou-container .inner-box {
        height: 70vh;
        height: 70dvh;
    }

    .thankyou-container .confetti-svg {
       flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .thankyou-container .confetti-svg img {
        max-height: 100%;
        width: auto;
        object-fit: contain;
    }

    .thankyou-container .inner-box {
        height: 70vh;
        height: 70dvh;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
    }

    #email-page.container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Remove individual width/padding declarations since they're now handled by the common class above */
    .action-plan-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 2.5rem; /* 40px */
    }

    .day-card {
        background: var(--white);
        border-radius: 1.875rem; /* 30px */
        padding: 2.5rem 1.875rem 1.875rem 1.875rem; /* 40px 30px 30px 30px */
    }

    .day-card ul li {
        color: #70899A;
        margin-left: 1.25rem; /* 20px */
        font-size: 1.25rem; /* 20px */
        font-weight: 400;
    }

    .day-card h4 {
      margin-bottom: 0.875rem; /* 14px */
      font-size: 1.5rem; /* 24px */
      font-weight: 600;
      color: #41505B;
    }


    .offer-card {
        background: var(--white);
        border-radius: var(--border-radius);
        padding-left: 1.8rem; /* 25px */
        padding-right: 1.8rem; /* 25px */
        position: relative;
        margin-top: 1.25rem; /* 20px */
    }

    /* Media query for mobile responsiveness */
    @media (max-width: 390px) {
        :root {
            --container-width: 21.75rem;
            --container-padding: 15px;
        }
    }

    .progress-bar {
        width: 100%;
        height: var(--progress-height);
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 0.625rem; /* 10px */
        position: absolute;
        top: 2.5rem; /* 40px */
        max-width: 22.5rem; /* 360px */
        left: 0;
        right: 0;
        margin: 0 auto;

    }

    .progress {
        height: 100%;
        background-color: var(--white);
        border-radius: 0.625rem; /* 10px */
        transition: width 0.3s ease;
    }

    /* Default headers - Medium weight */
    h1, h2 {
        text-align: center;
    }

    h1 {
        font-size: 2.5rem; /* 44px */
        text-align: center;
        margin-bottom: 1.4375rem; /* 23px */
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -0.0625rem; /* -1px */
    }

    h2,
    #offer-page h1,
    .thankyou-container h1 {
        font-size: 1.75rem; /* 32px */
        text-align: center;
        font-weight: 600;
        padding-top: 5.625rem; /* 90px */
        line-height: 1.1;
        margin-bottom: 0;
    }

    #offer-page h1 {
        padding-top: 4rem;
        margin-bottom: 1.2rem; /* 30px */
    }

    .thankyou-container h1 {
        padding-top: 0;
    }

    .confetti-svg {
        padding-top: 2.5rem; /* 40px */
        text-align: center;
        display: block;
    }

    .app-showcase {
        padding-top: 1rem; /* 40px */
        text-align: center;
        display: block;
    }

    .app-showcase img {
        max-width: 100%;
        height: auto;
    }

    p {
        font-size: 1.25rem; /* 20px */
        text-align: center;
        margin-bottom: 1.875rem; /* 30px */
        font-weight: 400;
        color: #B6E2FF;
        line-height: 130%;
    }

    p.feature {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .small-text {
        font-size: 1.25rem; /* 20px */
        opacity: 1;
        color: #B6E2FF;
        display: block;
        margin-top: 1.875rem; /* 30px */
        font-weight: 400;
        margin-top: 1.5rem; /* 30px */
        margin-bottom: 1.5rem;
    }

    .option {
        width: 100%;
        background-color: var(--white);
        color: var(--dark-text);
        padding: 1.25rem; /* 20px */
        border-radius: var(--border-radius);
        margin-bottom: 0.9375rem; /* 15px */
        cursor: pointer;
        font-size: 1.125rem; /* 18px */
        border: 0.125rem solid transparent; /* 2px */
        transition: all 0.2s ease;
        font-weight: 600;
    }

    .option:hover, .option:focus {
        outline: none;
    }

    .option.selected {
        border-color: var(--yellow);
        background-color: rgba(255, 216, 77, 0.1);
    }

    .checkbox-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .checkbox {
        width: 1.875rem; /* 30px */
        height: 1.875rem; /* 30px */
        border-radius: 0.625rem; /* 10px */
        border: 0.125rem solid #74A0BD; /* 2px */
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: white;
    }

    .checkbox.checked {
        background-color: var(--yellow);
        border-color: var(--yellow);
    }

    .checkbox.checked::after {
        content: "✓";
        color: var(--dark-text);
        font-weight: bold;
    }

    .button {
        background-color: var(--yellow);
        color: var(--dark-text);
        padding: 1rem 2.5rem; /* 16px 40px */
        border-radius: var(--button-radius);
        border: none;
        font-size: 1.125rem; /* 18px */
        font-weight: 700;
        cursor: pointer;
        margin-top: 1.25rem; /* 20px */
        transition: all 0.2s ease;
        width: 100%;
        max-width: 18.75rem; /* 300px */
    }

    #get-access-btn.button,
    .thankyou-container .button {
        margin-top: 0;
        max-width: 100%;
        padding-top: 1.375rem; /* 22px */
        padding-bottom: 1.375rem; /* 22px */
        color: #997E00;
        font-size: 1.25rem; /* 20px */
        font-weight: 700;
        border-radius: 3.125rem; /* 50px */
    }

    #get-access-btn.button {
        /* position: fixed; */
        bottom: 1.875rem; /* 30px */
        max-width: inherit;
    }

    .button:hover, .button:focus {
        outline: none;
    }

    .home-container .button {
        width: 11rem; /* 176px */
        height: 4.1875rem; /* 67px */
        font-size: 1.25rem; /* 20px */
        color: #997E00;
        line-height: 1;
        font-weight: 700;
        margin-top: 0;
        margin-bottom: 3.125rem; /* 50px */
        margin-top: 1.875rem; /* 30px */
    }

    .input-field {
        width: 100%;
        padding: 1.25rem; /* 20px */
        border-radius: var(--border-radius);
        border: none;
        font-size: 1.125rem; /* 18px */
        margin-bottom: 0.9375rem; /* 15px */
    }

    /* .input-field:focus {
        outline: none;
        box-shadow: 0 0 0 0.125rem var(--yellow);
    } */

    .footer {
        text-align: center;  
        padding-bottom: 1.8125rem; /* 29px */
        line-height: 1;
        display: block;
    }

    .footer a {
        color: #B6E2FF;
        margin: 0 0.375rem; /* 6px */
        font-size: 0.9rem; /* 16px */
        text-decoration: none;
    }

    .footer a:hover {
        text-decoration: underline;
    }

    .hidden {
        display: none;
    }

    /* Results page styles */
    .score-circle {
        width: 12.5rem; /* 200px */
        height: 12.5rem; /* 200px */
        position: relative;
        margin: 1.25rem 0 2.5rem; /* 20px 0 40px */
    }

    .score-value {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 3.75rem; /* 60px */
        font-weight: 700;
    }

    .score-label {
        position: absolute;
        top: 65%;
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 1rem; /* 16px */
        opacity: 0.8;
    }

    .score-bar {
        width: 100%;
        margin-bottom: 1.875rem; /* 30px */
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .score-name {
        font-size: 1.125rem; /* 18px */
        margin-right: 1.25rem; /* 20px */
        flex: 1;
    }

    .score-meter {
        width: 60%;
        height: 0.5rem; /* 8px */
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 0.625rem; /* 10px */
        margin-right: 0.9375rem; /* 15px */
    }

    .score-fill {
        height: 100%;
        background-color: var(--white);
        border-radius: 0.625rem; /* 10px */
    }

    .score-value-text {
        font-size: 1rem; /* 16px */
        width: 3.75rem; /* 60px */
        text-align: right;
    }

    .action-plan {
        width: 100%;
        margin-top: 1.875rem; /* 30px */
    }

    .day-title {
        font-size: 1.25rem; /* 20px */
        font-weight: 700;
        margin-bottom: 0.625rem; /* 10px */
        color: var(--dark-text);
    }

    .day-tasks {
        padding-left: 1.25rem; /* 20px */
    }

    .day-tasks li {
        margin-bottom: 0.5rem; /* 8px */
        color: #666;
        font-size: 1rem; /* 16px */
    }

    /* Special offer styles */
    .offer-badge {
        background-color: #2AE38B;
        color: #0A7B45;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 6.75rem; /* 108px */
        height: 3.125rem; /* 50px */
        border-radius: 1.875rem; /* 30px */
        font-weight: bold;
        position: absolute;
        top: -1.5625rem; /* -25px */
        right: -1.25rem; /* -20px */
        transform: rotate(9deg);
        font-size: 1rem; /* 16px */
        font-weight: 800;
    }

    .offer-title {
        font-size: 1.75rem; /* 28px */
        font-weight: 600;
        text-align: center;
        margin-bottom: 1.5rem; /* 15px */
        color: var(--dark-text);
        padding-top: 2.5rem; /* 40px */
    }

    .offer-price {
        font-size: 1.25rem; /* 20px */
        text-align: center;
        margin-bottom: 1.5625rem; /* 25px */
        color: #70899A;
        font-weight: 600;
    }

    .offer-features {
        margin-bottom: 2.1875rem; /* 35px */
    }

    .feature-item {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0.9375rem; /* 15px */
        color: #555;
    }

    .feature-icon {
        color: #4CD964;
        margin-right: 0.625rem; /* 10px */
        font-weight: bold;
    }

    .feature-item span {
        font-size: 1.25rem; /* 20px */
        color: #41505B;
        font-weight: 600;
        display: block; 
        line-height: 1;
    }

    .sun-icon {
        width: 6.25rem; /* 100px */
        height: 6.25rem; /* 100px */
        margin-bottom: 1.25rem; /* 20px */
    }

    /* Home page specific styles */
    .home-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 1.25rem; /* 20px */
    }

    .home-container img {
        margin-bottom: 1.25rem; /* 20px */
    }

    span.name {
        font-size: 1.25rem; /* 20px */
        font-weight: 600;
        letter-spacing: -0.01875rem; /* -0.3px */
        line-height: 1.1;
        display: block;
        margin-bottom: 1.4375rem; /* 23px */
    }

    .features-list {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Font declarations */
    @font-face {
        font-family: 'Open Sauce One';
        src: url('../fonts/OpenSauceOne-Regular.ttf') format('truetype');
        font-weight: 400;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Open Sauce One';
        src: url('../fonts/OpenSauceOne-Medium.ttf') format('truetype');
        font-weight: 500;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Open Sauce One';
        src: url('../fonts/OpenSauceOne-SemiBold.ttf') format('truetype');
        font-weight: 600;
        font-style: normal;
        font-display: swap;
    }

    @font-face {
        font-family: 'Open Sauce One';
        src: url('../fonts/OpenSauceOne-Bold.ttf') format('truetype');
        font-weight: 700;
        font-style: normal;
        font-display: swap;
    }

    .gauge-score {
        font-weight: 600;
        font-size: 3rem; /* 48px */
        color: var(--white);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -20%);
    }

    .gauge-label {
        font-weight: 400;
        font-size: 1.25rem; /* 20px */
        color: #B6E2FF;
        position: absolute;
        top: 78%;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .category-row {
        width: 100%;
        max-width: var(--container-width);
        margin: 0.625rem 0; /* 10px 0 */
    }

    .category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem; /* 8px */
    }

    .category-label {
        font-weight: 600;
        font-size: 1.375rem; /* 24px */
        color: var(--white);
    }

    .category-score {
        font-weight: 600;
        font-size: 1.375rem; /* 24px */
        color: var(--white);
    }

    .category-bar-bg {
        width: 100%;
        height: 0.5rem; /* 6px */
        background: #79AAC9;
        border-radius: 0.1875rem; /* 3px */
        overflow: hidden;
    }

    .category-bar {
        height: 100%;
        background: var(--white);
        border-radius: 0.1875rem; /* 3px */
        transition: width 0.5s ease;
    }

    .action-plan-title {
        margin-bottom: 1.25rem; /* 20px */
        padding-top: 0;
    }

    .continue-btn,
    #email-continue-btn.button {
        font-weight: 700;
        background-color: var(--yellow);
        color: #997E00;
        padding: 1.25rem 2.5rem; /* 20px 40px */
        border-radius: 3.125rem; /* 50px */
        border: none;
        font-size: 1.25rem; /* 20px */
        cursor: pointer;
        margin-top: 2.5rem; /* 40px */
        transition: all 0.2s ease;
        width: 100%;
        margin-bottom: 1.875rem; /* 30px */
        max-width: 100%;
    }

    .continue-btn:hover {
        transform: translateY(-0.125rem); /* -2px */
        box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1); /* 4px 8px */
    }

    .continue-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        transform: none;
    }

    .highlight {
        color: var(--yellow);
    }

    @keyframes fadeIn {
        0% {
            opacity: 0
        }
    
        50% {
            opacity: 50%
        }
    
        to {
            opacity: 100%
        }
    }
    
    .animate-fadeIn {
        animation: fadeIn .5s ease-in-out
    }
    
    @keyframes fadeout {
        0% {
            opacity: 100%
        }
    
        50% {
            opacity: 50%
        }
    
        to {
            opacity: 0
        }
    }
    
    .animate-fadeout {
        animation: fadeout .4s ease-in-out
    }

    #quiz-container {
      max-width: 22.5rem; 
      margin: 0 auto;
      position: relative;
      overflow-x: hidden;
      padding: 0;
      /* margin-bottom: 2rem; */
    }

    #results-container {
        max-width: 22.5rem; 
        margin: 0 auto;
        position: relative;
        /* overflow-x: hidden; */
        padding: 0;
      }

    .answers {
      display: flex;
      flex-direction: column;
      gap: 0.75rem; /* 12px */
      width: 100%;
      max-width: 25rem; /* 400px */
      margin-top: 2.8125rem; /* 45px */
      margin-bottom: 2rem;
    }

    .answer-option {
      background: #fff;
      border-radius: 1.875rem; /* 30px */
      padding: 1.6rem 1.875rem; /* 24px 30px */
      border: 0.125rem solid transparent; /* 2px */
      font-size: 1.15rem; /* 20px */
      line-height: 1.2;
      cursor: pointer;
      font-weight: 600;
      color: #41505B;
      text-align: left;
      display: flex;
      align-items: center;
      transition: background 0.2s, color 0.2s, border 0.2s;
      position: relative;
      animation: fadeIn .3s ease-in-out;
      height: 5.8rem;
    }

    .answer-option:hover, 
    .answer-option:focus {
        outline: none;
    }

    .answer-option.selected {
      background: #fffbe6;
      color: #222;
      border: 0.125rem solid #ffe066; /* 2px */
    }
    .answer-option.multiple {
      border: 0.15625rem solid #eaeaea; /* 2.5px */
      padding-right: 3.375rem; /* 54px */
      font-weight: 600;
      animation: none;
    }
    .answer-option.multiple.selected {
      border: 0.15625rem solid #ffe066; /* 2.5px */
      background: #fffbe6;
      font-weight: 600;
    }
    .answer-option .checkbox {
      position: absolute;
      right: 1.125rem; /* 18px */
      width: 1.75rem; /* 28px */
      height: 1.75rem; /* 28px */
      border-radius: 0.625rem; /* 10px */
      border: 0.125rem solid #74A0BD; /* 2px */
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3em;
      color: #ffe066;
      transition: border 0.2s, background 0.2s;
    }
    .answer-option.multiple.selected .checkbox {
      background: var(--yellow);
      border: 0.125rem solid var(--yellow); /* 2px */
      color: #222;
    }
    .answer-option .checkbox svg {
      width: 1.125rem; /* 18px */
      height: 1.125rem; /* 18px */
    }

    span.question-sub {
      font-size: 1.25rem; /* 20px */
      color: #B6E2FF;
      text-align: center;
      margin-top: 0.75rem; /* 12px */
      font-weight: 400;
      display: block;
    }

    input[type="email"] {
      width: 100%;
      padding: 0 1.875rem; /* 30px */
      border-radius: 1.875rem; /* 30px */
      border: 0.125rem solid transparent; /* 2px */
      font-size: 1.25rem; /* 20px */
      margin-top: 4.375rem; /* 70px */
      box-sizing: border-box;
      height: 5rem; /* 80px */
      font-weight: 600;
      margin-bottom: 0;
    }

    input[type="email"]:focus {
        border-color: var(--yellow);
        outline: none;
        border: 0.15rem solid #ffe066;
    }

    .results-gauge {
      position: relative;
      max-width: 19.375rem; /* 310px */
      height: 10rem; /* 160px */
      margin: 0 auto;
      margin: 3.75rem auto 3.125rem auto; /* 60px auto 50px auto */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .gauge-canvas-container {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .results-gauge svg {
      position: absolute;
      top: 0;
      left: 0;
      width: 13.75rem; /* 220px */
      height: 7.5rem; /* 120px */
      z-index: 1;
    }

    .results-summary {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      min-height: 100vh;
      min-height: 100dvh;
      padding-top: 0;
    }

    .action-plan-cards {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 0.75rem; /* 12px */
      margin-bottom: 7.8125rem; /* 125px */
      align-items: center;
    }

    #action-plan-btn.continue-btn {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 2rem; /* 32px */
      margin: 0 auto;
      width: 90vw;
      max-width: 22.5rem; /* 360px */
      border-radius: 2.5rem; /* 40px */
      font-size: 1.15em;
      font-weight: 700;
      padding: 1.375rem 0; /* 22px 0 */
      z-index: 10;
    }

    #results-continue-btn.continue-btn {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 2rem; /* 32px */
      margin: 0 auto;
      width: 90vw;
      max-width: 22.5rem; /* 360px */
      border-radius: 2.5rem; /* 40px */
      font-size: 1.15em;
      font-weight: 700;
      padding: 1.375rem 0; /* 22px 0 */
    }

    .bottom-info {
        margin-bottom: 2.5rem; /* 40px */
    }

    /* Timer container styles */
    .timer-container {
        background: #FFE8F0;
        margin: 0 -1.8rem;
        padding: 0.75rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .timer-icon {
        margin-right: 0.5rem;
        display: flex;
        align-items: center;
    }

    .timer-text {
        color: #E94A76;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .price-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .product-name {
        color: #41505B;
        font-size: 1.2rem;
        font-weight: 600;
    }

    .price {
        color: #41505B;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .price-details {
        color: #70899A;
        font-size: 1rem;
        line-height: 1.2;
        margin-top: 0.5rem;
        text-align: left;
    }

    .offer-details h4 {
        color: #41505B;
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 1.3rem;
    }

@media (max-height: 860px) {

    #home-page.container .img-box {
        height: calc(100vh - 36.25rem); 
        height: calc(100dvh - 36.25rem);
    }

    #home-page.container .inner-box {
        height: 100vh;
        height: 100dvh;
        /* min-height: 36.25rem;  */
        overflow: hidden;
    }

    .thankyou-container .confetti-svg {
        height: calc(100vh - 31.5625rem); /* 505px */
        height: calc(100dvh - 31.5625rem);
    }

    .thankyou-container .inner-box {
        min-height: 31.5625rem; /* 505px */
        overflow: hidden;
    }

}