/* BitBest.com — AI Earning Bot Theme */
:root {
  --bg-deep: #050810;
  --bg-panel: #0a0f1a;
  --bg-card: #0d1525;
  --border: rgba(0, 212, 255, 0.15);
  --cyan: #00d4ff;
  --cyan-dim: rgba(0, 212, 255, 0.6);
  --purple: #a855f7;
  --green: #00ff88;
  --gold: #fbbf24;
  --red: #ff4466;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --font-display: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-green: 0 0 20px rgba(0, 255, 136, 0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background effects */
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color, rgba(0, 212, 255, 0.03)) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color, rgba(0, 212, 255, 0.03)) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.accent { color: var(--cyan); }
.gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #0099cc);
  color: var(--bg-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
}

.btn-lg { padding: 16px 32px; font-size: 0.85rem; }

.btn-glow {
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 212, 255, 0.6); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 36px;
  height: 36px;
  color: var(--cyan);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--green);
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-desc strong { color: var(--cyan); }

.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  min-width: 100px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Bot Panel */
.bot-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.panel-dots { display: flex; gap: 6px; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.yellow { background: var(--gold); }
.dot.green { background: var(--green); }

.panel-title {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  flex: 1;
}

.panel-status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
}

.panel-status.online {
  color: var(--green);
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.panel-body { padding: 24px; }

/* Bot Avatar */
.bot-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  overflow: hidden;
}

.bot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-1 {
  border-color: rgba(0, 212, 255, 0.3);
  animation: spin 8s linear infinite;
}

.ring-2 {
  inset: 10px;
  border-color: rgba(168, 85, 247, 0.3);
  animation: spin 6s linear infinite reverse;
}

.ring-3 {
  inset: 20px;
  border-color: rgba(0, 255, 136, 0.3);
  animation: spin 4s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.bot-face {
  position: absolute;
  inset: 30px;
  background: linear-gradient(145deg, #1a2540, #0d1525);
  border-radius: 50%;
  border: 2px solid var(--cyan);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-cyan);
}

.bot-eyes {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
}

.eye {
  width: 12px;
  height: 12px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 4s ease infinite;
}

@keyframes blink {
  0%, 48%, 52%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

.bot-mouth {
  width: 24px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--green);
  animation: talk 2s ease infinite;
}

@keyframes talk {
  0%, 100% { width: 24px; }
  50% { width: 32px; }
}

/* Terminal */
.terminal-log {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  height: 120px;
  overflow-y: auto;
  font-size: 0.7rem;
  margin-bottom: 16px;
}

.log-line { margin-bottom: 4px; }
.log-time { color: var(--text-dim); }
.log-info { color: var(--cyan); }
.log-success { color: var(--green); }
.log-warn { color: var(--gold); }

.live-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.metric {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
}

.metric-label {
  display: block;
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.metric-value.green { color: var(--green); }
.metric-value.cyan { color: var(--cyan); }
.metric-value.purple { color: var(--purple); }

.progress-section { margin-top: 8px; }

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 3px;
  transition: width 0.5s ease;
  box-shadow: var(--glow-green);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Tiers */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tier-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.tier-card.featured {
  border-color: var(--purple);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), var(--bg-card));
}

.featured-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 10px;
}

.tier-badge {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.tier-rate {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.tier-1 .tier-rate { color: #60a5fa; }
.tier-2 .tier-rate { color: var(--cyan); }
.tier-3 .tier-rate { color: var(--purple); }
.tier-4 .tier-rate { color: var(--gold); }

.tier-rate span { font-size: 1.5rem; }

.tier-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.tier-reqs {
  list-style: none;
  text-align: left;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.tier-reqs li { margin-bottom: 6px; }
.tier-reqs strong { color: var(--text); }

.req-icon { color: var(--cyan); margin-right: 4px; }

.or-divider {
  text-align: center;
  color: var(--purple) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.1em;
  margin: 8px 0 !important;
}

.tier-bar {
  height: 4px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.tier-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.tier-1 .tier-bar-fill { background: #60a5fa; }
.tier-2 .tier-bar-fill { background: var(--cyan); }
.tier-3 .tier-bar-fill { background: var(--purple); }
.tier-4 .tier-bar-fill { background: var(--gold); }

/* Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.calc-panel, .bv-table-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.calc-panel h3, .bv-table-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--cyan);
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.input-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-group input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.input-group small {
  display: block;
  margin-top: 6px;
  font-size: 0.65rem;
  color: var(--text-dim);
}

.calc-result {
  margin-top: 24px;
  padding: 20px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.result-tier {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.result-rate {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.data-table th {
  text-align: left;
  padding: 12px 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-table .highlight {
  color: var(--green);
  font-weight: 600;
}

.tier-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.tier-dot.t1 { background: #60a5fa; }
.tier-dot.t2 { background: var(--cyan); }
.tier-dot.t3 { background: var(--purple); }
.tier-dot.t4 { background: var(--gold); }

/* Team Levels */
.levels-visual {
  text-align: center;
  margin-bottom: 48px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.level-node .node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 auto 8px;
  border: 2px solid;
  transition: all 0.3s ease;
}

.l1 .node-circle {
  background: rgba(0, 212, 255, 0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  width: 72px;
  height: 72px;
  font-size: 0.85rem;
}

.l2 .node-circle { border-color: #60a5fa; color: #60a5fa; background: rgba(96, 165, 250, 0.1); }
.l3 .node-circle { border-color: var(--cyan); color: var(--cyan); background: rgba(0, 212, 255, 0.1); }
.l4 .node-circle { border-color: var(--purple); color: var(--purple); background: rgba(168, 85, 247, 0.1); }
.l5 .node-circle { border-color: var(--gold); color: var(--gold); background: rgba(251, 191, 36, 0.1); }
.l6 .node-circle { border-color: var(--green); color: var(--green); background: rgba(0, 255, 136, 0.1); }

.node-label {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.level-connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(var(--cyan), transparent);
  margin: 8px auto;
}

.level-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tbv-sum {
  margin-top: 32px;
  padding: 20px;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 8px;
  display: inline-block;
}

.tbv-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.tbv-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green);
}

.level-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.level-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.3s;
}

.level-card:hover { border-color: var(--cyan); }

.level-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.5;
  margin-bottom: 8px;
}

.level-card h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.level-card p {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.15);
  margin-bottom: 12px;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: var(--cyan);
}

.step-card p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* CTA */
.cta-section {
  padding: 80px 0;
}

.cta-inner {
  position: relative;
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
  position: relative;
}

.cta-inner p {
  color: var(--text-dim);
  margin-bottom: 28px;
  position: relative;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand p {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* Active tier highlight */
.tier-card.active {
  border-color: var(--green);
  box-shadow: var(--glow-green);
}

/* Homepage responsive — extended in responsive.css */