*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --c-orange:#ff6b35;
  --c-orange-hover:#e55a28;
  --c-orange-light:#fff4ef;
  --c-text:#1a1a1a;
  --c-text-secondary:#666;
  --c-bg:#fff;
  --c-border:#e0e0e0;
  --c-border-hover:#ccc;
  --radius:12px;
  --shadow:0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover:0 4px 16px rgba(0,0,0,0.12);
  --transition:200ms ease;
}

html{font-size:16px;-webkit-text-size-adjust:100%}

body{
  font-family:Montserrat,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;
  background:var(--c-bg);
  color:var(--c-text);
  line-height:1.5;
  min-height:100vh;
}

#quiz-container{
  width:100%;
  min-height:100vh;
  position:relative;
}

.screen{
  display:flex;
  flex-direction:column;
  padding:16px;
  min-height:100vh;
}

.screen-content{
  max-width:560px;
  margin:0 auto;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  flex:1;
  padding:32px 0;
}

/* Welcome */
.welcome-logo{
  width:56px;height:56px;
  border-radius:50%;
  background:var(--c-orange);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:24px;
}
.welcome-logo-icon{
  color:#fff;font-size:24px;
  font-weight:700;
  margin-left:2px;
}
.welcome-title{
  font-size:28px;font-weight:700;
  text-align:center;
  margin-bottom:12px;
  line-height:1.2;
}
.welcome-subtitle{
  font-size:16px;
  color:var(--c-text-secondary);
  text-align:center;
  max-width:400px;
  margin-bottom:32px;
}
.welcome-benefit{
  font-size:13px;
  color:var(--c-text-secondary);
  text-align:center;
  max-width:380px;
  margin-top:16px;
  line-height:1.4;
}
.welcome-alternative{
  display:inline-block;
  margin-top:12px;
  font-size:14px;
  color:var(--c-text-secondary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.welcome-alternative:hover{color:var(--c-orange)}

/* Progress Bar */
.progress-bar{
  padding:8px 0 4px;
  flex-shrink:0;
}
.progress-bar-track{
  height:4px;
  background:var(--c-border);
  border-radius:2px;
  overflow:hidden;
}
.progress-bar-fill{
  height:100%;
  background:var(--c-orange);
  border-radius:2px;
  transition:width 300ms ease;
}
.progress-label{
  font-size:12px;
  color:var(--c-text-secondary);
  margin-top:6px;
  text-align:center;
}

/* Question */
.question-content{
  flex:1;
  display:flex;
  flex-direction:column;
  max-width:560px;
  width:100%;
  margin:0 auto;
  padding:16px 0;
}
.question-title{
  font-size:20px;font-weight:700;
  text-align:center;
  margin-bottom:6px;
  line-height:1.3;
}
.question-hint{
  font-size:13px;
  color:var(--c-text-secondary);
  text-align:center;
  margin-bottom:20px;
}

/* Options */
.options{display:flex;flex-direction:column;gap:10px}
.options--grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

/* Multi-select checkbox indicator */
.option--multi::after{
  content:'';
  width:20px;
  height:20px;
  border:2px solid var(--c-border);
  border-radius:4px;
  flex-shrink:0;
  transition:all 150ms ease;
  background:#fff;
}
.option--selected.option--multi::after{
  background:var(--c-orange);
  border-color:var(--c-orange);
  content:'✓';
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
}
.option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:2px solid var(--c-border);
  border-radius:var(--radius);
  background:var(--c-bg);
  cursor:pointer;
  font-family:inherit;
  font-size:14px;
  color:var(--c-text);
  text-align:left;
  width:100%;
  transition:border-color var(--transition),box-shadow var(--transition),transform var(--transition),background var(--transition);
  box-shadow:var(--shadow);
  min-height:48px;
  position:relative;
}
.option:hover{
  border-color:var(--c-border-hover);
  box-shadow:var(--shadow-hover);
  transform:translateY(-1px);
}
.option:focus-visible{
  outline:2px solid var(--c-orange);
  outline-offset:2px;
}
.option--selected{
  border-color:var(--c-orange)!important;
  background:var(--c-orange-light);
  box-shadow:0 0 0 1px var(--c-orange);
}
.option--selected:hover{
  background:var(--c-orange-light);
  transform:none;
}
.option-icon{
  font-size:20px;
  flex-shrink:0;
  width:28px;
  text-align:center;
  line-height:1;
}
.option-label{
  flex:1;
  line-height:1.35;
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 24px;
  border-radius:8px;
  font-family:inherit;
  font-size:15px;font-weight:600;
  cursor:pointer;
  border:none;
  transition:background var(--transition),transform var(--transition),box-shadow var(--transition);
  min-height:44px;
  text-decoration:none;
  line-height:1;
}
.btn:focus-visible{
  outline:2px solid var(--c-orange);
  outline-offset:2px;
}
.btn--primary{
  background:var(--c-orange);
  color:#fff;
}
.btn--primary:hover{
  background:var(--c-orange-hover);
  box-shadow:0 4px 12px rgba(255,107,53,0.3);
}
.btn--primary:disabled{
  background:#ccc;
  cursor:not-allowed;
  box-shadow:none;
}
.btn--secondary{
  background:transparent;
  color:var(--c-text-secondary);
  border:1px solid var(--c-border);
}
.btn--secondary:hover{
  background:#f5f5f5;
}
.btn--large{
  padding:14px 32px;
  font-size:16px;
  min-height:48px;
}
.btn--full{width:100%}
.btn--link{
  background:transparent;
  color:var(--c-text-secondary);
  padding:8px 16px;
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:2px;
}
.btn--link:hover{color:var(--c-orange)}

/* Nav Buttons */
.nav-buttons{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  flex-shrink:0;
  max-width:560px;
  width:100%;
  margin:0 auto;
}

/* Result */
.result-content{
  max-width:560px;
  width:100%;
  margin:0 auto;
  padding:24px 0 48px;
}
.result-title{
  font-size:24px;font-weight:700;
  text-align:center;
  margin-bottom:24px;
  line-height:1.2;
}
.result-section{
  margin-bottom:24px;
}
.result-section-title{
  font-size:17px;font-weight:700;
  margin-bottom:12px;
  color:var(--c-text);
}

/* Greeting */
.result-greeting-text{
  font-size:15px;
  color:var(--c-text);
  line-height:1.5;
  padding:16px;
  background:var(--c-orange-light);
  border-radius:var(--radius);
  border-left:3px solid var(--c-orange);
}

/* Product Cards */
.product-cards{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.product-card{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:14px 16px;
  border:1px solid var(--c-border);
  border-radius:var(--radius);
  background:var(--c-bg);
  text-decoration:none;
  color:var(--c-text);
  transition:border-color var(--transition),box-shadow var(--transition);
  box-shadow:var(--shadow);
}
.product-card:hover{
  border-color:var(--c-orange);
  box-shadow:var(--shadow-hover);
}
.product-card--accent{
  border-color:var(--c-orange);
  background:var(--c-orange-light);
}
.product-card-name{
  font-size:15px;
  font-weight:600;
  color:var(--c-text);
}
.product-card-desc{
  font-size:13px;
  color:var(--c-text-secondary);
}

/* Steps */
.steps-list{
  padding-left:0;
  list-style:none;
  counter-reset:step;
}
.step-item{
  counter-increment:step;
  padding:12px 16px 12px 48px;
  background:#f8f8f8;
  border-radius:8px;
  font-size:14px;
  line-height:1.45;
  margin-bottom:8px;
  position:relative;
}
.step-item::before{
  content:counter(step);
  position:absolute;
  left:14px;top:12px;
  width:24px;height:24px;
  border-radius:50%;
  background:var(--c-orange);
  color:#fff;
  font-size:12px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}

/* Channel */
.channel-tip-text{
  font-size:14px;
  line-height:1.5;
  margin-bottom:12px;
}
.channel-example{
  background:#f8f8f8;
  border-radius:8px;
  padding:14px 16px;
  margin-top:8px;
}
.channel-example-label{
  font-size:12px;
  font-weight:600;
  color:var(--c-text-secondary);
  margin-bottom:6px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.channel-divider{
  border-top:1px solid var(--c-border);
  margin:16px 0;
}
.channel-example-line{
  font-size:13px;
  color:var(--c-text);
  line-height:1.5;
  margin-bottom:2px;
}

/* Earnings */
.earnings-badge{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  background:#f0faf0;
  border-radius:var(--radius);
  border:1px solid #c8e6c9;
}
.earnings-icon{font-size:24px;flex-shrink:0}
.earnings-text{
  font-size:14px;
  line-height:1.5;
  color:#2e7d32;
}

/* CTA */
.result-cta{
  text-align:center;
  padding-top:8px;
}
.result-alternative-link{
  display:inline-block;
  margin-top:12px;
  font-size:13px;
  color:var(--c-text-secondary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.result-alternative-link:hover{color:var(--c-orange)}

.channel-article-link{
  display:inline-block;
  margin-top:8px;
  font-size:13px;
  color:var(--c-text-secondary);
  text-decoration:underline;
  text-underline-offset:2px;
}
.channel-article-link:hover{color:var(--c-orange)}

.result-footer{
  text-align:center;
  padding-top:16px;
  border-top:1px solid var(--c-border);
  margin-top:8px;
}

/* Responsive */
@media(min-width:480px){
  .screen{padding:24px}
  .welcome-title{font-size:32px}
  .question-title{font-size:22px}
  .result-title{font-size:28px}
}

@media(min-width:768px){
  .screen{padding:32px}
  .options--grid{
    grid-template-columns:1fr 1fr;
  }
  .option{padding:16px 18px;font-size:15px}
  .welcome-title{font-size:36px}
  .question-title{font-size:24px}
  .product-cards{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}

@media(min-width:1024px){
  .screen{padding:40px}
  .screen-content{max-width:640px}
  .question-content{max-width:640px}
  .result-content{max-width:640px}
  .nav-buttons{max-width:640px}
}
