body {
  display: flex;
  justify-content: center;
  padding: 3.5rem 1rem 5rem;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding-bottom: 1rem;
}

.hero h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 1.125rem;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto 1.5rem;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 13px;
}

.meta-pill i {
  font-size: 13px;
  color: var(--accent);
}

/* ── PARTNERS ── */
.partners-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.logos-row {
  display: grid;
  grid-template-columns: repeat(4, 120px);
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}

.bl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
  box-shadow: var(--shadow-card);
}

.bl:hover {
  border-color: #9CA3AF;
}

.bl--mobile-only {
  display: none;
}

.bl__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 18px;
  flex-shrink: 0;
}

.partner-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.partner-logo--tinkoff {
  transform: scale(1.08);
}

.partner-logo--sber {
  transform: scale(0.86);
}

.partner-logo--bcs {
  transform: scale(0.88);
}

.partner-logo--gazprombank {
  transform: scale(1.16);
}

.partner-logo--bybit {
  transform: translateY(-2px) scale(1.06);
}

.partner-logo--cifra {
  transform: scale(0.82);
}

/* ── SECTION HEAD ── */
.section-head {
  text-align: center;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.section-head h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.5rem;
  letter-spacing: -0.2px;
}

.section-head p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── QUIZ CARD ── */
.q-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.q-head {
  padding: 1.125rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-inner);
}

.progress-track {
  height: 4px;
  background: var(--border-inner);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 0.875rem;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.45s cubic-bezier(.4, 0, .2, 1);
}

.q-step {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}

.q-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.45;
  letter-spacing: -0.1px;
}

/* ── OPTIONS ── */
.q-options {
  padding: 0.75rem 1.5rem 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  background: var(--bg-card);
}

.opt:hover {
  border-color: var(--accent-border);
  background: var(--accent-bg);
}

.opt.selected {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.opt-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #D1D5DB;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.opt.selected .opt-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.opt.selected .opt-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  display: block;
}

.opt-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-1);
  line-height: 1.45;
}

.opt.selected .opt-text {
  font-weight: 500;
  color: var(--accent);
}

/* ── QUIZ FOOTER ── */
.q-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-inner);
  gap: 12px;
  min-height: 58px;
}

.hint {
  font-size: 12px;
  color: var(--text-3);
  flex: 1;
}

.btn-back {
  display: none;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0.875rem;
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-back:hover {
  border-color: #9CA3AF;
  color: var(--text-1);
}

.btn-back.visible {
  display: inline-flex;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  opacity: 0.3;
  pointer-events: none;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-next.active {
  opacity: 1;
  pointer-events: auto;
}

.btn-next.active:hover {
  background: var(--accent-hover);
}

.btn-next.active:active {
  transform: scale(0.97);
}

/* ── RESULT SCREEN ── */
.result-screen {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2.5rem;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.result-screen.visible {
  display: block;
}

.result-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.result-screen h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2rem;
  line-height: 1.3;
  letter-spacing: -0.3px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.field input {
  height: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-1);
  outline: none;
  background: #FAFAFA;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

.field input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .1);
}

.field input.error,
.field input.invalid {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.field-error {
  font-size: 12px;
  color: #EF4444;
  display: none;
  margin-top: 2px;
}

.field-error.show {
  display: block;
}

.btn-submit {
  width: 100%;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  background: var(--accent-hover);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── TRUST GRID ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 2rem;
}

.trust-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.125rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.trust-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon i {
  font-size: 19px;
  color: var(--accent);
}

.trust-card strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.1px;
}

.trust-card span {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.5;
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  body {
    padding: 1.5rem 1rem 3.5rem;
  }

  .hero {
    padding-bottom: 0.875rem;
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: -0.3px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .section-head h2 {
    font-size: 18px;
  }

  .bl {
    width: 100%;
    height: 36px;
  }

  .bl--mobile-only {
    display: flex;
  }

  .bl__logo {
    width: 100%;
    max-width: 100px;
    height: 16px;
  }

  .logos-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    max-width: 360px;
  }

  .q-head {
    padding: 1rem 1rem 0.875rem;
  }

  .q-title {
    font-size: 16px;
  }

  .q-options {
    padding: 1rem;
    gap: 7px;
  }

  .opt {
    padding: 0.75rem 0.875rem;
    gap: 10px;
  }

  .opt-text {
    font-size: 13px;
  }

  .q-foot {
    padding: 0.875rem 1rem;
    gap: 8px;
  }

  .q-foot .hint {
    display: none;
  }

  .q-foot .btn-next {
    flex: 1;
    justify-content: center;
  }

  .result-screen {
    padding: 1.75rem 1.25rem 2rem;
  }

  .result-screen h2 {
    font-size: 20px;
    margin-bottom: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 380px) {
  body {
    padding: 1.25rem 0.875rem 3rem;
  }

  .hero h1 {
    font-size: 21px;
  }

  .meta-pill {
    font-size: 11px;
    padding: 4px 10px;
  }
}
