/* =========================================================
   CAI GUARDIANOS
   BASE DESIGN SYSTEM
========================================================= */

:root {
  --bg-0: #02070c;
  --bg-1: #020a11;
  --bg-2: #03111d;
  --bg-3: #061a28;

  --panel: rgba(4, 18, 29, 0.82);
  --panel-strong: rgba(3, 15, 24, 0.94);

  --line: rgba(110, 178, 218, 0.12);
  --line-strong: rgba(105, 189, 238, 0.24);

  --text: #f3f8fb;
  --muted: #7894a6;
  --muted-2: #4c697b;

  --blue: #5cbcf6;
  --blue-strong: #198bcf;
  --blue-deep: #126295;

  --green: #3ed09a;
  --amber: #f0b24b;
  --red: #ff5157;

  --font-sans: "Inter", Arial, Helvetica, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --nav-height: 86px;
  --page-pad: 5.5%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-0);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(28, 106, 154, 0.08), transparent 32%),
    var(--bg-0);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

::selection {
  background: rgba(92, 188, 246, 0.28);
  color: white;
}

.button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 40px rgba(25, 139, 207, 0.2);
}

.button-primary:hover {
  background: linear-gradient(135deg, #24a2ec, #1474ae);
  box-shadow: 0 18px 50px rgba(25, 139, 207, 0.28);
}

.button-outline {
  border: 1px solid rgba(133, 186, 218, 0.18);
  background: rgba(4, 19, 29, 0.5);
  color: #9fb7c6;
  font-size: 10px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.button-outline:hover {
  border-color: rgba(92, 188, 246, 0.36);
  color: white;
}

.button-ghost {
  border: 1px solid rgba(88, 175, 226, 0.14);
  background: rgba(6, 22, 34, 0.45);
  color: #87b3ce;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.button-ghost:hover {
  border-color: rgba(89, 187, 244, 0.32);
  background: rgba(18, 76, 111, 0.22);
  color: white;
}

.button-light {
  background: #f2f7fa;
  color: #07131b;
  font-size: 9px;
  font-weight: 700;
}

.button-light:hover {
  background: white;
}
