/* Clean + modern, brand-forward, no framework. */

:root{
  --bg: #0b0c10;
  --card: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.10);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted2: rgba(255,255,255,0.55);
  --accent: #f4b000;   /* warm honey */
  --accent2: #ff9f1c;  /* deeper honey */
  --danger: #ff6b6b;
  --ok: #4ade80;

  --radius: 18px;
  --shadow: 0 18px 55px rgba(0,0,0,0.45);
  --max: 880px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(244,176,0,0.22), transparent 45%),
    radial-gradient(900px 600px at 90% 20%, rgba(255,159,28,0.18), transparent 45%),
    radial-gradient(1200px 900px at 50% 90%, rgba(255,255,255,0.06), transparent 50%),
    var(--bg);
}

.page{
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 18px 54px;
}

.header{
  display:flex;
  gap: 18px;
  align-items:center;
  margin-bottom: 18px;
}

.logo{
  height: 56px;
  width:auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
}

.header-text h1{
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height:1.2;
  margin:0;
  letter-spacing: 0.2px;
}

.subhead{
  margin:6px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card{
  border: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.label{
  font-weight: 650;
  letter-spacing: 0.15px;
  margin: 0;
}

.hint{
  color: var(--muted2);
  margin: 8px 0 16px;
  font-size: 0.95rem;
}

.field{ margin-bottom: 18px; }
.question{ padding: 12px 0; }

.q-title{
  margin: 0 0 10px;
  font-weight: 600;
}

.q-meta{
  color: var(--muted2);
  font-weight: 500;
}

.scale-grid{
  display:grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items:stretch;
}

.scale-option{
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 10px 10px;
  background: rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  cursor:pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
  user-select:none;
}

.scale-option:hover{
  transform: translateY(-1px);
  border-color: rgba(244,176,0,0.55);
}

.scale-option input{ accent-color: var(--accent); }

.scale-option[data-checked="true"]{
  border-color: rgba(244,176,0,0.80);
  background: rgba(244,176,0,0.14);
}

.scale-option .pill{
  display:inline-flex;
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  align-items:center;
  justify-content:center;
  font-weight: 700;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.10);
}

.scale-option .txt{
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (max-width: 680px){
  .header{ flex-direction:column; align-items:flex-start; }
  .logo{ height: 50px; }
  .scale-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.divider{
  border:0;
  height:1px;
  background: rgba(255,255,255,0.10);
  margin: 18px 0;
}

.nps{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  border-radius: 16px;
  padding: 14px 14px 12px;
}

.nps-row{
  display:flex;
  align-items:center;
  gap: 12px;
}

.nps-edge{
  width: 26px;
  text-align:center;
  color: var(--muted);
  font-weight: 700;
}

input[type="range"]{
  width:100%;
  accent-color: var(--accent);
}

.nps-value{
  margin-top: 10px;
  color: var(--muted);
}

.nps-legend{
  display:flex;
  justify-content:space-between;
  margin-top: 8px;
  color: var(--muted2);
  font-size: 0.9rem;
}

textarea, input[type="text"], input[type="email"]{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  color: var(--text);
  padding: 12px 12px;
  outline: none;
}

textarea:focus, input:focus{
  border-color: rgba(244,176,0,0.70);
  box-shadow: 0 0 0 4px rgba(244,176,0,0.12);
}

.actions{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  border:0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 750;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #101010;
  cursor:pointer;
  transition: transform 120ms ease, filter 120ms ease;
}

.btn:hover{ transform: translateY(-1px); filter: brightness(1.03); }

.btn:disabled{
  opacity: 0.65;
  cursor: not-allowed;
  transform:none;
}

.btn-secondary{
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor:pointer;
}

.status{
  margin:0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status.error{ color: var(--danger); }
.status.ok{ color: var(--ok); }

.footer{
  margin-top: 18px;
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  text-align:center;
}

.thankyou{
  padding: 10px 2px 2px;
}

.thankyou h2{ margin: 0 0 6px; }
.thankyou p{ margin: 0 0 14px; color: var(--muted); }

.optional details{
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  border-radius: 16px;
  padding: 12px 14px;
}

.optional summary{
  cursor: pointer;
  color: var(--muted);
  font-weight: 650;
}

.optional-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-top: 12px;
}

.optional-grid label span{
  display:block;
  font-size: 0.9rem;
  color: var(--muted2);
  margin-bottom: 6px;
}

@media (max-width: 680px){
  .optional-grid{ grid-template-columns: 1fr; }
}

/* honeypot hidden */
.hp{
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
