:root {
  --main-bg: #1B1B1B;
  --layout-bg: #262329;
  --layout-bg-lighter: #403b45;
  --element-bg: #312C35;
  --element-bg-lighter: #4d4653;
  --text-color-primary: #fff;
  --text-color-secondary: #A6A4B4;
  --text-color-primary-reverse: #262329;
  --accent-bg: #C7FF24;
  --accent-bg-hover: #ccff33;
  --accent-bg-dark: #99cc00;
  --accent-bg-25: rgba(199, 255, 36, 0.25);
  --border-color: #3B363F;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 75% 10%, rgba(199, 255, 36, 0.13), transparent 30%),
    var(--main-bg);
  color: var(--text-color-primary);
  font-family: "Rubik", Arial, sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

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

button {
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(27, 27, 27, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
.quick-actions,
.transaction,
.route-row,
.final-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--text-color-primary-reverse);
  font-weight: 700;
}

.nav {
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-login {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text-color-secondary);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav a:hover,
.header-login:hover,
.nav a.active {
  color: var(--text-color-primary);
  background: var(--element-bg);
}

.header-actions {
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 16px 22px;
  border: 1px solid var(--accent-bg);
  border-radius: 12px;
  background: var(--accent-bg);
  color: var(--text-color-primary-reverse);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  background: var(--accent-bg-hover);
  border-color: var(--accent-bg-hover);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 13px 16px;
  font-size: 14px;
}

.button-muted {
  background: var(--element-bg);
  border-color: var(--border-color);
  color: var(--text-color-primary);
}

.button-muted:hover {
  background: var(--element-bg-lighter);
  border-color: var(--element-bg-lighter);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--element-bg);
  color: var(--text-color-primary);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.section-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.8fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100dvh - 80px);
  padding-top: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--text-color-secondary);
  font-size: 14px;
  font-weight: 500;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-bg);
  box-shadow: 0 0 18px var(--accent-bg);
}

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

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 19px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 620px;
  margin-top: 22px;
  color: var(--text-color-secondary);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 34px;
}

.hero-metrics div,
.feature-card,
.security-card,
.limit-widget,
.case-grid article {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--layout-bg);
}

.hero-metrics div {
  padding: 16px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-bg);
  font-size: 22px;
  font-weight: 600;
}

.hero-metrics span,
.muted,
.transaction span,
.limit-details span,
.case-grid p,
.feature-card p,
.security-card p,
.section-heading p {
  color: var(--text-color-secondary);
}

.wallet-preview {
  position: relative;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(49, 44, 53, 0.92), rgba(38, 35, 41, 0.92));
  box-shadow: var(--shadow);
}

.wallet-preview::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(199, 255, 36, 0.34), transparent 34%, rgba(255, 255, 255, 0.08));
}

.preview-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.preview-top strong {
  display: block;
  margin-top: 7px;
  font-size: 27px;
}

.pill {
  align-self: start;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--accent-bg-25);
  color: var(--accent-bg);
  font-size: 13px;
  font-weight: 500;
}

.wallet-card {
  position: relative;
  min-height: 210px;
  margin-bottom: 16px;
  padding: 22px;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, #c7ff24, #e9ff95 45%, #f7ffe0);
  color: var(--text-color-primary-reverse);
}

.card-glow {
  position: absolute;
  right: -56px;
  top: -44px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(38, 35, 41, 0.16);
}

.card-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.chip {
  width: 42px;
  height: 30px;
  border-radius: 8px;
  background: rgba(38, 35, 41, 0.24);
}

.wallet-card strong {
  position: relative;
  display: block;
  margin-top: 78px;
  font-size: 30px;
}

.card-bottom {
  margin-top: 20px;
}

.quick-actions {
  gap: 8px;
  margin-bottom: 16px;
}

.quick-actions button {
  display: grid;
  gap: 8px;
  justify-items: center;
  flex: 1;
  min-width: 0;
  padding: 13px 10px;
  border-radius: 14px;
  background: var(--element-bg);
  color: var(--text-color-primary);
  cursor: pointer;
}

