<style>
  :root {
    --primary: #0B2E4A;
    --primary-dark: #06192A;
    --primary-darker: #03101D;
    --primary-light: #0B2E4A;
    --primary-lightest: #EEF6FB;
    --accent: #15803D;
    --accent-dark: #0F5A2C;
    --accent-light: #D1FAE5;
    --alert: #B91C1C;
    --alert-light: #FEE2E2;
    --text-dark: #172033;
    --text-body: #172033;
    --text-muted: #5B677A;
    --bg-white: #ffffff;
    --bg-light: #F8FAFC;
    --bg-accent: #EEF6FB;
    --border: #CBD5E0;
    --border-light: #E2E8F0;
    --whatsapp: #25d366;
    --shadow-sm: 0 1px 3px rgba(60, 64, 67, 0.08), 0 1px 2px rgba(60, 64, 67, 0.04);
    --shadow-md: 0 2px 8px rgba(60, 64, 67, 0.12), 0 4px 16px rgba(60, 64, 67, 0.06);
    --shadow-lg: 0 8px 24px rgba(60, 64, 67, 0.15), 0 16px 48px rgba(60, 64, 67, 0.08);
    --shadow-primary: 0 6px 20px rgba(26, 115, 232, 0.25);
    --shadow-accent: 0 6px 20px rgba(52, 168, 83, 0.28);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #EEF6FB 0%, #F8FAFC 60%, #D1FAE5 100%);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 17px;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
  }
  h1, h2, h3 { font-family: 'Rubik', sans-serif; color: var(--text-dark); font-weight: 700; line-height: 1.3; }

  /* === SITE HEADER === */
  .site-header {
    background: var(--bg-white);
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
  }
  .site-logo { max-height: 52px; width: auto; }

  .top-bar {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 9px 20px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
  }
  .top-bar a { color: var(--bg-white); text-decoration: none; font-weight: 700; border-bottom: 1px dotted rgba(255,255,255,0.4); }

  /* === DEV NOTICE === */
  .dev-notice {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #0F766E;
    color: white;
    padding: 7px 16px;
    text-align: center;
    font-size: 13px;
    z-index: 200;
    font-weight: 500;
  }
  body.preview-mode { padding-top: 34px; }

  /* === MAIN WRAPPER === */
  .quiz-wrapper {
    max-width: 760px;
    margin: 32px auto 60px;
    padding: 0 20px;
  }

  /* === PROGRESS BAR === */
  .progress-shell {
    background: var(--bg-white);
    border-radius: 50px;
    height: 12px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
    margin-bottom: 8px;
  }
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
  }
  .progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  .progress-meta strong { color: var(--primary-dark); font-weight: 700; }

  /* === SCREEN CARD === */
  .quiz-screen {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 44px 48px 36px;
    box-shadow: var(--shadow-lg);
    display: none;
    animation: fadeSlide 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .quiz-screen.active { display: block; }
  @keyframes fadeSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .quiz-eyebrow {
    display: inline-block;
    background: var(--primary-lightest);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 14px;
  }
  .quiz-screen h2 {
    font-size: 28px;
    margin-bottom: 14px;
    color: var(--text-dark);
    line-height: 1.25;
  }
  .quiz-screen .quiz-lead {
    font-size: 16.5px;
    color: var(--text-body);
    margin-bottom: 26px;
    line-height: 1.65;
  }
  .quiz-screen .quiz-lead strong { color: var(--primary-dark); border-bottom: 2px solid var(--accent-light); padding-bottom: 1px; }

  /* === WELCOME SCREEN === */
  .welcome-illustration {
    text-align: center;
    margin-bottom: 18px;
  }
  .welcome-illustration img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(26, 115, 232, 0.18));
  }
  .welcome-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }
  .welcome-meta-item {
    text-align: center;
  }
  .welcome-meta-icon {
    width: 38px; height: 38px;
    background: var(--primary-lightest);
    color: var(--primary-dark);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
  }
  .welcome-meta-icon svg { width: 20px; height: 20px; }
  .welcome-meta-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    line-height: 1.3;
  }
  .welcome-meta-sub {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* === Yes/No Buttons === */
  .yes-no-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 8px;
  }
  .yes-no-btn {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 28px 18px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 19px;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .yes-no-btn:hover {
    border-color: var(--primary);
    background: var(--primary-lightest);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  .yes-no-btn.selected {
    border-color: var(--primary);
    background: var(--primary-lightest);
    color: var(--primary-dark);
  }
  .yes-no-btn .yn-icon {
    width: 46px; height: 46px;
    background: var(--primary-lightest);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .yes-no-btn .yn-icon svg { width: 26px; height: 26px; }
  .yes-no-btn[data-value="yes"] .yn-icon { background: var(--accent-light); color: var(--accent-dark); }
  .yes-no-btn[data-value="no"] .yn-icon { background: var(--alert-light); color: var(--alert); }

  /* === Checkbox grid === */
  .checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .check-card {
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
    user-select: none;
  }
  .check-card:hover {
    border-color: var(--primary-light);
    background: #F8FAFC;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
  }
  .check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }
  .check-card .check-box {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: var(--bg-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
  }
  .check-card .check-box svg {
    width: 16px; height: 16px;
    color: var(--bg-white);
    opacity: 0;
    transition: var(--transition);
  }
  .check-card.checked {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--accent-light) 0%, #D1FAE5 100%);
  }
  .check-card.checked .check-box {
    background: var(--accent);
    border-color: var(--accent);
  }
  .check-card.checked .check-box svg { opacity: 1; }
  .check-card .check-icon {
    width: 36px; height: 36px;
    background: var(--primary-lightest);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .check-card.checked .check-icon { background: var(--bg-white); color: var(--accent-dark); }
  .check-card .check-icon svg { width: 20px; height: 20px; }
  .check-card .check-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    line-height: 1.4;
  }

  .check-extra-note {
    font-size: 13.5px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
  }
  .check-extra-note svg {
    width: 18px; height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* === Action Buttons === */
  .quiz-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
  }
  .btn-back {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-back:hover { background: var(--bg-light); color: var(--text-dark); }
  .btn-back svg { width: 16px; height: 16px; }
  .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    border: none;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 16.5px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
  }
  .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 115, 232, 0.4);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  }
  .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
  }
  .btn-primary svg { width: 18px; height: 18px; }
  .btn-success {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: var(--shadow-accent);
  }
  .btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-dark) 0%, #0F5A2C 100%);
    box-shadow: 0 12px 32px rgba(52, 168, 83, 0.45);
  }

  /* === RESULT SCREEN === */
  .result-hero {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: var(--bg-white);
    padding: 38px 32px 30px;
    border-radius: var(--radius-lg);
    margin: 0 -16px 26px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .result-hero::before {
    content: "";
    position: absolute;
    top: -80px; right: -80px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(52,168,83,0.35) 0%, transparent 70%);
    border-radius: 50%;
  }
  .result-hero::after {
    content: "";
    position: absolute;
    bottom: -100px; left: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
  }
  .result-hero > * { position: relative; z-index: 1; }
  .result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--bg-white);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: var(--shadow-accent);
  }
  .result-badge svg { width: 16px; height: 16px; }
  .result-hero h2 {
    color: var(--bg-white);
    font-size: 30px;
    margin-bottom: 10px;
  }
  .result-hero p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    margin-bottom: 0;
  }
  .result-hero .est-amount {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 16px 22px;
    margin: 18px auto 0;
    max-width: 380px;
    border: 1px solid rgba(255,255,255,0.18);
  }
  .result-hero .est-label {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 4px;
  }
  .result-hero .est-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--bg-white);
    font-family: 'Rubik', sans-serif;
    line-height: 1.1;
  }
  .result-hero .est-sub {
    font-size: 12.5px;
    color: rgba(255,255,255,0.78);
    margin-top: 6px;
  }

  .result-criteria-list {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 22px;
  }
  .result-criteria-list h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
  }
  .result-criteria-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .result-criteria-list li {
    background: var(--bg-white);
    color: var(--accent-dark);
    border: 1px solid var(--accent-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .result-criteria-list li svg { width: 14px; height: 14px; color: var(--accent); }

  /* === LEAD FORM === */
  .lead-form-block {
    background: linear-gradient(135deg, #fff 0%, #F8FAFC 100%);
    border: 2px solid var(--primary-lightest);
    border-radius: 14px;
    padding: 26px 28px 22px;
  }
  .lead-form-block h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--primary-dark);
  }
  .lead-form-block .form-sub {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 18px;
  }
  .lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .lead-form input[type="text"],
  .lead-form input[type="tel"],
  .lead-form input[type="email"],
  .lead-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Heebo', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    direction: rtl;
  }
  .lead-form select {
    padding-left: 40px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    cursor: pointer;
  }
  .lead-form input:focus, .lead-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.12);
  }
  .lead-form-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 6px 2px 16px;
    line-height: 1.5;
    user-select: none;
  }
  .lead-form-terms input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--primary);
    margin-top: 1px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .lead-form-terms a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--primary-lightest);
  }
  .lead-form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-white);
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 17px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Rubik', sans-serif;
    box-shadow: var(--shadow-accent);
  }
  .lead-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(52, 168, 83, 0.45);
  }
  .lead-form-guarantee {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .lead-form-guarantee svg { width: 14px; height: 14px; }

  /* === Alternative contact strip === */
  .alt-contact {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
  }
  .alt-contact a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-light);
  }

  /* === Thank you screen === */
  .thanks-icon {
    width: 90px; height: 90px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--bg-white);
    border-radius: 50%;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(52,168,83,0.35);
    animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .thanks-icon svg { width: 50px; height: 50px; }
  @keyframes pop {
    from { transform: scale(0); }
    to { transform: scale(1); }
  }
  .quiz-screen.center { text-align: center; }
  .quiz-screen.center h2 { font-size: 32px; }

  /* === Negative-result variant === */
  .neutral-result-hero {
    background: linear-gradient(135deg, #FEF3C7 0%, #FEF3C7 100%);
    border: 1.5px solid #fde68a;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 22px;
  }
  .neutral-result-hero h3 {
    color: #92400e;
    font-size: 19px;
    margin-bottom: 8px;
  }
  .neutral-result-hero p { font-size: 15px; color: #78350f; margin-bottom: 0; }

  /* === RESPONSIVE === */
  @media (max-width: 720px) {
    .quiz-wrapper { margin: 18px auto 40px; padding: 0 14px; }
    .quiz-screen { padding: 28px 22px 24px; border-radius: 14px; }
    .quiz-screen h2 { font-size: 23px; }
    .checkbox-grid { grid-template-columns: 1fr; }
    .lead-form-grid { grid-template-columns: 1fr; }
    .quiz-actions { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
    .btn-primary { width: 100%; min-width: 0; }
    .btn-back { width: 100%; justify-content: center; }
    .welcome-meta { gap: 8px; }
    .welcome-meta-label { font-size: 12.5px; }
    .welcome-meta-sub { font-size: 11px; }
    .yes-no-row { grid-template-columns: 1fr; }
    .result-hero { margin: 0 -8px 22px; padding: 28px 20px; }
    .result-hero h2 { font-size: 24px; }
    .result-hero .est-value { font-size: 26px; }
    .result-criteria-list { padding: 14px 16px; }
  }