/* Vextrix homepage — self-contained (no Bootstrap, no public-site overrides) */
body.vx-home {
  margin: 0;
  min-height: 100%;
  background: #f5f5f6 !important;
  background-image: none !important;
  color: #171717;
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}
body.vx-home #vx-page-loader {
  background: #f5f5f6;
}

.vx-home a { color: inherit; text-decoration: none; }
.vx-home * { box-sizing: border-box; }
.vx-home img { max-width: 100%; display: block; }

.vxh-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.vxh-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e11d48;
}

/* ----- Hero ----- */
.vxh-hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
}
.vxh-hero::before {
  content: '';
  position: absolute;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.12), transparent 65%);
  pointer-events: none;
}
.vxh-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.vxh-hero h1 {
  margin: 0;
  max-width: 11ch;
  font-family: 'Archivo Black', 'Sora', sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 70px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #171717;
}
.vxh-hero h1 .line { display: block; }
.vxh-hero h1 .band {
  display: inline-block;
  margin: 0.1em 0;
  padding: 0.06em 0.28em;
  background: #e11d48;
  color: #ffffff;
  transform: rotate(-1.5deg);
}
.vxh-hero .lead {
  margin: 22px 0 0;
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.55;
  color: #6b7280;
}
.vxh-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.vxh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.vxh-btn svg { width: 16px; height: 16px; }
.vxh-btn-volt {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff;
  border-radius: 999px;
}
.vxh-btn-volt:hover {
  background: #be123c;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #000;
}
.vxh-btn-ghost {
  background: #f3f4f6;
  border-color: #e8e8ea;
  color: #171717;
  border-radius: 999px;
}
.vxh-btn-ghost:hover { border-color: #e11d48; }
.vxh-trust {
  margin-top: 28px;
  font-size: 13px;
  color: #6b7280;
}
.vxh-trust b {
  display: block;
  margin-bottom: 4px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  color: #171717;
}

/* Phone mock */
.vxh-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  min-height: 520px;
}
.vxh-phone {
  width: 260px;
  height: 520px;
  position: relative;
  padding: 12px;
  border-radius: 38px;
  border: 2px solid #2b2b30;
  background: #0e0e10;
  box-shadow: 0 36px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 5px #050506;
  transform: rotate(-4deg);
}
.vxh-phone.alt {
  display: none;
  transform: rotate(5deg) translateY(40px);
}
.vxh-phone::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 22px;
  border-radius: 16px;
  background: #000;
  z-index: 2;
}
.vxh-phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
  padding: 42px 12px 12px;
  background: #f5f5f6;
  font-size: 12px;
}
.vxh-phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 600;
}
.vxh-card-grad {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1.7;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2f8f5b 0%, #7ee0b5 45%, #3b6d8f 100%);
}
.vxh-card-grad .brand {
  font-family: 'Sora', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 18px;
}
.vxh-balance { text-align: center; margin: 6px 0 12px; }
.vxh-balance small { display: block; color: #6b7280; font-size: 11px; }
.vxh-balance strong {
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
}
.vxh-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.vxh-actions span {
  text-align: center;
  border-radius: 999px;
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 700;
  background: #222;
}
.vxh-actions span.on { background: #e11d48; color: #ffffff; }
.vxh-tx {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 9px;
  border-radius: 12px;
  background: #ffffff;
}
.vxh-tx > i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #f3f4f6;
  font-style: normal;
  flex-shrink: 0;
}
.vxh-tx .up {
  margin-left: auto;
  color: #4ade80;
  font-weight: 700;
}
.vxh-tx .dn {
  margin-left: auto;
  color: #ff5c5c;
  font-weight: 700;
}
.vxh-bnav {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #222;
}
.vxh-bnav span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2d2d31;
}
.vxh-bnav span.on { background: #fff; color: #000; }

/* Marquee */
.vxh-marquee {
  overflow: hidden;
  border-block: 1px solid #e8e8ea;
  background: #ffffff;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.vxh-marquee-track {
  display: flex;
  gap: 2.25rem;
  width: max-content;
  padding: 15px 0;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  animation: vxh-marquee 28s linear infinite;
}
.vxh-marquee-track span { white-space: nowrap; }
.vxh-marquee-track i { color: #e11d48; font-style: normal; }
@keyframes vxh-marquee { to { transform: translateX(-50%); } }

/* Sections */
.vxh-section { padding: 72px 0; }
.vxh-section.tight { padding-top: 0; }

.vxh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.vxh-stat {
  padding: 26px 18px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e8e8ea;
  border-radius: 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.vxh-stat:hover {
  border-color: #e11d48;
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #000;
}
.vxh-stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #e11d48;
}
.vxh-stat span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #6b7280;
}

.vxh-head {
  max-width: 520px;
  margin: 0 auto 36px;
  text-align: center;
}
.vxh-head h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.vxh-head p {
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 15px;
}

.vxh-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vxh-linkcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 196px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e8e8ea;
  border-radius: 18px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.vxh-linkcard:hover {
  border-color: #e11d48;
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #000;
}
.vxh-linkcard .ic {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e11d48;
  color: #ffffff;
}
.vxh-linkcard .ic svg { width: 20px; height: 20px; }
.vxh-linkcard h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.vxh-linkcard p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: #6b7280;
}
.vxh-linkcard .go {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #e11d48;
}

