/* =========================
   GLOBAL LAYOUT & GOVERNANCE
========================= */

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  position: relative;
}

/* GOVERNANCE LINES */
section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59,182,255,0.45),
    transparent
  );
}

/* HERO FIELD */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(59,182,255,0.20), transparent 55%),
    radial-gradient(circle at center, rgba(246,184,76,0.12), transparent 65%);
  filter: blur(48px);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* GRID SYSTEM */
.grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* CONTAINED ENERGY BLOCKS */
.card {
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(59,182,255,0.18),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

/* FOOTER = CONTAINMENT */
footer {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
  background: linear-gradient(180deg, transparent, #02030a);
  border-top: 1px solid rgba(255,255,255,0.1);
}
