/* ============================================================
   LUXVERSO — DESIGN SYSTEM BASE
   Compartilhado por todas as páginas do ecossistema.
   Página atual: estrutura pastas /var/www/bioluxbot
   ============================================================ */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --border: #2a2a2a;
  --neon: #39ff14;
  --neon-dim: #1a7a00;
  --neon-glow: rgba(57, 255, 20, 0.12);
  --neon-glow-strong: rgba(57, 255, 20, 0.25);
  --white: #f0f0f0;
  --font-mono: 'Courier New', 'Lucida Console', monospace;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --universo: #39ff14; /* cor de destaque de cada universo por override */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }

/* NAV fixa */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--neon);
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

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

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon) !important;
  border: 1px solid var(--neon-dim);
  padding: 6px 14px;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: var(--neon-glow) !important;
  border-color: var(--neon) !important;
}

/* Nav icon links (Telegram, GitHub) */
.nav-icon-link {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  color: var(--gray) !important;
}
.nav-icon-link:hover {
  color: var(--neon) !important;
  background: var(--neon-glow);
}
.nav-icon-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Blue accent for NovaLux (brand accent) */
:root {
  --blue: #0088ff;
  --blue-dim: #0066cc;
  --blue-glow: rgba(0,136,255,0.12);
  --blue-glow-strong: rgba(0,136,255,0.25);
}

/* LAYOUT */
section { padding: 5rem 2rem; }

.section-inner { max-width: 1080px; margin: 0 auto; }

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--universe, var(--neon));
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--universe, var(--neon));
}

/* BOTÕES */
.btn-primary {
  background: var(--neon);
  color: #000;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--gray-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--gray); color: var(--white); }

/* HERO do universo */
.universe-hero {
  min-height: 92vh;
  padding: 120px 2rem 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.universe-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--universe-glow, var(--neon-glow-strong)) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(10px);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57,255,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,20,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--universe, var(--neon));
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0.8;
}

.universe-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
  position: relative;
}

.universe-hero h1 em {
  font-style: normal;
  color: var(--universe, var(--neon));
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  position: relative;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 2px;
}

.hero-tag.hot {
  color: var(--universe, var(--neon));
  border-color: var(--universe, var(--neon-dim));
  background: var(--universe-glow, var(--neon-glow));
}

/* GRID de métricas */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 3rem;
  max-width: 900px;
  position: relative;
}

.stat-cell {
  background: var(--dark2);
  padding: 1.75rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  color: var(--universe, var(--neon));
  display: block;
}

.stat-key {
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* SEÇÕES */
.alt-section { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.two-col h3 em { font-style: normal; color: var(--universe, var(--neon)); }

.two-col p { color: var(--gray-light); line-height: 1.7; margin-bottom: 1.25rem; }

/* CARD de feature */
.feature-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.6;
}

.feature-list li::before {
  content: '→';
  color: var(--universe, var(--neon));
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Painel estilo terminal */
.terminal {
  background: #0d1a0d;
  border: 1px solid var(--universe, var(--neon-dim));
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
}

.terminal-bar {
  background: #111e11;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--neon-dim);
}

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

.terminal-title { flex: 1; text-align: center; color: var(--gray); font-size: 11px; letter-spacing: 0.05em; }

.terminal-body { padding: 20px; line-height: 1.8; }
.t-prompt { color: var(--neon); }
.t-user { color: #cccccc; }
.t-response { color: #7ecf7e; }
.t-dim { color: #4a6b4a; }
.t-highlight { color: var(--neon); font-weight: 600; }

/* CARDS em grade */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
  position: relative;
}

.project-card:hover {
  border-color: var(--universe, var(--neon-dim));
  background: var(--dark3);
  transform: translateY(-2px);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--universe, var(--neon));
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
  display: block;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--white);
}

.card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neon);
  letter-spacing: 0.1em;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--neon);
  opacity: 0.6;
}

.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }

.footer-links a { font-size: 12px; color: var(--gray); text-decoration: none; transition: color 0.2s; }

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

.footer-copy { font-size: 12px; color: var(--gray); opacity: 0.5; }

/* LOGIN MODAL */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.login-overlay.active { opacity: 1; pointer-events: all; }
.login-modal {
  background: #0f0f13;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
}
.login-modal h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.5rem;
}
.login-modal p {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.5;
}
.login-field {
  width: 100%;
  background: #0a0a0e;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  color: #e0e0e0;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s;
  box-sizing: border-box;
  margin-bottom: 0.85rem;
}
.login-field:focus { border-color: var(--neon); }
.login-field::placeholder { color: #555; }
.login-submit {
  width: 100%;
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 0.85rem;
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.25s, color 0.25s;
  margin-top: 0.5rem;
}
.login-submit:hover { background: var(--neon); color: #000; }
.login-error {
  font-size: 12px;
  color: #ff4444;
  margin-top: 0.75rem;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.3s;
}
.login-error.show { opacity: 1; }
.login-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  color: #555;
  font-size: 18px;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.2s;
}
.login-close:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  section { padding: 3.5rem 1.25rem; }
}