.action-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--main-bg);
  color: var(--accent-bg);
  font-weight: 600;
}

.transaction-list {
  display: grid;
  gap: 8px;
}

.transaction {
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(27, 27, 27, 0.55);
}

.transaction div {
  flex: 1;
  min-width: 0;
}

.transaction strong,
.transaction span {
  display: block;
}

.transaction span {
  margin-top: 4px;
  font-size: 13px;
}

.transaction b {
  font-size: 15px;
}

.coin {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
}

.coin-crypto {
  background: #26A17B;
}

.coin-fiat {
  background: var(--element-bg-lighter);
}

.coin img {
  display: block;
  width: 100%;
  height: 100%;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin: 0;
}

.section-heading p {
  margin-top: 16px;
  line-height: 1.55;
}

.feature-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-card,
.case-grid article {
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-bg);
  font-weight: 600;
}

.feature-card p,
.case-grid p {
  margin-top: 12px;
  line-height: 1.5;
}

.routes-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: end;
  padding: 28px;
  border-radius: 24px;
  background: var(--accent-bg);
  color: var(--text-color-primary-reverse);
}

.routes-panel .eyebrow,
.routes-panel p {
  color: rgba(38, 35, 41, 0.74);
}

.route-list {
  display: grid;
  gap: 8px;
}

.route-row {
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(38, 35, 41, 0.10);
}

.route-row span {
  font-weight: 600;
}

.route-row b {
  font-weight: 500;
}

.route-row em {
  min-width: 94px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(38, 35, 41, 0.86);
  color: var(--accent-bg);
  font-style: normal;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 12px;
  align-items: stretch;
}

.security-card,
.limit-widget {
  padding: 28px;
}

.security-card p {
  margin-top: 16px;
  max-width: 640px;
  line-height: 1.55;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-color-primary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: var(--accent-bg);
}

.limit-widget {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.limit-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 44px;
}

.limit-head span {
  color: var(--text-color-secondary);
}

.limit-head strong {
  color: var(--accent-bg);
}

.limit-line {
  height: 12px;
  padding: 3px;
  border-radius: 999px;
  background: var(--main-bg);
}

.limit-line span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-bg);
}

.limit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.limit-details div {
  padding: 14px;
  border-radius: 14px;
  background: var(--main-bg);
}

.limit-details span,
.limit-details strong {
  display: block;
}

.limit-details strong {
  margin-top: 8px;
}

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

.final-cta {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  border-radius: 24px;
  background: var(--layout-bg);
}

.final-cta h2 {
  max-width: 760px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.menu-active .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .site-header.menu-active .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-header.menu-active .nav,
  .site-header.menu-active .header-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: flex;
    background: var(--layout-bg);
    border: 1px solid var(--border-color);
  }

  .site-header.menu-active .nav {
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px 18px 0 0;
  }

  .site-header.menu-active .header-actions {
    top: 280px;
    padding: 12px;
    border-radius: 0 0 18px 18px;
  }

  .site-header.menu-active .header-actions a {
    flex: 1;
  }

  .hero,
  .routes-panel,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .section-shell {
    padding: 52px 16px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta,
  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-metrics,
  .feature-grid,
  .case-grid,
  .limit-details {
    grid-template-columns: 1fr;
  }

  .wallet-preview {
    padding: 14px;
    border-radius: 20px;
  }

  .preview-top strong {
    font-size: 22px;
  }

  .wallet-card {
    min-height: 184px;
  }

  .wallet-card strong {
    margin-top: 62px;
    font-size: 25px;
  }

  .quick-actions button {
    font-size: 13px;
  }

  .routes-panel,
  .security-card,
  .limit-widget,
  .final-cta {
    padding: 20px;
    border-radius: 20px;
  }

  .route-row {
    display: grid;
    align-items: start;
  }
}
