:root {
  --bg: #070707;
  --bg-elev: #121212;
  --glass: rgba(22, 22, 22, 0.72);
  --glass-border: rgba(255, 255, 255, 0.12);
  --yellow: #ffe500;
  --yellow-soft: #ffef66;
  --text: #f5f5f5;
  --muted: #b8b8b8;
  --phone: #0e0e0e;
  --radius: 18px;
  --shadow-yellow: 0 0 28px rgba(255, 229, 0, 0.35);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 229, 0, 0.08), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(255, 229, 0, 0.06), transparent 50%),
    linear-gradient(180deg, #0c0c0c 0%, var(--bg) 40%, #050505 100%);
  line-height: 1.45;
  overflow-x: hidden;
  padding-bottom: 5.5rem;
}

.bg-glow {
  position: fixed;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  background: var(--yellow);
  animation: drift 12s ease-in-out infinite alternate;
}

.bg-glow--left {
  top: -8%;
  left: -12%;
}

.bg-glow--right {
  top: 18%;
  right: -16%;
  animation-delay: -4s;
  opacity: 0.12;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, 18px, 0) scale(1.08); }
}

.header,
main {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  padding: 1.25rem 0 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #fff;
}

.logo__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(255, 229, 0, 0.4);
  flex-shrink: 0;
}

.logo__badge img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.logo__text {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #fff;
  animation: rise 0.7s ease both;
}

.accent {
  color: var(--yellow);
}

.accent--xl {
  display: inline-block;
  font-size: 1.35em;
  transform: translateY(0.04em);
  text-shadow: 0 0 24px rgba(255, 229, 0, 0.35);
}

.offer-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  margin-bottom: 1.5rem;
  animation: rise 0.7s ease 0.12s both;
}

.offer-card__icon {
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(255, 229, 0, 0.5));
}

.offer-card__text {
  color: #e8e8e8;
  font-size: 0.98rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  will-change: transform;
}

.btn--primary {
  background: var(--yellow);
  color: #111;
  padding: 0.95rem 2.1rem;
  border-radius: 999px;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-yellow);
  animation: rise 0.7s ease 0.22s both;
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 36px rgba(255, 229, 0, 0.5);
  filter: brightness(1.05);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--lg {
  padding: 1.05rem 2.6rem;
  font-size: 1.12rem;
}

.btn--phone {
  width: 100%;
  margin-top: auto;
  background: var(--yellow);
  color: #111;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(255, 229, 0, 0.35);
}

.btn--phone:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--sticky {
  width: 100%;
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  animation: float-in 0.9s ease 0.15s both;
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone {
  width: min(300px, 86vw);
  background: linear-gradient(160deg, #1a1a1a, #0a0a0a);
  border: 2px solid #2a2a2a;
  border-radius: 36px;
  padding: 12px 10px 14px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 40px rgba(255, 229, 0, 0.08);
  position: relative;
  z-index: 2;
}

.phone__notch {
  width: 34%;
  height: 8px;
  margin: 4px auto 10px;
  background: #050505;
  border-radius: 999px;
}

.phone__screen {
  background: #101010;
  border-radius: 26px;
  padding: 0.85rem 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 460px;
}

.app-top {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 0.35rem;
}

.app-top__back,
.app-top__filter {
  color: var(--muted);
  font-size: 1.1rem;
  text-align: center;
}

.app-top__title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.tx-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.tx {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.6rem;
  background: #171717;
  border: 1px solid transparent;
  border-radius: 12px;
  position: relative;
}

.tx__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  background: #222;
}

.tx__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tx__meta strong {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx__meta small {
  color: var(--muted);
  font-size: 0.65rem;
}

.tx__sum {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.tx--active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px rgba(255, 229, 0, 0.25), 0 0 18px rgba(255, 229, 0, 0.18);
  background: #1a1a12;
  animation: pulse-border 2.4s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 229, 0, 0.25), 0 0 14px rgba(255, 229, 0, 0.15); }
  50% { box-shadow: 0 0 0 1px rgba(255, 229, 0, 0.55), 0 0 22px rgba(255, 229, 0, 0.3); }
}

.tx__check {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(255, 229, 0, 0.55);
}

.float-coin,
.float-tile {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.float-coin {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff6a8, #ffe500 45%, #c9a800 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 -4px 8px rgba(0, 0, 0, 0.2);
  animation: bob 4.5s ease-in-out infinite;
}

.float-coin::after {
  content: "₴";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  color: rgba(80, 60, 0, 0.55);
  font-size: 1.1rem;
}

.float-coin--1 {
  top: 12%;
  left: 6%;
}

.float-coin--2 {
  width: 40px;
  height: 40px;
  bottom: 18%;
  right: 4%;
  animation-delay: -1.6s;
}

.float-tile {
  top: 16%;
  right: 6%;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(255, 229, 0, 0.35);
  transform: rotate(8deg);
  animation: bob-tilt 5.2s ease-in-out infinite;
}

.float-tile img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes bob-tilt {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-12px); }
}

.how {
  padding: 1rem 0 2rem;
}

