:root {
  --black: #050606;
  --ink: #f6eac4;
  --muted: #c7b97a;
  --line: rgba(212, 175, 55, 0.2);
  --gold: #d4a516;
  --gold-dark: #b78d10;
  --green: #4cc766;
  --panel: rgba(17, 17, 17, 0.84);
  --panel-soft: rgba(20, 20, 20, 0.72);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 34%),
    #0a0a0a;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.feedback-app {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.hero-panel,
.wizard-panel {
  overflow: hidden;
  min-height: 560px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-header,
.wizard-header {
  min-height: 58px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8bd34;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.brand span {
  font-size: 1.35rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 0.86rem;
}

.lang-switcher span {
  width: 1px;
  height: 13px;
  background: rgba(255, 255, 255, 0.45);
}

.lang-button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.lang-button.active,
.lang-button:hover {
  color: #fff;
}

.hero-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.88) 34%, rgba(10, 10, 10, 0.42) 62%, rgba(10, 10, 10, 0.08) 100%),
    url("../assets/catalog-new/Screenshot_1.png") center right / cover no-repeat;
}

.hero-content {
  align-self: center;
  width: min(520px, 58%);
  margin-left: 58px;
}

.hero-kicker,
.hero-content h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.08;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: var(--gold);
}

.hero-content p:not(.hero-kicker) {
  max-width: 420px;
  margin: 0 0 34px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #fff4cf;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 58px;
  background: var(--black);
  color: #fff;
}

.hero-benefits div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-benefits span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  color: var(--gold);
  flex: 0 0 auto;
}

.hero-benefits p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.wizard-panel {
  position: relative;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 38%),
    var(--panel);
}

.back-button {
  border: 0;
  background: transparent;
  color: #e1b12a;
  font-weight: 800;
}

.stepper {
  width: min(390px, calc(100% - 54px));
  margin: 18px auto 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.step-dot {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(212, 175, 55, 0.28);
  border-radius: 50%;
  background: #111;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.step-dot::before {
  content: "";
  position: absolute;
  right: 22px;
  width: calc(100vw / 14);
  max-width: 86px;
  height: 1px;
  background: rgba(212, 175, 55, 0.28);
  z-index: -1;
}

.step-dot:first-child::before {
  display: none;
}

.step-dot.active,
.step-dot.done {
  border-color: var(--gold);
  background: var(--gold);
  color: #fff;
}

.wizard-step {
  display: none;
  width: min(860px, calc(100% - 72px));
  margin: 0 auto;
}

.wizard-step.active {
  display: block;
}

.step-title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  color: #fff4cf;
}

.step-title span {
  font-weight: 900;
}

.step-text {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 600;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.form-alert {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 9px;
  background: rgba(212, 175, 55, 0.12);
  color: #ffe6a3;
  border: 1px solid rgba(212, 175, 55, 0.55);
}

.store-list {
  display: grid;
  gap: 14px;
}

.store-card {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 88px;
  padding: 10px 18px 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.08), transparent 42%),
    var(--panel-soft);
  text-align: left;
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.store-card.selected,
.store-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(212, 165, 22, 0.16);
}

.store-card img {
  width: 112px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
}

.store-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #fff4cf;
}

.store-card small {
  color: var(--muted);
  font-weight: 700;
}

.store-card strong {
  font-size: 2rem;
  font-weight: 400;
}

.rating-list {
  display: grid;
  gap: 24px;
  margin-top: 30px;
}

.rating-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: center;
  gap: 26px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff4cf;
}

.stars {
  display: inline-flex;
  gap: 14px;
}

.stars input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.stars span {
  color: rgba(212, 175, 55, 0.3);
  font-size: 2.05rem;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.stars label.active span,
.stars label:hover span {
  color: var(--gold);
}

.stars label:hover span {
  transform: translateY(-1px);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: #fff4cf;
  font-weight: 700;
}

.field textarea,
.field input {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  outline: 0;
  padding: 14px;
  resize: vertical;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.field textarea::placeholder,
.field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.field textarea:focus,
.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 22, 0.12);
}

.agree {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.agree input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.wizard-actions {
  width: min(860px, calc(100% - 72px));
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}

.primary-btn,
.secondary-btn {
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  border: 0;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #d8aa18, #c99608);
  box-shadow: 0 10px 24px rgba(212, 165, 22, 0.22);
}

.secondary-btn {
  color: #fff4cf;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.success-step {
  min-height: 390px;
  text-align: center;
  padding-top: 62px;
}

.success-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  border: 4px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 3rem;
}

.success-step h2 {
  margin: 0 0 14px;
  font-size: 2.6rem;
}

.success-step p {
  margin: 10px auto;
  max-width: 360px;
  font-size: 1.16rem;
  line-height: 1.5;
}

.thanks-action {
  margin-top: 34px !important;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 0;
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr repeat(5, auto);
  align-items: center;
  gap: 22px;
  color: #d8d8d8;
}

.footer-brand {
  color: #e2b432;
  font-family: "Cinzel", serif;
  font-size: 1.6rem;
  line-height: 0.9;
  font-weight: 800;
}

.footer-brand span {
  font-size: 0.72rem;
}

.site-footer p {
  margin: 0;
  white-space: nowrap;
}

.site-footer a {
  color: #f2d46f;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff2b2;
  text-decoration: underline;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-panel {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.88) 60%, rgba(10, 10, 10, 0.42) 100%),
      url("../assets/catalog-new/Screenshot_1.png") center / cover no-repeat;
  }

  .hero-content {
    width: auto;
    margin: 42px 28px;
  }

  .hero-benefits,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .wizard-step,
  .wizard-actions {
    width: min(100% - 34px, 860px);
  }

  .wizard-actions {
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .feedback-app {
    width: min(100% - 12px, 1380px);
  }

  .hero-header,
  .wizard-header {
    padding: 0 16px;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-benefits {
    padding: 20px;
  }

  .store-card {
    grid-template-columns: 82px 1fr auto;
    gap: 12px;
  }

  .store-card img {
    width: 82px;
    height: 56px;
  }

  .rating-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stars {
    justify-content: space-between;
  }

  .wizard-actions {
    grid-template-columns: 1fr;
  }
}
