/* Matrixly Custom Styles - Extracted from main design */

:root {
  --accent: #00ff9f;
}

body {
  font-family: 'Inter', system_ui, -apple-system, sans-serif;
}

.heading-font {
  font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
}

.matrix-green { color: #00ff9f; }

.nav {
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, 0.95);
}

.nav-link {
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #fff;
}

.btn-primary {
  background: #00ff9f;
  color: #050505;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover {
  background: #00cc7a;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #222;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: #444;
  background: rgba(255,255,255,0.02);
}

.card {
  background: #111;
  border: 1px solid #222;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.code-block {
  background: #0a0a0a;
  border: 1px solid #222;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.demo-window {
  background: #0a0a0a;
  border: 1px solid #222;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.subtle-grid {
  background-image: 
    linear-gradient(rgba(0,255,159,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,159,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Side Matrix Rain */
.side-rain {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 94px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.85;
}
.side-rain.left { left: 0; }
.side-rain.right { right: 0; }

@media (min-width: 1024px) {
  .main-content {
    padding-left: 110px;
    padding-right: 110px;
  }
}

.add-btn {
  background: #00ff9f;
  color: #050505;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.add-btn:hover {
  background: #00cc7a;
}

.stat-value {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.feature-number {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
}

/* Toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  border: 1px solid #00ff9f30;
  color: #00ff9f;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 100;
}