/* ============================================
   AcademyAI — Identidade Visual
   Fundo #0A0A0A · Ciano/Azul neon #4FC3F7→#00B8D4
   ============================================ */
:root {
  --bg: #0A0A0A;
  --bg-elev: #121417;
  --bg-card: #16191D;
  --border: #23272E;
  --border-glow: #1a3a44;
  --text: #FFFFFF;
  --text-dim: #9BA3AE;
  --text-faint: #5A626C;
  --cyan: #4FC3F7;
  --cyan-deep: #00B8D4;
  --cyan-glow: rgba(79, 195, 247, 0.35);
  --green: #34D399;
  --amber: #FBBF24;
  --red: #F87171;
  --grad: linear-gradient(135deg, #4FC3F7 0%, #00B8D4 100%);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--cyan-glow); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2f353d; }

/* ===== Marca ===== */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 0 20px var(--cyan-glow);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-name { font-size: 19px; }
.brand-name .ai { color: var(--cyan); text-shadow: 0 0 12px var(--cyan-glow); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; font-weight: 600; font-size: 14px;
  transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #04252e; box-shadow: 0 4px 18px rgba(0,184,212,.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,184,212,.42); }
.btn-ghost { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}

/* ===== Inputs ===== */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; font-weight: 500; }
.input {
  width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 15px; transition: border-color .15s;
}
.input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow); }
.input::placeholder { color: var(--text-faint); }

/* ===== Badges ===== */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-green { background: rgba(52,211,153,.14); color: var(--green); }
.badge-amber { background: rgba(251,191,36,.14); color: var(--amber); }
.badge-red { background: rgba(248,113,113,.14); color: var(--red); }
.badge-dim { background: var(--bg-elev); color: var(--text-dim); }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-amber { background: var(--amber); }
.dot-red { background: var(--red); }

.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.center { text-align: center; }
.hidden { display: none !important; }
