/* ===============================================
   QUIZ APP - CLEAN CSS ARCHITECTURE
   =============================================== */

/* =================== FONTS =================== */
@font-face {
  src: url('/fonts/factor-a-variable.woff2') format('woff2-variations');
  font-family: 'Factor A';
  font-style: normal;
  font-display: swap;
}

@font-face {
  src: url('/fonts/graphik-lc-regular.woff2') format('woff2');
  font-family: 'Graphik LC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* =================== UTILITIES =================== */
* {
  box-sizing: border-box;
}

/* CSS переменная для реальной высоты viewport (устанавливается через JS) */
:root {
  --vh: 1vh; /* Fallback */
}

html, body {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100svh; /* Small Viewport Height - учитывает UI браузера */
  height: calc(var(--vh, 1vh) * 100); /* JS fallback для старых браузеров */
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f0f0f0;
}

#__nuxt {
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  height: min(100vh, 844px);
  height: min(100svh, 844px); /* Small Viewport Height */
  height: min(calc(var(--vh, 1vh) * 100), 844px); /* JS fallback */
  max-height: 844px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.quiz-body {
  transition: background-color 0.18s;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* =================== TRANSITIONS =================== */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease-in-out;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.step-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  height: 100%;
  overflow: hidden;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  height: min(100vh, 844px);
  height: min(100svh, 844px); /* Small Viewport Height */
  height: min(calc(var(--vh, 1vh) * 100), 844px); /* JS fallback */
  padding: 0 24px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}
.p0{
  padding: 0 !important;
}
.pt16{
  padding-top: 16px !important;
}


/* =================== QUIZ LAYOUT =================== */
.quiz {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* =================== STEP COMPONENTS =================== */
.step {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.step__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  overflow-y: auto;
}

/* Image Card Step Components */
.step-logos {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 8px 0 16px;
  padding: 0 8px;
}

.step-logos img {
  width: 127px;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* Стили для квадратной иконки amma */
.step-logos img[src*="icon-180"] {
  width: auto;
  height: 50px;
}

.step-logos img.loaded {
  opacity: 1;
}

.step-image-container {
  position: relative;
  overflow: hidden;
  margin: 16px 0 24px;
  height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 390px;
}

.step-decorations {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  width: 375px;
  height: 230px;
  max-width: 100%;
  z-index: 0;
}

.step-image {
  z-index: 1;
}

.step-image img {
  display: block;
  width: 246px !important;
  height: auto;
  margin-top: 0 !important;
  margin-right: 0 !important;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.step-image img.loaded {
  opacity: 1;
}

.step-header {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.step-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: "wght" 1160;
  font-size: 24px;
  text-align: center;
  margin-bottom: 16px;
  color: #232323;
  line-height: 1.2;
}

.step-subtitle {
  font-family: 'Graphik LC', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 40px;
  text-align: center;
  color: rgba(35, 35, 35, 0.7);
  line-height: 1.3;
  padding: 0 16px;
}

.quiz__header {
  padding: 8px 24px 0;
  z-index: 1;
}

.quiz__header--hidden {
  transform: translateY(-20px);
  visibility: hidden;
}

/* Убран старый .quiz__content - используем .container вместо него */

/* =================== PROGRESS BAR =================== */
.progress-container {
  z-index: 1;
  margin: 8px 24px -12px;
  display: flex;
  transition: transform 0.18s, visibility 0.18s;
}

.progress-container--hidden {
  transform: translateY(-20px);
  visibility: hidden;
}

.progress {
  flex: 1 1 0%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 4px;
  border: none;
  border-radius: 2px;
  background-color: rgba(35, 35, 35, 0.1);
  appearance: none;
}

.progress::-webkit-progress-bar {
  background-color: rgba(35, 35, 35, 0.1);
  border-radius: 2px;
}

.progress::-webkit-progress-value {
  background: #ff8898;
  border-radius: inherit;
  transition: width 0.3s ease-in-out;
}

.progress::-moz-progress-bar {
  background: #ff8898;
  border-radius: inherit;
  transition: width 0.3s ease-in-out;
}

/* =================== STEP LAYOUT =================== */
/* .step уже определен выше в строке 103 */

.step__header {
  text-align: center;
  margin-bottom: 32px;
}

.step__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1600;
  font-size: 20px;
  margin: 0 0 32px 0;
  text-align: center;
}

.step__title--large {
  font-variation-settings: 'wght' 1160;
  font-size: 24px;
}

.step__subtitle {
  margin: -8px 0 32px;
  text-align: center;
  color: rgba(35, 35, 35, 0.7);
}

.step__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

/* =================== STEP VARIANTS =================== */
.step--home .step__image-container {
  position: relative;
  overflow: hidden;
  margin: -32px -24px 32px;
  height: 263px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step--home .step__logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: -16px 0 32px;
}

.step--loading .step__progress-container {
  position: relative;
  align-self: center;
  margin: auto 0;
  color: #1f376b;
}

.step--loading .step__progress-circle {
  display: block;
  width: 199px;
  height: 199px;
  transform: rotate(-90deg);
}

.step--loading .step__progress-percentage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-variation-settings: 'wght' 1600;
  font-size: 28px;
}

/* =================== BUTTONS =================== */
.button {
  width: calc(100% - 48px);
  max-width: 440px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  border: none;
  border-radius: 20px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 17px;
  font-variation-settings: 'wght' 400;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  outline: none;
}

.button--primary,
.button--primary:hover,
.button--primary:active,
.button--primary:focus {
  background-color: #ff8898;
  color: #ffffff;
}

.button--primary:disabled {
  opacity: 1;
  background-color: rgba(255, 136, 152, 0.43);
  color: #ffffff;
}

.button--secondary {
  background-color: transparent;
  color: #232323;
  border: 1px solid rgba(35, 35, 35, 0.1);
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 308;
  font-size: 16px;
  height: auto;
  min-height: 80px;
  padding: 15px 16px;
  max-width: none;
  width: 100%;
}

.button--secondary:hover,
.button--secondary.button--active {
  border-color: #ff8898;
  background-color: rgba(255, 136, 152, 0.05);
}

.button--small {
  height: 56px;
  width: 285px;
  border-radius: 16px;
  font-variation-settings: 'wght' 500;
  font-size: 17px;
  margin: 0 auto;
}

.button--sticky {
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 16px;
  z-index: 10;
  width: 100%;
  max-width: 352px;
  align-self: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.button--sticky:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Button fade transition - синхронизирована с контентом */
.fade-button-leave-active {
  transition: opacity 0.3s ease-in-out;
}

.fade-button-enter-active {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
  transition-delay: 0.3s;
}

.fade-button-enter-from {
  opacity: 0;
  transform: translateY(20px);
}

.fade-button-leave-to {
  opacity: 0;
}

/* Кнопка на странице results - в потоке документа */
.button--sticky-results {
  position: static;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  transform: none;
}

/* =================== QUESTION LAYOUT =================== */
.question {
  display: flex;
  flex-direction: column;
  height: 100%; /* Заполняем родителя .container, а не viewport */
  padding: 32px 0 100px;
  box-sizing: border-box;
}

.question__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1600;
  font-size: 24px;
  text-align: center;
  margin-bottom: 32px;
  color: #232323;
  line-height: 1.2;
}

.question__form {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.question__options {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

/* =================== FORM ELEMENTS =================== */
.form {
  padding: 0 24px;
}

.form__group {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #232323;
}

.form__input {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  line-height: 1.2;
  color: #232323;
  background-color: #fff;
  border: 1px solid #ffb0bb;
  border-radius: 20px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form__input:focus {
  border-color: #ffc4cc;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 136, 152, 0.25);
}

.form__input--invalid {
  border-color: #ff8898;
}

.form__error {
  display: none;
  margin-top: 8px;
  font-size: 0.875rem;
  color: #ff8898;
}

.form__input--invalid + .form__error {
  display: block;
}

.form__checkbox {
  width: 1.5em;
  height: 1.5em;
  margin-right: 12px;
  vertical-align: top;
  background-color: #fff;
  border: 1px solid #ffb0bb;
  border-radius: 4px;
  appearance: none;
}

.form__checkbox:checked {
  background-color: #ff8898;
  border-color: #ff8898;
  background-image: url('data:image/svg+xml,%3csvg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3e%3cpath fill-rule="evenodd" clip-rule="evenodd" d="M18.5 8.62421L11.4516 16.6636C11.0584 17.1121 10.4209 17.1121 10.0276 16.6636L6 12.0697L7.42399 10.4455L10.7396 14.2273L17.076 7L18.5 8.62421Z" fill="%23ffffff"/%3e%3c/svg%3e');
  background-size: contain;
}

/* =================== BACKGROUND COLORS =================== */
.bg-yellow { background-color: #ffd79c; }
/* Максимальная специфичность для bg-light-blue */
body.bg-light-blue,
html body.bg-light-blue,
body.bg-light-blue:not(.dummy) {
  background-color: #bee0ff !important;
  --bs-body-bg: #bee0ff !important;
}
.bg-dark-purple { background-color: #7987c3; color: #fff; }
.bg-dark-purple .step-title,
.bg-dark-purple .step-subtitle,
.bg-dark-purple .step__title,
.bg-dark-purple .step__subtitle { 
  color: #fff; 
}
.bg-dark-blue { background-color: #97bcff; }
.bg-pink { background-color: #ffdae9; }
.bg-dark-pink { background-color: #ffc7d6; }
.bg-light-purple { background-color: #d5e2ff; }
.bg-light-blue-alt { background-color: #c7e9ff; }

/* =================== LOADING ANIMATIONS =================== */
.loading__dots {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.loading__dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: currentColor;
  animation: loading-pulse 1s linear infinite alternate;
}

.loading__dot:nth-child(2) { animation-delay: 0.5s; }
.loading__dot:nth-child(3) { animation-delay: 1s; }

@keyframes loading-pulse {
  0% { opacity: 1; }
  50%, 100% { opacity: 0.3; }
}

/* =================== ICONS =================== */
.icons {
  height: 72px;
  display: flex;
  justify-content: center;
}

.icons__container {
  display: flex;
  overflow: hidden;
  animation: icons-appear 0.4s forwards;
}

.icons__item {
  margin: 0 8px;
  flex: 1 1;
  height: 48px;
}

@keyframes icons-appear {
  0% { width: 0; opacity: 0; }
  100% { width: 64px; opacity: 1; }
}

/* =================== UTILITIES =================== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =================== INTERMEDIATE STEP =================== */
.intermediate {
  display: flex;
  flex-direction: column;
  height: 100%; /* Заполняем родителя .container, а не viewport */
  padding: 32px 0 100px;
  box-sizing: border-box;
}

.intermediate__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
}

.intermediate__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 24px;
  margin-bottom: 24px;
  color: #232323;
}

.intermediate__subtitle {
  font-family: 'Graphik LC', sans-serif;
  font-size: 16px;
  color: rgba(35, 35, 35, 0.7);
  margin-bottom: 32px;
}

/* =================== LOADING STEP =================== */
.loading {
  display: flex;
  flex-direction: column;
  height: 100%; /* Заполняем родителя .container, а не viewport */
  padding: 32px 0 100px;
  box-sizing: border-box;
}

.loading__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
}

.loading__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1600;
  font-size: 20px;
  margin-bottom: 24px;
  color: #232323;
  text-align: center;
  height: 86.4px; /* 24px * 1.2 * 3 линии */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  transition: all 0.16s ease;
}

.loading__progress-container {
  position: relative;
  width: 199px;
  height: 199px;
  margin: auto 0;
  color: #1f376b;
}

.loading__progress {
  display: block;
  width: 199px;
  height: 199px;
  transform: rotate(-90deg);
  transform-origin: center center;
}

.loading__progress-bar {
  fill: none;
  stroke: #f9f6f5;
  stroke-opacity: 0.3;
  stroke-width: 12;
}

.loading__progress-value {
  fill: none;
  stroke: currentColor;
  stroke-width: 12;
  stroke-linecap: round;
}

.loading__percentage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1600;
  font-size: 28px;
  color: #1f376b;
  font-variant-numeric: tabular-nums;
}

.loading__icons {
  height: 72px;
  display: flex;
  justify-content: center;
  transition: all 0.16s ease;
}

.loading__icon-container {
  display: flex;
  overflow: hidden;
  animation: loading-appear 0.4s forwards;
}

.loading__icon {
  margin: 0 8px;
  flex: 1;
  height: 48px;
  width: auto;
}

@keyframes loading-appear {
  0% {
    width: 0;
    opacity: 0;
  }
  100% {
    width: 64px;
    opacity: 1;
  }
}

/* =================== RESULTS PAGE =================== */
/* Убрали специальные стили для results - используем отдельный layout */

.results {
  min-height: 100%; /* Заполняем родителя, не превышая max-height */
  display: flex;
  flex-direction: column;
  max-width: 440px;
  margin: 0 auto;
}

.results__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.results__teaser {
  padding: 16px 24px 20px;
  background-color: #ffffff;
  box-sizing: border-box;
  width: 100%;
}

.results__teaser .step-logos {
  margin: 0 0 16px;
  padding: 0;
}

.results__teaser .score-card {
  margin: 0 0 16px;
}

.results__teaser .teaser-list {
  margin: 0;
}

.results__intro {
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: #ffffff;
  padding-bottom: 16px;
}

.results__logos {
  margin-bottom: 20px;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 24px 0;
}

.results__logos img {
  width: 127.39px;
  height: 33px;
}

.results__image {
  align-self: center;
  width: 338px;
  max-width: 100%;
  margin-bottom: 24px;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.results__image.loaded {
  opacity: 1;
}

.results__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1160;
  font-size: 32px;
  line-height: 1.25;
  color: #ff8898;
  margin: 0;
  text-align: left;
}

.results__subtitle {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 308;
  font-size: 18px;
  line-height: 1.44;
  color: #374a81;
  margin-bottom: 16px;
  text-align: left;
}

.results__form {
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
  background-color: #d5e2ff;
  position: relative;
  box-sizing: border-box;
  width: 100%;
}

.results__form .form-header {
  margin-top: 0;
  padding: 0 24px;
}

.results__form .form {
  width: 100%;
}

.results__form .trust-bar {
  margin-top: 16px;
}

.results__form::before {
  content: '';
  display: block;
  width: 100%;
  padding-top: calc(70 / 375 * (100% + 48px));
  background: url('/images/hero-border.svg') no-repeat;
  background-size: 100%;
}

.results__form-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 308;
  font-size: 18px;
  line-height: 1.44;
  color: #1f376b;
  text-align: center;
  margin: 16px;
}

.form__field {
  margin-bottom: 16px;
}

.form__field:last-of-type {
  margin-bottom: 24px;
}

.form__label {
  display: block;
  font-size: 12px;
  line-height: 14px;
  color: rgba(35, 35, 35, 0.4);
  padding: 0 0 4px 8px;
  margin-bottom: 4px;
}

.form__input {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  line-height: 1.2;
  color: #232323;
  background-color: #fff;
  border: 1px solid #ffb0bb;
  border-radius: 20px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form__input:focus {
  outline: none;
  border-color: #ff8898;
  box-shadow: 0 0 0 3px rgba(255, 136, 152, 0.1);
}

.form__input--invalid {
  border-color: #dc3545;
}

.form__error {
  display: block;
  color: #dc3545;
  font-size: 14px;
  margin-top: 8px;
}

.form__checkbox-group {
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form__checkbox-group:last-child {
  margin-bottom: 0;
}



.form__checkbox-group:nth-of-type(2) {
  margin-bottom: 16px;
}

.form__checkbox-group:last-of-type {
  margin-bottom: 24px;
}

.form__checkbox {
  width: 1.5em;
  height: 1.5em;
  margin-top: 2px;
  flex-shrink: 0;
  vertical-align: top;
  background-color: #fff;
  border: 1px solid #ffb0bb;
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
}

.form__checkbox:checked {
  background-color: #ff8898;
  border-color: #ff8898;
  background-image: url('data:image/svg+xml,%3csvg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"%3e%3cpath fill-rule="evenodd" clip-rule="evenodd" d="M18.5 8.62421L11.4516 16.6636C11.0584 17.1121 10.4209 17.1121 10.0276 16.6636L6 12.0697L7.42399 10.4455L10.7396 14.2273L17.076 7L18.5 8.62421Z" fill="%23ffffff"/%3e%3c/svg%3e');
  background-size: contain;
}

.form__checkbox--invalid {
  border-color: #dc3545;
}

.form__checkbox-label {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #232323;
  cursor: pointer;
}

.form__checkbox-label a {
  color: #ff8898;
  text-decoration: underline;
}

/* =================== RESULTS SENT PAGE =================== */
.results-sent {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 440px;
  margin: 0 auto;
}

.results-sent__main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.results-sent__section {
  padding: 80px 24px 20px;
  text-align: center;
  color: rgba(35, 35, 35, 0.8);
}

.results-sent__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1160;
  font-size: 32px;
  margin-bottom: 16px;
  color: #232323;
}

.results-sent__message {
  margin-bottom: 16px;
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 723;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(35, 35, 35, 0.8);
}

.results-sent__message em {
  font-style: normal;
  font-variation-settings: 'wght' 1160;
  color: #374a81;
}

/* =================== APP PROMO BLOCK =================== */
.app-promo {
  padding: 28px 24px 24px;
  margin: 0 16px 20px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(55, 74, 129, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient background */
.app-promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 136, 152, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

/* App Icon with Glow */
.app-promo__icon-wrapper {
  position: relative;
  margin-bottom: 16px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(-6px); }
  50% { transform: translateY(6px); }
}

.app-promo__icon-wrapper::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(255, 136, 152, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.app-promo__icon {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(255, 136, 152, 0.35);
}

/* Title */
.app-promo__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1160;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px 0;
  color: #1f376b;
}

/* Rating */
.app-promo__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.app-promo__stars {
  display: flex;
  gap: 2px;
}

.app-promo__star {
  font-size: 16px;
  color: #FFB800;
  line-height: 1;
}

.app-promo__star--half {
  background: linear-gradient(90deg, #FFB800 50%, #D4D4D4 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-promo__rating-text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #7987c4;
}

/* Benefits */
.app-promo__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.app-promo__benefits li {
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #374a81;
  text-align: left;
  padding-left: 4px;
}

/* Official Store Badge */
.app-promo__badge {
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 12px;
}

.app-promo__badge:hover {
  transform: scale(1.05);
}

.app-promo__badge:active {
  transform: scale(0.98);
}

.app-promo__badge-svg {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.app-promo__badge-svg--android {
  height: 48px;
}

/* Desktop Badge */
.app-promo__badge-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7d 100%);
  border-radius: 28px;
  box-shadow: 0 6px 20px rgba(255, 136, 152, 0.4);
}

.app-promo__badge-desktop-text {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 800;
  font-size: 16px;
  color: #ffffff;
}

.app-promo__badge--desktop:hover .app-promo__badge-desktop {
  background: linear-gradient(135deg, #ff6b7d 0%, #ff5268 100%);
  box-shadow: 0 8px 24px rgba(255, 136, 152, 0.5);
}

/* Free text */
.app-promo__free {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #7987c4;
  margin: 0;
}

/* =================== LOYALTY & BONUS BLOCKS (ORIGINAL!) =================== */
.results-sent__loyalty {
  padding: 0 24px 40px;
}

.results-sent__loyalty-title {
  margin-bottom: 24px;
  text-align: center;
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 723;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(35, 35, 35, 0.8);
}

.results-sent__program {
  padding: 24px;
  background-color: #ffffff;
  border-radius: 24px;
  text-align: center;
}

.results-sent__partner-logo {
  width: 136px;
  height: auto;
  margin-bottom: 16px;
}

.results-sent__partner-logo[src*="icon-180"] {
  width: auto;
  height: 50px;
}

.results-sent__program-text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  color: #7987c4;
  margin: 0;
}

/* =================== BONUS BLOCK (MEXICO) =================== */
.results-sent__bonus {
  margin-top: 16px;
  padding: 32px 24px;
  background-color: #ffffff;
  border-radius: 24px;
  text-align: center;
  position: relative;
}

.results-sent__bonus-image {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
}

.results-sent__bonus-image-main {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  animation: pulse 2s ease-in-out infinite;
}

.results-sent__bonus-image-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  pointer-events: none;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.results-sent__bonus-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 1160;
  font-size: 24px;
  line-height: 1.3;
  color: #ff8898;
  margin: 0 0 16px 0;
  position: relative;
  z-index: 1;
}

.results-sent__bonus-text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #374a81;
  margin: 0 0 20px 0;
  position: relative;
  z-index: 1;
}

.results-sent__bonus-text strong {
  color: #ff8898;
  font-weight: 600;
}

.results-sent__bonus-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.results-sent__bonus-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 15px;
  color: #374a81;
}

.results-sent__bonus-emoji {
  font-size: 24px;
}

.results-sent__bonus-reminder {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 723;
  font-size: 15px;
  line-height: 1.4;
  color: #1f376b;
  margin: 0;
  padding: 16px;
  background: linear-gradient(135deg, #ffe5e9 0%, #fff0f2 100%);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.results-sent__bonus-reminder strong {
  color: #ff8898;
}

/* =================== APP DOWNLOAD CTA =================== */
.results-sent__thanks {
  padding: 40px 24px 16px;
  text-align: center;
}

.results-sent__thanks-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 723;
  font-size: 28px;
  color: #232323;
  margin: 0 0 8px;
}

.results-sent__thanks-text {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 16px;
  color: rgba(35, 35, 35, 0.8);
  margin: 0;
}

.results-sent__thanks-text em {
  font-style: normal;
  color: #374a81;
}

.results-sent__app-cta {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  margin: 0 16px 20px;
  box-shadow: 0 4px 20px rgba(55, 74, 129, 0.12);
}

/* Header: Icon + Info */
.app-cta__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-cta__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.app-cta__info {
  flex: 1;
  min-width: 0;
}

.app-cta__name {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 16px;
  color: #232323;
  display: block;
  margin-bottom: 4px;
}

.app-cta__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-cta__stars {
  display: flex;
  gap: 1px;
}

.app-cta__rating-text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #666;
}

/* Benefits - Compact */
.app-cta__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-cta__benefits li {
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #374a81;
  padding-left: 4px;
}

/* Store Buttons */
.app-cta__buttons {
  display: flex;
  gap: 10px;
}

.app-cta__store-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #000;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.app-cta__store-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.app-cta__store-btn:active {
  transform: translateY(0);
}

.app-cta__store-btn svg {
  flex-shrink: 0;
}

.app-cta__store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-cta__store-text span {
  font-family: 'Graphik LC', sans-serif;
  font-size: 9px;
  opacity: 0.9;
}

.app-cta__store-text strong {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 14px;
}

/* =================== WEEK SELECTOR =================== */
.week-selector {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.week-selector__button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #ff8898;
  background: #ffffff;
  color: #ff8898;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.week-selector__button:hover:not(:disabled) {
  background: #ff8898;
  color: #ffffff;
  transform: scale(1.05);
}

.week-selector__button:active:not(:disabled) {
  transform: scale(0.95);
}

.week-selector__button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.week-selector__input {
  flex: 1;
  height: 46px;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #232323;
  background-color: #fff;
  border: 2px solid #ffb0bb;
  border-radius: 16px;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.week-selector__input::-webkit-outer-spin-button,
.week-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.week-selector__input:focus {
  outline: none;
  border-color: #ff8898;
  box-shadow: 0 0 0 3px rgba(255, 136, 152, 0.1);
}

.week-selector__input--invalid {
  border-color: #dc3545;
}

/* Увеличенный отступ после поля недель */
.form__field:has(.week-selector) {
  margin-bottom: 16px;
}

/* =================== RESULTS HERO =================== */
.results__hero {
  position: relative;
  margin: 0 -24px;
  overflow: hidden;
}

.results__hero-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.results__hero-logo {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.results__hero-logo img {
  height: 24px;
  width: auto;
}

/* =================== RESULT CARD =================== */
.result-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(31, 55, 107, 0.08);
  margin-top: -40px;
  position: relative;
  z-index: 1;
  animation: resultCardFadeIn 0.6s ease-out;
}

@keyframes resultCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-card__header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(55, 74, 129, 0.08);
  margin-bottom: 16px;
}

.result-card__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.result-card__score-value {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 800;
  font-size: 48px;
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.result-card__score-label {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 14px;
  color: #8892a6;
}

.result-card__progress {
  height: 6px;
  background: rgba(55, 74, 129, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.result-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8898, #ff6b7a);
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-card__status {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 14px;
  color: #5a6a8a;
  margin: 0;
}

.result-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-card__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  color: #5a6a8a;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.result-card__info-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.result-card__info-item svg {
  flex-shrink: 0;
  color: #8892a6;
}

.result-card__info-item strong {
  font-weight: 600;
  color: #374a81;
}

.result-card__info-item--cta {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 16px;
  color: #ff6b7a;
  padding: 12px 16px;
  margin: 4px -16px -4px;
  background: linear-gradient(135deg, rgba(255, 136, 152, 0.1) 0%, rgba(255, 107, 122, 0.08) 100%);
  border-radius: 12px;
}

.result-card__info-item--cta.is-visible {
  animation: ctaPulse 2s ease-in-out infinite;
}

.result-card__info-item--cta svg {
  color: #ff8898;
  width: 22px;
  height: 22px;
}

@keyframes ctaPulse {
  0%, 100% {
    transform: translateX(0) scale(1);
    box-shadow: 0 0 0 0 rgba(255, 136, 152, 0.3);
  }
  50% {
    transform: translateX(0) scale(1.02);
    box-shadow: 0 0 0 8px rgba(255, 136, 152, 0);
  }
}

/* =================== FULLPAGE LOADING OVERLAY (Google Auth) =================== */
.fullpage-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.fullpage-loading-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.fullpage-loading-overlay__spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(66, 133, 244, 0.2);
  border-top-color: #4285F4;
  border-radius: 50%;
  animation: fullpageSpinner 0.8s linear infinite;
}

@keyframes fullpageSpinner {
  to {
    transform: rotate(360deg);
  }
}

.fullpage-loading-overlay__text {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 17px;
  color: #374a81;
}

/* =================== FORM LOADING OVERLAY =================== */
.form-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  border-radius: 16px;
}

.form-loading-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-loading-overlay__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 136, 152, 0.2);
  border-top-color: #ff8898;
  border-radius: 50%;
  animation: formSpinner 0.8s linear infinite;
}

@keyframes formSpinner {
  to {
    transform: rotate(360deg);
  }
}

.form-loading-overlay__text {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 15px;
  color: #374a81;
}

/* =================== FORM REVEAL ANIMATION =================== */
.form-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== TOAST TRANSITIONS =================== */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.toast-enter-active,
.toast-leave-active {
  transition: all 0.3s ease;
}

.toast-enter-from,
.toast-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

/* =================== TOAST NOTIFICATION =================== */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  max-width: calc(100% - 40px);
  width: auto;
}

