@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
  --asnb-blue: #193ceb;
  --asnb-blue-deep: #062d89;
  --asnb-blue-soft: #e8efff;
  --asnb-maroon: #79115c;
  --asnb-maroon-soft: #f7eaf3;
  --asnb-yellow: #ffc845;
  --asnb-yellow-deep: #f5a900;
  --telegram: #29a9eb;
  --surface: #f5f7f8;
  --line: #d9dde1;
  --white: #ffffff;
  --ink: #17213a;
  --muted: #5b6473;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

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

button,
input,
label {
  font: inherit;
  font-style: normal !important;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  display: block;
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 800px;
  min-height: 100svh;
  background-image:
    linear-gradient(90deg, rgba(245, 247, 248, 0.58) 0%, rgba(245, 247, 248, 0.36) 29%, rgba(245, 247, 248, 0.22) 57%, rgba(245, 247, 248, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(6, 45, 137, 0.06) 48%, rgba(6, 45, 137, 0.18) 100%),
    url("./assets/desktop_banner.png");
  background-position: center, center, top;
  background-repeat: no-repeat;
  background-size: cover;
}

.site-header {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: top 260ms ease;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(174px, calc(100vw - 40px));
  min-height: 82px;
  padding: 8px 28px;
  border: 1px solid rgba(217, 221, 225, 0.95);
  border-radius: 999px;
  backdrop-filter: blur(7.5px);
  background: rgba(13, 13, 13, 0.25);;
  box-shadow: 0 14px 34px rgba(23, 33, 58, 0.13);
  pointer-events: auto;
  transition:
    width 260ms ease,
    min-height 260ms ease,
    padding 260ms ease,
    box-shadow 260ms ease;
}

.logo-pill img {
  width: 100%;
  height: auto;
  transition: width 260ms ease;
}

.site-header.is-compact {
  top: 18px;
}

.site-header.is-compact .logo-pill {
  width: min(132px, calc(100vw - 40px));
  min-height: 58px;
  padding: 6px 22px;
  box-shadow: 0 10px 24px rgba(23, 33, 58, 0.13);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100vw - 64px));
  margin: 0 auto;
  padding-top: clamp(190px, 22vh, 250px);
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: clamp(0.88rem, 0.4vw + 0.78rem, 1.08rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--asnb-maroon);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  color: var(--asnb-blue-deep);
  font-size: clamp(2.5rem, 4.3vw + 0.8rem, 5.9rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin: 24px 0 0;
  color: #000;
  font-size: clamp(1.05rem, 0.58vw + 0.9rem, 1.38rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(620px, 100%);
  min-height: 68px;
  margin-top: 34px;
  padding: 18px 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--asnb-yellow) 0%, #ffe084 48%, var(--asnb-yellow-deep) 100%);
  color: #342700;
  font-size: clamp(0.96rem, 0.34vw + 0.9rem, 1.14rem);
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
  box-shadow: 0 18px 34px rgba(245, 169, 0, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(245, 169, 0, 0.34);
}

.telegram-action {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 96px;
  padding: 14px 10px 14px 14px;
  border-radius: 24px 0 0 24px;
  background: rgba(245, 247, 248, 0.9);
  box-shadow: 0 18px 36px rgba(23, 33, 58, 0.16);
  overflow: hidden;
  transform: translateY(-50%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.telegram-action img {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(2, 14, 58, 0.14);
}

.telegram-action:hover,
.telegram-action:focus-visible {
  transform: translateY(-50%);
  box-shadow: 0 22px 42px rgba(2, 14, 58, 0.22);
}

.survey-section {
  position: relative;
  z-index: 1;
  padding: 92px 24px 110px;
  background:
    linear-gradient(180deg, #f5f7f8 0%, #ffffff 100%);
  color: var(--ink);
}

.survey-shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.survey-form {
  display: grid;
  gap: 22px;
  padding-top: 4px;
}

.survey-step,
.survey-result {
  display: none;
  min-inline-size: 0;
  margin: 0;
  padding: 36px;
  border: 1px solid rgba(217, 221, 225, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(23, 33, 58, 0.09);
  opacity: 0;
  transform: translateY(18px);
}

.survey-step {
  border-style: solid;
}

.survey-step.is-visible,
.survey-result.is-visible {
  display: block;
  animation: reveal-step 260ms ease forwards;
}

@keyframes reveal-step {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.survey-step legend {
  display: block;
  float: left;
  width: 100%;
  max-width: 790px;
  padding: 0;
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(1.3rem, 0.78vw + 1.05rem, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
}

.answer-list {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.answer-option {
  cursor: pointer;
}

.answer-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.answer-option span {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 1.25;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.answer-option span::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  border: 2px solid #c7ccd4;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 6px #ffffff;
}

.answer-option:hover span,
.answer-option input:focus-visible + span {
  border-color: var(--asnb-blue);
  transform: translateY(-1px);
}

.answer-option input:checked + span {
  border-color: var(--asnb-blue);
  background: var(--asnb-blue-soft);
  color: var(--asnb-blue-deep);
}

.answer-option input:checked + span::before {
  border-color: var(--asnb-blue);
  background: var(--asnb-blue);
}

.survey-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--asnb-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.survey-result {
  text-align: center;
}

.survey-result h3 {
  margin: 0 0 16px;
  color: var(--asnb-blue-deep);
  font-size: clamp(2.1rem, 2vw + 1.1rem, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.survey-result p {
  max-width: 680px;
  margin: 0 auto 16px;
  color: #000;
  font-size: clamp(1.08rem, 0.5vw + 0.95rem, 1.34rem);
  font-weight: 500;
  line-height: 1.45;
}

.profit-amount {
  display: inline-block;
  color: var(--asnb-maroon);
  font-size: 1.16em;
  font-weight: 800;
}

.result-note {
  margin-top: -4px !important;
  color: var(--asnb-blue) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 62px;
  margin-top: 18px;
  padding: 16px 34px;
  border-radius: 999px;
  background: var(--telegram);
  color: var(--white);
  font-size: 1.16rem;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(41, 169, 235, 0.35);
  transition: background-color 160ms ease, transform 160ms ease;
}

.telegram-button:hover,
.telegram-button:focus-visible {
  background: #2298d5;
  transform: translateY(-1px);
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 85px 0;
  background: #cce1f5;
  color: #000000;
}

.footer-inner {
  width: min(1245px, 100%);
  margin: 0 auto;
}

.footer-link-farm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.footer-column {
  line-height: 1.2;
}

.footer-logo {
  grid-column: 1 / 3;
  align-self: start;
  width: 150px;
  max-width: 150px;
  overflow: hidden;
}

.footer-logo img {
  display: block;
  width: 150px !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: 72px !important;
  aspect-ratio: 377 / 180;
  object-fit: contain;
  object-position: left top;
  transform: none;
}

.footer-column h2 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}

.footer-column li {
  padding: 5px 0;
}

.footer-column a {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--asnb-blue);
}

@media (max-width: 959px) {
  .hero {
    min-height: 760px;
    background-position: center, center, center top;
  }

  .site-header {
    top: 30px;
  }

  .site-header.is-compact {
    top: 14px;
  }

  .logo-pill {
    width: min(152px, calc(100vw - 32px));
    min-height: 72px;
    padding: 7px 24px;
  }

  .site-header.is-compact .logo-pill {
    width: min(118px, calc(100vw - 32px));
    min-height: 50px;
    padding: 6px 18px;
  }

  .hero-content {
    width: min(620px, calc(100vw - 56px));
    padding-top: 170px;
  }

  .hero h1 {
    max-width: 560px;
  }

  .survey-section {
    padding-top: 72px;
  }
}

@media (min-width: 768px) {
  .footer-link-farm {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .footer-logo {
    grid-column: 1 / 2;
    display: flex;
    justify-content: flex-start;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 720px;
    background-image:
      linear-gradient(180deg, rgba(245, 247, 248, 0.56) 0%, rgba(245, 247, 248, 0.38) 29%, rgba(245, 247, 248, 0.08) 55%, rgba(6, 45, 137, 0.12) 100%),
      linear-gradient(90deg, rgba(245, 247, 248, 0.2) 0%, rgba(245, 247, 248, 0) 100%),
      url("./assets/mobile_banner.png");
    background-position: center, center, 48% top;
  }

  .site-header {
    top: 18px;
  }

  .site-header.is-compact {
    top: 10px;
  }

  .logo-pill {
    width: min(132px, calc(100vw - 28px));
    min-height: 58px;
    padding: 6px 20px;
  }

  .site-header.is-compact .logo-pill {
    width: min(104px, calc(100vw - 28px));
    min-height: 44px;
    padding: 6px 16px;
  }

  .hero-content {
    width: calc(100vw - 48px);
    padding-top: 104px;
  }

  .hero-kicker {
    margin-bottom: 12px;
    font-size: 0.78rem;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1;
  }

  .hero-subtitle {
    max-width: 330px;
    margin-top: 76px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .hero-button {
    width: min(100%, 360px);
    min-height: 56px;
    margin-top: 20px;
    padding: 14px 22px;
    font-size: 0.9rem;
  }

  .telegram-action {
    width: 60px;
    height: 78px;
    padding: 12px 8px 12px 12px;
    border-radius: 20px 0 0 20px;
  }

  .telegram-action img {
    width: 38px;
    height: 38px;
    border-width: 3px;
  }

  .survey-section {
    padding: 58px 18px 80px;
  }

  .survey-step,
  .survey-result {
    padding: 24px 18px;
    border-radius: 12px;
  }

  .answer-list {
    grid-template-columns: 1fr;
  }

  .answer-option span {
    min-height: 58px;
    font-size: 1rem;
  }

  .site-footer {
    padding: 58px 0;
  }

  .footer-inner {
    padding: 0 15px;
  }

  .footer-link-farm {
    gap: 34px 24px;
    padding: 0;
  }

  .footer-column a {
    font-size: 15px;
  }

}

@media (max-width: 390px) {
  .hero-content {
    width: calc(100vw - 36px);
  }
}
