@font-face {
  font-family: "LegionSerif";
  src: url("assets/fonts/cent-schbk-cyrill-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #102117;
  --foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --soft: rgba(255, 255, 255, 0.56);
  --primary: #be9669;
  --primary-strong: #e1c59f;
  --primary-dark: #9b7d50;
  --accent: #ffffff;
  --brand-green: #1e4632;
  --brand-black: #1e1e1e;
  --card: rgba(30, 30, 30, 0.62);
  --card-strong: rgba(30, 70, 50, 0.9);
  --border: rgba(190, 150, 105, 0.28);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--foreground);
  background: var(--background);
  font-family: Montserrat, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.background {
  display: none;
}

.app {
  position: relative;
  min-height: 100vh;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 28px;
  pointer-events: none;
}

.ghost-button {
  border: 0;
  background: rgba(255, 247, 237, 0.08);
  color: var(--primary-strong);
  border-radius: 10px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(136px, 16vw, 190px);
  padding: 8px 10px;
  border: 1px solid rgba(190, 150, 105, 0.18);
  border-radius: 8px;
  background: rgba(30, 70, 50, 0.62);
  backdrop-filter: blur(14px);
  animation: fadeInDown 0.65s ease both;
  pointer-events: auto;
}

.brand-logo img,
.made-bottom img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.22));
}

.screen {
  min-height: 100vh;
  width: 100%;
  padding: 84px 16px 42px;
}

.screen-home {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 24px 48px;
}

.screen-home::before,
.screen-home::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.screen-home::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(30, 70, 50, 0.62) 0%, rgba(30, 70, 50, 0.38) 38%, rgba(16, 33, 23, 0.92) 100%),
    linear-gradient(90deg, rgba(30, 30, 30, 0.78), rgba(30, 70, 50, 0.24), rgba(30, 30, 30, 0.68));
}

.screen-home::after {
  z-index: -1;
  background:
    url("assets/brand-pattern.png") right 6vw bottom -12vh / min(58vw, 760px) auto no-repeat;
  mask-image: linear-gradient(to bottom, transparent 0%, black 14%, black 72%, transparent 100%);
  opacity: 0.17;
}

.hidden {
  display: none !important;
}

.fresh-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  margin-bottom: 24px;
  color: var(--primary-strong);
  background: rgba(30, 70, 50, 0.46);
  border: 1px solid rgba(190, 150, 105, 0.48);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.animate-rise {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  animation: riseIn 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.06s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.18s; }
.delay-4 { animation-delay: 0.27s; }
.delay-5 { animation-delay: 0.36s; }
.delay-6 { animation-delay: 0.46s; }
.delay-7 { animation-delay: 0.54s; }
.delay-8 { animation-delay: 0.62s; }
.delay-9 { animation-delay: 0.7s; }

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

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

.hero-gallery {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  background: #061e24;
}

.ocean-photo,
.ocean-glow,
.ocean-haze {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ocean-photo {
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.04);
  filter: saturate(0.98) contrast(1.04) brightness(0.9);
  animation: oceanDrift 18s ease-in-out infinite alternate;
}

.ocean-glow {
  background:
    radial-gradient(circle at 72% 22%, rgba(190, 150, 105, 0.34), transparent 31%),
    radial-gradient(circle at 42% 70%, rgba(30, 70, 50, 0.42), transparent 35%);
  mix-blend-mode: soft-light;
  opacity: 0.92;
  animation: glowFloat 8s ease-in-out infinite alternate;
}

.ocean-haze {
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.11) 40%, transparent 72%),
    linear-gradient(0deg, rgba(30, 70, 50, 0.18), transparent 52%);
  opacity: 0.34;
  transform: translateX(-12%);
  animation: shimmerTide 7.5s ease-in-out infinite;
}

.project-slider {
  display: none;
}

@keyframes oceanDrift {
  from {
    transform: scale(1.04) translate3d(-1.8%, -1%, 0);
  }
  to {
    transform: scale(1.12) translate3d(2.2%, 1.4%, 0);
  }
}

@keyframes glowFloat {
  from {
    opacity: 0.68;
    transform: translate3d(-1%, 0, 0);
  }
  to {
    opacity: 0.94;
    transform: translate3d(1.4%, -1.2%, 0);
  }
}

@keyframes shimmerTide {
  0% {
    transform: translateX(-18%);
    opacity: 0.22;
  }
  45% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(18%);
    opacity: 0.28;
  }
}

@keyframes projectSlider {
  0%, 20% {
    transform: translateX(0);
  }
  25%, 45% {
    transform: translateX(-25%);
  }
  50%, 70% {
    transform: translateX(-50%);
  }
  75%, 95% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(-75%);
  }
}