.toast--error {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.toast--success {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #86efac;
}

.toast__content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
}

.toast__close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast__close:hover {
  opacity: 1;
}

/* =================== TRUST BAR =================== */
.trust-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 255, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid rgba(55, 74, 129, 0.06);
}

.trust-bar__lock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #666;
}

.trust-bar__lock svg {
  color: #2e7d32;
  flex-shrink: 0;
}

.trust-bar__social {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #374a81;
  text-align: right;
}

.trust-bar__social strong {
  color: #ff8898;
  font-weight: 600;
}

/* =================== FORM HEADER =================== */
.form-header {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 18px;
  color: #1f376b;
  text-align: left;
  margin: 0 0 20px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7a 100%);
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
}

.form-header__icon svg {
  width: 22px;
  height: 22px;
}

/* =================== FORM LABEL ICONS =================== */
.form__label-icon {
  color: #ff8898;
  flex-shrink: 0;
}

/* =================== GOOGLE AUTOFILL BADGE =================== */
.google-autofill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  margin-left: auto;
}

.form__input--google {
  border-color: #4caf50 !important;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
}

/* =================== BUTTON CTA =================== */
.button--cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button__icon {
  flex-shrink: 0;
}

.button__spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =================== GOOGLE SIGN-IN =================== */
/* Google One Tap popup должен быть поверх всего */
#credential_picker_container,
#credential_picker_iframe,
.S9gUrf-YoZ4jf,
div[id^="credential_picker"] {
  z-index: 100000 !important;
  position: fixed !important;
}

