
:root{
  --bg:#0E0F12;
  --panel:#151821;
  --panel-2:#1B2030;
  --text:#EAEAF2;
  --muted:#9AA3B2;
  --brand:#7C5CFF;
  --brand-2:#31D0AA;
  --danger:#ff6b6b;
  --ok:#19d27c;
  --stroke:#262B3A;
  --card:#131722;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% -10%, rgba(124,92,255,.12), transparent 50%),
              radial-gradient(800px 500px at 100% 0%, rgba(49,208,170,.10), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.5
}
a{color:var(--text); text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:24px}
.container.narrow{max-width:780px}
.muted{color:var(--muted)}
.tiny{font-size:12px}

.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 20px; position:sticky; top:0; backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--stroke); background:rgba(14,15,18,.6); z-index:10
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.nav{display:flex; align-items:center; gap:16px}
.nav a{opacity:.9}
.nav .btn{margin-left:4px}

.btn{background:var(--brand); color:#0f1020; padding:10px 16px; border-radius:10px; font-weight:700; box-shadow:var(--shadow); display:inline-flex; align-items:center; justify-content:center; gap:8px}
.btn.ghost{background:transparent; color:var(--text); border:1px solid var(--stroke); box-shadow:none}
.btn.small{padding:8px 12px; font-size:14px}
.btn.block{display:block; width:100%}
.btn.xl{padding:14px 20px; font-size:18px}

.hero{display:grid; grid-template-columns:1.2fr .8fr; align-items:center; gap:24px; padding:44px 24px; max-width:1100px; margin:0 auto}
.hero-content h1{font-size:44px; line-height:1.1; margin:0 0 8px}
.lead{color:var(--muted); font-size:18px; max-width:650px}
.cta-row{display:flex; gap:12px; margin:18px 0}
.trust{display:flex; gap:10px; flex-wrap:wrap}
.badge{background:rgba(124,92,255,.15); border:1px solid rgba(124,92,255,.35); color:#cfc9ff; padding:6px 10px; border-radius:999px; font-size:13px}

.hero-card{display:grid; gap:14px}
.card{background:linear-gradient(180deg, var(--panel), var(--panel-2)); border:1px solid var(--stroke); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow)}
.stat{display:flex; flex-direction:column; align-items:flex-start; gap:6px}
.stat-num{font-size:32px; font-weight:800}
.stat-label{color:var(--muted)}

.section{padding:48px 24px; max-width:1100px; margin:0 auto}
.section h2{margin:0 0 18px}
.alt{background:rgba(255,255,255,.02); border-top:1px solid var(--stroke); border-bottom:1px solid var(--stroke)}

.grid{display:grid; gap:16px}
.grid.features{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.grid.cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.grid.split{grid-template-columns:repeat(3, minmax(180px,1fr))}
@media(max-width:860px){ .hero{grid-template-columns:1fr} .grid.split{grid-template-columns:1fr} }

.feature{background:var(--card); border:1px solid var(--stroke); border-radius:12px; padding:16px}
.steps{display:grid; gap:12px; counter-reset:step}
.steps li{list-style:none; background:var(--card); border:1px solid var(--stroke); border-radius:12px; padding:14px 16px; position:relative}
.steps li::before{counter-increment:step; content:counter(step); position:absolute; left:-12px; top:-12px; width:28px; height:28px; border-radius:50%; background:var(--brand); color:#0f1020; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow)}

.pricing{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.price-card{background:var(--card); border:1px solid var(--stroke); border-radius:12px; padding:16px; display:flex; flex-direction:column; gap:10px}
.price-card.highlight{border-color:rgba(124,92,255,.6); box-shadow:0 0 0 3px rgba(124,92,255,.18) inset}
.price{font-size:28px; font-weight:800}

.site-footer{border-top:1px solid var(--stroke); padding:24px; margin-top:40px}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:20px}
.brand-row{display:flex; gap:8px; align-items:center}
@media(max-width:860px){ .footer-grid{grid-template-columns:1fr 1fr} }

/* forms */
.form-grid label{display:flex; flex-direction:column; gap:6px; margin:6px 0}
input, textarea, select{
  background:#0F131B; border:1px solid var(--stroke); color:var(--text);
  padding:10px 12px; border-radius:10px; outline:none
}
input:focus, textarea:focus, select:focus{border-color:rgba(124,92,255,.6)}
fieldset{border:1px dashed var(--stroke); border-radius:12px; padding:12px; margin-top:10px}
legend{color:var(--muted)}

.list{display:grid; gap:12px}
.list .item{display:flex; align-items:center; justify-content:space-between; gap:12px; background:var(--card); border:1px solid var(--stroke); border-radius:12px; padding:14px 16px}
.item .meta{display:flex; flex-direction:column; gap:4px}
.item .meta .title{font-weight:700}
.item .meta .sub{color:var(--muted); font-size:14px}
.item .actions{display:flex; gap:8px; align-items:center}

/* qbuilder */
.qbuilder{margin-top:12px}
.qb-head{display:flex; align-items:center; justify-content:space-between}
.q-item{border:1px solid var(--stroke); background:var(--card); border-radius:12px; padding:12px; margin:10px 0}
.q-row{display:grid; grid-template-columns: 1fr 140px 100px; gap:10px}
.q-row input[type="text"]{width:100%}
.q-opts{display:grid; gap:6px; margin-top:10px}
.q-opts input{width:100%}
.q-actions{display:flex; gap:10px; margin-top:8px; justify-content:flex-end}

/* survey runner */
.s-card{background:var(--card); border:1px solid var(--stroke); border-radius:16px; padding:18px; box-shadow:var(--shadow)}
.s-header{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
.s-questions{display:grid; gap:12px}
.q-block{border:1px dashed var(--stroke); border-radius:12px; padding:12px}
.q-block h4{margin:0 0 6px}
.answer-row{display:grid; gap:6px; margin-top:6px}
.scale{display:flex; gap:6px; flex-wrap:wrap}
.scale label{display:flex; align-items:center; gap:6px; padding:6px 10px; border:1px solid var(--stroke); border-radius:8px}
.reward-box{margin-top:14px; border:1px solid rgba(49,208,170,.4); background:rgba(49,208,170,.08); border-radius:12px; padding:12px}

.copy{padding:8px 10px; border:1px dashed var(--stroke); border-radius:10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace}
