:root {
  --bg: #060914;
  --panel: rgba(12, 17, 32, .92);
  --panel-2: rgba(16, 23, 42, .9);
  --line: rgba(150, 166, 211, .22);
  --line-hot: rgba(156, 83, 255, .72);
  --text: #f6f8ff;
  --muted: #9da9c2;
  --purple: #8f49ff;
  --purple-2: #5f2ae8;
  --blue: #24b7ff;
  --gold: #ffb21f;
  --green: #44e6a0;
  --danger: #ff667a;
  --shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(143, 73, 255, .14), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(36, 183, 255, .1), transparent 28%),
    linear-gradient(180deg, #030611, #060914 48%, #030611);
  overflow-x: hidden;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}
h1, h2, h3 {
  overflow-wrap: normal;
  word-break: normal;
}

p {
  overflow-wrap: break-word;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.76), rgba(0,0,0,.08));
}

.simulator {
  position: relative;
  min-height: 100vh;
  padding: 10px 18px;
}

.start-screen,
.quest-screen { display: none; }
.start-screen.is-active,
.quest-screen.is-active {
  display: grid;
  align-items: center;
  animation: screenIn .35s ease both;
}
.quest-screen {
  min-height: calc(100vh - 20px);
  max-width: 1488px;
  margin: 0 auto;
}
.step-panel {
  width: 100%;
  min-width: 0;
}
.start-screen {
  min-height: calc(100vh - 20px);
  place-items: center;
  padding: 0;
}
.start-screen.is-active { display: grid; }

.start-card {
  position: relative;
  width: min(94vw, 1492px);
  min-height: min(950px, calc(100vh - 20px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 48px 62px 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(5,9,20,.99) 0%, rgba(5,9,20,.96) 33%, rgba(5,9,20,.72) 50%, rgba(5,9,20,.2) 72%, rgba(5,9,20,.08) 100%),
    linear-gradient(180deg, rgba(5,9,20,.05), rgba(5,9,20,.22) 56%, rgba(5,9,20,.95)),
    url("../assets/simulator-start-bg.png") center / cover no-repeat;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.03);
}
.start-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 42% 46%, rgba(143,73,255,.12), transparent 26%);
}
.start-card:after {
  content: none;
}
.start-visual {
  display: none;
}
.start-visual:after {
  content: none;
}
.start-top,
.start-content,
.trusted-row {
  position: relative;
  z-index: 1;
}
.start-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-row img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.34));
}
.sim-badge {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border: 1px solid rgba(159, 94, 255, .48);
  border-radius: 13px;
  background: rgba(13, 11, 32, .48);
  color: #c9cfe0;
  font-size: 17px;
  font-weight: 700;
}
.sim-badge span {
  color: #9d59ff;
  font-size: 30px;
  line-height: 1;
}
.start-content {
  align-self: center;
  width: 100%;
  max-width: 780px;
  min-width: 0;
}
.start-content h1 {
  width: 100%;
  max-width: 820px;
  margin: 0;
  font-size: clamp(58px, 4.5vw, 74px);
  line-height: 1.12;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  text-transform: none;
}
.start-content h1 span {
  display: block;
  font-weight: 900;
}
.start-content h1 span:nth-child(2) {
  white-space: nowrap;
}
.start-content h1 strong {
  display: inline;
  background: linear-gradient(180deg, #9f59ff 0%, #6b18ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.start-content > p {
  max-width: 540px;
  margin: 28px 0 50px;
  color: #d7dbe6;
  font-size: 23px;
  line-height: 1.45;
}
.start-features {
  display: grid;
  grid-template-columns: repeat(3, 116px);
  gap: 22px;
  max-width: 392px;
  margin: 0 0 52px;
}
.start-features article {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-rows: 58px 26px 1fr;
  align-content: start;
  gap: 6px;
  padding: 0 16px;
}
.start-features article + article {
  border-left: 0;
}
.start-features article + article:before {
  content: "";
  position: absolute;
  left: -11px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(142,158,204,.22);
}
.start-features b { color: #fff; font-size: 19px; }
.start-features small { color: #c7ccd8; font-size: 16px; line-height: 1.3; }
.feature-icon {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 0;
  border-radius: 10px;
  background: rgba(143,73,255,.13);
  border: 1px solid rgba(143,73,255,.42);
}
.feature-icon:before {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}
.feature-icon.lightning:before {
  inset: 11px;
  background: #9d59ff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2.5M9 2h6M12 2v3M5 5l-2 2M19 5l2 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.feature-icon.target:before {
  inset: 12px;
  background: #9d59ff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8l2 2v14H6V6l2-2Z'/%3E%3Cpath d='m9 12 2 2 4-5M9 17h6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.feature-icon.diamond:before {
  inset: 12px;
  background: #9d59ff;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 19 6v5c0 4.5-2.8 8-7 10-4.2-2-7-5.5-7-10V6l7-3Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.start-actions {
  display: flex;
  align-items: center;
  gap: 36px;
}
.start-button {
  width: 372px;
  min-height: 68px;
  justify-content: space-between;
  padding: 0 36px;
  border-radius: 9px;
  font-size: 24px;
}
.start-button span { font-size: 34px; line-height: 1; }
.case-link {
  width: fit-content;
  display: inline-flex;
  color: #c3b3ec;
  font-weight: 800;
  font-size: 17px;
}
.trusted-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 26px;
  padding: 0 30px;
  border: 1px solid rgba(142, 158, 204, .18);
  border-radius: 12px;
  background: rgba(9, 14, 29, .48);
  backdrop-filter: blur(10px);
}
.trusted-row p {
  margin: 0;
  color: #b8addd;
  font-size: 18px;
}
.trusted-marquee {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.trusted-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 56px;
  animation: trustedMarquee 34s linear infinite;
  will-change: transform;
}
.trusted-row span {
  color: rgba(255,255,255,.5);
  font-size: clamp(17px, 1.35vw, 24px);
  font-weight: 900;
  white-space: nowrap;
}

.primary-btn,
.secondary-btn {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 9px;
  border: 0;
  color: #fff;
  font-weight: 900;
}
.primary-btn {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 18px 40px rgba(143, 73, 255, .38);
}
.secondary-btn {
  color: #cfd6e6;
  background: rgba(4, 8, 18, .34);
  border: 1px solid rgba(139, 154, 190, .24);
}
.primary-btn:disabled,
.secondary-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.sim-step {
  min-height: auto;
  overflow: hidden;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 10% 9%, rgba(143, 73, 255, .11), transparent 28%),
    radial-gradient(circle at 35% 38%, rgba(36, 183, 255, .06), transparent 30%),
    linear-gradient(180deg, rgba(6,10,22,.98), rgba(4,8,18,.96));
  box-shadow: 0 24px 100px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255,255,255,.025);
}

