﻿:root {
  --bg: #eaf3ff;
  --paper: #ffffff;
  --ink: #081730;
  --blue: #0d6ee2;
  --sky: #38b2ff;
  --navy: #071b48;
  --line: #cfe0f6;
  --muted: #5f7092;
  --soft: #eaf3ff;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 50px rgba(10, 49, 116, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Onest", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% -10%, rgba(59, 155, 255, 0.4), transparent 36%),
    radial-gradient(circle at 10% 15%, rgba(15, 112, 224, 0.22), transparent 30%),
    linear-gradient(140deg, #edf5ff 0%, #dfedff 44%, #d6e8ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-layer {
  position: fixed;
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
}

.bg-layer-a {
  width: 540px;
  height: 540px;
  top: -240px;
  right: -180px;
  background: radial-gradient(circle, rgba(25, 118, 229, 0.25), transparent 70%);
}

.bg-layer-b {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -180px;
  background: radial-gradient(circle, rgba(74, 189, 255, 0.33), transparent 72%);
}

.topbar {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 12px;
  z-index: 12;
  border: 1px solid rgba(196, 215, 240, 0.88);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #d6e5f8;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-mark img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.desktop-nav {
  margin-left: 44px;
  display: inline-flex;
  gap: 22px;
  flex: 1;
  justify-content: flex-end;
}

.desktop-nav a {
  color: #31466f;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.topbar-actions {
  display: inline-flex;
  gap: 10px;
  margin-left: 14px;
  flex: 0 0 auto;
}

.btn {
  border: none;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  padding: 11px 17px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-with-logo {
  gap: 9px;
}

.btn-with-logo img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(115deg, var(--blue), var(--sky));
  box-shadow: 0 11px 24px rgba(15, 112, 224, 0.32);
}

.btn-soft {
  color: #143f7c;
  background: var(--soft);
}

.btn-ghost {
  color: #223558;
  background: #edf2f8;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 20px 0;
}

.section[id] {
  scroll-margin-top: 108px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "under";
  gap: 24px;
  padding-top: 60px;
  align-items: start;
}

.hero-copy {
  grid-area: copy;
  align-self: stretch;
}

.hero-promo {
  grid-area: promo;
  align-self: stretch;
  width: 90%;
  justify-self: end;
  height: 100%;
}

.hero-under {
  grid-area: under;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: #0f72e0;
  font-weight: 700;
}

.hero h1 {
  margin: 15px 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  max-width: 15ch;
}

.lead {
  margin: 0;
  max-width: 55ch;
  color: #4f6287;
  line-height: 1.6;
  font-size: 1.07rem;
}

.hero-actions {
  margin-top: 24px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.hero-launch-btn {
  padding: 15px 28px;
  font-size: 1.18rem;
  border-radius: 16px;
}

.hero-badges {
  display: grid;
  gap: 12px;
}

.poster-card {
  border-radius: var(--radius-xl);
  padding: 16px;
  color: #ecf5ff;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(114, 170, 255, 0.35);
  background:
    radial-gradient(circle at 84% 20%, rgba(125, 205, 255, 0.22), transparent 36%),
    linear-gradient(140deg, #031338 0%, #07245b 48%, #0f4ca2 100%);
  box-shadow: var(--shadow);
}

.poster-top {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  row-gap: 4px;
  position: relative;
  z-index: 1;
}

.poster-logo {
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-logo img {
  width: 28px;
  height: 28px;
}

.poster-top strong {
  font-size: 1.7rem;
}

.poster-top p {
  margin: 0;
  color: #c4d7f5;
}

.poster-card ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.poster-card li {
  background: rgba(164, 222, 255, 0.12);
  border: 1px solid rgba(184, 227, 255, 0.2);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 3px;
}

.poster-card li b {
  font-size: 1rem;
}

.poster-card li span {
  color: #c3d8f8;
  font-size: 0.92rem;
}

.promo-banner {
  border-radius: var(--radius-lg);
  padding: 14px;
  border: 1px solid #a6c8f0;
  background:
    radial-gradient(circle at 82% 10%, rgba(98, 207, 255, 0.45), transparent 36%),
    linear-gradient(145deg, #0f2f6f 0%, #1055b5 52%, #209ce7 100%);
  color: #ebf4ff;
  box-shadow: 0 18px 34px rgba(10, 62, 147, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-banner-image {
  width: 94%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  border: 1px solid rgba(212, 231, 255, 0.4);
  background: rgba(6, 24, 63, 0.52);
}

.promo-banner h3 {
  margin: 2px 0 10px;
  font-size: 0.96rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-promo .btn {
  margin-top: 4px;
  width: 100%;
}

.badge-card {
  border: none;
  background: transparent;
  padding: 0;
}

.badge-card h4 {
  margin: 0;
  color: #224f8a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.badge-card p {
  margin: 8px 0 0;
  color: #3f5f8f;
  line-height: 1.45;
}

.asset-grid,
.bank-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.asset-chip,
.bank-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 3px 0;
  color: #18355d;
  font-size: 0.89rem;
  font-weight: 600;
}

.chip-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.chip-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bank-chip .chip-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}

.bank-chip-sbp .chip-icon img {
  width: 100%;
  height: 100%;
}

.bank-chip-sber .chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bank-chip-tinkoff .chip-icon img {
  width: 100%;
  height: 100%;
}

.badge-support .support-link {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

.section-head h2 {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-family: "Sora", "Segoe UI", sans-serif;
}

.app-preview {
  position: relative;
  padding-bottom: 28px;
}

.preview-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.devices-scene {
  min-height: 520px;
  border-radius: 30px;
  border: none;
  padding: 14px 8px 0;
  position: relative;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

.phone {
  position: absolute;
  width: 220px;
  border-radius: 34px;
  border: 1px solid #08090c;
  background: linear-gradient(160deg, #06070a 0%, #111319 100%);
  padding: 3px;
  box-shadow: 0 16px 28px rgba(6, 8, 12, 0.24);
  will-change: transform;
}

.phone-home {
  left: 290px;
  bottom: 44px;
  transform: rotate(8deg);
  z-index: 2;
}

.phone-pay {
  left: 46px;
  bottom: 42px;
  transform: rotate(-10deg);
  z-index: 1;
}

.phone-screen {
  border-radius: 31px;
  border: none;
  background: #0b0d12;
  overflow: hidden;
  line-height: 0;
}

.phone-shot {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
}

.preview-notes {
  color: #0f1f3f;
  align-self: start;
  padding-top: 2px;
}

.preview-notes h3 {
  margin: 0 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.7rem;
}

.preview-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.preview-feature-list li {
  position: relative;
  padding-left: 24px;
  color: #5870a0;
  line-height: 1.45;
  font-size: 1.12rem;
  font-weight: 500;
}

.preview-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f72e0;
}

.referral-panel {
  margin-top: 20px;
  border: none;
  background: transparent;
  padding: 0;
}

.referral-panel h4 {
  margin: 2px 0 14px;
  margin-left: 24px;
  color: #0d6ee2;
  font-size: 1.2rem;
}

.referral-list {
  display: grid;
  gap: 18px;
}

.referral-item {
  border: none;
  background: transparent;
  padding: 0 0 2px 0;
}

.referral-item h5 {
  margin: 0 0 8px;
  color: #1a2b4a;
  font-size: 1.15rem;
  line-height: 1.33;
}

.referral-item p {
  margin: 0;
  color: #5b6d90;
  font-size: 1.06rem;
  line-height: 1.48;
}

.steps {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  border: none;
  background: transparent;
  padding: 0 6px 0 0;
}

.benefit {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  padding: 14px 20px 18px;
}

.step b {
  color: var(--blue);
  font-size: 1.25rem;
}

.step h3,
.benefit h3 {
  margin: 10px 0 8px;
}

.benefit h3 {
  margin-top: 2px;
}

.step p,
.benefit p {
  margin: 0;
  color: #556584;
  line-height: 1.52;
}

.benefits-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

#benefits {
  padding-top: 108px;
}

.faq-list {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: #5b6b8a;
  line-height: 1.56;
}

.cta {
  text-align: center;
  padding-bottom: 64px;
}

.cta h2 {
  margin: 0 auto 20px;
  max-width: 22ch;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

.contacts {
  padding-bottom: 48px;
}

.contacts-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-link {
  text-decoration: none;
  color: #1a2742;
  background: #e6ebf2;
  border-radius: 16px;
  border: 1px solid #d0dae8;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-title {
  font-size: 1.2rem;
  line-height: 1.15;
}

.contact-meta {
  font-size: 0.88rem;
  color: #5e7092;
  font-weight: 500;
  line-height: 1.2;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1ca2ff, #1574db);
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-icon.ig {
  background: linear-gradient(135deg, #2db3ff, #1476df);
}

.contact-icon.mail {
  background: linear-gradient(135deg, #2eaaff, #1376df);
}

.contact-icon.support {
  background: linear-gradient(135deg, #33b4ff, #1183f0);
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #566789;
}

.footer a {
  text-decoration: none;
  color: var(--blue);
  font-weight: 700;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 25;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: rgba(8, 24, 58, 0.5);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-shell {
  max-width: 980px;
  margin: 20px auto;
  background: #f4f8ff;
  border: 1px solid #bfd6f2;
  border-radius: 26px;
  padding: 18px;
  -webkit-overflow-scrolling: touch;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.menu-close {
  border: none;
  border-radius: 12px;
  background: #e4ecf8;
  color: #1d2b47;
  font: inherit;
  font-weight: 600;
  padding: 12px 16px;
  cursor: pointer;
}

.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 14px;
}

.menu-card,
.menu-cta {
  border-radius: 18px;
  border: 1px solid #ccddf3;
  background: #fff;
  padding: 16px;
}

.menu-card h3,
.menu-cta h3 {
  margin: 0 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.menu-card a {
  display: block;
  text-decoration: none;
  color: #2f446d;
  background: #eef4ff;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.menu-card a:last-child {
  margin-bottom: 0;
}

.menu-card a:hover {
  color: #0e62c8;
}

.menu-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1d2f4d;
  background: #e6ebf2;
  border-radius: 14px;
  border: 1px solid #d1daea;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-weight: 600;
}

.menu-contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1ca2ff, #1574db);
  font-size: 0.95rem;
  font-weight: 700;
}

.menu-contact-icon svg {
  width: 18px;
  height: 18px;
}

.menu-contact-icon.mail {
  background: linear-gradient(135deg, #2eaaff, #1376df);
}

.menu-contact-icon.support {
  font-size: 1.05rem;
}

.menu-cta .btn {
  margin-top: 8px;
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1060px) {
  .topbar {
    margin-top: 0;
    top: 0;
    border-radius: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "under";
  }

  .hero h1 {
    max-width: none;
  }

  .hero-under {
    grid-template-columns: 1fr;
  }

  .hero-promo {
    width: 100%;
  }

  .promo-banner h3 {
    white-space: normal;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .devices-scene {
    min-height: 480px;
    padding: 10px 6px 0;
  }

  .phone {
    width: 198px;
  }

  .phone-pay {
    left: 8%;
    bottom: 28px;
  }

  .phone-home {
    left: 49%;
    bottom: 30px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    padding: 10px 12px;
  }

  .topbar-actions .btn-primary {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
    justify-content: flex-end;
  }

  .section {
    padding-top: 56px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-launch-btn {
    padding: 13px 22px;
    font-size: 1.06rem;
  }

  .hero-copy,
  .hero-promo {
    min-height: auto;
  }

  .asset-grid,
  .bank-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preview-layout {
    margin-top: 10px;
    gap: 22px;
  }

  .app-preview {
    padding-bottom: 18px;
  }

  .devices-scene {
    min-height: 360px;
    padding: 0;
  }

  .phone {
    width: min(42vw, 170px);
    padding: 2px;
  }

  .phone-pay {
    left: 4%;
    bottom: 34px;
  }

  .phone-home {
    left: 50%;
    bottom: 34px;
  }

  .preview-notes h3 {
    font-size: 1.35rem;
  }

  .preview-feature-list li {
    font-size: 0.98rem;
    padding-left: 22px;
  }

  .preview-feature-list li::before {
    top: 0.52em;
    width: 7px;
    height: 7px;
  }

  .referral-panel {
    margin-top: 14px;
    padding: 0;
  }

  .referral-panel h4 {
    margin-left: 22px;
    font-size: 1.08rem;
  }

  .referral-item {
    padding: 0;
  }

  .referral-item h5 {
    font-size: 1rem;
  }

  .referral-item p {
    font-size: 0.92rem;
  }

  #benefits {
    padding-top: 86px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .menu-shell {
    margin: 10px;
  }
}
