:root {
  --primary: #38bdf8;
  --secondary: #818cf8;
  --bg: #020617;
  --glass: rgba(15, 23, 42, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #f472b6;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }

body {
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover { color: var(--primary); text-shadow: 0 0 8px var(--primary); }

section {
  min-height: 100vh;
  padding: 120px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

footer {
  text-align: center;
  padding: 4rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(2, 6, 23, 0.95);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  nav {
    padding: 0.75rem 0.5rem;
    gap: 0.85rem;
  }
  nav a {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
  }
  section {
    padding: 90px 1.25rem 60px;
    min-height: auto;
  }
  #home {
    min-height: 100vh;
    justify-content: center;
  }
  #home h1 {
    font-size: 2.5rem !important;
    line-height: 1.1;
    word-break: break-word;
  }
  #typewriter {
    font-size: 1.05rem !important;
    height: auto !important;
    min-height: 2rem;
  }
  #home .btn-cyber {
    display: block;
    width: 100%;
    margin: 0.75rem 0 0 0 !important;
    text-align: center;
  }
  h2 { font-size: 1.6rem; line-height: 1.2; }
  h3 { font-size: 1.15rem; }
  p, li { font-size: 0.95rem; }
  footer {
    padding: 3rem 1rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  nav { gap: 0.6rem; }
  nav a { font-size: 0.7rem; }
  #home h1 { font-size: 2rem !important; }
}