.sim-header {
  min-height: 58px;
  display: flex;
  align-items: center;
}
.sim-logo img {
  width: 164px;
  display: block;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.34));
}
.sim-fast-finish {
  min-height: 60px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(142,158,204,.22);
  border-radius: 9px;
  color: #fff;
  background: rgba(9, 14, 29, .48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  text-align: left;
}
.sim-fast-finish span {
  grid-row: 1 / 3;
  color: var(--purple);
  font-size: 27px;
  line-height: 1;
}
.sim-fast-finish b {
  min-width: 0;
  overflow: hidden;
  color: #f4f6ff;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sim-fast-finish small {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(190,198,218,.76);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-step-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: stretch;
  min-height: auto;
}
.sim-step-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding: 30px 34px 34px 34px;
}
.sim-step-main.is-content-leaving-forward {
  animation: contentLeaveForward .18s ease both;
}
.sim-step-main.is-content-leaving-back {
  animation: contentLeaveBack .18s ease both;
}
.sim-step-main.is-content-entering-forward {
  animation: contentEnterForward .34s cubic-bezier(.2,.8,.2,1) both;
}
.sim-step-main.is-content-entering-back {
  animation: contentEnterBack .34s cubic-bezier(.2,.8,.2,1) both;
}
.sim-step-title {
  max-width: 890px;
}
.sim-step-title h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(46px, 4.4vw, 64px);
  line-height: 1.04;
  max-width: 840px;
  text-wrap: balance;
}
.sim-step-title p {
  max-width: 760px;
  margin: 0;
  color: #c2cad9;
  font-size: 20px;
  line-height: 1.45;
}

.sim-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-content: start;
}
.goal-grid {
  gap: 24px;
}
.additional-list {
  grid-template-columns: 1fr;
  gap: 10px;
}
.sim-card {
  position: relative;
  min-height: 144px;
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(142,158,204,.28);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(180deg, rgba(8, 14, 30, .84), rgba(5, 10, 23, .92));
  text-align: left;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
  padding: 22px 24px;
  animation: none;
}
.sim-step-main.is-content-entering-forward .sim-card,
.sim-step-main.is-content-entering-back .sim-card {
  animation: cardIn .34s cubic-bezier(.2,.8,.2,1) both;
}
.sim-card:nth-child(2) { animation-delay: 40ms; }
.sim-card:nth-child(3) { animation-delay: 80ms; }
.sim-card:nth-child(4) { animation-delay: 120ms; }
.sim-card:nth-child(5) { animation-delay: 160ms; }
.sim-card:nth-child(6) { animation-delay: 200ms; }
.sim-card:hover {
  transform: translateY(-3px);
  border-color: rgba(159,94,255,.7);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
}
.sim-card.is-selected {
  border-color: var(--line-hot);
  background: linear-gradient(180deg, rgba(143, 73, 255, .24), rgba(143, 73, 255, .08));
  box-shadow: 0 0 0 1px rgba(143, 73, 255, .3), 0 0 32px rgba(143, 73, 255, .2);
}
.sim-card.has-image {
  min-height: 408px;
  padding: 0;
  grid-template-rows: 150px 1fr;
}
.sim-card.is-compact {
  min-height: 120px;
}
.sim-card.has-goal-icon {
  min-height: 230px;
  background:
    radial-gradient(circle at 50% 18%, rgba(143,73,255,.14), transparent 35%),
    rgba(6, 10, 23, .72);
}
.additional-list .sim-card {
  min-height: 72px;
  padding: 0;
  border-radius: 10px;
}
.additional-list .sim-card:hover {
  transform: translateY(-1px);
}
.additional-list .sim-card-check {
  top: 50%;
  right: 18px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
}
.additional-list .sim-card-check:before {
  left: 8px;
  top: 4px;
  width: 8px;
  height: 14px;
}
.additional-list .sim-card-body {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 4px;
  align-content: center;
  align-items: center;
  padding: 13px 64px 13px 20px;
}
.additional-list .sim-card-icon {
  display: none;
}
.additional-list .sim-card b {
  min-width: 0;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.additional-list .sim-card small {
  min-width: 0;
  overflow: hidden;
  color: #bfc7d8;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.additional-list .sim-card em {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: end;
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}
.sim-card-image {
  display: block;
  background-position: center;
  background-size: cover;
}
.sim-card-image:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  background:
    linear-gradient(180deg, rgba(4,8,18,.04), rgba(4,8,18,.88)),
    linear-gradient(90deg, rgba(4,8,18,.12), transparent 45%);
}
.sim-card-check {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
  color: transparent;
  background: transparent;
  border: 2px solid rgba(255,255,255,.84);
  font-size: 16px;
  font-weight: 900;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.sim-card-check:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  width: 9px;
  height: 15px;
  display: block;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  opacity: 0;
  transform: rotate(45deg);
}
.sim-card.is-selected .sim-card-check {
  background: var(--purple);
  border-color: #b889ff;
  box-shadow: 0 0 18px rgba(143,73,255,.55);
}
.sim-card.is-selected .sim-card-check:before {
  opacity: 1;
}
.sim-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px 22px 22px;
}
.sim-card.has-goal-icon .sim-card-body {
  grid-template-rows: 82px auto 1fr;
  gap: 12px;
  padding: 18px 30px 24px;
}
.sim-card b {
  color: #fff;
  font-size: 24px;
  line-height: 1.18;
}
.sim-card.has-goal-icon b {
  align-self: end;
  font-size: 21px;
  line-height: 1.15;
}
.sim-card small {
  color: #d2d8e6;
  font-size: 16px;
  line-height: 1.45;
}
.sim-card.has-goal-icon small {
  max-width: 260px;
  color: #c9d0df;
  font-size: 16px;
  line-height: 1.38;
}
.sim-card i,
.sim-card em {
  color: #9fcbff;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
}
.sim-card em {
  color: var(--green);
  margin-top: 8px;
  font-size: 21px;
}

