:root {
  --bg: #09090b;
  --card: #121216;
  --border: #27272a;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --emerald: #34d399;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --sky: #38bdf8;
  --sky-bg: rgba(56, 189, 248, 0.12);
  --purple: #c084fc;
  --purple-bg: rgba(192, 132, 252, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
}

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

.nav-links a.accent {
  color: var(--emerald);
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 0 48px;
  max-width: 720px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.25);
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h1 span {
  color: var(--emerald);
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

/* CA Box */
.ca-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto 28px;
}

.ca-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.ca-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  background: #27272a;
  color: var(--text);
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: #3f3f46;
}

/* Buttons */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-primary {
  background: var(--emerald);
  color: #052e16;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.btn-secondary:hover {
  border-color: #52525b;
}

/* Sections */
section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Grid 3 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.pct {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.pct.green { color: var(--emerald); }
.pct.blue { color: var(--sky); }
.pct.purple { color: var(--purple); }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Wallets */
.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wallet-info {
  flex: 1 1 420px;
  min-width: 0;
}

.wallet-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.wallet-title {
  font-weight: 700;
  font-size: 1rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}

.tag.green { background: var(--emerald-bg); color: var(--emerald); }
.tag.blue { background: var(--sky-bg); color: var(--sky); }
.tag.purple { background: var(--purple-bg); color: var(--purple); }

.wallet-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.wallet-addr {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: #d4d4d8;
  word-break: break-all;
}

.wallet-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-link {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.btn-link.green { background: var(--emerald-bg); color: var(--emerald); }
.btn-link.blue { background: var(--sky-bg); color: var(--sky); }
.btn-link.purple { background: var(--purple-bg); color: var(--purple); }
.btn-link:hover { opacity: 0.85; }

/* Roadmap */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.phase {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--emerald);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.roadmap-title {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.roadmap-text {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  text-align: center;
  color: #71717a;
  font-size: 0.82rem;
}

footer p + p {
  margin-top: 6px;
}

@media (max-width: 600px) {
  .hero { padding-top: 48px; }
  .wallet-card { padding: 18px; }
}
