:root {
  --bg-0: #05060b;
  --bg-1: #0a0c16;
  --bg-2: #10132099;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hi: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.14);
  --text: #e9ecf5;
  --text-dim: #8b94ad;
  --text-soft: #b8c0d4;
  --brand: #7c5cff;
  --brand-2: #19e3b1;
  --brand-3: #3aa9ff;
  --up: #19e3b1;
  --down: #ff6b6b;
  --shadow-xl: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  --grad: linear-gradient(135deg, #7c5cff 0%, #3aa9ff 50%, #19e3b1 100%);
  --radius: 20px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Background effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.8) 0%, transparent 70%);
  z-index: -2;
  pointer-events: none;
}
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.orb-1 { width: 520px; height: 520px; background: #5a2fff; top: -120px; left: -120px; animation: drift 24s ease-in-out infinite; }
.orb-2 { width: 600px; height: 600px; background: #0ea57f; top: 30%; right: -180px; animation: drift 28s ease-in-out infinite reverse; }
.orb-3 { width: 460px; height: 460px; background: #1762d1; bottom: -180px; left: 30%; animation: drift 32s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 60px -20px rgba(0,0,0,0.6);
}

/* Nav */
.nav {
  position: sticky;
  top: 20px;
  z-index: 50;
  padding: 0 24px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px 14px 22px;
  border-radius: 999px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: var(--grad);
  color: #0a0c16;
  box-shadow: 0 10px 30px -10px rgba(124,92,255,0.6), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -10px rgba(124,92,255,0.8); }
.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--border-hi); }

/* Typography helpers */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { color: var(--text-soft); margin: 0; }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero {
  padding: 80px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 24px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(25,227,177,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(25,227,177,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(25,227,177,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,227,177,0); }
}
.hero-copy h1 { margin-bottom: 22px; }
.lead {
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--text-soft);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-meta strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 12.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero card */
.hero-card {
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.card-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124,92,255,0.35), transparent 70%);
  top: -50px;
  right: -80px;
  pointer-events: none;
  z-index: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.asset { display: flex; gap: 12px; align-items: center; }
.asset-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.asset-icon.btc { background: linear-gradient(135deg, #f7931a, #ffc371); }
.asset-icon.eth { background: linear-gradient(135deg, #627eea, #8da3ff); color: white; }
.asset-icon.sol { background: linear-gradient(135deg, #14f195, #9945ff); color: white; }
.asset-icon.avax { background: linear-gradient(135deg, #e84142, #ff7e7f); color: white; }
.asset-name { font-weight: 600; font-size: 15px; }
.asset-sub { font-size: 12px; color: var(--text-dim); }
.asset-price { text-align: right; }
.price-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.price-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 4px;
}
.price-change.up { background: rgba(25,227,177,0.12); color: var(--up); }
.price-change.down { background: rgba(255,107,107,0.12); color: var(--down); }

.chart-wrap {
  position: relative;
  height: 220px;
  margin: 8px 0 10px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border);
}
.chart { width: 100%; height: 100%; display: block; }

.ticker {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.ticker-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background .2s;
}
.ticker-row:hover { background: rgba(255,255,255,0.05); }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.eth { background: #627eea; }
.dot.sol { background: #14f195; }
.dot.avax { background: #e84142; }
.t-sym { font-weight: 700; font-size: 13px; }
.t-spark { height: 20px; opacity: 0.85; }
.t-spark svg { width: 60px; height: 20px; display: block; }
.t-price { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; }
.t-chg { font-size: 12px; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.t-chg.up { color: var(--up); }
.t-chg.down { color: var(--down); }

/* Sections */
.section { padding: 90px 0; position: relative; }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-2);
  margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 16px; max-width: 600px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Markets */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.market-card { padding: 20px; }
.mc-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.mc-head .asset-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 15px; }
.mc-price { text-align: right; font-family: 'JetBrains Mono', monospace; font-weight: 700; }
.mini-chart { width: 100%; height: 120px; display: block; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  padding: 28px;
  position: relative;
  transition: transform .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124,92,255,0.2), rgba(25,227,177,0.12));
  color: var(--brand-2);
  border: 1px solid var(--border);
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 14.5px; margin-bottom: 14px; }
.feature ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}
.feature ul li::before {
  content: "→ ";
  color: var(--brand-2);
  margin-right: 4px;
}

/* Wallets */
.wallets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.wallets-copy h2 { margin-bottom: 14px; }
.wallets-copy p { margin-bottom: 24px; font-size: 16px; }
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
}
.check-list svg { color: var(--brand-2); flex-shrink: 0; }

.wallet-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px;
}
.orbit {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  animation: spin 40s linear infinite;
}
.orbit-ring.r1 { width: 220px; height: 220px; }
.orbit-ring.r2 { width: 320px; height: 320px; animation-duration: 55s; animation-direction: reverse; }
.orbit-ring.r3 { width: 420px; height: 420px; animation-duration: 70s; }
@keyframes spin { to { transform: rotate(360deg); } }

.wallet-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(calc(cos(var(--angle)) * var(--r)), calc(sin(var(--angle)) * var(--r)));
  transition: transform .3s;
}
.wallet-chip:hover { transform: translate(calc(cos(var(--angle)) * var(--r)), calc(sin(var(--angle)) * var(--r))) scale(1.08); }
.wallet-chip.center {
  position: relative;
  transform: none;
  padding: 14px 20px;
  font-size: 15px;
  box-shadow: 0 20px 60px -10px rgba(124,92,255,0.4);
  border-color: var(--border-hi);
}
.wlogo {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}

/* Trust */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 36px 0;
  margin-bottom: 40px;
}
.trust-stats > div {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.trust-stats > div:last-child { border-right: none; }
.trust-stats strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.trust-stats span {
  font-size: 13px;
  color: var(--text-dim);
}

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
}
.badge-ico {
  font-size: 26px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.badge strong { display: block; font-size: 14px; font-weight: 600; }
.badge span { font-size: 12.5px; color: var(--text-dim); }

.quote {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 40px;
  text-align: center;
}
.quote p {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.quote footer { font-size: 13px; color: var(--text-dim); }

/* CTA */
.cta-card {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(124,92,255,0.12), rgba(25,227,177,0.05));
  border: 1px solid var(--border-hi);
}
.cta-card h2 { margin-bottom: 14px; }
.cta-card p { font-size: 17px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}
.foot-note { font-size: 13.5px; color: var(--text-dim); margin-top: 14px; max-width: 320px; }
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.foot-cols h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.foot-cols a {
  display: block;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}
.foot-cols a:hover { color: var(--text); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.status { display: inline-flex; align-items: center; gap: 8px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .wallets-grid { grid-template-columns: 1fr; }
  .markets-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
  .trust-stats > div:nth-child(2) { border-right: none; }
  .trust-stats > div:nth-child(1), .trust-stats > div:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
  .badges { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 20px; }
  .markets-grid, .features-grid, .badges, .foot-cols { grid-template-columns: 1fr; }
  .hero-meta { flex-wrap: wrap; gap: 20px; }
  .trust-stats { grid-template-columns: 1fr; }
  .trust-stats > div { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .trust-stats > div:last-child { border-bottom: none; }
  .foot-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .orbit { transform: scale(0.75); }
}