.how__title {
  font-family: var(--display);
  color: var(--yellow);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  margin-bottom: 1.4rem;
  text-align: left;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.step {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem 0.85rem 1.1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  min-height: 100%;
  position: relative;
}

.step__num {
  display: none;
}

.step__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 229, 0, 0.35);
  background: rgba(255, 229, 0, 0.06);
  display: grid;
  place-items: center;
}

.step__icon--pct span {
  font-family: var(--display);
  font-weight: 800;
  color: var(--yellow);
  font-size: 1rem;
}

.step p {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ececec;
}

.steps__arrow {
  align-self: center;
  color: var(--yellow);
  font-size: 1.35rem;
  font-weight: 800;
  opacity: 0.9;
  padding-top: 0.5rem;
}

.note {
  padding: 0.5rem 0 1.5rem;
}

.note__inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.note__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.note__inner p {
  font-size: 0.95rem;
  font-weight: 600;
}

.cta-block {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 2rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92) 35%);
  backdrop-filter: blur(8px);
}

@media (min-width: 901px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 2rem;
  }
}

/* —— Tablet / mobile —— */
@media (max-width: 900px) {
  .header,
  main {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .header {
    padding: 0.85rem 0 0.25rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 0.65rem 0 1.5rem;
  }

  /* Text + CTA first — phone mockup later */
  .hero__visual {
    min-height: auto;
    order: 2;
    margin-top: 0.25rem;
  }

  .hero__copy {
    order: 1;
  }

  .hero__title {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
    line-height: 1.22;
    margin-bottom: 1rem;
    text-wrap: balance;
  }

  .accent--xl {
    font-size: 1.28em;
  }

  .offer-card {
    gap: 0.85rem;
    padding: 1rem 1rem;
    margin-bottom: 1.1rem;
  }

  .offer-card__icon svg {
    width: 48px;
    height: 48px;
  }

  .offer-card__text {
    font-size: 1rem;
    line-height: 1.5;
    color: #f0f0f0;
  }

  .hero__copy .btn--primary {
    width: 100%;
    min-height: 52px;
    font-size: 1.08rem;
    border-radius: 16px;
  }

  .phone {
    width: min(260px, 72vw);
  }

  .phone__screen {
    min-height: 0;
    gap: 0.55rem;
    padding: 0.7rem 0.65rem 0.75rem;
  }

  .tx--optional {
    display: none;
  }

  .float-coin--2,
  .float-tile {
    display: none;
  }

  .float-coin--1 {
    width: 40px;
    height: 40px;
    top: 8%;
    left: 2%;
  }

  .how {
    padding: 0.5rem 0 1.25rem;
  }

  .how__title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .steps__arrow {
    display: none;
  }

  .step {
    display: grid;
    grid-template-columns: 44px 52px 1fr;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
  }

  .step__num {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--yellow);
    color: #111;
    font-weight: 800;
    font-size: 0.85rem;
    justify-self: center;
  }

  .step__icon {
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .step__icon svg {
    width: 32px;
    height: 32px;
  }

  .step p {
    font-size: 0.95rem;
    line-height: 1.35;
    color: #f2f2f2;
  }

  .note {
    padding: 0.25rem 0 1.25rem;
  }

  .note__inner {
    border-radius: 16px;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    gap: 0.75rem;
  }

  .note__inner p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .cta-block {
    display: none;
  }

  .btn--sticky {
    min-height: 52px;
    font-size: 1.08rem;
    border-radius: 16px;
    box-shadow: 0 0 28px rgba(255, 229, 0, 0.4);
  }

  .sticky-cta {
    padding: 0.65rem 0.9rem calc(0.65rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .header,
  main {
    width: calc(100% - 1.25rem);
  }

  .logo__badge {
    width: 40px;
    height: 40px;
  }

  .logo__badge img {
    width: 26px;
    height: 26px;
  }

  .logo__text {
    font-size: 0.82rem;
  }

  .hero__title {
    font-size: clamp(1.45rem, 7.5vw, 1.85rem);
  }

  .offer-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .offer-card__icon svg {
    width: 42px;
    height: 42px;
  }

  .offer-card__text {
    font-size: 0.98rem;
  }

  .phone {
    width: min(240px, 70vw);
  }

  .btn--phone {
    font-size: 0.88rem;
    padding: 0.75rem 0.7rem;
    min-height: 44px;
  }

  .float-coin--1 {
    left: -2%;
    opacity: 0.85;
  }

  .bg-glow {
    opacity: 0.1;
  }
}

@media (max-width: 380px) {
  .step {
    grid-template-columns: 36px 1fr;
  }

  .step__icon {
    display: none;
  }

  .offer-card__icon {
    display: none;
  }

  .hero__title {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* —— Geo stub —— */
.geo-block {
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(600px 320px at 50% 20%, rgba(255, 229, 0, 0.08), transparent 60%),
    #070707;
}

.geo-block__card {
  width: min(420px, 100%);
  text-align: center;
  padding: 2rem 1.4rem;
  border-radius: 20px;
  background: rgba(22, 22, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.geo-block__badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #111;
  font-weight: 800;
  font-family: var(--display);
}

.geo-block__card h1 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.geo-block__card p {
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.45;
}

/* White embed (клоака) */
.white-embed {
  display: none;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f6f7f9;
}

.white-embed__frame {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
}
