/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0;
  animation: float-particle 8s infinite;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 3s; background: var(--green); }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-delay: 6s; background: var(--cyan); }
.particle:nth-child(6) { left: 40%; top: 80%; animation-delay: 2s; }
.particle:nth-child(7) { left: 90%; top: 15%; animation-delay: 5s; background: var(--green); }
.particle:nth-child(8) { left: 15%; top: 90%; animation-delay: 7s; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  z-index: 200;
  transition: width 0.1s;
}

/* ===== SECTION BASE ===== */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.section-tag::before, .section-tag::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--purple);
  opacity: 0.5;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.6;
}
