:root {
  --ink: #18212f;
  --muted: #657187;
  --line: #e7ebf1;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --aqua: #18b8a6;
  --blue: #3168e6;
  --gold: #f3b43f;
  --rose: #ef626c;
  --violet: #7b61ff;
  --shadow: 0 20px 55px rgba(28, 43, 73, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 48%, #ffffff 100%);
}

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

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 20;
  width: 100%;
  padding: 0 22px;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: 1120px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 35px rgba(26, 45, 76, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--blue) 55%, var(--violet));
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(49, 104, 230, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #344056;
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
  background: #eef5ff;
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--blue);
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #2458c7;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: #edf3f8;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 170px 22px 130px;
  overflow: hidden;
  color: #fff;
  background: #101a2b;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, rgba(11, 20, 35, 0.95), rgba(28, 97, 142, 0.78) 54%, rgba(24, 184, 166, 0.66)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='980' viewBox='0 0 1600 980'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='1'%3E%3Cstop stop-color='%23112234'/%3E%3Cstop offset='.48' stop-color='%23205c82'/%3E%3Cstop offset='1' stop-color='%2318b8a6'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='980' fill='url(%23g)'/%3E%3Cg opacity='.22'%3E%3Cpath d='M0 675c188-103 362-128 522-75 228 75 406 28 591-86 183-113 346-126 487-40v506H0z' fill='%23ffffff'/%3E%3Cpath d='M0 186c155-73 326-56 511 51 175 102 351 112 529 29 188-88 375-79 560 30V0H0z' fill='%2397f5df'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='3' opacity='.2'%3E%3Ccircle cx='1220' cy='263' r='80'/%3E%3Ccircle cx='284' cy='326' r='52'/%3E%3Cpath d='M874 136h174M961 49v174M125 760h240M245 640v240'/%3E%3Cpath d='M520 185c74 62 146 62 216 0s141-62 213 0'/%3E%3C/g%3E%3Cg opacity='.18' fill='%23ffffff'%3E%3Crect x='1010' y='560' width='260' height='16' rx='8'/%3E%3Crect x='1010' y='596' width='180' height='16' rx='8'/%3E%3Crect x='282' y='618' width='220' height='16' rx='8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #ccefff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #91f2e6;
}

.hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
}

.hero h1 strong {
  color: #8ff1e4;
}

.hero-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-stats span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.hero-stats strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #092230;
  background: #8ff1e4;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: -78px auto 0;
  padding: 0 22px;
}

.step-card {
  min-height: 240px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.step-card:hover {
  box-shadow: 0 26px 66px rgba(28, 43, 73, 0.2);
  transform: translateY(-5px);
}

.step-icon {
  display: inline-grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--rose);
  font-weight: 800;
}

.step-card:nth-child(2) .step-icon {
  background: var(--blue);
}

.step-card:nth-child(3) .step-icon {
  background: var(--aqua);
}

.step-card h2,
.content-block h2,
.section-heading h2 {
  margin: 22px 0 12px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

.step-card p,
.content-block p,
.section-heading p,
.reward-item small,
footer p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 100px 22px 0;
  align-items: center;
}

.split-section.reverse {
  padding-bottom: 100px;
}

.content-block h2 {
  margin-top: 0;
  font-size: 38px;
}

.content-block p {
  margin: 0;
  font-size: 17px;
}

.illustration-panel,
.wallet-panel {
  position: relative;
  min-height: 330px;
  border-radius: 8px;
  border: 1px solid #e7eef5;
  background: var(--soft);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(28, 43, 73, 0.1);
}

.illustration-panel img,
.wallet-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.illustration-panel:hover img,
.wallet-panel:hover img {
  transform: scale(1.025);
}

.rewards {
  padding: 92px 22px 104px;
  color: #fff;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 209, 102, 0.2), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(143, 241, 228, 0.22), transparent 30%),
    linear-gradient(135deg, #172235, #125d70 55%, #127b84);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 0;
  font-size: 38px;
}

.section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.reward-item {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 160ms ease, background 160ms ease;
}

.reward-item::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #bee8ff);
}

.reward-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.reward-item span {
  font-weight: 800;
}

.reward-item small {
  color: rgba(255, 255, 255, 0.76);
}

footer {
  padding: 34px 22px;
  background: #101924;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
}

footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 24, 39, 0.62);
}

.modal-card {
  position: relative;
  width: min(430px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.modal-card h2 {
  margin: 0 0 14px;
}

.modal-card p {
  margin: 0 0 8px;
  color: var(--muted);
}

.modal-card a {
  color: var(--blue);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #eef2f6;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    padding: 0 12px;
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: 700px;
    padding-top: 150px;
  }
  .steps,
  .split-section,
  .reward-grid {
    grid-template-columns: 1fr;
  }

  .split-section,
  .split-section.reverse {
    gap: 28px;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .split-section.reverse {
    padding-bottom: 72px;
  }

  .reverse .content-block {
    order: 2;
  }

  .reverse .wallet-panel {
    order: 1;
  }

  .reward-grid {
    max-width: 430px;
  }
}

@media (max-width: 560px) {
  .hero-actions,
  .footer-inner {
    flex-direction: column;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-stats span {
    width: 100%;
    justify-content: center;
  }

  .button {
    width: 100%;
  }

  .content-block h2,
  .section-heading h2 {
    font-size: 30px;
  }

  footer p {
    text-align: center;
  }
}
