:root {
  --bg1: #003186ff;
  --bg2: #010048ff;
  --bg3: #370b69ff;

  --card: rgba(14, 18, 36, 0.72);
  --card2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --faint: rgba(255, 255, 255, 0.55);

  --neon: #7c3aed;
  --neon2: #22d3ee;
  --neon3: #fb7185;

  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

/* ROOT + BODY */
html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
}

/* SINGLE FULL-PAGE BACKGROUND */
body {
  background:
    radial-gradient(
      1200px 900px at 20% 0%,
      rgba(34, 211, 238, 0.18),
      transparent 60%
    ),
    radial-gradient(
      1000px 800px at 80% 30%,
      rgba(124, 58, 237, 0.18),
      transparent 55%
    ),
    linear-gradient(110deg, var(--bg1), var(--bg2), var(--bg3));
  background-attachment: fixed;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* HEADER */
.header {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.logo {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 2px;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
}

/* NAV */
.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
}

.nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.12);
}

/* MAIN */
.main {
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 18px 38px;
}

/* CARD */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(
      700px 240px at 20% 0%,
      rgba(34, 211, 238, 0.15),
      transparent 60%
    ),
    radial-gradient(
      600px 260px at 70% 10%,
      rgba(251, 113, 133, 0.12),
      transparent 55%
    );
  pointer-events: none;
}

.card > * {
  position: relative;
}

/* TYPO */
h1 {
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}

.lead {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.panel {
  background: var(--card2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px;
}

.panel h2 {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* BUTTONS */
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.85),
    rgba(34, 211, 238, 0.35)
  );
  color: var(--text);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  box-shadow:
    0 0 14px rgba(124, 58, 237, 0.18),
    0 0 14px rgba(34, 211, 238, 0.12);
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
}

/* DOC */
.fine {
  margin-top: 18px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.doc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.doc {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.doc h2 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 16px;
}

.doc h3 {
  margin: 14px 0 6px;
  color: var(--text);
  font-size: 14px;
}

.doc ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.doc hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 18px 0 14px;
}

/* FOOTER */
.footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px 28px;
  color: var(--faint);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.dot {
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    justify-content: flex-start;
  }
}
