@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap");

:root {
  --ink: #0a0e13;
  --panel: #111720;
  --panel-2: #161e29;
  --line: #232e3b;
  --text: #e9eef4;
  --muted: #8a97a7;
  --muted-2: #5f6c7c;
  --mint: #3ed9a0;
  --mint-dim: #1e5c46;
  --red: #ff6161;
  --gold: #e8b95c;
  --gold-dim: #3a2f1b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}
h1,
h2,
h3,
.display {
  font-family: "Space Grotesk", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
::selection {
  background: var(--mint);
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- TICKER ---------- */
.ticker-wrap {
  background: #070a0e;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 50;
}
.ticker-track {
  display: inline-flex;
  gap: 36px;
  padding: 9px 0;
  animation: scrollTicker 38s linear infinite;
  will-change: transform;
}
.ticker-track span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-track span b {
  color: var(--text);
  font-weight: 500;
}
.up {
  color: var(--mint) !important;
}
.down {
  color: var(--red) !important;
}
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- NAV ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 14, 19, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.logo .dot {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: 0 0 14px rgba(62, 217, 160, 0.7);
  transform: rotate(45deg);
}
.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--muted-2);
  background: var(--panel);
}
.btn-gold {
  background: linear-gradient(180deg, #f0c876, var(--gold));
  color: #1b1408;
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn-mint {
  background: var(--mint);
  color: #04231a;
}
.btn-mint:hover {
  filter: brightness(1.08);
}
.btn:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 76px 32px 90px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.hero-glow {
  position: absolute;
  top: -140px;
  left: 8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(
    circle,
    rgba(62, 217, 160, 0.16),
    transparent 65%
  );
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--mint);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62, 217, 160, 0.08);
  border: 1px solid rgba(62, 217, 160, 0.25);
  padding: 6px 12px;
  border-radius: 5px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "●";
  font-size: 8px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 560px;
}
.hero h1 .accent {
  color: var(--mint);
}
.hero p.sub {
  margin-top: 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.hero-cta-row .btn {
  padding: 13px 24px;
  font-size: 15px;
}

.proof-row {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.proof-row div b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.proof-row div span {
  font-size: 12.5px;
  color: var(--muted-2);
}

/* candlestick backdrop */
.chart-backdrop {
  position: absolute;
  right: -40px;
  top: 40px;
  width: 480px;
  height: 340px;
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

/* ---------- REGISTRATION CARD ---------- */
.reg-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.reg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(62, 217, 160, 0.35),
    transparent 40%,
    rgba(232, 185, 92, 0.25)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.reg-card h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.reg-card p.reg-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.03em;
}
.field input {
  width: 100%;
  background: #0c1117;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.18s;
}
.field input:focus {
  outline: none;
  border-color: var(--mint);
}
.field input::placeholder {
  color: var(--muted-2);
}
.reg-card .btn-mint {
  width: 100%;
  padding: 13px;
  font-size: 14.5px;
  margin-top: 6px;
}
.reg-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
}
.reg-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted-2);
  font-size: 12px;
}
.reg-divider::before,
.reg-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.demo-note {
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

/* ---------- SECTION SHELLS ---------- */
section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 32px;
}
section.tight {
  padding-top: 70px;
  padding-bottom: 70px;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head .eyebrow {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
}
.section-head .eyebrow::before {
  display: none;
}
.section-head h2 {
  font-size: 36px;
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
  max-width: 560px;
}

.divider-line {
  max-width: 1240px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 15%,
    var(--line) 85%,
    transparent
  );
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--muted-2);
}
.about-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint-dim);
  color: var(--mint);
  margin-bottom: 18px;
  font-size: 19px;
}
.about-card h3 {
  font-size: 18px;
  margin-bottom: 9px;
  font-weight: 600;
}
.about-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- MARKETS / CHART ---------- */
.markets-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}
.chart-main {
  background: #0c1117;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.chart-main-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.chart-main-head .pair {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 17px;
}
.chart-main-head .price {
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  color: var(--mint);
}
.tf-row {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.tf-row span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--muted);
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.tf-row span.active {
  background: var(--mint-dim);
  color: var(--mint);
  border-color: transparent;
}

.ticker-mini-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticker-mini {
  background: #0c1117;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ticker-mini .sym {
  font-weight: 600;
  font-size: 14.5px;
}
.ticker-mini .sub {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", monospace;
}
.ticker-mini .val {
  text-align: right;
}
.ticker-mini .val b {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.ticker-mini .val span {
  font-size: 12px;
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- DASHBOARD MOCK ---------- */
.browser-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.browser-bar {
  background: var(--panel-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.browser-bar .dotx {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.browser-bar .urlbox {
  margin-left: 12px;
  background: #0c1117;
  border-radius: 6px;
  padding: 5px 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--muted-2);
}
.dash-body {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
}
.dash-card {
  background: #0c1117;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.dash-balance .label {
  font-size: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.dash-balance .amt {
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  margin-top: 6px;
}
.dash-balance .chg {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13.5px;
  margin-top: 4px;
}
.holdings-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.holdings-row:last-child {
  border-bottom: none;
}
.alloc-ring {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: conic-gradient(
    var(--mint) 0 45%,
    var(--gold) 45% 72%,
    #4c5d73 72% 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.alloc-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: #0c1117;
}
.alloc-ring span {
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--muted);
}
.alloc-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}
.alloc-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

/* ---------- CALCULATOR ---------- */
.calc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.calc-field {
  margin-bottom: 22px;
}
.calc-field-head {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.calc-field-head .k {
  color: var(--muted);
}
.calc-field-head .v {
  font-family: "IBM Plex Mono", monospace;
  color: var(--gold);
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid #0c1117;
  box-shadow: 0 0 0 1px var(--gold);
}
.calc-result {
  background: #0c1117;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.calc-result .label {
  font-size: 12px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.calc-result .big {
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--mint);
  margin: 8px 0 18px;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
}
.bar-chart .bar {
  flex: 1;
  background: linear-gradient(180deg, var(--mint), var(--mint-dim));
  border-radius: 3px 3px 0 0;
  min-height: 6%;
}

/* ---------- STATS ---------- */
.stats-band {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(180deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 13px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- TESTIMONIALS ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}
.testi-quote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 20px;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 11px;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--mint), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0a0e13;
}
.testi-person .name {
  font-size: 13.5px;
  font-weight: 600;
}
.testi-person .role {
  font-size: 12px;
  color: var(--muted-2);
}
.stars {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: center;
  background: radial-gradient(
    ellipse at top,
    rgba(62, 217, 160, 0.1),
    transparent 60%
  );
}
.final-cta h2 {
  font-size: 38px;
  max-width: 600px;
  margin: 0 auto 16px;
}
.final-cta p {
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 30px;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 32px 30px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-cols {
  display: flex;
  gap: 64px;
}
.footer-col h4 {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 12px;
}
.disclaimer {
  max-width: 1240px;
  margin: 20px auto 0;
  padding: 0 32px 0;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

/* toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 22px;
  font-size: 13.5px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast b {
  color: var(--mint);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 42px;
  }
  .about-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }
  .markets-panel,
  .dash-body,
  .calc-panel {
    grid-template-columns: 1fr;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .footer-cols {
    gap: 32px;
    flex-wrap: wrap;
  }
  .chart-backdrop {
    display: none;
  }
}

@media (max-width: 500px) {
  .hero-glow {
    display: none;
  }

  .nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }
}