.sim-card[data-option="online"] {
  border-color: rgba(159, 82, 255, .9);
}
.sim-card[data-option="online"] .sim-card-icon {
  color: #a24fff;
}
.sim-card[data-option="offline"] {
  border-color: rgba(36, 156, 255, .86);
}
.sim-card[data-option="offline"] .sim-card-icon {
  color: #2da6ff;
}
.sim-card[data-option="hybrid"] {
  border-color: rgba(68, 230, 160, .78);
}
.sim-card[data-option="hybrid"] .sim-card-icon {
  color: #44e6a0;
}
.sim-card-icon {
  display: block;
  position: relative;
  width: 52px;
  height: 46px;
  margin-bottom: 2px;
}
.sim-card-icon.is-image {
  width: 100%;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0;
}
.sim-card-icon.is-image img {
  width: 96px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(143,73,255,.5));
}
.included-grid {
  gap: 22px;
}
.included-grid .sim-card {
  min-height: 292px;
}
.included-grid .sim-card.has-goal-icon .sim-card-body {
  grid-template-rows: 78px auto auto 1fr auto;
  justify-items: start;
  align-content: start;
  gap: 12px;
  padding: 26px 24px 24px;
  text-align: left;
}
.included-grid .sim-card-icon.is-image {
  width: 78px;
  height: 78px;
}
.included-grid .sim-card-icon.is-image img {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 0 16px rgba(143,73,255,.45));
}
.included-grid .sim-card.has-goal-icon b {
  align-self: start;
  max-width: 250px;
  font-size: 22px;
  line-height: 1.18;
}
.included-grid .sim-card.has-goal-icon small {
  max-width: 250px;
  min-height: 64px;
  font-size: 16px;
  line-height: 1.35;
}
.included-grid .sim-card em {
  align-self: end;
}
.sim-card-icon:before,
.sim-card-icon:after,
.sim-card-icon i,
.sim-card-icon i:before,
.sim-card-icon i:after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
}
.sim-card[data-option="online"] .sim-card-icon:before {
  left: 8px;
  top: 3px;
  width: 30px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 3px;
}
.sim-card[data-option="online"] .sim-card-icon:after {
  left: 3px;
  bottom: 4px;
  width: 42px;
  height: 8px;
  border: 4px solid currentColor;
  border-top: 0;
  transform: skewX(-18deg);
}
.sim-card[data-option="offline"] .sim-card-icon:before {
  left: 4px;
  bottom: 2px;
  width: 42px;
  height: 30px;
  border: 4px solid currentColor;
  border-top: 0;
}
.sim-card[data-option="offline"] .sim-card-icon:after {
  left: 17px;
  top: 1px;
  width: 16px;
  height: 42px;
  border: 4px solid currentColor;
}
.sim-card[data-option="offline"] .sim-card-icon i {
  left: 10px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: currentColor;
  box-shadow: 13px 0 0 currentColor, 26px 0 0 currentColor, 0 11px 0 currentColor, 13px 11px 0 currentColor, 26px 11px 0 currentColor;
}
.sim-card[data-option="hybrid"] .sim-card-icon:before,
.sim-card[data-option="hybrid"] .sim-card-icon:after,
.sim-card[data-option="hybrid"] .sim-card-icon i {
  border: 4px solid currentColor;
  border-radius: 50%;
}
.sim-card[data-option="hybrid"] .sim-card-icon:before {
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
}
.sim-card[data-option="hybrid"] .sim-card-icon:after {
  right: 3px;
  top: 4px;
  width: 18px;
  height: 18px;
}
.sim-card[data-option="hybrid"] .sim-card-icon i {
  left: 16px;
  bottom: 2px;
  width: 20px;
  height: 20px;
}
.sim-note,
.sim-empty {
  margin: 0;
  color: #bfc9dc;
  font-size: 14px;
  line-height: 1.55;
}

.sim-step-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--danger);
  font-weight: 800;
}
.sim-empty {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}

