    @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

    :root {
      --deep-green: #0f3d35;
      --forest: #1f6b5c;
      --leaf: #63b7a8;
      --aqua: #bfeee6;
      --pastel: #eaf8f3;
      --mint: #f6fcf9;
      --cream: #ffffff;
      --text: #17332d;
      --muted: #6a7f79;
      --line: #dceee8;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', Arial, sans-serif;
    }

    body {
      min-height: 100vh;
      background:
        radial-gradient(circle at 8% 5%, rgba(191, 238, 230, .55), transparent 30%),
        radial-gradient(circle at 92% 12%, rgba(99, 183, 168, .22), transparent 28%),
        linear-gradient(135deg, #f8fffb 0%, #edf9f4 48%, #f5fbf8 100%);
      color: var(--text);
      padding: 22px 0;
    }

    .quiz-wrapper {
      max-width: 1040px;
      margin: 20px auto;
      background: rgba(255, 255, 255, .92);
      border: 1px solid rgba(31, 77, 53, .12);
      border-radius: 34px;
      padding: 34px;
      box-shadow: 0 24px 70px rgba(18, 53, 36, .14);
      position: relative;
      overflow: hidden;
    }

    .quiz-wrapper::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 145px;
      background: linear-gradient(135deg, var(--deep-green), var(--forest), var(--leaf));
      z-index: 0;
    }

    .quiz-wrapper::after {
      content: "Go Look Skin Ritual";
      position: absolute;
      top: 28px;
      right: 34px;
      color: rgba(255, 255, 255, .13);
      font-size: 42px;
      font-weight: 800;
      letter-spacing: -1px;
      z-index: 1;
    }

    .progress-box,
    .question-box,
    .back-btn {
      position: relative;
      z-index: 2;
    }

    .progress-box {
      display: flex;
      justify-content: space-between;
      margin: 8px auto 52px;
      max-width: 760px;
      color: #fff;
    }

    .progress-box::before {
      content: "";
      position: absolute;
      top: 15px;
      left: 92px;
      right: 92px;
      height: 3px;
      background: rgba(255, 255, 255, .28);
      z-index: 1;
      border-radius: 999px;
    }

    .progress-line {
      position: absolute;
      top: 15px;
      left: 92px;
      height: 3px;
      width: 0%;
      background: linear-gradient(90deg, var(--aqua), #e3fff8);
      z-index: 2;
      transition: .35s ease;
      border-radius: 999px;
    }

    .step {
      width: 25%;
      text-align: center;
      position: relative;
      z-index: 3;
      font-size: 12px;
      font-weight: 700;
      color: rgba(255, 255, 255, .72);
      letter-spacing: .2px;
    }

    .step span {
      width: 31px;
      height: 31px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .25);
      border: 1px solid rgba(255, 255, 255, .38);
      display: block;
      margin: 0 auto 9px;
      box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .12);
    }

    .step.active {
      color: #fff;
    }

    .step.active span {
      background: var(--aqua);
      border-color: #e6fff9;
      box-shadow: 0 0 0 5px rgba(191, 238, 230, .28);
    }

    .back-btn {
      position: absolute;
      left: 24px;
      top: 24px;
      width: 42px;
      height: 42px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, .35);
      background: rgba(255, 255, 255, .18);
      color: #fff;
      font-size: 25px;
      cursor: pointer;
      backdrop-filter: blur(8px);
      transition: .25s ease;
    }

    .back-btn:hover {
      background: rgba(255, 255, 255, .28);
      transform: translateX(-2px);
    }

    .question-box {
      text-align: center;
      background: #fff;
      border-radius: 28px;
      padding: 34px 26px;
      box-shadow: 0 16px 45px rgba(18, 53, 36, .08);
      border: 1px solid var(--line);
    }

    .question-box h2 {
      font-family: 'Playfair Display', serif;
      font-size: 36px;
      margin-bottom: 12px;
      color: var(--deep-green);
      letter-spacing: -.4px;
      font-weight: 700;
      line-height: 1.15;
    }

    .question-box p {
      font-size: 15.5px;
      color: var(--muted);
      margin: 0 auto 34px;
      line-height: 1.75;
      max-width: 720px;
    }

    .question-box p b {
      color: var(--forest);
    }

    .options {
      max-width: 810px;
      margin: auto;
      display: grid;
      gap: 16px;
    }

    .option {
      display: grid;
      grid-template-columns: 92px 1fr 34px;
      align-items: center;
      gap: 22px;
      padding: 17px;
      border: 1.5px solid var(--line);
      border-radius: 24px;
      cursor: pointer;
      text-align: left;
      transition: .25s ease;
      background: linear-gradient(180deg, #fff, #f7fffb);
      box-shadow: 0 8px 22px rgba(18, 53, 36, .05);
    }

    .option:hover,
    .option.active {
      border-color: rgba(31, 77, 53, .55);
      background: linear-gradient(135deg, #f8fffc, #eaf9f5);
      transform: translateY(-2px);
      box-shadow: 0 14px 32px rgba(18, 53, 36, .12);
    }

    .option img {
      width: 92px;
      height: 92px;
      border-radius: 22px;
      object-fit: cover;
      border: 3px solid #e8f8f2;
    }

    .option h3 {
      font-size: 18px;
      margin-bottom: 7px;
      color: var(--deep-green);
      font-weight: 800;
    }

    .option small {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.55;
    }

    .radio {
      width: 24px;
      height: 24px;
      border: 2px solid #bdc9b8;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
    }

    .option.active .radio {
      background: var(--forest);
      border-color: var(--forest);
    }

    .option.active .radio::after {
      content: "✓";
      color: #fff;
      font-size: 13px;
      font-weight: 800;
    }

    .next-btn {
      display: none;
      margin: 34px auto 0;
      border: none;
      background: linear-gradient(135deg, var(--deep-green), var(--forest), var(--leaf));
      color: #fff;
      padding: 16px 38px;
      border-radius: 999px;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 14px 28px rgba(18, 53, 36, .22);
      transition: .25s ease;
    }

    .next-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 34px rgba(18, 53, 36, .28);
    }

    .next-btn.show {
      display: block;
    }

    .result-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
      margin-top: 32px;
    }

    .product-card {
      background: #fff;
      border-radius: 24px;
      text-align: left;
      border: 1px solid var(--line);
      overflow: hidden;
      text-decoration: none;
      color: var(--text);
      transition: .28s ease;
      box-shadow: 0 12px 28px rgba(18, 53, 36, .08);
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 44px rgba(18, 53, 36, .16);
      border-color: rgba(99, 183, 168, .55);
    }

    .product-card img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      background: #eaf8f3;
    }

    .product-card-content {
      padding: 18px 18px 20px;
    }

    .product-card h3 {
      color: var(--deep-green);
      margin-bottom: 8px;
      font-size: 17px;
      line-height: 1.35;
      font-weight: 800;
    }

    .product-card p {
      font-size: 13.5px;
      color: var(--muted);
      margin: 0;
      line-height: 1.55;
    }

    .whatsapp-btn {
      display: inline-block;
      margin-top: 34px;
      background: linear-gradient(135deg, #1faa59, #25D366);
      color: #fff;
      text-decoration: none;
      padding: 16px 34px;
      border-radius: 999px;
      font-weight: 800;
      box-shadow: 0 14px 30px rgba(37, 211, 102, .28);
    }

    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 28, 19, .68);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 18px;
      backdrop-filter: blur(6px);
    }

    .popup-box {
      background: #ffffff;
      width: 100%;
      max-width: 455px;
      border-radius: 28px;
      padding: 30px;
      border: 1px solid rgba(99, 183, 168, .25);
      box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
    }

    .popup-box h2 {
      font-family: 'Playfair Display', serif;
      font-size: 30px;
      margin-bottom: 10px;
      color: var(--deep-green);
      font-weight: 700;
      letter-spacing: -.3px;
    }

    .popup-box p {
      font-size: 14.5px;
      color: var(--muted);
      line-height: 1.65;
      margin-bottom: 22px;
    }

    .popup-box input {
      width: 100%;
      padding: 15px 17px;
      border: 1.5px solid #dfe7d8;
      border-radius: 16px;
      margin-bottom: 13px;
      font-size: 15px;
      background: #fff;
      outline: none;
      transition: .2s ease;
    }

    .popup-box input:focus {
      border-color: var(--leaf);
      box-shadow: 0 0 0 4px rgba(63, 125, 79, .11);
    }

    .popup-box button {
      width: 100%;
      border: none;
      background: linear-gradient(135deg, var(--deep-green), var(--forest), var(--leaf));
      color: #fff;
      padding: 15px;
      border-radius: 999px;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 14px 26px rgba(18, 53, 36, .2);
    }

    .popup-error {
      display: none;
      color: #b42318;
      font-size: 13px;
      margin-bottom: 10px;
      font-weight: 600;
    }

    @media(max-width:1024px) {
      body {
        padding: 16px 10px;
      }

      .quiz-wrapper {
        max-width: 94%;
        padding: 26px;
        border-radius: 30px;
      }

      .quiz-wrapper::before {
        height: 140px;
      }

      .quiz-wrapper::after {
        font-size: 30px;
        right: 28px;
        top: 34px;
      }

      .progress-box {
        max-width: 680px;
        margin-bottom: 42px;
      }

      .question-box {
        padding: 30px 22px;
      }

      .question-box h2 {
        font-size: 32px;
      }

      .options {
        max-width: 760px;
      }

      .result-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media(max-width:768px) {
      body {
        padding: 8px 0;
        background: linear-gradient(135deg, #f8fffb 0%, #edf9f4 100%);
      }

      .quiz-wrapper {
        max-width: calc(100% - 20px);
        margin: 10px auto;
        padding: 16px;
        border-radius: 24px;
        box-shadow: 0 14px 38px rgba(18, 53, 36, .12);
      }

      .quiz-wrapper::before {
        height: 128px;
      }

      .quiz-wrapper::after {
        display: none;
      }

      .back-btn {
        top: 16px;
        left: 16px;
        width: 38px;
        height: 38px;
        font-size: 23px;
      }

      .progress-box {
        margin-top: 42px;
        margin-bottom: 30px;
        max-width: 100%;
      }

      .step {
        font-size: 9.5px;
        line-height: 1.25;
        padding: 0 2px;
      }

      .step span {
        width: 26px;
        height: 26px;
        margin-bottom: 7px;
      }

      .progress-box::before,
      .progress-line {
        left: 42px;
        right: 42px;
        top: 13px;
      }

      .question-box {
        padding: 24px 14px;
        border-radius: 20px;
      }

      .question-box h2 {
        font-size: 26px;
        line-height: 1.2;
      }

      .question-box p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 22px;
      }

      .options {
        gap: 12px;
      }

      .option {
        grid-template-columns: 68px 1fr 24px;
        gap: 12px;
        padding: 12px;
        border-radius: 18px;
      }

      .option img {
        width: 68px;
        height: 68px;
        border-radius: 16px;
      }

      .option h3 {
        font-size: 15.5px;
        margin-bottom: 5px;
      }

      .option small {
        font-size: 12.5px;
        line-height: 1.45;
      }

      .radio {
        width: 22px;
        height: 22px;
      }

      .next-btn,
      .whatsapp-btn {
        width: 100%;
        text-align: center;
        padding: 15px 18px;
        font-size: 14.5px;
      }

      .result-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 24px;
      }

      .product-card img {
        height: 220px;
      }

      .product-card-content {
        padding: 16px;
      }

      .popup-overlay {
        padding: 14px;
        align-items: flex-end;
      }

      .popup-box {
        max-width: 100%;
        padding: 24px 18px;
        border-radius: 24px 24px 18px 18px;
      }

      .popup-box h2 {
        font-size: 27px;
      }
    }

    @media(max-width:480px) {
      .quiz-wrapper {
        max-width: calc(100% - 14px);
        margin: 7px auto;
        padding: 12px;
        border-radius: 20px;
      }

      .quiz-wrapper::before {
        height: 118px;
      }

      .back-btn {
        width: 34px;
        height: 34px;
        top: 14px;
        left: 14px;
      }

      .progress-box {
        margin-top: 40px;
        margin-bottom: 24px;
      }

      .step {
        font-size: 8.5px;
        font-weight: 700;
      }

      .step span {
        width: 22px;
        height: 22px;
        margin-bottom: 6px;
      }

      .progress-box::before,
      .progress-line {
        left: 30px;
        right: 30px;
        top: 11px;
        height: 2.5px;
      }

      .question-box {
        padding: 22px 11px;
        border-radius: 18px;
      }

      .question-box h2 {
        font-size: 24px;
        margin-bottom: 9px;
      }

      .question-box p {
        font-size: 13.2px;
        margin-bottom: 18px;
      }

      .option {
        grid-template-columns: 58px 1fr 20px;
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
      }

      .option img {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        border-width: 2px;
      }

      .option h3 {
        font-size: 14.5px;
      }

      .option small {
        font-size: 11.8px;
      }

      .radio {
        width: 20px;
        height: 20px;
      }

      .product-card img {
        height: 190px;
      }

      .product-card h3 {
        font-size: 15.5px;
      }

      .product-card p {
        font-size: 12.7px;
      }

      .popup-box input {
        padding: 13px 14px;
        font-size: 14px;
      }
    }

    @media(max-width:360px) {
      .step {
        font-size: 7.7px;
      }

      .question-box h2 {
        font-size: 22px;
      }

      .option {
        grid-template-columns: 52px 1fr 18px;
      }

      .option img {
        width: 52px;
        height: 52px;
      }
    }
