/* =========================================
   1. HERO SECTION (Full Screen)
   ========================================= */
.hero-container {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e2129; /* Deep Slate */
  overflow: hidden;
  margin-bottom: 2rem; /* Spacing before content starts */
}

canvas#attractor-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

/* =========================================
   2. HERO TEXT (Centered on top)
   ========================================= */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 900px;
  /* Hardware acceleration for smoother scroll fade */
  will-change: opacity, transform; 
}

.hero-content h1 {
  font-size: 5rem; /* Massive Title */
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
  /* Cool Text Glow Effect */
  text-shadow: 0 0 20px rgba(255, 200, 0, 0.3); 
  letter-spacing: -2px;
}

.hero-content p {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}

/* =========================================
   3. BUTTONS (Glassmorphism)
   ========================================= */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.hero-buttons .md-button {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05); /* Very transparent */
  backdrop-filter: blur(10px); /* Blurs the attractor behind the button */
  color: white;
  transition: all 0.3s ease;
}

.hero-buttons .md-button:hover {
  background: white;
  color: black;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3); /* Orange glow on hover */
  transform: translateZ(0); /* Force GPU acceleration for smoother hover */
}

/* =========================================
   4. FIXING THE CONTENT CENTERING
   ========================================= */
/* This forces the main content grid to be centered and wide */
.md-content {
  max-width: 1200px;
  margin: 0 auto;
  display: block; /* Ensure it's not hidden */
}

.md-grid {
  max-width: 1200px;
  margin: 0 auto;
}

/* Center the cards container */
.md-typeset .grid.cards {
  justify-content: center;
}

/* Optional: Add a subtle fade-in animation for the content below */
.md-content__inner {
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}