:root {
  --bg-dark: #07090e;
  --bg-card: #0d121c;
  --border-color: #1a2336;
  --sol-purple: #9945FF;
  --sol-green: #14F195;
  --accent-cyan: #06b6d4;
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
}

.top-nav {
  background: rgba(13, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-group { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}
.gradient-text {
  background: linear-gradient(135deg, var(--sol-purple) 0%, var(--sol-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.badge-radar {
  background: rgba(20, 241, 149, 0.15);
  color: var(--sol-green);
  border: 1px solid rgba(20, 241, 149, 0.35);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.nav-controls { display: flex; align-items: center; gap: 1rem; }
.lang-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn.active {
  background: rgba(153, 69, 255, 0.25);
  color: #c084fc;
}
.nav-link-home {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-link-home:hover { color: var(--sol-green); }

/* Main */
.main-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.hero-section { text-align: center; margin-bottom: 2.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(153, 69, 255, 0.1);
  color: #c084fc;
  border: 1px solid rgba(153, 69, 255, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.hero-desc {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Card */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}
.status-indicator { display: flex; align-items: center; gap: 0.5rem; }
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sol-green);
  box-shadow: 0 0 10px var(--sol-green);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.status-text { font-size: 0.88rem; font-weight: 700; color: var(--sol-green); }
.timer-tag { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* Tiers Grid */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.tier-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.tier-box.featured {
  border-color: rgba(20, 241, 149, 0.4);
  background: rgba(20, 241, 149, 0.05);
}
.rec-pill {
  position: absolute;
  top: -10px;
  background: var(--sol-green);
  color: #04121e;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.t-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}
.t-slow { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.t-fast { background: rgba(20, 241, 149, 0.15); color: var(--sol-green); }
.t-turbo { background: rgba(249, 115, 22, 0.15); color: var(--accent-orange); }
.t-degen { background: rgba(239, 68, 68, 0.15); color: #f87171; }

.t-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.text-sol { color: var(--sol-green); }
.text-orange { color: var(--accent-orange); }
.text-danger { color: #f87171; }

.t-unit { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.t-cost { font-family: var(--font-mono); font-size: 0.82rem; color: #94a3b8; margin-bottom: 1rem; }

.btn-copy-tier {
  width: 100%;
  background: #1e2638;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy-tier.primary {
  background: var(--sol-green);
  color: #04121e;
  border: none;
}
.btn-copy-tier:hover { filter: brightness(1.15); }

/* Jito MEV Section */
.jito-section {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
}
.jito-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.jito-title { font-size: 0.9rem; font-weight: 700; }
.jito-badge {
  background: rgba(153, 69, 255, 0.15);
  color: #c084fc;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.jito-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.jito-col {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.jito-col.highlight {
  border-left: 2px solid var(--sol-green);
  padding-left: 0.75rem;
}
.j-percentile { font-size: 0.75rem; color: var(--text-muted); }
.j-val { font-family: var(--font-mono); font-size: 1.15rem; font-weight: 700; }
.text-green { color: var(--sol-green); }

/* Bots */
.bots-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}
.bots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.bot-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.bot-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.bot-icon { font-size: 1.75rem; }
.bot-name { font-weight: 700; font-size: 1rem; }
.bot-tagline { font-size: 0.72rem; color: var(--sol-green); font-weight: 600; }
.bot-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 1.25rem; flex: 1; }
.btn-bot {
  text-decoration: none;
  background: linear-gradient(135deg, var(--sol-purple) 0%, #7c3aed 100%);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.btn-bot:hover { filter: brightness(1.15); transform: translateY(-1px); }
