/* =========================
   BASE
========================= */

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

body {
  font-family: Inter, sans-serif;
  background: #050505;
  color: white;
  overflow-x: hidden;
}

/* =========================
   CANVAS BACKGROUND
========================= */

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

/* =========================
   NAV
========================= */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
}

.brand {
  font-weight: 700;
  letter-spacing: 1px;
}

.links a {
  color: white;
  text-decoration: none;
  margin-left: 24px;
  opacity: 0.6;
  transition: 0.2s;
}

.links a:hover {
  opacity: 1;
}

/* =========================
   SECTIONS
========================= */

.section {
  min-height: 100vh;
  padding: 120px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  text-align: center;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.5rem, 9vw, 9rem);
  letter-spacing: -4px;
}

.hero p {
  margin-top: 20px;
  opacity: 0.75;
  font-size: 1.2rem;
}

/* =========================
   TITLES
========================= */

.title {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* =========================
   GRID + CARDS
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;

  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
}

/* =========================
   STATUS BUTTON
========================= */

.status {
  position: fixed;
  bottom: 24px;
  right: 24px;

  padding: 12px 20px;
  border-radius: 999px;

  background: white;
  color: black;
  text-decoration: none;
  font-weight: 700;

  transition: 0.2s;
}

.status:hover {
  transform: scale(1.05);
}

/* =========================
   ANIMATIONS (script.js)
========================= */

.hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}