/* Убираем overflow:hidden на время показа Google popup */
body.google-popup-active,
body.google-popup-active #__nuxt,
body.google-popup-active .page-wrapper,
body.google-popup-active .container,
body.google-popup-active .results-page {
  overflow: visible !important;
}

/* Google One Tap popup должен быть поверх всего */
#credential_picker_container,
#credential_picker_iframe,
div[id^="credential_picker"] {
  z-index: 100001 !important;
}

.google-signin-container {
  padding: 0 24px 0;
  display: block;
}

.button--google {
  background-color: #ffffff;
  color: #232323;
  border: 1px solid rgba(35, 35, 35, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 17px;
  font-weight: 400;
  width: 100%;
  max-width: 440px;
  height: 52px;
  margin: 0 auto;
  padding: 0 16px;
  transition: all 0.15s ease-in-out;
}

.button--google:hover {
  background-color: #f8f9fa;
  border-color: rgba(35, 35, 35, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.button--google:active {
  background-color: #f1f3f4;
}

.button--google svg {
  flex-shrink: 0;
}

.button--google span {
  font-family: 'Graphik LC', sans-serif;
  font-size: 17px;
}

.google-signin-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  text-align: center;
}

.google-signin-divider::before,
.google-signin-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(31, 55, 107, 0.2);
}

.google-signin-divider span {
  padding: 0 16px;
  color: rgba(31, 55, 107, 0.6);
  font-size: 14px;
  font-family: 'Graphik LC', sans-serif;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 452px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
}

.toast--error {
  border-left: 4px solid #ea4335;
}

.toast--success {
  border-left: 4px solid #34a853;
}

.toast__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #232323;
}

