@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: Poppins;
  src: url("../fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --bg0: #050b1b;
  --bg1: #140c1e;
  --card: rgba(8, 14, 30, 0.78);
  --card2: rgba(16, 20, 40, 0.75);
  --stroke: rgba(255, 255, 255, 0.12);
  --text: #eaf3ff;
  --muted: #b9cff0;
  --blue: #57b7ff;
  --cyan: #9dd3ff;
  --orange: #ffbf7d;
  --green: #48ef9f;
  --red: #ff6b6b;
  --shadow: rgba(0, 0, 0, 0.42);
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 20% 15%, rgba(87, 183, 255, 0.14), transparent 60%),
              radial-gradient(900px 700px at 80% 25%, rgba(255, 191, 125, 0.12), transparent 55%),
              linear-gradient(132deg, var(--bg0), var(--bg1));
  overflow-x: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  background: url("../img/fundo.png") center/cover no-repeat;
  opacity: 0.14;
  filter: saturate(1.05) contrast(1.05);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(87, 183, 255, 0.18), transparent 58%),
    radial-gradient(closest-side at 70% 55%, rgba(255, 191, 125, 0.14), transparent 60%);
  pointer-events: none;
}

.mono { font-family: var(--mono); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(132deg, rgba(5, 11, 27, 0.78), rgba(20, 12, 30, 0.68));
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.brand__title {
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--cyan);
  font-size: 13px;
  line-height: 1.1;
}

.brand__sub {
  font-size: 11px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav__btn {
  appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(14, 24, 47, 0.55);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.nav__btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); }
.nav__btn.is-active { background: rgba(87, 183, 255, 0.18); border-color: rgba(87, 183, 255, 0.4); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 18px 30px 18px;
}

.view { display: none; }
.view.is-active { display: block; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 8px;
}

.kicker {
  display: inline-block;
  font-size: 11px;
  color: rgba(157, 211, 255, 0.95);
  letter-spacing: 0.7px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(14, 24, 47, 0.55);
}

.title {
  margin: 12px 0 6px 0;
  font-size: 34px;
  line-height: 1.06;
  letter-spacing: -0.5px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 56ch;
}

.cta { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid var(--stroke);
  background: rgba(14, 24, 47, 0.55);
  color: var(--text);
  cursor: pointer;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.22); }
.btn--primary {
  border-color: rgba(87, 183, 255, 0.45);
  background: linear-gradient(90deg, rgba(87,183,255,0.22), rgba(255,191,125,0.14));
}
.btn--ghost { background: rgba(8, 14, 30, 0.45); }
.btn--small { padding: 9px 12px; border-radius: 10px; }
.btn--full { width: 100%; }
.btn.is-loading {
  opacity: 0.78;
  pointer-events: none;
  position: relative;
}
.btn.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(157, 211, 255, 0.95);
  margin-left: 8px;
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.card {
  border: 1px solid var(--stroke);
  background: linear-gradient(132deg, var(--card), var(--card2));
  box-shadow: 0 16px 30px var(--shadow);
  border-radius: 14px;
  padding: 12px;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.card__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--cyan);
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--stroke);
  background: rgba(14, 24, 47, 0.55);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--text);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(255, 107, 107, 0.35);
}
.dot--on {
  background: var(--green);
  box-shadow: 0 0 16px rgba(72, 239, 159, 0.35);
}

.stats { display: grid; gap: 10px; }
.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6, 10, 20, 0.40);
  border-radius: 12px;
}
.stat__k { font-size: 11px; color: var(--muted); }
.stat__v { font-size: 14px; font-weight: 700; color: var(--text); }
.stat__muted { font-weight: 400; color: rgba(185, 207, 240, 0.7); }
.stat__mono { font-family: var(--mono); font-weight: 600; font-size: 12px; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.hint { font-size: 11px; color: rgba(185,207,240,0.85); }

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.list { display: grid; gap: 8px; margin-top: 8px; }
.list__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(6, 10, 20, 0.40);
}
.list__k { font-size: 11px; color: var(--cyan); font-weight: 700; }
.list__v { font-size: 12px; color: var(--muted); }

.section-head { margin-top: 10px; }
.section-head h2 { margin: 0 0 6px 0; font-size: 22px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }

.plans {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan {
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(132deg, rgba(8, 14, 30, 0.72), rgba(16, 20, 40, 0.68));
  box-shadow: 0 16px 30px var(--shadow);
  border-radius: 14px;
  padding: 12px;
}
.plan--featured { border-color: rgba(87,183,255,0.35); }
.plan__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.plan__name { font-weight: 700; color: var(--cyan); }
.plan__price { font-weight: 700; font-size: 18px; }
.plan__price span { font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 6px; }
.plan__list { margin: 10px 0 12px 18px; padding: 0; color: var(--muted); font-size: 12px; }
.plan__list li { margin: 6px 0; }

.note {
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(14, 24, 47, 0.40);
  border-radius: 14px;
  padding: 12px;
}
.note__title { font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.note__body { color: var(--muted); font-size: 12px; }

.prose h3 { margin: 0 0 8px 0; color: var(--cyan); }
.prose p { margin: 0 0 10px 0; color: var(--muted); font-size: 13px; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid var(--stroke);
  color: rgba(185,207,240,0.9);
  font-size: 12px;
  background: rgba(5, 11, 27, 0.35);
}
.footer__muted { color: rgba(185,207,240,0.6); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .brand { min-width: 0; }
}
