:root {
  --ink: #10131f;
  --ink-2: #252b3a;
  --muted: #687083;
  --paper: #fbfbf7;
  --panel: #ffffff;
  --line: rgba(16, 19, 31, 0.11);
  --violet: #5f43f1;
  --blue: #2477ff;
  --mint: #00c982;
  --sun: #ffc94d;
  --coral: #ff6b78;
  --shadow: 0 26px 80px rgba(32, 34, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Archivo, ui-sans-serif, system-ui, sans-serif;
  background:
    linear-gradient(90deg, rgba(16, 19, 31, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #fbfbf7 0%, #f2f8ff 38%, #fff7ef 100%);
  background-size: 44px 44px, auto;
}

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

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 55px rgba(31, 39, 72, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.topbar nav,
.hero-actions,
.proof-points,
.store-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  font-size: 19px;
}

.mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 44% 56%;
  background: linear-gradient(145deg, var(--violet), var(--blue));
  box-shadow: 0 12px 26px rgba(95, 67, 241, 0.3);
}

.mark::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 5px solid #fff;
  border-radius: 999px;
}

.mark::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #fff;
}

.topbar nav {
  gap: 24px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 70px 0 54px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(66px, 10vw, 132px);
  line-height: 0.82;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.9;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.05;
}

.lead {
  max-width: 680px;
  margin-bottom: 28px;
  color: #394150;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.primary,
.ghost {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(16, 19, 31, 0.22);
}

.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.proof-points {
  flex-wrap: wrap;
  gap: 10px;
}

.proof-points span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.58);
}

.stage {
  position: relative;
  min-height: 640px;
}

.phone {
  width: min(358px, 86vw);
  min-height: 630px;
  margin: 0 auto;
  padding: 18px;
  border: 9px solid #10131f;
  border-radius: 56px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow);
}

.notch {
  width: 96px;
  height: 26px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: var(--ink);
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 15px;
  border-radius: 22px;
  background: #f1f4ff;
}

.app-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.app-top strong {
  color: var(--violet);
}

.mascot-scene {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
}

.mascot {
  position: relative;
  width: 158px;
  height: 150px;
  border-radius: 46% 54% 48% 52%;
  background: linear-gradient(145deg, #8a76ff, #4d35dc);
  box-shadow: inset -18px -24px 34px rgba(0, 0, 0, 0.12), 0 24px 38px rgba(76, 53, 220, 0.23);
  animation: mascotFloat 4s ease-in-out infinite;
}

.mascot::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 74px;
  width: 50px;
  height: 72px;
  border-radius: 82% 18% 70% 30%;
  background: linear-gradient(145deg, #8a76ff, #4d35dc);
  transform: rotate(23deg);
}

.eye {
  position: absolute;
  top: 58px;
  width: 17px;
  height: 23px;
  border-radius: 999px;
  background: #14101b;
}

.eye-left {
  left: 48px;
}

.eye-right {
  right: 48px;
}

.mouth {
  position: absolute;
  top: 94px;
  left: 65px;
  width: 30px;
  height: 17px;
  border-radius: 0 0 999px 999px;
  background: #14101b;
}

.coin {
  position: absolute;
  right: 42px;
  bottom: 46px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 8px solid #ffd66e;
  border-radius: 999px;
  color: #c46e00;
  font-size: 34px;
  font-weight: 900;
  background: #fff0b5;
  box-shadow: 0 16px 28px rgba(196, 110, 0, 0.18);
}

.goal-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(29, 39, 78, 0.08);
}

.goal-card span,
.ticket small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.goal-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: 21px;
}

.progress {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e8ecf7;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--violet));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 12px;
}

.mini-grid span {
  padding: 12px 6px;
  border-radius: 17px;
  color: #4735c8;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  background: rgba(95, 67, 241, 0.1);
}

.ticket {
  position: absolute;
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 48px rgba(28, 36, 66, 0.13);
  backdrop-filter: blur(16px);
}

.ticket strong {
  font-size: 22px;
}

.ticket-a {
  top: 122px;
  left: 0;
}

.ticket-b {
  right: 0;
  bottom: 120px;
}

.principle,
.split,
.groups,
.launch {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.principle {
  padding: 70px 0;
}

.section-title {
  max-width: 800px;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.cards article,
.proof-board div {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(31, 41, 77, 0.08);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cards article.is-visible,
.proof-board div.is-visible,
.groups.is-visible,
.launch.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--ink);
}

.cards p,
.split p,
.groups p,
.launch p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 64px 0;
}

.proof-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.proof-board div {
  min-height: 150px;
}

.proof-board b {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.proof-board span {
  color: var(--muted);
}

.groups {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  margin-top: 44px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, #10131f 0%, #23315f 72%, #1b8061 100%);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.groups .kicker {
  color: var(--mint);
}

.groups p {
  color: rgba(255, 255, 255, 0.76);
}

.group-visual {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
}

.avatars {
  display: flex;
  margin-bottom: 24px;
}

.avatars i {
  width: 50px;
  height: 50px;
  margin-right: -12px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--violet);
}

.avatars i:nth-child(2) {
  background: var(--sun);
}

.avatars i:nth-child(3) {
  background: var(--mint);
}

.group-visual strong,
.group-visual span {
  display: block;
}

.group-visual strong {
  margin-bottom: 8px;
  font-size: 23px;
}

.group-visual span {
  color: var(--muted);
  line-height: 1.5;
}

.launch {
  margin-top: 70px;
  margin-bottom: 52px;
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.launch h2,
.launch p {
  max-width: 820px;
}

.store-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.store-row button {
  min-width: 220px;
  min-height: 72px;
  padding: 12px 20px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  font: inherit;
  font-size: 21px;
  font-weight: 900;
  text-align: left;
  background: var(--ink);
  opacity: 0.92;
}

.store-row span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-9px) rotate(2deg);
  }
}

@media (max-width: 900px) {
  .topbar nav {
    display: none;
  }

  .hero,
  .split,
  .groups {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: auto;
  }

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

  .ticket-a {
    left: 2px;
  }
}

@media (max-width: 620px) {
  .hero,
  .principle,
  .split,
  .groups,
  .launch,
  footer {
    width: calc(100% - 24px);
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 66px;
  }

  h2 {
    font-size: 46px;
  }

  .phone {
    width: min(330px, 94vw);
  }

  .ticket {
    display: none;
  }

  .proof-board {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

.lang-selector {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  background: rgba(16, 19, 31, 0.05);
  padding: 3px;
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}