.toast--error .toast__content svg {
  color: #ea4335;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast--success .toast__content svg {
  color: #34a853;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast__close {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(35, 35, 35, 0.5);
  transition: color 0.15s;
  flex-shrink: 0;
}

.toast__close:hover {
  color: #232323;
}

.toast-enter-active,
.toast-leave-active {
  transition: all 0.3s ease;
}

.toast-enter-from {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
}

.toast-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
}

/* Google autofill indicator */
.form__input--google-filled {
  border-color: #34a853 !important;
  background-color: rgba(52, 168, 83, 0.05) !important;
  animation: googleFillPulse 0.5s ease-in-out;
}

@keyframes googleFillPulse {
  0% {
    background-color: rgba(52, 168, 83, 0.15);
  }
  100% {
    background-color: rgba(52, 168, 83, 0.05);
  }
}

.google-autofill-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #34a853;
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
  animation: fadeIn 0.3s ease-in-out;
}

.google-autofill-badge svg {
  flex-shrink: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkbox-container {
  border-radius: 12px;
  background: rgba(249, 246, 245, 0.3);
  padding: 12px 12px 8px;
  margin-bottom: 12px;
}

/* Main checkbox - larger */
.form__checkbox-group--main {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(55, 74, 129, 0.08);
}

.form__checkbox-group--main .form__checkbox-label {
  font-size: 13px;
  font-weight: 500;
  color: #1f376b;
}

/* Sub-checkboxes container */
.form__checkbox-subgroup {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Sub-checkbox group */
.form__checkbox-group--sub {
  margin-bottom: 0;
}

/* Small checkbox */
.form__checkbox--small {
  width: 16px;
  height: 16px;
  min-width: 16px;
}

/* Small label */
.form__checkbox-label--small {
  font-size: 12px;
  color: #5a6a8a;
  line-height: 1.4;
}

.form__checkbox-label--small a {
  color: #ff8898;
}

/* =================== SCORE CARD =================== */
.score-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(31, 55, 107, 0.12);
  text-align: center;
  margin: 16px 0 0;
  animation: scoreCardFadeIn 0.6s ease-out;
}

@keyframes scoreCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.score-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 14px;
  margin-bottom: 16px;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(46, 125, 50, 0);
  }
}

