/* DustVault — dark, gold, precise */

:root {
  --bg: #0A0A0B;
  --surface: #131316;
  --surface2: #1C1C21;
  --border: #2A2A32;
  --fg: #F0EDE8;
  --fg-muted: #7A7880;
  --gold: #F59E0B;
  --gold-dim: rgba(245, 158, 11, 0.15);
  --gold-border: rgba(245, 158, 11, 0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: 100px 48px 80px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 40%, transparent 100%);
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: float 8s ease-in-out infinite;
}

.p1 { width: 6px; height: 6px; top: 20%; left: 15%; animation-delay: 0s; }
.p2 { width: 4px; height: 4px; top: 30%; left: 80%; animation-delay: 1.5s; }
.p3 { width: 8px; height: 8px; top: 60%; left: 70%; animation-delay: 3s; }
.p4 { width: 3px; height: 3px; top: 45%; left: 30%; animation-delay: 2s; }
.p5 { width: 5px; height: 5px; top: 75%; left: 85%; animation-delay: 4s; }
.p6 { width: 4px; height: 4px; top: 15%; left: 60%; animation-delay: 5s; }

@keyframes float {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.6; }
  50% { opacity: 0.3; transform: translateY(-30px); }
  80% { opacity: 0.5; }
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 32px;
  font-family: 'DM Mono', monospace;
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(42px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-title .gold { color: var(--gold); }

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* Wallet cards */
.hero-visual {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.wallet-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 240px;
  flex: 1;
}

.wallet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.wallet-header:last-of-type { border-bottom: none; }

.chain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.eth { background: #627EEA; }
.btc { background: #F7931A; }
.sol { background: #9945FF; }
.arb { background: #28A0F0; }

.chain-name {
  font-size: 13px;
  color: var(--fg-muted);
  flex: 1;
}

.chain-bal {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--fg);
}

.chain-bal.dust { color: var(--gold); }

.wallet-divider {
  height: 1px;
  background: var(--gold-border);
  margin: 12px 0;
}

.wallet-total { display: flex; flex-direction: column; gap: 4px; }

.total-label {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'DM Mono', monospace;
}

.total-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.rec-badge {
  font-size: 11px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
}

.arrow-right {
  flex-shrink: 0;
  animation: drift 3s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.wallet-card.output {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.output-icon { display: flex; }

.output-label {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
}

.output-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
}

.output-fee {
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'DM Mono', monospace;
}

/* ---- STATS ---- */
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stat-item {
  text-align: center;
  flex: 1;
  padding: 0 40px;
}

.stat-number {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.04em;
  font-family: 'DM Mono', monospace;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 14px;
  color: var(--fg-muted);
  max-width: 200px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- SECTION HEADER ---- */
.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
}

/* ---- HOW ---- */
.how {
  padding: 100px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.step-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  font-family: 'DM Mono', monospace;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}

.step-body h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-body p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}

.step-arrow {
  display: flex;
  align-items: center;
  padding-top: 28px;
  flex-shrink: 0;
}

/* ---- CHAINS ---- */
.chains {
  padding: 80px 48px;
  background: var(--surface);
}

.chains .section-header {
  max-width: 1100px;
  margin: 0 auto 56px;
}

.chain-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.chain-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  transition: border-color 0.2s, background 0.2s;
}

.chain-chip:hover {
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

.chain-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.btc-icon { background: #F7931A; color: #fff; }
.eth-icon { background: #627EEA; color: #fff; }
.sol-icon { background: #9945FF; color: #fff; }
.gen-icon { background: var(--border); }

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 100px 48px;
  background: var(--bg);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.manifesto-quote {
  position: relative;
}

.quote-mark {
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 24px;
}

.manifesto-quote p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--fg);
  font-style: italic;
}

.manifesto-body h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.manifesto-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 48px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.closing h2 .gold { color: var(--gold); }

.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.closing-model {
  font-size: 14px;
  color: var(--gold);
  font-family: 'DM Mono', monospace;
  margin-top: 32px;
}

/* ---- FOOTER ---- */
footer {
  padding: 32px 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 60px 24px 60px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-visual { flex-direction: column; align-items: stretch; }
  .wallet-card { min-width: 100%; }
  .stats { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .how { padding: 60px 24px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
  .chains { padding: 60px 24px; }
  .closing { padding: 80px 24px; }
  footer { padding: 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}