.qto-quiz * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.qto-quiz {
  --bg: #0a1530;
  --surface: #141e3d;
  --surface2: #1d2654;
  --border: rgba(255, 255, 255, 0.09);
  --border2: rgba(255, 255, 255, 0.18);
  --text: #f0f4ff;
  --muted: #8b96b8;
  --muted2: #5d6a8a;
  --accent: #1eb1e8;
  --accent-dark: #0d8dba;
  --accent-soft: rgba(30, 177, 232, 0.13);
  --accent-border: rgba(30, 177, 232, 0.32);
  --gold: #f9c93d;
  --gold-soft: rgba(249, 201, 61, 0.09);
  --gold-border: rgba(249, 201, 61, 0.3);
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --display: "Prompt", system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  width: 100%;
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 16px 48px;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 25, 62, 0.86) 0%,
      rgba(7, 25, 62, 0.9) 100%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 10%,
      rgba(30, 177, 232, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 35% at 80% 90%,
      rgba(249, 201, 61, 0.05) 0%,
      transparent 60%
    ),
    url("../images/AdobeStock_343355106.jpeg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}
.qto-quiz .app {
  width: 100%;
  max-width: 440px;
}

.qto-quiz .logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}
.qto-quiz .logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(30, 177, 232, 0.7);
}
.qto-quiz .logo-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font);
}

.qto-quiz .prog-wrap {
  margin-bottom: 20px;
}
.qto-quiz .prog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.qto-quiz .prog-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.qto-quiz .prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qto-quiz .card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
}
.qto-quiz .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.qto-quiz .intro-center {
  text-align: center;
  padding: 0.25rem 0 0.25rem;
}
.qto-quiz .intro-center h1 {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.qto-quiz .intro-center p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.qto-quiz .intro-break {
  width: 100%;
  height: 132px;
  border-radius: var(--radius-sm);
  margin: 1.2rem 0 1rem;
  border: 1px solid rgba(30, 177, 232, 0.26);
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 28, 65, 0.46) 0%,
      rgba(8, 28, 65, 0.58) 100%
    ),
    url("../images/AdobeStock_893987017 (1).jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.qto-quiz .authority {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  text-align: left;
  margin: 1.5rem 0 0;
}
.qto-quiz .authority strong {
  color: var(--text);
  font-weight: 600;
}

.qto-quiz .shock {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 1.25rem 0 1.5rem;
  text-align: left;
}
.qto-quiz .shock-n {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.qto-quiz .shock-t {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 8px;
}
.qto-quiz .shock-l {
  font-size: 10.5px;
  color: var(--muted2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.qto-quiz .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 1.25rem 0 0;
}
.qto-quiz .pill {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 500;
}

.qto-quiz .step-q {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.qto-quiz .step-hint {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.qto-quiz .step-nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.1rem;
  min-height: 20px;
}
.qto-quiz .back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.qto-quiz .back-btn:hover {
  color: var(--text);
}
.qto-quiz .back-btn:active {
  transform: scale(0.97);
}

.qto-quiz .options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qto-quiz .opt {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  transition:
    border-color 0.18s,
    background 0.18s,
    transform 0.12s;
  font-family: var(--font);
}
.qto-quiz .opt:hover {
  border-color: var(--border2);
}
.qto-quiz .opt:active {
  transform: scale(0.99);
}
.qto-quiz .opt.sel {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.qto-quiz .opt-ico {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.qto-quiz .opt.sel .opt-ico {
  background: rgba(30, 177, 232, 0.2);
}
.qto-quiz .yn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.qto-quiz .yn-grid .opt {
  justify-content: center;
  font-size: 15px;
  padding: 16px;
  font-weight: 600;
}

.qto-quiz .inp-group {
  margin-bottom: 14px;
}
.qto-quiz .inp-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.qto-quiz .inp-wrap {
  position: relative;
}
.qto-quiz .inp {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 44px 13px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.qto-quiz .inp:focus {
  border-color: var(--accent);
}
.qto-quiz .inp::placeholder {
  color: var(--muted2);
}
.qto-quiz .inp-suf {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--muted);
  pointer-events: none;
  font-weight: 500;
}
.qto-quiz select.inp {
  cursor: pointer;
}
.qto-quiz .sel-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 12px;
}
.qto-quiz .inp-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.qto-quiz .btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  margin-top: 1.5rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.18s,
    transform 0.12s,
    box-shadow 0.18s;
}
.qto-quiz .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(30, 177, 232, 0);
}
.qto-quiz .btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 0 24px rgba(30, 177, 232, 0.25);
}
.qto-quiz .btn-primary:active {
  transform: scale(0.99);
}
.qto-quiz .btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.qto-quiz .cta-step-hero {
  text-align: center;
  margin-bottom: 1.5rem;
}
.qto-quiz .cta-step-hero h2 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}
.qto-quiz .cta-step-hero p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}
.qto-quiz .cta-highlight {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 1.25rem;
  font-size: 13px;
  color: var(--accent);
  line-height: 1.55;
  text-align: center;
  font-weight: 500;
}
.qto-quiz .cta-highlight strong {
  color: var(--text);
  font-weight: 700;
}
.qto-quiz .cta-inp {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.18s;
  margin-bottom: 10px;
  appearance: none;
}
.qto-quiz .cta-inp:focus {
  border-color: var(--accent);
}
.qto-quiz .cta-inp::placeholder {
  color: var(--muted2);
}
.qto-quiz .privacy {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.6;
}
.qto-quiz .consent-wrap {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 10px;
}
.qto-quiz .consent-wrap input {
  margin-top: 2px;
  accent-color: var(--accent);
}
.qto-quiz .consent-wrap label {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.45;
}
.qto-quiz .consent-wrap a {
  color: var(--text);
  text-decoration: underline;
}

.qto-quiz .done-wrap {
  text-align: center;
  padding: 0.5rem 0;
}
.qto-quiz .done-wrap h2 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}
.qto-quiz .done-wrap p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.qto-quiz .done-wrap strong {
  color: var(--accent);
  font-weight: 600;
}
.qto-quiz .done-detail {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 1.5rem 0;
  text-align: left;
}
.qto-quiz .done-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 12px;
}
.qto-quiz .done-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.qto-quiz .done-row:first-child {
  padding-top: 0;
}
.qto-quiz .done-row-k {
  color: var(--muted);
}
.qto-quiz .done-row-v {
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.qto-quiz .qto-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 11.5px;
  color: var(--muted2);
  font-family: var(--font);
}
.qto-quiz .qto-footer a {
  color: var(--muted2);
  text-decoration: none;
}
.qto-quiz .qto-footer a:hover {
  color: var(--muted);
}

.qto-quiz .fade {
  animation: qto-fadeUp 0.38s ease both;
}
@keyframes qto-fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .qto-quiz {
    padding: 16px 10px 36px;
  }
  .qto-quiz .card {
    padding: 24px 16px;
  }
  .qto-quiz .intro-center h1 {
    font-size: 26px;
  }
  .qto-quiz .step-q {
    font-size: 23px;
  }
}
