/* ==========================================================================
   HOODRUNS - THE FRONT PAGE OF THE ROBINHOOD TRENCHES (EXACT REPLICA)
   Design System: Dark Cyber (#07090e), Space Grotesk + JetBrains Mono,
                  Electric Lime Neon Green (#00ff66, #10b981), Live Trenches Scanner,
                  Alert History Table, Virtuals.io AI Agent Integration
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-0: #07090e;
  --surface-0: #0e121a;
  --surface-1: #161c28;
  --surface-2: #1e2638;
  --surface-3: #2a344a;

  --stroke: rgba(0, 255, 102, 0.12);
  --stroke-strong: rgba(0, 255, 102, 0.3);

  --text-1: #ffffff;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;

  --lime-neon: #00ff66;
  --lime-dark: #10b981;
  --lime-matrix: #00cc52;
  --cyan: #38bdf8;
  --purple: #a855f7;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.55;
  background:
    radial-gradient(100% 50% at 50% 0%, rgba(0, 255, 102, 0.08) 0%, transparent 70%),
    var(--bg-0);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* Layout Wrappers */
.wrap-1280 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-1440 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 102, 0.15);
}

.navbar-inner {
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.brand-logo span.runners {
  color: var(--lime-neon);
}

.chain-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.25);
  color: var(--lime-neon);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  color: var(--text-2);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-1);
}

/* Buttons */
.btn-lime {
  background: var(--lime-neon);
  color: #07090e;
  padding: 10px 22px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
  transition: all 0.2s ease;
}

.btn-lime:hover {
  background: #33ff85;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
}

.btn-outline-lime {
  background: transparent;
  color: var(--lime-neon);
  padding: 10px 22px;
  border-radius: 9px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--lime-neon);
  transition: all 0.2s ease;
}

.btn-outline-lime:hover {
  background: rgba(0, 255, 102, 0.1);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 96px 0 64px;
  position: relative;
  text-align: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 102, 0.08);
  border: 1px solid var(--stroke-strong);
  color: var(--lime-neon);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

h1.hero-h {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-1);
}

h1.hero-h span.highlight {
  color: var(--lime-neon);
  text-shadow: 0 0 30px rgba(0, 255, 102, 0.5);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Live Alert Marquee Strip */
.alert-strip {
  background: var(--surface-0);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  user-select: none;
}

.alert-track {
  display: flex;
  width: max-content;
  animation: alert-scroll 35s linear infinite;
}

.alert-item {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-2);
  white-space: nowrap;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.alert-item strong {
  color: var(--lime-neon);
}

@keyframes alert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Live Trenches Scanner Card */
.scanner-card {
  background: var(--surface-0);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.scanner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--stroke);
  padding-bottom: 16px;
}

.scanner-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Alert History Table */
.alert-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.alert-table th {
  text-align: left;
  padding: 14px 18px;
  color: var(--text-3);
  border-bottom: 1px solid var(--stroke);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.alert-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-2);
}

.alert-table tr:hover td {
  background: rgba(0, 255, 102, 0.04);
  color: var(--text-1);
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-1);
}

.gain-badge {
  background: rgba(0, 255, 102, 0.15);
  color: var(--lime-neon);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

/* Footer */
footer {
  border-top: 1px solid var(--stroke);
  padding: 80px 0 60px;
  background: var(--bg-0);
}

/* Modals & Toasts */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 14, 0.88);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-hoodruns {
  background: var(--surface-0);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.toast-hoodruns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  background: var(--surface-1);
  border: 1px solid var(--stroke-strong);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--lime-neon);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Bento Feature Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.bento-card {
  background: var(--surface-0);
  border: 1px solid var(--stroke-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-neon);
  box-shadow: 0 12px 30px rgba(0, 255, 102, 0.15);
}

.bento-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-1);
}

.bento-card p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-item {
  background: var(--surface-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
}

.faq-accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  cursor: pointer;
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-accordion-body {
  padding-bottom: 20px;
}

.faq-accordion-body p {
  color: var(--text-2);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Analytics Cards */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.analytics-card {
  background: var(--surface-0);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.analytics-card .val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--lime-neon);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .analytics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
}