.sim-participants {
  display: grid;
  gap: 22px;
}
.sim-participant-number {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}
.sim-participant-number button {
  width: 64px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 28px;
}
.sim-participant-number strong {
  min-width: 150px;
  text-align: center;
  font-size: 48px;
}
.sim-card-grid.is-participants {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.sim-card-grid.is-participants .sim-card {
  min-height: 198px;
  background:
    radial-gradient(circle at 50% 18%, rgba(143,73,255,.1), transparent 34%),
    rgba(6, 10, 23, .72);
}
.sim-card-grid.is-participants .sim-card-body {
  grid-template-rows: 54px auto auto auto;
  justify-items: center;
  align-content: center;
  gap: 9px;
  padding: 24px 28px;
  text-align: center;
}
.sim-card-grid.is-participants .sim-card-icon.is-image {
  width: 100%;
  height: 54px;
}
.sim-card-grid.is-participants .sim-card-icon.is-image img {
  width: 92px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(143,73,255,.5));
}
.sim-card-grid.is-participants .sim-card b {
  font-size: 28px;
  line-height: 1;
}
.sim-card-grid.is-participants .sim-card small {
  color: #c9d0df;
  font-size: 15px;
  line-height: 1.3;
}
.sim-card-grid.is-participants .sim-card em {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.2;
}
.participants-note {
  min-height: 92px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border: 1px solid rgba(142,158,204,.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 50%, rgba(143,73,255,.12), transparent 26%),
    rgba(9,14,29,.58);
}
.participants-note > span {
  position: relative;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 16px rgba(143,73,255,.52);
}
.participants-note > span:before {
  content: "";
  position: absolute;
  width: 3px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(4px);
}
.participants-note > span:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-7px);
}
.participants-note b {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 17px;
  line-height: 1.25;
}
.participants-note p {
  margin: 0;
  color: #c9d0df;
  font-size: 15px;
  line-height: 1.35;
}
.duration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.context-block {
  display: grid;
  gap: 18px;
}
.context-block h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 22px;
}
.context-format-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sim-review-hero,
.sim-deliverables {
  border: 1px solid rgba(142,158,204,.2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 82% 42%, rgba(143,73,255,.16), transparent 28%),
    rgba(9, 14, 29, .56);
}
.sim-review-hero {
  min-height: 122px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 210px;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  overflow: hidden;
}
.sim-review-hero h3,
.sim-deliverables h3,
.sim-result-next h4 {
  margin: 0 0 10px;
  color: #fff;
}
.sim-review-hero p {
  margin: 0 0 5px;
  color: #c6d0e3;
  line-height: 1.35;
}
.sim-review-hero img {
  width: 180px;
  justify-self: end;
  filter: drop-shadow(0 0 18px rgba(143,73,255,.34));
}
.review-doc-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(143,73,255,.32);
  border-radius: 14px;
  background: rgba(143,73,255,.1);
}
.review-doc-icon:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 14px;
  width: 24px;
  height: 30px;
  border: 3px solid #a75cff;
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(143,73,255,.52);
}
.review-doc-icon:after {
  content: "";
  position: absolute;
  left: 25px;
  top: 27px;
  width: 13px;
  height: 3px;
  background: #a75cff;
  box-shadow: 0 7px 0 #a75cff;
}
.sim-review {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sim-review article {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid rgba(142,158,204,.18);
  border-radius: 10px;
  background: rgba(12, 18, 34, .58);
}
.sim-review .review-summary-label,
.kpi-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.sim-review b,
.sim-deliverables ul,
.sim-result-next ol {
  margin: 0;
  padding-left: 20px;
  color: #c6d0e3;
  line-height: 1.65;
}
.sim-review .review-summary-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 12px;
  align-self: end;
}
.sim-review b {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
  padding-left: 0;
  color: #fff;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-summary-icon {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  align-self: stretch;
  display: grid;
  place-items: center;
}
.review-summary-icon img {
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
  transform: none;
}
.sim-deliverables {
  min-height: 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  overflow: hidden;
}
.sim-deliverables ul {
  columns: 2;
  padding-left: 18px;
}
.sim-deliverables img {
  width: 190px;
  justify-self: center;
  filter: drop-shadow(0 0 18px rgba(143,73,255,.28));
}
.sim-deliverables li::marker {
  color: var(--green);
}

.sim-result {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .8fr);
  gap: 18px;
  align-items: start;
}
.sim-fast-finish-note {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px solid rgba(143, 73, 255, .38);
  border-radius: 14px;
  background: rgba(143, 73, 255, .12);
}
.sim-fast-finish-note h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}
.sim-fast-finish-note p {
  margin: 0;
  color: #d8deec;
  line-height: 1.5;
}
.sim-result-card,
.result-form {
  padding: 22px;
  border: 1px solid rgba(143, 73, 255, .28);
  border-radius: 16px;
  background: radial-gradient(circle at 90% 12%, rgba(143,73,255,.16), transparent 34%), rgba(255,255,255,.045);
  position: relative;
  overflow: hidden;
}
.sim-result-card h3 {
  margin: 0 0 12px;
  color: #b889ff;
  font-size: clamp(34px, 4vw, 52px);
}
.sim-result-card p,
.result-form p,
.form-status {
  color: var(--muted);
  line-height: 1.55;
}
.sim-result-card a,
.telegram-fallback {
  color: #c9adff;
  font-weight: 900;
}
.sim-result-next,
.sim-result-meta,
.sim-saved {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(150,166,211,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.sim-result-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.sim-result-meta b {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
}
.sim-saved {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8ffe9;
  font-weight: 900;
}
.sim-saved i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(68,230,160,.5);
}
.lead-form {
  display: grid;
  gap: 10px;
}
.result-form > img {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 132px;
  max-width: 34%;
  opacity: .9;
  pointer-events: none;
}
.result-form h3,
.result-form > p:first-of-type {
  max-width: calc(100% - 150px);
}
.result-form h3 {
  margin: 0 0 8px;
  color: #b889ff;
  font-size: 24px;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.lead-form textarea {
  min-height: 92px;
  padding-top: 11px;
  resize: vertical;
}
.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(143, 73, 255, .42);
  border-color: transparent;
}
.lead-form input.is-invalid,
.lead-form textarea.is-invalid {
  border-color: #ff4d6d;
  background: rgba(255, 77, 109, .1);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, .16);
}
.lead-form input.is-invalid:focus,
.lead-form textarea.is-invalid:focus {
  outline: 2px solid rgba(255, 77, 109, .34);
  border-color: #ff4d6d;
}
.field-error {
  color: var(--danger);
  font-size: 12px;
}
.success-envelope {
  width: 150px;
  height: 110px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(143,73,255,.34), rgba(36,183,255,.16));
  border: 1px solid rgba(255,255,255,.16);
}
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2,5,12,.72);
  backdrop-filter: blur(10px);
}
.success-modal-card {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15,22,42,.98), rgba(8,12,25,.98));
  box-shadow: var(--shadow);
  text-align: center;
}
.success-modal-card h3 {
  margin: 0;
  font-size: 30px;
}
.success-modal-card p {
  margin: 0;
  color: #cbd5e7;
  line-height: 1.55;
}
.success-envelope span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #b889ff, var(--purple));
  font-size: 34px;
  font-weight: 900;
}

