:root {
  --bg: #07090d;
  --panel: #0d1118;
  --panel-2: #111721;
  --line: rgba(168, 187, 214, .13);
  --text: #eef3fb;
  --muted: #8491a5;
  --dim: #5d6879;
  --lime: #b8f36b;
  --cyan: #76e4f7;
  --violet: #a988ff;
  --red: #ff7083;
  --gold: #ffd479;
  --shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(118, 228, 247, .1), transparent 34rem),
    radial-gradient(circle at 10% 10%, rgba(169, 136, 255, .08), transparent 30rem),
    var(--bg);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 9, 13, .84); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .16em; }
.brand img { width: 36px; height: 36px; object-fit: cover; border-radius: 10px; }
.brand small { display: block; color: var(--dim); font-size: 9px; letter-spacing: .18em; margin-top: 3px; }

.navlinks { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 13px; }
.navlinks a:hover { color: var(--text); }

.button {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--text); background: var(--panel-2); font-weight: 750; font-size: 13px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}
.button:hover { transform: translateY(-2px); border-color: rgba(184, 243, 107, .5); }
.button:active { transform: translateY(0) scale(.97); }
.button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.button.primary { color: #0b1107; background: var(--lime); border-color: var(--lime); box-shadow: 0 6px 24px rgba(184, 243, 107, .18); }
.button.primary:hover { border-color: var(--lime); box-shadow: 0 10px 30px rgba(184, 243, 107, .3); }
.button.ghost { background: transparent; color: var(--muted); }
.button.primary:hover { border-color: var(--lime); }
.button .arrow { display: inline-block; transition: transform .18s; }
.button:hover .arrow { transform: translateX(3px); }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  transform: scale(0); animation: ripple .55s ease-out forwards;
  background: rgba(255, 255, 255, .38);
}
.ripple.dark { background: rgba(11, 17, 7, .22); }
@keyframes ripple { to { transform: scale(3); opacity: 0; } }
.spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff;
  animation: spin .7s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero { padding: 84px 0 52px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: end; }

.eyebrow { color: var(--lime); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 850; }

h1 {
  margin: 16px 0 18px; max-width: 760px;
  font-size: clamp(42px, 7vw, 82px); line-height: .98; letter-spacing: -.065em;
}
h1 span { color: var(--cyan); }

.hero-copy { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.75; }

.hero-features { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-features li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.hero-features li::before {
  content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); flex-shrink: 0; box-shadow: 0 0 8px var(--lime);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.status-card {
  padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 23, 33, .94), rgba(13, 17, 24, .85));
  box-shadow: var(--shadow);
}
.status-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.status-label { font-size: 11px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.live i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.status-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }
.status-row span:first-child { color: var(--muted); }
.status-row span:last-child { color: var(--text); font-weight: 700; text-align: right; }
.status-row .good { color: var(--lime); }

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: rgba(13, 17, 24, .82);
}
.metric { padding: 22px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }

.metric-icon, .flow-icon, .tool-icon {
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid rgba(118, 228, 247, .22); border-radius: 11px;
  color: var(--cyan); background: rgba(118, 228, 247, .07);
  font-size: 19px; font-weight: 800; line-height: 1;
}
.metric-icon { margin-bottom: 15px; }
.metric-value { display: block; font-size: 25px; font-weight: 850; letter-spacing: -.04em; }
.metric-label { color: var(--dim); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; margin-top: 8px; }

.section { padding: 72px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-title { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.5; }

.radar { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(13, 17, 24, .86); box-shadow: var(--shadow); }
.radar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.source { color: var(--muted); font-size: 12px; }
.source strong { color: var(--cyan); font-weight: 750; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th {
  color: var(--dim); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line);
}
td { padding: 16px; border-bottom: 1px solid rgba(168, 187, 214, .08); color: var(--muted); font-size: 13px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(118, 228, 247, .035); }

.token { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; cursor: pointer; transition: color .15s; }
.token:hover .token-name { color: var(--cyan); }
.token:hover .token-mark { border-color: rgba(118, 228, 247, .5); color: var(--cyan); background: rgba(118, 228, 247, .09); }
.token-mark {
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid rgba(184, 243, 107, .25); border-radius: 9px;
  color: var(--lime); background: rgba(184, 243, 107, .07); font-size: 11px;
}
.token-name { display: block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.token-symbol { display: block; color: var(--dim); font-size: 10px; letter-spacing: .08em; margin-top: 2px; }

.positive { color: var(--lime); font-weight: 800; }
.negative { color: var(--red); font-weight: 800; }
.neutral { color: var(--dim); }
.chain { color: var(--violet); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.view-link { color: var(--cyan); font-size: 12px; font-weight: 750; }

.notice {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px; margin-top: 14px;
  border: 1px solid rgba(255, 212, 121, .2); border-radius: 12px;
  color: var(--muted); background: rgba(255, 212, 121, .04); font-size: 12px; line-height: 1.6;
}
.notice b { color: var(--gold); }

.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flow-card { padding: 24px; min-height: 190px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.flow-icon { color: var(--lime); border-color: rgba(184, 243, 107, .24); background: rgba(184, 243, 107, .07); margin-bottom: 20px; }
.flow-num { color: var(--lime); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.flow-card h3 { margin: 38px 0 9px; font-size: 18px; letter-spacing: -.02em; }
.flow-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }

.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool { display: block; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: transform .18s, border-color .18s; }
.tool:hover { transform: translateY(-3px); border-color: rgba(169, 136, 255, .5); }
.tool-top { display: flex; align-items: center; gap: 11px; }
.tool-icon { width: 32px; height: 32px; font-size: 16px; color: var(--violet); border-color: rgba(169, 136, 255, .25); background: rgba(169, 136, 255, .07); }
.tool-mark { color: var(--cyan); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.tool h3 { margin: 15px 0 7px; font-size: 15px; }
.tool p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.comments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.comment {
  padding: 19px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--panel); display: flex; flex-direction: column; gap: 13px;
  transition: transform .18s, border-color .18s;
}
.comment:hover { transform: translateY(-3px); border-color: rgba(184, 243, 107, .4); }
.comment-head { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid rgba(118, 228, 247, .25); border-radius: 50%;
  color: var(--cyan); background: rgba(118, 228, 247, .07);
  font-size: 14px; font-weight: 850; line-height: 1;
}
.comment-meta strong { display: block; font-size: 13px; letter-spacing: -.01em; }
.comment-role { display: block; color: var(--dim); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.comment p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.cta {
  margin: 72px 0; padding: 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid rgba(184, 243, 107, .25); border-radius: 18px;
  background: linear-gradient(115deg, rgba(184, 243, 107, .09), rgba(118, 228, 247, .04));
}
.cta h2 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.04em; }
.cta p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

footer { padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow-grid { grid-template-columns: 1fr; }
  .comments { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .navlinks a:not(.button) { display: none; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { height: 62px; }
  .brand { font-size: 12px; }
  .brand img { width: 30px; height: 30px; }
  .hero { padding-top: 54px; }
  h1 { font-size: 49px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 15px; }
  .metric-icon { width: 32px; height: 32px; margin-bottom: 11px; }
  .metric-value { font-size: 20px; }
  .section { padding-top: 50px; }
  .section-head { display: block; }
  .section-note { margin-top: 8px; }
  .comments { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .cta { display: block; padding: 24px; }
  .cta .button { margin-top: 18px; width: 100%; }
}
