/* Modern Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Bento Cells */
.bento-hero-main {
  grid-column: span 8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.bento-hero-main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-profile-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.hero-avatar-large {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 3px solid var(--border-color);
  box-shadow: 0 0 24px var(--brand-glow);
}

.hero-info-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-title-name {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-subtitle-role {
  font-size: 1.05rem;
  color: var(--brand-primary);
  font-weight: 600;
}

.hero-tagline {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

/* Spotlight Bento Cards */
.bento-spotlight-talos {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-card), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.25);
  position: relative;
  overflow: hidden;
}

.talos-card-logo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.talos-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.bento-spotlight-tcgen {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-card), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.bento-spotlight-bincangqa {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-card), rgba(239, 68, 68, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.bento-metrics-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 24px;
}

.metrics-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-number {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Terminal Preview Inside Card */
.mini-terminal-preview {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}

/* Responsive Bento Breakpoints */
@media (max-width: 1024px) {
  .bento-hero-main {
    grid-column: span 12;
  }
  .bento-spotlight-talos,
  .bento-spotlight-tcgen,
  .bento-spotlight-bincangqa,
  .bento-metrics-card {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .bento-hero-main,
  .bento-spotlight-talos,
  .bento-spotlight-tcgen,
  .bento-spotlight-bincangqa,
  .bento-metrics-card {
    grid-column: span 12;
  }
  .hero-profile-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-title-name {
    font-size: 1.75rem;
  }
  .bento-hero-main {
    padding: 24px;
  }
}
