:root {
  --bg: #0a0e1a;
  --surface: #121829;
  --surface-2: #1a2236;
  --line: #26304a;
  --text: #e8ecf5;
  --muted: #9aa5bd;
  --accent: #7c6cff;
  --accent-2: #22d3ee;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent-2));
  --ok: #22c55e;
  --off: #ef4444;
  --radius: 14px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none;
}
.logo img { width: 34px; height: 34px; }
.logo b {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font-weight: 600;
  text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.98); }
.btn-primario { background: var(--gradient); border-color: transparent; color: #fff; }
.btn-pequeno { padding: 8px 14px; font-size: .9rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }

.campo { display: grid; gap: 6px; margin-bottom: 14px; font-size: .9rem; color: var(--muted); }
.campo input {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font-size: 1rem; outline: none;
}
.campo input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 108, 255, .25); }
