    :root {
      --bg: #0d1117;
      --surface: #161b22;
      --surface2: #1e2530;
      --accent: #e8c96b;
      --accent2: #f0a050;
      --green: #4caf80;
      --text: #f0ece4;
      --muted: #8b9099;
      --border: rgba(232, 201, 107, 0.18);
      --radius: 16px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      overflow-x: hidden;
    }

    /* Animated background */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 60% at 20% 10%, rgba(232, 201, 107, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 80%, rgba(240, 160, 80, 0.06) 0%, transparent 60%);
      pointer-events: none;
      z-index: 0;
    }

    /* â”€â”€ Header â”€â”€ */
    .header {
      width: 100%;
      max-width: 520px;
      padding: 28px 24px 0;
      position: relative;
      z-index: 1;
    }

    .logo {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 900;
      color: var(--accent);
      letter-spacing: -0.5px;
      text-align: center;
      margin-bottom: 24px;
    }

    .logo span {
      color: var(--text);
    }

    /* Progress bar */
    .progress-wrap {
      width: 100%;
      background: var(--surface2);
      border-radius: 99px;
      height: 6px;
      margin-bottom: 8px;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      border-radius: 99px;
      transition: width 0.5s cubic-bezier(.4, 0, .2, 1);
    }

    .progress-label {
      font-size: 12px;
      color: var(--muted);
      text-align: right;
    }

    /* â”€â”€ Main card â”€â”€ */
    .card-wrap {
      width: 100%;
      max-width: 520px;
      padding: 24px;
      position: relative;
      z-index: 1;
      flex: 1;
    }

    .screen {
      display: none;
      animation: fadeUp 0.38s ease both;
    }

    .screen.active {
      display: block;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(22px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* â”€â”€ Question card â”€â”€ */
    .q-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 30px 24px 28px;
    }

    .q-tag {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1.4px;
      color: var(--accent);
      margin-bottom: 14px;
    }

    .q-title {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 700;
      line-height: 1.35;
      color: var(--text);
      margin-bottom: 8px;
    }

    .q-sub {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 26px;
      line-height: 1.6;
    }

    /* Options */
    .options {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .option {
      background: var(--surface2);
      border: 1.5px solid rgba(255, 255, 255, 0.07);
      border-radius: 12px;
      padding: 15px 18px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 14px;
      transition: all 0.22s ease;
      position: relative;
      overflow: hidden;
    }

    .option::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(232, 201, 107, 0.08), transparent);
      opacity: 0;
      transition: opacity 0.22s;
    }

    .option:hover {
      border-color: rgba(232, 201, 107, 0.4);
      transform: translateY(-2px);
    }

    .option:hover::after {
      opacity: 1;
    }

    .option.selected {
      border-color: var(--accent);
      background: rgba(232, 201, 107, 0.08);
    }

    .option.selected::after {
      opacity: 1;
    }

    .opt-icon {
      font-size: 22px;
      min-width: 32px;
      text-align: center;
    }

    .opt-text {
      flex: 1;
    }

    .opt-main {
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
    }

    .opt-hint {
      font-size: 12px;
      color: var(--muted);
      margin-top: 2px;
    }

    .opt-check {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      font-size: 12px;
      color: transparent;
      flex-shrink: 0;
    }

    .option.selected .opt-check {
      background: var(--accent);
      border-color: var(--accent);
      color: #000;
    }

    /* 2-col grid for some questions */
    .options.grid2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .options.grid2 .option {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 18px 12px;
      gap: 8px;
    }

    .options.grid2 .opt-check {
      display: none;
    }

    .options.grid2 .opt-icon {
      font-size: 28px;
    }

    /* Next button */
    .btn-next {
      display: block;
      width: 100%;
      margin-top: 36px;
      margin-bottom: 20px;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: #1a1200;
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      font-weight: 700;
      border: none;
      border-radius: 12px;
      padding: 16px 24px;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: all 0.22s ease;
      box-shadow: 0 8px 28px rgba(232, 201, 107, 0.22);
    }

    .btn-next:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 36px rgba(232, 201, 107, 0.32);
    }

    .btn-next:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      transform: none;
    }

    /* â”€â”€ Premium Input fields â”€â”€ */
    /* â”€â”€ Premium Input fields â”€â”€ */
    .premium-input-wrapper {
      display: flex;
      align-items: center;
      background: rgba(22, 27, 34, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      padding: 6px 16px;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
      transition: all 0.3s ease;
      position: relative;
    }

    .premium-input-wrapper:focus-within {
      background: rgba(30, 37, 48, 0.95);
      border-color: var(--accent);
      box-shadow: 0 6px 20px rgba(232, 201, 107, 0.12), inset 0 2px 5px rgba(0, 0, 0, 0.5);
      transform: translateY(-2px);
    }

    .highlight-wrapper {
      background: rgba(232, 201, 107, 0.05);
      border-color: rgba(232, 201, 107, 0.3);
    }

    .premium-icon-dynamic {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.6);
      margin-right: 14px;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .highlight-icon {
      background: rgba(232, 201, 107, 0.1);
      color: var(--accent);
    }

    .premium-input-wrapper:focus-within .premium-icon-dynamic {
      background: rgba(232, 201, 107, 0.2);
      color: var(--accent);
      transform: scale(1.05);
    }

    .premium-floating-label {
      position: relative;
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      height: 60px;
    }

    .premium-floating-label label {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 15px;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.5);
      pointer-events: none;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .premium-input-dynamic:focus+label,
    .premium-input-dynamic:valid+label {
      top: 14px;
      font-size: 11px;
      color: var(--accent);
      font-weight: 700;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .premium-input-dynamic {
      width: 100%;
      height: 100%;
      background: transparent;
      border: none;
      padding: 20px 0 0 0;
      font-size: 20px;
      font-weight: 700;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      outline: none;
    }

    .premium-input-dynamic::-webkit-outer-spin-button,
    .premium-input-dynamic::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .premium-input-dynamic[type=number] {
      -moz-appearance: textfield;
      appearance: textfield;
    }

    .premium-unit-badge {
      font-size: 14px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.4);
      background: rgba(255, 255, 255, 0.05);
      padding: 6px 12px;
      border-radius: 8px;
      margin-left: 10px;
      transition: all 0.3s ease;
      letter-spacing: 0.5px;
    }

    .premium-input-wrapper:focus-within .premium-unit-badge {
      color: #1a1200;
      background: var(--accent);
    }

    /* Premium iOS Style Toggle */
    .premium-toggle {
      position: relative;
      display: flex;
      background: rgba(13, 17, 23, 0.8);
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 24px;
      padding: 4px;
      box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .premium-toggle-slider {
      position: absolute;
      top: 4px;
      bottom: 4px;
      left: 4px;
      width: calc(50% - 4px);
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      border-radius: 8px;
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 12px rgba(232, 201, 107, 0.3);
    }

    .unit-btn {
      flex: 1;
      padding: 12px;
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      font-family: 'DM Sans', sans-serif;
      transition: all 0.3s;
      position: relative;
      z-index: 2;
    }

    .unit-btn.active {
      color: #1a1200;
    }

    /* â”€â”€ Loading screen â”€â”€ */
    .loading-screen {
      text-align: center;
      padding: 40px 0;
    }

    .loading-title {
      font-family: 'Playfair Display', serif;
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
    }

    .loading-sub {
      font-size: 14px;
      color: var(--muted);
      margin-bottom: 40px;
      line-height: 1.6;
    }

    .loader-ring {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      border: 4px solid var(--surface2);
      border-top-color: var(--accent);
      animation: spin 1s linear infinite;
      margin: 0 auto 32px;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    .analyzing-items {
      text-align: left;
      max-width: 340px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .a-item {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: var(--muted);
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.4s ease;
    }

    .a-item.show {
      opacity: 1;
      transform: none;
    }

    .a-item.done {
      color: var(--green);
    }

    .a-dot {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      border: 2px solid currentColor;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      flex-shrink: 0;
    }

    /* â”€â”€ Results screen â”€â”€ */
    .results-screen {
      text-align: center;
    }

    .result-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(76, 175, 128, 0.12);
      border: 1px solid rgba(76, 175, 128, 0.3);
      border-radius: 99px;
      padding: 7px 16px;
      font-size: 13px;
      font-weight: 600;
      color: var(--green);
      margin-bottom: 24px;
    }

    .result-title {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 12px;
    }

    .result-title .accent {
      color: var(--accent);
    }

    .result-sub {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 28px;
    }

    /* Weight chart */
    .weight-chart {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 24px;
      margin-bottom: 20px;
      position: relative;
    }

    .chart-title {
      font-size: 13px;
      color: var(--muted);
      text-align: left;
      margin-bottom: 16px;
      font-weight: 500;
    }

    .chart-svg-wrap {
      width: 100%;
    }

    .chart-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      font-size: 12px;
      color: var(--muted);
    }

    .goal-date {
      display: inline-block;
      background: rgba(232, 201, 107, 0.12);
      border: 1px solid rgba(232, 201, 107, 0.3);
      border-radius: 8px;
      padding: 6px 14px;
      font-size: 13px;
      color: var(--accent);
      font-weight: 600;
      margin-top: 12px;
    }

    /* Stats row */
    .stats-row {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
      margin-bottom: 20px;
    }

    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 16px 12px;
      text-align: center;
    }

    .stat-val {
      font-family: 'Playfair Display', serif;
      font-size: 22px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 4px;
    }

    .stat-lbl {
      font-size: 11px;
      color: var(--muted);
    }

    /* Features */
    .features {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      margin-bottom: 20px;
      text-align: left;
    }

    .features-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 14px;
    }

    .feat-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin-bottom: 12px;
      font-size: 14px;
      color: var(--text);
      line-height: 1.5;
    }

    .feat-icon {
      color: var(--green);
      font-size: 16px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* CTA */
    .cta-section {
      text-align: center;
    }

    .price-line {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .price-big {
      font-family: 'Playfair Display', serif;
      font-size: 36px;
      font-weight: 900;
      color: var(--text);
      line-height: 1;
      margin-bottom: 4px;
    }

    .price-sub {
      font-size: 13px;
      color: var(--muted);
      margin-bottom: 20px;
    }

    .btn-cta {
      display: block;
      width: 100%;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: #1a1200;
      font-family: 'DM Sans', sans-serif;
      font-size: 17px;
      font-weight: 700;
      border: none;
      border-radius: 14px;
      padding: 18px 24px;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: all 0.22s ease;
      box-shadow: 0 10px 36px rgba(232, 201, 107, 0.28);
      margin-bottom: 12px;
    }

    .btn-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 44px rgba(232, 201, 107, 0.38);
    }

    .guarantee {
      font-size: 12px;
      color: var(--muted);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    /* â”€â”€ Landing screen â”€â”€ */
    .landing-screen {
      text-align: center;
      padding: 20px 0 8px;
    }

    .hero-emoji {
      font-size: 52px;
      margin-bottom: 20px;
      display: block;
      animation: bounce 2s ease infinite;
    }

    @keyframes bounce {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-8px);
      }
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: 30px;
      font-weight: 900;
      line-height: 1.2;
      margin-bottom: 14px;
    }

    .hero-title .gold {
      color: var(--accent);
    }

    .hero-desc {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .pills {
      display: flex;
      gap: 8px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 30px;
    }

    .pill {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 99px;
      padding: 7px 14px;
      font-size: 13px;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .pill .dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green);
    }

    .start-btn {
      display: block;
      width: 100%;
      background: linear-gradient(135deg, var(--accent), var(--accent2));
      color: #1a1200;
      font-family: 'DM Sans', sans-serif;
      font-size: 17px;
      font-weight: 700;
      border: none;
      border-radius: 14px;
      padding: 18px 24px;
      cursor: pointer;
      box-shadow: 0 10px 36px rgba(232, 201, 107, 0.25);
      transition: all 0.22s ease;
      margin-bottom: 14px;
    }

    .start-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 14px 44px rgba(232, 201, 107, 0.35);
    }

    .start-note {
      font-size: 12px;
      color: var(--muted);
    }

    /* â”€â”€ Scroll hint â”€â”€ */
    .footer-note {
      font-size: 12px;
      color: var(--muted);
      text-align: center;
      padding: 20px;
      position: relative;
      z-index: 1;
    }

    /* KetoGo Gender Cards in Valentier */
    .kg-cta {
      text-align: center;
      padding: 10px 0 20px;
    }

    .kg-title {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 900;
      line-height: 1.25;
      margin-bottom: 8px;
    }

    .kg-title .accent {
      color: var(--accent);
    }

    .kg-subtitle {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 24px;
      font-weight: 500;
    }

    .kg-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .kg-card {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 0;
      cursor: pointer;
      transition: all 0.22s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .kg-card::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(120deg, rgba(232, 201, 107, 0.15), transparent);
      opacity: 0;
      transition: opacity 0.22s;
    }

    .kg-card:hover {
      border-color: rgba(232, 201, 107, 0.5);
      transform: translateY(-2px);
    }

    .kg-card:hover::after {
      opacity: 1;
    }

    .kg-card img {
      width: 100%;
      display: block;
      border-radius: 16px 16px 0 0;
    }

    .kg-card-label {
      font-size: 18px;
      font-weight: 700;
      color: var(--text);
      padding: 16px 0;
      font-family: 'DM Sans', sans-serif;
    }

    .kg-goal-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: 24px;
    }

    .kg-goal-card {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.22s ease;
      text-align: left;
    }

    .kg-goal-card:hover {
      border-color: rgba(232, 201, 107, 0.5);
      transform: translateY(-2px);
    }

    .kg-goal-label {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      flex: 1;
      padding-right: 16px;
    }

    .kg-goal-img {
      width: 80px;
      height: 80px;
      border-radius: 8px;
      object-fit: cover;
    }

    /* Responsive */
    @media(max-width:400px) {
      .q-title {
        font-size: 19px;
      }

      .stats-row {
        grid-template-columns: 1fr 1fr;
      }

      .stats-row .stat-card:last-child {
        grid-column: span 2;
      }
    }
