/* =========================================================
   LAYOUT A — The Bento Box
   Used for: MVP, Proof of Concept
   ========================================================= */

/* Hero */
.layout-a-hero {
  position: relative;
  padding: 8rem 0 6rem;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  background: var(--color-gray-900);
}

.layout-a-hero::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: 
    radial-gradient(circle at 50% 50%, rgba(87, 50, 250, 0.4), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(124, 250, 195, 0.3), transparent 50%);
  filter: blur(80px);
  animation: pulseMesh 15s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes pulseMesh {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-2%, 5%); }
}

.layout-a-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.layout-a-hero .eyebrow {
  color: var(--color-mint);
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 2rem;
  backdrop-filter: blur(10px);
}

.layout-a-hero h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.layout-a-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

/* Bento Grid */
.bento-section {
  padding: 6rem 0;
  background: var(--surface-soft);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transition: transform 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bento-card svg {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 150px;
  height: 150px;
  opacity: 0.1;
  transition: opacity 0.3s ease;
}

.bento-card:hover svg {
  opacity: 0.2;
}

.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 1;
}

.bento-card p {
  color: var(--color-text-muted);
  z-index: 1;
}

/* Grid Spans */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
}
.bento-standard {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large, .bento-wide, .bento-tall, .bento-standard {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 200px;
  }
}
