:root {
  --bg: #0b0d10;
  --panel: #12151b8f;
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --accent: #4dd2ff;
  --accent-soft: rgba(77,210,255,0.15);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #10141c, var(--bg));
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(10px);
  background: rgba(11,13,16,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: 10;
}

nav {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

nav .brand {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 600;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}

nav a:hover { color: var(--text); }

section {
  max-width: 1100px;
  margin: auto;
  padding: 6rem 1.5rem 3rem;
}

#hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  min-height: 100vh;
}

#hero h1 {
  font-size: 3rem;
  margin: 0;
}

#hero h1 span {
  color: var(--accent);
}

#hero p {
  color: var(--muted);
  max-width: 600px;
}

.tagline {
  margin-top: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}

canvas {
  width: 100%;
  height: 320px;
  background: linear-gradient(180deg, #0f131b, #0b0d10);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(77,210,255,0.08);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.card {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
}

ul {
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

footer {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
#bg-animation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
  }
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Blog specific styles */
#blog .card h3 {
  color: var(--accent);
}

#blog .card a {
  color: var(--accent);
  text-decoration: none;
}

#blog .card a:hover {
  text-decoration: underline;
}

.backLink {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}