.vxh-markets { display: grid; gap: 8px; }
.vxh-mrow {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #e8e8ea;
  border-radius: 16px;
}
.vxh-mrow:hover { border-color: #e11d48; }
.vxh-mrow b {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
}
.vxh-mrow .muted {
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
}
.vxh-mrow .pos { color: #4ade80; font-weight: 700; }
.vxh-mrow .neg { color: #ff5c5c; font-weight: 700; }
.vxh-mrow .trade {
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  background: #e11d48;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0;
}
.vxh-center { text-align: center; margin-top: 22px; }

.vxh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.vxh-step .num {
  margin-bottom: 8px;
  font-family: 'Archivo Black', 'Sora', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #e11d48;
}
.vxh-step h3 {
  margin: 0 0 8px;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
  font-weight: 700;
}
.vxh-step p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.vxh-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  background: #e11d48;
  color: #ffffff;
}
.vxh-cta .vxh-eyebrow { color: #ffffff; opacity: 0.9; }
.vxh-cta h2 {
  margin: 0;
  max-width: 14ch;
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.1;
}
.vxh-cta p {
  margin: 8px 0 0;
  max-width: 36ch;
  opacity: 0.75;
  font-size: 14px;
}
.vxh-cta .vxh-btn-volt {
  background: #ffffff;
  border-color: #ffffff;
  color: #e11d48;
}
.vxh-cta .vxh-btn-volt:hover {
  background: #fff1f2;
  color: #be123c;
  box-shadow: none;
}
.vxh-cta .vxh-btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #ffffff;
}

/* Footer on home */
body.vx-home .public-footer {
  background: #f5f5f6;
  border-top: 1px solid #e8e8ea;
}
body.vx-home .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (min-width: 960px) {
  .vxh-phone.alt { display: block; }
}
@media (max-width: 959px) {
  .vxh-hero { padding: 32px 0 40px; }
  .vxh-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .vxh-phone-wrap { min-height: 0; }
  .vxh-phone { margin: 0 auto; transform: none; }
  .vxh-stats { grid-template-columns: 1fr 1fr; }
  .vxh-links { grid-template-columns: 1fr; }
  .vxh-steps { grid-template-columns: 1fr 1fr; }
  .vxh-mrow { grid-template-columns: 1fr 1fr; }
  .vxh-mrow .trade { grid-column: 1 / -1; justify-content: center; }
}
@media (max-width: 520px) {
  .vxh-wrap { width: calc(100% - 28px); }
  .vxh-stats,
  .vxh-steps { grid-template-columns: 1fr; }
  .vxh-cta { padding: 28px 20px; }
  .vxh-section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .vxh-marquee-track { animation: none; }
}
