@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Regular.woff2') format('woff2'),
    url('../fonts/Mont-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Подключаем жирное начертание (Bold, вес 700) */
@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Bold.woff2') format('woff2'),
    url('../fonts/Mont-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont-Black.woff2') format('woff2'),
    url('../fonts/Mont-Black.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* ===== ROOT VARIABLES ===== */
:root {
  --bg-dark: linear-gradient(45deg, #030A1A 0%, #0A1F44 50%, #020714 100%);
  --bg-card: #0C1830;
  --bg-card-light: rgba(255, 255, 255, 0.06);
  --blue-primary: #0052D4;
  --blue-dark: #012E97;
  --green: #00B140;
  --red-submit: #E8175D;
  --white: #FFFFFF;
  --text-secondary: #8B95AD;
  --text-muted: #6B7590;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(255, 255, 255, 0.08);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

input {
  font-family: var(--font);
  outline: none;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== LAYOUT ===== */
.page {
  min-height: 100vh;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  position: relative;
  z-index: 10;
}

.logo-small {
  width: 100px;
  max-width: 100%;
}

.gerb {
  height: 50px;
  width: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
}

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

.btn-full {
  width: 100%;
}

.btn-submit {
  background: var(--red-submit);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.btn-submit:disabled {
  background: #3A3F52;
  color: #6B7590;
  cursor: not-allowed;
}

/* ========================================
   POPUNDER OVERLAY (Modal over blurred BG)
   ======================================== */
.popunder-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(3, 10, 31, 0.6); */
  background: #1818181A;

  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  overflow-y: auto;
  animation: fadeIn 0.4s ease;
}

.popunder-container {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 24px 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
  height: auto;
  overflow-y: auto;
  animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  background: url('../img/bg-popunder.png') center / cover no-repeat #001040;
}

.popunder-container::-webkit-scrollbar {
  width: 0;
}

.popunder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  animation: slideUp 0.4s ease 0.15s both;
}

.popunder-header .logo {
  width: 100px;
  max-width: 100%;
}

.popunder-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
  font-weight: 300;
}

.popunder-close:active {
  background: rgba(255, 255, 255, 0.15);
}

/* Title */
.popunder-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  text-align: center;
  animation: slideUp 0.4s ease 0.2s both;
}

/* Income Card */
.popunder-card {
  background: #05142EAB;
  border: 1.5px solid #1E4CB0;
  border-radius: 15px;
  padding: 20px 18px 30px;
  margin-bottom: 34px;
  text-align: center;
  position: relative;
  animation: slideUp 0.4s ease 0.25s both;
}

.popunder-card p {
  font-size: 14px;
  color: #FFFFFFD1;
  margin-bottom: 16px;
  line-height: 1.25;
  font-weight: 400;
}

.popunder-amount-box {
  background: linear-gradient(129.08deg, #0146B9 -1.96%, #001454 72.41%);
  border-radius: 10px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0052D4
}

.popunder-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.popunder-amount .label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.popunder-amount .value {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.popunder-amount .currency {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
}

.badge-month {
  display: inline-block;
  background: linear-gradient(129.08deg, #0146B9 -1.96%, #001454 72.41%);
  border: 1px solid #00C6FF;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 10px;
  border: 1px solid rgba(0, 82, 212, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

/* Promo Block - white/light blue card */
.popunder-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F2F5F9;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 24px;
  animation: slideUp 0.4s ease 0.3s both;
}

.popunder-promo .gift-icon {
  width: 115px;
  height: 115px;
  flex-shrink: 0;
}

.popunder-promo .promo-text {
  flex: 1;
  text-align: left;
}

.popunder-promo .promo-label {
  display: block;
  font-size: 13px;
  background: linear-gradient(to right, #003299, #0052D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.popunder-promo .promo-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(to right, #003299, #0052D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 4px;
}

.popunder-promo .promo-sub {
  display: block;
  font-size: 11px;
  color: #5C6F8E;
  line-height: 1.3;
}

/* Info line */
.popunder-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  animation: slideUp 0.4s ease 0.35s both;
}

/* .info-icon-wrapper {
  width: 32px;
  height: 32px;
  background: #0052D4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
} */

.popunder-info .info-icon {
  width: 40px;
  height: 40px;
  /* filter: brightness(0) invert(1); */
}

.popunder-info p {
  font-size: 15px;
  color: #FFFFFFD1;
  line-height: 1.3;
  margin: 0;
  font-weight: 500;
}

/* CTA */
.popunder-cta {
  animation: slideUp 0.4s ease 0.4s both;
}

.popunder-cta .btn {
  font-size: 16px;
  font-weight: 700;
  padding: 18px;
  border-radius: 15px;
  background: linear-gradient(180deg, #0084FD 0%, #0032B1 100%);
  border: 1px solid #FFFFFF26;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
}

.popunder-cta .btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
}

.popunder-overlay.fade-out {
  animation: fadeOut 0.35s ease forwards;
}

.popunder-overlay.fade-out .popunder-container {
  animation: modalClose 0.3s ease forwards;
}



/* ========================================
   LANDING PAGE
   ======================================== */
.landing-page {
  background: var(--bg-dark);
}

.hero {
  width: 100%;
  overflow: hidden;
  animation: fadeIn 0.8s ease 0.2s both;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 10, 31, 0) 70%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-img {
  width: 100%;
  padding: 25px;
  display: block;
  transform-origin: bottom center;
  animation: floatSlow 6s ease-in-out infinite;
}

/* Content */
.landing-content {
  padding: 0 20px 20px;
  position: relative;
  z-index: 2;
  margin-top: -10px;
}

.landing-titles {
  text-align: center;
}

.landing-content h1 {
   font-family: 'Mont', sans-serif !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  animation: slideUp 0.5s ease 0.3s both;
  letter-spacing: 0.02em;
}

.landing-content .subtitle {
   font-family: 'Mont', sans-serif !important;
  font-size: 16px;
    font-weight: 700;
  color: #B5BFD1;
  margin-bottom: 24px;
  animation: slideUp 0.5s ease 0.35s both;
}

/* Benefits Card */
.benefits-card {
  background: #FFFFFF05;

  border: 1px solid #FFFFFF22;
  border-radius: 15px;
  padding: 8px 16px;
  margin-bottom: 24px;
  animation: slideUp 0.5s ease 0.4s both;
}

.benefit-item {
  font-family: 'Mont', sans-serif !important;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  animation: slideUp 0.5s ease calc(0.5s + var(--i, 0) * 0.1s) both;
}

.benefit-item:nth-child(1) {
  --i: 0;
}

.benefit-item:nth-child(3) {
  --i: 1;
}

.benefit-item:nth-child(5) {
  --i: 2;
}

.benefit-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  width: 100%;
}

.benefit-item img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 102, 255, 0.2));
}

.benefit-item span {
  color: #94A3B8;

}

.benefit-item p {
  font-size: 17px;
  font-family: 'Mont', sans-serif !important;
  color: var(--white);
  letter-spacing: 0.02em;
}

@media (max-width: 390px) {
  .benefit-item p {
    font-size: 16px;
  }
}

.benefit-item p strong {
  font-weight: 800;
}

/* CTA Card - White in mockup */
.cta-card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.5s ease 0.7s both;
}

.cta-card p {
  font-size: 14px;
  letter-spacing: -0.5px;
  color: #0A2540;
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 1.35;
}

.cta-card .btn {
  font-size: 16px;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #0073F0 0%, #0046CC 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
  animation: pulseBlue 2s infinite;
}

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

/* Timer */
.timer-section {
   font-family: 'Mont', sans-serif !important;
     font-weight: 800;
  /* text-align: center; */
  padding: 14px 0 8px;
  animation: slideUp 0.5s ease 0.8s both;
}

.timer-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.timer-label img {
  width: 30px;
  height: 30px;
}

.timer-label span {
  font-size: 15px;

  line-height: 1.3;
 
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.timer-sublabel {
     font-family: 'Mont', sans-serif !important;
   font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);

}

.timer-countdown {
  color: #FF4444;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: blink 1s ease-in-out infinite;
}

/* Footer */
.footer {
  text-align: center;
  padding: 18px 20px;
  border-top: 1px solid var(--border-dark);
}

.footer p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========================================
   QUIZ PAGE
   ======================================== */
.quiz-page {
  color: #1A1A2E;
}

.quiz-page .header {
  background: var(--bg-dark);
  border-bottom: none;
}

.quiz-page .header .logo-small,
.quiz-page .header .gerb {
  filter: none;
}

.quiz-page .footer {
  background: var(--bg-dark);
  border-top: none;
}

.quiz-page .footer p {
  color: var(--text-muted);
}

/* Quiz Content */
.quiz-content {
  padding: 16px;
  margin: 20px;
  border-radius: 24px;
  background: #fff;
}

/* Intro Card — spans edge-to-edge, no horizontal padding on parent */
.quiz-intro-card {
  text-align: center;
  animation: slideUp 0.4s ease both;


}

.quiz-intro-card p {
  font-size: 14px;
  color: #0A2540;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Questions */
.quiz-question {
  margin-bottom: 22px;
}

.question-header {
  display: flex;
  align-items: center;

  gap: 10px;
  margin-bottom: 10px;
}

.question-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.question-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A1A2E;
  padding-top: 3px;
  letter-spacing: -0.6px;
}

.question-description {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
  margin-left: 0;
  line-height: 1.35;
}

/* Answer Buttons — full width, no left indent */
.answers-grid {
  display: grid;
  gap: 8px;
  margin-left: 0;
}

.answers-grid-2col {
  grid-template-columns: 1fr 1fr;
}

.answers-grid-1col {
  grid-template-columns: 1fr;
}

/* Q3: Нет | Не уверен(а) side-by-side, 3rd full-width */
.answers-grid-mixed {
  grid-template-columns: 1fr 1fr;
}

.answers-grid-mixed .answer-btn:nth-child(n+3) {
  grid-column: 1 / -1;
}

.answer-btn {
  background: var(--white);
  border: 1.5px solid #D5DAE5;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #1A1A2E;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  line-height: 1.3;
}

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

.answer-btn.selected {

  background:
    linear-gradient(180deg, #0084FD 0%, #0032B1 100%);

  border: 1px solid #0052D4;
  color: var(--white);
  font-weight: 600;
}

.answer-btn.selected-green {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ========================================
   QUIZ FORM
   ======================================== */
.quiz-form {
  margin-top: 4px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.form-group label img {
  width: 16px;
  height: 16px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  background: var(--white);
  border: 1.5px solid #D0D5E0;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: #1A1A2E;
  transition: border-color 0.25s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.phone-input-wrapper:focus-within {
  border-color: #0052D4;
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.15);
}

.form-group input::placeholder {
  color: #A0A8BD;
}

/* Messenger grid */
.messenger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.messenger-btn {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.form-hint {
  font-size: 11px;
  color: #999;
  line-height: 1.5;
}

/* Phone input */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid #D0D5E0;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color 0.25s ease;
}

.phone-input-wrapper:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.08);
}

.phone-flag {
  font-size: 18px;
  margin-right: 6px;
  flex-shrink: 0;
}

.phone-prefix {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A2E;
  margin-right: 4px;
  flex-shrink: 0;
}

.phone-input-wrapper input {
  flex: 1;
  border: none !important;
  padding: 12px 0;
  font-size: 14px;
  color: #1A1A2E;
  background: transparent !important;
}

.phone-input-wrapper input:focus {
  box-shadow: none !important;
}

/* Submit & Disclaimer */
.quiz-form .btn-submit {
  margin-top: 10px;
  margin-bottom: 14px;
  background:
    linear-gradient(180deg, #0084FD 0%, #0032B1 100%);

  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.quiz-form .btn-submit:hover:not(:disabled) {
  background: #0060F0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 82, 212, 0.35);
}

.quiz-form .btn-submit:disabled {
  background: #C8CFDE;
  color: #9AA0B2;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.disclaimer {
  font-size: 10px;
  color: #999;
  line-height: 1.5;
  text-align: center;
}

/* ========================================
   CONFIRM PAGE (shared basics)
   ======================================== */
.confirm-page {
  background: var(--bg-dark);
  padding-bottom: 40px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalClose {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 82, 212, 0.4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(0, 82, 212, 0);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes pulseBlue {

  0%,
  100% {
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.6);
    transform: scale(1.02);
  }
}

/* Page transitions */
.page.slide-out-left {
  animation: slideOutLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page.slide-in-right {
  animation: slideInFromRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-30px);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

@media (min-width: 431px) {

  .page,
  .popunder-container {
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
  }
}