* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #060a14;
  color: #e2e8f0;
  min-height: 100vh;
}

/* Header */
.inv-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(15, 15, 35, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.inv-logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.inv-title {
  font-size: 16px;
  font-weight: 600;
  color: #94a3b8;
  flex: 1;
}
.inv-nav { display: flex; gap: 12px; }
.inv-nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.inv-nav-link:hover { color: #fff; }

/* Main */
.inv-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.inv-loading {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
  font-size: 14px;
}

/* Hero stats */
.inv-hero {
  text-align: center;
  margin-bottom: 40px;
}
.inv-hero h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.inv-hero-sub {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.inv-stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.inv-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 24px;
  min-width: 140px;
  text-align: center;
}
.inv-stat-val {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #00e5ff;
  line-height: 1.1;
}
.inv-stat-lbl {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* Value proposition */
.inv-value {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}
.inv-value-side {
  text-align: center;
  padding: 20px;
  border-radius: 12px;
}
.inv-value-diy {
  background: rgba(255, 82, 82, 0.05);
  border: 1px solid rgba(255, 82, 82, 0.12);
}
.inv-value-urbot {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
}
.inv-value-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.inv-value-diy .inv-value-label { color: rgba(255, 82, 82, 0.7); }
.inv-value-urbot .inv-value-label { color: rgba(0, 229, 255, 0.7); }
.inv-value-price {
  font-size: 2.2rem;
  font-weight: 800;
}
.inv-value-diy .inv-value-price { color: #ff5252; }
.inv-value-urbot .inv-value-price { color: #00e5ff; }
.inv-value-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 6px;
}
.inv-value-vs {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
}

/* Category breakdown */
.inv-categories {
  margin-bottom: 40px;
}
.inv-categories h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}
.inv-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.inv-cat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px;
}
.inv-cat-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}
.inv-cat-stats {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #64748b;
}
.inv-cat-stats span { color: #00e5ff; font-weight: 600; }

/* Bot table */
.inv-table-section {
  margin-bottom: 40px;
}
.inv-table-section h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}
.inv-table-search {
  width: 100%;
  max-width: 300px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 13px;
  margin-bottom: 12px;
  outline: none;
}
.inv-table-search:focus { border-color: rgba(0, 229, 255, 0.3); }

.inv-table {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.inv-row {
  display: grid;
  grid-template-columns: 36px 2fr 80px 80px 90px 1fr;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.inv-row:last-child { border-bottom: none; }
.inv-row:hover { background: rgba(255, 255, 255, 0.02); }
.inv-row-hdr {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.inv-row-hdr:hover { background: rgba(255, 255, 255, 0.04); }
.inv-col-rank { text-align: center; font-weight: 700; color: rgba(255, 255, 255, 0.35); }
.inv-row:nth-child(2) .inv-col-rank { color: #ffd700; }
.inv-row:nth-child(3) .inv-col-rank { color: #c0c0c0; }
.inv-row:nth-child(4) .inv-col-rank { color: #cd7f32; }
.inv-col-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #fff;
}
.inv-col-name img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}
.inv-col-lines, .inv-col-tokens { text-align: right; font-variant-numeric: tabular-nums; }
.inv-col-tokens { color: #00e5ff; font-weight: 600; }
.inv-col-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.inv-col-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #00e5ff, #a78bfa);
  transition: width 0.3s;
}
.inv-col-diy { text-align: right; color: #ff5252; font-weight: 600; font-size: 12px; }

/* CTA */
.inv-cta {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 16px;
}
.inv-cta h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.inv-cta p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}
.inv-cta-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #00e5ff, #a78bfa);
  color: #060a14;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.inv-cta-btn:hover { opacity: 0.9; }

@media (max-width: 768px) {
  .inv-value { grid-template-columns: 1fr; }
  .inv-value-vs { display: none; }
  .inv-row { grid-template-columns: 30px 1.5fr 70px 70px 1fr; font-size: 12px; }
  .inv-col-diy { display: none; }
  .inv-stat-card { min-width: 100px; }
}
