/* ==========================================================================
   HOME PAGE STYLES (Asymmetrical Bento)
   ========================================================================== */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100dvh;
  justify-content: center;
  position: relative;
}

.hero-content {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
}

.notification-bar {
  margin-top: 1rem;
  width: 100%;
  max-width: 600px;
  border-radius: 9999px;
  padding: 0.25rem;
}

.notification-core {
  flex-direction: row;
  align-items: center;
  padding: 1rem 1.5rem;
  gap: 1rem;
  border-radius: 9999px;
  justify-content: center;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4CAF50;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Terminal Mockup Visual */
.hero-visual {
  margin-top: 4rem;
  width: 100%;
  max-width: 700px;
  perspective: 1000px;
}

.terminal-mockup {
  transform: rotateX(8deg) translateY(0);
  transition: transform 0.6s var(--ease-fluid), box-shadow 0.6s var(--ease-fluid);
  box-shadow: 0 40px 80px -20px rgba(35, 127, 240, 0.35);
}

.terminal-mockup:hover {
  transform: rotateX(0deg) translateY(-10px);
  box-shadow: 0 50px 100px -20px rgba(49, 209, 237, 0.42);
}

.terminal-core {
  padding: 2rem;
  text-align: left;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: 0.9rem;
  color: #4ade80;
  background: rgba(0,0,0,0.4);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.terminal-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.prompt { color: #54dff5; }
.muted-log { color: var(--text-muted); margin-top: 0.5rem; }
.typing-animation { margin-top: 1.5rem; color: #f8fafc; }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 2rem;
  margin-top: 4rem;
}

.bento-grid .doppel-shell {
  display: flex;
}

.bento-grid h3 {
  margin-bottom: 1.25rem;
}

.bento-grid p {
  color: var(--text-muted);
  line-height: 1.75;
}

.bento-large {
  grid-column: span 8;
  grid-row: span 2;
}
.bento-large .doppel-core {
  background: linear-gradient(135deg, var(--bg-card-inner) 0%, rgba(35, 127, 240, 0.18) 100%);
  justify-content: center;
}
.bento-large h3 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.bento-large p {
  font-size: 1.25rem;
  max-width: 500px;
}

.bento-small {
  grid-column: span 4;
}

.bento-wide {
  grid-column: span 4;
}

/* Maintainers */
.maintainers-heading {
  max-width: 700px;
  margin-bottom: 3.5rem;
}

.maintainers-heading h2 {
  margin: 1rem 0 1.25rem;
}

.maintainers-heading p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.maintainers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.maintainer-card {
  transition: transform 0.4s var(--ease-fluid), border-color 0.3s ease;
}

.maintainer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(49, 209, 237, 0.38);
}

.maintainer-card .doppel-core {
  align-items: center;
  padding: 2.25rem 1.25rem;
  text-align: center;
}

.maintainer-avatar {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(49, 209, 237, 0.3);
  border-radius: 50%;
  object-fit: cover;
}

.maintainer-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.maintainer-card p {
  color: var(--accent-slate);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .maintainers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile Fallback */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }
  .hero-content {
    gap: 1.5rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .notification-bar {
    border-radius: 1.25rem;
  }
  .notification-core {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    text-align: left;
  }
  .pulse-dot {
    flex: 0 0 auto;
    margin-top: 0.5rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions a {
    justify-content: center;
    width: 100%;
  }
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .bento-large, .bento-small, .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
  .section-spacing {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-visual {
    margin-top: 2rem;
  }
  .terminal-mockup {
    transform: none;
  }
  .terminal-core {
    padding: 1.25rem;
    font-size: 0.78rem;
    overflow-x: auto;
  }
  .bento-grid {
    grid-auto-rows: auto;
    margin-top: 2rem;
  }
  .bento-large p {
    font-size: 1rem;
  }
  .maintainers-heading {
    margin-bottom: 2rem;
  }
  .maintainers-grid {
    grid-template-columns: 1fr;
  }
}