.score-card__badge svg {
  flex-shrink: 0;
}

.score-card__label {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 13px;
  color: #8892a6;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-card__value {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 800;
  font-size: 64px;
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 4px 0;
  line-height: 1;
  animation: scoreCountUp 1s ease-out;
}

@keyframes scoreCountUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.score-card__progress {
  height: 10px;
  background: rgba(255, 136, 152, 0.15);
  border-radius: 5px;
  overflow: hidden;
  margin: 16px 0;
  position: relative;
}

.score-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8898, #ff6b7a, #ff8898);
  background-size: 200% 100%;
  border-radius: 5px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.score-card__status {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 16px;
  color: #374a81;
  margin: 0;
}

/* =================== TEASER LIST =================== */
.teaser-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.teaser-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 15px;
  color: #374a81;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(55, 74, 129, 0.08);
  opacity: 0;
  animation: teaserSlideIn 0.5s ease-out forwards;
}

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

.teaser-item strong {
  font-weight: 600;
  color: #1f376b;
}

.teaser-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
  border-radius: 10px;
  color: #374a81;
  flex-shrink: 0;
}

.teaser-item__icon svg {
  width: 18px;
  height: 18px;
}

.teaser-item--locked {
  background: linear-gradient(135deg, rgba(255, 136, 152, 0.1) 0%, rgba(255, 107, 122, 0.1) 100%);
  border-color: rgba(255, 136, 152, 0.2);
}