@keyframes sliderDot {
  0%, 20% {
    background: var(--primary-strong);
    transform: scale(1.45);
  }
  25%, 100% {
    background: rgba(255, 255, 255, 0.38);
    transform: scale(1);
  }
}

.screen-home h1 {
  max-width: 1120px;
  margin: 0 auto 18px;
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: break-word;
  font-weight: 800;
  font-family: LegionSerif, Georgia, serif;
  text-wrap: balance;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.48);
}

.screen-home h1 span {
  display: inline;
}

.screen-home h1 strong,
.headline-kicker,
.headline-price {
  color: var(--primary);
}

.subtitle {
  max-width: 790px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.44);
}

.subtitle strong {
  color: var(--foreground);
}

.subtitle span {
  display: inline;
}

.cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.primary-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  color: #1e1e1e;
  background:
    linear-gradient(135deg, #b47a28 0%, #f0b45f 42%, #ffe2a3 74%, #d89a3d 100%);
  min-height: 58px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 22px 52px rgba(216, 154, 61, 0.42), inset 0 1px 0 rgba(255, 246, 218, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: -36% -46%;
  z-index: -1;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.9) 47%, rgba(255, 247, 214, 0.72) 52%, transparent 64%);
  transform: translateX(-70%) skewX(-18deg);
  animation: buttonShine 2.1s ease-in-out infinite;
}

.primary-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(190, 126, 35, 0.96), rgba(255, 225, 158, 0.94), rgba(216, 154, 61, 0.92));
}

.primary-button:not(:disabled) {
  animation: buttonPulse 2.8s ease-in-out 1.2s infinite;
}

.hero-cta {
  min-width: 266px;
}

.button-arrow {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 66px rgba(155, 125, 80, 0.42);
}

.primary-button:hover .button-arrow {
  transform: translate(4px, -1px);
}

.primary-button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.click-pointer {
  position: absolute;
  right: -36px;
  bottom: -20px;
  font-size: 42px;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 2px 0 rgba(16, 13, 11, 0.55),
    0 12px 20px rgba(0, 0, 0, 0.42);
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.9));
  animation: pointerTap 1.35s ease-in-out infinite;
}

.features {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.features article,
.quiz-card,
.side-panel,
.done-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.features article {
  min-height: 142px;
  padding: 24px 22px;
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.features article:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 150, 105, 0.58);
  background: rgba(30, 70, 50, 0.74);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.42);
}

.features span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  font-size: 23px;
  border-radius: 12px;
  background: rgba(190, 150, 105, 0.16);
}

.features h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
  color: var(--foreground);
}

.features p,
.security,
.consultant-text,
.tip-box p,
.done-card p {
  color: var(--muted);
}

.features p {
  margin: 0;
  color: var(--primary-strong);
  font-size: 15px;
  font-weight: 600;
}

.security {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 10px 16px;
  color: var(--primary-strong);
  border: 1px solid rgba(190, 150, 105, 0.28);
  border-radius: 999px;
  background: rgba(30, 70, 50, 0.38);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.security::before {
  content: "⊙";
  color: var(--primary);
}

.screen-quiz,
.screen-done {
  background:
    linear-gradient(rgba(16, 33, 23, 0.82), rgba(30, 30, 30, 0.92)),
    url("assets/hero-ocean.jpg") center / cover fixed;
}

.screen-quiz {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.quiz-shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  animation: riseIn 0.55s ease both;
}

.side-panel,
.quiz-card {
  padding: 24px;
}

.side-panel {
  animation: slideInLeft 0.58s ease both;
}

.quiz-card {
  animation: slideInRight 0.58s ease both;
}

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

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 38%;
  border: 2px solid rgba(225, 197, 159, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.consultant h2,
.consultant p,
.bonus-box h3 {
  margin: 0;
}

.consultant p {
  color: var(--primary-strong);
  font-size: 14px;
}

.tip-box,
.bonus-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.06);
  border: 1px solid rgba(190, 150, 105, 0.2);
}

.tip-box span {
  display: block;
  color: var(--primary-strong);
  font-weight: 800;
  margin-bottom: 6px;
}

.bonus-box ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.progress-wrap {
  margin-bottom: 24px;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-weight: 800;
}

.progress {
  position: relative;
  height: 8px;
  background: rgba(190, 150, 105, 0.16);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(190, 150, 105, 0.14);
}

