/* ByteNinja Landing Page Theme */
:root {
  --bg: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #16161f;
  --border: #1e1e2a;
  --border-bright: #2a2a3a;
  --green: #00ff66;
  --green-dim: rgba(0, 255, 102, 0.08);
  --green-glow: rgba(0, 255, 102, 0.15);
  --text: #e8e8ec;
  --text-muted: #6b6b80;
  --text-dim: #3d3d52;
  --red: #ff4444;
  --yellow: #ffaa00;
  --blue: #4488ff;
  --purple: #aa44ff;
  --font-display: 'Space Mono', monospace;
  --font-body: 'Manrope', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 3px; }

::selection { background: var(--green); color: var(--bg); }

/* Grid background */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 60px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
  background: var(--green-dim);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.byte { color: var(--text); }
.ninja { color: var(--green); }

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 420px;
}

/* Terminal */
.hero-terminal {
  background: #0d0d14;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
}

.terminal-body {
  padding: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text);
}

.term-line { margin-bottom: 4px; }
.term-line.muted { color: var(--text-muted); margin-bottom: 12px; }
.term-line.mt { margin-top: 12px; }

.prompt { color: var(--green); }
.cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--green);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.term-lines { margin-bottom: 12px; }
.term-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 6px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.count { color: var(--text); font-weight: 700; }

/* Dashboard mock */
.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dash-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.dash-badge {
  font-size: 11px;
  color: var(--green);
  background: var(--green-dim);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 102, 0.2);
}

.agents-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-card {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}

.agent-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.agent-icon.sales { background: linear-gradient(135deg, #ff6b35, #ff9a5c); }
.agent-icon.research { background: linear-gradient(135deg, #4488ff, #66aaff); }
.agent-icon.outreach { background: linear-gradient(135deg, #00ff66, #66ff99); opacity: 0.8; }

.agent-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.agent-status {
  font-size: 11px;
  color: var(--text-muted);
}

.agent-bar {
  width: 80px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 2px;
}
.bar-fill.sales { width: 89%; background: linear-gradient(90deg, #ff6b35, #ff9a5c); }
.bar-fill.research { width: 72%; background: linear-gradient(90deg, #4488ff, #66aaff); }
.bar-fill.outreach { width: 95%; background: linear-gradient(90deg, #00ff66, #66ff99); }

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 960px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.manifesto-statement {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 60px;
  color: var(--text);
}

.highlight { color: var(--green); }

.manifesto-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
}

.manifesto-col { padding: 0 40px; }
.manifesto-col:first-child { padding-left: 0; }
.manifesto-col:last-child { padding-right: 0; }

.manifesto-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.old-label, .new-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.old-label { color: var(--text-dim); }
.new-label { color: var(--green); }

.old-list, .new-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.old-list li, .new-list li {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.old-list li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }
.new-list li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* FEATURES */
.features {
  padding: 100px 48px;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: grid;
  align-items: center;
  gap: 64px;
}

.feature-row--left {
  grid-template-columns: 1fr 1fr;
}

.feature-row--right {
  grid-template-columns: 1fr 1fr;
}

.feature-row--right .feature-content {
  order: 2;
}

.feature-row--right .feature-visual {
  order: 1;
}

.feature-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.feature-name {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature visuals */
.fv-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sales-viz {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), transparent);
  border-color: rgba(255, 107, 53, 0.2);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
}

.fv-icon {
  font-size: 32px;
  color: #ff6b35;
}

.fv-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.fv-line {
  height: 8px;
  background: rgba(255, 107, 53, 0.15);
  border-radius: 4px;
}
.fv-line:nth-child(1) { width: 80%; }
.fv-line:nth-child(2) { width: 60%; }
.fv-line:nth-child(3) { width: 70%; }

.research-viz {
  background: linear-gradient(135deg, rgba(68, 136, 255, 0.05), transparent);
  border-color: rgba(68, 136, 255, 0.2);
}

.fv-radar {
  position: relative;
  width: 120px;
  height: 120px;
}

.radar-ring {
  position: absolute;
  border: 1px solid rgba(68, 136, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.radar-ring:nth-child(1) { width: 40px; height: 40px; }
.radar-ring:nth-child(2) { width: 80px; height: 80px; }
.radar-ring:nth-child(3) { width: 120px; height: 120px; }

.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--blue);
}

.outreach-viz { padding: 24px; }

.fv-email-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.email-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
}
.email-card--1 { border-left: 3px solid var(--green); opacity: 1; }
.email-card--2 { border-left: 3px solid var(--green); opacity: 0.8; }
.email-card--3 { border-left: 3px solid var(--green); opacity: 0.5; }

.email-to {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.email-sub {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.support-viz { padding: 24px; }

.fv-ticket-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
}

.ticket--resolved {
  opacity: 0.6;
}

.ticket-icon {
  font-size: 12px;
  width: 16px;
  text-align: center;
}
.ticket--resolved .ticket-icon { color: var(--green); }
.ticket--active .ticket-icon { color: var(--yellow); }

.ticket-text {
  color: var(--text-muted);
}

/* PROCESS */
.process {
  padding: 100px 48px;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 60px;
  margin-top: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.step {
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.step:first-child { padding-left: 0; }
.step:last-child { border-right: none; padding-right: 0; }

.step-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--green-dim);
  line-height: 1;
  margin-bottom: 24px;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.step-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CLOSING */
.closing {
  padding: 120px 48px;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-statement {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.closing-highlight { color: var(--green); }

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.closing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 2px;
}

/* FOOTER */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 60px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .hero-title { font-size: 52px; }
  .hero-terminal { max-width: 100%; }

  .manifesto { padding: 80px 24px; }
  .manifesto-split { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-col { padding: 0; }
  .manifesto-divider { display: none; }

  .features { padding: 80px 24px; }
  .feature-row, .feature-row--left, .feature-row--right {
    grid-template-columns: 1fr;
  }
  .feature-row--right .feature-content { order: 1; }
  .feature-row--right .feature-visual { order: 2; }
  .fv-box { aspect-ratio: auto; padding: 24px; }

  .process { padding: 80px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .step { border-right: none; padding: 0; border-bottom: 1px solid var(--border); padding-bottom: 40px; }
  .step:last-child { border-bottom: none; padding-bottom: 0; }

  .closing { padding: 80px 24px; }

  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 40px; letter-spacing: -1px; }
  .closing-statement { font-size: 22px; }
  .closing-tags { gap: 8px; }
  .tag { font-size: 10px; padding: 6px 12px; }
}