:root {
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #6ee7b7;
  --muted: #94a3b8;
  --glass: rgba(255,255,255,0.03);
  --btn: #111827;
  --btn-hover: rgba(255,255,255,0.04);
}
html {
  height: 100%;
}
body {
  background: linear-gradient(180deg,#071029 0%, #071825 100%);
  color: #e6eef6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  height: 100%;
  font-size: 18px;
}
:root {
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #6ee7b7;
  --muted: #94a3b8;
  --glass: rgba(255,255,255,0.03);
  --btn: #111827;
  --btn-hover: rgba(255,255,255,0.04);
}
* { box-sizing: border-box; }
.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.card {
  width: 100%;
  max-width: 880px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 6px 30px rgba(2,6,23,0.6);
  border: 1px solid rgba(255,255,255,0.03);
}
.input-field {
  display: block;
  width: 300px; /* daha kompakt */
  max-width: 90%; /* mobilde taşmasın */
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
  margin-bottom: 12px;

}

.input-field:focus {
  outline: none;
  border-color: #6366f1; /* mor ton */
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
  background: #fff;
}
h1 { margin: 0 0 16px; font-size: 26px; }
p.lead { margin: 0 0 22px; color: var(--muted); }
.center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
/*.result { display: none; flex-direction: column; align-items: center; gap: 12px; }*/
.result { display: flex; flex-direction: column; align-items: center; justify-content: center;}
.start-btn {
  appearance: none;
  border: 0;
  background: linear-gradient(90deg,var(--accent),#34d399);
  padding: 18px 34px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  /*color: #042018;*/
  color: #fff;
  box-shadow: 0 6px 18px rgba(34,197,94,0.12);
  transition: background 0.18s, box-shadow 0.18s;
}
.start-btn:hover {
  background: linear-gradient(90deg, #34d399, var(--accent));
  box-shadow: 0 8px 24px rgba(34,197,94,0.22);
  color: #065f46;
}
.start-btn:active { transform: translateY(1px); }
.question-wrap { display: none; flex-direction: column; gap: 18px; }
.contact-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  /*background: linear-gradient(135deg, #4f46e5, #6366f1);*/
  background: linear-gradient(90deg, #34d399, var(--accent));
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: all 0.3s ease;
}

.contact-button:hover {
  background: linear-gradient(135deg, #4338ca, #4f46e5);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.4);
}
/*.progress { display: flex; justify-content: space-between; align-items: center; }*/
.progressbar { height: 8px; background: var(--glass); border-radius: 999px; flex: 1; margin-left: 12px; margin-right: 12px; overflow: hidden; }
.progressbar > i { display: block; height: 100%; background: linear-gradient(90deg,var(--accent),#34d399); width: 0%; }
.question { padding: 24px; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.02); }
/*.qtext { font-size: 22px; margin: 0; }
.qmeta { color: var(--muted); font-size: 15px; margin-top: 8px; }*/
.choices { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.qtext { font-size: 26px; margin: 0 0 10px 0; }
.qmeta { color: var(--muted); font-size: 18px; margin-top: 10px; }
.progress { display: flex; justify-content: space-between; align-items: center; font-size: 22px; }
.score { font-size: 44px; font-weight: 700; color: var(--accent); }
.choice {
  background: var(--btn);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02);
  cursor: pointer;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.15s cubic-bezier(.7,-0.5,.7,1.8), box-shadow 0.15s cubic-bezier(.7,-0.5,.7,1.8);
}
.choice small { display: block; font-weight: 500; color: var(--muted); font-size: 15px; margin-top: 8px; }
.choice:focus { outline: 3px solid rgba(110,231,183,0.13); }
.choice[data-value="1"]:hover,
.choice[data-value="2"]:hover {
  background: linear-gradient(90deg, #ef4444, #fbbf24);
}
.choice[data-value="3"]:hover,
.choice[data-value="4"]:hover {
  background: linear-gradient(90deg, #fbbf24, #34d399);
}
.choice[data-value="5"]:hover,
.choice[data-value="6"]:hover {
  background: linear-gradient(90deg, #34d399, #22c55e);
}
.choice:hover,
.choice:hover small {
  color: #fff !important;
  font-weight: bold;
}
.choice:hover {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.18), 0 8px 24px rgba(0,0,0,0.18);
}

/*.score { font-size: 36px; font-weight: 700; color: var(--accent); }*/
.sub { color: var(--muted); }
.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
  position: relative;
}
#prevBtn {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-left: 0;
  margin-bottom: 0;
}
.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
}
footer { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }
@media (max-width: 600px) {
  .card {
    padding: 16px;
    max-width: 98vw;
  }
  .choices {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .qtext {
    font-size: 20px;
  }
  .score {
    font-size: 32px;
  }
  .controls {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width:540px) { .choices { grid-template-columns: repeat(2,1fr); } }