.teaser-item--locked .teaser-item__icon {
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7a 100%);
  color: white;
}

.teaser-item--locked span:last-child {
  color: #ff6b7a;
  font-weight: 600;
}

/* =================== FORM HEADER =================== */
.form-header {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 18px;
  color: #1f376b;
  text-align: left;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff8898 0%, #ff6b7a 100%);
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
}

.form-header__icon svg {
  width: 22px;
  height: 22px;
}

/* =================== FORM LABEL ICONS =================== */
.results__form .form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 500;
  font-size: 14px;
  color: #1f376b;
  margin-bottom: 8px;
}

.results__form .form__error {
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #dc3545;
  margin-top: 6px;
}

.form__label-icon {
  color: #ff8898;
  flex-shrink: 0;
}

/* =================== CTA BUTTON =================== */
.button--cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.button--cta:hover .button__icon {
  transform: translateX(4px);
}

.button__spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* =================== TRUST BAR =================== */
.trust-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 255, 0.8) 100%);
  border-radius: 12px;
  border: 1px solid rgba(55, 74, 129, 0.06);
}

.trust-bar__lock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #666;
}

.trust-bar__lock svg {
  color: #2e7d32;
  flex-shrink: 0;
}

.trust-bar__social {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #374a81;
  text-align: right;
}