.sim-progress-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 18px;
  align-content: start;
  align-self: stretch;
  min-height: auto;
  padding: 32px 22px 22px;
  border-left: 1px solid rgba(142,158,204,.14);
  background: linear-gradient(180deg, rgba(7, 12, 28, .72), rgba(4, 8, 19, .88));
}
.step-navigator {
  height: 526px;
  padding: 0;
}
.step-navigator-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(142,158,204,.13);
}
.step-navigator-head h3 {
  margin: 0;
  color: #f3f5ff;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 900;
}
.step-navigator-head span {
  color: #d9deec;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.step-navigator-list {
  position: relative;
  display: grid;
  gap: 0;
  padding-top: 0;
  border-top: 0;
}
.step-navigator-list:before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  bottom: 17px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(68,230,160,.56), rgba(143,73,255,.74) 28%, rgba(97,111,148,.45) 58%, rgba(97,111,148,.18));
}
.step-nav-item {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  height: 58px;
  padding: 0 0 12px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #fff;
  background: transparent;
  text-align: left;
}
.step-nav-item:last-child {
  height: 46px;
  padding-bottom: 0;
}
.step-nav-copy {
  min-width: 0;
  display: block;
}
.step-nav-item small {
  display: block;
  margin-top: 5px;
  min-height: 15px;
  overflow: hidden;
  color: rgba(190,198,218,.76);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.step-nav-dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #465171;
  background: #121b31;
  color: #d0d7ea;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(7, 12, 28, .92);
}
.step-nav-dot:before {
  content: counter(step);
}
.step-navigator-list {
  counter-reset: step;
}
.step-nav-item {
  counter-increment: step;
}
.step-nav-item.is-done .step-nav-dot {
  border-color: #2f9c76;
  background: #16463c;
  color: var(--green);
}
.step-nav-item.is-done .step-nav-dot:before {
  content: "✓";
}
.step-nav-item.is-current {
  border-color: transparent;
  background: transparent;
}
.step-nav-item.is-current .step-nav-dot {
  border-color: rgba(194,152,255,.65);
  background: linear-gradient(180deg, #b978ff, var(--purple));
  color: #fff;
  box-shadow: 0 0 0 3px rgba(7, 12, 28, .92), 0 0 22px rgba(143,73,255,.72);
}
.step-nav-item b {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(230,234,246,.86);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.step-nav-item.is-current b {
  color: #fff;
}
.step-nav-item.is-locked {
  opacity: .62;
  cursor: not-allowed;
}
.current-summary {
  min-height: 268px;
  display: grid;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}





.kpi-grid {
  display: grid;
  grid-template-rows: 124px 128px;
  gap: 16px;
  padding: 0;
}
.kpi-card {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  border: 1px solid rgba(142,158,204,.16);
  border-radius: 10px;
  background: rgba(13, 18, 35, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 14px 34px rgba(0,0,0,.18);
}
.kpi-card + .kpi-card {
  padding-top: 18px;
}
.kpi-card[data-kpi="price"] {
  min-height: 0;
}
.kpi-card[data-kpi="engagement"] {
  min-height: 0;
}
.kpi-card > span {
  display: block;
  min-height: 17px;
  color: rgba(198,206,225,.86);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}
.kpi-card strong {
  display: block;
  min-height: 31px;
  margin-top: 8px;
  color: var(--purple);
  font-size: 28px;
  line-height: 1.1;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}
.kpi-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  min-height: 16px;
  color: rgba(198,206,225,.78);
  font-size: 12px;
  font-weight: 800;
}
.kpi-row b {
  color: #dce2f1;
  font-size: 12px;
  white-space: nowrap;
}
.engagement-meter {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(102, 114, 150, .36);
}
.engagement-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9a4dff, #b267ff);
  box-shadow: 0 0 16px rgba(143,73,255,.52);
  transition: width .2s ease;
}
.engagement-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(198,206,225,.82);
  font-size: 12px;
  font-weight: 900;
}
.engagement-caption span {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(142,158,204,.35);
  border-radius: 50%;
  color: rgba(198,206,225,.72);
  font-size: 10px;
  font-style: normal;
}
.kpi-delta {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}
.kpi-delta.is-hidden {
  display: none;
}
.kpi-delta.is-up { color: var(--green); }
.kpi-delta.is-down { color: var(--danger); }
.kpi-delta.is-flat { color: var(--muted); }
.sim-hint,
.sidebar-hint {
  color: #c4ccda;
  font-size: 15px;
  line-height: 1.45;
}

.sidebar-hint > span {
  position: relative;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #bb85ff;
  background: rgba(143, 73, 255, .2);
  border: 1px solid rgba(143, 73, 255, .45);
  box-shadow: 0 0 18px rgba(143,73,255,.22);
  font-weight: 900;
}
.sidebar-hint > span:before {
  content: "";
  position: absolute;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(5px);
}
.sidebar-hint > span:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-8px);
}
.sidebar-hint b {
  display: block;
  margin-bottom: 6px;
  color: #d8ccff;
  font-size: 13px;
  line-height: 1.25;
}
.sidebar-hint p {
  margin: 0;
}
.sidebar-hint {
  align-self: start;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(142,158,204,.16);
  border-radius: 10px;
  background: rgba(13, 18, 35, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 14px 34px rgba(0,0,0,.18);
}

.sim-controls {
  margin-top: auto;
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr) minmax(212px, 248px) 250px;
  align-items: center;
  gap: 12px;
}
.sim-controls .secondary-btn {
  grid-column: 1;
  min-width: 176px;
}
.sim-controls .primary-btn {
  grid-column: 4;
  width: 100%;
  min-width: 0;
}
.sim-controls .sim-fast-finish {
  grid-column: 3;
  width: 100%;
}
.mobile-summary { display: none; }

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  min-width: 230px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #8f49ff, #24b7ff);
  box-shadow: 0 18px 50px rgba(56,163,255,.35);
  font-size: 15px;
  font-weight: 900;
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes contentLeaveForward {
  to { opacity: 0; transform: translateX(-20px); }
}

