:root{
  --bg: #0b0c10;
  --panel: #111218;
  --panel2:#0f1117;
  --text: #f4f6fb;
  --muted: #a9b0c3;
  --border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --accent: #7c5cff;
  --accent2:#22c55e;
  --danger:#ef4444;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background: radial-gradient(1200px 800px at 20% 0%, rgba(124,92,255,.18), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(34,197,94,.10), transparent 55%),
              var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
}

.site-header{
  position: sticky;
  top:0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.65);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.6rem;
  font-weight: 800;
  letter-spacing:.2px;
}
.brand-mark{ font-size: 1.25rem; }
.brand-name{ font-size: 1.05rem; }

.nav{
  display:flex;
  gap: 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.nav a{ padding:.35rem .5rem; border-radius: 10px; }
.nav a:hover{ background: rgba(255,255,255,.06); text-decoration:none; }

.hero{
  padding: 3.2rem 0 2rem;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 1.5rem;
  align-items: start;
}
h1{
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 .8rem;
}
.highlight{ color: #c9c2ff; }
.subhead{
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}

.cta-row{
  display:flex;
  gap:.8rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}

.btn{
  appearance:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.06); }
.btn:active{ transform: translateY(0px); }
.btn-primary{
  background: linear-gradient(180deg, rgba(124,92,255,.95), rgba(124,92,255,.75));
  border-color: rgba(124,92,255,.55);
}
.btn-primary:hover{ background: linear-gradient(180deg, rgba(124,92,255,1), rgba(124,92,255,.78)); }
.btn-ghost{
  background: rgba(255,255,255,.03);
}
.btn[disabled]{
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.microcopy{
  color: rgba(169,176,195,.9);
  font-size: .9rem;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.hero-card{ padding: 1rem; }
.hero-card-top{ display:flex; gap:.6rem; flex-wrap:wrap; margin-bottom:.8rem; }
.badge{
  font-size: .85rem;
  border: 1px solid rgba(124,92,255,.55);
  background: rgba(124,92,255,.12);
  padding: .35rem .6rem;
  border-radius: 999px;
  color: #d9d3ff;
}
.badge-2{
  border-color: rgba(34,197,94,.55);
  background: rgba(34,197,94,.10);
  color: #c9f6da;
}

.mini-q{
  display:flex;
  gap:.75rem;
  padding: .7rem .1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.mini-q:first-child{ border-top: 0; padding-top: .2rem; }
.dot{
  width: .75rem; height: .75rem;
  border-radius: 999px;
  background: rgba(124,92,255,.9);
  margin-top: .22rem;
  box-shadow: 0 0 0 6px rgba(124,92,255,.12);
}
.mini-title{ font-weight: 800; }
.mini-text{ color: var(--muted); font-size: .95rem; }

.section{
  padding: 2.6rem 0;
}
.section-alt{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section-head{ margin-bottom: 1.2rem; }
h2{
  font-size: 1.7rem;
  margin: 0 0 .5rem;
}
h3{ margin: 0 0 .5rem; }
.muted{ color: var(--muted); }
.tiny{ font-size: .9rem; }

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.quiz-layout{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1rem;
  align-items: start;
}

.quiz-card{ padding: 0; overflow: hidden; }
.progress{
  height: 10px;
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.progress-bar{
  height: 100%;
  background: linear-gradient(90deg, rgba(124,92,255,1), rgba(34,197,94,1));
  width: 0%;
  transition: width .18s ease;
}

.q-block{
  padding: 1rem 1rem .2rem;
}
.options{
  display:grid;
  gap: .55rem;
  margin-top: .7rem;
}
.opt{
  display:flex;
  gap: .6rem;
  align-items:center;
  padding: .65rem .7rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  cursor: pointer;
}
.opt:hover{ background: rgba(255,255,255,.05); }
.opt input{ accent-color: var(--accent); }

.quiz-actions{
  display:flex;
  gap: .7rem;
  align-items:center;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.spacer{ flex: 1; }

.side-card ul{ margin: .6rem 0 0; padding-left: 1.1rem; }
.checklist li{ margin: .45rem 0; }
.divider{ height:1px; background: rgba(255,255,255,.06); margin: 1rem 0; }

.results{
  margin-top: 1.4rem;
}
.results-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.results-actions{ display:flex; gap: .6rem; }

.product-card h3{ margin-bottom: .35rem; }
.tag{
  display:inline-block;
  font-size: .82rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: #d7dcee;
  margin-bottom: .6rem;
}
.procon{
  display:grid;
  grid-template-columns: 1fr;
  gap: .35rem;
  margin: .7rem 0 .9rem;
}
.pro, .con{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: 14px;
  padding: .6rem .7rem;
}
.pro b{ color: rgba(34,197,94,1); }
.con b{ color: rgba(239,68,68,1); }

.action-row{
  display:flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.note{
  color: var(--muted);
  font-size: .9rem;
  margin-top: .65rem;
}

.disclosure{ margin-top: 1rem; }

.site-footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.4rem 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links{
  display:flex;
  gap: .9rem;
  color: var(--muted);
}

@media (max-width: 950px){
  .hero-inner{ grid-template-columns: 1fr; }
  .quiz-layout{ grid-template-columns: 1fr; }
}
@media (max-width: 850px){
  .grid-3{ grid-template-columns: 1fr; }
}