.trust-bar__social strong {
  color: #ff8898;
  font-weight: 600;
}

/* =================== TRUST BAR CENTERED =================== */
.trust-bar--centered {
  justify-content: center;
}

.trust-bar--centered .trust-bar__lock {
  font-size: 13px;
  color: #5a6a8a;
}

/* =================== PLAN BENEFITS BLOCK =================== */
.plan-benefits {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.plan-benefits.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.plan-benefits__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 16px;
  color: #1f376b;
  margin: 0 0 14px 0;
  text-align: center;
}

.plan-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-benefits__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  color: #374a81;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 55, 107, 0.06);
}

.plan-benefits__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* =================== RECIPROCITY BLOCK =================== */
.reciprocity-block {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 16px;
  padding: 18px 20px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reciprocity-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reciprocity-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.reciprocity-block__icon {
  font-size: 20px;
}

.reciprocity-block__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 15px;
  color: #8b6914;
}

.reciprocity-block__tip {
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: #5a4a1a;
  margin: 0 0 14px 0;
  padding-left: 4px;
}

.reciprocity-block__footer {
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #8b6914;
  padding-top: 12px;
  border-top: 1px dashed rgba(139, 105, 20, 0.3);
  text-align: center;
}

.reciprocity-block__footer strong {
  font-weight: 600;
  color: #6b5010;
}