@keyframes contentLeaveBack {
  to { opacity: 0; transform: translateX(20px); }
}

@keyframes contentEnterForward {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes contentEnterBack {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateX(16px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes trustedMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  .trusted-track {
    animation: none;
  }
}

.floating-contact .max {
  display: none;
}
body.simulator-page .floating-contact {
  display: none;
}

@media (min-width: 1280px) {
  .duration-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .sim-step-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .sim-header {
    min-height: 62px;
  }
  .sim-logo img { width: 160px; }
  .floating-contact {
    display: none;
  }
}

@media (max-width: 900px) {
  .quest-screen {
    min-height: auto;
    align-items: stretch;
    padding-bottom: 160px;
  }
  .simulator {
    padding: 14px 14px 184px;
  }
  .sim-step {
    height: auto;
    min-height: auto;
    padding: 0;
  }
  .sim-header {
    min-height: 54px;
  }
  .sim-logo img { width: 122px; }
  .sim-step-layout {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }
  .sim-step-main {
    padding: 20px 18px 24px;
  }
  .sim-progress-sidebar {
    display: none;
  }
  .sim-card-grid,
  .sim-card-grid.is-participants,
  .context-format-grid,
  .sim-review,
  .sim-result {
    grid-template-columns: 1fr;
  }
  .sim-card,
  .sim-card.has-image,
  .sim-card.is-compact {
    min-height: auto;
    max-height: none;
  }
  .sim-card.has-image {
    grid-template-rows: 150px auto;
  }
  .sim-review-hero,
  .sim-deliverables {
    grid-template-columns: 1fr;
  }
  .sim-review-hero img,
  .sim-deliverables img {
    display: none;
  }
  .sim-review {
    grid-template-columns: 1fr;
  }
  .result-form > img {
    display: none;
  }
  .result-form h3,
  .result-form > p:first-of-type {
    max-width: none;
  }
  .sim-deliverables ul {
    columns: 1;
  }
  .sim-step-title h2 {
    font-size: 30px;
  }
  .sim-step-title p {
    font-size: 16px;
  }
  .sim-controls {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 76px;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }
  .sim-controls .secondary-btn {
    grid-column: 1;
    grid-row: 2;
  }
  .sim-controls .primary-btn {
    grid-column: 2;
    grid-row: 2;
  }
  .sim-controls .sim-fast-finish {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .sim-controls .primary-btn,
  .sim-controls .secondary-btn,
  .sim-controls .sim-fast-finish {
    min-width: 0;
    min-height: 54px;
    padding: 0 12px;
  }
  .sim-controls.is-result {
    grid-template-columns: 1fr 1fr;
  }
  .sim-controls.is-result .secondary-btn {
    grid-row: 1;
  }
  .mobile-summary {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    padding: 0 14px;
    border: 1px solid rgba(143, 73, 255, .42);
    border-radius: 14px;
    background: rgba(10, 14, 26, .94);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 44px rgba(0,0,0,.34);
  }
  .floating-contact {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
  }
  .floating-contact a {
    min-width: 0;
    min-height: 54px;
    padding: 0 10px;
    font-size: 13px;
  }
  .mobile-summary span {
    font-size: 18px;
    font-weight: 900;
  }
  .mobile-summary b {
    color: var(--gold);
    font-size: 13px;
  }
  .start-card {
    min-height: calc(100vh - 28px);
    padding: 24px;
  }
  .start-visual {
    inset: 0;
    opacity: .5;
  }
  .start-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .start-features article,
  .start-features article + article {
    min-height: 118px;
    grid-template-rows: 48px auto auto;
    gap: 7px;
    padding: 0;
    border-left: 0;
  }
  .start-features article + article:before {
    content: none;
  }
  .start-features .feature-icon {
    width: 48px;
    height: 48px;
  }
  .start-features b {
    font-size: 17px;
  }
  .start-features small {
    font-size: 14px;
  }
  .start-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .trusted-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .trusted-track {
    gap: 42px;
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  .simulator {
    padding: 10px 10px 184px;
  }
  .sim-step {
    padding: 0;
  }
  .sim-header {
    min-height: 48px;
  }
  .sim-logo img { width: 104px; }
  .sim-card-body { padding: 15px; }
  .sim-card b { font-size: 18px; }
  .sim-participant-number {
    padding: 14px;
  }
  .sim-participant-number strong {
    min-width: 100px;
    font-size: 38px;
  }
  .sim-participant-number button {
    width: 50px;
    height: 46px;
  }
  .start-card {
    min-height: calc(100vh - 20px);
    padding: 18px;
  }
  .start-content,
  .start-content h1 {
    max-width: calc(100vw - 56px);
  }
  .start-content h1 {
    font-size: 30px;
  }
  .start-content > p {
    max-width: 310px;
    margin: 18px 0 20px;
    font-size: 16px;
  }
  .start-button {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .trusted-track {
    gap: 34px;
    animation-duration: 28s;
  }
}

.mobile-step-progress {
  display: none;
}

@media (min-width: 768px) and (max-width: 1440px),
       (max-height: 820px) and (min-width: 1024px) {
  .simulator {
    padding: 8px 12px;
  }
  .quest-screen {
    max-width: 1320px;
    min-height: calc(100vh - 16px);
  }
  .sim-step-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .sim-step-main {
    padding: 22px 26px 26px;
    gap: 14px;
  }
  .sim-header {
    min-height: 44px;
  }
  .sim-logo img {
    width: 136px;
  }
  .sim-step-title h2 {
    max-width: 720px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.02;
  }
  .sim-step-title p {
    font-size: 17px;
    line-height: 1.35;
  }
  .sim-card-grid {
    gap: 14px;
  }
  .sim-card {
    min-height: 126px;
    padding: 18px 20px;
  }
  .sim-card.has-image {
    min-height: 310px;
    grid-template-rows: 118px 1fr;
  }
  .sim-card-image:after {
    height: 118px;
  }
  .sim-card b {
    font-size: 20px;
  }
  .sim-card small {
    font-size: 14px;
    line-height: 1.35;
  }
  .sim-card em {
    font-size: 17px;
  }
  .included-grid .sim-card {
    min-height: 230px;
  }
  .included-grid .sim-card.has-goal-icon .sim-card-body {
    grid-template-rows: 66px auto auto 1fr auto;
    padding: 18px;
  }
  .included-grid .sim-card-icon.is-image,
  .included-grid .sim-card-icon.is-image img {
    width: 66px;
    height: 66px;
  }
  .sim-card-grid.is-participants .sim-card {
    min-height: 150px;
  }
  .sim-card-grid.is-participants .sim-card-body {
    padding: 18px;
  }
  .sim-progress-sidebar {
    padding: 22px 18px;
  }
  .step-nav-item {
    min-height: 42px;
    padding: 8px 0;
  }
  .step-nav-copy b {
    font-size: 13px;
  }
  .step-nav-copy small {
    font-size: 11px;
  }
  .kpi-card strong {
    font-size: 25px;
  }
  .sidebar-hint {
    padding: 14px;
  }
  .sim-controls {
    margin-top: auto;
    gap: 12px;
  }
  .primary-btn,
  .secondary-btn,
  .sim-fast-finish {
    min-height: 52px;
  }
}

@media (max-height: 760px) and (min-width: 1024px) {
  .sidebar-hint {
    display: none;
  }
  .step-nav-copy small {
    display: none;
  }
  .sim-progress-sidebar {
    gap: 12px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .sim-step-layout {
    grid-template-columns: 1fr;
  }
  .sim-step-main {
    padding: 22px 24px 150px;
  }
}

@media (max-width: 767px) {
  .simulator {
    min-height: 100dvh;
    padding: 0;
  }
  .start-screen {
    min-height: 100dvh;
  }
  .start-card {
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 22px 18px 28px;
    background-position: center right;
  }
  .start-top {
    align-items: flex-start;
  }
  .brand-row img {
    width: 132px;
  }
  .sim-badge {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }
  .sim-badge span {
    font-size: 20px;
  }
  .start-content {
    align-self: center;
    max-width: 100%;
  }
  .start-content,
  .start-content h1 {
    max-width: 100%;
  }
  .start-content h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: .98;
  }
  .start-content h1 span:nth-child(2) {
    white-space: normal;
  }
  .start-content > p {
    max-width: 92%;
    margin: 20px 0 26px;
    font-size: 17px;
  }
  .start-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    gap: 8px;
    max-width: none;
    margin: 0 0 24px;
    padding: 0;
    scroll-snap-type: none;
  }
  .start-features::-webkit-scrollbar {
    display: none;
  }
  .start-features article {
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-rows: auto auto minmax(30px, auto);
    align-content: center;
    justify-items: center;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(159,94,255,.22);
    border-radius: 14px;
    background: rgba(9,14,29,.62);
    text-align: center;
  }
  .start-features article + article:before {
    content: none;
  }
  .start-features .feature-icon {
    width: 42px;
    height: 42px;
    margin: 0;
  }
  .start-features .feature-icon:before {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
  }
  .start-features b {
    width: 100%;
    font-size: 15px;
    line-height: 1.05;
    text-align: center;
  }
  .start-features small {
    width: 100%;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
  }
  .start-actions {
    display: grid;
    gap: 12px;
  }
  .start-button {
    width: 100%;
    min-height: 58px;
    font-size: 19px;
  }
  .case-link {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    text-align: center;
  }
  .trusted-row {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }
  .trusted-row p {
    font-size: 13px;
  }
  .quest-screen.is-active {
    min-height: 100dvh;
    display: block;
    padding-bottom: 0;
    animation: none;
    transform: none;
  }
  .start-screen.is-active,
  .quest-screen.is-active,
  .step-panel,
  .sim-step,
  .sim-step-layout {
    transform: none;
  }
  .step-panel,
  .sim-step,
  .sim-step-layout,
  .sim-step-main {
    min-height: 100dvh;
  }
  .sim-step {
    height: auto;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .sim-step-layout {
    display: block;
    height: auto;
  }
  .sim-step-main {
    padding: 18px 18px 210px;
    gap: 14px;
  }
  .sim-step-main.is-content-leaving-forward,
  .sim-step-main.is-content-leaving-back,
  .sim-step-main.is-content-entering-forward,
  .sim-step-main.is-content-entering-back {
    animation: none;
    transform: none;
  }
  .sim-step-main.is-content-entering-forward .sim-card,
  .sim-step-main.is-content-entering-back .sim-card {
    animation: none;
  }
  .sim-progress-sidebar {
    display: none;
  }
  .sim-header {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
  .sim-logo img {
    width: 128px;
  }
  .mobile-step-progress {
    min-width: 110px;
    display: grid;
    gap: 6px;
  }
  .mobile-step-progress span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
  }
  .mobile-step-progress i {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(142,158,204,.22);
  }
  .mobile-step-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--purple), var(--blue));
  }
  .sim-step-title h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.03;
    letter-spacing: 0;
  }
  .sim-step-title p {
    max-width: 94%;
    font-size: 15px;
    line-height: 1.4;
  }
  .context-block {
    min-height: 0;
  }
  .sim-card-grid,
  .sim-card-grid.is-participants,
  .context-format-grid,
  .goal-grid,
  .duration-grid,
  .included-grid,
  .additional-list {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-left: -18px;
    margin-right: -18px;
    padding: 2px 18px 12px;
  }
  .sim-card-grid::-webkit-scrollbar,
  .start-features::-webkit-scrollbar {
    display: none;
  }
  .sim-card,
  .sim-card.has-goal-icon,
  .sim-card-grid.is-participants .sim-card {
    flex: 0 0 82%;
    min-height: 320px;
    width: 82%;
    max-height: none;
    scroll-snap-align: center;
    padding: 22px;
  }
  .sim-card:hover,
  .additional-list .sim-card:hover {
    transform: none;
  }
  .sim-card.has-image {
    flex-basis: 82%;
    min-height: 360px;
    grid-template-rows: 130px 1fr;
    padding: 0;
  }
  .sim-card-image:after {
    height: 130px;
  }
  .sim-card.is-compact,
  .additional-list .sim-card {
    flex-basis: 82%;
    width: 82%;
    min-height: 260px;
  }
  .sim-card-body,
  .sim-card.has-goal-icon .sim-card-body,
  .sim-card-grid.is-participants .sim-card-body,
  .included-grid .sim-card.has-goal-icon .sim-card-body {
    grid-template-rows: auto;
    justify-items: center;
    align-content: start;
    gap: 12px;
    padding: 0;
    text-align: center;
  }
  .sim-card.has-image .sim-card-body {
    padding: 22px;
  }
  .sim-card-icon.is-image,
  .included-grid .sim-card-icon.is-image,
  .sim-card-grid.is-participants .sim-card-icon.is-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    margin: 0;
    display: grid;
    place-items: center;
    place-self: center;
  }
  .sim-card-icon.is-image img,
  .included-grid .sim-card-icon.is-image img,
  .sim-card-grid.is-participants .sim-card-icon.is-image img {
    width: 72px;
    height: 72px;
    display: block;
    object-fit: contain;
    transform: none;
  }
  .sim-card b,
  .sim-card.has-goal-icon b,
  .sim-card-grid.is-participants .sim-card b,
  .included-grid .sim-card.has-goal-icon b {
    max-width: 100%;
    font-size: 23px;
    line-height: 1.18;
  }
  .sim-card small,
  .sim-card.has-goal-icon small,
  .sim-card-grid.is-participants .sim-card small,
  .included-grid .sim-card.has-goal-icon small {
    max-width: 100%;
    min-height: 0;
    font-size: 15px;
    line-height: 1.4;
  }
  .sim-card em {
    align-self: end;
    font-size: 19px;
  }
  .additional-list .sim-card-body {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    padding: 24px 54px 24px 22px;
  }
  .additional-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: visible;
    margin: 0;
    padding: 0;
    scroll-snap-type: none;
  }
  .additional-list .sim-card {
    flex: none;
    width: 100%;
    min-height: 72px;
    padding: 0;
    scroll-snap-align: none;
  }
  .additional-list .sim-card-body {
    grid-template-columns: minmax(0, 1fr) minmax(90px, auto);
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    min-height: 70px;
    padding: 14px 52px 14px 16px;
    text-align: left;
  }
  .additional-list .sim-card b,
  .additional-list .sim-card small {
    overflow: visible;
    white-space: normal;
    text-overflow: initial;
  }
  .additional-list .sim-card em {
    grid-column: 2;
    grid-row: 1 / 3;
    justify-self: end;
    margin: 0;
    font-size: 14px;
  }
  .sim-note {
    font-size: 13px;
  }
  .sim-review,
  .sim-result,
  .sim-review-hero,
  .sim-deliverables {
    grid-template-columns: 1fr;
  }
  .sim-review-hero img,
  .sim-deliverables img,
  .result-form > img {
    display: none;
  }
  .result-form h3,
  .result-form > p:first-of-type {
    max-width: none;
  }
  .mobile-summary {
    position: fixed !important;
    left: 12px;
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    z-index: 49;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 12px;
    min-height: 0;
    padding: 12px 14px;
    border: 1px solid rgba(159,94,255,.32);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(15,20,38,.96), rgba(10,14,28,.94));
    box-shadow: 0 16px 42px rgba(0,0,0,.42);
    backdrop-filter: blur(18px);
  }
  .mobile-summary::before {
    content: "Предварительно";
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
  #mobilePrice {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
  }
  #mobileEngagement {
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(68,230,160,.12);
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
  }
  .sim-controls,
  .sim-controls.is-result {
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    width: 100vw;
    max-width: 100vw;
    display: grid;
    grid-template-columns: 52px 1fr 1.2fr;
    gap: 8px;
    justify-content: stretch;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(142,158,204,.22);
    background: rgba(5, 8, 18, .94);
    backdrop-filter: blur(18px);
  }
  .sim-controls .secondary-btn,
  .sim-controls.is-result .secondary-btn {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: 52px;
    padding: 0;
    font-size: 0;
  }
  .sim-controls .secondary-btn::before {
    content: "‹";
    font-size: 26px;
  }
  .sim-controls .primary-btn {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    min-height: 52px;
    border-radius: 12px;
    padding: 0 12px;
    font-size: 16px;
  }
  .sim-controls .sim-fast-finish {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 52px;
    display: flex;
    justify-content: center;
    padding: 0 10px;
    border-radius: 12px;
  }
  .sim-controls .sim-fast-finish span,
  .sim-controls .sim-fast-finish small {
    display: none;
  }
  .sim-controls .sim-fast-finish b {
    font-size: 0;
    white-space: normal;
    text-align: center;
  }
  .sim-controls .sim-fast-finish b::before {
    content: "Помогите выбрать";
    font-size: 13px;
  }
  .sim-controls.is-result {
    grid-template-columns: 1fr;
  }
  .sim-controls.is-result .secondary-btn {
    grid-column: 1;
    font-size: 0;
  }
  .sim-controls.is-result .secondary-btn::before {
    margin-right: 6px;
  }
  .sim-controls.is-result .secondary-btn::after {
    content: "Назад";
    font-size: 15px;
  }
  .floating-contact {
    display: none;
  }
}
