:root{
  --bg:#07071c;
  --panel:#11142a;
  --text:#fff;
  --muted:#b9bdd3;
  --line:rgba(255,255,255,.12);

  --green:#7cff4e;
  --cyan:#00cfff;
  --purple:#9d42ff;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
}

body{
  min-height:100vh;
  font-family:Inter,system-ui,sans-serif;
  color:var(--text);

  background:
    radial-gradient(circle at top left, rgba(124,255,78,.10), transparent 20rem),
    radial-gradient(circle at top right, rgba(0,207,255,.10), transparent 20rem),
    linear-gradient(180deg,#08031f,#050218);
}

.vk-shell{
  width:min(100%,960px);
  margin:0 auto;
  padding:28px;
}

.vk-card{
  border-radius:28px;
  padding:24px;
  border:1px solid var(--line);

  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));

  box-shadow:0 24px 80px rgba(0,0,0,.35);
}

h1{
  margin:0 0 14px;
  font-size:clamp(2rem,5vw,3rem);
  line-height:1.05;
}

h2{
  margin-top:0;
}

p{
  color:var(--muted);
  line-height:1.7;
}

.badge{
  display:inline-flex;
  margin-bottom:16px;
  padding:8px 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:900;

  background:rgba(124,255,78,.14);
  border:1px solid rgba(124,255,78,.24);
  color:var(--green);
}

.reward{
  margin:18px 0;
  padding:16px;
  border-radius:18px;

  background:rgba(157,66,255,.12);
  border:1px solid rgba(157,66,255,.24);

  font-weight:800;
}

.question{
  display:grid;
  gap:14px;
}

.q-title{
  display:block;
  font-size:1.4rem;
  font-weight:900;
  line-height:1.4;
}

.q-title span{
  color:#ff7d7d;
}

.option{
  display:flex;
  align-items:flex-start;
  gap:12px;

  padding:14px 16px;
  border-radius:18px;

  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);

  cursor:pointer;
  transition:.18s ease;
}

.option:hover{
  border-color:rgba(124,255,78,.35);
  background:rgba(124,255,78,.08);
}

.option input{
  margin-top:2px;
}

input,
textarea,
select{
  width:100%;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);

  background:rgba(255,255,255,.06);
  color:#fff;

  padding:14px 16px;
  font:inherit;
}

textarea{
  min-height:140px;
  resize:vertical;
}

label{
  display:grid;
  gap:8px;
  font-weight:800;
}

.contact-grid{
  display:grid;
  gap:16px;
  margin-top:18px;
}

.consent{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:18px;
  color:var(--muted);
  font-weight:700;
}

.btn-primary{
  border:0;
  border-radius:18px;

  padding:16px 24px;

  font-weight:900;
  font-size:1rem;

  background:
    linear-gradient(90deg,var(--green),var(--cyan),var(--purple));

  color:#071018;
  cursor:pointer;
}

.btn-primary:disabled{
  opacity:.6;
  cursor:not-allowed;
}

/* Neurodivergent-friendly one-question survey flow */
.survey-stepper {
  max-width: 780px;
  margin: 0 auto;
}

.survey-progress-wrap {
  margin-bottom: 24px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.survey-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: .9rem;
  margin-bottom: 10px;
}

.survey-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}

.survey-progress-bar > div {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--purple));
  transition: width .24s ease;
}

.survey-step {
  display: none;
}

.survey-step.is-active {
  display: block;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,207,255,.12);
  border: 1px solid rgba(0,207,255,.25);
  color: var(--cyan);
  font-weight: 900;
  font-size: .84rem;
}

.single-question {
  min-height: 280px;
  display: grid;
  align-content: start;
}

.helper-text {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}

.step-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
  position: sticky;
  bottom: 0;
  padding-top: 14px;
  background: linear-gradient(180deg, transparent, rgba(7,7,24,.94) 28%);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 16px 22px;
  font-weight: 900;
  font-size: 1rem;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.step-actions .btn-primary,
.step-actions .btn-secondary {
  width: auto;
  min-width: 130px;
}

.vk-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
}

.vk-modal.is-open {
  display: grid;
}

.vk-modal__panel {
  width: min(92vw, 430px);
  border-radius: 24px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(0,255,157,.15), transparent 18rem),
    linear-gradient(180deg, rgba(25,22,58,.98), rgba(8,7,28,.98));
  border: 1px solid rgba(255,255,255,.16);
}

.vk-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
}

@media (max-width:760px){

  .vk-shell{
    padding:14px;
  }

  .vk-card{
    padding:18px;
    border-radius:22px;
  }

  .q-title{
    font-size:1.15rem;
  }

  .option{
    padding:15px;
  }

  .step-actions{
    margin-top:auto;
  }

  .step-actions .btn-primary,
  .step-actions .btn-secondary{
    flex:1;
    min-width:0;
  }

  input,
  textarea,
  select{
    min-height:52px;
    font-size:16px;
  }
}
/* Fix radio/checkbox alignment inside survey options */
.option{
  display:grid;
  grid-template-columns:24px 1fr;
  align-items:center;
  gap:14px;
  min-height:64px;
}

.option input[type="radio"],
.option input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-height:18px !important;
  margin:0 !important;
  padding:0 !important;
  accent-color:var(--green);
  justify-self:center;
}

.option{
  font-weight:900;
  line-height:1.25;
}

.consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  min-height:18px !important;
  margin:3px 0 0 !important;
  padding:0 !important;
  accent-color:var(--green);
  flex:0 0 auto;
}

.vk-card{
  overflow:hidden;
}

.step-actions{
  align-items:center;
}

.step-actions .btn-primary,
.step-actions .btn-secondary{
  display:inline-flex;
  justify-content:center;
  align-items:center;
}

@media(max-width:760px){
  .option{
    grid-template-columns:22px 1fr;
    min-height:58px;
  }
}