/* =================== PROGRESS INDICATOR =================== */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  margin-bottom: 8px;
}

.progress-indicator__step {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 13px;
  color: #ff8898;
}

.progress-indicator__label {
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #5a6a8a;
}

/* =================== AUTHORITY BADGE =================== */
.authority-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #5a6a8a;
  text-align: center;
}

.authority-badge svg {
  color: #7987c3;
  flex-shrink: 0;
}

/* =================== FORM LABEL OPTIONAL =================== */
.form__label-optional {
  font-weight: 400;
  color: #8892a6;
  font-size: 12px;
}

/* =================== SIMPLIFIED CHECKBOX CONTAINER =================== */
.checkbox-container--simple {
  padding: 8px 12px;
  margin-bottom: 16px;
}

.checkbox-container--simple .form__checkbox-group {
  margin-bottom: 0;
}

.checkbox-container--simple .form__checkbox-label {
  font-size: 13px;
}

.checkbox-container--simple .form__checkbox-label a {
  color: #ff8898;
  text-decoration: underline;
}

.checkbox-container--simple .form__error {
  margin-top: 8px;
  margin-left: 32px;
}

/* =================== TIMER BLOCK =================== */
.timer-block {
  margin-top: 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
  border: 1px solid rgba(55, 74, 129, 0.1);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}

.timer-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timer-block--warning {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
  border-color: rgba(255, 193, 7, 0.3);
}

.timer-block--urgent {
  background: linear-gradient(135deg, #fff0f0 0%, #ffe8e8 100%);
  border-color: rgba(255, 107, 107, 0.3);
  animation: timerPulse 2s ease-in-out infinite;
}

@keyframes timerPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(0) scale(1.01); }
}

.timer-block__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timer-block__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.timer-block__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.timer-block__label {
  font-family: 'Graphik LC', sans-serif;
  font-size: 12px;
  color: #5a6a8a;
}

.timer-block__time {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 16px;
  color: #1f376b;
}

.timer-block--warning .timer-block__time {
  color: #8b6914;
}

.timer-block--urgent .timer-block__time {
  color: #dc3545;
}

/* =================== TIMER EXPIRED =================== */
.timer-expired {
  margin-top: 16px;
  padding: 24px 20px;
  background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
  border-radius: 16px;
  text-align: center;
}

.timer-expired__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.timer-expired__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 18px;
  color: #374a81;
  margin: 0 0 8px 0;
}

.timer-expired__text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6a8a;
  margin: 0 0 20px 0;
}

/* =================== STICKY TIMER =================== */
.sticky-timer {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
  border-bottom: 1px solid rgba(255, 136, 152, 0.2);
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  color: #5a6a8a;
}

.sticky-timer__icon {
  color: #ff8898;
  flex-shrink: 0;
}

.sticky-timer__text {
  color: #5a6a8a;
}

.sticky-timer__time {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: #ff6b7a;
}

.sticky-timer--warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.sticky-timer--warning .sticky-timer__icon {
  color: #f59e0b;
}

.sticky-timer--warning .sticky-timer__time {
  color: #d97706;
}

.sticky-timer--urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-bottom-color: rgba(239, 68, 68, 0.2);
}

.sticky-timer--urgent .sticky-timer__icon {
  color: #ef4444;
  animation: timerIconPulse 1.5s ease-in-out infinite;
}

.sticky-timer--urgent .sticky-timer__time {
  color: #dc2626;
}

@keyframes timerIconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* =================== TIMER EXPIRED OVERLAY =================== */
.timer-expired-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.timer-expired-overlay__content {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(31, 55, 107, 0.12);
  animation: expiredSlideIn 0.4s ease-out;
}

@keyframes expiredSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.timer-expired-overlay__icon {
  color: #ff8898;
  margin-bottom: 16px;
}

.timer-expired-overlay__title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 20px;
  color: #1f376b;
  margin: 0 0 12px 0;
}

.timer-expired-overlay__text {
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6a8a;
  margin: 0 0 24px 0;
}

/* =================== LOADING PLAN BENEFITS =================== */
.loading__plan-benefits {
  width: 100%;
  max-width: 352px;
  margin: 0 auto 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid rgba(55, 74, 129, 0.08);
  animation: planBenefitsFadeIn 0.4s ease-out;
}

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

.loading__plan-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 600;
  font-size: 14px;
  color: #1f376b;
  margin: 0 0 10px 0;
}

.loading__plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loading__plan-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Graphik LC', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #374a81;
}

.loading__plan-icon {
  flex-shrink: 0;
  color: #ff8898;
  margin-top: 1px;
}

/* =================== LOADING SUCCESS BLOCK =================== */
.loading__success-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 24px 16px;
  animation: successBlockFadeIn 0.5s ease-out;
}

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

.loading__success-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
  border-radius: 50%;
  margin-bottom: 20px;
  color: #ff8898;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.loading__success-title {
  font-family: 'Factor A', sans-serif;
  font-variation-settings: 'wght' 700;
  font-size: 22px;
  color: #1f376b;
  margin: 0 0 12px 0;
}

.loading__success-text {
  margin: 0;
  font-family: 'Graphik LC', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6a8a;
}

.loading__success-text strong {
  color: #ff6b7a;
  font-weight: 600;
}