.progress span {
  position: relative;
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(90deg, #b47a28, #f0b45f, #ffe2a3);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 18px rgba(240, 180, 95, 0.48);
}

.progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0 9px, transparent 9px 18px);
  animation: progressStripes 1.1s linear infinite;
}

.question-title {
  margin: 0 0 8px;
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.08;
  color: var(--foreground);
  font-family: LegionSerif, Georgia, serif;
  animation: questionIn 0.42s ease both;
}

.question-description {
  margin: 0 0 22px;
  color: var(--muted);
  animation: questionIn 0.42s ease 0.06s both;
}

.options-grid {
  display: grid;
  gap: 12px;
}

.option-button,
.messenger-button,
.country-button,
.text-field {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(190, 150, 105, 0.24);
  background: rgba(255, 247, 237, 0.07);
  color: var(--foreground);
}

.option-button,
.messenger-button,
.country-button {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.option-button,
.messenger-button {
  opacity: 0;
  animation: optionIn 0.42s ease forwards;
}

.option-button {
  min-height: 70px;
  padding: 15px 16px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 800;
}

.option-button span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.option-button:hover,
.messenger-button:hover,
.country-button:hover,
.option-button.selected,
.messenger-button.selected {
  transform: translateY(-2px);
  border-color: rgba(190, 150, 105, 0.66);
  background: rgba(190, 150, 105, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #1e1e1e;
  background: var(--primary-strong);
  opacity: 0;
}

.selected .check {
  opacity: 1;
}

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

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

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

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

@keyframes progressStripes {
  from {
    transform: translateX(-18px);
  }
  to {
    transform: translateX(18px);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 22px 52px rgba(216, 154, 61, 0.42), inset 0 1px 0 rgba(255, 246, 218, 0.72);
  }
  50% {
    box-shadow: 0 30px 82px rgba(239, 178, 80, 0.62), 0 0 34px rgba(255, 213, 122, 0.26), inset 0 1px 0 rgba(255, 250, 228, 0.82);
  }
}

@keyframes buttonShine {
  0% {
    transform: translateX(-72%) skewX(-18deg);
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  42% {
    transform: translateX(72%) skewX(-18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(72%) skewX(-18deg);
    opacity: 0;
  }
}

@keyframes pointerTap {
  0%, 100% {
    transform: translate(0, 0) rotate(-10deg);
    opacity: 0.8;
  }
  45% {
    transform: translate(-8px, -5px) rotate(-18deg);
    opacity: 1;
  }
  62% {
    transform: translate(-3px, -2px) rotate(-12deg);
  }
}

.messengers {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 22px;
}

.messenger-button {
  max-width: 140px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-weight: 800;
}

.messenger-icon {
  font-size: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.messenger-logo {
  display: block;
  width: 24px;
  height: 24px;
}

.contact-fields {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  animation: questionIn 0.42s ease both;
}

.telegram-username {
  display: grid;
  gap: 7px;
}

.telegram-username span {
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
}

.country-button,
.text-field {
  min-height: 54px;
  padding: 12px 14px;
}

.country-button {
  min-width: 0;
  color: var(--foreground);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.text-field::placeholder {
  color: rgba(255, 247, 237, 0.4);
}

.text-field:focus,
.country-button:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(190, 150, 105, 0.38);
  outline-offset: 2px;
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.bonus-mobile {
  display: none;
  min-height: 44px;
  border: 0;
  color: var(--primary-strong);
  background: rgba(190, 150, 105, 0.12);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
}

.made-bottom {
  margin: 16px 0 0;
  width: 128px;
  opacity: 0.75;
}

.screen-done {
  display: grid;
  place-items: center;
}

.done-card {
  width: min(560px, 100%);
  padding: 32px;
  text-align: center;
}

.done-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: #102013;
  background: linear-gradient(135deg, #bde08e, #efe2c4);
  font-size: 34px;
  font-weight: 900;
}

.done-card h1 {
  margin-top: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.wait-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.06);
  border: 1px solid var(--border);
}

.wait-box h2 {
  margin: 0;
}

.link-button {
  margin-top: 10px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 50;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff7ed;
  color: #1f1510;
  box-shadow: var(--shadow);
  font-weight: 800;
}

@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quiz-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    display: none;
  }

  .bonus-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .screen {
    padding: 70px 12px 28px;
  }

  .screen-home {
    justify-content: flex-start;
    min-height: auto;
    padding: 76px 12px 28px;
    background:
      radial-gradient(circle at 50% 15%, rgba(190, 150, 105, 0.16), transparent 34%),
      var(--brand-black);
  }

  .screen-home::before {
    background:
      linear-gradient(180deg, rgba(30, 70, 50, 0.68) 0%, rgba(30, 70, 50, 0.44) 36%, rgba(16, 33, 23, 0.94) 100%),
      linear-gradient(90deg, rgba(30, 30, 30, 0.58), rgba(30, 70, 50, 0.24));
  }

  .screen-home::after {
    background-position: right -84px bottom -40px;
    background-size: 390px auto;
    opacity: 0.16;
  }

  .topbar {
    padding: 12px 14px;
    width: 100%;
  }

  .brand-logo {
    width: 136px;
  }

  .fresh-badge {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 12px;
    padding: 7px 12px;
  }

  .project-slider {
    position: relative;
    display: block;
    width: min(100%, 396px);
    height: clamp(168px, 47vw, 206px);
    margin: 0 auto 14px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(190, 150, 105, 0.3);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    background: rgba(255, 255, 255, 0.04);
  }

  .project-track {
    display: flex;
    width: 400%;
    height: 100%;
    animation: projectSlider 18s ease-in-out infinite;
  }

  .project-slide {
    flex: 0 0 25%;
    height: 100%;
    margin: 0;
  }

  .project-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .project-slide:nth-child(2) img {
    object-position: center 44%;
  }

  .project-slide:nth-child(3) img {
    object-position: center 42%;
  }

  .project-slide:nth-child(4) img {
    object-position: center 46%;
  }

  .slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 5px;
  }

  .slider-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 1px rgba(30, 30, 30, 0.18);
    animation: sliderDot 18s ease-in-out infinite;
  }

  .slider-dots span:nth-child(2) { animation-delay: 4.5s; }
  .slider-dots span:nth-child(3) { animation-delay: 9s; }
  .slider-dots span:nth-child(4) { animation-delay: 13.5s; }

  .screen-home h1 {
    font-family: Montserrat, Inter, sans-serif;
    width: min(100%, calc(100vw - 28px));
    max-width: 390px;
    font-size: clamp(25px, 6.4vw, 30px);
    line-height: 1.16;
    margin-bottom: 13px;
    font-weight: 400;
    color: var(--foreground);
    overflow-wrap: normal;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  }

  .screen-home h1 .headline-line {
    display: block;
  }

  .screen-home h1 .headline-fit {
    white-space: nowrap;
    font-size: 0.6em;
  }

  .screen-home h1 strong {
    color: var(--primary-strong);
    font-weight: 800;
  }

  .subtitle {
    width: min(100%, calc(100vw - 28px));
    max-width: 390px;
    font-size: clamp(11px, 2.85vw, 13px);
    line-height: 1.34;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
  }

  .subtitle span {
    display: block;
    white-space: nowrap;
  }

  .cta-wrap {
    margin-bottom: 18px;
  }

  .hero-cta {
    min-width: 232px;
    min-height: 52px;
    padding: 12px 24px;
  }

  .click-pointer {
    right: -18px;
    bottom: -22px;
    font-size: 38px;
  }

  .features {
    width: calc(100vw - 12px);
    display: flex;
    gap: 12px;
    margin: 0 -6px 0 0;
    padding: 0 0 10px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .features::-webkit-scrollbar {
    display: none;
  }

  .features article {
    flex: 0 0 min(306px, 76vw);
    scroll-snap-align: start;
    min-height: 0;
    padding: 16px 18px 17px;
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.72), rgba(30, 70, 50, 0.56));
    box-shadow: 0 20px 58px rgba(0, 0, 0, 0.28);
  }

  .features span {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    font-size: 19px;
  }

  .features h2 {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .features p {
    font-size: 13px;
    line-height: 1.35;
  }

  .security {
    margin-top: 16px;
    font-size: 12px;
  }

  .quiz-card {
    padding: 18px 14px;
  }

  .messengers {
    gap: 8px;
  }

  .messenger-button {
    min-width: 0;
    min-height: 86px;
    padding: 12px 8px;
  }

  .phone-row {
    grid-template-columns: minmax(108px, 0.36fr) minmax(0, 1fr);
    gap: 8px;
  }

  .country-button,
  .text-field {
    min-height: 52px;
    padding: 11px 12px;
    font-size: 15px;
  }

  .quiz-actions .primary-button {
    flex: 1;
  }
}

@media (max-width: 400px) {
  .screen-home h1 {
    max-width: 308px;
    font-size: clamp(22px, 5.55vw, 25px);
  }

  .screen-home h1 .headline-fit {
    white-space: normal;
    font-size: 0.78em;
  }

  .subtitle {
    max-width: 318px;
    font-size: clamp(11px, 2.85vw, 12px);
  }

  .subtitle span {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
