:root {
  --bg: #060913;
  --text: #e9edf7;
  --muted: #9aa5c1;
  --dim: #66738f;
  --nav: #b7c0d8;
  --cyan: #7cd6ff;
  --cyan-bright: #8fdcff;
  --blue: #6ea8ff;
  --violet: #b49bff;
  --green: #a8e6c1;
  --red: #f0a5a5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #a8e4ff; }

.display { font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif; }
.mono { font-family: 'IBM Plex Mono', 'Courier New', monospace; }

.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 40px rgba(2,6,18,0.5);
}

.glass-deep {
  background: linear-gradient(160deg, rgba(12,18,36,0.72), rgba(8,12,26,0.6));
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 16px 48px rgba(2,6,18,0.55);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.page { position: relative; overflow: hidden; }

.container {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* NAV */
.nav {
  margin-top: 28px;
  border-radius: 20px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.nav-brand span { font-size: 19px; font-weight: 700; letter-spacing: 0.2px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--nav); }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn, .nav-links a.btn:hover { color: #06121f; }
.nav-links a.active { color: var(--text); border-bottom: 2px solid var(--cyan); padding-bottom: 3px; }

.btn {
  display: inline-block;
  font-family: 'Space Grotesk', 'Trebuchet MS', sans-serif;
  font-weight: 600;
  color: #06121f;
  background: linear-gradient(135deg, var(--cyan-bright), var(--blue));
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(110,168,255,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(110,168,255,0.5); color: #06121f; }
.btn-sm { font-size: 15px; padding: 10px 20px; }
.btn-lg { font-size: 17px; padding: 16px 36px; border-radius: 14px; }

/* SECTIONS */
.kicker { font-size: 13px; color: var(--cyan); letter-spacing: 2px; }
.section-title { font-size: clamp(28px, 4vw, 38px); font-weight: 700; line-height: 1.2; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.card { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

.code-panel { border-radius: 20px; padding: 28px; overflow-x: auto; }
.code-panel pre { font-size: 14px; line-height: 1.75; color: #c6cee6; }
.tok-kw { color: var(--violet); }
.tok-fn { color: var(--cyan-bright); }
.tok-str { color: var(--green); }
.tok-warn { color: var(--red); }
.tok-dim { color: var(--dim); }

/* FOOTER */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 48px 8px 40px 8px;
  flex-wrap: wrap;
}
.footer .mono { font-size: 13px; color: var(--dim); }
.footer a { color: var(--dim); }
.footer a:hover { color: var(--nav); }
.footer-links { display: flex; gap: 28px; }

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
