/* EIDRAX Nexal version-9 — Vibrant, commercial, field-powered landpage */

:root {
  --azul-metalico: #0a1f44;
  --gris-grafito: #222;
  --acento: #0078d7;
  --fondo-claro: #f5f5f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--fondo-claro);
  color: var(--gris-grafito);
  line-height: 1.65;
  font-size: 15.5px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Navbar handled mostly in the HTML inline + JS */

/* Device cards */
.device-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 22px 20px;
}

/* Mesh container */
#mesh-canvas {
  background: #071a33;
  border-radius: 16px;
  touch-action: none;
}

/* Buttons */
.vibrant-btn {
  background: #0078d7;
  color: white;
  border: none;
  padding: 0 26px;
  height: 46px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.vibrant-btn:hover {
  background: #005bb3;
  transform: translateY(-2px);
}

/* Toast */
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: white;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 14px;
  z-index: 300;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-header {
    font-size: 2.1rem !important;
  }
}

@media (max-width: 640px) {
  .field-hero img {
    min-height: 320px;
    object-fit: cover;
  }
}
